@font-face {
    font-family: "Blogger Sans";
    font-style: normal;
    font-display: swap;
    src: url(../fonts/bs.ttf) format("truetype");
}

:root {
    --font-serif: 'Blogger Sans', serif;
    --font-sans: 'Blogger Sans', sans-serif;
    --color-black: #1a1a1a;
    --color-grey: #f5f5f5;
    --nav-transition-timing: cubic-bezier(.4, 0, .2, 1);
    --nav-transition-duration: 0.4s;
}

/* --- RESET & BASE --- */
body {
    font-family: var(--font-sans);
    color: var(--color-black);
    background-color: #fff;
    padding-top: 60px;
    /* Space for fixed navbar */
    overflow-x: hidden;
    /* Prevent horizontal scroll from galleries/animations */
}

h1,
h2,
h3,
h4,
h5,
.brand-font {
    font-family: var(--font-serif);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

a:hover {
    color: #000;
}

/* --- UTILITIES --- */
.bg-white-glass {
    background: #ffffffbb;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.bg-dark-glass {
    background: #000000bb;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.bg-glass {
    background: #ffffff99;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.null-opacity {
    opacity: 0%;
}

#search-button {
    transition: all 0.3s ease;
}

.promo-banner {
    background: #1a1a1a;
    color: #fff;
    padding: 10px 0;
    text-align: center;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.lead {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.display-4 {
    font-weight: 700;
    letter-spacing: -1px;
}

/* --- HEADER / NAVIGATION --- */
.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    transition: all 0.3s ease;
    isolation: isolate;
}

.header-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #ffffffcc;
    backdrop-filter: blur(9px);
    z-index: -1;
    pointer-events: none;
}

#mobileSidebar {
    max-width: 80vw;
}

/* Top Row */
.top-nav {
    padding: 10px 0;
    height: 60px;
    display: flex;
    align-items: center;
}

.main-logo {
    font-size: 1.8rem;
    letter-spacing: 3px;
    font-weight: 600;
    text-transform: uppercase;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 2;
    display: inline-block;
}

.main-logo::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 5px;
    left: 0;
    background-color: #1a1a1a;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.main-logo:hover::after {
    transform: scaleX(1);
}

/* Secondary Nav */
.secondary-nav {
    height: 60px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-gender-link {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 20px;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.nav-gender-link.active {
    cursor: default;
}

.nav-gender-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -1px;
    left: 0;
    background-color: #1a1a1a;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.nav-gender-link:hover::after {
    transform: scaleX(1);
}

.nav-gender-link.active:hover::after {
    transform: scaleX(0) !important;
}

.cat-link {
    color: #555;
    font-size: 0.9rem;
    margin-right: 20px;
    transition: color 0.2s;
}

.cat-link:hover {
    color: #000;
}

/* Search In-Nav */
.big-search-container {
    transition: opacity 0.3s ease;
}

#subcat-desktop-search-bar {
    transition: all 0.8s ease;
    border: 1px solid #e0e0e0;
    background: #a6a6a611;
    background: linear-gradient(75deg, rgba(166, 166, 166, 0.02) 0%, rgba(92, 92, 92, 0.02) 33%, rgba(92, 92, 92, 0.03) 66%, rgba(166, 166, 166, 0.02) 100%);
    background-size: 250% 100%;
    background-position: left center;
}

#subcat-desktop-search-bar.shadow-sm-2 {
    background-position: right center;
    border: 1px solid #55555555;
}

#subcat-desktop-search-bar:focus,
#subcat-desktop-search-bar:hover,
#subcat-desktop-search-bar:active {
    background-position: right center;
    border: 1px solid #000000bb;
    box-shadow: 0 0 4px rgba(0, 0, 0, 1) !important;
}

/* TBE */
.search-input-main {
    background: #f8f8f800;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 6px 20px;
    font-size: 1.15rem;
    width: 22vw;
    outline: none;
    transition: all 0.4s ease;
}

.search-input-main::placeholder {
    color: #000;
}

.search-input-main:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 75%, rgba(255, 255, 255, 0.25) 100%);
    border-color: #666;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.25), 0 4px 6px rgba(0, 0, 0, 0.05);
    cursor: text;
}

.search-input-main:focus {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 75%, rgba(255, 255, 255, 0.5) 100%);
    border-color: #000000bb;
    box-shadow: 0 0 4px rgba(0, 0, 0, 1) !important;
    width: 28vw;
}

.dropdown-item.sort-option.active {
    color: #000;
    font-weight: bold;
}

#top-search-trigger {
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

/* Scrolled State */
body.scrolled .secondary-nav {
    height: 0;
    padding: 0;
    border-bottom: none;
}

body.scrolled .header-wrapper {
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.05);
}

body.scrolled #top-search-trigger {
    display: inline-block;
    opacity: 1;
}

#mobile-category-search {
    transition: all 0.3s ease;
    overflow: hidden;
    max-height: 100px;
    /* Allows enough space for content */
    opacity: 1;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

body.scrolled #mobile-category-search {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    pointer-events: none;
}

/* Dropdowns */
.dropdown-menu {
    border-radius: 0;
    border: 1px solid #00000035;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.favorites-dropdown-menu,
.bag-dropdown-menu,
.account-dropdown-menu {
    width: 350px;
    padding: 20px;
}

.bag-item-img {
    width: 60px;
    height: 80px;
    object-fit: cover;
}

/* --- OFFCANVAS (Mobile) --- */
.offcanvas {
    border-left: none;
    font-family: var(--font-sans);
}

.offcanvas-header-search {
    padding: 10px 10px 0px 10px;
    font-size: 1.15rem;
}

/* Sliding Logic */
.nav-slider-wrapper {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.nav-slider-container {
    display: flex;
    width: 200%;
    /* Two panes */
    height: 100%;
    transition: transform var(--nav-transition-duration) var(--nav-transition-timing);
}

.nav-slider-container.is-submenu-active {
    transform: translateX(-50%);
}

.pane-main,
.pane-sub {
    width: 50%;
    height: 100%;
    overflow-y: auto;
    padding: 20px;
}

.pane-sub {
    background: #fff;
}

.back-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-search-input {
    background: #f8f8f800;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 6px 20px;
    font-size: 1.15rem;
    width: 100%;
    height: 45px;
    outline: none;
    transition: all 0.6s ease;
}

.mobile-search-input::placeholder {
    color: #000;
}

btn-close:focus {
    box-shadow: none;
}

.mobile-search-input:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 75%, rgba(255, 255, 255, 0.25) 100%);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.25), 0 4px 6px rgba(0, 0, 0, 0.05);
    border-color: #666;
    cursor: text;
}

.mobile-search-input:focus {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 75%, rgba(255, 255, 255, 0.5) 100%);
    box-shadow: 0 0 4px rgba(0, 0, 0, 1) !important;
    border-color: #000000bb;
}

.mobile-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: #1a1a1a;
    font-weight: 400;
    font-size: 1.1rem;
    transition: all 0.2s;
}

.mobile-nav-link i {
    font-size: 0.8rem;
    color: #ccc;
    transition: transform 0.2s;
}

.mobile-nav-link:hover {
    color: #000;
}

.mobile-nav-link:hover i {
    transform: translateX(3px);
    color: #000;
}

.mobile-profile-section {
    padding: 24px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    margin: 20px 0;
}

.user-avatar-small {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.mobile-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    padding-top: 10px;
    margin-bottom: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* --- FOOTER --- */
footer {
    background-color: #fcfcfc;
    border-top: 1px solid #eee;
    padding: 80px 0 30px 0;
    font-size: 0.9rem;
    color: #555;
}

footer h6 {
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

footer ul li {
    margin-bottom: 10px;
}

footer a:hover {
    text-decoration: underline;
    color: #000;
}


/* --- COMPONENTS & UI --- */

/* Buttons */
.btn-black {
    background-color: #00000095;
    color: #fff;
    border: 1px solid #00000075;
    width: 100%;
    padding: 10px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border-radius: 0;
    transition: all 0.4s;
}

.btn-black:hover {
    background-color: #000000dd;
    color: #fff;
}

.btn-nav-black {
    background-color: #00000015;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.btn-nav-black:hover {
    background-color: #00000025;
    border: 1px solid #00000075;
}

.btn-circle-hover {
    position: relative;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 1;
}

.btn-circle-hover::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid #000;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.6);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.2s;
}

.btn-circle-hover:hover::after {
    opacity: 1;
    transform: scale(1);
}

.btn-circle-hover:hover i {
    color: #000;
}

/* Forms (Unified) */
.form-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #777;
    margin-bottom: 8px;
}

.form-control,
.form-select {
    border: 1px solid #e0e0e0;
    padding: 12px 15px;
    /* Unified padding */
    border-radius: 0;
    background-color: #fcfcfc;
    /* Unified bg */
    font-size: 0.95rem;
    transition: all 0.2s;
}

.form-control:focus,
.form-select:focus {
    border-color: #000;
    box-shadow: none;
    background-color: #fff;
}

/* Product Cards */
.product-grid-card {
    position: relative;
    cursor: pointer;
    height: 100%;
}

.product-img-wrap {
    position: relative;
    overflow: hidden;
    background: #f9f9f9;
    margin-bottom: 12px;
    /* Aspect ratio hack - 3:4 */
    padding-bottom: 133%;
    transition: all 0.8s ease;
}

.product-img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s ease !important;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-grid-card:hover .product-img-wrap img {
    transform: scale(1.04);
}

.wishlist-icon-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.product-grid-card:hover .wishlist-icon-overlay {
    opacity: 1;
}

.wishlist-icon-overlay:hover {
    background: #fff;
    color: #dc3545;
}


/* --- PAGE: ABOUT --- */
.img-editorial {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 500px;
}

.value-card {
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.quote-section {
    background-color: #f9f9f9;
    padding: 80px 0;
    text-align: center;
}

.quote-text {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-style: italic;
    line-height: 1.4;
}

.email-form-control {
    background: #55555555;
}

.email-form-control:active,
.email-form-control:focus {
    background: #88888888;
}

.email-form-control::placeholder {
    color: #f9f9f9;
}

/* --- PAGE: CATEGORY --- */
.breadcrumb-item+.breadcrumb-item::before {
    content: ">";
    font-size: 0.8rem;
}

.category-tabs-wrapper {
    top: 60px;
    z-index: 900;
}

@media (min-width: 992px) {
    .category-tabs-wrapper {
        top: 70px;
        z-index: 900;
    }
}

.breadcrumb a {
    font-size: 0.85rem;
    color: #777;
}

.breadcrumb a:hover {
    color: #000;
}

.sidebar-category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    color: #555;
    font-size: 0.95rem;
    border-bottom: 1px solid transparent;
}

.sidebar-category-link:hover {
    color: #000;
}

.sidebar-category-link.active {
    font-weight: 700;
    color: #000;
}

.sidebar-count {
    font-size: 0.8rem;
    color: #999;
}

/* Filter Pills */
.filter-scroll-container {
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 5px;
    /* Collapse transition setup (Mobile) */
    transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
}

/* Mobile specific collapse behavior */
@media (max-width: 767.98px) {
    #category-mobile-nav .filter-scroll-container {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        margin-bottom: 0 !important;
        /* Override template margins if needed */
        pointer-events: none;
    }

    #category-mobile-nav .filter-scroll-container.expanded {
        max-height: 100px;
        /* Enough for one row + padding */
        opacity: 1;
        margin-bottom: 1rem !important;
        pointer-events: auto;
        overflow-x: auto;
        /* Re-enable scroll */
    }
}

.filter-scroll-container.active {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}

.filter-scroll-container::-webkit-scrollbar {
    display: none;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    padding: 8px 20px;
    font-size: 0.9rem;
    color: #333;
    background: #fff;
    margin-right: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-pill:hover {
    border-color: #000;
}

.filter-pill i {
    font-size: 0.7rem;
    margin-left: 8px;
}

.sort-select {
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: right;
    cursor: pointer;
    outline: none;
}

/* --- PAGE: CHECKOUT --- */
.payment-method-card {
    border: 1px solid #000;
    background-color: #f9f9f9;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: default;
}

.payment-check {
    width: 24px;
    height: 24px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-summary {
    background-color: #f9f9f9;
    padding: 30px;
    position: -webkit-sticky;
    position: sticky;
    top: 160px;
}

.summary-item-img {
    width: 70px;
    height: 90px;
    object-fit: cover;
}

.checkout-total-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #555;
}

.checkout-total-final {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #ddd;
    padding-top: 15px;
    margin-top: 15px;
    font-weight: 700;
    font-size: 1.2rem;
    color: #000;
}


/* Checkout Specific Styles */
.checkout-step-number {
    width: 30px;
    height: 30px;
    background: #000;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 0.9rem;
}

/* Selectable Address Card Styling */
.checkout-address-selection-label {
    cursor: pointer;
    width: 100%;
}

.checkout-address-selection-input:checked+.checkout-address-card {
    border: 2px solid #000;
    background-color: #f8f9fa;
}

.checkout-address-card {
    border: 1px solid #eee;
    padding: 1.5rem;
    transition: all 0.2s;
    height: 100%;
    position: relative;
}


.checkout-confirmation-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    animation: orderScaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.checkout-confirmation-icon i {
    font-size: 2.5rem;
    animation: orderCheckDraw 0.5s 0.3s ease-out both;
}

@keyframes orderScaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes orderCheckDraw {
    from {
        transform: scale(0) rotate(-45deg);
        opacity: 0;
    }

    to {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

.checkout-address-card:hover {
    border-color: #ccc;
}

/* Hide the actual radio button visually but keep it accessible */
.checkout-address-selection-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* --- Navigation bar icon --- */
#account-component {
    font-size: 1.3rem;
}

/* --- PAGE: CONTACT --- */
.contact-info-box {
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.contact-info-box:last-child {
    border-bottom: none;
}

.contact-icon {
    font-size: 1.2rem;
    margin-right: 15px;
}

.map-container {
    width: 100%;
    height: 400px;
    filter: grayscale(100%) invert(5%) contrast(90%);
    transition: filter 0.5s;
}

.map-container:hover {
    filter: grayscale(0%);
}

/* --- PAGE: HELP --- */
.help-hero {
    background-color: #f9f9f9;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 60px;
}

.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-icon-input {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.help-search-input {
    width: 100%;
    padding: 15px 15px 15px 50px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.help-search-input:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.topic-card {
    border: 1px solid #eee;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    cursor: pointer;
    background: #fff;
}

.topic-card:hover {
    transform: translateY(-5px);
    border-color: #000;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.topic-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.accordion-item {
    border: none;
    border-bottom: 1px solid #eee;
}

.accordion-button {
    padding: 20px 0;
    font-weight: 700;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: #000;
    background: transparent;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    color: #000;
    background: transparent;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: scale(0.8);
}

.accordion-body {
    padding: 0 0 20px 0;
    color: #555;
    line-height: 1.6;
}

.contact-cta {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0;
    text-align: center;
    margin-top: 80px;
}

/* --- PAGE: PRODUCT --- */
.product-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.gallery-item {
    position: relative;
    background-color: #f4f4f4;
    cursor: zoom-in;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 3/4;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

@media (max-width: 991px) {
    .product-gallery-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 12px;
        padding-bottom: 0;
        margin-right: -12px;
    }

    .gallery-item {
        min-width: 85%;
        scroll-snap-align: center;
        border-radius: 4px;
        aspect-ratio: 3/4;
    }

    .product-gallery-grid::-webkit-scrollbar {
        display: none;
    }

    .product-gallery-grid {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}

.product-info-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 160px;
    height: fit-content;
}

.back-nav-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: 500;
}

.back-nav-link:hover {
    color: #000;
    text-decoration: underline;
}

.back-nav-link i {
    margin-right: 6px;
    font-size: 0.8rem;
}

.btn-size-selector {
    border: 1px solid #e5e5e5;
    color: #1a1a1a;
    background: #fff;
    padding: 12px 0;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-size-selector:hover {
    border-color: #000;
}

.btn-size-selector.active {
    border-color: #000;
    background-color: #1a1a1a;
    color: #fff;
}

.btn-size-selector.disabled {
    background-color: #f9f9f9;
    color: #ccc;
    border-color: #f0f0f0;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Swiper Customization */
.product-gallery-wrapper .swiper {
    width: 100%;
    height: 100%;
}

/* Main Slider */
.mainProductSwiper {
    width: 100%;
}

.mainProductSwiper .swiper-slide {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3/4;
    /* Default for desktop */
}

@media (max-width: 576px) {
    .mainProductSwiper .swiper-slide {
        aspect-ratio: 1/1;
        /* Square on mobile for better space usage, or 4/5 */
    }

    .desktop-add-to-cart {
        display: none !important;
    }
}

.mainProductSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Minimalist Navigation Arrows */
.swiper-button-next,
.swiper-button-prev {
    color: #1a1a1a !important;
    background: rgba(255, 255, 255, 0.5);
    width: 35px !important;
    height: 35px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50%;
    border: 1px solid #00000045;
    padding: 10px;
    backdrop-filter: blur(5px);
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s ease;
}

.swiper-button-next {
    right: 20px !important;
}

.swiper-button-prev {
    left: 20px !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 0.7rem !important;
}

.product-gallery-wrapper:hover .swiper-button-next,
.product-gallery-wrapper:hover .swiper-button-prev {
    opacity: 1;
}

/* Thumbnail Slider */
.thumbnailSwiper {
    padding: 10px 0;
    width: 100%;
}

.thumbnailSwiper .swiper-slide {
    aspect-ratio: 3 / 4;
    height: auto;
    opacity: 0.4;
    cursor: pointer;
    transition: opacity 0.3s ease;
    border: 1px solid transparent;
}

.thumbnailSwiper .swiper-slide:hover {
    opacity: 0.7;
}

.thumbnailSwiper .swiper-slide-thumb-active {
    opacity: 1;
}

.thumbnailSwiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


@media (min-width: 992px) {
    .thumbnailSwiper .swiper-slide {
        height: auto !important;
        aspect-ratio: 1/1;
    }

}

.thumbnailSwiper .swiper-slide img {
    cursor: pointer;
    border: 1px solid transparent;
}

/* Sticky Gallery on Desktop */
@media (min-width: 992px) {
    .product-gallery-sticky {
        position: -webkit-sticky;
        position: sticky;
        /* Offset from top */
        z-index: 5;
        /* Lower z-index so it doesn't overlap later content aggressively */
        margin-bottom: 2rem;
    }
}

/* Mobile Bottom Bar */
.product-mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: none;
    /* Hidden on desktop */
    border-top: 1px solid #eee;
}

@media (max-width: 991.98px) {
    .product-mobile-bottom-bar {
        display: block;
        padding-bottom: max(15px, env(safe-area-inset-bottom));
    }

    .desktop-add-to-cart {
        display: none !important;
    }

    /* Adjust gallery padding on mobile */
    .product-gallery-wrapper {
        margin-bottom: 2rem;
    }
}

/* General Refinements */
.brand-font {
    letter-spacing: -0.5px;
}

.text-muted {
    color: #6c757d !important;
}

.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: #000;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, .125);
}

/* Size Selector Tweaks */
.btn-size-selector {
    border: 1px solid #e9ecef;
    background: #fff;
    color: #1a1a1a;
    transition: all 0.2s;
}

.btn-size-selector:hover {
    border-color: #1a1a1a;
}

.btn-size-selector.active {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

/* Size Guide Modal Tweaks */
#sizeGuideModal .modal-content {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: none;
}

#sizeGuideModal .table {
    background-color: transparent !important;
}

#sizeGuideModal .table tr,
#sizeGuideModal .table td,
#sizeGuideModal .table th {
    background-color: transparent !important;
    font-size: 0.9rem;
    color: #333;
}

#sizeGuideModal .table thead {
    border-bottom: 1px solid #1a1a1a !important;
}

#sizeGuideModal .table tr:nth-child(even) td {
    background-color: rgba(0, 0, 0, 0.02) !important;
}



/* Breadcrumb Navigation */
.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    position: sticky;
    top: 60px;
    z-index: 10;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.product-breadcrumb::-webkit-scrollbar {
    display: none;
}


.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.breadcrumb-link {
    font-size: 0.75rem;
    font-weight: 600;
    color: #666;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.breadcrumb-link:hover {
    color: #000;
}

.breadcrumb-separator {
    color: #ccc;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.breadcrumb-current {
    font-size: 0.75rem;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

@media (min-width: 992px) {
    .breadcrumb-link {
        font-size: 0.8rem;
    }

    .breadcrumb-current {
        font-size: 0.8rem;
    }
}


.product-card-actions {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
}

.product-action-btn {
    background: transparent;
    border: none;
    padding: 0;
    color: #000;
    font-size: 1.1rem;
    cursor: pointer;
    transition: color 0.2s;
    width: 24px;
    text-align: right;
}

/* --- PAGE: TERMS / LEGAL --- */
.terms-nav-bar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0e0e0;
    transition: top 0.3s ease;
}

.scrolling-wrapper-flexbox {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0px;
}

.scrolling-wrapper-flexbox::-webkit-scrollbar {
    display: none;
}

.terms-nav-link {
    flex: 0 0 auto;
    margin-right: 25px;
    padding: 12px 0;
    color: #999;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.terms-nav-link:last-child {
    margin-right: 0;
}

.terms-nav-link:hover {
    color: #000;
}

.terms-nav-link.active {
    color: #000;
    border-bottom-color: #000;
    font-weight: bold;
}

.legal-header {
    margin-bottom: 60px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.legal-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 160px;
    height: calc(100vh - 180px);
    overflow-y: auto;
}

.legal-nav-link {
    display: block;
    padding: 8px 0;
    color: #777;
    text-decoration: none;
    font-size: 0.95rem;
    border-left: 2px solid transparent;
    padding-left: 15px;
    transition: all 0.2s;
}

.legal-nav-link:hover,
.legal-nav-link.active {
    color: #000;
    border-left-color: #000;
    font-weight: 600;
}

.legal-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
}

.legal-content h4 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.legal-content ul {
    margin-bottom: 1.5rem;
    color: #444;
    line-height: 1.7;
}

@media (max-width: 991px) {
    .legal-sidebar {
        position: static;
        height: auto;
        margin-bottom: 40px;
        border-bottom: 1px solid #eee;
        padding-bottom: 20px;
    }

    .legal-nav-link {
        border-left: none;
        padding-left: 0;
        display: inline-block;
        margin-right: 15px;
    }
}

/* --- MOBILE UX IMPROVEMENTS --- */

/* Mobile Gender Nav */
.mobile-gender-nav .mobile-gender-link {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 10px;
    white-space: nowrap;
}

.mobile-gender-nav .mobile-gender-link.active {
    color: #1a1a1a;
    border-bottom: 2px solid #1a1a1a;
}

/* Mobile Search Header */
.mobile-search-input-header {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ddd;
    padding: 8px 10px 8px 40px;
    outline: none;
    font-size: 0.95rem;
    transition: all 0.3s;
    background: transparent;
}

.mobile-search-input-header:focus {
    border-bottom-color: #000;
}

/* --- CUSTOM DROPDOWNS --- */
.custom-dropdown {
    position: relative;
    display: inline-block;
}

.custom-dropdown-trigger {
    background: transparent;
    border: 1px solid #1a1a1a;
    /* Default border */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.9rem;
    width: 100%;
}

.custom-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    min-width: 200px;
    /* Min width for content */
    background: #fff;
    border: 1px solid #e0e0e0;
    margin-top: 5px;
    display: none;
    /* Hidden by default */
    z-index: 1050;
    max-height: 250px;
    overflow-y: auto;
    animation: fadeIn 0.2s ease;
}

/* Open State */
.custom-dropdown.show .custom-dropdown-menu {
    display: block;
}

.custom-dropdown.show .custom-dropdown-trigger i {
    transform: rotate(180deg);
}

.custom-dropdown-item {
    padding: 10px 15px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #333;
    transition: background 0.2s;
}

.dropdown-item {
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.dropdown-item:active {
    background-color: #aaaaaabb;
}

.dropdown-item:hover {
    background-color: #00000025;
    border: 1px solid #00000075;
}

.custom-dropdown-item:hover {
    background: #f5f5f5;
    color: #000;
}

.custom-dropdown-item.selected {
    font-weight: 700;
    background: #f9f9f9;
}

/* Filter Pill Dropdown Overrides */
.filter-dropdown-trigger {
    border-radius: 30px;
    padding: 8px 20px;
    border: 1px solid #e0e0e0;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    margin-right: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 100px;
}

.filter-dropdown-trigger:hover,
.custom-dropdown.show .filter-dropdown-trigger {
    border-color: #000;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- AUTH MODAL --- */
.auth-tab-nav {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 0;
}

.auth-tab-btn {
    flex: 1;
    padding: 15px 20px;
    background: transparent;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.auth-tab-btn:hover {
    color: #666;
}

.auth-tab-btn.active {
    color: #1a1a1a;
}

.auth-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: #1a1a1a;
}

.auth-tab-content {
    animation: fadeSlideIn 0.3s ease;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.auth-divider {
    position: relative;
    text-align: center;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #eee;
}

.auth-divider span {
    position: relative;
    z-index: 1;
}

.password-toggle {
    padding: 0;
    border: none;
    background: transparent;
    text-decoration: none;
    margin-right: 10px;
}

.password-toggle:hover {
    color: #1a1a1a !important;
}

/* --- ACCOUNT PAGE --- */

@media (min-width: 992px) {
    .acc-account-sidebar .account-nav-link {
        padding: 10px 15px;
        display: flex;
        align-items: center;
        color: #555;
        text-decoration: none;
        /* Optional: rounds the corners */
        transition: all 0.2s;
    }

    .acc-account-sidebar .account-nav-link:hover {
        background-color: #f8f9fa;
        color: #000;
    }

    .acc-account-sidebar .account-nav-link.active {
        background-color: #000000bb;
        color: #fff !important;
    }

    /* Invert the icon/text color when active if needed */
    .acc-account-sidebar .account-nav-link.active i {
        color: #fff;
    }
}

/* Cart Specific Styles */

/* Cart Specific Styles */
.quantity-control input::-webkit-outer-spin-button,
.quantity-control input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-control input {
    -moz-appearance: textfield;
    background: transparent;
}

.acc-action-btn:hover {
    text-decoration: underline !important;
}

.cart-item-row img {
    object-fit: cover;
    height: 120px;
    width: 100%;
}

.sidebar-top-sticky {
    position: sticky;
    top: 60px;
    z-index: 5;
}

.account-sidebar {
    position: sticky;
    top: 160px;
}

.account-nav-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s;
    margin-bottom: 5px;
}

.account-nav-link:hover {
    background: #f5f5f5;
    color: #1a1a1a;
}

.account-nav-link.active {
    background: #1a1a1a;
    color: #fff;
}

.account-card {
    background: #f9f9f9;
    border: 1px solid #eee;
    padding: 30px;
    margin-bottom: 0;
}

.account-avatar {
    position: relative;
    width: 80px;
    height: 80px;
}

.account-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.account-avatar-edit {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 28px;
    background: #1a1a1a;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.2s;
}

.account-avatar-edit:hover {
    background: #333;
}

/* Address Cards */
.address-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    height: 100%;
    transition: all 0.2s;
}

.address-card:hover {
    border-color: #ccc;
}

.address-card-add {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    cursor: pointer;
    min-height: 180px;
}

.address-card-add:hover {
    color: #1a1a1a;
    border-color: #1a1a1a;
}

.address-card-add i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.address-label-btn.active {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

/* Order Cards */
.order-card {
    background: #fff;
    border: 1px solid #eee;
    margin-bottom: 15px;
    transition: all 0.2s;
}

.order-card:hover {
    border-color: #ccc;
}

.order-card-header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
}

.order-card-body {
    padding: 20px;
}

.order-item-img {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.order-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.order-status-processing {
    background: #fff3cd;
    color: #856404;
}

.order-status-shipped {
    background: #cce5ff;
    color: #004085;
}

.order-status-delivered {
    background: #d4edda;
    color: #155724;
}

.order-status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

/* Wishlist */
.wishlist-remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all 0.2s;
}

.wishlist-remove-btn:hover {
    background: #dc3545;
    color: #fff;
}

/* --- CART PAGE --- */
.cart-item {
    padding: 25px 0;
    border-bottom: 1px solid #eee;
}

.cart-item:first-child {
    padding-top: 0;
}

.cart-item-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 4px;
}

.cart-quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e0e0e0;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: #f5f5f5;
}

.qty-input {
    width: 50px;
    height: 36px;
    border: none;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    text-align: center;
    font-size: 0.9rem;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* --- SEARCH PAGE --- */
.search-hero {
    background: #f9f9f9;
    border-radius: 8px;
}

.page-link {
    color: #1a1a1a;
    border-color: #e0e0e0;
    padding: 10px 16px;
}

.page-link:hover {
    background: #f5f5f5;
    color: #1a1a1a;
    border-color: #ccc;
}

.page-item.active .page-link {
    background: #1a1a1a;
    border-color: #1a1a1a;
}

.page-item.disabled .page-link {
    color: #ccc;
}

/* --- QUICK VIEW MODAL --- */
.quick-view-gallery {
    background: #f5f5f5;
    height: 100%;
    min-height: 400px;
}

.quick-view-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.quick-view-thumbs {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
}

.quick-thumb {
    width: 50px;
    height: 65px;
    object-fit: cover;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.2s;
}

.quick-thumb:hover {
    opacity: 1;
}

.quick-thumb.active {
    border-color: #fff;
    opacity: 1;
}

.btn-size-selector-sm {
    min-width: 45px;
    padding: 8px 12px;
    font-size: 0.85rem;
    border: 1px solid #e5e5e5;
    color: #1a1a1a;
    background: #fff;
    transition: all 0.2s;
}

.btn-size-selector-sm:hover {
    border-color: #000;
}

.btn-size-selector-sm.active {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.btn-size-selector-sm.disabled {
    background: #f9f9f9;
    color: #ccc;
    border-color: #f0f0f0;
    text-decoration: line-through;
}

#subcat-mobile-search-bar {
    transition: all 0.8s ease;
    border: 1px solid #e0e0e0;
    background: #a6a6a611;
    background: linear-gradient(75deg, rgba(166, 166, 166, 0.02) 0%, rgba(92, 92, 92, 0.02) 33%, rgba(92, 92, 92, 0.03) 66%, rgba(166, 166, 166, 0.02) 100%);
    background-size: 250% 100%;
    background-position: left center;
}

#subcat-mobile-search-bar.shadow-sm-2 {
    background-position: right center;
    border-color: #55555555;
}

#subcat-mobile-search-bar:focus,
#subcat-mobile-search-bar:hover,
#subcat-mobile-search-bar:active {
    background-position: right center;
    border-color: #000000bb;
    box-shadow: 0 0 4px rgba(0, 0, 0, 1) !important;
}

#subcat-mobile-search-bar input {
    background: transparent !important;
}

#subcat-desktop-search-bar {
    transition: all 0.8s ease;
    border: 1px solid #e0e0e0;
    background: #a6a6a611;
    background: linear-gradient(75deg, rgba(166, 166, 166, 0.02) 0%, rgba(92, 92, 92, 0.02) 33%, rgba(92, 92, 92, 0.03) 66%, rgba(166, 166, 166, 0.02) 100%);
    background-size: 250% 100%;
    background-position: left center;
}

#subcat-desktop-search-bar.shadow-sm-2 {
    background-position: right center;
    border: 1px solid #55555555;
}

#subcat-desktop-search-bar:focus,
#subcat-desktop-search-bar:hover,
#subcat-desktop-search-bar:active {
    background-position: right center;
    border: 1px solid #000000bb;
    box-shadow: 0 0 4px rgba(0, 0, 0, 1) !important;
}

#subcat-desktop-search-bar input {
    background: transparent !important;
}

.shadow-sm-2 {
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

/* 1. Horizontal Sub-Category Rail */
.scrolling-wrapper-container {
    position: relative;
    margin-bottom: 20px;
    padding: 0 5px;
}

.scrolling-wrapper {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 15px;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.scrolling-wrapper::-webkit-scrollbar {
    display: none;
}

.cat-pill {
    flex: 0 0 auto;
    width: 90px;
    text-decoration: none;
    color: #000;
    text-align: center;
    transition: transform 0.2s ease;
}

.cat-pill:hover {
    transform: translateY(-3px);
    color: #000;
}

.cat-pill-img-wrap {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 8px auto;
    border: 2px solid transparent;
    background: #f4f4f4;
    transition: all 0.6s ease;
    filter: grayscale(0.7) contrast(0.8);
}

.cat-pill-img-wrap.shadow-sm-2 {
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.16) !important;
    filter: grayscale(0) contrast(1);
}

.cat-pill.active .cat-pill-img-wrap {
    border-color: transparent;
    padding: 1px;
    background-clip: content-box;
}

.cat-pill.active .cat-pill-img-wrap.shadow-sm-2 {
    border-color: #111111bb;
    padding: 1px;
    background-clip: content-box;
}

.cat-pill img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.cat-pill-title {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    display: block;
}

@media (min-width: 992px) {
    .cat-pill {
        width: 120px;
    }

    .cat-pill-img-wrap {
        width: 100px;
        height: 100px;
    }

    .cat-pill-title {
        font-size: 0.85rem;
    }
}

/* 2. Product Card */
.product-card {
    border: none;
    margin-bottom: 30px;
    background: transparent;
    cursor: pointer;
}

.product-img-container {
    position: relative;
    padding-bottom: 140%;
    overflow: hidden;
    background: #f0f0f0;
    margin-bottom: 15px;
}

.product-img-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.product-img-front {
    z-index: 2;
}

.product-img-back {
    z-index: 1;
    opacity: 0;
}

.product-card:hover .product-img-front {
    opacity: 0;
}

.product-card:hover .product-img-back {
    opacity: 1;
    z-index: 3;
}

.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    background: #fff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product-card:hover .wishlist-btn {
    opacity: 1;
}

.product-title {
    font-size: 0.95rem;
    color: #000;
    font-weight: 400;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
}


/* Meta Info Area - Where actions live now */
.product-meta {
    padding-right: 5px;
}

.product-brand {
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 2px;
    display: block;
}

.product-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.product-title {
    font-size: 0.9rem;
    color: #000;
    font-weight: 400;
    line-height: 1.3;
    text-decoration: none;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-weight: 700;
    font-size: 0.95rem;
    color: #000;
}

/* Action Buttons (Heart & Cart) - Next to Text */
.product-card-actions {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
}

.product-action-btn {
    background: transparent;
    border: none;
    padding: 0;
    color: #000;
    font-size: 1.1rem;
    cursor: pointer;
    transition: color 0.2s;
    width: 24px;
    text-align: right;
}

/* 3. Minimalist Sidebar & Filter Styles */
.product-sidebar-sticky {
    position: sticky;
    top: 120px;
    height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: 15px;
    scrollbar-width: thin;
}

/* Clean Search Input */
.search-input-group .input-group-text {
    background: transparent;
    border-right: none;
}

.search-input-group .form-control {
    border-left: none;
    box-shadow: none;
}

.search-input-group .form-control:focus {
    border-color: #ced4da;
}

/* Minimalist Accordion (No BG, clean lines) */
.accordion-flush .accordion-item {
    border: none;
    border-bottom: 1px solid #f0f0f0;
}

.subcategory-accordion-button {
    background-color: transparent !important;
    color: #000000bb !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    padding: 18px 0;
    box-shadow: none !important;
}

.subcategory-accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.subcategory-accordion-body {
    padding: 20px 0 20px 0;
}

/* Custom Checkboxes */
.subcategory-form-check-input:checked {
    background-color: #000000bb;
    border-color: #000;
}

.subcategory-form-check-input:focus {
    box-shadow: none;
    border-color: #000000bb;
}

.subcategory-form-check-label {
    cursor: pointer;
    user-select: none;
    font-size: 0.9rem;
    color: #444;
}

/* 4. Pagination */
.pagination .page-link {
    border: none;
    color: #888;
    margin: 0 5px;
    font-weight: 500;
    font-size: 0.9rem;
}

.pagination .page-link:hover {
    background: transparent;
    color: #000;
}

.pagination .page-item.active .page-link {
    background: transparent;
    color: #000;
    border-bottom: 2px solid #000;
    border-radius: 0;
    font-weight: 700;
}

/* 5. Mobile Sticky Bar (Aligned with product.php) */
.mobile-filter-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px;
    /* Aligned with product.php */
    border-top: 1px solid #eee;
    display: none;
    /* Hidden by default */
    gap: 8px;
    /* Aligned with Bootstrap gap-2 in product.php */
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
}

@media (max-width: 991.98px) {
    .mobile-filter-bar {
        display: flex;
        padding-bottom: max(15px, env(safe-area-inset-bottom));
    }
}

.btn-filter-mobile {
    flex: 1;
    border: 1px solid #eee;
    background: #ffffffbb;
    color: #000;
    padding: 10px;
    /* Aligned with btn-black in product.php/custom.css (was 12px) */
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    transition: all 0.2s;
}

.btn-filter-mobile.dark {
    background: #000000bb;
    color: #fff;
    border-color: #000;
}

/* 6. Sort Offcanvas Styles */
.sort-option-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    font-size: 0.95rem;
}

.sort-radio {
    width: 1.2em;
    height: 1.2em;
    border-color: #000;
    accent-color: #000;
}

/* Breadcrumb Navigation */
.subcat-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    position: sticky;
    top: 60px;
    z-index: 10;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.subcat-breadcrumb * {
    z-index: 1030 !important;
}

.subcat-breadcrumb::-webkit-scrollbar {
    display: none;
}

@media (min-width: 992px) {

    .breadcrumb-link {
        font-size: 0.8rem;
    }

    .breadcrumb-current {
        font-size: 0.8rem;
    }
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 991px) {
    .account-sidebar {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        margin-bottom: 20px;
        padding-bottom: 20px;
        border-bottom: 1px solid #eee;
    }

    .account-sidebar hr {
        display: none;
    }

    .account-nav-link {
        flex: 0 0 auto;
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    .account-card {
        padding: 20px;
    }

    .quick-view-gallery {
        min-height: 300px;
    }

    .quick-view-img {
        min-height: 300px;
    }
}

/* Account page account sidebar */
@media (max-width: 991.98px) {
    .acc-account-sidebar {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        /* Forces items onto one line */
        overflow-x: auto !important;

        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        /* Enables horizontal scrolling */
        overflow-y: hidden;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0;
        margin-bottom: 2rem;
        border-bottom: 1px solid #eee;
        scrollbar-width: none;
        /* Hides scrollbar in Firefox */
    }

    /* Hides scrollbar for Chrome, Safari and Opera */
    .acc-account-sidebar::-webkit-scrollbar {
        display: none;
    }

    .acc-account-sidebar .account-nav-link {
        flex: 0 0 auto !important;
        scroll-snap-align: start;
        /* Prevents buttons from shrinking */
        display: inline-flex !important;
        align-items: center;
        margin-bottom: 0 !important;
        padding: 10px 18px !important;
        border-radius: 0;
        border-bottom: 2px solid transparent !important;
        background: transparent !important;
        color: #555 !important;
    }

    .acc-account-sidebar .account-nav-link.active {
        color: #000 !important;
        border-bottom: 2px solid #000 !important;
    }

    /* Ensure icons and text stay side-by-side */
    .acc-account-sidebar .account-nav-link i {
        margin-right: 8px !important;
    }

    /* Remove the vertical spacing hr on mobile */
    .acc-account-sidebar hr {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .order-card-header {
        padding: 15px;
    }

    .order-card-body {
        padding: 15px;
    }

    .cart-quantity-selector {
        transform: scale(0.9);
        transform-origin: left;
    }
}

/* --- Letter Spacing Utility --- */
.letter-spacing-1 {
    letter-spacing: 1px;
}

/* --- GALLERY IMAGE EFFECT --- */
.has-lines {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;

    /* --- STATE 1: OUT OF FOCUS (Default) --- */
    /* 1. Desaturated */
    filter: grayscale(0.5) contrast(0.9);
    /* 2. Cut Corners */
    clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%);
    /* 3. Performance tweaks */
    will-change: clip-path, filter;
    transition:
        clip-path 1.6s cubic-bezier(0.19, 1, 0.22, 1),
        filter 0.8s ease !important;
}

/* Index page */
.promo-scroll {
    color: #fff;
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
}

.promo-text {
    display: inline-block;
    padding-left: 100%;
    animation: promoscroll 30s linear infinite;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes promoscroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* The Image itself */
.has-lines img,
.has-lines video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Zoomed out by default */
    transition: transform 1.6s cubic-bezier(0.19, 1, 0.22, 1),
        filter 0.8s ease !important;
}

/* --- STATE 2: IN FOCUS (.is-active) --- */

/* When active, the "tech" layer peels away to reveal the raw image */
.has-lines.is-active {
    /* 1. Full Color */
    filter: grayscale(0%) contrast(1);
    /* 2. Full Rectangle (Healed) */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 100%, 0 0);
}

.has-lines.is-active::after {
    /* Lines expand outwards and vanish */
    opacity: 0;
    border-color: rgba(255, 255, 255, 0);
}


/* Demo Containers */
.gallery-item {
    width: 90%;
    max-width: 500px;
    height: 60vh;
    margin: 10vh auto;
    /* Spacing to test scroll */
}

/* Visual Marker for the 45-55% zone (Debug only - remove in prod) */
.debug-zone {
    position: fixed;
    top: 45%;
    bottom: 45%;
    left: 0;
    width: 5px;
    background: red;
    z-index: 9999;
    opacity: 0.5;
    pointer-events: none;
}


/* ========== MOBILE-FIRST CATEGORY STYLES ========== */

/* Gender Tabs - Mobile Style */
.category-mobile-gender-tabs {
    display: flex;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 60px;
    z-index: 10;
}

.category-mobile-gender-tab {
    flex: 1;
    padding: 16px 10px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #666;
    border: none;
    border-bottom: 2px solid transparent;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.category-mobile-gender-tab:hover {
    color: #000;
}

.category-mobile-gender-tab.active {
    color: #000;
    border-bottom-color: #000;
}

/* Category List Row - Mobile Style */
.category-list {
    background: #fff;
}

.category-row {
    display: flex;
    align-items: center;
    padding: 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
}

.category-row:hover {
    background: #fafafa;
}

.category-row-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 20px;
}

.category-row-title {
    font-size: 1rem;
    font-weight: 400;
    color: #000;
    margin: 0;
}

.category-row-arrow {
    font-size: 1.2rem;
    color: #999;
}

.category-row-images {
    display: flex;
    gap: 0;
    height: 120px;
    width: 140px;
    flex-shrink: 0;
}

.category-row-images img {
    height: 100%;
    width: 70px;
    object-fit: cover;
}

/* Featured Category (Dark Background) */
.category-row.featured {
    background: #2d2d2d;
}

.category-row.featured:hover {
    background: #3d3d3d;
}

.category-row.featured .category-row-title {
    color: #fff;
}

.category-row.featured .category-row-arrow {
    color: rgba(255, 255, 255, 0.7);
}

/* ========== DESKTOP STYLES ========== */

/* Desktop Gender Tabs */
.category-desktop-gender-tabs {
    display: none;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.desktop-gender-tab {
    padding: 12px 40px;
    border: 2px solid #212529;
    background: transparent;
    color: #212529;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.desktop-gender-tab:hover,
.desktop-gender-tab.active {
    background: #212529;
    color: white;
}

/* Desktop Category Grid Cards */
.desktop-category-grid {
    display: none;
}

.clothing-type-card {
    position: relative;
    height: 320px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s ease;
}

.clothing-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.clothing-type-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.clothing-type-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
    color: white;
}

.clothing-type-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.clothing-type-count {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Desktop Hero Section */
.category-desktop-hero {
    display: none;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    padding: 60px 0;
    text-align: center;
}

.category-desktop-hero-title {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.category-desktop-hero-subtitle {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.category-desktop-section {
    display: none;
    padding: 60px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #666;
    margin-bottom: 2.5rem;
}

/* Mobile Hero */
.category-mobile-hero {
    padding: 30px 20px;
    text-align: center;
    background: #fff;
}

.category-mobile-hero-title {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.category-mobile-hero-subtitle {
    font-size: 0.9rem;
    color: #666;
    max-width: 300px;
    margin: 0 auto;
}

/* ========== RESPONSIVE BREAKPOINTS ========== */

@media (min-width: 992px) {

    .category-mobile-gender-tabs,
    .category-mobile-category-list,
    .category-mobile-hero,
    .category-designers-section {
        display: none !important;
    }

    .category-desktop-hero,
    .category-desktop-section,
    .category-desktop-gender-tabs,
    .desktop-category-grid {
        display: block;
    }

    .category-desktop-gender-tabs {
        display: flex;
    }
}


/* Collapse the mobile search with max-height so layout shifts when closed */
#mobile-top-search {
    position: sticky;
    top: 0;
    z-index: 1050;
    overflow: hidden;
    max-height: 0;
    /* collapsed */
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transition: max-height .22s ease, padding .22s ease, opacity .22s ease;
    will-change: max-height, opacity, padding;
}

#mobile-top-search .shadow-sm {
    background: linear-gradient(to left, rgba(54, 54, 54, 0.1), rgba(119, 119, 119, 0.05));
    border: 1px solid rgba(200, 200, 200, 0.3);
}

/* Expanded state when page is at top */
body.at-top #mobile-top-search {
    max-height: 72px;
    /* adjust to fit inner content */
    padding: .5rem 0;
    opacity: 1;
    pointer-events: auto;
}

/* small spacing for inner input container */
#mobile-top-search .position-relative {
    padding: 0 1rem;
}

#mobile-top-search .form-control {
    background-color: transparent !important;
}

/* hide on desktop for safety */
@media (min-width: 992px) {
    #mobile-top-search {
        display: none !important;
    }
}

/* Search Dropdown Styling */
.search-dropdown-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1000;
    margin-top: 10px;
    /* Slight gap from input */
    display: none;
    /* Hidden by default */
}

.search-dropdown-content {
    background: rgba(255, 255, 255, 0.78);
    /* High opacity white */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-height: 400px;
    overflow-y: auto;
}

/* sk Loading Animation */
.sk {
    background: #f0f0f0;
    background: linear-gradient(90deg, #f0f0f0 25%, #f8f8f8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.sk-img {
    width: 60px;
    height: 80px;
}

.sk-text {
    height: 12px;
    margin-bottom: 6px;
}

.sk-text.w-50 {
    width: 50%;
}

.sk-text.w-75 {
    width: 75%;
}

/* Product Result Hover Effect */
.search-product-item {
    transition: background-color 0.2s;
    cursor: pointer;
}

.search-product-item:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

/* ===== Scrollbar: Minimal White Theme ===== */

/* Firefox */
* {
    scrollbar-color: rgba(0, 0, 0, 0.6) transparent;
}

/* WebKit (Chrome, Edge, Safari) */
*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

*::-webkit-scrollbar-track {
    background: transparent;
}

*::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    border: 2px solid transparent;
    background-clip: content-box;
}

*::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

*::-webkit-scrollbar-corner {
    background: transparent;
}

.account-background {
    background-color: #f9f9f9;
    border: 1px solid #eee;
}

input[type="range"]::-webkit-slider-thumb {
    pointer-events: auto;
    width: 30px;
    height: 30px;
    -webkit-appearance: none;
    cursor: pointer;
    /* Debug: background: red; opacity: 0.5; */
}

input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    width: 30px;
    height: 30px;
    cursor: pointer;
    border: none;
}

/* Slider Logic: High Z-Index to bring active layer to front */
input[type="range"].on-top {
    z-index: 20 !important;
}

/* Ensure the track doesn't block clicks */
.slider-track-layer {
    pointer-events: none;
}



/* ============================================= */
/* ========== PREMIUM INDEX PAGE STYLES ========== */
/* ============================================= */

/* ===== HERO SECTION ===== */
.index-hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 600px;
    max-height: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: -60px;
    /* Offset navbar padding */
    max-width: 100vw;
}

.index-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.index-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 8s ease-out;
}

@media (hover: hover) {
    .index-hero:hover .index-hero-img {
        transform: scale(1);
    }
}

.index-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.6) 100%);
}

.index-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 40px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    max-width: 500px;
}

.index-hero-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    font-weight: 500;
}

.index-hero-title {
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 300;
    letter-spacing: 20px;
    margin: 0 0 15px;
    color: #fff;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.index-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    letter-spacing: 3px;
    font-weight: 300;
}

.index-hero-line {
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
    margin: 30px auto;
}

.index-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-decoration: none;
    padding: 15px 30px;
    border: 1px solid rgba(155, 155, 155, 0.5);
    transition: all 0.4s ease;
}

.index-hero-btn:hover {
    background: #fff;
    color: #1a1a1a;
    border-color: #fff;
}

.index-hero-btn i {
    transition: transform 0.3s ease;
}

.index-hero-btn:hover i {
    transform: translateX(5px);
}

.index-hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-align: center;
    animation: fadeInUp 1s ease 1.5s both;
}

.index-hero-scroll span {
    display: block;
    margin-bottom: 10px;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    animation: scrollDown 6s ease-in-out infinite;
}

@keyframes scrollDown {
    0% {
        top: -100%;
    }

    50% {
        top: 100%;
    }

    100% {
        top: 100%;
    }
}

@media (max-width: 991px) {
    .index-hero {
        height: 90vh;
        min-height: 500px;
    }

    .index-hero-content {
        padding: 30px;
        margin: 0 20px;
    }

    .index-hero-title {
        letter-spacing: 10px;
    }

    .index-hero-scroll {
        display: none;
    }
}


/* ===== PROMO MARQUEE ===== */
.promo-marquee {
    background: #1a1a1a;
    color: #fff;
    padding: 14px 0;
    overflow: hidden;
    position: relative;
    max-width: 100vw;
    width: 100%;
}

.promo-marquee-track {
    display: flex;
    width: fit-content;
    animation: marquee 30s linear infinite;
}

.promo-marquee-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.promo-item {
    font-size: 0.75rem;
    letter-spacing: 2px;
    font-weight: 500;
}

.promo-divider {
    margin: 0 30px;
    opacity: 0.5;
    font-size: 0.6rem;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 767px) {
    .promo-item {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }

    .promo-divider {
        margin: 0 20px;
    }
}


/* ===== SECTION COMMON STYLES ===== */
.section-eyebrow {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: #999;
    margin-bottom: 10px;
    font-weight: 500;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 400;
    letter-spacing: 3px;
    color: #1a1a1a;
    margin-bottom: 0;
}

.section-header {
    margin-bottom: 50px;
}

@media (max-width: 767px) {
    .section-header {
        margin-bottom: 30px;
    }
}


/* ===== FEATURED COLLECTIONS ===== */
.index-collections {
    padding: 100px 0;
    background: #fff;
}

.collection-card {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    height: 100%;
}

.collection-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #f5f5f5;
}

.collection-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.collection-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.3) 40%,
            rgba(0, 0, 0, 0.1) 100%);
    transition: opacity 0.4s ease;
}

.collection-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 35px;
    color: #fff;
    z-index: 2;
}

.collection-card-label {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 10px;
}

.collection-card-title {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 5px;
    transition: transform 0.4s ease;
}

.collection-card-arrow {
    position: absolute;
    right: 35px;
    bottom: 35px;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.4s ease;
}

.collection-card-arrow i {
    font-size: 1.1rem;
}

/* Collection Card Hover */
.collection-card:hover .collection-card-img {
    transform: scale(1.08);
}

.collection-card:hover .collection-card-overlay {
    opacity: 0.95;
}

.collection-card:hover .collection-card-title {
    transform: translateX(5px);
}

.collection-card:hover .collection-card-arrow {
    opacity: 1;
    transform: translateX(0);
    border-color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 991px) {
    .index-collections {
        padding: 60px 0;
    }

    .collection-card-media {
        aspect-ratio: 16/9;
    }

    .collection-card-content {
        padding: 25px;
    }

    .collection-card-title {
        font-size: 1.3rem;
        letter-spacing: 3px;
    }

    .collection-card-arrow {
        width: 40px;
        height: 40px;
        right: 25px;
        bottom: 25px;
        opacity: 0.6;
        transform: translateX(0);
    }
}


/* ===== TRENDING CAROUSEL ===== */
.index-trending {
    padding: 80px 0;
    background: #fafafa;
    overflow: hidden;
    max-width: 100vw;
    touch-action: pan-y;
}

.trending-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a1a1a;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.trending-view-all:hover {
    color: #666;
}

.trending-view-all i {
    transition: transform 0.3s ease;
}

.trending-view-all:hover i {
    transform: translateX(5px);
}

.trending-swiper {
    overflow: hidden;
    padding: 10px 0;
}

.trending-swiper .swiper-slide {
    height: auto;
}

.trending-nav-next,
.trending-nav-prev {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    color: #1a1a1a;
    transition: all 0.3s ease;
}

.trending-nav-next::after,
.trending-nav-prev::after {
    font-size: 16px;
    font-weight: 700;
}

.trending-nav-next:hover,
.trending-nav-prev:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}

.trending-nav-next:hover::after,
.trending-nav-prev:hover::after {
    color: #fff;
}

@media (max-width: 991px) {
    .index-trending {
        padding: 50px 0;
    }

    .trending-nav-next,
    .trending-nav-prev {
        display: none;
    }
}


/* ===== VALUES SECTION ===== */
.index-values {
    padding: 100px 0;
    background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
    position: relative;
}

.index-values::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.05), transparent);
}

.value-card {
    padding: 45px 35px;
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1a1a1a, #1a1a1a 50%, transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.value-icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.8rem;
    color: #1a1a1a;
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.value-title {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.value-card:hover .value-title {
    color: #1a1a1a;
}

.value-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
    transition: color 0.3s ease;
}

.value-card:hover .value-text {
    color: #555;
}

@media (max-width: 991px) {
    .index-values {
        padding: 70px 0;
    }

    .value-card {
        padding: 35px 25px;
    }

    .value-icon-box {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }

    .value-title {
        font-size: 1.05rem;
    }

    .value-text {
        font-size: 0.9rem;
    }
}


/* ===== EDITORIAL SECTION ===== */
.index-editorial {
    padding: 0;
    background: #fff;
}

.editorial-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 60px;
    height: 100%;
    max-width: 600px;
    margin-left: auto;
}

.editorial-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 400;
    letter-spacing: 2px;
    color: #1a1a1a;
    margin-bottom: 25px;
    line-height: 1.3;
}

.editorial-text {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.editorial-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #1a1a1a;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.editorial-link:hover {
    color: #666;
}

.editorial-link i {
    transition: transform 0.3s ease;
}

.editorial-link:hover i {
    transform: translateX(5px);
}

.editorial-image {
    height: 100%;
    min-height: 500px;
}

.editorial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 991px) {
    .editorial-content {
        padding: 50px 30px;
        max-width: none;
        margin: 0;
    }

    .editorial-image {
        min-height: 350px;
    }
}


/* ===== NEW ARRIVALS ===== */
.index-arrivals {
    padding: 100px 0;
    background: #fff;
}

@media (max-width: 991px) {
    .index-arrivals {
        padding: 60px 0;
    }
}


/* ===== SHOWCASE SECTION ===== */
.index-showcase {
    padding: 0 0 100px;
    background: #fff;
}

.showcase-card {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    height: 100%;
}

.showcase-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #f5f5f5;
}

.showcase-card--large .showcase-card-media {
    aspect-ratio: 4/3;
}

.showcase-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.showcase-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0.2) 50%,
            rgba(0, 0, 0, 0) 100%);
    transition: opacity 0.4s ease;
}

.showcase-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    color: #fff;
    z-index: 2;
}

.showcase-card-label {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 8px;
}

.showcase-card-title {
    margin: 0 0 10px;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 2px;
    transition: transform 0.4s ease;
}

.showcase-card--large .showcase-card-title {
    font-size: 2rem;
}

.showcase-card-link {
    font-size: 0.8rem;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.showcase-card-link i {
    transition: transform 0.3s ease;
}

/* Showcase Card Hover */
.showcase-card:hover .showcase-card-img {
    transform: scale(1.08);
}

.showcase-card:hover .showcase-card-overlay {
    opacity: 0.95;
}

.showcase-card:hover .showcase-card-title {
    transform: translateY(-5px);
}

.showcase-card:hover .showcase-card-link {
    opacity: 1;
    transform: translateY(0);
}

.showcase-card:hover .showcase-card-link i {
    transform: translateX(5px);
}

@media (max-width: 991px) {
    .index-showcase {
        padding: 0 0 60px;
    }

    .showcase-card-media {
        aspect-ratio: 4/3;
    }

    .showcase-card--large .showcase-card-media {
        aspect-ratio: 16/9;
    }

    .showcase-card-content {
        padding: 20px;
    }

    .showcase-card-title {
        font-size: 1.1rem;
    }

    .showcase-card--large .showcase-card-title {
        font-size: 1.3rem;
    }

    .showcase-card-link {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===== NEWSLETTER SECTION ===== */
.index-newsletter {
    padding: 100px 0;
    background: #1a1a1a;
    color: #fff;
}

.newsletter-wrapper {
    text-align: center;
}

.newsletter-eyebrow {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
    font-weight: 500;
}

.newsletter-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 300;
    letter-spacing: 5px;
    margin-bottom: 20px;
}

.newsletter-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    max-width: 500px;
    margin: 0 auto 35px;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input-group {
    display: flex;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.newsletter-input {
    flex: 1;
    padding: 18px 20px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-btn {
    padding: 18px 30px;
    background: #fff;
    color: #1a1a1a;
    border: none;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

.newsletter-disclaimer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 20px;
}

.newsletter-disclaimer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: underline;
}

.newsletter-disclaimer a:hover {
    color: #fff;
}

@media (max-width: 767px) {
    .index-newsletter {
        padding: 60px 0;
    }

    .newsletter-input-group {
        flex-direction: column;
        border: none;
    }

    .newsletter-input {
        border: 1px solid rgba(255, 255, 255, 0.3);
        margin-bottom: 10px;
    }

    .newsletter-btn {
        width: 100%;
    }
}

.animated-border-both {
    overflow: hidden;
}

.animated-border-both::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    width: 0%;
    background: radial-gradient(ellipse at center, rgb(55, 55, 55) 0%, rgb(225, 225, 255) 100%);
    opacity: 1;
    border-radius: 1px;
    pointer-events: none;

    animation: amRipple 6s ease-out infinite;
}

.animated-border-both::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    width: 0%;
    background: radial-gradient(ellipse at center, rgb(55, 55, 55) 0%, rgb(225, 225, 255) 100%);
    box-shadow: 2px 2px 5px rgba(57, 57, 57, 1);
    opacity: 1;
    border-radius: 1px;
    pointer-events: none;

    animation: amRipple 6s ease-out infinite;
}

@keyframes amRipple {
    0% {
        width: 0%;
        opacity: 0.4;
    }

    33% {
        width: 100%;
        opacity: 0.15;
    }

    100% {
        width: 100%;
        opacity: 0;
    }
}

.mobile-nav-swiper .swiper-slide {
    height: auto !important;
    display: flex;
    flex-direction: column;
}

.mobile-nav-swiper nav {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
    touch-action: pan-y;
}

.mobile-nav-swiper {
    height: 100%;
    width: 100%;
}

.catalogue-hero {
    position: relative;
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 50%, #f0f0f0 100%);
    overflow: hidden;
}

.catalogue-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 0, 0, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 0, 0, 0.02) 0%, transparent 50%);
}

.catalogue-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 5%;
}

.catalogue-hero-content {
    position: relative;
    text-align: center;
}

.catalogue-hero-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: #999;
    margin-bottom: 15px;
    font-weight: 500;
}

.catalogue-hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 300;
    letter-spacing: 15px;
    margin: 0 0 15px;
    color: #1a1a1a;
}

.catalogue-hero-subtitle {
    font-size: 1rem;
    color: #666;
    margin: 0;
    letter-spacing: 1px;
}

.catalogue-hero-line {
    width: 60px;
    height: 1px;
    background: #1a1a1a;
    margin: 30px auto 0;
    opacity: 0.3;
}

@media (max-width: 991px) {
    .catalogue-hero {
        padding: 60px 0 40px;
    }

    .catalogue-hero-title {
        letter-spacing: 8px;
    }
}

.catalogue-tabs-wrapper {
    position: sticky;
    top: 60px;
    z-index: 900;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

@media (min-width: 992px) {
    .catalogue-tabs-wrapper {
        top: 120px;
    }
}

.catalogue-tabs-inner {
    position: relative;
}

.catalogue-gender-tab {
    position: relative;
    border: none;
    background: transparent;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 2px;
    padding: 5px 25px;
    margin: 0 5px;
    color: #999;
    transition: color 0.4s ease;
    cursor: pointer;
}

.catalogue-gender-tab:hover {
    color: #555;
}

.catalogue-gender-tab.active {
    color: #1a1a1a;
}

.catalogue-gender-tab .tab-line {
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 43px;
    height: 2px;
    background: #1a1a1a;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.catalogue-gender-tab.active .tab-line {
    transform: translateX(-50%) scaleX(1);
}

.catalogue-subtabs-wrapper {
    background: linear-gradient(to bottom, rgba(248, 248, 248, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    padding: 15px 0;
}

.catalogue-subtabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.catalogue-subtab {
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.8);
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    padding: 10px 24px;
    border-radius: 30px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.catalogue-subtab:hover {
    border-color: rgba(0, 0, 0, 0.3);
    color: #333;
}

.catalogue-subtab.active {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}

.premium-category-card {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    border-radius: 4px;
    height: 100%;
}

.premium-category-card .card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #f5f5f5;
}

.premium-category-card .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.premium-category-card .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0.2) 40%,
            rgba(0, 0, 0, 0) 100%);
    transition: opacity 0.4s ease;
}

.premium-category-card .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    color: #fff;
    z-index: 2;
}

.premium-category-card .card-label {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 8px;
}

.premium-category-card .card-title {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 0.4s ease;
}

.premium-category-card .card-count {
    display: block;
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 5px;
    letter-spacing: 0.5px;
}

.premium-category-card .card-arrow {
    position: absolute;
    right: 25px;
    bottom: 25px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
}

.premium-category-card .card-arrow i {
    font-size: 1rem;
}

.premium-category-card:hover .card-img {
    transform: scale(1.08);
}

.premium-category-card:hover .card-overlay {
    opacity: 0.9;
}

.premium-category-card:hover .card-title {
    transform: translateX(5px);
}

.premium-category-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
    border-color: rgba(255, 255, 255, 0.6);
}

.premium-category-card--hero .card-media {
    aspect-ratio: 4/5;
}

.premium-category-card--hero .card-title {
    font-size: 1.8rem;
}

@media (min-width: 992px) {
    .premium-category-card--hero .card-media {
        aspect-ratio: 3/4;
    }

    .premium-category-card--hero .card-title {
        font-size: 2.2rem;
    }

    .premium-category-card .card-content {
        padding: 35px;
    }

    .premium-category-card .card-arrow {
        right: 35px;
        bottom: 35px;
    }
}

@media (max-width: 991px) {
    .premium-category-card .card-media {
        aspect-ratio: 1/1.2;
    }

    .premium-category-card .card-content {
        padding: 15px;
    }

    .premium-category-card .card-title {
        font-size: 1rem;
    }

    .premium-category-card .card-arrow {
        width: 30px;
        height: 30px;
        right: 12px;
        bottom: 12px;
        opacity: 0.6;
        transform: translateX(0);
    }

    .premium-category-card--hero .card-title {
        font-size: 1.3rem;
    }

    .catalogue-subtab {
        padding: 8px 16px;
        font-size: 0.7rem;
    }
}

.catalogue-section {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.catalogue-section .row>div {
    opacity: 0;
    animation: fadeInCard 0.6s ease forwards;
}

.catalogue-section .row>div:nth-child(1) {
    animation-delay: 0.1s;
}

.catalogue-section .row>div:nth-child(2) {
    animation-delay: 0.15s;
}

.catalogue-section .row>div:nth-child(3) {
    animation-delay: 0.2s;
}

.catalogue-section .row>div:nth-child(4) {
    animation-delay: 0.25s;
}

.catalogue-section .row>div:nth-child(5) {
    animation-delay: 0.3s;
}

.catalogue-section .row>div:nth-child(6) {
    animation-delay: 0.35s;
}

.catalogue-section .row>div:nth-child(7) {
    animation-delay: 0.4s;
}

.catalogue-section .row>div:nth-child(8) {
    animation-delay: 0.45s;
}

@keyframes fadeInCard {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.index-hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

.index-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-wrapper {
    position: absolute;
    width: 8px;
    height: 8px;
}

.border-dark-2 {
    border-color: #00000035 !important;
}

.navbar-dropdown {
    max-height: 300px;
    overflow-y: auto;
    background-color: #55555512;
    scrollbar-width: thin;
}



.product-sidebar-sticky {
    position: sticky;
    top: 100px;
    padding-right: 1.5rem;
    border-right: 1px solid var(--border-light);
    height: calc(100vh - 120px);
    overflow-y: auto;
}

.product-sidebar-sticky::-webkit-scrollbar {
    width: 3px;
}

.product-sidebar-sticky::-webkit-scrollbar-track {
    background: transparent;
}

.product-sidebar-sticky::-webkit-scrollbar-thumb {
    background: #eee;
    border-radius: 10px;
}

.filter-title {
    letter-spacing: 0.15em;
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 2rem;
    color: #000;
}

.filter-section-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #000;
    margin-bottom: 1.2rem;
    display: block;
}

.noUi-target {
    background: #f0f0f0;
    border: none;
    box-shadow: none;
    height: 2px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.noUi-connect {
    background: #000;
}

.noUi-handle {
    width: 14px !important;
    height: 14px !important;
    right: -7px !important;
    top: -6px !important;
    background: #000;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: var(--btn-transition);
}

.noUi-handle:before,
.noUi-handle:after {
    display: none;
}

.noUi-handle:hover {
    transform: scale(1.2);
}

.price-input-wrapper .form-control {
    border: none;
    border-bottom: 1px solid #eee;
    border-radius: 0;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    font-weight: 500;
    background: transparent;
    text-align: left;
    transition: var(--btn-transition);
}

.price-input-wrapper .form-control:focus {
    box-shadow: none;
    border-color: #000;
}

.price-currency {
    font-size: 0.75rem;
    color: #aaa;
    margin-left: 4px;
}

#desktop-size-container {
    margin: 0 -4px;
}

#desktop-size-container .col-4 {
    padding: 4px;
}

#desktop-size-container .btn-check+.btn {
    background: transparent;
    border: 1px solid #eee;
    color: #555;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 10px 0;
    text-transform: uppercase;
    transition: var(--btn-transition);
}

#desktop-size-container .btn-check:checked+.btn {
    background: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
    font-weight: 700;
}

#desktop-size-container .btn:hover {
    border-color: #000;
    color: #000;
    background: transparent;
}

.size-group-header {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #aaa;
    margin-top: 1.5rem !important;
    margin-bottom: 0.8rem !important;
    display: block;
    width: 100%;
}

/* Refine Product Grid Header */
#count-content {
    letter-spacing: 0.05em;
    font-weight: 500;
    color: #777;
}

#desktopSortBtn {
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.clear-filters-link {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #aaa !important;
    transition: var(--btn-transition);
}

.clear-filters-link:hover {
    color: #000 !important;
}

/* Mobile Filter Drawer Overhaul */
#filterOffcanvas {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border: none;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

#filterOffcanvas .offcanvas-header {
    padding: 1.5rem;
    border: none !important;
}

#filterOffcanvas .offcanvas-title {
    letter-spacing: 0.1em;
    font-weight: 800;
    font-size: 0.8rem;
}

.mobile-filter-section {
    padding: 1.5rem;
    border-bottom: 1px solid #f8f8f8;
}

.mobile-filter-section:last-child {
    border-bottom: none;
    margin-bottom: 100px;
}

.mobile-section-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 20px;
    color: #000;
}

/* Sleek Mobile Range */
.mobile-price-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.mobile-price-box {
    flex: 1;
    border: 1px solid #eee;
    padding: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    background: #fafafa;
}

#filterOffcanvas .btn-check+.btn {
    border-radius: 0;
    border: 1px solid #eee;
    font-size: 0.8rem;
    padding: 12px 0;
    background: #fdfdfd;
    transition: var(--btn-transition);
}

#filterOffcanvas .btn-check:checked+.btn {
    background: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
}

.mobile-apply-bar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid #eee;
    padding: 1.2rem;
}

/* Sort Drawer Refinement */
#sortOffcanvas {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border: none;
}

.sort-option-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #f8f8f8;
    cursor: pointer;
    transition: var(--btn-transition);
}

.sort-option-item:last-child {
    border-bottom: none;
}

.sort-option-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #444;
}

.sort-option-item .form-check-input {
    width: 18px;
    height: 18px;
    border: 1px solid #ccc;
    margin: 0;
}

.sort-option-item .form-check-input:checked {
    background-color: #000;
    border-color: #000;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.sort-option-item:active {
    background-color: #fafafa;
}