.product-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.category-btn.active {
    background-color: #3a86ff;
    color: white;
}

.cart-item-enter {
    opacity: 0;
    transform: translateX(20px);
}
.cart-item-enter-active {
    opacity: 1;
    transform: translateX(0);
    transition: all 300ms ease-in;
}
.cart-item-exit {
    opacity: 1;
}
.cart-item-exit-active {
    opacity: 0;
    transform: translateX(20px);
    transition: all 300ms ease-in;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}
.pulse-animation {
    animation: pulse 2s infinite;
}

/* Slider styles */
.slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.slide.active {
    opacity: 1;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}
.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}
.slider-dot.active {
    background-color: white;
    transform: scale(1.3);
}

/* Image modal styles */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.image-modal.active {
    opacity: 1;
    pointer-events: all;
}
.modal-content {
    max-width: 90%;
    max-height: 90%;
}
.modal-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}
.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.close-modal:hover {
    transform: rotate(90deg);
}

/* Product detail modal */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.product-modal.active {
    opacity: 1;
    pointer-events: all;
}
.product-modal-content {
    background-color: white;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.close-product-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.close-product-modal:hover {
    transform: rotate(90deg);
}

/* Floating buttons */
.floating-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    z-index: 30;
    cursor: pointer;
    transition: all 0.3s ease;
}
.floating-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}
.whatsapp-btn {
    background-color: #25D366;
    color: white;
    bottom: 30px;
    right: 30px;
}
.call-btn {
    background-color: #3f37c9;
    color: white;
    bottom: 100px;
    right: 30px;
}

/* Color selector - plain text only, no effects */
.color-option {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    font-weight: normal !important;
    font-size: 1em !important;
    margin-right: 10px;
    color: inherit;
    cursor: default;
    box-shadow: none !important;
    text-decoration: none !important;
}
.color-option.selected {
    font-weight: normal !important;
    font-size: 1em !important;
}

/* Phone panel animation */
.phone-panel {
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* Hero section gradient */
.hero-gradient {
    background: linear-gradient(135deg, #ff8500 0%, #ffb600 100%);
}

/* Button hover effects */
.btn-hover-effect {
    transition: all 0.3s ease;
}
.btn-hover-effect:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Header shadow */
.header-shadow {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Dark mode styles */
body {
    background: #fff;
}
body.dark {
    background: #18181b;
    color: #ffffff;
}
body.dark .bg-white { background-color: #23272f !important; }
body.dark .bg-gray-50 { background-color: #18181b !important; }
body.dark .text-dark { color: #ffffff !important; }
body.dark .header-shadow { box-shadow: 0 4px 20px rgba(0,0,0,0.5); }
body.dark .product-card { border-color: rgba(255,255,255,0.08); background: #23272f; }
body.dark .product-modal-content { background: #23272f; color: #ffffff; }
body.dark .phone-panel { background: #23272f; color: #ffffff; }
body.dark .bg-gray-100 { background-color: #23272f !important; }
body.dark .bg-gray-200 { background-color: #23272f !important; }
body.dark .bg-gray-300 { background-color: #23272f !important; }
body.dark .bg-light { background-color: #18181b !important; }
body.dark .bg-primary { background-color: #fb6107 !important; }
body.dark .bg-secondary { background-color: #3f37c9 !important; }
body.dark .bg-accent { background-color: #FFED66 !important; color: #18181b !important; }
body.dark input, body.dark select, body.dark textarea {
    background: #23272f; color: #ffffff; border-color: #444;
}
body.dark .category-btn.active { background-color: #3f37c9 !important; color: #fff !important; }
body.dark .slider { box-shadow: 0 8px 32px rgba(0,0,0,0.7); }
body.dark .footer, body.dark footer { background: #18181b !important; color: #ffffff !important; }

/* Ensure product description text is white in dark mode */
body.dark .product-card .text-gray-600,
body.dark .product-modal-content .text-gray-600,
body.dark .product-modal-content .text-gray-700 {
    color: #ffffff !important;
}

/* About section text white in dark mode */
body.dark .text-dark,
body.dark .about-section,
body.dark .about-section .text-gray-700 {
    color: #ffffff !important;
}

/* Highlight line for top banner categories */
.category-nav-link {
    position: relative;
    transition: color 0.2s;
}
.category-nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 3px;
    background: #FFED66;
    border-radius: 2px;
    transition: width 0.3s;
}
.category-nav-link:hover,
.category-nav-link:focus {
    color: #FFED66 !important;
}
.category-nav-link:hover::after,
.category-nav-link:focus::after {
    width: 100%;
}

#mobile-menu {
    height: 100vh;
    overflow-y: auto;
}
.mobile-nav-link {
    position: relative;
    transition: color 0.2s;
}
.mobile-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fb6107;
    transition: width 0.3s;
}
.mobile-nav-link:hover::after {
    width: 100%;
}

#mobile-dropdown-menu {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.3s cubic-bezier(.4,0,.2,1), opacity 0.2s;
}
#mobile-dropdown-menu.open {
    max-height: 300px;
    opacity: 1;
    pointer-events: auto;
}