/**
 * Noir XIX storefront overrides (hero slider, header spacing).
 */

/* Full-screen theme preloader: layout omits it; hide if markup is ever re-added above #wrapper */
body.mti-storefront > .preload,
body.mti-storefront > .preload.preload-container {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Shop listing (Ecomus shop-default pattern on products index) */
.mti-shop-listing .tf-dropdown-sort .btn-select {
    cursor: pointer;
}

.mti-shop-listing .meta-filter-shop .count-text {
    font-size: 14px;
}

/* Home hero: stable height; tall images scale inside without stretching the slider */
.slider-home-2 .wrap-slider.home-hero-slide {
    position: relative;
}

.slider-home-2 .home-hero-slide__media {
    position: relative;
    width: 100%;
    height: clamp(400px, 70vw, 800px); /* Increased height so portrait images look better */
    max-height: 800px;
    overflow: hidden;
}

.slider-home-2 .home-hero-slide__media img.home-hero-slide__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%; /* Focus slightly higher on the subject */
    display: block;
}

/* Keep overlay content usable */
.slider-home-2 .home-hero-slide .box-content {
    pointer-events: none;
}

.slider-home-2 .home-hero-slide .box-content a {
    pointer-events: auto;
}

/* Base reset — do not zero #wrapper padding on inner pages (fixed header offset lives there) */
html,
body.mti-storefront {
    margin: 0 !important;
    padding: 0 !important;
}

body.mti-page-home #wrapper,
body.mti-page-home #header,
.announcement-bar {
    margin: 0 !important;
    padding: 0 !important;
}

body.mti-storefront {
    --mti-header-bar-h: 80px;
    --mti-page-title-py: 40px;
}

body.mti-storefront #wrapper > #header.mti-header-glass {
    margin-top: 0 !important;
}

body.mti-page-home #header.mti-header-over-hero,
body.mti-page-home #header.mti-header-over-hero.header-bg {
    top: 0 !important;
}

/* Force stronger font weights for brand visibility */
.tf-slideshow .box-content h1 {
    font-weight: 700 !important;
}
.tf-slideshow .box-content p {
    font-weight: 600 !important;
}
.collection-title, .flat-title .title {
    font-weight: 700 !important;
}
.tf-btn {
    font-weight: 600 !important;
}

/* Storefront header — frosted glass (same look + height on every page) */
#header.mti-header-glass {
    --mti-header-bar-h: 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.38);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    isolation: isolate;
    background-color: rgba(255, 255, 255, 0.78) !important;
    background-image: none !important;
}

#header.mti-header-glass .wrapper-header {
    min-height: var(--mti-header-bar-h) !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    border-bottom: none;
}

#header.mti-header-glass.header-bg {
    background-color: rgba(255, 255, 255, 0.92) !important;
    border-bottom-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

/*
 * Home: fixed glass header over hero.
 * Theme header { position: sticky; background: #fff } still reserves ~80px in flow unless
 * main is pulled up — otherwise white body shows through the glass (top white strip).
 */
body.mti-page-home #wrapper {
    --mti-header-bar-h: 80px;
    position: relative;
    padding-top: 0 !important;
    overflow: visible;
}

body.mti-page-home header#header.mti-header-glass.mti-header-over-hero {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 889;
    background-color: rgba(255, 255, 255, 0.14) !important;
    background-image: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.38);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

/* Pull hero under fixed header (cancels sticky in-flow gap from theme) */
body.mti-page-home #header.mti-header-over-hero + #main-content {
    margin-top: calc(-1 * var(--mti-header-bar-h)) !important;
    padding-top: 0 !important;
}

body.mti-page-home .mti-home-hero.tf-slideshow {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#header.mti-header-glass.mti-header-over-hero.header-bg,
body.mti-page-home header#header.mti-header-glass.mti-header-over-hero.header-bg {
    position: fixed !important;
    background-color: rgba(255, 255, 255, 0.92) !important;
}

#header.mti-header-glass .logo-header .logo {
    max-height: 42px;
    width: auto;
}

/*
 * Inner pages: fixed header + single wrapper offset (page title sits below, not under, the bar).
 */
body.mti-storefront:not(.mti-page-home) #wrapper {
    padding-top: var(--mti-header-bar-h) !important;
}

body.mti-storefront:not(.mti-page-home) #header.mti-header-glass {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0 !important;
    z-index: 889;
}

#header.mti-header-glass.mti-header-over-hero:not(.header-bg) .box-nav-ul .item-link,
#header.mti-header-glass.mti-header-over-hero:not(.header-bg) .nav-icon .nav-icon-item {
    color: #fff;
}

#header.mti-header-glass.mti-header-over-hero:not(.header-bg) .tf-lg-hidden a {
    color: #fff;
    padding: 8px;
    border-radius: 999px;
    transition: background 0.22s ease, border-color 0.22s ease;
}

#header.mti-header-glass.mti-header-over-hero:not(.header-bg) .tf-lg-hidden a:hover {
    background: rgba(255, 255, 255, 0.2);
}

#header.mti-header-glass:not(.mti-header-over-hero) .box-nav-ul .item-link,
#header.mti-header-glass:not(.mti-header-over-hero) .nav-icon .nav-icon-item {
    color: var(--main, #111);
}

/* Nav pills — rounded active / hover / focus (replaces underline) */
#header.mti-header-glass .box-nav-ul .menu-item {
    padding: 0;
}

#header.mti-header-glass .box-nav-ul > .menu-item > .item-link {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition:
        background 0.22s ease,
        border-color 0.22s ease,
        color 0.22s ease,
        box-shadow 0.22s ease;
}

#header.mti-header-glass .box-nav-ul > .menu-item > .item-link::before {
    display: none;
}

#header.mti-header-glass .box-nav-ul > .menu-item:hover > .item-link,
#header.mti-header-glass .box-nav-ul > .menu-item.active > .item-link,
#header.mti-header-glass .box-nav-ul > .menu-item:focus-within > .item-link {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.38);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

#header.mti-header-glass:not(.mti-header-over-hero) .box-nav-ul > .menu-item:hover > .item-link,
#header.mti-header-glass:not(.mti-header-over-hero) .box-nav-ul > .menu-item.active > .item-link,
#header.mti-header-glass:not(.mti-header-over-hero) .box-nav-ul > .menu-item:focus-within > .item-link,
#header.mti-header-glass.mti-header-over-hero.header-bg .box-nav-ul > .menu-item:hover > .item-link,
#header.mti-header-glass.mti-header-over-hero.header-bg .box-nav-ul > .menu-item.active > .item-link,
#header.mti-header-glass.mti-header-over-hero.header-bg .box-nav-ul > .menu-item:focus-within > .item-link {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    color: var(--main, #111);
}

#header.mti-header-glass .box-nav-ul > .menu-item > .item-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.55);
    outline-offset: 2px;
}

#header.mti-header-glass .nav-icon .nav-icon-item {
    padding: 8px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition:
        background 0.22s ease,
        border-color 0.22s ease,
        color 0.22s ease;
}

#header.mti-header-glass .nav-icon .nav-icon-item:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.32);
    color: inherit;
}

#header.mti-header-glass:not(.mti-header-over-hero) .nav-icon .nav-icon-item:hover,
#header.mti-header-glass.mti-header-over-hero.header-bg .nav-icon .nav-icon-item:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.08);
    color: var(--main, #111);
}

/*
 * Page title band (contact, FAQ, products, etc.): uniform vertical rhythm below fixed header.
 * Wrapper supplies header height; this padding is only inside the title band.
 */
body.mti-storefront:not(.mti-page-home) .tf-page-title,
body.mti-storefront:not(.mti-page-home) .tf-page-title.style-2 {
    margin-top: 0 !important;
    padding-top: var(--mti-page-title-py) !important;
    padding-bottom: var(--mti-page-title-py) !important;
}

/* Products listing: breathing room between title band and grid */
body.mti-storefront:not(.mti-page-home) .tf-page-title + .mti-shop-listing.flat-spacing-2,
body.mti-storefront:not(.mti-page-home) .tf-page-title + section.mti-shop-listing {
    padding-top: 48px;
}

#header.mti-header-glass .sub-menu,
#header.mti-header-glass .mega-menu {
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
}

/* Marquee: NoirXIX branding overrides */
.tf-marquee.bg_blue-3 {
    background-color: #111 !important; /* Deep Noir black */
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.tf-marquee .marquee-item .text {
    letter-spacing: 0.1em;
    font-size: 13px;
}

/* Pickleball Slider specific fixes */
.tf-slideshow.slider-skincare,
.tf-slideshow.slider-skincare .wrap-slider {
    height: clamp(800px, 100vh, 1200px) !important;
    background-color: #000;
}

.tf-slideshow.slider-skincare .wrap-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.85; /* Slight fade for text contrast */
}

.card-box-2 {
    background: rgba(0, 0, 0, 0.4);
    padding: 40px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 500px;
}

.card-box-2 .text-extra-heading {
    font-size: clamp(40px, 8vw, 80px); /* Reduced from likely 100px+ */
    line-height: 0.9;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.card-box-2 .title {
    font-size: clamp(16px, 3vw, 24px) !important;
    line-height: 1.4;
}

/* Card product type-line-padding support */
.card-product.type-line-padding {
    border: 1px solid #eee;
    padding: 15px;
    transition: all 0.3s ease;
}

.card-product.type-line-padding:hover {
    border-color: #333;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Discovery box */
.discovery-new-item {
    background-color: #111;
    color: #fff;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.discovery-new-item h5 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
}

.discovery-new-item i {
    font-size: 40px;
    color: #fff;
    transition: transform 0.3s ease;
}

.discovery-new-item:hover i {
    transform: rotate(-45deg);
}

/* Banner section colored backgrounds */
.bg_noir-promo {
    background-color: #f8f8f8;
}

.tf-content-wrap .heading {
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

/* Home hero — canonical styles for the public marketing site live in mti-website.css (auth layout only here). */
/* Home hero (slider-women on /home): taller slide + white copy + readability overlay */
.mti-home-hero.tf-slideshow {
    overflow: hidden;
    --hero-dot-offset: clamp(20px, 3vw, 32px);
    --hero-dot-zone: 28px;
    --hero-glass-dot-gap: clamp(22px, 3.5vw, 36px);
}

.mti-home-hero .tf-sw-slideshow,
.mti-home-hero .swiper-slide {
    height: clamp(800px, 100vh, 1200px);
}

.mti-home-hero .wrap-slider {
    position: relative;
    min-height: clamp(800px, 100vh, 1200px);
    height: clamp(800px, 100vh, 1200px);
    overflow: hidden;
}

.mti-home-hero .wrap-slider > img {
    position: absolute !important;
    inset: 0 !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center 20%;
}

.mti-home-hero .wrap-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.62) 0%,
            rgba(0, 0, 0, 0.22) 42%,
            rgba(0, 0, 0, 0.08) 100%
        ),
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.42) 0%,
            rgba(0, 0, 0, 0.12) 55%,
            rgba(0, 0, 0, 0.2) 100%
        );
}

.mti-home-hero .box-content {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    transform: none;
    text-align: left;
    padding: 0 0 calc(var(--hero-dot-offset) + var(--hero-dot-zone) + var(--hero-glass-dot-gap));
}

.mti-home-hero .wrap-pagination {
    bottom: var(--hero-dot-offset);
    z-index: 3;
}

.mti-home-hero .wrap-pagination .sw-dots {
    margin-top: 0;
}

.mti-home-hero .box-content .container {
    display: flex;
    justify-content: flex-start;
}

/* Frosted panel — matches coming-soon .cs-glass */
.mti-home-hero .mti-hero-glass {
    width: 100%;
    max-width: min(540px, 92vw);
    padding: clamp(26px, 4vw, 38px) clamp(22px, 3.5vw, 34px);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.38);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    isolation: isolate;
}

.mti-home-hero .mti-hero-glass h1,
.mti-home-hero .mti-hero-glass p {
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.mti-home-hero .mti-hero-glass h1 {
    font-size: clamp(1.85rem, 4.8vw, 2.65rem);
    line-height: 1.12;
    margin: 0 0 12px;
    letter-spacing: 0.04em;
    font-weight: 700;
    text-transform: uppercase;
}

.mti-home-hero .mti-hero-glass p {
    font-weight: 400 !important;
    font-size: clamp(0.95rem, 2.1vw, 1.08rem);
    line-height: 1.55;
    margin: 0 0 clamp(18px, 2.5vw, 24px);
    min-height: 3.1em;
    opacity: 0.95;
}

.mti-home-hero .mti-hero-glass .tf-btn.btn-fill {
    background-color: #111 !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    margin-bottom: 0;
}

.mti-home-hero .mti-hero-glass .tf-btn.btn-fill i {
    color: #fff !important;
}

/* iPad + mobile: lift dots above bottom toolbar; gap to glass stays consistent */
@media only screen and (max-width: 1150px) {
    .mti-home-hero.tf-slideshow {
        --hero-dot-offset: clamp(56px, 9vw, 72px);
        --hero-glass-dot-gap: clamp(20px, 3vw, 28px);
    }
}

@media only screen and (max-width: 850px) {
    .mti-home-hero .wrap-slider .mti-hero-glass p {
        display: block !important;
        min-height: 2.85em;
    }

    .mti-home-hero .tf-sw-slideshow,
    .mti-home-hero .swiper-slide,
    .mti-home-hero .wrap-slider {
        min-height: clamp(600px, 100vh, 1000px);
        height: clamp(600px, 100vh, 1000px);
    }

    .mti-home-hero.tf-slideshow {
        --hero-dot-offset: clamp(64px, 10vw, 80px);
        --hero-glass-dot-gap: clamp(18px, 2.8vw, 26px);
    }

    .mti-home-hero .mti-hero-glass {
        max-width: 100%;
        padding: clamp(20px, 4vw, 28px) clamp(18px, 4vw, 24px);
    }
}

/* Home — circular category strip (larger than default 99px theme circles) */
.mti-home-circle-categories .tf-categories-wrap .collection-item-circle {
    min-width: clamp(160px, 22vw, 220px);
}

.mti-home-circle-categories .tf-categories-wrap .collection-item-circle .collection-image {
    width: clamp(120px, 18vw, 168px);
    height: clamp(120px, 18vw, 168px);
}

.mti-home-circle-categories .tf-categories-wrap .collection-item-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: none;
}

.mti-home-circle-categories .tf-shopall .tf-shopall-icon {
    width: clamp(120px, 18vw, 168px);
    height: clamp(120px, 18vw, 168px);
    font-size: 18px;
}

.mti-home-circle-categories .collection-item-circle .collection-content {
    margin-top: 18px;
}

.mti-home-circle-categories .collection-item-circle .collection-content .title {
    font-size: clamp(14px, 1.1vw, 17px);
}

/* Coming-soon category circles — glass overlay (Summer / Europe) */
.mti-home-circle-categories .collection-item-circle.mti-category-coming-soon .collection-image {
    position: relative;
    overflow: hidden;
}

.mti-home-circle-categories .mti-category-glass {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.38);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    pointer-events: none;
}

.mti-home-circle-categories .mti-category-glass-kicker {
    display: block;
    font-size: clamp(9px, 1.1vw, 11px);
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    line-height: 1.35;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.mti-home-circle-categories .mti-category-coming-soon .collection-content .title {
    opacity: 0.88;
}

/* Home — promo / banner carousel: consistent tile height + clearer white text over photos */
.mti-home-banner-section .mti-home-banner-swiper .collection-item-v4 .collection-image.img-style {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 10px;
}

.mti-home-banner-section .mti-home-banner-swiper .collection-item-v4 .collection-image.img-style img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mti-home-banner-section .mti-home-banner-swiper .collection-item-v4 .collection-image.img-style::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 10px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.62) 0%,
        rgba(0, 0, 0, 0.15) 45%,
        rgba(0, 0, 0, 0.05) 100%
    );
}

.mti-home-banner-section .mti-home-banner-swiper .collection-item-v4 .collection-content {
    top: unset;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 28px 7% 8%;
}

.mti-home-banner-section .mti-home-banner-swiper .collection-item-v4 .collection-content .heading,
.mti-home-banner-section .mti-home-banner-swiper .collection-item-v4 .collection-content p {
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9);
}

.mti-home-banner-section .mti-home-banner-swiper .swiper-slide > .collection-item-v4 {
    height: auto;
}

.mti-home-banner-section .mti-home-banner-swiper .swiper-slide .collection-item-v4 .collection-inner,
.mti-home-banner-section .mti-home-banner-swiper .swiper-slide .collection-item-v4 .collection-image {
    height: auto !important;
}


/* Storefront header mega: featured products — fixed card frame, wide images letterbox inside */
.mti-mega-product-swiper {
    position: relative;
    padding-bottom: 8px;
}

.mti-mega-product-swiper .tf-product-header {
    overflow: hidden;
}

#header .mti-mega-product-swiper .card-product .card-product-wrapper {
    background-color: var(--bg-2, #f5f5f5);
}

#header .mti-mega-product-swiper .card-product .card-product-wrapper img {
    object-fit: contain;
    object-position: center;
}

#header .mti-mega-product-swiper .card-product .card-product-wrapper:hover .product-img .img-hover {
    transform: none;
}

/* Categories mega: same Swiper shell as Featured products — image-only slides */
.mti-mega-category-swiper {
    position: relative;
    padding-bottom: 8px;
}

#header .mti-mega-category-swiper .tf-category-header {
    overflow: hidden;
}

#header .mti-mega-category-swiper .mti-mega-category-img-link {
    display: block;
    color: inherit;
    text-decoration: none !important;
}

#header .mti-mega-category-swiper .mti-mega-category-img-wrap {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    z-index: 20;
    aspect-ratio: 1 / 1.15;
    background-color: var(--bg-2, #f5f5f5);
}

#header .mti-mega-category-swiper .mti-mega-category-img-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ── Product detail (Ecomus product-stacked) ── */
.mti-product-detail .mti-pdp-buy-box {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.mti-product-detail .mti-pdp-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mti-product-detail .tf-product-info-variant-picker {
    gap: 22px;
}

.mti-product-detail .variant-picker-item {
    padding-bottom: 20px;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mti-product-detail .variant-picker-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.mti-product-detail .mti-pdp-custom-fields {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mti-product-detail .mti-pdp-custom-fields .tf-product-item-property {
    margin-bottom: 0;
}

.mti-product-detail .mti-pdp-quantity {
    margin-top: 4px;
}

.mti-product-detail .mti-pdp-quantity .quantity-title {
    margin-bottom: 10px;
}

.mti-product-detail .mti-pdp-stock {
    margin-top: 4px;
    font-size: 14px;
}

.mti-product-detail .mti-pdp-details {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 18px;
}

.mti-product-detail .mti-pdp-details summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mti-product-detail .mti-pdp-details summary::-webkit-details-marker {
    display: none;
}

.mti-product-detail .mti-pdp-details summary::after {
    content: '+';
    font-size: 18px;
    font-weight: 600;
}

.mti-product-detail .mti-pdp-details[open] summary::after {
    content: '−';
}

.mti-product-detail .mti-pdp-details .tf-product-info-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-2, #555);
    max-height: 200px;
    overflow-y: auto;
}

.mti-product-detail .mti-pdp-trust {
    padding-top: 18px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Gallery: portrait-friendly hero — no short crop */
.mti-product-detail .wrapper-gallery-scroll > .mb_10 {
    overflow: visible;
    border-radius: 12px;
    margin-bottom: 12px !important;
}

.mti-product-detail .wrapper-gallery-scroll > .mb_10 .item {
    display: block;
    width: 100%;
}

.mti-product-detail .wrapper-gallery-scroll > .mb_10 .item img {
    display: block;
    width: 100%;
    height: auto;
    min-height: clamp(520px, 72vh, 820px);
    max-height: none;
    aspect-ratio: 770 / 1075;
    object-fit: cover;
    object-position: center top;
    border-radius: 12px;
}

.mti-product-detail .mti-pdp-gallery-grid {
    max-height: none;
    overflow: visible;
    gap: 10px !important;
    padding-right: 0;
}

.mti-product-detail .mti-pdp-gallery-grid .item img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
    height: auto;
}

/* Buy column: page scroll only — no inner scrollbar */
.mti-product-detail .tf-product-info-wrap,
.mti-product-detail .tf-product-info-list {
    max-height: none !important;
    overflow: visible !important;
}

.mti-product-detail .tf-product-info-wrap .tf-zoom-main {
    display: none;
}

.mti-product-detail .variant-picker-values {
    flex-wrap: wrap;
}

.mti-product-detail .find-size {
    color: inherit;
    cursor: pointer;
    font-size: inherit;
    line-height: inherit;
}

.mti-product-detail .find-size:hover {
    opacity: 0.75;
}

/* Shop listing grid spacing */
.mti-shop-listing .wrapper-shop.tf-grid-layout {
    row-gap: 30px;
    column-gap: 24px;
}

.mti-shop-listing .flat-spacing-2 {
    padding-top: 40px;
    padding-bottom: 60px;
}

.mti-product-detail .tf-product-info-liveview {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}

.mti-product-detail .liveview-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 28px;
    padding: 0 8px;
    background: #000;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    border-radius: 4px;
}

.mti-product-detail .tf-product-item-property {
    margin-bottom: 14px;
}

.mti-product-detail .mti-pdp-sizes {
    flex-wrap: wrap;
    gap: 8px;
}

.mti-product-detail .mti-pdp-sizes .size-btn p {
    margin: 0;
    font-size: 13px;
}

.mti-product-detail .tf-field-input.tf-input {
    border-radius: 8px;
    border-color: #e5e5e5;
}

.mti-product-detail .tf-product-info-buy-button {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: stretch;
}

.mti-product-detail .tf-product-info-buy-button .tf-btn {
    min-height: 48px;
}

.mti-pdp-gallery-grid .item img {
    width: 100%;
    height: auto;
    display: block;
}

.mti-size-guide-modal .mti-size-guide-subtitle {
    font-size: 14px;
    color: var(--text-2, #555);
}

.mti-size-guide-modal .tf-sizeguide-table td:first-child {
    font-weight: 600;
}

.mti-size-guide-modal .tf-page-size-chart-content.mti-size-guide-tips-only {
    display: block;
    margin-top: 24px;
}

.mti-size-guide-modal .tf-page-size-chart-content.mti-size-guide-tips-only > div {
    max-width: 100%;
}

/* Shop listing — Hewa / Maji / Ardhi catalog colors only */
.mti-shop-listing .mti-catalog-colors {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #ebebeb;
}

.mti-shop-listing .mti-catalog-colors-label {
    font-size: 14px;
    margin: 0;
}

.mti-shop-listing .mti-catalog-colors-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mti-shop-listing .mti-color-swatch {
    display: inline-flex;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    padding: 2px;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.mti-shop-listing .mti-color-swatch.active {
    border-color: #000;
}

.mti-shop-listing .mti-color-swatch-chip {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.mti-product-detail .mti-catalog-color-picker .mti-color-chip {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: block;
}

/* ─── Account hub (my account pages) ─────────────────────────────────────── */

.noir-account-hub .noir-account-panel {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: clamp(20px, 4vw, 36px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.noir-account-sidebar {
    background: #fafafa;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 20px 16px;
    position: sticky;
    top: calc(var(--mti-header-bar-h, 80px) + 16px);
}

.noir-account-sidebar__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.45);
    margin: 0 0 14px;
    padding: 0 8px;
}

.noir-account-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.noir-account-nav__link,
.noir-account-nav__link--btn {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--main, #111);
    text-decoration: none;
    border: 1px solid transparent;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.noir-account-nav__link:hover,
.noir-account-nav__link--btn:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.06);
}

.noir-account-nav__link.is-active {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* Mobile account nav — horizontal scroll */
.noir-account-nav-mobile {
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}

.noir-account-nav-mobile__list {
    list-style: none;
    margin: 0;
    padding: 4px 2px 12px;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.noir-account-nav-mobile__link,
.noir-account-nav-mobile__link--btn {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--main, #111);
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.noir-account-nav-mobile__link.is-active {
    background: #111;
    color: #fff;
    border-color: #111;
}

.noir-account-welcome {
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.noir-order-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.06);
    color: var(--main, #111);
}

.noir-order-status--paid {
    background: rgba(22, 101, 52, 0.12);
    color: #166534;
}

.noir-order-status--unpaid {
    background: rgba(180, 83, 9, 0.12);
    color: #b45309;
}

.noir-order-status--failed {
    background: rgba(185, 28, 28, 0.1);
    color: #b91c1c;
}

.noir-order-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.noir-order-card:hover {
    border-color: rgba(0, 0, 0, 0.14);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}

/* Orders tables — card layout on small screens */
.noir-account-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.noir-account-table-wrap table {
    width: 100%;
    min-width: 640px;
}

@media (max-width: 767px) {
    .noir-account-table-wrap table {
        min-width: 0;
    }

    .noir-account-table-wrap thead {
        display: none;
    }

    .noir-account-table-wrap tbody {
        border: 0;
    }

    .noir-account-table-wrap tr.tf-order-item {
        display: block;
        margin-bottom: 14px;
        padding: 16px 18px;
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        border-radius: 12px;
        background: #fafafa;
    }

    .noir-account-table-wrap tr.tf-order-item td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        padding: 8px 0 !important;
        border: 0 !important;
        text-align: right;
    }

    .noir-account-table-wrap tr.tf-order-item td::before {
        content: attr(data-label);
        font-weight: 600;
        font-size: 12px;
        color: rgba(0, 0, 0, 0.5);
        text-align: left;
        flex: 0 0 auto;
    }

    .noir-account-table-wrap tr.tf-order-item td[data-label=""]::before {
        display: none;
    }

    .noir-account-table-wrap tr.tf-order-item td:last-child {
        justify-content: center;
        padding-top: 12px !important;
        margin-top: 4px;
        border-top: 1px dashed rgba(0, 0, 0, 0.1) !important;
    }

    .noir-account-table-wrap tr.tf-order-item td:last-child .tf-btn {
        width: 100%;
    }
}

.noir-account-hub .account-wishlist .wrapper-shop {
    gap: 20px;
}

/* ─── Checkout flow + cart ─────────────────────────────────────────────────── */

.noir-checkout-steps__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.noir-checkout-steps__item {
    display: flex;
    align-items: center;
}

.noir-checkout-steps__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    transition: border-color 0.2s, background 0.2s;
}

.noir-checkout-steps__link:hover {
    border-color: rgba(0, 0, 0, 0.35);
}

.noir-checkout-steps__link--muted {
    cursor: default;
    opacity: 0.55;
}

.noir-checkout-steps__item.is-current .noir-checkout-steps__link:not(.noir-checkout-steps__link--muted) {
    border-color: var(--primary, #000);
    background: rgba(0, 0, 0, 0.04);
}

.noir-checkout-steps__item.is-done .noir-checkout-steps__num {
    background: var(--primary, #000);
    color: #fff;
    border-color: var(--primary, #000);
}

.noir-checkout-steps__num {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.noir-checkout-steps__label {
    font-size: 13px;
    font-weight: 600;
}

.noir-checkout-steps__sep {
    width: 28px;
    height: 1px;
    background: rgba(0, 0, 0, 0.15);
}

@media (max-width: 575px) {
    .noir-checkout-steps__sep {
        display: none;
    }

    .noir-checkout-steps__list {
        justify-content: flex-start;
    }
}

/* Cart: single column below lg; theme grid only from 992px */
@media (max-width: 991px) {
    .noir-cart-page.tf-page-cart-wrap,
    .noir-checkout-flow .tf-page-cart-wrap {
        display: flex !important;
        flex-direction: column;
        gap: 24px;
        grid-template: none !important;
    }

    .noir-cart-page .tf-page-cart-footer,
    .noir-checkout-flow .tf-page-cart-footer {
        margin-top: 0;
    }

    .noir-cart-page .tf-cart-footer-inner,
    .noir-checkout-flow .tf-cart-footer-inner {
        position: static !important;
        top: auto !important;
    }
}

/* Cart mobile rows — requires cart-data-title on td (Ecomus pattern) */
@media (max-width: 767px) {
    .noir-cart-page .tf-table-page-cart {
        margin-bottom: 8px;
    }

    .noir-cart-page .tf-cart-item .tf-cart-item_product .img-box {
        width: 72px;
        max-height: 96px;
        margin-right: 0;
    }

    .noir-cart-page .tf-cart-item {
        padding-inline-start: 88px;
        min-height: 120px;
    }
}

@media (min-width: 992px) {
    .noir-cart-page.tf-page-cart-wrap {
        align-items: start;
    }
}

/* Mini-cart drawer (#shoppingCart) — layout depends on correct HTML nesting */
.modal-shopping-cart .tf-mini-cart-main {
    min-height: 0;
}

.modal-shopping-cart .noir-mini-cart-empty {
    margin: 24px 36px 32px;
    padding: 28px 20px;
}

.modal-shopping-cart .noir-mini-cart-empty .text_black-2 {
    font-size: 14px;
    line-height: 1.5;
}

.modal-shopping-cart .tf-mini-cart-bottom {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    background: #fff;
}

.modal-shopping-cart .tf-mini-cart-tool-openable {
    z-index: 5;
}

.modal-shopping-cart .tf-minicart-recommendations {
    position: relative;
    z-index: 1;
}

.modal-shopping-cart .tf-minicart-recommendations-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.modal-shopping-cart .tf-minicart-recommendations-item-image {
    flex-shrink: 0;
}

.modal-shopping-cart .tf-minicart-recommendations-item-image a {
    display: block;
    width: 72px;
    height: 96px;
}

.modal-shopping-cart .tf-minicart-recommendations-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-shopping-cart .tf-minicart-recommendations-item-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.modal-shopping-cart .tf-minicart-recommendations-item-body .title {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
    line-height: 1.35;
}

.modal-shopping-cart .tf-minicart-recommendations-item-body .price {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
}

.modal-shopping-cart .tf-minicart-recommendations-item-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.modal-shopping-cart .tf-minicart-recommendations-item-actions .box-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    color: #111;
}

.modal-shopping-cart .tf-minicart-recommendations-item-actions .box-icon:hover {
    border-color: #111;
}

.modal-shopping-cart .tf-mini-cart-btns {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
}

.modal-shopping-cart .js-mini-cart-remove {
    font-size: 13px;
    color: var(--text, #333);
    cursor: pointer;
}

.modal-shopping-cart .js-mini-cart-remove:hover {
    color: var(--primary, #000);
}

.noir-cart-page .js-remove-cart {
    font-size: 14px;
    cursor: pointer;
    color: var(--text, #333);
}

.noir-cart-page .js-remove-cart:hover {
    color: var(--primary, #000);
}

.modal-shopping-cart .tf-mini-cart-view-checkout {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-shopping-cart .tf-mini-cart-view-checkout .tf-btn {
    min-height: 44px;
}

/* Site search drawer */
.canvas-search .js-search-empty.d-none {
    display: none !important;
}

.canvas-search .mti-search-results:not(.d-none) {
    display: block;
}

.canvas-search .mti-search-loading {
    padding: 20px 0;
}

.canvas-search .js-search-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.canvas-search input[type="search"]::-webkit-search-cancel-button {
    cursor: pointer;
}

/* ── Centered auth pages (login / register / admin) ── */
body.mti-storefront #wrapper:has(.mti-auth-page) {
    padding-top: 80px !important;
}

.mti-auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px - 120px);
    padding: 48px 20px 64px;
    background: linear-gradient(180deg, #fafafa 0%, #f0f0f0 100%);
}

.mti-auth-page__inner {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

.mti-auth-card--wide {
    max-width: 480px;
}

.mti-auth-page__inner:has(.mti-auth-card--wide) {
    max-width: 480px;
}

.mti-auth-card {
    width: 100%;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 40px 36px 32px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.06);
}

.mti-auth-card__logo {
    display: block;
    text-align: center;
    margin-bottom: 28px;
}

.mti-auth-card__logo img {
    max-width: 140px;
    height: auto;
    margin: 0 auto;
}

.mti-auth-card__badge {
    display: inline-block;
    margin: 0 auto 16px;
    width: 100%;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #666;
}

.mti-auth-card__header {
    text-align: center;
    margin-bottom: 28px;
}

.mti-auth-card__title {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
    color: #000;
}

.mti-auth-card__subtitle {
    font-size: 0.9375rem;
    line-height: 1.5;
    color: #555;
    margin: 0;
}

.mti-auth-alert {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-bottom: 20px;
}

.mti-auth-alert--success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.mti-auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mti-auth-form--stacked {
    gap: 12px;
}

.mti-auth-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mti-auth-field__label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #222;
}

.mti-auth-field__req {
    color: #000;
    margin-left: 2px;
}

.mti-auth-field__input,
.mti-auth-field__select {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    font-size: 0.9375rem;
    color: #000;
    background: #fff;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mti-auth-field__input:focus,
.mti-auth-field__select:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.mti-auth-field__input.is-invalid,
.mti-auth-field__select.is-invalid {
    border-color: #b91c1c;
}

.mti-auth-field__select-wrap .tf-select {
    width: 100%;
}

.mti-auth-field__error {
    font-size: 0.8125rem;
    color: #b91c1c;
    margin: 0;
}

.mti-auth-field__hint {
    font-size: 0.8125rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.mti-auth-form__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: -4px;
}

.mti-auth-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #333;
    cursor: pointer;
    margin: 0;
}

.mti-auth-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: #000;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.mti-auth-link:hover {
    color: #333;
}

.mti-auth-submit {
    margin-top: 4px;
}

.mti-auth-page .tf-btn.btn-fill {
    background-color: #000;
    border-color: #000;
    color: #fff;
}

.mti-auth-page .tf-btn.btn-fill:hover {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}

.mti-auth-page .tf-btn.btn-outline {
    border-color: #000;
    color: #000;
}

.mti-auth-page .tf-btn.btn-outline:hover {
    background-color: #000;
    border-color: #000;
    color: #fff;
}

.mti-auth-card__footer {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #eee;
    text-align: center;
}

.mti-auth-card__footer-text {
    font-size: 0.875rem;
    color: #555;
    margin: 0;
}

.mti-auth-footer-sep {
    margin: 0 8px;
    color: #ccc;
}

@media (max-width: 575px) {
    .mti-auth-card {
        padding: 32px 22px 24px;
        border-radius: 12px;
    }

    .mti-auth-page {
        padding: 32px 16px 48px;
        align-items: flex-start;
    }
}

/* ─── Storefront responsive — sm (≤575) / md (≤991) / lg (≥992) ───────────── */

/* Medium tablets and below */
@media (max-width: 991px) {
    body.mti-storefront {
        --mti-page-title-py: 32px;
    }

    body.mti-storefront:not(.mti-page-home) .tf-page-title + .mti-shop-listing.flat-spacing-2,
    body.mti-storefront:not(.mti-page-home) .tf-page-title + section.mti-shop-listing {
        padding-top: 36px;
    }

    .mti-shop-listing .tf-shop-control.grid-3 {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px 16px;
    }

    .mti-shop-listing .tf-shop-control .tf-control-filter {
        flex: 0 0 auto;
    }

    .mti-shop-listing .tf-shop-control .tf-control-sorting {
        flex: 1 1 auto;
        justify-content: flex-end !important;
        min-width: 0;
    }

    .mti-shop-listing .tf-shop-control .tf-control-layout {
        flex: 1 1 100%;
        justify-content: center;
        order: 3;
    }

    .noir-account-hub .noir-account-panel {
        padding: 20px 18px;
    }
}

/* Small phones and narrow tablets */
@media (max-width: 767px) {
    .mti-product-detail .wrapper-gallery-scroll > .mb_10 .item img {
        min-height: clamp(320px, 52vh, 480px);
        aspect-ratio: auto;
    }

    .mti-shop-listing .flat-spacing-2 {
        padding-top: 28px;
        padding-bottom: 44px;
    }

    .mti-product-detail .tf-breadcrumb-wrap {
        gap: 10px;
    }

    .mti-product-detail .tf-breadcrumb-list {
        font-size: 13px;
        line-height: 1.45;
    }

    .mti-product-detail .tf-breadcrumb-list .text:last-child {
        overflow-wrap: anywhere;
    }

    body.mti-storefront .tf-page-title.style-2 + .w-100 iframe {
        height: clamp(240px, 40vh, 360px) !important;
    }

    .modal-shopping-cart .noir-mini-cart-empty {
        margin: 20px 16px 24px;
    }

    .mti-home-banner-section .mti-home-banner-swiper .collection-item-v4 .collection-content {
        padding: 20px 6% 10%;
    }
}

/* Extra-small phones */
@media (max-width: 575px) {
    body.mti-storefront,
    body.mti-page-home #wrapper {
        --mti-header-bar-h: 72px;
    }

    body.mti-storefront {
        --mti-page-title-py: 24px;
    }

    #header.mti-header-glass .logo-header .logo {
        max-height: 36px;
    }

    body.mti-storefront:not(.mti-page-home) .tf-page-title .heading {
        font-size: clamp(1.35rem, 6vw, 1.75rem);
        line-height: 1.2;
    }

    .mti-shop-listing .tf-shop-control.grid-3 {
        flex-direction: column;
        align-items: stretch;
    }

    .mti-shop-listing .tf-shop-control .tf-control-sorting {
        justify-content: stretch !important;
    }

    .mti-shop-listing .tf-shop-control .tf-dropdown-sort,
    .mti-shop-listing .tf-shop-control .tf-dropdown-sort .btn-select {
        width: 100%;
    }

    .mti-shop-listing .tf-shop-control .tf-control-layout {
        order: 0;
    }

    .mti-home-hero .mti-hero-glass h1 {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .mti-home-circle-categories .tf-categories-wrap .collection-item-circle {
        min-width: clamp(140px, 38vw, 180px);
    }
}

/* Large desktops — sticky account sidebar breathing room */
@media (min-width: 992px) {
    .noir-account-sidebar {
        max-height: calc(100vh - var(--mti-header-bar-h, 80px) - 48px);
        overflow-y: auto;
    }
}

/* ─── Checkout order summary (compact cards) ───────────────────────────────── */

.mti-checkout-sidebar.widget-wrap-checkout {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #fbfbfc;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: clamp(18px, 3vw, 24px);
}

.mti-order-summary__head {
    padding-bottom: 4px;
}

.mti-order-summary__title {
    font-size: 18px;
    color: var(--main, #111);
}

.mti-order-summary__subtitle {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(0, 0, 0, 0.55);
}

.mti-order-summary__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: min(380px, 48vh);
    overflow-y: auto;
    padding-right: 4px;
    -webkit-overflow-scrolling: touch;
}

.mti-order-summary__card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px 14px;
    padding: 14px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.mti-order-summary__thumb {
    display: block;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #f5f5f5;
}

.mti-order-summary__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.mti-order-summary__body {
    min-width: 0;
}

.mti-order-summary__name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--main, #111);
}

.mti-order-summary__meta {
    margin-top: 4px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    color: rgba(0, 0, 0, 0.55);
    text-transform: capitalize;
}

.mti-order-summary__qty {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.4;
    color: rgba(0, 0, 0, 0.5);
}

.mti-order-summary__price {
    text-align: right;
    flex-shrink: 0;
}

.mti-order-summary__amount {
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    color: var(--main, #111);
}

.mti-order-summary__total-row {
    margin-top: 4px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.mti-checkout-sidebar .wd-check-payment {
    margin-top: 0;
}

/* Checkout shipping form — spacing & consistent fields */
.mti-checkout-form {
    --mti-checkout-field-gap: 22px;
}

.mti-checkout-form__heading {
    margin-bottom: 28px !important;
}

.mti-checkout-form .box:not(:last-child) {
    margin-bottom: var(--mti-checkout-field-gap);
}

.mti-checkout-form fieldset.box.fieldset {
    margin-bottom: var(--mti-checkout-field-gap);
}

.mti-checkout-form .box.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--mti-checkout-field-gap);
}

@media (min-width: 768px) {
    .mti-checkout-form .box.grid-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 24px;
        row-gap: var(--mti-checkout-field-gap);
    }
}

.mti-checkout-form fieldset.fieldset,
.mti-checkout-form fieldset.box.fieldset {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

.mti-checkout-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.02em;
    color: var(--main, #111);
}

.mti-checkout-form label.is-optional::after {
    display: none !important;
}

.mti-checkout-form input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
.mti-checkout-form textarea,
.mti-checkout-form .tf-select {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    background-color: #fff !important;
    color: var(--main, #111);
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Payment radios / terms checkbox — do not inherit text-field sizing */
.mti-checkout-form .wd-check-payment .fieldset-radio {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mti-checkout-form .wd-check-payment .fieldset-radio label {
    margin: 0;
    font-weight: 400;
    font-size: 14px;
}

.mti-checkout-form .wd-check-payment .fieldset-radio label::after {
    display: none;
}

.mti-checkout-form .wd-check-payment .tf-check {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    padding: 0 !important;
    margin: 0;
    flex-shrink: 0;
    border-radius: 50%;
    appearance: none;
    -webkit-appearance: none;
}

.mti-checkout-form .wd-check-payment .box-checkbox .tf-check {
    border-radius: 4px;
}

.mti-checkout-form textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

.mti-checkout-form input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]):focus,
.mti-checkout-form textarea:focus,
.mti-checkout-form .tf-select:focus {
    border-color: var(--main, #111);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.mti-checkout-form input:not([type="radio"]):not([type="checkbox"]):-webkit-autofill,
.mti-checkout-form input:not([type="radio"]):not([type="checkbox"]):-webkit-autofill:hover,
.mti-checkout-form input:not([type="radio"]):not([type="checkbox"]):-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    box-shadow: 0 0 0 1000px #fff inset !important;
}

.mti-checkout-form .box-checkbox.fieldset-radio {
    margin-top: 8px;
    padding-top: 8px;
}

.mti-checkout-form .account-address-item {
    margin-bottom: 0;
}

@media (min-width: 1200px) {
    .mti-checkout-form {
        --mti-checkout-field-gap: 26px;
    }

    .mti-checkout-form .box:not(:last-child) {
        margin-bottom: 26px;
    }
}

@media (max-width: 575px) {
    .mti-order-summary__card {
        grid-template-columns: 64px minmax(0, 1fr);
        grid-template-rows: auto auto;
    }

    .mti-order-summary__thumb {
        width: 64px;
        height: 64px;
    }

    .mti-order-summary__price {
        grid-column: 2;
        text-align: left;
    }
}

/* ─── Order confirmation (checkout step 3) ─────────────────────────────────── */

.noir-order-confirmation {
    max-width: 640px;
    margin: 0 auto;
}

.noir-order-confirmation__hero {
    text-align: center;
    padding: 32px 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.noir-order-confirmation__hero.is-success {
    background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%);
    border-color: rgba(22, 101, 52, 0.2);
}

.noir-order-confirmation__hero.is-pending {
    background: linear-gradient(180deg, #fffbeb 0%, #fff 100%);
    border-color: rgba(180, 83, 9, 0.2);
}

.noir-order-confirmation__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-bottom: 16px;
}

.noir-order-confirmation__hero.is-success .noir-order-confirmation__icon {
    background: #166534;
    color: #fff;
}

.noir-order-confirmation__hero.is-pending .noir-order-confirmation__icon {
    background: #111;
    color: #fff;
}

.noir-order-confirmation__title {
    font-size: clamp(1.35rem, 4vw, 1.65rem);
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 12px;
    color: var(--main, #111);
}

.noir-order-confirmation__lead {
    font-size: 15px;
    line-height: 1.55;
    color: rgba(0, 0, 0, 0.65);
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.noir-order-confirmation__pay-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 20px;
    padding: 20px 22px;
    margin-bottom: 24px;
    background: #111;
    color: #fff;
    border-radius: 14px;
}

.noir-order-confirmation__pay-banner .text_black-2 {
    color: rgba(255, 255, 255, 0.75) !important;
}

.noir-order-confirmation__pay-banner-text {
    flex: 1 1 200px;
}

.noir-order-confirmation__pay-btn {
    flex-shrink: 0;
    background: #fff !important;
    color: #111 !important;
    border-color: #fff !important;
    white-space: nowrap;
}

.noir-order-confirmation__pay-btn:hover {
    background: #f5f5f5 !important;
}

.noir-order-confirmation__card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: clamp(20px, 4vw, 28px);
    margin-bottom: 28px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.noir-order-confirmation__card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px 16px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.noir-order-confirmation__meta-line {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.5);
}

.noir-order-confirmation__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.noir-order-confirmation__items {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.noir-order-confirmation__item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px 14px;
}

.noir-order-confirmation__thumb {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.noir-order-confirmation__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.noir-order-confirmation__item-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.noir-order-confirmation__item-meta {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.5);
    margin-top: 2px;
}

.noir-order-confirmation__item-price {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.noir-order-confirmation__totals {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.noir-order-confirmation__total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.65);
}

.noir-order-confirmation__total-row--grand {
    font-size: 16px;
    font-weight: 700;
    color: var(--main, #111);
    padding-top: 8px;
    margin-top: 4px;
}

.noir-order-confirmation__ship-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.45);
}

.noir-order-confirmation__ship {
    font-size: 14px;
    line-height: 1.55;
    color: var(--main, #111);
}

.noir-order-confirmation__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.noir-order-confirmation__actions .tf-btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
}

@media (min-width: 576px) {
    .noir-order-confirmation__actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .noir-order-confirmation__actions .tf-btn {
        width: auto;
        flex: 1 1 auto;
        min-width: 140px;
    }
}

/* Step 3 active on confirmation page */
.noir-checkout-steps__item.is-current .noir-checkout-steps__num {
    background: var(--primary, #000);
    color: #fff;
    border-color: var(--primary, #000);
}

.noir-checkout-steps__item.is-current .noir-checkout-steps__link:not(.noir-checkout-steps__link--muted) {
    border-color: var(--primary, #000);
    background: rgba(0, 0, 0, 0.04);
}

/* Toastr — align with Noir XIX palette */
#toast-container > .toast {
    opacity: 1;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

#toast-container > .toast-success {
    background-color: #111;
}

#toast-container > .toast-error {
    background-color: #b42318;
}

/* Logo Switch Logic on Scroll */
#header.mti-header-glass.mti-header-over-hero:not(.header-bg) .logo-black { display: none !important; }
#header.mti-header-glass.mti-header-over-hero:not(.header-bg) .logo-white { display: block !important; }

#header.mti-header-glass.mti-header-over-hero.header-bg .logo-white { display: none !important; }
#header.mti-header-glass.mti-header-over-hero.header-bg .logo-black { display: block !important; }

/* Remove delay/transition from text color on scroll so it changes instantly */
#header.mti-header-glass.mti-header-over-hero .box-nav-ul > .menu-item > .item-link,
#header.mti-header-glass.mti-header-over-hero .nav-icon .nav-icon-item,
#header.mti-header-glass.mti-header-over-hero .tf-lg-hidden a {
    transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, color 0s !important;
}

