:root { --charcoal: #121212; --border: #eee; }
body { font-family: 'Inter', sans-serif; margin: 0; background: #fff; color: var(--charcoal); }

/* Nav */
.main-nav { display: flex; justify-content: space-between; padding: 20px 5%; border-bottom: 1px solid var(--border); sticky top: 0; background: white; z-index: 100; }
.logo { font-weight: 800; letter-spacing: 5px; }
.menu-btn, .cart-icon { cursor: pointer; background: none; border: none; font-weight: 600; font-size: 0.8rem; }

/* Panels */
.panel { position: fixed; top: 0; height: 100%; width: 320px; background: white; z-index: 2000; transition: 0.4s ease; padding: 40px; box-shadow: 0 0 50px rgba(0,0,0,0.1); }
.side-left { left: -400px; }
.side-right { right: -400px; }
.panel.active { left: 0; right: 0; }
.side-right.active { right: 0; left: auto; }

.panel-header { display: flex; justify-content: space-between; margin-bottom: 30px; }
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.2); display: none; z-index: 1500; }
.overlay.active { display: block; }

/* Grid */
.container { max-width: 1200px; margin: 40px auto; padding: 0 5%; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.img-placeholder { background: #f9f9f9; aspect-ratio: 3/4; margin-bottom: 15px; }

/* Elements */
.add-btn, .checkout-btn { width: 100%; background: var(--charcoal); color: white; border: none; padding: 15px; cursor: pointer; letter-spacing: 2px; font-size: 0.7rem; }
.category-list { list-style: none; padding: 0; }
.category-list li { margin-bottom: 20px; }
.category-list a { text-decoration: none; color: #666; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; }

.checkout-container { max-width: 500px; text-align: left; }
.checkout-form input, .checkout-form textarea { width: 100%; padding: 15px; margin-bottom: 15px; border: 1px solid var(--border); }

/* 1. Global Variables - Luxury Palette */
:root {
    --gold: #D4AF37;
    --gold-hover: #C5A059;
    --charcoal: #121212;
    --off-white: #FAF9F6;
    --border-color: #E8E8E8;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--off-white);
    color: var(--charcoal);
    overflow-x: hidden;
}

/* 2. Navigation with Blur Effect */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 5%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px); /* Modern frosted glass look */
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-weight: 800;
    letter-spacing: 7px;
    font-size: 1.2rem;
    color: var(--charcoal);
    text-transform: uppercase;
    animation: fadeInDown 0.8s ease;
}

/* --- Desktop (Default) --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
}

/* --- Tablet (Under 1024px) --- */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr); /* Drop to 3 columns */
        gap: 15px;
    }
}

/* --- Mobile (Under 768px) --- */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns is perfect for mobile shopping */
        gap: 10px;
        padding: 10px;
    }

    .category-hero {
        flex-direction: column; /* Stack MEN, WOMEN, ACCESSORIES vertically */
    }

    .cat-card {
        height: 200px; /* Shorter cards on mobile so they don't take up the whole screen */
    }

    .logo {
        font-size: 1.2rem; /* Shrink logo slightly so it doesn't crowd the nav */
    }
}
.card {
    background: white;
    padding: 15px;
    transition: var(--transition);
    border: 1px solid transparent;
    animation: fadeInUp 0.6s ease backwards;
}

/* Staggered animation for cards */
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: var(--gold);
}

.img-placeholder {
    background: #f0f0f0;
    aspect-ratio: 3/4;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
}

/* Shimmer animation for loading effect */
.img-placeholder::after {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

/* 4. Buttons with Slide Effect */
.add-btn {
    width: 100%;
    background: var(--charcoal);
    color: white;
    border: none;
    padding: 18px;
    font-size: 0.7rem;
    letter-spacing: 3px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition);
}

.add-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 0; height: 100%;
    background: var(--gold);
    transition: var(--transition);
    z-index: -1;
}

.add-btn:hover::before {
    width: 100%;
}

.add-btn:hover {
    color: white;
}

/* 5. Panels (Side Menus) */
.panel {
    box-shadow: 0 0 100px rgba(0,0,0,0.2);
    border-left: 1px solid var(--gold); /* Gold accent line */
}

/* Keyframes for Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Checkout Page Specifics */
.checkout-container h2 {
    font-weight: 300;
    letter-spacing: 5px;
    margin-bottom: 40px;
    border-left: 4px solid var(--gold);
    padding-left: 15px;
}

/* Footer Styling */
.site-footer {
    background-color: white;
    padding: 80px 5% 40px 5%;
    border-top: 1px solid var(--border-color);
    margin-top: 100px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-brand p {
    color: #888;
    font-size: 0.9rem;
    margin-top: 15px;
    max-width: 300px;
}

.footer-links h4, .footer-social h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    font-weight: 800;
}

.footer-links a {
    display: block;
    text-decoration: none;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: var(--charcoal);
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--gold);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: #aaa;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

/* Icons sizing */
[data-lucide] {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-brand p { margin: 15px auto; }
    .social-icons { justify-content: center; }
}

/* About Page Specific Styles */
.about-page {
    padding-top: 50px;
    animation: fadeIn 1s ease;
}

.about-hero {
    text-align: center;
    padding: 100px 5%;
}

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 12px;
    line-height: 1.2;
    margin-top: 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 5%;
    align-items: center;
}

.about-text-block h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    color: var(--gold);
}

.about-text-block p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 40px;
}

.premium-placeholder {
    background: #1a1a1a; /* Dark sleek box */
    height: 500px;
    border: 1px solid var(--gold);
}

.values-section {
    display: flex;
    justify-content: space-around;
    padding: 100px 5%;
    background: var(--off-white);
    text-align: center;
}

.value-card h4 {
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.value-card p {
    color: #888;
    font-size: 0.8rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.category-hero-sleek {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px; /* Much smaller and more refined */
    background: #fff;
    border-bottom: 1px solid #eee;
    margin: 20px 0;
}

.cat-item {
    flex: 1;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 20px;
}

.cat-item h2 {
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 6px; /* Spaced out letters look more premium */
    margin: 0;
    color: #1a1a1a;
}

.cat-item span {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: #888;
    text-transform: uppercase;
    display: inline-block;
    margin-top: 8px;
    position: relative;
}

/* The sleek underline animation */
.cat-item span::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #000;
    transition: width 0.3s ease;
}

.cat-item:hover h2 {
    letter-spacing: 8px; /* Subtle expansion on hover */
}

.cat-item:hover span::after {
    width: 100%;
}

.cat-divider {
    width: 1px;
    height: 60px;
    background-color: #ddd;
}

/* --- MOBILE FIX --- */
@media (max-width: 768px) {
    .category-hero-sleek {
        height: 120px;
    }
    
    .cat-item h2 {
        font-size: 1.1rem;
        letter-spacing: 4px;
    }
    
    .cat-divider {
        height: 40px;
    }
}
    .cat-card {
        height: 100px; /* Each gets half the mobile hero space */
    }

    .cat-overlay h2 {
        font-size: 1.8rem;
        letter-spacing: 5px;
    }

    .shop-btn {
        opacity: 1; /* Always visible on mobile since there is no hover */
        padding: 8px 20px;
    }

    

.cat-card {
    flex: 1;
    position: relative;
    background: #f0f0f0; /* Replace with background-image: url() later */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    transition: flex 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Hover effect where the hovered card gets wider */
.cat-card:hover {
    flex: 1.2;
}

.cat-overlay {
    text-align: center;
    z-index: 2;
    transition: var(--transition);
}

.cat-card h2 {
    font-size: 1.5rem;
    letter-spacing: 5px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--charcoal);
}

.cat-card span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    opacity: 0;
    transform: translateY(10px);
    display: block;
    transition: var(--transition);
}

.cat-card:hover span {
    opacity: 1;
    transform: translateY(0);
}



/* Section Title */
.section-title {
    text-align: center;
    margin: 40px 0;
}

.section-title h2 {
    font-size: 1.2rem;
    letter-spacing: 5px;
    font-weight: 300;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 1px;
    background: var(--gold);
}

/* Advanced Card Styling */
.img-container {
    position: relative; /* Essential for the badge to sit on top */
    overflow: hidden;
    background: #f7f7f7;
    aspect-ratio: 3/4;
}

.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    padding: 5px 12px;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 100; /* High z-index ensures it's always on top */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.quick-view {
    position: absolute;
    bottom: -50px; /* Hidden initially */
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.9);
    border: none;
    padding: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: 0.3s ease;
    cursor: pointer;
}

.card:hover .quick-view {
    bottom: 0;
}

.product-info {
    padding: 20px 0;
    text-align: left;
}

.brand-name {
    font-size: 0.6rem;
    color: #999;
    letter-spacing: 2px;
    font-weight: 700;
}

.product-info h3 {
    font-size: 0.9rem;
    font-weight: 500;
    margin: 5px 0;
}

.price-row {
    margin-bottom: 15px;
}

.current-price {
    font-weight: 800;
    font-size: 1rem;
    margin-right: 10px;
}

.old-price {
    text-decoration: line-through;
    color: #bbb;
    font-size: 0.8rem;
}



/* Active State Highlights */
.cat-card.active {
    flex: 1.5; /* Makes the active section wider than the others */
    border: 2px solid var(--gold);
    background: #fff;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.cat-card.active h2 {
    color: var(--gold);
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Hide the "Currently Viewing" tag unless active */
.view-tag {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    display: none; 
}

.cat-card.active .view-tag {
    display: block;
    margin-top: 10px;
    animation: fadeIn 0.5s ease;
}

/* Dim the non-active cards slightly to make the active one pop */
.category-hero:has(.active) .cat-card:not(.active) {
    opacity: 0.6;
    filter: grayscale(0.5);
}

.container {
    min-height: 60vh; /* Ensures the product grid takes up space */
    padding-bottom: 50px;
}

.site-footer {
    clear: both; /* This tells the footer to stay below everything else */
    width: 100%;
    margin-top: 50px;
}

/* Layout for Checkout */
.checkout-container {
    max-width: 1000px;
    margin: 60px auto;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 80px;
    padding: 0 5%;
}

.checkout-form h2, .checkout-summary h2 {
    font-size: 0.8rem;
    letter-spacing: 3px;
    margin-bottom: 30px;
    border-left: 3px solid var(--gold);
    padding-left: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.total-price {
    display: flex;
    justify-content: space-between;
    font-weight: 800;
    font-size: 1.2rem;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .checkout-container { grid-template-columns: 1fr; }
}

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 columns for laptop */
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

/* --- MOBILE FIX --- */
@media (max-width: 768px) {
    .product-detail-container {
        grid-template-columns: 1fr; /* Stacks image on top of text */
        gap: 20px;
        margin: 10px auto;
        padding: 15px;
    }

    .product-image-section img {
        border-radius: 12px; /* Makes the big image look premium on mobile */
    }

    .product-info-section {
        text-align: center; /* Center text on mobile for better balance */
    }

    /* Make buttons and size pickers full width for thumbs */
    .size-picker {
        justify-content: center;
        margin-bottom: 20px;
    }

    .add-to-bag-btn {
        width: 100%;
        padding: 18px;
    }
}

/* This is the class our JS adds when clicked */
.active-variant {
    border: 2px solid var(--gold) !important;
    background: #fffdf5;
    font-weight: 700;
}

.selector-group {
    margin: 30px 0;
}

.options {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.color-btn, .size-btn {
    padding: 12px 20px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: 0.2s;
}

.active-variant {
    border: 2px solid var(--gold) !important;
    background: #fffdf5;
}

.add-btn-large {
    width: 100%;
    padding: 20px;
    background: var(--charcoal);
    color: white;
    border: none;
    font-weight: 800;
    letter-spacing: 3px;
    cursor: pointer;
    margin-top: 20px;
}

.add-btn-large:hover {
    background: #000;
}

.category-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.9); /* Semi-transparent white */
    color: #1a1a1a;
    padding: 4px 10px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    pointer-events: none; /* Allows clicking through the tag to the product */
}

/* Optional: Give different categories different background colors */
.category-tag:contains('men') { border-left: 3px solid #000; }

/* This applies to the laptop view */
.checkout-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
}

/* Fix the Shipping Section (Left side) */
.shipping-info-container {
    flex: 1; /* Takes up the left side */
    display: flex;
    flex-direction: column; /* Stacks inputs vertically */
    gap: 15px;
}

.shipping-info-container h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

/* Fix the Order Summary (Right side) */
.order-summary-container {
    width: 380px; /* Fixed width for the summary box */
    background: #fdfdfd;
    padding: 25px;
    border: 1px solid #eee;
    border-radius: 8px;
}

/* Ensure inputs take full width of their container */
.shipping-info-container input,
.shipping-info-container textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box; /* Important: keeps padding inside the width */
}

.shipping-info-container textarea {
    height: 100px;
    resize: none;
}

@media (max-width: 768px) {
    .checkout-layout {
        flex-direction: column; /* Stacks them on mobile */
        margin: 10px auto;
        padding: 15px;
    }

    .order-summary-container {
        width: 100%; /* Full width on mobile */
        box-sizing: border-box;
    }

    .shipping-info-container {
        width: 100%;
    }
}
.remove-item-btn {
    background: none;
    border: none;
    color: #ff4d4d; /* Red color for removal */
    font-size: 0.75rem;
    cursor: pointer;
    padding: 0;
    margin-top: 5px;
    text-decoration: underline;
}

.remove-item-btn:hover {
    color: #cc0000;
}

.checkout-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.video-slider-section {
    padding: 40px 20px;
    background: #fff;
}

.video-container {
    display: flex;
    gap: 15px;
    overflow-x: auto; /* Enables horizontal scroll */
    scroll-snap-type: x mandatory; /* Makes it "snap" into place */
    padding-bottom: 20px;
    scrollbar-width: none; /* Hides scrollbar on Firefox */
}

.video-container::-webkit-scrollbar {
    display: none; /* Hides scrollbar on Chrome/Safari */
}

.video-card {
    min-width: calc(25% - 12px); /* Displays exactly 4 videos (minus gap) */
    aspect-ratio: 9 / 16; /* Vertical Reel format */
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    scroll-snap-align: start;
    background: #000;
}

.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover video {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* Responsive: 2 videos on mobile */
@media (max-width: 768px) {
    .video-card {
        min-width: calc(50% - 8px);
    }
}

.suggestions-section {
    padding: 60px 20px;
    background: #fafafa; /* Slight off-white to separate it from main content */
}

.suggestions-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    scrollbar-width: none;
}

.suggestions-container::-webkit-scrollbar {
    display: none;
}

@media (max-width: 768px) {
    .suggestion-card {
        /* This ensures only 2 suggestions show at a time, 
           making them large enough to see */
        min-width: calc(60% - 15px); 
    }
    
   .suggestions-container {
    display: flex;
    gap: 20px;
    align-items: flex-start; /* CRITICAL: Prevents cards from stretching vertically */
    overflow-x: auto;
    padding-bottom: 20px;
}
}

.suggestion-img-wrapper {
    /* 1. Use display: grid to control the internal space */
    display: grid; 
    
    /* 2. Set the fixed ratio (3:4 is standard for clothing) */
    aspect-ratio: 3 / 4; 
    
    /* 3. Ensure it doesn't try to be any other height */
    width: 100%;
    height: auto;
    
    border-radius: 15px; 
    overflow: hidden;
    margin-bottom: 12px;
    background-color: #f0f0f0;
}

.suggestion-img-wrapper img {
    /* 4. Force the image to span the entire grid area */
    width: 100%;
    height: 100%;
    
    /* 5. The most important line: crops the photo to fit the box */
    object-fit: cover; 
    
    /* 6. Alignment fix */
    display: block;
    object-position: center; 
}
.suggestion-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2); /* Darkens slightly on hover */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.view-text {
    color: white;
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 2px;
    border: 1px solid white;
    padding: 8px 16px;
}

/* 1. The Main Container - Using Grid to force 4 equal columns */
.suggestions-container {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important; /* Forces 4 equal widths */
    gap: 20px !important;
    padding: 20px 0 !important;
    align-items: start !important; /* Prevents cards from stretching unevenly */
    width: 100% !important;
}

/* 2. The Card Wrapper */
.suggestion-card {
    display: flex !important;
    flex-direction: column !important;
    text-decoration: none !important;
    color: inherit !important;
    width: 100% !important;
}

/* 3. The Image Frame - The "Master Mold" */
.suggestion-img-wrapper {
    position: relative !important;
    width: 100% !important;
    /* This creates a perfect 3:4 portrait box */
    aspect-ratio: 3 / 4 !important; 
    border-radius: 15px !important;
    overflow: hidden !important;
    background-color: #f0f0f0 !important;
    margin-bottom: 12px !important;
}

/* 4. The Image - Forced to fill the frame */
.suggestion-img-wrapper img {
    width: 100% !important;
    height: 100% !important;
    /* CRITICAL: This crops the photo to fit the box without distorting */
    object-fit: cover !important; 
    object-position: center !important;
    transition: transform 0.5s ease !important;
    display: block !important;
}

/* 5. The Hover Effect - Rebuilt for the Grid */
.suggestion-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.3) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    z-index: 2 !important;
}

.suggestion-card:hover .suggestion-overlay {
    opacity: 1 !important;
}

.suggestion-card:hover img {
    transform: scale(1.1) !important;
}

.view-text {
    color: white !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    letter-spacing: 1px !important;
    border: 1px solid white !important;
    padding: 8px 16px !important;
    text-transform: uppercase !important;
}

/* 6. Product Info - Alignment */
.suggestion-info {
    text-align: center !important;
}

.s-name {
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    margin: 5px 0 2px 0 !important;
    text-transform: uppercase !important;
}

.s-price {
    font-size: 0.85rem !important;
    color: #666 !important;
}

/* 7. Mobile View (2 columns) */
@media (max-width: 768px) {
    .suggestions-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}
/* Mobile: 2 items visible */
@media (max-width: 768px) {
    .suggestion-card {
        min-width: calc(50% - 10px);
    }
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd; /* Thin, elegant border */
    border-radius: 50%; /* Perfect circle */
    color: #333;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon i {
    width: 18px; /* Small and refined icon size */
    height: 18px;
}

/* Hover Effect: Inverse colors */
.social-icon:hover {
    background-color: #000;
    color: #fff;
    border-color: #000;
    transform: translateY(-3px); /* Subtle lift */
}

.social-icon svg {
    width: 20px !important;
    height: 20px !important;
    display: block; /* Ensures it takes up space */
    stroke-width: 2; /* Makes the lines of the icon slightly thicker and sleeker */
}


@media (max-width: 768px) {
    /* 1. Force the grid to have exactly 2 columns */
    .product-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important; /* Forces 2 equal columns */
        gap: 12px !important;
        padding: 10px !important;
        align-items: stretch !important; /* Keeps cards same height in a row */
        width: 100% !important;
    }

    /* 2. Remove any width or flex rules that might force 1-column */
    .product-card {
        width: auto !important; 
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        background: #fff;
    }

    /* 3. Ensure the text area expands to push the button down */
    .product-info {
        flex-grow: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 8px !important;
    }

    /* 4. Reserve space for the title to fix the "crooked" buttons */
    .product-name {
        font-size: 0.8rem !important;
        line-height: 1.2 !important;
        min-height: 2.4em !important; /* Space for 2 lines */
        margin-bottom: 5px !important;
    }

    /* 5. Anchor the button to the bottom */
    .quick-add-btn {
        margin-top: auto !important; 
        width: 100% !important;
        padding: 12px 0 !important;
        border: none !important;
    }
}

/* Make the badge stand out */
.sold-out-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 3px;
}

/* Gray out the product slightly */
.out-of-stock-fade img {
    filter: grayscale(80%);
    opacity: 0.6;
}

/* Style the disabled button */
.sold-out-btn {
    background-color: #ccc;
    color: #666;
    border: none;
    padding: 12px;
    width: 100%;
    cursor: not-allowed;
    font-weight: bold;
    text-transform: uppercase;
}

.out-of-stock-fade {
    opacity: 0.7;
}

.sold-out-badge {
    background: red;
    color: white;
    padding: 5px;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 12px;
}

/* 1. RESTORE 4-COLUMN GRID */
.product-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important; 
    gap: 20px !important;
    padding: 20px !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}

/* 2. RESTORE CARD & HOVER */
.product-card {
    position: relative !important;
    background: #fff !important;
    border: 1px solid #eee !important;
    display: flex !important;
    flex-direction: column !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    overflow: visible !important;
}

.product-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    z-index: 10 !important;
}

/* 3. RESTORE THUMBNAILS (Images) */
.product-img-wrapper {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 3/4 !important;
    background: #f4f4f4 !important;
    overflow: hidden !important;
}

.product-img-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* 4. RESTORE CATEGORY TAGS */
.category-tag {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    background: #fff !important;
    color: #000 !important;
    padding: 5px 10px !important;
    font-size: 10px !important;
    font-weight: bold !important;
    border: 1px solid #000 !important;
    z-index: 15 !important;
    text-transform: uppercase !important;
    pointer-events: none !important; /* Clicks go through the tag to the link */
}

/* 5. FIX CLICKABILITY (Link & Button) */
.product-info {
    padding: 15px !important;
    position: relative !important;
    z-index: 20 !important; /* Forces buttons to the top layer */
}

.quick-add-btn {
    width: 100% !important;
    background: #000 !important;
    color: #fff !important;
    border: none !important;
    padding: 12px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    margin-top: 10px !important;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

.product-info {
    position: relative;
    z-index: 10;
}

.quick-add-btn, .size-dropdown {
    position: relative;
    z-index: 20; /* Higher than the card link */
}

/* Force buttons to be on the very top layer */
.product-info, .quick-add-btn, .size-dropdown {
    position: relative !important;
    z-index: 999 !important;
    pointer-events: auto !important;
}

/* Ensure the category tag doesn't block clicks */
.category-tag {
    pointer-events: none !important;
}

/* Ensure the button is on top and clickable */
.product-info {
    position: relative;
    z-index: 10;
}

.quick-add-btn, .size-dropdown {
    position: relative;
    z-index: 20; /* Higher than the product link */
    cursor: pointer;
}

/* Ensure the card link covers the card but stays behind the button */
.product-card a {
    position: relative;
    z-index: 1;
}

.product-link {
    text-decoration: none;
    display: block; /* Makes the link fill the top half of the card */
    position: relative;
    z-index: 1;
}

.selection-area {
    position: relative;
    z-index: 10; /* Ensures buttons are "above" the link so they can be clicked */
    padding: 10px;
}

.product-card {
    cursor: pointer;
}

/* 1. Ensure the Card allows absolute elements to show */
.product-card {
    position: relative !important;
    overflow: visible !important; /* This prevents the tag from being cut off */
}

/* 2. The Image Wrapper must also be relative */
.product-img-wrapper {
    position: relative !important;
    z-index: 1;
    overflow: hidden; /* Keeps the image zoom contained */
}

/* 3. The Category Tag Styling */
.category-tag {
    position: absolute !important;
    top: 15px !important;
    left: 15px !important;
    background-color: #ffffff !important;
    color: #000000 !important;
    padding: 6px 12px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border: 1px solid #000000 !important;
    z-index: 50 !important; /* Forces it above the image and link */
    pointer-events: none !important; /* Clicks go through to the product page */
    box-shadow: 2px 2px 0px rgba(0,0,0,1); /* Adds a premium sharp shadow */
}

.founders-section {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 24px;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.founders-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns side-by-side */
    gap: 40px;
}

.founder-img {
    width: 100%;
     /* Keeps images perfectly square */
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.founder-name {
    font-size: 18px;
    margin: 10px 0 5px 0;
}

.founder-role {
    color: #666;
    font-size: 14px;
    font-style: italic;
}

/* Make it responsive for mobile */
@media (max-width: 768px) {
    .founders-grid {
        grid-template-columns: 1fr; /* Stack vertically on small screens */
    }
}

.about-image {
    max-width: 100%; /* The image will never be wider than its parent div */
    height: auto;
}

/* Then control the size by changing the parent div */
.about-image-block {
    width: 400px; 
}

.founder-img {
    width: 100% !important;
    height: 450px !important; /* Forces both images to have the exact same height */
    object-fit: cover !important; /* Cropped perfectly without stretching or distorting */
    object-position: top center !important; /* Ensures the focus remains on the faces */
    border-radius: 4px;
    background-color: #f9f9f9;
}