        /* Montserrat Font Faces */
        @font-face {
            font-family: 'Montserrat';
            font-style: normal;
            font-weight: 600;
            src: url('../../style/fonts/montserrat/Montserrat-SemiBold.woff2') format('woff2'),
                 url('../../style/fonts/montserrat/Montserrat-SemiBold.woff') format('woff');
            font-display: swap;
        }

        @font-face {
            font-family: 'Montserrat';
            font-style: normal;
            font-weight: 700;
            src: url('../../style/fonts/montserrat/Montserrat-Bold.woff2') format('woff2'),
                 url('../../style/fonts/montserrat/Montserrat-Bold.woff') format('woff');
            font-display: swap;
        }

        @font-face {
            font-family: 'Montserrat';
            font-style: normal;
            font-weight: 800;
            src: url('../../style/fonts/montserrat/Montserrat-ExtraBold.woff2') format('woff2'),
                 url('../../style/fonts/montserrat/Montserrat-ExtraBold.woff') format('woff');
            font-display: swap;
        }

        /* Roboto Font Faces */
        @font-face {
            font-family: 'Roboto';
            font-style: normal;
            font-weight: 300;
            src: url('../../style/fonts/roboto/Roboto-Light.woff2') format('woff2'),
                 url('../../style/fonts/roboto/Roboto-Light.woff') format('woff');
            font-display: swap;
        }

        @font-face {
            font-family: 'Roboto';
            font-style: normal;
            font-weight: 400;
            src: url('../../style/fonts/roboto/Roboto-Regular.woff2') format('woff2'),
                 url('../../style/fonts/roboto/Roboto-Regular.woff') format('woff');
            font-display: swap;
        }

        @font-face {
            font-family: 'Roboto';
            font-style: normal;
            font-weight: 500;
            src: url('../../style/fonts/roboto/Roboto-Medium.woff2') format('woff2'),
                 url('../../style/fonts/roboto/Roboto-Medium.woff') format('woff');
            font-display: swap;
        }

        @font-face {
            font-family: 'Roboto';
            font-style: normal;
            font-weight: 700;
            src: url('../../style/fonts/roboto/Roboto-Bold.woff2') format('woff2'),
                 url('../../style/fonts/roboto/Roboto-Bold.woff') format('woff');
            font-display: swap;
        }

        /* Lily Script One Font Face */
        @font-face {
            font-family: 'Lily Script One';
            font-style: normal;
            font-weight: 700;
            src: url('../../style/fonts/lily/lily-script-one.woff2') format('woff2'),
                 url('../../style/fonts/lily/lily-script-one.woff2') format('woff');
            font-display: swap;
        }
        /* Edu SA Beginner Font Face */
        @font-face {
            font-family: 'Edu SA Beginner';
            font-style: normal;
            font-weight: 700;
            src: url('../../style/fonts/EduSABeginner/edu-sa-beginner-v4-latin-regular.woff2') format('woff2'),
                 url('../../style/fonts/EduSABeginner/edu-sa-beginner-v4-latin-regular.woff') format('woff');
            font-display: swap;
        }


        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }


/* FIX: Prevent horizontal overflow on mobile */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    background: linear-gradient(135deg, #0d0d1a 0%, #1a1a2e 100%);
    color: #e0e0e0;
    line-height: 1.6;
    min-height: 100vh;
}

/* HEADER STYLES */
header {
    background: linear-gradient(135deg, #1a1a2e 0%, #0d0d1a 100%);
    padding: 15px 5%;
    border-bottom: 1px solid #2a2a40;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background 0.4s ease;
}

header.scrolled {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(13, 13, 26, 0.9) 100%);
    backdrop-filter: blur(5px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 8px;
    cursor: pointer;
    background-image: linear-gradient(
        -75deg,
        transparent 0,
        transparent 5%,
        rgba(255, 255, 255, 0.9) 2%,
        rgba(255, 255, 255, 0.1) 10%,
        transparent 2%,
        transparent 15%
    ), linear-gradient(to right, #D4D4D4 0%, #ECECEC 100%);
    background-size: 200% 100%, 100% 100%;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: rgba(255,255,255,0.32) 0px 0px 11px;
    animation: shine 3s ease-in-out infinite;
}

.logo-text:hover {
   text-shadow: rgba(255,255,255,0.42) 0px 0px 11px;
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 2px;
    border-radius: 1px;
    transition: all 0.3s ease;
    animation: pulse 2s ease-in-out infinite alternate;
}

.logo-text:hover::after {
    width: 100%;
}

@keyframes shine {
    0% {
        background-position: 200% 0, 0 0;
    }
}

@keyframes pulse {
    0% {
        background: linear-gradient(90deg, #4a6cf7, #a855f7);
    }
    100% {
        background: linear-gradient(90deg, #a855f7, #4a6cf7);
    }
}

nav {
    flex-grow: 1;
}

.nav-links {
    display: flex;
    list-style: none;
    background: rgba(30, 30, 50, 0.7);
    border-radius: 8px;
    padding: 0 15px;
    justify-content: space-around;
    height: 60px;
    align-items: center;
}

.nav-links li {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links li a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #d0d0e0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    height: 100%;
}

.nav-links li a:hover {
    color: #4a6cf7;
    background: rgba(74, 108, 247, 0.1);
}

   .nav-icon {
            width: 24px;
            height: 24px;
            margin-right: 12px;
            vertical-align: middle;
            filter: invert(0.8);
            transition: all 0.4s ease;
        }

        .nav-links li a:hover .nav-icon {
            filter: invert(0.6) sepia(1) saturate(5) hue-rotate(200deg);
        }
.nav-links li a .fa-chevron-down {
    margin-left: 6px;
    margin-top: 5px;
    font-size: 0.9em;
    transition: transform 0.3s ease;
}

.nav-links li a:hover .fa-chevron-down {
    color: #4a6cf7;
}

.dropdown {
    position: absolute;
    background: #1a1a2e;
    min-width: 390px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 10;
    border: 1px solid #2a2a40;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: column;
    grid-template-rows: repeat(9, auto);
    padding: 10px 0;
    list-style: none !important;
    top: 100%;
}

/* Dynamic column system - adjusts based on number of items */
.dropdown.three-columns {
    grid-template-columns: repeat(3, 1fr);
    min-width: 585px;
    grid-template-rows: repeat(9, auto);
}

/* Force first 9 items in first column, next 9 in second column, rest in third */
.dropdown li:nth-child(-n+9) {
    grid-column: 1;
}
.dropdown li:nth-child(n+10):nth-child(-n+18) {
    grid-column: 2;
    grid-row: auto;
}
.dropdown.three-columns li:nth-child(n+19) {
    grid-column: 3;
    grid-row: auto;
}

.dropdown li a {
    padding: 12px 20px;
    border-bottom: 1px solid #2a2a40;
    display: flex;
    align-items: center;
}

.nav-links li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* BUNDLE ITEM WITH GRADIENT */
.bundle-item {
    grid-column: 1;
    background: rgba(168, 85, 247, 0.1);
    border-bottom: 1px solid #a855f7;
}
.bundle-item a {
    font-weight: 700 !important;
    color: #a855f7 !important;
    position: relative;
    padding-right: 80px !important;
}

.bundle-item a:after {
    content: "BUNDLE";
    background: linear-gradient(135deg, #4a6cf7, #a855f7);
    color: white;
    font-size: 0.68rem;
    padding: 2px 6px;
    border-radius: 4px;
    position: absolute;
    right: 15px;
}

/* New tag styling */
.new-tag-dropdown {
    background: linear-gradient(135deg,  #84cc16, #22c55e);
    color: white;
    font-size: 0.68rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    display: inline-block;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.more-dropdown {
    min-width: 200px;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
}

/* Mobile Fixes */
@media (max-width: 900px) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    .header-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .logo {
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        padding: 5px;
        height: auto;
    }
    
    .nav-links li a {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .nav-icon {
        width: 18px;
        height: 18px;
        margin-right: 8px;
    }
    
    /* Simple mobile dropdown fix */
    .dropdown {
        left: 0;
        right: 0;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        padding: 15px 0;
        overflow-y: auto;
        min-width: 170%;
        max-width:170%;
        width: 170%;
    }

    .dropdown.three-columns {
        grid-template-columns: 1fr;
        min-width:  170%;
        max-width: 170%;
        width: 170%;
    }

    /* Reset grid positioning for mobile */
    .dropdown li:nth-child(-n+9),
    .dropdown li:nth-child(n+10):nth-child(-n+18),
    .dropdown.three-columns li:nth-child(n+19) {
        grid-column: 1;
        grid-row: auto;
    }

    /* Bundle item fix for mobile */
    .bundle-item {
        grid-column: 1;
    }
}

/* UPDATED: Footer Styles */
footer {
    background: linear-gradient(135deg, #0d0d1a 0%, #1a1a2e 100%);
    padding: 40px 5% 20px;
    border-top: 1px solid #2a2a40;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

/* Social Icons - Left Side */
.footer-column:first-child {
    justify-self: start;
}

/* Copyright - Center */
.footer-column:nth-child(2) {
    justify-self: center;
}

/* Payment Methods - Right Side */
.footer-column:last-child {
    justify-self: end;
}

.social-icons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0px 0px 6px 5px rgba(0,0,0,0.17);
    border-radius: 50%;
    background: rgba(30, 30, 50, 0.7);
    text-decoration: none;
}

.social-icon i {
    font-size: 1.2rem;
    color: #d0d0e0;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(74, 108, 247, 0.3);
    transform: translateY(-3px);
}

.social-icon:hover i {
    color: #4a6cf7;
}

.copyright {
    font-size: 0.95rem;
    color: #b0b0c0;
    font-weight: 300;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    margin: 0;
    padding: 0;
}

.copyright .current-year {
    font-weight: 400;
    color: #e0e0e0;
}

/* Payment Methods Styles */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.payment-row {
    display: flex;
    gap: 6px;
    align-items: center;
}

.payment-icon {
    position: relative;
    background: rgba(30, 30, 50, 0.8);
    border: 1px solid rgba(74, 108, 247, 0.2);
    border-radius: 8px;
    padding: 4px 6px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    width: 48px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-icon:hover {
    background: rgba(74, 108, 247, 0.15);
    border-color: rgba(74, 108, 247, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.payment-icon img {
    width: 36px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0.9) contrast(1.1) saturate(0.8);
    transition: all 0.3s ease;
}

.payment-icon:hover img {
    filter: brightness(1) contrast(1.2) saturate(1);
}

.tooltip {
    visibility: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #2a2a40 100%);
    color: #e0e0e0;
    text-align: center;
    border-radius: 6px;
    padding: 6px 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    font-size: 12px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    border: 1px solid rgba(74, 108, 247, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #1a1a2e transparent transparent transparent;
}

.payment-icon:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

/* Mobile responsiveness */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 25px;
        text-align: center;
    }
    
    .footer-column:first-child,
    .footer-column:nth-child(2),
    .footer-column:last-child {
        justify-self: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .payment-icon {
        width: 45px;
        height: 30px;
    }
    
    .payment-icon img {
        width: 33px;
        height: 22px;
    }
    
    .copyright {
        white-space: normal;
    }
}

/* Mobile Fixes */
@media (max-width: 900px) {
    .copyright {
        left: 0;
        transform: none;
    }
    
    /* Mobile payment icons */
    .payment-methods {
        margin-left: 0;
        align-items: center;
    }
    
    .payment-row {
        justify-content: center;
    }
}

/* Product Page Styles */
.product-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.product-header {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    grid-template-areas:
        "gallery info"
        "gallery .";
    gap: 40px;
    margin-bottom: 50px;
}

.product-gallery {
    grid-area: gallery;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 2rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ffffff, #d0d0d0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.main-image-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(20, 20, 35, 0.5);
}

.main-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    transition: opacity 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.thumbnail {
    width: 120px;
    height: 90px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
    border: 2px solid transparent;
}

.thumbnail:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.thumbnail.active {
    opacity: 1;
    border-color: #4a6cf7;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gallery Footer with Tags and Share in two rows */
.gallery-footer {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid #2a2a40;
    gap: 20px;
}

.gallery-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.gallery-tags {
    flex: 1;
}

.gallery-share {
    flex-shrink: 0;
}

.tags-section {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.tags-title {
    font-size: 1.1rem;
    color: #d0d0e0;
    font-weight: 600;
    white-space: nowrap;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: rgba(74, 108, 247, 0.15);
    color: #b0b0c0;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(74, 108, 247, 0.3);
    color: #e0e0e0;
}

.share-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-title {
    font-size: 1.1rem;
    color: #d0d0e0;
    font-weight: 600;
    white-space: nowrap;
}

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    background: rgba(30, 30, 50, 0.7);
    position: relative;
}

.share-btn.facebook:hover { background: #3b5998; }
.share-btn.twitter:hover { background: #1DA1F2; }
.share-btn.pinterest:hover { background: #BD081C; }
.share-btn.whatsapp:hover { background: #25D366; }
.share-btn.reddit:hover { background: #FF4500; }
.share-btn.copy-link:hover { background: #6c757d; }

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Share tooltip styles - MODIFIED */
.share-tooltip {
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1a1a2e;
    color: #e0e0e0;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 100;
    border: 1px solid #4a6cf7;
    display: none; /* Hide by default */
}

.share-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #4a6cf7;
}

/* Remove hover effect for all tooltips */
.share-btn:hover .share-tooltip {
    display: none;
    opacity: 0;
    visibility: hidden;
}

/* Only show tooltip when "show" class is added (for copy link) */
.share-btn .share-tooltip.show {
    display: block;
    opacity: 1;
    visibility: visible;
}

.product-info {
    grid-area: info;
    min-width: 300px;
    background: rgba(30, 30, 50, 0.6);
    border-radius: 10px;
    padding: 25px;
    border: 1px solid #2a2a40;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    height: auto;
    margin-top: 85px;
}

.price-display {
    font-size: 3rem;
    font-weight: 700;
    margin: 15px 0;
    color: white;
    text-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.btn-buy-large {
    display: block;
    width: 100%;
    padding: 15px;
    text-align: center;
    background: linear-gradient(90deg, #4a6cf7, #a855f7);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-buy-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(74, 108, 247, 0.4);
    background: linear-gradient(90deg, #a855f7, #4a6cf7);
}

.reviews-section {
    margin: 20px 0;
    padding: 10px 0;
    border-top: 1px solid #2a2a40;
    border-bottom: 1px solid #2a2a40;
}

/* NEW STAR RATING SYSTEM */
.rating-container {
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.stars-empty {
    display: inline-block;
    white-space: nowrap;
}

.stars-filled {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    white-space: nowrap;
}

.rating-star {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin-right: -8px;
    position: relative;
    font-size: 1.7rem;
    text-align: center;
    line-height: 30px;
    transition: transform 0.2s ease;
}

.rating-star:hover {
    transform: scale(1.2);
}

.rating-star-empty {
    color: #4a4a60;
}

.rating-star-filled {
    color: #ffd700;
}

.review-text {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #b0b0c0;
}

.product-meta {
    margin-top: 15px;
}

.meta-item {
    display: flex;
    margin-bottom: 5px;
    align-items: center;
}

.meta-label {
    font-weight: 600;
    width: 180px;
    color: #d0d0e0;
}

.meta-value {
    flex: 1;
    color: #b0b0c0;
}

/* UPDATED: Category link styling */
.meta-value a.category-link {
    color: #b0b0c0;
    transition: color 0.3s ease;
    text-decoration: none;
}

.meta-value a.category-link:hover {
    color: #e0e0e0;
    text-decoration: none;
}

.meta-value a:not(.category-link) {
    color: #4a6cf7;
    text-decoration: none;
    transition: all 0.3s ease;
}

.meta-value a:not(.category-link):hover {
    color: #a855f7;
    text-decoration: underline;
}

.meta-item.compatibility-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.compatibility-label {
    font-weight: 600;
    color: #d0d0e0;
    margin-bottom: 5px;
    width: 100%;
}

.compatibility-value {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.compatibility-image {
    width: 301px;
    height: 46px;
    background: #2a2a40;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0 auto;
    margin-top: 8px;
}

.compatibility-image img {
    width: 301px;
    height: 46px;
    object-fit: contain;
}

/* Keep the existing tooltip styles */
.compatibility-tooltip {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a2e;
    color: #e0e0e0;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    text-align: center;
    width: 280px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    border: 1px solid #4a6cf7;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.compatibility-tooltip::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 10px 10px 10px;
    border-style: solid;
    border-color: transparent transparent #4a6cf7 transparent;
}

.compatibility-image:hover .compatibility-tooltip {
    opacity: 1;
    visibility: visible;
}

.separator {
    height: 1px;
    background: linear-gradient(90deg, #4a6cf7, #a855f7);
    margin: 50px 0;
    width: 100%;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #4a6cf7, #a855f7);
}

.video-container {
    position: relative;
    padding-bottom: 50.625%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 50px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    background: transparent; /* Ensure background doesn't show through */
}

.video-container iframe {
    position: absolute;
    top: 2.5%;    /* Center the 95% iframe */
    left: 2.5%;   /* Center the 95% iframe */
    width: 95%;
    height: 95%;
    border: none;
    border-radius: 10px;
}

.description-section {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.description-image {
    flex: 1;
    min-width: 300px;
    margin-top: 60px;
}

.description-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.description-content {
    flex: 2;
    min-width: 300px;
}

.description-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #e0e0e0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.tabs-container {
    margin-bottom: 30px;
    width: 100%;
}

.tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #2a2a40;
}

.tab-btn {
    padding: 12px 25px;
    background: transparent;
    border: none;
    color: #d0d0e0;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: #4a6cf7;
}

.tab-btn.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #4a6cf7;
}

.tab-content {
    display: none;
    padding: 25px;
    background: rgba(30, 30, 50, 0.6);
    border-radius: 0 10px 10px 10px;
    border: 1px solid #2a2a40;
}

.tab-content.active {
    display: block;
}

.requirements-content {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.os-requirements {
    flex: 1;
    min-width: 300px;
}

.os-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #e0e0e0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.requirements-list {
    list-style: none;
}

.requirements-list li {
    padding: 10px 0;
    border-bottom: 1px solid #2a2a40;
    color: #b0b0c0;
}

.requirements-list li:last-child {
    border-bottom: none;
}

/* Bold labels for requirements */
.requirements-list li strong {
    font-weight: 700;
    color: #e0e0e0;
}

.kontakt-requirements-icon {
      width: 24px;
      height: 24px;
      /* same filter you had inline */
      filter: brightness(0) saturate(100%) invert(89%) sepia(6%) saturate(300%) hue-rotate(201deg) brightness(92%) contrast(89%);
      /* ensure image scales cleanly and doesn't distort */
      object-fit: contain;
      display: inline-block;
      vertical-align: middle;
    }

       .kontakt-note {
    margin-top: 15px;
    padding: 15px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 8px;
    border-left: 4px solid #a855f7;
}
.soundcloud-container {
    background: rgba(30, 30, 50, 0.6);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #2a2a40;
    margin-bottom: 50px;
}

.soundcloud-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #e0e0e0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.soundcloud-title:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #4a6cf7, #a855f7);
}

/* Enhanced Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.show {
    opacity: 1;
}

.modal-content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.image-modal.show .modal-content-container {
    transform: scale(1);
}

.modal-content {
    max-width: 90%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.6);
}

.modal-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding: 10px;
    overflow-x: auto;
    max-width: 90%;
}

.modal-thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.modal-thumbnail:hover, .modal-thumbnail.active {
    opacity: 1;
    transform: translateY(-3px);
}

.modal-thumbnail.active {
    border-color: #4a6cf7;
}

.close {
    position: absolute;
    top: 30px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    opacity: 0.8;
    z-index: 1001;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    opacity: 1;
    cursor: pointer;
}

/* Small Buy Button - increased width by 15% */
.btn-buy-small {
    display: inline-block;
    padding: 12px 30px;
    text-align: center;
    background: linear-gradient(90deg, #4a6cf7, #a855f7);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 230px;
    margin-left: auto;
    margin-right: 0;
}

.btn-buy-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(74, 108, 247, 0.4);
    background: linear-gradient(90deg, #a855f7, #4a6cf7);
}

/* UPDATED: Browse Our Collection carousel */
.collection-carousel {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

.carousel-title-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.carousel-controls {
    display: flex;
    gap: 10px;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(74, 108, 247, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d0d0e0;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.carousel-btn:hover {
    background: rgba(74, 108, 247, 0.3);
    transform: scale(1.1);
}

.carousel-container {
    display: flex;
    overflow-x: hidden;
    gap: 20px;
    padding: 20px 0;
    scroll-behavior: smooth;
}

.carousel-item {
    min-width: 192px; /* Increased by 20% from 160px */
    background: rgba(30, 30, 50, 0.6);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid #2a2a40;
    flex-shrink: 0;
    cursor: pointer;
    text-decoration: none;
}

.carousel-item:hover {
    transform: scale(1.05);
}

.carousel-image {
    height: 198px; /* Increased by 20% from 165px */
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-title {
    color: #e0e0e0 !important;
    padding: 15px;
    text-align: center;
    font-weight: 500;
    text-decoration: none !important;
}

/* Tag styles */
.product-tag {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.new-tag {
    background: linear-gradient(135deg,  #84cc16, #22c55e);
}

.sale-tag {
    background: linear-gradient(135deg,  #ef4444, #ec4899);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-header {
        grid-template-columns: 1fr;
        grid-template-areas:
            "gallery"
            "info";
    }
    
    .main-image {
        max-height: 300px;
    }
    
    .product-info {
        margin-top: 0;
        height: auto;
    }
    
    .price-display {
        font-size: 2.5rem;
    }
    
    .description-section {
        flex-direction: column;
    }
    
    .gallery-footer-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .gallery-tags, .gallery-share {
        width: 100%;
    }
    
    .tags-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .share-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .compatibility-image {
        width: 301px;
        height: 46px;
    }
    
    .compatibility-image img {
        width: 301px;
        height: 46px;
    }

    .compatibility-tooltip {
        top: calc(100% + 5px);
        width: 240px;
        font-size: 0.8rem;
    }
    
    /* Reset margin for image on mobile */
    .description-image {
        margin-top: 0;
    }
    
    /* Mobile button alignment */
    .btn-buy-small {
        margin-left: 0;
        margin-right: auto;
    }
    
    .collection-carousel {
        margin: 40px auto;
    }
    
    .carousel-item {
        min-width: 173px; /* Increased by 20% from 144px */
    }

    /* Modal adjustments for mobile */
    .modal-content {
        max-height: 50vh;
    }

    .modal-thumbnail {
        width: 60px;
        height: 45px;
    }

    .close {
        top: 15px;
        right: 20px;
        font-size: 30px;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;  /* Normal scrollbar width */
    height: 12px; /* Normal scrollbar height */
    background-color: #383849; /* Dark blue background */
}

::-webkit-scrollbar-track {
    background-color: #383849; /* Dark blue track */
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background-color: #292939; /* Blue thumb */
    border-radius: 3px;
    border: 2px solid transparent;
    background-clip: content-box;
}

/* Firefox Scrollbar */
html {
    scrollbar-color: #383849 #292939;
    scrollbar-width: thin; /* Normal scrollbar size in Firefox */
}

/* JUSTIFY TEXT FOR EVEN LINE ENDINGS */
.description-text {
    text-align: justify;
}


/* NEW: Floating Buy Button Styles */
.floating-buy-btn {
    position: fixed;
    bottom: 130px;
    right: 30px;
    background: linear-gradient(90deg, #4a6cf7, #a855f7);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(74, 108, 247, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.floating-buy-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-buy-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(74, 108, 247, 0.6);
    background: linear-gradient(90deg, #a855f7, #4a6cf7);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .floating-buy-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 14px;
    }
}



/* TABLET STYLES - iPad and similar devices */
@media (max-width: 1024px) and (min-width: 769px) {
    /* Header adjustments */
    .header-container {
        padding: 0 3%;
        transform: translateX(-5%);
    }
    
    .logo-text {
        font-size: 1.5rem;
        letter-spacing: 2px;
        white-space: nowrap;
    }
    
    .nav-links {
        padding: 0 10px;
        height: 55px;
    }
    
    .nav-links li a {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .nav-icon {
        width: 20px;
        height: 20px;
        margin-right: 10px;
    }
    
    /* Dropdown adjustments for tablet */
    .dropdown {
        min-width: 350px;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dropdown.three-columns {
        grid-template-columns: repeat(2, 1fr);
        min-width: 520px;
    }
    
    /* Product page adjustments */
    .product-container {
        padding: 0 3%;
    }
    
    .product-header {
        grid-template-columns: 1.5fr 1fr;
        gap: 30px;
    }
    
    .product-title {
        font-size: 1.8rem;
    }
    
    .main-image {
        max-height: 60vh;
    }
    
    .thumbnails {
        gap: 8px;
    }
    
    .thumbnail {
        width: 100px;
        height: 75px;
    }
    
    .product-info {
        padding: 20px;
        margin-top: 60px;
    }
    
    .price-display {
        font-size: 2.5rem;
    }
    
    .btn-buy-large {
        padding: 12px;
        font-size: 1rem;
    }
    
    /* Gallery footer adjustments */
    .gallery-footer-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .tags-section,
    .share-section {
        width: 100%;
    }
    
    /* Video container */
    .video-container {
        padding-bottom: 45%;
        width: 95%;
    }
    
    /* Description section */
    .description-section {
        gap: 30px;
    }
    
    .description-image {
        min-width: 250px;
        margin-top: 40px;
    }
    
    .description-content {
        min-width: 250px;
    }
    
    .description-title {
        font-size: 1.6rem;
    }
    
    /* Tabs */
    .tab-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    .tab-content {
        padding: 20px;
    }
    
    /* Requirements section */
    .requirements-content {
        gap: 25px;
    }
    
    .os-requirements {
        min-width: 250px;
    }
    
    .os-title {
        font-size: 1.3rem;
    }
    
    /* Compatibility adjustments */
    .compatibility-image {
        width: 280px;
        height: 43px;
    }
    
    .compatibility-image img {
        width: 280px;
        height: 43px;
    }
    
    .compatibility-tooltip {
        width: 260px;
        font-size: 0.85rem;
    }
    
    /* Carousel adjustments */
    .collection-carousel {
        padding: 0 3%;
    }
    
    .carousel-item {
        min-width: 180px;
    }
    
    .carousel-image {
        height: 185px;
    }
    
    /* Footer adjustments */
    footer {
        padding: 40px 2% 20px;
    }
    
    .footer-content {
        gap: 20px;
        padding: 0;
        max-width: 100%;
        overflow: hidden;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
    }
    
    .social-icon i {
        font-size: 1rem;
    }
    
    .payment-methods {
        gap: 6px;
    }
    
    .payment-row {
        gap: 4px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .payment-icon {
        width: 42px;
        height: 28px;
    }
    
    .payment-icon img {
        width: 30px;
        height: 20px;
    }
    
    .copyright {
        font-size: 0.9rem;
        padding: 0 10px;
    }
    
    /* Modal adjustments */
    .modal-content {
        max-width: 85%;
        max-height: 65vh;
    }
    
    .modal-thumbnails {
        max-width: 85%;
    }
    
    .modal-thumbnail {
        width: 70px;
        height: 52px;
    }
    
    /* Floating button */
    .floating-buy-btn {
        bottom: 25px;
        right: 25px;
        padding: 13px 22px;
        font-size: 15px;
    }
    
    /* Section titles */
    .section-title {
        font-size: 1.7rem;
    }
    
    .soundcloud-title {
        font-size: 1.7rem;
    }
}