/*
Theme Name: Kalitho
Theme URI: https://kalitho.com
Author: Antigravity
Description: Custom WordPress theme for Kalitho fashion brand.
Version: 1.1.0
Text Domain: kalitho
*/

/* Reset & Variables (Extracted from HTML) */
:root {
    --primary-black: #000000 !important;
    --soft-black: #1a1a1a;
    --white: #ffffff;
    --bg-light: #fafafa;
    --bg-gray: #f5f5f5;
    --accent-orange: #ff6b35;
    --accent-blue: #4a90e2;
    --accent-green: #00c896;
    --text-primary: #0a0a0a;
    --text-secondary: #666666;
    --text-light: #999999;
    --border-color: #e5e5e5;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);

    /* Typography System */
    --font-logo: 'Maragsa', serif;
    --font-editorial: 'Playfair Display', serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-ui: 'Satoshi', sans-serif;

    /* Legacy/PDP Variables */
    --pdp-font-sans: var(--font-body);
    --font-price: 'Archivo Narrow', sans-serif;
}

svg {
    stroke-width: 1.3px;
    color: black;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    background-color: var(--white);
    color: var(--text-primary);
    overflow-x: hidden;
    margin-top: 66.4px;
}

/* Base Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

/* Editorial Typography Helpers */
.editorial-h1 {
    font-family: var(--font-editorial);
    font-size: 64px;
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.editorial-h2 {
    font-family: var(--font-editorial);
    font-size: 48px;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.pull-quote {
    font-family: var(--font-editorial);
    font-size: 36px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* UI / Commerce */
.price,
.amount {
    font-family: var(--font-price);
    font-size: .9375rem;
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: .02em;
}

.btn,
.button,
.cta-button,
input[type="submit"],
button {
    font-family: var(--font-ui) !important;
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.navbar,
.nav-link,
.menu-item,
.nav-container {
    font-family: var(--font-ui) !important;
    font-size: 14px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 0.08em;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.8rem 2rem;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Fix for content being hidden behind fixed navbar on non-home pages */
/* Fix for content being hidden behind fixed navbar on non-home pages */


/* Specific padding fixes removed in favor of global body margin */



.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .nav-container {
    justify-content: space-between;
}



.logo {
    cursor: pointer;
    transition: none;
    position: static;
    transform: none;
    height: 40px;
    display: flex;
    align-items: center;
}

.logo img,
.custom-logo {
    height: 100%;
    width: auto;
    object-fit: contain;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo a,
.custom-logo-link {
    display: flex;
    height: 100%;
    align-items: center;
}

.navbar.scrolled .logo {
    height: 40px;
    position: static;
    transform: none;
}

.logo:hover {
    transform: translateY(-2px);
}

.navbar.scrolled .logo:hover {
    transform: translateY(-2px);
}

.search-bar {
    flex: 1;
    max-width: 500px;
    position: relative;
    opacity: 1;
    visibility: visible;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 auto;
    /* Centering attempt */
}

.navbar.scrolled .search-bar {
    opacity: 1;
    visibility: visible;
}

.search-bar input {
    width: 100%;
    padding: 0.6rem 3rem 0.6rem 3rem;
    background: var(--bg-gray);
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary-black);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.search-bar input::placeholder {
    color: var(--text-light);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

.search-cancel-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    /* Ensure generic display flex for icon alignment */
    align-items: center;
    justify-content: center;
    z-index: 10;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.search-cancel-icon:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--primary-black);
}

.nav-actions {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .nav-actions {
    opacity: 1;
    visibility: visible;
}

.nav-icon {
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-primary);
    padding: 0.4rem;
    border-radius: 8px;
}

.nav-icon:hover {
    background: var(--bg-gray);
    transform: translateY(-1px);
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-black);
    color: var(--white);
    border-radius: 50%;
    width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 600;
}



/* Hide search toggle on desktop, show only on mobile */
#searchToggle {
    display: none;
}

/* Mobile Search Transformation */
@media (max-width: 768px) {
    body {
        margin-top: 48.6px;
    }

    .nav-actions {
        gap: 0.8rem;
    }

    .navbar {
        padding: 0.4rem 1rem !important;
    }

    .logo {
        height: 35px !important;
    }

    /* Default Mobile State */
    .search-bar {
        display: none;
    }

    #searchToggle {
        display: block;
    }

    /* Active Mobile Search State */
    .navbar.search-active .logo {
        display: none;
    }

    .navbar.search-active .nav-actions .nav-icon:not(#mobileSearchCancel) {
        display: none;
    }

    .navbar.search-active .search-bar {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .navbar.search-active .search-cancel-icon {
        display: flex !important;
    }

    .navbar.search-active .nav-container {
        justify-content: flex-start;
    }
}





/* Hero Slider */
.hero-slider {
    position: relative;
    height: 70vh;
    /* Request: 70% of display */
    min-height: 500px;
    width: 100%;
    overflow: hidden;
    /* margin-top removed for global body margin */
    background: #000;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s linear;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    /* Request: responsive and high quality */
    transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Subtle zoom effect on active slide */
.hero-slide.active .hero-image {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    /* Left align text for better readability on slider */
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 5%;
    color: var(--white);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out 0.3s;
}

.hero-slide.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

/* Hero CTA Button (Glassmorphism Style) */
.hero-slider .hero-cta {
    background: rgba(255, 255, 255, 0.25);
    /* backdrop-filter: blur(10px); Removed to ensure consistency during transitions */
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    font-size: 0.9rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-slider .hero-cta:hover {
    background: rgba(255, 255, 255, 0.35);
    /* Slightly brighter/more opaque on hover */
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.hero-slider .hero-cta i {
    transition: transform 0.3s ease;
}

.hero-slider .hero-cta:hover i {
    transform: translateX(4px);
}

.hero-title {
    font-family: var(--font-editorial);
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    /* Reduced from 1.5rem */
    color: var(--white);
    max-width: 800px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-highlight {
    color: var(--white);
    font-style: italic;
    font-weight: 400;
}

.hero-description {
    font-size: clamp(1rem, 1.2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    /* Reduced from 2.5rem */
    line-height: 1.6;
    max-width: 500px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-dots {
    display: none !important;
    /* User requested removal */
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    /* display: flex; */
    gap: 12px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
}

.hero-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 1px solid white;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: var(--white);
    transform: scale(1.2);
}

.hero-dot.active::after {
    opacity: 1;
    transform: scale(1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-slider {
        height: 60vh;
        /* Slightly smaller on mobile if needed, or keep 70vh */
        min-height: 400px;
        /* Fix gap on mobile (Navbar height ~56px) */
    }

    .hero-image {
        height: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-content {
        align-items: center;
        text-align: center;
        justify-content: flex-end;
        padding-bottom: 40px;
        /* Bring text lower */
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-overlay {
        /* Only cover below text content */
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 40%, transparent 70%);
    }

    .hero-slider .hero-cta {
        font-size: 0.8rem;
        padding: 0.6rem 1.5rem;
    }
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary-black);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-black);
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button.secondary {
    background: var(--white);
    color: var(--primary-black);
    border: 2px solid var(--border-color);
}

.cta-button.secondary:hover {
    border-color: var(--primary-black);
}

/* Section Styles */
.section {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--accent-orange);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 24px;
    /* Matches Section Heading (H2) */
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0;
    color: var(--primary-black);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-black);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    padding-top: 125%;
    background: var(--bg-gray);
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--white);
    color: var(--primary-black);
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: var(--shadow-sm);
}

.product-badge.new {
    background: var(--accent-orange);
    color: var(--white);
}

.product-badge.sale {
    background: var(--accent-green);
    color: var(--white);
}

.wishlist-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: var(--shadow-sm);
}

.wishlist-btn:hover {
    background: var(--primary-black);
    color: var(--white);
    transform: scale(1.1);
}

.quick-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.98) 0%, transparent 100%);
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.product-card:hover .quick-actions {
    transform: translateY(0);
    opacity: 1;
}

.quick-view-btn {
    width: 100%;
    padding: 0.75rem;
    background: var(--primary-black);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.quick-view-btn:hover {
    background: var(--soft-black);
}

.product-info {
    padding: 1.25rem;
}

.product-category {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.product-name,
.woocommerce-loop-product__title,
.product_title {
    font-family: var(--font-price);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.stars {
    color: #ffc107;
}

.product-price {
    font-family: var(--font-price);
    font-size: .9375rem;
    font-weight: 400;
    letter-spacing: .02em;
    color: #cf2929;
}

.product-price-old {
    font-family: var(--font-price);
    font-size: .9375rem;
    color: #999999;
    text-decoration: none;
    margin-left: 0.5rem;
    font-weight: 400;
    position: relative;
    display: inline-block;
}

.product-price-old::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: translateY(-50%);
}

.product-discount {
    color: var(--accent-green);
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

/* Collections Section */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.collection-card {
    position: relative;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.collection-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.collection-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.collection-card:hover .collection-image {
    transform: scale(1.08);
}

.collection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

.collection-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.collection-count {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.collection-btn {
    align-self: flex-start;
    padding: 0.7rem 1.5rem;
    background: var(--primary-black);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.collection-btn:hover {
    background: var(--soft-black);
    transform: translateX(4px);
}

/* Categories Section */
.categories-section {
    background: var(--bg-light);
    padding: 5rem 2rem;
    margin: 3rem 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.category-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-black);
    box-shadow: var(--shadow-md);
}

.category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.2rem;
    background: var(--bg-gray);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    background: var(--primary-black);
    color: var(--white);
    transform: scale(1.1);
}

.category-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.category-count {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Community Section */
.community-section {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--soft-black) 100%);
    color: var(--white);
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.community-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.community-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.community-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.community-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.email-form {
    display: flex;
    gap: 0.8rem;
    max-width: 550px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 14px;
    backdrop-filter: blur(10px);
}

.email-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    transition: all 0.3s ease;
}

.email-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.submit-btn {
    padding: 1rem 2rem;
    background: var(--white);
    color: var(--primary-black);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    background: var(--bg-gray);
    transform: translateX(2px);
}

/* =========================================
   FOOTER (Bonkers Corner Style)
   ========================================= */

.site-footer {
    background-color: #ffffff;
    color: #000000;
    padding: 60px 20px 20px;
    font-family: var(--font-heading);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    /* Ensure heading font is used */
}

/* Brand Section */
.footer-brand {
    text-align: left;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.footer-logo-text {
    font-size: clamp(3rem, 10vw, 6rem);
    /* Huge responsive text */
    font-weight: 900;
    margin: 0;
    line-height: 1;
    letter-spacing: -2px;
    text-transform: uppercase;
    color: #000000;
}

.footer-socials {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-link {
    color: #000000;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.social-link:hover {
    opacity: 1;
}

/* Links Grid */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto 60px;
}

.footer-col-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    cursor: default;
}

.footer-col-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    color: #000000;
    letter-spacing: 1px;
}

.toggle-icon {
    display: none;
    /* Hidden on desktop */
    font-size: 1.5rem;
    font-weight: 300;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: #444444;
    /* Dark gray text */
    text-decoration: none;
    font-size: 1rem;
    font-family: var(--font-body);
    display: inline-flex;
    align-items: center;
    gap: 0;
    transition: color 0.3s, gap 0.3s ease;
}

.footer-menu a .footer-link-icon {
    opacity: 0;
    width: 0;
    margin-left: -5px;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-menu a:hover {
    color: #000000;
    gap: 0.5rem;
}

.footer-menu a:hover .footer-link-icon {
    opacity: 1;
    width: 16px;
    margin-left: 0;
    transform: translateX(0);
}

.email-input::placeholder {
    color: #888;
}

/* Footer Bottom */
.footer-bottom-bar {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
}

/* Responsive / Mobile */
@media (max-width: 768px) {
    .site-footer {
        padding: 40px 20px;
    }

    /* Update Brand Section for Mobile */
    .footer-brand {
        text-align: center;
        border-bottom: none;
        /* Remove border */
        margin-bottom: 0px;
        /* Remove extra margin */
        padding-bottom: 0;
    }

    .footer-logo-link {
        display: inline-block;
    }

    .footer-logo-img {
        margin: 0 auto;
        /* Center image */
    }

    .footer-about-text {
        margin: 20px auto !important;
        /* Center text */
    }

    .footer-socials {
        justify-content: center;
        margin-bottom: 30px;
        /* Add some space before grid */
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
        /* Remove gap for accordion look */
    }

    .footer-col {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .footer-col:first-child {
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .footer-col-header {
        margin: 0;
        padding: 8px 0;
        /* Updated padding */
        cursor: pointer;
        /* Clickable on mobile */
    }

    .footer-col-header h3 {
        font-weight: 500;
        /* Updated font weight */
        font-size: 16px;
        /* Updated font size */
    }

    /* Remove pointer for static columns */
    .footer-col.static-col .footer-col-header {
        cursor: default;
    }

    .toggle-icon {
        display: block;
        transition: transform 0.3s;
    }

    .footer-col.active .toggle-icon {
        transform: rotate(45deg);
        /* Turn + into x roughly, or just rotate */
    }

    .footer-menu {
        display: none;
        /* Hidden by default on mobile */
        padding-bottom: 20px;
    }

    .footer-col.active .footer-menu {
        display: block;
    }

    /* Always show content for static columns */
    .footer-col.static-col .footer-menu {
        display: block;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 2rem 5px !important;
        /* Minimal padding for edge-to-edge feel */
    }

    ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
        /* Tight gap */
    }

    .hero {
        /* margin-top removed */
        height: auto;
        min-height: 500px;
        padding: 4rem 1rem;
    }
}

/* =========================================
   CUSTOM PRODUCT CARD UI (Premium Streetwear)
   ========================================= */

/* GRID Override for WooCommerce */
ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    row-gap: 30px !important;
    column-gap: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
}

ul.products::before,
ul.products::after {
    display: none;
}

ul.products li.product {
    width: auto !important;
    margin: 0 !important;
    float: none !important;
}

/* CARD CONTAINER */
.product-card {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    transition: none;
}

.product-card:hover {
    transform: none;
    box-shadow: none;
}

/* IMAGE BOX */
.image-wrapper {
    position: relative;
    aspect-ratio: 2 / 3;
    background-color: #fffcfc;
    overflow: hidden;
    width: 100%;
    /* Override standard heights */
    height: auto !important;
    padding-top: 0 !important;
    display: block;
    /* Ensure block layout for anchor */
}

.image-wrapper a {
    display: block;
    width: 100%;
    height: 100%;
}

.image-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: all 0.5s ease;
    display: block;
    position: absolute !important;
    top: 0;
    left: 0;
    will-change: transform, opacity;
}

.image-wrapper .primary-image {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.image-wrapper .secondary-image {
    opacity: 0;
    transform: translateX(20px);
    z-index: 3;
}

.product-card:hover .primary-image {
    opacity: 0;
    transform: translateX(-20px);
}

.product-card:hover .secondary-image {
    opacity: 1;
    transform: translateX(0);
}

/* BADGES */
.badge {
    position: absolute;
    /* top: 10px; REMOVED */
    bottom: 10px;
    left: 10px;
    background: #ffffff;
    color: #000000;
    padding: 4px 8px;
    font-size: 9px;
    font-weight: 400;
    border-radius: 10px;
    text-transform: uppercase;
    z-index: 2;
    letter-spacing: 0;
}

.badge.hot {
    background: white;
    color: #000;
}

/* TEXT DETAILS */
.product-info {
    padding-top: 16px;
    padding-left: 8px;
    padding-right: 8px;
    padding-bottom: 0;
}

.product-info h3 {
    font-size: 14px;
    color: #000;
    margin-bottom: 5px;
    font-weight: 400;
    font-family: var(--font-price);
    line-height: 1.2;
    margin-top: 0;
    text-transform: uppercase;
}

.product-info h3 a {
    color: #000;
    text-decoration: none;
}

/* PRICE ROW */
.product-info .price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-family: var(--font-body);
    flex-wrap: wrap;
}

.product-info .current {
    font-weight: 400;
    font-size: 14px;
    color: #000;
    font-family: var(--font-heading);
    text-decoration: none;
}

.product-info .original {
    text-decoration: line-through;
    color: #999;
    font-size: 12px;
}

.product-info .discount {
    color: #ff4d4d;
    font-size: 12px;
    font-weight: 600;
}

.product-info .discount.green {
    color: #ff4d4d;
    /* Override green back to red/brand color for this design */
}

/* SIZE SELECTION BOXES */
.sizes {
    display: none !important;
    gap: 4px;
    flex-wrap: wrap;
}

.sizes button {
    border: 1px solid #e0e0e0;
    padding: 2px 5px;
    font-size: 9px;
    color: #888;
    background: transparent;
    text-transform: uppercase;
    min-width: 24px;
    text-align: center;
    border-radius: 0;
    /* Square/Rectangular look per reference */
    cursor: default;
    /* Just visual for now unless interactive */
    transition: all 0.2s;
    font-family: var(--font-body);
}

.sizes button:hover {
    border-color: #000;
    color: #000;
}

/* RESPONSIVE */
/* RESPONSIVE */
@media (max-width: 1024px) {
    ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 4px !important;
    }
}

@media (max-width: 768px) {
    .related-products-section ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .section {
        padding: 10px !important;
    }

    ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .product-info h3,
    .product-info h3 a,
    .product-info .current,
    .product-info .original {
        font-size: 15px !important;
    }

    .hero {
        margin-top: 70px;
    }
}

/* =========================================
   SHOP PAGE LAYOUT (from shop.html)
   ========================================= */

/* Shop Header */
.shop-header {
    margin-top: 80px;
    padding: 3rem 2rem 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--primary-black);
}

.shop-title-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.shop-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary-black);
    letter-spacing: -1px;
}

.products-count {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Filter and Sort Section */
.filter-sort-bar {
    display: none;
    /* Hidden on desktop */
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: var(--bg-light);
    border-radius: 16px;
    margin-top: 100px;
    /* Space for navbar on mobile */
    margin-bottom: 2rem;
    flex-wrap: nowrap;
    /* Keep in single row */
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.filter-toggle-btn {
    display: none;
    /* Hidden on desktop - sidebar is visible */
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    color: var(--text-primary);
    flex-shrink: 0;
    /* Don't shrink */
}

.filter-toggle-btn:hover {
    border-color: var(--primary-black);
    background: var(--primary-black);
    color: var(--white);
}

.filter-toggle-btn.active {
    background: var(--primary-black);
    color: var(--white);
    border-color: var(--primary-black);
}

.sort-dropdown {
    width: auto;
    position: relative;
    display: flex;
    align-items: center;
}

.woocommerce-ordering {
    width: 220px;
    display: flex;
    align-items: center;
    margin: 0 !important;
}

.sort-select,
.woocommerce-ordering select {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 35px 10px 14px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    font-size: 14px;
    color: #1e293b;
    font-family: var(--font-body);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4 L6 8 L10 4' stroke='%2364748b' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    transition: all 0.15s ease-in-out;
}

.sort-select:hover,
.woocommerce-ordering select:hover {
    border-color: #2563eb;
    background-color: #fafafa;
}

.sort-select:focus,
.woocommerce-ordering select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

/* Custom Sort Dropdown (replaces native select) */
.sort-custom-wrapper {
    position: relative;
    width: 100%;
}

.sort-custom-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    font-family: var(--font-body);
}

.sort-custom-trigger:hover {
    border-color: #2563eb;
    background-color: #fafafa;
}

.sort-custom-trigger.active {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.sort-current-text {
    flex-grow: 1;
}

.sort-icon {
    width: 16px;
    height: 16px;
    stroke: #64748b;
    flex-shrink: 0;
}

.sort-arrow {
    width: 8px;
    height: 8px;
    border-right: 2px solid #64748b;
    border-bottom: 2px solid #64748b;
    transform: rotate(45deg);
    transition: 0.15s ease-in-out;
    margin-bottom: 3px;
}

.sort-custom-trigger.active .sort-arrow {
    transform: rotate(-135deg);
    margin-bottom: -3px;
}

/* Custom Dropdown Menu */
.sort-custom-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.15s ease-in-out;
    z-index: 50;
    padding: 4px;
    list-style: none;
    margin: 0;
}

.sort-custom-trigger.active+.sort-custom-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sort-custom-option {
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.1s;
    color: #1e293b;
    font-family: var(--font-body);
}

.sort-custom-option:hover {
    background-color: #f1f5f9;
}

.sort-custom-option.selected {
    background-color: #eff6ff;
    color: #2563eb;
    font-weight: 600;
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
    background: var(--white);
    padding: 0.4rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.view-btn {
    padding: 0.5rem 0.8rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-secondary);
}

.view-btn:hover,
.view-btn.active {
    background: var(--bg-gray);
    color: var(--primary-black);
}

/* Sidebar Filter */
.shop-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 0 5rem 0;
    display: flex;
    gap: 2rem;
}

/* Hide default WooCommerce ordering outside products section on desktop */
.products-section>.woocommerce-notices-wrapper,
.products-section>.woocommerce-result-count,
.products-section>.woocommerce-ordering {
    display: none;
}

.sidebar {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    height: fit-content;
    background: var(--bg-light);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.sidebar.hidden {
    display: none;
}

/* Mobile Filter Sidebar Overlay */
.mobile-filter-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 320px;
    background: var(--white);
    z-index: 10000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.mobile-filter-sidebar.active {
    transform: translateX(0);
}

.mobile-filter-header {
    position: sticky;
    top: 0;
    background: var(--white);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.mobile-filter-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-black);
}

.mobile-filter-close {
    width: 40px;
    height: 40px;
    background: var(--bg-gray);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-filter-close:hover {
    background: var(--primary-black);
    color: var(--white);
}

.mobile-filter-content {
    padding: 1.5rem;
}

.mobile-filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-filter-overlay.active {
    opacity: 1;
    visibility: visible;
}

.filter-section {
    margin-bottom: 2rem;
}

.filter-section:last-child {
    margin-bottom: 0;
}

.filter-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--primary-black);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.filter-option:hover {
    color: var(--primary-black);
}

.filter-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-black);
}

.filter-count {
    margin-left: auto;
    color: var(--text-light);
    font-size: 0.85rem;
}

.price-range {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-inputs {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    width: 100%;
}

.price-inputs span {
    flex-shrink: 0;
}

.price-input {
    flex: 1;
    min-width: 0;
    padding: 0.6rem 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: var(--font-body);
}

.price-input:focus {
    outline: none;
    border-color: var(--primary-black);
}

.price-slider {
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: var(--border-color);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-black);
    cursor: pointer;
}

.price-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-black);
    cursor: pointer;
    border: none;
}

.clear-filters {
    width: 100%;
    padding: 0.8rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    margin-top: 1.5rem;
}

.clear-filters:hover {
    background: var(--primary-black);
    color: var(--white);
    border-color: var(--primary-black);
}

/* Products Section */
.products-section {
    flex: 1;
}

.active-filters {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: var(--primary-black);
    color: var(--white);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

.filter-tag button {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.product-grid,
ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;

    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

ul.products::before,
ul.products::after {
    display: none !important;
}

ul.products li.product {
    width: auto !important;
    margin: 0 !important;
    float: none !important;
}

.product-grid.list-view {
    grid-template-columns: 1fr !important;
}

/* Pagination */
.pagination,
.woocommerce-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination-btn,
.woocommerce-pagination .page-numbers {
    padding: 0.7rem 1.2rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
}

.pagination-btn:hover,
.pagination-btn.active,
.woocommerce-pagination .page-numbers:hover,
.woocommerce-pagination .page-numbers.current {
    background: var(--primary-black);
    color: var(--white);
    border-color: var(--primary-black);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .sidebar {
        display: none;
    }

    .filter-toggle-btn {
        display: flex;
    }

    /* Show filter bar on tablet/mobile */
    .filter-sort-bar {

        display: flex;

        padding: 0.75rem 1rem;

        margin: 80px 1rem 1rem;

        border-radius: 12px;

    }

    /* 3 columns on tablet */
    .product-grid,
    ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {


    .shop-header {
        padding: 2rem 1rem 1rem;
    }

    .shop-container {
        padding: 0 0 3rem;
        margin-top: 0 !important;
        /* Remove top margin on mobile - filter bar handles it */
    }

    .filter-sort-bar {
        padding: 0.75rem 1rem;
        margin: 80px 1rem 1rem;
        /* Reduced bottom margin and adjusted for navbar */
        border-radius: 12px;
    }

    .sort-dropdown {
        margin-left: 0;
        width: auto;
    }

    .sort-select,
    .woocommerce-ordering select {
        width: 100%;
    }

    .view-toggle {
        display: none;
    }

    /* 2 columns on mobile */
    .product-grid,
    ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .product-grid.list-view {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {

    /* Keep 2 columns on small mobile, or switch to 1 if needed */
    .product-grid,
    ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Desktop Sort Bar */
.desktop-sort-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
    width: 100%;
}

@media (max-width: 1024px) {
    .desktop-sort-bar {
        display: none;
    }
}



/* =========================================
   SØLV | HIGH-END MINIMALIST PDP
   ========================================= */

:root {
    --pdp-bg: #FFFFFF;
    --pdp-bg-alt: #FAFAFA;
    --pdp-text: #111111;
    --pdp-muted: #71717A;
    --pdp-border: #E5E5E5;
    --pdp-transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --pdp-font-serif: 'Playfair Display', serif;
    --pdp-font-sans: 'Inter', sans-serif;
}

.pdp-composition {
    padding-bottom: 60px;
    background-color: var(--pdp-bg);
    color: var(--pdp-text);
}

.pdp-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 1024px) {
    .pdp-layout {
        grid-template-columns: 60% 40%;
        gap: 50px;
        align-items: flex-start;
    }
}

/* MEDIA GALLERY STACK - Bonkers Style */
.pdp-media-stack {
    width: 100%;
}

.media-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 1024px) {
    .media-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .media-item:first-child {
        grid-column: span 2;
    }
}

.media-item {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--pdp-bg-alt);
    cursor: zoom-in;
}

.media-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.media-item:hover img {
    transform: scale(1.03);
}

/* RIGHT COLUMN STICKY */
.pdp-info-panel {
    position: relative;
    height: 100%;
}

.info-sticky-content {
    position: sticky;
    top: 100px;
    transition: top 0.3s;
}

.media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.media-item:hover img {
    transform: scale(1.03);
}

/* INFO PANEL */
.pdp-info-panel {
    position: relative;
    padding: 0 1rem;
}

@media (min-width: 1024px) {
    .info-sticky-content {
        position: sticky;
        top: 100px;
        padding-right: 20px;
    }

    .pdp-info-panel {
        padding: 0;
    }
}

/* Breadcrumbs (SØLV Precise) */
/* Global applied styles for all breadcrumbs behaving like PDP v2 */
.pdp-breadcrumbs-v2,
.woocommerce-breadcrumb {
    margin-bottom: 1.5rem;
    text-align: left;
    margin-top: 1rem;
    /* Added spacing for global usage */
    font-family: var(--pdp-font-sans, 'Inter', sans-serif);
}

.breadcrumb-container,
.woocommerce-breadcrumb {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0 12px;
    /* Consistent padding */
    margin: 0;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    flex-wrap: nowrap;
    /* Force single line scrolling */
}

.breadcrumb-container::-webkit-scrollbar,
.woocommerce-breadcrumb::-webkit-scrollbar {
    display: none;
}

.breadcrumb-item,
.woocommerce-breadcrumb a,
.woocommerce-breadcrumb span {
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #71717A;
}

.breadcrumb-item a,
.woocommerce-breadcrumb a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover,
.woocommerce-breadcrumb a:hover {
    color: #111111;
}

/* Separator styling */
.breadcrumb-item:not(:last-child)::after,
.woocommerce-breadcrumb a::after {
    content: '/';
    margin: 0 12px;
    color: #E5E5E5;
    font-weight: 400;
    display: inline-block;
}

/* Last item styling (Current Page) */
.breadcrumb-item:last-child,
.woocommerce-breadcrumb span:last-child {
    color: #111111;
    pointer-events: none;
}

.woocommerce-breadcrumb span:last-child::after {
    content: none !important;
}

/* Header */
.pdp-header {
    margin-bottom: 1.5rem;
}

.pdp-title {
    font-family: var(--font-price);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    color: #000;
    text-transform: uppercase;
}

.pdp-price {
    font-family: var(--pdp-font-sans);
    font-size: 16px;
    font-weight: 400;
    color: var(--pdp-text);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.pdp-price ins {
    text-decoration: none;
    color: #484f56;
    font-weight: 400;
}

.pdp-price del {
    font-size: 16px;
    color: var(--pdp-muted);
    margin-right: 0.5rem;
}

.pdp-discount-badge {
    font-family: var(--pdp-font-sans);
    font-size: 10px;
    font-weight: 700;
    background-color: #E01A1A;
    color: #FFFFFF;
    padding: 3px 8px;
    border-radius: 100px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.pdp-short-desc {
    font-family: var(--font-heading);
    font-size: 14px;
    line-height: 1.6;
    color: #000000;
    margin-bottom: 1.5rem;
    max-width: 450px;
}

/* ACTIONS & WOOCOMMERCE FORM */
.pdp-actions .variations_form {
    margin-bottom: 1.5rem;
}

.woocommerce div.product form.cart {
    padding-bottom: 0 !important;
    margin: 0 !important;
}

.pdp-actions .variations {
    width: 100%;
    border: none;
    margin-bottom: 1rem;
}

.pdp-actions .variations tr {
    display: block;
    margin-bottom: 1rem;
}

.pdp-actions .variations th,
.pdp-actions .variations td {
    display: block;
    padding: 0;
    width: 100%;
}

.pdp-actions .variations label {
    font-family: var(--pdp-font-sans);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    display: block;
}

.variation-discription {
    font-family: var(--pdp-font-sans);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--pdp-text);
    margin-left: 2px;
}

.find-my-size-link {
    float: right;
    text-decoration: underline;
    font-size: 10px;
    text-transform: none;
    letter-spacing: 0;
    color: var(--pdp-muted);
    cursor: pointer;
    font-weight: 400;
    transition: color 0.2s ease;
}

.find-my-size-link:hover {
    color: var(--pdp-text);
}

/* Custom Swatches (via JS Bridge) */
.pdp-swatch-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Color Swatch */
.pdp-color-swatch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    border: 1px solid var(--pdp-border);
    transition: var(--pdp-transition);
}

.pdp-color-swatch.active::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 1px solid var(--pdp-text);
    border-radius: 50%;
}

.pdp-color-swatch.out-of-stock {
    opacity: 0.3;
    pointer-events: none;
}

/* Size Swatch */
.pdp-size-swatch {
    min-width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--pdp-border);
    font-family: var(--pdp-font-sans);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--pdp-transition);
    padding: 0 10px;
}

.pdp-size-swatch:hover {
    background-color: var(--pdp-bg-alt);
}

.pdp-size-swatch.active {
    background-color: var(--pdp-text);
    color: var(--pdp-bg);
    border-color: var(--pdp-text);
}

.pdp-size-swatch.out-of-stock {
    color: var(--pdp-muted);
    text-decoration: line-through;
}

/* Reset Variations Link - Hidden per request */
.reset_variations {
    display: none !important;
}

/* BUTTONS & CTA - SØLV Rounded Aesthetic per Screenshot */
.woocommerce div.product form.cart {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

.woocommerce-variation-add-to-cart,
.woocommerce div.product form.cart:not(.variations_form) {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0px !important;
    width: 100% !important;
    align-items: center !important;
}

.single_variation_wrap {
    width: 100% !important;
}

.woocommerce div.product form.cart .quantity {
    display: flex !important;
    align-items: center;
    border: 1px solid #111;
    border-radius: 0;
    height: 40px;
    padding: 0 15px;
    background: #fff;
    min-width: 110px;
    justify-content: space-between;
}

.pdp-qty-btn {
    background: none;
    font-weight: 400;
    border: none;
    font-size: 18px;
    color: #111;
    cursor: pointer;
    width: 25px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

.woocommerce div.product form.cart .quantity input.qty {
    width: 30px !important;
    height: 100% !important;
    border: none !important;
    background: transparent !important;
    text-align: center !important;
    font-family: var(--pdp-font-sans) !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #111 !important;
    padding: 0 !important;
    margin: 0 !important;
    -webkit-appearance: none;
    appearance: none;
}

.woocommerce div.product form.cart .quantity input.qty::-webkit-outer-spin-button,
.woocommerce div.product form.cart .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.single_add_to_cart_button {
    flex: 1;
    min-width: 180px;
    height: 40px !important;
    background: #fff !important;
    color: #111 !important;
    border: 1px solid #111 !important;
    font-family: var(--pdp-font-sans) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    margin: 0 0 0 10px !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
}

.single_add_to_cart_button::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z"/><line x1="3" y1="6" x2="21" y2="6"/><path d="M16 10a4 4 0 0 1-8 0"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.single_add_to_cart_button:hover {
    background: #f8f8f8 !important;
}

/* Add to Cart Loading & Added States */
@keyframes button-spin {
    to {
        transform: rotate(360deg);
    }
}

.single_add_to_cart_button.loading {
    color: transparent !important;
    position: relative;
    pointer-events: none;
}

.single_add_to_cart_button.loading::before {
    display: none;
}

.single_add_to_cart_button.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-top-color: #000;
    border-radius: 50%;
    animation: button-spin 0.6s linear infinite;
}

.single_add_to_cart_button.added {
    background: #fff !important;
    color: transparent !important;
    font-size: 0 !important;
    border-color: #111 !important;
    pointer-events: none;
}

.single_add_to_cart_button.added::before {
    display: block !important;
    content: '';
    width: 16px;
    height: 16px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-right: 6px;
}

.single_add_to_cart_button.added::after {
    content: 'Added';
    color: #111 !important;
    font-size: 13px !important;
    font-weight: 500;
    display: block !important;
}

/* Buy It Now Button */
.btn-buy-now {
    width: 100%;
    height: 40px;
    background: #111;
    color: #fff;
    border: none;
    font-family: var(--pdp-font-sans);
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.1s;
}

.btn-buy-now:hover {
    background: #121212;
}

/* Hide original WooCommerce junk */
.pdp-actions .quantity_junk,
.woo-variation-swatches .variable-items-wrapper,
.woo-selected-variation-item-name {
    display: none !important;
}

/* ACCORDIONS */
.pdp-accordions {
    border-top: 1px solid var(--pdp-border);
    margin-top: 2rem;
}

.accordion-item {
    border-bottom: 1px solid var(--pdp-border);
}

.accordion-trigger {
    width: 100%;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-family: var(--pdp-font-sans);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    color: var(--pdp-text);
}

.pdp-icon-plus {
    position: relative;
    width: 12px;
    height: 12px;
}

.pdp-icon-plus::before,
.pdp-icon-plus::after {
    content: '';
    position: absolute;
    background-color: var(--pdp-text);
    transition: transform 0.3s ease;
}

.pdp-icon-plus::before {
    width: 100%;
    height: 1px;
    top: 50%;
    left: 0;
}

.pdp-icon-plus::after {
    width: 1px;
    height: 100%;
    left: 50%;
    top: 0;
}

.accordion-trigger[aria-expanded="true"] .pdp-icon-plus {
    transform: rotate(45deg);
}

.accordion-content {
    display: none;
    padding-bottom: 2rem;
    font-family: var(--pdp-font-sans);
    font-size: 12px;
    line-height: 1.7;
    font-weight: 300;
    padding-left: 8px;
    color: #111;
}

/* RELATED SECTION - PREMIUM REDESIGN */


.pdp-related h2 {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 300;
    padding: 16px;
    margin: 0;
    text-align: center;
    letter-spacing: .2px;
    color: #111;
}

/* Hide default WC Related Products Title if it leaks */
.pdp-related .related.products>h2 {
    display: none;
}

/* Grid Layout */
.pdp-related ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    margin-bottom: 0 !important;
}

@media (max-width: 1024px) {
    .pdp-related ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Product Card Styling within Related */
.pdp-related ul.products li.product {
    text-align: center;
    margin-bottom: 0 !important;
}

.pdp-related ul.products li.product .product-card {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.pdp-related ul.products li.product .image-wrapper {
    margin-bottom: 16px;
    background: #f8f8f8;
    position: relative;
    padding-bottom: 150%;
    /* Tall implementation */
    overflow: hidden;
    border-radius: 4px;
}

/* Image behavior */
.pdp-related ul.products li.product .image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pdp-related ul.products li.product:hover .image-wrapper img {
    transform: scale(1.05);
}

/* Typography */
.pdp-related ul.products li.product .product-info h3 {
    font-size: 13px;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
    color: #111;
}

.pdp-related ul.products li.product .product-info .price {
    font-size: 13px;
    color: #666;
    font-weight: 400;
}

.pdp-related ul.products li.product .product-info .price .amount {
    color: #666;
    font-weight: 400;
}

.pdp-related ul.products li.product .product-info .price ins {
    text-decoration: none;
    font-weight: 400;
}

.pdp-related ul.products li.product .product-info .price del {
    color: #999;
}

/* Hide Badge/Sizes in Related for Cleaner Look */
.pdp-related ul.products li.product .badge,
.pdp-related ul.products li.product .sizes {
    display: none;
}

/* Safety: Hide any sidebar or unwanted default content on PDP */
.single-product .sidebar,
.single-product aside,
.single-product .widget_search,
.single-product .widget_pages,
.single-product .widget_archive,
.single-product .widget_categories {
    display: none !important;
}

.custom-color-option {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid transparent;
    padding: 2px;
    cursor: pointer;
    transition: var(--transition);
}

.custom-color-option span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.custom-color-option.selected {
    border-color: #d1d1d1;
}

/* utility classes if not present */
.review-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #6b7280;
    font-size: 0.875rem;
}

.review-card .font-semibold {
    font-weight: 600;
}

.review-card .text-sm {
    font-size: 0.875rem;
}

.review-card .text-xs {
    font-size: 0.75rem;
}

.review-card .text-gray-400 {
    color: #9ca3af;
}

.review-card .text-gray-600 {
    color: #4b5563;
}

.review-card .leading-relaxed {
    line-height: 1.625;
}

.mb-4 {
    margin-bottom: 1rem;
}

.flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

.items-start {
    align-items: flex-start;
}

.items-center {
    align-items: center;
}

.space-x-3>*+* {
    margin-left: 0.75rem;
}

.review-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.helpful-btn,
.report-btn {
    background: none;
    border: none;
    font-size: 0.75rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.helpful-btn:hover,
.report-btn:hover {
    color: var(--accent);
}

/* MOBILE FIXED CTA - SLV Aesthetic */
.mobile-fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 15px 20px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.04);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: none;
    /* Only for Mobile */
}

@media (max-width: 768px) {
    .mobile-fixed-cta {
        display: block;
    }
}

.mobile-fixed-cta.visible {
    transform: translateY(0);
}

.fixed-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.fixed-info {
    display: flex;
    flex-direction: column;
}

.fixed-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #111;
}

.fixed-price {
    font-size: 13px;
    color: #484f56;
}

.btn-primary-fixed {
    background: #111;
    color: #fff;
    border: none;
    border-radius: 12px;
    height: 45px;
    padding: 0 25px;
    font-family: var(--pdp-font-sans);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
}

/* ZOOM OVERLAY - Minimalist Modal */
.pdp-zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    z-index: 3000;
    display: none;
    /* Default state */
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pdp-zoom-overlay.active {
    display: flex !important;
}

.zoom-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 3100;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-img-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.zoom-img-container img {
    max-height: 90vh;
    max-width: 90vw;
    object-fit: contain;
    cursor: zoom-out;
}

/* MOBILE GALLERY SLIDER - Bonkers Style */
.mobile-image-counter,
.mobile-nav-btn {
    display: none;
}

@media (max-width: 1023px) {
    .pdp-media-stack {
        position: relative;
        width: 100%;
    }

    /* Override Desktop Grid with Mobile Slider */
    .media-grid {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
        scroll-behavior: smooth;
        margin: 0;
        padding: 0;
    }

    .media-grid::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

    .media-item {
        min-width: 100%;
        width: 100%;
        scroll-snap-align: start;
        position: relative;
        margin: 0;
        padding: 0;
    }

    .media-item img {
        height: auto;
        max-height: 80vh;
        object-fit: cover;
        display: block;
    }

    /* Image Counter Badge */
    .mobile-image-counter {
        display: block;
        position: absolute;
        bottom: 20px;
        right: 20px;
        background: rgba(0, 0, 0, 0.6);
        color: #fff;
        padding: 4px 10px;
        border-radius: 20px;
        font-size: 11px;
        font-family: var(--pdp-font-sans);
        pointer-events: none;
        z-index: 10;
        backdrop-filter: blur(4px);
    }

    /* Navigation Buttons */
    .mobile-nav-btn {
        display: flex !important;
        /* Force visible on mobile */
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 0.9);
        border: none;
        border-radius: 50%;
        cursor: pointer;
        z-index: 20;
        color: #111;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        opacity: 0;
        /* Hidden by default */
        pointer-events: none;
        transition: opacity 0.3s ease, background 0.2s;
        padding: 0;
    }

    .mobile-nav-btn svg {
        width: 20px;
        height: 20px;
        display: block;
    }

    /* Show on Hover */
    .pdp-media-stack:hover .mobile-nav-btn {
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-nav-btn:active {
        background: #ffffff;
        transform: translateY(-50%) scale(0.95);
    }

    .mobile-nav-btn.prev {
        left: 15px;
    }

    .mobile-nav-btn.next {
        right: 15px;
    }
}


/* Fallback for Touch Devices (No Hover) */
@media (hover: none) {
    .mobile-nav-btn {
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}

/* ------------------------------------------------------------
 * PRODUCT REVIEWS SECTION (Custom)
 * ------------------------------------------------------------ */
.pdp-reviews-section {
    padding: 30px 20px;
    margin-top: 30px;
    border-top: 1px solid #f4f4f5;
    font-family: var(--pdp-font-sans);
}

.review-header {
    display: flex;
    flex-direction: column-reverse;
    /* Button above stats on mobile */
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
    gap: 16px;
}

@media (min-width: 768px) {
    .review-header {
        flex-direction: row;
        /* Side by side on desktop */
        justify-content: space-between;
        /* Spread out */
        padding-bottom: 24px;
        border-bottom: 1px solid #f4f4f5;
    }
}

.review-title {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: -0.02em;
    color: #111;
    margin: 0;
}

@media (min-width: 768px) {
    .review-title {
        font-size: 30px;
    }
}

.review-stats-summary {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pdp-star-rating {
    display: inline-flex;
    gap: 2px;
}

.star {
    font-size: 14px;
    display: inline-block;
    color: transparent;
    -webkit-text-stroke: 1px #000;
    line-height: 1;
}

.star.filled {
    color: #000000;
    -webkit-text-stroke: 0;
}

.avg-rating-text {
    font-size: 20px;
    font-weight: 500;
    color: #18181b;
}

.avg-count-text {
    color: #a1a1aa;
    font-size: 14px;
}

.btn-write-review {
    background-color: #000;
    color: #fff;
    padding: 12px 32px;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-write-review:hover {
    background-color: #27272a;
}

/* Review Grid Layout */
.review-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

@media (min-width: 1024px) {
    .review-content-grid {
        grid-template-columns: 300px 1fr;
    }
}

/* Sidebar Stats */
.review-sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.stat-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #71717a;
    margin: 0 0 24px 0;
}

.rating-bars-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
}

.progress-bar {
    height: 4px;
    background: #f4f4f5;
    border-radius: 2px;
    overflow: hidden;
    flex-grow: 1;
}

.progress-fill {
    height: 100%;
    background: #18181b;
    transition: width 1s ease-out;
}

/* Fit Sliders */
.stat-group.bg-light {
    background: #fafafa;
    padding: 24px;
    border-radius: 8px;
}

.fit-slider-group {
    margin-bottom: 24px;
}

.fit-slider-group:last-child {
    margin-bottom: 0;
}

.fit-slider-header {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 10px;
}

.fit-slider-track {
    position: relative;
    height: 4px;
    background: #e4e4e7;
    border-radius: 999px;
}

.fit-slider-dot {
    position: absolute;
    top: -4px;
    width: 12px;
    height: 12px;
    background: #000;
    border: 2px solid #fff;
    border-radius: 50%;
    transform: translateX(-50%);
}

.fit-slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 10px;
    color: #a1a1aa;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Reviews Feed */
.review-controls {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

@media (min-width: 640px) {
    .review-controls {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.review-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 12px;
    border: 1px solid #e4e4e7;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
    color: #18181b;
}

.filter-btn:hover {
    border-color: #18181b;
}

.filter-btn.active {
    background: #18181b;
    color: #fff;
    border-color: #18181b;
}

.review-sort-select {
    font-size: 12px;
    font-weight: 500;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #18181b;
    outline: none;
}

/* Review Card */
.review-card {
    background-color: #f4f4f5;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f4f4f5;
    color: #71717a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    overflow: hidden;
}

.reviewer-meta h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    color: #111;
}

.verified-badge {
    display: none;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: #f4f4f5;
    padding: 4px 12px;
    border-radius: 999px;
    color: #71717a;
}

.review-body-title {
    font-size: 16px;
    font-weight: 500;
    color: #111;
    margin: 0 0 8px 0;
}

.review-body-text {
    font-size: 14px;
    color: #52525b;
    line-height: 1.6;
    max-width: 640px;
    margin: 0 0 16px 0;

    /* Truncation Logic */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
}

.review-body-text.expanded {
    -webkit-line-clamp: unset;
    cursor: text;
}

.review-actions {
    display: flex;
    gap: 24px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: #a1a1aa;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

.action-btn:hover {
    color: #111;
}

.load-more-wrapper {
    text-align: center;
    margin-top: 48px;
}

.btn-load-more {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    background: none;
    border: none;
    border-bottom: 1px solid #111;
    padding-bottom: 4px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-load-more:hover {
    opacity: 0.6;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 0;
}

.empty-state-icon {
    width: 64px;
    height: 64px;
    color: #e4e4e7;
    margin: 0 auto 24px auto;
}

/* Review Form Styles */
#review-form-wrapper form p {
    margin-bottom: 20px;
}

#review-form-wrapper label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    color: #71717a;
}

#review-form-wrapper input[type="text"],
#review-form-wrapper input[type="email"],
#review-form-wrapper textarea,
#review-form-wrapper select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e4e4e7;
    border-radius: 4px;
    font-family: var(--pdp-font-sans);
    font-size: 14px;
    color: #111;
    background: #fff;
    transition: border-color 0.2s;
}

#review-form-wrapper input:focus,
#review-form-wrapper textarea:focus,
#review-form-wrapper select:focus {
    outline: none;
    border-color: #111;
}

/* WooCommerce Notices Overlay */
/* WooCommerce Notices Overlay */
.woocommerce-notices-wrapper {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column-reverse;
    /* Stack upwards */
    gap: 16px;
    pointer-events: none;
    max-width: 90vw;
    width: 400px;
    align-items: center;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background: #ffffff !important;
    color: #1a1a1a !important;
    padding: 24px !important;
    border-radius: 12px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12) !important;
    border: none !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: none !important;
    outline: none !important;
    position: relative;
    pointer-events: auto;
    animation: slideInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    font-size: 15px;
    width: 100%;
    min-height: 100px;
    border-left: none !important;
}

/* Remove default pseudo-elements icons */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    display: none !important;
}

/* General Text Handling for non-custom messages */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    flex-wrap: wrap;
}

/* Custom "Toast Content" Structure (from PHP filter) */
.toast-content {
    display: flex;
    gap: 16px;
    width: 100%;
    align-items: flex-start;
}

.toast-product-img {
    width: 80px;
    height: 100px;
    object-fit: cover;
    background: #f0f0f0;
    flex-shrink: 0;
    border-radius: 8px;
}

.toast-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 30px;
    /* Space for close button */
}

.toast-status {
    font-size: 11px;
    color: #10b981;
    /* Modern Green */
    font-weight: 700;
    margin: 0 0 6px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.toast-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: #1a1a1a;
    line-height: 1.4;
}

.toast-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    color: #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
    width: fit-content;
    cursor: pointer;
    transition: opacity 0.2s;
}

.toast-link:hover {
    opacity: 0.7;
}

/* Hide default buttons if we used custom HTML */
.woocommerce-message .button.wc-forward {
    display: none !important;
}

/* Fallback for standard messages (no image) */
.woocommerce-error,
.woocommerce-info {
    padding-right: 50px !important;
}

/* Close Container & Timer */
.kalitho-close-container {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.kalitho-notice-close {
    background: none !important;
    border: none !important;
    font-size: 20px;
    font-weight: 300;
    cursor: pointer !important;
    z-index: 10;
    padding: 0;
    color: #666;
    transition: all 0.2s;
    line-height: 1;
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none !important;
    box-shadow: none !important;
}

.cart-empty,
.wc-empty-cart-message {
    display: none;
}

.kalitho-notice-close:hover {
    color: #000;
    background: transparent !important;
    transform: scale(1.1);
}

/* SVG Timer */
.timer-svg {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
    width: 28px;
    height: 28px;
    pointer-events: none;
}

.timer-circle {
    fill: none;
    stroke: #f0f0f0;
    stroke-width: 2;
}

.timer-progress {
    fill: none;
    stroke: #1a1a1a;
    stroke-width: 2;
    stroke-dasharray: 76;
    /* Circumference 2*PI*12 */
    stroke-dashoffset: 76;
    animation: countdown 5s linear forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutDown {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    to {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
}

@keyframes countdown {
    from {
        stroke-dashoffset: 0;
    }

    to {
        stroke-dashoffset: 76;
    }
}

/* Collection & Category Banner */
.collection-banner {
    position: relative;
    height: 300px;
    width: 100%;
    overflow: hidden;
    margin-bottom: 2rem;
    border-radius: var(--border-radius-lg, 12px);
}

.collection-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.collection-banner:hover img {
    transform: scale(1.05);
}

.collection-banner-content {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.collection-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.collection-desc {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0;
    opacity: 0.9;
    font-weight: 500;
}

.collection-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

/* Clean Categories Section (Clean Luxury Grid) */
.clean-categories-section {
    padding: 0;
    /* User requested removal of padding, max-width, and margin */
    width: 100%;
}

.category-header-clean {
    margin: 0;
    text-align: left;
    padding: 0;
    /* User requested remove all */
}

.clean-title {
    font-size: 2rem;
    /* Using rem for better scaling */
    font-weight: 700;
    margin: 2rem 2%;
    /* Desktop: 2rem top/bottom, 2% left/right to aligning */
    color: var(--primary-black);
    text-transform: capitalize;
    /* "Shop by Range" looks cleaner than UPPERCASE here based on reference */
}

/* Red underline style for last words */
.kalitho-red-line {
    text-decoration: underline;
    text-decoration-color: #ff0000;
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
}

/* Dynamic Grid Layout */
.clean-grid {
    display: grid;
    /* Default to 4 on desktop if variable not set */
    grid-template-columns: repeat(var(--clean-cols-desktop, 4), 1fr);
    gap: 0;
    /* User requested no gap */
}

.clean-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    position: relative;
    background: var(--white);
    padding: 0;
    border: none;
}

.clean-img-link {
    display: block;
    overflow: hidden;
    margin: 0;
    width: 100%;
}

.clean-image-wrapper {
    background-color: #f4f4f4;
    aspect-ratio: 1/1;
    /* Square images as requested */
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.clean-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    mix-blend-mode: normal;
}

/* Hover zoom animation added back */
.clean-card:hover .clean-image-wrapper img {
    transform: scale(1.05);
}

.clean-link {
    display: flex;
    align-items: center;
    gap: 0;
    /* Specifically 0 initially */
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary-black);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: gap 0.3s ease;
    padding: 1rem 1rem 1rem 1.5rem;
    border-top: 1px solid transparent;
    width: 100%;
    text-align: left;
    box-sizing: border-box;
}

.clean-link i,
.clean-link svg {
    opacity: 0;
    width: 0;
    margin-left: -5px;
    /* Pull it back slightly */
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.clean-card:hover .clean-link {
    gap: 0.5rem;
}

.clean-card:hover .clean-link i,
.clean-card:hover .clean-link svg {
    opacity: 1;
    width: 16px;
    /* Icon natural width */
    margin-left: 0;
    transform: translateX(0);
}

/* Mobile Responsive */
/* Mobile Responsive */
@media (max-width: 768px) {
    .clean-categories-section {
        padding: 0;
        /* Revert to full width */
    }



    .clean-grid {
        grid-template-columns: repeat(var(--clean-cols-mobile, 2), 1fr);
        gap: 0;
    }

    .clean-title {
        font-size: 24px;
        /* Match mobile New In title size */
        margin: 1rem 10px;
        /* User requested 1rem top/bottom */
    }

    .clean-link {
        font-size: 0.75rem;
        padding: 0.8rem 0.8rem 0.8rem 1rem;
    }
}

/* 
   Gender Shop Section 
   Style: Split screen editorial banners
*/
.gender-shop-section {
    width: 100%;
    margin: 0;
    padding: 0;
}

.gender-split {
    display: flex;
    width: 100%;
    height: 75vh;
    min-height: 500px;
}

.gender-card {
    flex: 1;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: block;
}

.gender-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.gender-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gender-card:hover .gender-image img {
    transform: scale(1.05);
    /* Subtle zoom for these big banners */
}

/* Gradient Overlay for Text Readability */
.gender-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 40%);
    pointer-events: none;
    transition: background 0.3s ease;
}

.gender-card:hover::after {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
}

.gender-content {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--white);
}

.gender-title {
    font-size: 2.5rem;
    font-weight: 300;
    /* Editorial font weight might be lighter or use font-family if available */
    font-family: var(--font-editorial, serif);
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.05em;
    color: var(--white);
}

.gender-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.gender-card:hover .gender-arrow {
    background: var(--white);
    border-color: var(--white);
    color: var(--primary-black);
    transform: translateX(10px);
}

@media (max-width: 768px) {
    .gender-split {
        flex-direction: row;
        /* Horizontal layout */
        overflow-x: auto;
        /* Scrollable */
        scroll-snap-type: x mandatory;
        /* Snap effect */
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Hide scrollbar Firefox */
        /* Hide scrollbar Firefox */
        height: 50vh;
        scroll-behavior: smooth;
    }

    .gender-card {
        min-width: 70vw;
        width: 70vw;
        height: 100%;
        scroll-snap-align: start;
        flex-shrink: 0;
        margin-right: 0;
        border-radius: 0;
        overflow: hidden;
    }



    .gender-title {
        font-size: 1.8rem;
    }

    .gender-content {
        bottom: 2rem;
        left: 2rem;
        flex-direction: row;
        width: auto;
    }

    /* Restore absolute positioning for mobile scroll layout */
    .gender-shop-section {
        width: 100%;
        margin: 0;
        /* Add some vertical spacing on mobile */
    }

    .gender-image {
        position: absolute;
        height: 100%;
    }

    .gender-image img {
        height: 100%;
    }
}

/* 
   New In / New Arrivals Section 
   Style: Horizontal Scroller
*/
.new-in-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2% 3rem 2%;
    /* Top=Bottom, Reduced L/R */
    /* No border */
}

.new-in-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Inline alignment */
    margin-bottom: 2rem;
}

.new-in-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    line-height: 1.1;
    color: var(--primary-black);
    text-align: left;
    /* Explicit left align */
}


.new-in-link {
    font-weight: 600;
    text-decoration: underline;
    color: var(--primary-black);
    white-space: nowrap;
}

.new-in-wrapper {
    position: relative;
}

.new-in-scroller {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding-bottom: 10px;
    /* Space for scrollbar */
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    /* Custom Scrollbar Styles */
    scrollbar-width: thin;
    scrollbar-color: #000 #e5e5e5;
}

.new-in-scroller::-webkit-scrollbar {
    height: 4px;
    /* Thin scrollbar */
    display: block;
    /* Show it */
}

.new-in-scroller::-webkit-scrollbar-track {
    background: #e5e5e5;
    border-radius: 4px;
}

.new-in-scroller::-webkit-scrollbar-thumb {
    background: #000;
    border-radius: 4px;
}

.new-in-card {
    min-width: 280px;
    /* Fixed minimum width for stability */
    width: 25%;
    /* Desktop: 4 items (approx) */
    flex-shrink: 0;
    scroll-snap-align: start;
    list-style: none;
    /* In case UL/LI style leaks */
}

/* Override WooCommerce loop styles inside wrapper */
.new-in-card .product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    display: block !important;
}

.scroll-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--primary-black);
}

.scroll-arrow:hover {
    background: var(--primary-black);
    color: white;
    border-color: var(--primary-black);
}

.scroll-left,
.scroll-arrow[class*="scroll-left"] {
    left: -20px;
}

.scroll-right,
.scroll-arrow[class*="scroll-right"] {
    right: -20px;
}

.scroll-arrow:hover svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

@media (max-width: 768px) {
    .new-in-section {
        padding: 0 1rem 2rem 1rem;
        margin: 1rem auto;
        /* added top/bottom margin */
    }

    .new-in-header {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    .new-in-title {
        font-size: 24px;
        margin: 0;
    }

    .new-in-link {
        margin: 0;
        display: block;
        font-size: 0.9rem;
    }

    .new-in-scroller {
        gap: 1rem;
        padding-right: 20px;
        /* Peek padding */
    }

    .new-in-card {
        min-width: 52vw;
        /* Reduced width: 52vw as requested */
        width: 52vw;
    }

    .scroll-arrow {
        display: none;
        /* Hide arrows on mobile, swipe is better */
    }
}

/* 
   Summer Collection CTA
   Style: Full width banner with left aligned text (Editorial)
*/
/* 
   Summer Collection CTA
   Style: Full width banner with left aligned text (Editorial)
*/
.summer-collection-section.section {
    width: 100%;
    max-width: 100% !important;
    /* Override theme constraints */
    margin: 0 !important;
    padding: 0 !important;
    /* Override global section padding */
    position: relative;
    overflow: hidden;
}

.summer-collection-link {
    display: block;
    width: 100%;
    /* Auto height based on image as requested */
    height: auto;
    /* min-height removed */
    position: relative;
    text-decoration: none;
}

.summer-bg-wrapper {
    position: relative;
    /* Relative creates space based on image */
    width: 100%;
    height: auto;
    display: block;
}

.summer-bg-wrapper img {
    width: 100%;
    height: auto;
    /* Maintains natural aspect ratio */
    display: block;
    /* transition: transform 0.7s ease; */
    /* Removed image zoom on hover */
}

/* Removed image hover zoom as requested */

/* Removed image hover zoom */

.summer-overlay {
    position: absolute;
    inset: 0;
    /* Subtle gradient on left for text readability */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.4) 0%, transparent 50%);
    pointer-events: none;
}

.summer-content-left {
    position: absolute;
    top: 50%;
    left: 4%;
    transform: translateY(-50%);
    z-index: 2;
    color: var(--white);
    max-width: 600px;
    text-align: left;
    width: 90%;
    /* prevent overflow on small screens */
}

.summer-title {
    font-size: 4rem;
    /* Big title */
    font-weight: 700;
    color: var(--white);
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
    text-align: left;
    /* Explicitly left align */
}

.summer-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0 0 2rem 0;
    opacity: 0.95;
}

.summer-btn {
    display: inline-flex;
    align-items: center;
    gap: 0;
    /* No gap initially */
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    transition: gap 0.3s ease;
    border-bottom: 2px solid transparent;
}

.summer-btn i,
.summer-btn svg {
    opacity: 0;
    width: 0;
    height: 20px;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

/* Hover Animation: Reveal arrow */
.summer-collection-link:hover .summer-btn {
    gap: 0.5rem;
    /* Add gap */
}

.summer-collection-link:hover .summer-btn i,
.summer-collection-link:hover .summer-btn svg {
    opacity: 1;
    width: 20px;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .summer-collection-link {
        height: auto;
        /* Mobile: Auto height so full image shows */
        /* min-height removed */
    }

    .summer-bg-wrapper {
        position: relative;
        /* Relative for auto height */
        height: auto;
    }

    .summer-bg-wrapper img {
        height: auto;
        /* Natural height on mobile */
        position: relative;
    }

    .summer-content-left {
        left: 1.5rem;
        right: 1.5rem;
    }

    .summer-title {
        font-size: 2.5rem;
    }

    .summer-subtitle {
        font-size: 1.1rem;
    }
}

/* 
   Best Sellers Section 
   Style: Horizontal Scroller (Clone of New In)
*/
.best-seller-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2% 3rem 2%;
}

.best-seller-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.best-seller-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    line-height: 1.1;
    color: var(--primary-black);
    text-align: left;
}

.best-seller-link {
    font-weight: 600;
    text-decoration: underline;
    color: var(--primary-black);
    white-space: nowrap;
}

.best-seller-wrapper {
    position: relative;
}

.best-seller-scroller {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #000 #e5e5e5;
}

.best-seller-scroller::-webkit-scrollbar {
    height: 4px;
    display: block;
}

.best-seller-scroller::-webkit-scrollbar-track {
    background: #e5e5e5;
    border-radius: 4px;
}

.best-seller-scroller::-webkit-scrollbar-thumb {
    background: #000;
    border-radius: 4px;
}

.best-seller-card {
    min-width: 280px;
    width: 25%;
    flex-shrink: 0;
    scroll-snap-align: start;
    list-style: none;
}

.best-seller-card .product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    display: block !important;
}

@media (max-width: 768px) {
    .best-seller-section {
        padding: 0 1rem 2rem 1rem;
        margin: 0 auto;
    }

    .best-seller-header {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    .best-seller-title {
        font-size: 24px;
        margin: 0;
    }

    .best-seller-link {
        margin: 0;
        display: block;
        font-size: 0.9rem;
    }

    .best-seller-scroller {
        gap: 1rem;
        padding-right: 20px;
    }

    .best-seller-card {
        min-width: 52vw;
        width: 52vw;
    }
}

/* 
   About Us Section 
   Style: Split editorial (Image Left, Black Content Right)
*/
.about-us-section {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #000;
    overflow: hidden;
    border-radius: 0 !important;
}

.about-us-container {
    display: flex;
    width: 100%;
    min-height: 80vh;
    /* Taller editorial height */
}

.about-us-image-wrapper {
    flex: 1;
    width: 50%;
    position: relative;
    overflow: hidden;
    border-radius: 0 !important;
}

.about-us-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-us-content {
    flex: 1;
    width: 50%;
    background: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem;
    box-sizing: border-box;
}

.about-us-logo-img img {
    max-width: 250px;
    height: auto;
    filter: brightness(0) invert(1);
    /* Force pure white */
    margin: 0 auto 2rem auto !important;
    display: block !important;
}

.about-us-logo {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 2rem 0;
    letter-spacing: 0.02em;
    font-family: inherit;
    color: #ffffff !important;
    /* Force white */
}

.about-us-title {
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 2rem 0;
    letter-spacing: 0.05em;
}

.about-us-desc {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 0 3rem 0;
    opacity: 0.9;
}

.about-us-link {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.about-us-link i {
    transition: transform 0.3s ease;
}

.about-us-link:hover {
    gap: 1rem;
    border-bottom-color: #fff;
}

.about-us-link:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .about-us-container {
        flex-direction: column;
    }

    .about-us-image-wrapper,
    .about-us-content {
        width: 100%;
        flex: auto;
    }

    .about-us-image-wrapper {
        height: 60vh;
        /* Prominent image on mobile */
    }

    .about-us-content {
        padding: 3rem 1.5rem;
    }

    .about-us-logo {
        font-size: 2.5rem;
    }
}

/* 
   Breadcrumbs V2 Refinements
   Requested: Remove margins, custom padding, tighter separator
*/
.pdp-breadcrumbs-v2 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.pdp-breadcrumbs-v2.product-page-breadcrumb .breadcrumb-container {
    padding: 0 16px 16px 0 !important;

}


.pdp-breadcrumbs-v2 .breadcrumb-container {
    padding: 16px 16px 0 16px !important;
    /* Add right padding */
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    width: 100%;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    max-width: calc(100vw - 34px);
}

/* Ensure items don't shrink */
.pdp-breadcrumbs-v2 .breadcrumb-item {
    flex-shrink: 0;
    white-space: nowrap;
}

.pdp-breadcrumbs-v2 .breadcrumb-container::-webkit-scrollbar {
    display: none;
}

.pdp-breadcrumbs-v2 li.breadcrumb-item::after {
    margin-left: 4px !important;
    margin-right: 4px !important;
}

.pdp-breadcrumbs-v2 .breadcrumb-item,
.pdp-breadcrumbs-v2 .breadcrumb-item a {
    font-weight: 400;
    line-height: 160%;
    letter-spacing: .2px;
}

/* Shop Page Header Styling */
/* Shop Page Header Styling */
.shop-page-header {
    margin: 30px 16px 24px 16px !important;
}

.shop-page-header .page-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    /* Request: 1.5rem */
    font-weight: 400;
    /* Request: 400 */
    line-height: 1.1;
    color: var(--primary-black);
    text-align: left;
    margin: 0;
}

.shop-page-header .term-description {
    font-size: 13px;
    font-weight: 300;
    font-family: var(--font-heading);
    margin-top: 8px;
    line-height: 1.5;
}

.shop-page-header .term-description p {
    margin-bottom: 0px;
}

/* Shop Category Scroll Styling */
.category-nav-scroll-container {
    width: 100%;
    margin-bottom: 2rem;
    padding: 0 16px;
    /* Match shop header margin */
    overflow: hidden;
    /* Hide outer overflow */
}

.category-nav-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* smooth scroll ios */
    white-space: nowrap;
    padding-bottom: 5px;
    /* space for scroll bar if visible */
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

.category-nav-scroll::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.cat-pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 12px;
    border: 1px solid #e5e5e5;
    background-color: var(--white);
    color: #000000;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    font-family: var(--font-ui);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.cat-pill-btn:hover {
    border-color: #999;
}

.cat-pill-btn.active {
    border-color: var(--primary-black);
    font-weight: 400;
    /* Request: font-weight 400 */
    background-color: var(--white);

}

/* Shop Sub Header (Size & Count) */
.shop-sub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    margin-bottom: 12px;
    position: relative;
    z-index: 20;
    /* Ensure dropdown goes over content */
}

.product-count-minimal {
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-black);
}

/* Minimal Dropdown Filter */
.size-filter-minimal {
    position: relative;
    display: none;
    /* User requested to hide size selector for now */
}

.minimal-dropdown {
    position: relative;
    display: inline-block;
}

.minimal-dropdown-toggle {
    background: none;
    border: none;
    padding: 0;
    /* Minimal look */
    font-family: var(--font-ui);
    font-size: 12px;
    /* Match cat pills */
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-black);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.minimal-dropdown-toggle i {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.minimal-dropdown:hover .minimal-dropdown-toggle i {
    transform: rotate(180deg);
}

.minimal-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    background: var(--white);
    border: 1px solid #e5e5e5;
    padding: 8px 0;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    z-index: 100;
}

.minimal-dropdown:hover .minimal-dropdown-menu,
.minimal-dropdown-menu:hover {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.minimal-dropdown-menu .dropdown-item {
    display: block;
    padding: 8px 16px;
    font-family: var(--font-ui);
    font-size: 12px;
    color: var(--primary-black);
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.2s;
}

.minimal-dropdown-menu .dropdown-item:hover,
.minimal-dropdown-menu .dropdown-item.active {
    background-color: #f5f5f5;
    font-weight: 500;
}

/* Ensure Responsive Grid with User Request Gaps */
@media (max-width: 768px) {
    ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        row-gap: 30px !important;
        column-gap: 1px !important;
    }
}

/* Hide In-Stock Status Message */
.stock.in-stock {
    display: none !important;
}

/* Custom Review Star Styling */
.woocommerce .star-rating::before {
    display: none !important;
}

.star {
    color: #e0e0e0;
}

.star.filled {
    color: #ffc107;
}


/* Review Section Styling */
.review-header {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.review-section-title {
    font-size: 20px;
    font-weight: 300;
    margin: 0;
    font-family: var(--font-body);
    text-transform: capitalize;
    letter-spacing: .2px;
    width: 100%;
    text-align: center;
    flex: 0 0 100%;
}




.reviewer-meta h4 {
    font-weight: 400 !important;
}

/* Mobile Dot Pagination */
.pdp-mobile-dots {
    display: none;
}

@media (max-width: 1024px) {

    /* Ensure parent stack is relative */
    .pdp-media-stack {
        position: relative;
    }

    .pdp-mobile-dots {
        display: flex;
        justify-content: center;
        gap: 6px;
        /* Overlay Positioning */
        position: absolute;
        bottom: 16px;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        z-index: 20;
        pointer-events: none;
        margin: 0;
    }

    .pdp-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.5);
        /* Semi-transparent white for better contrast on images */
        backdrop-filter: blur(2px);
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
        transition: all 0.2s ease;
    }

    .pdp-dot.active {
        background-color: #ffffff;
        /* Active white */
        transform: scale(1.2);
        opacity: 1;
    }
}

/* ------------------------------------------------------------
 * TOAST NOTIFICATION
 * ------------------------------------------------------------ */
.kalitho-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background-color: #111;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    font-family: var(--font-ui, sans-serif);
    font-size: 14px;
    font-weight: 500;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

.kalitho-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.kalitho-toast svg {
    stroke: #fff;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Disable default WooCommerce messages */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    display: none !important;
}

/* Specific Section SVG Arrow Icons Override */
.hero-cta svg.lucide-arrow-right,
.gender-arrow svg.lucide-arrow-right,
.summer-btn svg.lucide-arrow-right,
.about-us-link svg.lucide-arrow-right {
    color: #fff !important;
    stroke: #fff !important;
}

.gender-card:hover .gender-arrow svg.lucide-arrow-right {
    color: #000 !important;
    stroke: #000 !important;
}

/* Trust Elements Banner */
.trust-banner-section {
    width: 100%;
    margin-bottom: 2rem;
}

.trust-banner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.trust-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-primary);
}

.trust-desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

@media (max-width: 768px) {
    .trust-banner {
        grid-template-columns: repeat(3, 1fr);
        padding: 2rem 0.5rem;
        gap: 0.5rem;
    }

    .trust-item {
        gap: 0.25rem;
    }

    .trust-icon svg {
        width: 24px;
        height: 24px;
    }

    .trust-text {
        font-size: 0.75rem;
        line-height: 1.2;
    }

    .trust-desc {
        font-size: 0.65rem;
        line-height: 1.2;
    }
}