* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
    overflow-x: hidden;
}

/* Logo positioning */
.logo {
    position: absolute;
    top: -10%;
    left: 51.5%;
    transform: translateX(-50%);
    z-index: 2000;
    background: transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.logo picture,
.logo img {
    height: 1000px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a, #1a1a1a, #000000);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    z-index: -1;
    display: none; /* Hidden by default, shown if video fails */
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0,0,0,0);
    backdrop-filter: blur(0px);
    z-index: 3000;
    transition: all 0.4s ease;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

nav.nav-visible {
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(15px);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.8rem 1rem;
    transition: all 0.4s ease;
}

nav li {
    margin: 0 2rem;
}

nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #ced4da;
    transform: scale(1.05);
}

/* Story sections */
.story-section {
    padding: 0.5rem 0.5rem;
    background: #0a0a0a;
    border-top: 0;
}

.story-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #ffffff;
    position: relative;
}

.story-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(45deg, #ced4da, #6c757d);
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 1.5rem;
}

.story-image {
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 2s ease;
}

.story-image.visible {
    opacity: 1;
    transform: translateY(0);
}

.story-image-container {
    height: 900px;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
    border: 0 solid rgba(255,215,0,0.2);
    transition: all 0.3s ease;
}

.story-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.story-container.flipped .story-content {
    order: 2;
}

.story-container.flipped .story-image {
    order: 1;
}

/* Products Section - Enhanced with hover effect */
.products {
    padding: 5rem 2rem;
    background: #1a1a1a;
    position: relative;  /* Important for absolute positioning of video */
    overflow: hidden;    /* Keeps video contained */
}

.products h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    /* Remove all backgrounds and borders */
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;

    border-radius: 0;
    overflow: visible;  /* Allow shadows to show */

    /* Light shadow only on hover */
    box-shadow: none;

    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-card:hover {
    transform: translateY(-15px) scale(1.05);  /* Just lift and scale */
}

/* Video background for products section */
.products-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;  /* Behind everything */
    object-fit: cover;
    opacity: 1;  /* Subtle background effect */
    filter: brightness(1.4)
}

/* Overlay for better text readability */
.products-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);  /* Dark overlay */
    z-index: 1;  /* Above video, below content */
}

/* Make sure content is above video */
.products h2,
.products-grid {
    position: relative;
    z-index: 2;  /* Above video and overlay */
}


@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced product image container for hover effect */
.product-image {
    height: 400px;
    background: transparent;  /* Remove gradient background */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 15px;  /* Keep rounded corners on image */

    /* Shadow on the image itself */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    transition: all 0.4s ease;
}


.product-card:hover .product-image {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);  /* Stronger shadow on hover */
}

/* Image hover container - this is the key part */
.image-hover-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.product-image-front,
.product-image-back {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.4s ease;
}

/* Front image is visible by default */
.product-image-front {
    opacity: 1;
    z-index: 2;
}

/* Back image is hidden by default */
.product-image-back {
    opacity: 0;
    z-index: 1;
}

/* On hover, show back image and hide front image */
.product-card:hover .product-image-front {
    opacity: 0;
}

.product-card:hover .product-image-back {
    opacity: 1;
}

/* Shimmer effect for products */
.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #f5ebe0, transparent);
    transition: left 0.7s ease;
    z-index: 3;
}

.product-card:hover .product-image::before {
    left: 100%;
}

.product-info {
    padding: 1.5rem;
    background: transparent;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);  /* Text shadow for readability */
    font-weight: 600;  /* Slightly bolder */
}

.product-info p {
    color: #e0e0e0;  /* Brighter for readability */
    margin-bottom: 1rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.product-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.purchase-container {
    margin-top: 1rem;              /* Space above button - separates from price */
    display: flex;                 /* Flexbox for centering */
    justify-content: center;       /* Center the button horizontally */
    align-items: center;           /* Center vertically within container */
}

/* Main purchase button styling */
.purchase-btn {
    /* Layout & Spacing */
    display: inline-flex;          /* Allows logo and text to sit side by side */
    align-items: center;           /* Vertically center logo and text */
    justify-content: center;       /* Center content within button */
    gap: 0.5rem;                  /* Space between logo and text */
    padding: 0.75rem 1.5rem;      /* Internal spacing - comfortable click area */

    /* Visual Design */
    background: #1a1a1a;       /* Transparent background initially */
    border: 1px solid #6c757d;    /* Gold border matching your theme */
    border-radius: 15px;           /* Rounded corners */
    color: #ffffff;               /* White text */
    font-size: 1rem;             /* Readable font size */
    font-weight: 500;             /* Medium weight for clarity */
    text-decoration: none;        /* Remove link underline */

    /* Animation & Interaction */
    transition: all 0.3s ease;    /* Smooth transitions for all properties */
    cursor: pointer;              /* Hand cursor on hover */

    /* Sizing */
    min-width: 120px;             /* Minimum button width for consistency */
    height: 44px;                 /* Standard touch-friendly height */
}

/* Bit logo styling within button */
.bit-logo {
    width: 25px;                  /* Logo width */
    height: 25px;                 /* Logo height - square aspect ratio */
    object-fit: cover;          /* Maintain logo proportions */
    transition: filter 0.3s ease; /* Smooth color transition */
}
/*Hi!*/

/* Button text styling */
.purchase-text {
    font-family: inherit;         /* Use same font as rest of site */
    white-space: nowrap;          /* Prevent text wrapping */
}

/* ===== HOVER EFFECTS ===== */
.purchase-btn:hover {
    background: #ced4da;          /* Gold background on hover */
    color: #000000;               /* Black text on hover */
    transform: translateY(-2px) scale(1.05); /* Lift and slightly enlarge */
    box-shadow: 0 8px 20px #6c757d; /* Gold glow effect */
    border-color: #ced4da;        /* Ensure border stays gold */
}

.purchase-btn:hover .bit-logo {
    filter: brightness(0.7);        /* Make logo black on hover */
}

/* ===== ACTIVE STATE (when clicking) ===== */
.purchase-btn:active {
    transform: translateY(-1px) scale(1.02); /* Slightly less lift when clicking */
    box-shadow: 0 4px 12px #6c757d; /* Reduced shadow */
}

/* ===== DISABLED STATE (for out of stock) ===== */
.purchase-btn.disabled {
    background: transparent;      /* Keep transparent */
    border-color: #666666;        /* Gray border */
    color: #888888;               /* Gray text */
    cursor: not-allowed;          /* Show disabled cursor */
    opacity: 0.6;                 /* Reduce opacity */
}

.purchase-btn.disabled:hover {
    /* Override hover effects for disabled state */
    background: transparent;
    color: #888888;
    transform: none;              /* No movement */
    box-shadow: none;             /* No glow */
    border-color: #666666;        /* Keep gray border */
}

.purchase-btn.disabled .bit-logo {
    filter: brightness(0) invert(0.5); /* Gray logo */
}

.purchase-btn.disabled:hover .bit-logo {
    filter: brightness(0) invert(0.5); /* Keep gray on hover */
}


.instagram-footer {
    background: #000000; /* Pure black - darker than story sections */
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Subtle separator line */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer-instagram-link:hover {
    color: #ced4da; /* Simple gold color change on hover */
}

.footer-instagram-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.footer-instagram-link:hover .footer-instagram-icon {
    transform: scale(1.05); /* Subtle scale on hover */
}

.footer-instagram-link:hover .footer-instagram-text {
    transform: scale(1.01); /* Subtle scale on hover */
}

.footer-instagram-text {
    font-family: inherit;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Fade in animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
/* ============================================
   HAMBURGER MENU (MOBILE ONLY)
   ============================================ */

/* Hide hamburger on desktop by default */
.hamburger {
    display: none;
}
/* ============================================
   MOBILE RESPONSIVENESS - COMPREHENSIVE FIXES
   ============================================ */

/* Mobile phones */
@media (max-width: 768px) {
    /* ===================================
       HAMBURGER MENU STYLES FOR MOBILE
       =================================== */

    /* Show and style hamburger button on mobile */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 45px;
        height: 45px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 10px;
        z-index: 3500;
        position: fixed;
        top: 20px;
        right: 20px;
        transition: all 0.3s ease;
    }

    .hamburger-line {
        width: 100%;
        height: 2px;
        background: #ffffff;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 2px;
    }

    /* Hamburger animation when menu is open (X shape) */
    .hamburger.active .hamburger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .hamburger-line:nth-child(2) {
        opacity: 0;
        transform: translateX(20px);
    }

    .hamburger.active .hamburger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Hide navigation off-screen by default on mobile */
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 3000;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Show navigation when menu is active */
    nav.menu-active {
        right: 0;
    }

    /* Vertical menu layout for mobile */
    nav ul {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        padding: 2rem;
        width: 100%;
    }

    nav li {
        margin: 0;
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Staggered animation for menu items when menu opens */
    nav.menu-active li:nth-child(1) { animation: slideInRight 0.4s ease forwards 0.1s; }
    nav.menu-active li:nth-child(2) { animation: slideInRight 0.4s ease forwards 0.2s; }
    nav.menu-active li:nth-child(3) { animation: slideInRight 0.4s ease forwards 0.3s; }
    nav.menu-active li:nth-child(4) { animation: slideInRight 0.4s ease forwards 0.4s; }
    nav.menu-active li:nth-child(5) { animation: slideInRight 0.4s ease forwards 0.5s; }

    @keyframes slideInRight {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    /* Large, elegant text for mobile menu */
    nav a {
        font-size: 1.8rem;
        font-weight: 300;
        letter-spacing: 2px;
        padding: 1rem 2rem;
        display: block;
        text-align: center;
        border-bottom: 2px solid transparent;
        transition: all 0.3s ease;
        white-space: nowrap;
        border-radius: 0;
        background: transparent;
    }

    nav a:hover {
        border-bottom: 2px solid #ced4da;
        color: #ced4da;
        background: transparent;
        transform: scale(1.05);
    }


    /* Logo for mobile */
    .logo {
        top: 10%;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1500;
    }

    .logo picture,
    .logo img {
        height: 300px;
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
    }

    /* Hero section mobile */
    .hero {
        min-height: 100vh;
        padding-top: 60px;
    }

    /* Story sections mobile */
    .story-section {
        padding: 2rem 1rem;
    }

    .story-container {
        gap: 2rem;
    }

    .story-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .story-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .story-image-container {
        height: 300px;
        border-radius: 0;
    }

    .story-image-container img {
        object-fit: cover;
        object-position: center;
    }
    .products-video-bg {
        opacity: 1;
    }

    .products-video-overlay {
        background: rgba(0, 0, 0, 0.7);  /* Darker overlay on mobile */
    }

    /* Products mobile */
    .products {
        padding: 2.5rem 1rem;
    }

    .products h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;  /* Tighter spacing on mobile */
    }

    .product-card {
        border-radius: 10px;
    }

    .product-image {
        height: 250px;  /* Slightly smaller on mobile */
        border-radius: 12px;  /* Keep rounded corners */
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);  /* Stronger shadow for visibility */
    }

    .product-image-front.small-on-phone,
    .product-image-back.small-on-phone {
        width: 80%;
        height: 80%;
        top: 10%;
        left: 10%;
    }

    .product-info {
        padding: 1rem;
        /* Option 1: Keep transparent */
        background: transparent;

        /* Option 2: Add subtle background for better readability */
        /* background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border-radius: 0 0 12px 12px; */
    }

    .product-info h3 {
        font-size: 1.1rem;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);  /* Stronger shadow */
        font-weight: 700;  /* Bolder on mobile */
    }

    .product-info p {
        font-size: 0.9rem;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
        color: #f0f0f0;  /* Brighter text */
    }

    .product-price {
        font-size: 1.1rem;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
        font-weight: 800;  /* Extra bold */
    }

    .purchase-container {
        margin-top: 0.8rem;        /* Slightly less margin on mobile */
    }

    .purchase-btn {
        padding: 0.8rem 1.2rem;    /* Slightly larger padding for touch */
        font-size: 0.95rem;        /* Slightly smaller text */
        min-width: 100px;          /* Smaller minimum width */
        height: 48px;              /* Taller for better touch target */
    }

    .bit-logo {
        width: 18px;               /* Slightly smaller logo */
        height: 18px;
    }

    .instagram-footer {
        padding: 1.5rem 1rem;
    }

    .footer-instagram-link {
        font-size: 1rem;
        gap: 0.6rem;
    }

    .footer-instagram-icon {
        width: 20px;
        height: 20px;
    }

    /* Floating elements - reduce on mobile */
    .floating-element {
        display: none;
    }
}



/* Landscape orientation fixes for mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .logo {
        top: -30%;
    }

    .logo img {
        height: 300px;
    }

    .hero {
        padding-top: 40px;
    }

    nav ul {
        padding: 0.8rem 0.5rem;
    }

    .story-section {
        padding: 1.5rem 1rem;
    }

    .story-image-container {
        height: 200px;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .floating-element {
        animation: none;
    }

    .gradient-overlay {
        animation: none;
        background: #1a1a1a;
    }
}

/* High contrast mode support */
@media (prefers-contrast: more) {
    .story-content h2::after {
        background: #ced4da;
    }

    .product-card {
        border: 2px solid #ced4da;
    }

    nav a:hover {
        background: #6c757d;
    }
}

/* Print styles */
@media print {
    .logo,
    nav,
    .floating-element,
    .video-bg,
    .gradient-overlay {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .story-content h2,
    .products h2 {
        color: black !important;
    }
}
/* ===================================
   PRODUCT MODAL STYLES
   =================================== */

/* Make product cards clickable */
.product-card.clickable {
    cursor: pointer;
}

.product-card.clickable:hover {
    transform: translateY(-15px) scale(1.02);
}

/* Modal Overlay - True Glass Effect (See-Through Background) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);  /* Much lighter - barely any color */
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-overlay.hidden {
    display: none;
}

/* Modal Content Box - True Apple Glass Design (Transparent) */
.modal-content {
    background: rgba(255, 255, 255, 0.08);  /* Very transparent white */
    backdrop-filter: blur(40px) saturate(180%) brightness(110%);
    -webkit-backdrop-filter: blur(40px) saturate(180%) brightness(110%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    max-width: 1000px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.15),
            inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.modal-overlay.show .modal-content {
    transform: scale(1);
    opacity: 1;
}

/* Close Button - Transparent Glass Design */
.modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 32px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
    box-shadow:
            0 4px 16px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg);
    box-shadow:
            0 6px 20px rgba(255, 255, 255, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Modal Body Layout */
.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem;
    max-height: 90vh;
    overflow-y: auto;
}

/* Image Gallery Section */
.modal-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-image-container {
    width: 100%;
    height: 500px;
    background: rgba(255, 255, 255, 0.03);  /* Barely there background */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
            0 4px 16px rgba(0, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.modal-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Thumbnail Navigation */
.modal-image-thumbnails {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.modal-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal-thumb:hover {
    opacity: 1;
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.modal-thumb.active {
    border-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

/* Product Info Section */
.modal-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 2rem;
}

.modal-product-name {
    font-size: 2.5rem;
    color: #ffffff;
    margin: 0;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);  /* Strong shadow for readability */
}

.modal-availability {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin: 0;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.modal-availability.in-stock {
    color: #4caf50;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.modal-availability.out-of-stock {
    color: #f44336;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.modal-availability.pre-order {
    color: #ff9800;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Price Section */
.modal-price-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modal-price {
    font-size: 2rem;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.modal-original-price {
    font-size: 1.5rem;
    color: #999999;
    text-decoration: line-through;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Product Description - Glass Design with Better Readability */
.modal-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);  /* Strong shadow for readability */
    margin: 1rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.09);  /* Slightly more opaque for readability */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
            0 2px 12px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Purchase Button in Modal */
.modal-purchase-container {
    margin-top: auto;
    padding-top: 1rem;
}

.modal-purchase-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    background: rgba(255, 255, 255, 0.12);  /* More transparent */
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    box-shadow:
            0 4px 15px rgba(0, 0, 0, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    min-width: 200px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.modal-purchase-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    box-shadow:
            0 6px 20px rgba(255, 255, 255, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.modal-purchase-btn.disabled {
    background: rgba(100, 100, 100, 0.2);
    color: #888888;
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.5;
    border-color: rgba(136, 136, 136, 0.2);
}

.modal-purchase-btn.disabled:hover {
    transform: none;
    box-shadow: none;
    background: rgba(100, 100, 100, 0.2);
}

/* Scrollbar Styling for Modal - Transparent Glass Design */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ===================================
   MODAL RESPONSIVE STYLES
   =================================== */

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
        border-radius: 15px;
    }

    .modal-body {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }

    .modal-close {
        top: 15px;
        left: 15px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .modal-image-container {
        height: 350px;
    }

    .modal-product-name {
        font-size: 1.8rem;
    }

    .modal-price {
        font-size: 1.6rem;
    }

    .modal-description {
        font-size: 1rem;
        padding: 1rem;
    }

    .modal-thumb {
        width: 60px;
        height: 60px;
    }

    .modal-purchase-btn {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .modal-info {
        padding-top: 0;
    }
}

@media (max-width: 480px) {
    .modal-body {
        padding: 1.5rem 1rem;
        gap: 1.5rem;
    }

    .modal-close {
        top: 10px;
        left: 10px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .modal-image-container {
        height: 280px;
    }

    .modal-product-name {
        font-size: 1.5rem;
    }

    .modal-thumb {
        width: 50px;
        height: 50px;
    }
}

/* Animation for modal entrance */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===================================
   CHAT WIDGET STYLES
   =================================== */

/* Main widget container - fixed bottom right */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 10px;  /* Changed from 30px to 10px - much closer to edge */
    z-index: 9999;
    display: flex;
    align-items: flex-end;
    gap: 20px;
    pointer-events: none;
}

/* Character Image Container */
.chat-character {
    position: relative;
    width: 300px;
    height: 450px;
    pointer-events: auto;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.6));
    /* Hidden by default - will show with .show class */
    opacity: 0;
    transform: translateX(100px);
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chat-character.show {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
}

.chat-character:hover {
    transform: translateY(-5px) scale(1.05);
}

.chat-character.show:hover {
    transform: translateY(-5px) scale(1.05);
}

.character-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
    transition: all 0.3s ease;
}

/* Speech Bubble - Simple and Elegant */
.speech-bubble {
    position: relative;
    /* Simple clean background with subtle blur */
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.5rem;
    max-width: 320px;
    min-width: 280px;
    pointer-events: auto;
    /* Simple clean shadow */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform-origin: bottom right;
    /* Hidden by default - will show with .show class */
    opacity: 0;
    transform: scale(0) translateY(20px);
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Show bubble with animation */
.speech-bubble.show {
    opacity: 1;
    transform: scale(1) translateY(0);
    visibility: visible;
}

/* Speech bubble arrow pointing to character - Simple style */
.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: 40px;
    right: -15px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 18px;
    border-color: transparent transparent transparent rgba(0, 0, 0, 0.75);
    filter: drop-shadow(2px 0 4px rgba(0, 0, 0, 0.3));
}

/* Bubble content */
.bubble-content h3 {
    margin: 0 0 0.8rem 0;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(255, 255, 255, 0.3);
}

.bubble-intro {
    margin: 0 0 0.8rem 0;
    color: #f8f9fa;
    font-size: 0.95rem;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.delivery-areas {
    /* Just text, no box */
    margin: 0.8rem 0;
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.8;
    text-align: right;
}

.bubble-note {
    margin: 0.8rem 0 0 0;
    color: #e9ecef;
    font-size: 0.85rem;
    font-style: italic;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Bubble appear animation */
@keyframes bubbleAppear {
    0% {
        opacity: 0;
        transform: scale(0) translateY(20px);
    }
    60% {
        transform: scale(1.05) translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Border glow animation for liquid glass */
@keyframes borderGlow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Pulse animation for character to draw attention */
@keyframes characterPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.chat-character.pulse {
    animation: characterPulse 2s ease-in-out infinite;
}

/* Responsive styles for chat widget */
@media (max-width: 768px) {
    .chat-widget {
        bottom: 20px;
        right: 5px;  /* Changed from 20px to 5px */
    }

    .chat-character {
        width: 65px;
        height: 100px;
    }

    .speech-bubble {
        max-width: 260px;
        min-width: 240px;
        padding: 1.2rem;
    }

    .bubble-content h3 {
        font-size: 1.1rem;
    }

    .delivery-areas {
        font-size: 0.85rem;
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .chat-widget {
        bottom: 1px;
        right: -60px;  /* Changed from 15px to 5px */
    }

    .chat-character {
        width: 200px;
        height: 300px;
    }

    .speech-bubble {
        max-width: 150px;
        min-width: 130px;
        padding: 1rem;
    }

    .bubble-content h3 {
        font-size: 0.8rem;
    }

    .bubble-intro,
    .delivery-areas {
        font-size: 0.6rem;
    }

    .bubble-note {
        font-size: 0.5rem;
    }
}