/* =========================================
   1. THEME VARIABLES (Master Control Room)
   ========================================= */
:root {
    --theme-color: #aa55ff; /* Default Kapaaku Purple */
}

/* =========================================
   2. GLOBAL RESET & BACKGROUND
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: #050505;
    background-image: radial-gradient(circle at center, rgba(30,30,30,0.8) 0%, #050505 100%), 
                      url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noise"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="4" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noise)" opacity="0.04"/%3E%3C/svg%3E');
    color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* =========================================
   3. HEADER & LOGO
   ========================================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 50px 20px;
    position: relative;
    z-index: 1000; 
}

.header-left, .header-right {
    flex: 1; 
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    flex: 0 0 auto;
}

.logo-icon {
    max-width: 80px; 
    height: auto;
    margin-bottom: 5px;
}

.logo-text {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--theme-color); 
    transition: color 0.3s ease;
}

.logo-text span {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 6px;
}

.cart-link {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.cart-link:hover {
    color: var(--theme-color); 
}

/* =========================================
   4. HYBRID COLOR CUSTOMIZER (CLICK VERSION)
   ========================================= */
.theme-customizer {
    position: relative;
    display: inline-block;
}

.customize-btn {
    background: transparent;
    border: 1px solid #333;
    color: #aaa;
    padding: 8px 16px; 
    border-radius: 20px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.customize-btn:hover {
    color: #fff;
    border-color: var(--theme-color);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.customize-popover {
    position: absolute;
    top: 45px; 
    right: 0;
    width: 300px; 
    background: #111;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease; 
    z-index: 100;
}

/* The class added by JavaScript to open the menu */
.customize-popover.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.customize-popover p {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.5;
    margin-bottom: 18px;
}

.customize-popover p strong {
    color: var(--theme-color);
    font-size: 1.1rem;
}

.color-options {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px; 
}

.color-swatch {
    width: 30px; 
    height: 30px; 
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #444; 
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.color-swatch:hover {
    transform: scale(1.2); 
    box-shadow: 0 0 12px var(--theme-color);
    border-color: #fff;
}

.custom-color-wrapper {
    width: 32px; 
    height: 32px; 
    border-radius: 50%;
    cursor: pointer;
    background: conic-gradient(red, yellow, lime, aqua, blue, magenta, red);
    border: 2px solid #fff;
    transition: transform 0.2s ease;
    overflow: hidden;
    position: relative;
}

.custom-color-wrapper:hover {
    transform: scale(1.2);
}

.custom-color-wrapper input[type="color"] {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 60px; 
    height: 60px; 
    opacity: 0; 
    cursor: pointer;
}
/* =========================================
   4.5 HERO APPAREL BANNER
   ========================================= */
.hero-banner {
    position: relative;
    /* Made it wider (95% instead of 90%) and increased the max-width significantly */
    width: 95%; 
    max-width: 1600px; 
    
    /* THE MAGIC BULLET: Replaced height: 400px with the exact aspect ratio of your photos */
    aspect-ratio: 21 / 9; 
    
    margin: 0 auto 40px auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #222;
    z-index: 10;
    background-color: #0a0a0a;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.banner-track {
    display: flex;
    width: 100%;
    height: 100%;
    /* Silky smooth sliding animation */
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.banner-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end; 
    padding-right: 8%; 

    /* The Reveal State */
    opacity: 0;
    filter: blur(10px);
    transform: scale(1.02); /* Subtle zoom in */
    transition: opacity 1.2s ease, filter 1.2s ease, transform 1.5s ease;
}

.banner-slide.active-reveal {
    opacity: 1;
    filter: blur(0px);
    transform: scale(1); /* Smoothly settle to normal size */
}
.banner-overlay {
    text-align: center;
    background: rgba(10, 10, 10, 0.75);
    padding: 30px 40px;
    border-radius: 8px;
    border: 1px solid var(--theme-color); 
    backdrop-filter: blur(5px);
    transition: border-color 0.3s ease;
    
    /* Limits how wide the text box can get */
    max-width: 400px; 
}

/* Added styling for the new subtitles we put in the HTML */
.banner-overlay p {
    color: #ccc;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.banner-btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--theme-color); /* Matches user theme! */
    color: #000;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.banner-btn:hover {
    box-shadow: 0 0 20px var(--theme-color);
    background: transparent;
    color: var(--theme-color);
}

/* The Left/Right Arrows */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: 1px solid #444;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-arrow:hover {
    border-color: var(--theme-color);
    color: var(--theme-color);
    background: #000;
}

.prev-arrow { left: 20px; }
.next-arrow { right: 20px; }

/* Mobile Adjustment for the Banner */
@media (max-width: 768px) {
.hero-banner {
        /* Gives it enough vertical space on phones so the text box doesn't break */
        min-height: 350px; 
        width: 100%;
        border-radius: 0; 
        border-left: none;
        border-right: none;
    }
    .banner-overlay h2 { font-size: 1.4rem; }
    .banner-arrow { width: 35px; height: 35px; }

/* Centers the banner text on mobile */
    .banner-slide { justify-content: center; padding-right: 0; }
    .banner-overlay { padding: 20px; width: 85%; }
}

/* =========================================
   5. HOME PAGE: COLLECTIONS GRID
   ========================================= */
.cta-container {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 10;
}

.cta-container h2 {
    font-size: 1.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #e0e0e0;
    margin-bottom: 8px;
}

.cta-container p {
    color: #888;
    font-size: 1rem;
    font-style: italic;
}

.collections-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 10px 50px;
    flex-wrap: wrap;
    flex-grow: 1;
    position: relative;
    z-index: 10; 
}

.collection-card {
    text-decoration: none;
    color: white;
    width: 320px;
    border-radius: 12px;
    background: #000; /* Changed from #0a0a0a to seamlessly blend the bottom */
    border: 1px solid #222;
    transition: all 0.4s ease;
    position: relative;
    top: 0;
    
    /* NEW: Makes the card a flex container so the bottom can stretch */
    display: flex;
    flex-direction: column;
}

.collection-card:hover {
    top: -10px; 
}

.image-wrapper {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0; 
    transform: scale(1.05);
    transition: opacity 1s ease, transform 1s ease;
    z-index: 1; 
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2; 
}

.card-text {
    padding: 25px 20px;
    text-align: center;
    background: linear-gradient(to top, #000, #0a0a0a);
    
    /* NEW: Forces the text background to stretch all the way to the bottom */
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-text h2 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    letter-spacing: 2px; 
    text-transform: uppercase; 
    font-weight: 600;
    color: #dddddd;
    transition: all 0.5s ease; 
}

.card-text p {
    color: #777;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

#card-neon:hover {
    box-shadow: 0 15px 35px rgba(255, 0, 255, 0.25);
    border-color: #ff00ff;
}
#card-neon:hover h2 { 
    color: #ffffff; 
    letter-spacing: 5px; 
    text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff, 0 0 30px #ff00ff; 
}

#card-feline:hover {
    box-shadow: 0 15px 35px rgba(255, 140, 0, 0.25);
    border-color: #ff8c00;
}
#card-feline:hover h2 { 
    color: #ffffff; 
    letter-spacing: 5px; 
    text-shadow: 0 0 10px #ff8c00, 0 0 20px #ff8c00, 0 0 30px #ff8c00; 
}

#card-aviary:hover {
    box-shadow: 0 15px 35px rgba(0, 200, 100, 0.25);
    border-color: #00c864;
}
#card-aviary:hover h2 { 
    color: #ffffff; 
    letter-spacing: 5px; 
    text-shadow: 0 0 10px #00c864, 0 0 20px #00c864, 0 0 30px #00c864; 
}

/* =========================================
   6. COLLECTION PAGE: NEON FOSSIL
   ========================================= */
.back-link {
    color: #888;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--theme-color); 
}

.neon-hero {
    text-align: center;
    padding: 60px 20px 20px;
    margin-bottom: 40px;
    position: relative;
    z-index: 10;
}

.neon-title {
    font-size: 3.5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 8px;
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #ff00ff, 0 0 40px #ff00ff;
    margin-bottom: 10px;
}

.neon-subtitle {
    color: #00ffff;
    font-size: 1.2rem;
    letter-spacing: 6px;
    text-shadow: 0 0 10px #00ffff;
}

.grid-lines {
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff00ff, #00ffff, transparent);
    margin-top: 30px;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 20px 60px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.product-item {
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 0, 255, 0.15);
    border-color: #ff00ff;
}

.product-image-box {
    width: 100%;
    height: 350px;
    background: #050505;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* NEW: Keeps the zoomed image safely inside the box */
    overflow: hidden; 
    /* NEW: Changes the cursor to a magnifying glass! */
    cursor: zoom-in; 
}

.product-image-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Increased from 0.3s to 0.8s for a cinematic glide */
    transition: transform 0.8s ease-out; 
    transform-origin: center center;
    pointer-events: none; 
}

/* Make sure you DELETED the old .product-item:hover .product-image-box img rule! */
.product-item:hover .product-image-box img {
    transform: scale(1.05);
}

.product-info {
    padding: 25px 20px;
    text-align: center;
}

.product-info h3 {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.price {
    color: #00ffff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.4);
}

.add-to-cart {
    background: transparent;
    color: #fff;
    border: 1px solid #ff00ff;
    padding: 12px 30px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.add-to-cart:hover {
    background: #ff00ff;
    color: #000;
    box-shadow: 0 0 15px #ff00ff;
}
/* Styling for the changing color name text */
.selected-color-name {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.selected-color-name span {
    color: #fff; /* Makes the actual color name pop! */
    font-weight: bold;
    transition: color 0.3s ease;
}

/* Apparel Color Swatches for the Grid */
.apparel-colors {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.apparel-swatch {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid #444;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.apparel-swatch:hover {
    transform: scale(1.2);
    border-color: #fff;
}

/* Creates the "Selected" ring effect you had in your screenshot! */
.apparel-swatch.active {
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #000 inset; 
    transform: scale(1.1);
}
/* =========================================
   7. FOOTER & BACKGROUND EFFECTS
   ========================================= */
footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: 80px;
    background-color: #000;
    border-top: 1px solid #1a1a1a;
    position: relative;
    z-index: 10;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--theme-color); 
}

.copyright {
    color: #444;
    font-size: 0.8rem;
}

/* Background Ambiance Ripple (Now Linked to Theme Color!) */
.cursor-trail {
    position: fixed;
    width: 400px; 
    height: 400px;
    /* Uses the theme variable fading into invisible transparent space */
    background: radial-gradient(circle, var(--theme-color) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none; 
    transform: translate(-50%, -50%);
    animation: ripple-fade 3s ease-out forwards;
    z-index: 0; 
}

@keyframes ripple-fade {
    /* Starts at 8% opacity to match the original subtle look, then fades to 0 */
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0.08; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

/* =========================================
   8. PRODUCT DETAILS PAGE
   ========================================= */
.product-page-container {
    display: flex;
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 50px;
    gap: 60px;
    position: relative;
    z-index: 10;
}

.product-gallery {
    flex: 1;
}

.product-image-box.large-view {
    height: 700px; 
    border-radius: 12px;
    border: 1px solid #222;
}

.product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.breadcrumb {
    color: #666;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.product-title {
    font-size: 3rem;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.product-price-large {
    font-size: 2rem;
    color: #00ffff;
    font-weight: bold;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.product-description {
    color: #aaa;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

.product-description ul {
    margin-top: 15px;
    padding-left: 20px;
    color: #888;
}

.product-description li {
    margin-bottom: 8px;
}

.options-container {
    background: #0a0a0a;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #222;
    margin-bottom: 30px;
}

.apparel-colors.large-swatches {
    justify-content: flex-start;
    margin-bottom: 30px;
}

.apparel-colors.large-swatches .apparel-swatch {
    width: 28px;
    height: 28px;
}

.selected-size-name {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.selected-size-name span { color: #fff; font-weight: bold; }

.size-selector {
    display: flex;
    gap: 15px;
}

.size-btn {
    background: transparent;
    color: #fff;
    border: 1px solid #444;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.size-btn:hover {
    border-color: #fff;
}

.size-btn.selected {
    background: var(--theme-color);
    color: #000;
    border-color: var(--theme-color);
    box-shadow: 0 0 15px var(--theme-color);
}

.add-to-cart-giant {
    background: transparent;
    color: #fff;
    border: 2px solid var(--theme-color);
    padding: 20px;
    font-size: 1.2rem;
    letter-spacing: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    text-transform: uppercase;
}

.add-to-cart-giant:hover {
    background: var(--theme-color);
    color: #000;
    box-shadow: 0 0 30px var(--theme-color);
}
/* Thumbnail Gallery Styling */
.thumbnail-row {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: flex-start;
}

.thumbnail-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.5; /* Dims the unselected images slightly */
    transition: all 0.3s ease;
    background: #050505; 
}

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

/* The actively selected thumbnail ties into your custom theme color! */
.thumbnail-img.active {
    opacity: 1;
    border-color: var(--theme-color); 
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}
/* =========================================
   9. MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 30px 20px 20px;
        gap: 20px;
    }

    .header-left { display: none; }

    .header-right {
        text-align: center;
        flex-direction: column;
        gap: 15px;
    }

    .logo-icon { max-width: 60px; }
    .theme-customizer { margin-bottom: 10px; }
    .cta-container h2 { font-size: 1.4rem; }
    
    .collections-container {
        padding: 10px 20px;
        gap: 30px;
    }

    .collection-card {
        width: 100%;
        max-width: 350px; 
    }

    .image-wrapper { height: 350px; }
    .card-text h2 { letter-spacing: 3px; }
    
    #card-neon { border-color: rgba(255, 0, 255, 0.4); }
    #card-neon h2 { color: #ffffff; text-shadow: 0 0 10px rgba(255, 0, 255, 0.6); }

    #card-feline { border-color: rgba(255, 140, 0, 0.4); }
    #card-feline h2 { color: #ffffff; text-shadow: 0 0 10px rgba(255, 140, 0, 0.6); }

    #card-aviary { border-color: rgba(0, 200, 100, 0.4); }
    #card-aviary h2 { color: #ffffff; text-shadow: 0 0 10px rgba(0, 200, 100, 0.6); }
    
    .product-grid { padding: 20px; }

    /* Product Page Mobile Overrides */
    .product-page-container {
        flex-direction: column;
        padding: 0 20px;
        gap: 30px;
    }
    
    .product-image-box.large-view { height: 400px; }
    .product-title { font-size: 2rem; }
}
/* =========================================
   10. LEGAL PAGES (Privacy & Terms)
   ========================================= */
.legal-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 40px;
    line-height: 1.8;
    position: relative;
    z-index: 10;
}

.legal-container h1 {
    font-size: 3rem;
    color: var(--theme-color); /* Ties into customizer! */
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 40px;
    border-bottom: 1px solid #222;
    padding-bottom: 20px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.legal-section p {
    color: #aaa;
    margin-bottom: 15px;
}

.legal-section a {
    color: var(--theme-color);
    text-decoration: none;
    font-weight: bold;
}

.legal-section a:hover {
    text-decoration: underline;
}
/* =========================================
   11. SHIPPING AND RETURNS ACCORDION
   ========================================= */
.product-accordion {
    margin-top: 30px;
    border-top: 1px solid #222;
}

.accordion-item {
    border-bottom: 1px solid #222;
}

.accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    padding: 15px 0;
    text-align: left;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.accordion-header:hover { color: var(--theme-color); }

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: #888;
    font-size: 0.9rem;
    line-height: 1.6;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    padding-bottom: 20px;
}

/* Layout Switch: Grid to Carousel */
.product-slider-container {
    width: 100%;
    overflow-x: auto;
    padding: 80px 0;
    scrollbar-width: none; /* Firefox */
    -webkit-overflow-scrolling: touch;
}

.product-slider-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.product-slider-track {
    display: flex;
    gap: 50px;
    padding-left: 5%;
    width: max-content; /* Critical: row expands as Fourthwall API adds products */
}

.product-item {
    width: 380px; /* Maintains size for the hover-zoom effects */
    flex-shrink: 0;
}

/* Inconspicuous Collections Footer */
.browse-others-section {
    margin-top: 100px;
    margin-bottom: 60px;
    text-align: center;
    border-top: 1px solid #1a1a1a;
    padding-top: 50px;
}

.browse-title {
    font-size: 0.75rem;
    letter-spacing: 6px;
    color: #444; /* Dim color as requested */
    margin-bottom: 40px;
}

.mini-collection-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.mini-card {
    position: relative;
    width: 220px;
    height: 120px;
    overflow: hidden;
    text-decoration: none;
    filter: grayscale(100%) opacity(0.4); /* Inconspicuous default */
    border: 1px solid #222;
    transition: all 0.6s ease;
}

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

.mini-card span {
    position: absolute;
    bottom: 12px;
    left: 15px;
    color: #fff;
    font-size: 0.65rem;
    letter-spacing: 3px;
    font-weight: bold;
}

.mini-card:hover {
    filter: grayscale(0%) opacity(1);
    border-color: var(--theme-color);
    box-shadow: 0 0 20px var(--theme-color);
}

/* --- NEW COLLECTION SLIDER LOGIC --- */

/* 1. The main container that holds the track and arrows */
.product-slider-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center; 
    padding: 60px 0;
}

/* 2. The scrollable track */
.product-slider-track {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Hide scrollbar Firefox */
    padding: 20px 40px;
    width: auto;
    max-width: 90%;
    justify-content: center; /* Centers items when there are only 3 */
    position: relative;
    z-index: 10;
}

.product-slider-track::-webkit-scrollbar { display: none; } /* Hide scrollbar Chrome */

/* 3. Forces the cards to stay solid and block the ripple effect */
.product-item {
    background: #000 !important; /* Solid black to block background ripples */
    flex-shrink: 0;
    width: 380px; 
    position: relative;
    z-index: 15;
}

/* 4. Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.85);
    color: #fff;
    border: 1px solid var(--theme-color);
    width: 50px; height: 50px;
    border-radius: 50%;
    z-index: 100;
    display: none; /* JS will show these if you have more than 3 products */
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.slider-arrow:hover {
    background: var(--theme-color);
    color: #000;
}

.prev-product-arrow { left: 30px; }
.next-product-arrow { right: 30px; }

/* 5. Inconspicuous "Other Collections" Footer */
.browse-others-section {
    margin-top: 100px;
    text-align: center;
    border-top: 1px solid #1a1a1a;
    padding-top: 50px;
}

.browse-title {
    font-size: 0.7rem;
    letter-spacing: 5px;
    color: #444;
}

.mini-collection-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
}

.mini-card {
    position: relative;
    /* Flipped from 220x120 (landscape) to 180x260 (portrait) */
    width: 180px; 
    height: 260px; 
    overflow: hidden;
    text-decoration: none;
    filter: grayscale(100%) opacity(0.4);
    border: 1px solid #222;
    transition: all 0.6s ease;
}

.mini-card img {
    width: 100%;
    height: 100%;
    /* 'cover' ensures the bird/cat fills the portrait frame */
    object-fit: cover; 
}

.browse-title {
    font-size: 0.75rem;
    letter-spacing: 6px;
    /* This now pulls from your 🎨 Customize menu automatically */
    color: var(--theme-color); 
    opacity: 0.8;
    margin-bottom: 40px;
}

/* =========================================
   CART DRAWER & OVERLAY (The Bones)
   ========================================= */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: none; /* Controlled by JS */
    z-index: 1999;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px; /* Start hidden off-screen */
    width: 450px;
    max-width: 100%;
    height: 100%;
    background: #000;
    border-left: 2px solid var(--theme-color);
    z-index: 2000;
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    padding: 40px;
}

/* This class is added by JavaScript to slide the cart in */
.cart-drawer.open {
    right: 0 !important;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.cart-header h2 {
    font-family: 'Fjalla One', sans-serif;
    letter-spacing: 2px;
    color: var(--theme-color);
}

.close-cart {
    background: transparent;
    border: 1px solid #333;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
   THE GATEKEEPER (LOPDP Polish)
   ========================================= */
.cart-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #222;
}

.consent-container {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.consent-container input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--theme-color);
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.consent-container input[type="checkbox"]:checked {
    background: var(--theme-color);
}

.consent-container label {
    font-size: 11px;
    line-height: 1.5;
    color: #888;
}

.checkout-btn {
    width: 100%;
    padding: 18px;
    background: transparent;
    border: 2px solid var(--theme-color);
    color: var(--theme-color);
    font-family: 'Fjalla One', sans-serif;
    letter-spacing: 2px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.checkout-btn:disabled {
    border-color: #333;
    color: #444;
    cursor: not-allowed;
    opacity: 0.5;
}

.checkout-btn:not(:disabled):hover {
    background: var(--theme-color);
    color: #000;
}
/* Individual Cart Item Layout */
.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #1a1a1a;
    position: relative;
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: #080808;
    border: 1px solid #222;
    border-radius: 8px;
}

.item-details h4 {
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.item-price {
    color: var(--theme-color);
    font-weight: bold;
    font-size: 0.9rem;
}

/* Quantity & Remove Styling */
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.quantity-controls button {
    background: transparent;
    border: 1px solid #333;
    color: #fff;
    width: 28px;
    height: 28px;
    cursor: pointer;
    transition: all 0.2s;
}

.quantity-controls button:hover {
    border-color: var(--theme-color);
    color: var(--theme-color);
}

.remove-item {
    position: absolute;
    right: 0;
    top: 20px;
    background: transparent;
    border: none;
    color: #444;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.remove-item:hover {
    color: #ff4444; /* Alert color for removal */
}

/* Subtotal Polish */
.cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-family: 'Fjalla One', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 25px;
    color: #fff;
    border-top: 1px solid #222;
    padding-top: 20px;
}
.neon-toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #ff00ff; /* Neon Pink error */
    border: 1px solid #ff00ff;
    padding: 15px 30px;
    font-family: 'Fjalla One', sans-serif;
    letter-spacing: 2px;
    z-index: 9999;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.4);
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.neon-toast.show {
    bottom: 40px;
}
/* =========================================
   INLINE COMING SOON BADGE (Under Text)
   ========================================= */
.inline-badge {
    display: inline-block;
    margin-top: 15px; /* Adds breathing room below the subtitle */
    color: var(--theme-color); /* Syncs with your color picker */
    padding: 4px 10px;
    font-size: 0.65rem; /* Smaller, more discreet size */
    font-weight: bold;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: 1px solid var(--theme-color);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

/* Optional: Make it glow a bit more when they hover over the card */
.collection-card:hover .inline-badge {
    box-shadow: 0 0 10px var(--theme-color);
    background: rgba(0, 0, 0, 0.8);
}

/* THE VAULT MODAL */
.vault-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 90%;
    max-width: 450px;
    background-color: #050505;
    border: 1px solid #333;
    z-index: 10000;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
}

.vault-modal.open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.vault-content {
    padding-top: 20px;
}
.vault-harvest-drawer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    background: #080808;
    margin-top: 15px;
    border-radius: 4px;
    text-align: left;
}

.vault-harvest-drawer.open {
    max-height: 1000px; /* Large enough to fit content */
    transition: max-height 0.8s ease-in-out;
    padding: 15px 10px;
    border: 1px solid #222;
}

.harvest-label { font-size: 10px; color: #666; margin-bottom: 8px; letter-spacing: 1px; }
.harvest-size-select, .harvest-email { 
    width: 100%; background: #000; border: 1px solid #333; color: #fff; 
    padding: 8px; margin-bottom: 12px; font-size: 0.8rem;
}
.consent-container.mini { font-size: 10px; margin-bottom: 15px; }
.vault-harvest-drawer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background: #050505; /* Slightly darker than the card */
    margin-top: 10px;
    border-radius: 4px;
}

.vault-harvest-drawer.open {
    max-height: 500px;
    padding: 20px;
    border-top: 1px solid #222;
}

.harvest-submit-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    filter: grayscale(1);
}