/* Mariposh Fabric brand layer
   Palette derived from update/logo.PNG: deep mauve, dusty rose, blush and warm white. */
:root {
    --bg: #fdf8f9;
    --surface: #ffffff;
    --surface-soft: #fdf1f3;
    --primary: #6e4f52;
    --primary-dark: #52383c;
    --secondary: #cda9b2;
    --ink: #3b292c;
    --muted: #745f63;
    --success: #5f765e;
    --warning: #9b744a;
    --danger: #a14854;
    --border: #ead7dc;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --shadow-sm: 0 8px 22px rgba(110, 79, 82, 0.09);
    --shadow-lg: 0 22px 54px rgba(110, 79, 82, 0.15);
    --mariposh-blush: #fdf1f3;
    --mariposh-rose: #cda9b2;
    --mariposh-mauve: #85686c;
    --mariposh-deep: #6e4f52;
    --mariposh-ink: #3b292c;
    --font-sans: "Segoe UI", Tahoma, Arial, sans-serif;
    --font-display: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

body {
    color: var(--ink);
    background: #fdf8f9;
    font-family: var(--font-sans);
}

button,
input,
select,
textarea {
    font-family: var(--font-sans);
}

h1,
h2,
h3,
h4,
h5,
h6,
.showcase-content h1,
.deal-banner h3,
.international-order-panel strong {
    font-family: var(--font-display);
}

::selection {
    background: #cda9b2;
    color: #3b292c;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(205, 169, 178, 0.72);
    outline-offset: 3px;
}

.site-header,
.site-header.is-sticky,
.site-header.is-fixed {
    background: rgba(255, 250, 251, 0.97);
    border-bottom: 1px solid #ead7dc;
    box-shadow: 0 8px 28px rgba(110, 79, 82, 0.08);
}

@media (min-width: 641px) {
    .site-header,
    .site-header.is-sticky,
    .site-header > .site-header-inner {
        background: #fffafb;
    }

    .site-header > .site-header-inner,
    .site-header-inner {
        border-color: #f0e1e5;
    }
}

.brand {
    color: #52383c;
    letter-spacing: 0.035em;
}

.brand-logo-image {
    width: 76px;
    height: 52px;
    padding: 2px;
    object-fit: contain;
    object-position: center;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.brand-logo-image-admin {
    width: 52px;
    height: 38px;
}

.brand-dot {
    background: #cda9b2;
    box-shadow: 0 0 0 5px rgba(205, 169, 178, 0.22);
}

/* Interaction sizing + editorial hierarchy polish from visual QA. */
.mobile-nav-toggle,
.header-actions a,
.header-actions button,
.theme-toggle,
.deal-action-btn {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
}

.main-nav a,
.main-nav button,
.main-nav .header-search-inline-form {
    min-height: 44px;
    line-height: 1.25;
}

.header-search-inline-form input {
    min-height: 40px;
    line-height: 1.35;
}

.mobile-nav-close,
.social-link {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
}

.mobile-nav-link,
.mobile-nav-auth-btn,
.mobile-nav-logout-btn {
    min-height: 44px;
    display: flex;
    align-items: center;
    line-height: 1.35;
}

.showcase-content {
    max-width: min(62vw, 760px);
}

.showcase-content h1 {
    font-size: clamp(2.35rem, 4.25vw, 3.85rem);
    line-height: 1.12;
    max-width: 12.5ch;
    letter-spacing: 0;
    text-wrap: balance;
}

.showcase-subtitle {
    max-width: 42ch;
}

.deal-banner h3 {
    font-size: clamp(1.4rem, 1.85vw, 1.8rem);
    line-height: 1.14;
    text-wrap: balance;
}

.mobile-nav-toggle,
.header-actions a,
.header-actions button,
.theme-toggle {
    border-color: #ead7dc;
    background: #fffafb;
    color: #6e4f52;
}

.mobile-nav-toggle:hover,
.header-actions a:hover,
.header-actions button:hover,
.theme-toggle:hover {
    border-color: #cda9b2;
    background: #fdf1f3;
    color: #52383c;
}

.main-nav {
    border-color: #f0e1e5;
}

.main-nav a,
.main-nav button,
.main-nav .header-search-inline-form,
.header-chip-category,
.header-search-pill {
    min-height: 42px;
    border-color: #ead7dc;
    background: #fffafb;
    color: #5f4549;
}

.main-nav a:hover,
.main-nav button:hover,
.header-category-toggle[aria-expanded="true"] {
    border-color: #cda9b2;
    background: #f9e8ec;
    color: #52383c;
}

.header-category-dropdown,
.header-account-dropdown,
.mobile-nav-drawer {
    border-color: #ead7dc;
    background: #fffafb;
    box-shadow: var(--shadow-lg);
}

.header-category-dropdown a {
    background: #fff;
    color: #5f4549;
}

.header-category-dropdown a:hover {
    border-color: #dec1c9;
    background: #fdf1f3;
}

.showcase-wrap,
.showcase-carousel,
.showcase-slide {
    background-color: #6e4f52;
}

.showcase-slide::before {
    background: linear-gradient(90deg, rgba(59, 41, 44, 0.72) 0%, rgba(59, 41, 44, 0.42) 42%, rgba(59, 41, 44, 0.08) 76%);
}

.showcase-tag {
    color: #f6dfe5;
    letter-spacing: 0.15em;
}

.showcase-content h1 {
    max-width: 780px;
    color: #fffafb;
    text-wrap: balance;
}

.showcase-subtitle {
    max-width: 650px;
    color: #f7ecef;
}

.btn {
    min-height: 44px;
}

.btn-primary {
    border-color: #6e4f52;
    background: #6e4f52;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(110, 79, 82, 0.18);
}

.btn-primary:hover {
    border-color: #52383c;
    background: #52383c;
    color: #ffffff;
}

.btn-secondary {
    border-color: #cda9b2;
    background: #eddce0;
    color: #52383c;
}

.btn-secondary:hover {
    border-color: #b98f9a;
    background: #dec1c9;
    color: #3b292c;
}

.btn-outline {
    border-color: #cda9b2;
    background: #fffafb;
    color: #6e4f52;
}

.btn-outline:hover {
    border-color: #6e4f52;
    background: #fdf1f3;
    color: #52383c;
}

.panel,
.deal-card,
.product-detail-card,
.product-review-card,
.shop-filter-card,
.wishlist-table-wrap,
.cart-card,
.checkout-card,
.admin-card,
.admin-stat-card {
    border-color: #ead7dc;
    box-shadow: var(--shadow-sm);
}

.deal-card,
.shop-deal-card,
.popular-deal-card {
    background: #fff;
}

.deal-card:hover,
.deal-card:focus-within {
    box-shadow: 0 18px 38px rgba(110, 79, 82, 0.16);
}

.deal-price-inline,
.deal-price-inline span,
.price-current,
.product-detail-price,
.shop-list-price,
.wishlist-price-current {
    color: #6e4f52;
}

.deal-promo-badge,
.detail-promo-chip,
.shop-sold-badge {
    border-color: rgba(205, 169, 178, 0.7);
    background: rgba(253, 241, 243, 0.96);
    color: #5f4549;
}

.section-title h2,
.deal-header h2,
.popular-header h2,
.product-review-head h2 {
    color: #3b292c;
}

.deal-banner {
    border-color: #dec1c9;
    background: #f3e3e7;
    color: #3b292c;
}

.deal-banner-tag,
.newsletter-kicker,
.product-review-kicker {
    color: #85686c;
}

.newsletter-section {
    border-color: #ead7dc;
    background: #fffafb;
}

.newsletter-media-shape {
    background: #eddce0;
}

.shop-hero {
    background-color: #f4e4e8;
    border-color: #ead7dc;
}

.shop-hero::before {
    background: linear-gradient(90deg, rgba(253, 241, 243, 0.96) 0%, rgba(253, 241, 243, 0.82) 48%, rgba(253, 241, 243, 0.28) 100%);
}

.shop-hero-kicker {
    color: #85686c;
}

.shop-hero h1 {
    color: #3b292c;
    max-width: 690px;
    text-wrap: balance;
}

.shop-hero-breadcrumb {
    color: #745f63;
}

.shop-hero-car {
    border-color: rgba(205, 169, 178, 0.64);
    box-shadow: 0 18px 38px rgba(110, 79, 82, 0.16);
}

.shop-filter-card h3,
.shop-list-content h3 a,
.deal-info-inline h3 a,
.product-detail-info h1 {
    color: #3b292c;
}

.shop-price-track-fill {
    background: #85686c;
}

.shop-price-badge {
    background: #6e4f52;
    color: #fff;
}

.product-gallery-main,
.product-gallery-thumb {
    border-color: #ead7dc;
    background: #fdf8f9;
}

.product-gallery-thumb.is-active {
    border-color: #85686c;
    box-shadow: 0 0 0 2px rgba(205, 169, 178, 0.28);
}

.product-detail-stock.is-available,
.wishlist-stock.is-in-stock {
    color: #536952;
    background: #eff5ee;
    border-color: #ceddc9;
}

.international-order-panel {
    display: grid;
    gap: 0.65rem;
    padding: 1rem;
    border: 1px solid #dec1c9;
    border-radius: 16px;
    background: #fdf1f3;
}

.international-order-panel strong {
    color: #52383c;
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    font-size: 1.05rem;
}

.international-order-panel p {
    margin: 0;
    color: #745f63;
}

.international-order-kicker {
    color: #85686c;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.product-source-details {
    margin: 1rem 0;
    padding: 0.85rem 1rem;
    border: 1px solid #ead7dc;
    border-radius: 14px;
    background: #fffafb;
    color: #745f63;
    font-size: 0.82rem;
}

.product-source-details summary {
    cursor: pointer;
    color: #6e4f52;
    font-weight: 700;
}

.product-source-details ul {
    margin: 0.75rem 0 0;
    padding-left: 1.2rem;
}

.product-source-details a {
    color: #6e4f52;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.site-footer {
    border-top-color: #85686c;
    background: #52383c;
    color: #f8edf0;
}

.site-footer a,
.site-footer strong,
.site-footer h3,
.site-footer h4 {
    color: #fffafb;
}

.site-footer p,
.site-footer li {
    color: #ead7dc;
}

.site-footer-bottom {
    border-top-color: rgba(237, 220, 224, 0.2);
}

.admin-body {
    background: #fdf8f9;
}

.admin-sidebar {
    background: #52383c;
    color: #fffafb;
}

.admin-sidebar-subtitle,
.admin-user-label {
    color: #dec1c9;
}

.admin-sidebar-nav a {
    color: #f8edf0;
    border-color: transparent;
}

.admin-sidebar-nav a:hover {
    background: rgba(237, 220, 224, 0.12);
    color: #fff;
}

.admin-sidebar-nav a.is-active {
    background: #eddce0;
    color: #52383c;
    border-color: #cda9b2;
}

.admin-stat-card-highlight {
    border-color: #cda9b2;
    background: #f3e3e7;
}

.admin-stat-card-highlight .admin-stat-label,
.admin-stat-card-highlight .admin-stat-number {
    color: #52383c;
}

.admin-mobile-header,
.admin-auth-header {
    border-color: #ead7dc;
    background: #fffafb;
}

input,
select,
textarea {
    border-color: #decfd3;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #85686c;
    box-shadow: 0 0 0 3px rgba(205, 169, 178, 0.22);
}

html[data-theme="dark"] {
    --bg: #22191b;
    --surface: #2d2225;
    --surface-soft: #38292d;
    --primary: #d9b7c0;
    --primary-dark: #efd8de;
    --secondary: #9b737e;
    --ink: #fff7f9;
    --muted: #d3bdc3;
    --border: #584047;
}

html[data-theme="dark"] body,
html[data-theme="dark"] .admin-body {
    background: #22191b;
    color: #fff7f9;
}

html[data-theme="dark"] .site-header,
html[data-theme="dark"] .site-header.is-sticky,
html[data-theme="dark"] .site-header > .site-header-inner,
html[data-theme="dark"] .panel,
html[data-theme="dark"] .deal-card,
html[data-theme="dark"] .shop-filter-card,
html[data-theme="dark"] .product-detail-card,
html[data-theme="dark"] .newsletter-section,
html[data-theme="dark"] .header-category-dropdown,
html[data-theme="dark"] .header-account-dropdown {
    background: #2d2225;
    border-color: #584047;
}

html[data-theme="dark"] .main-nav a,
html[data-theme="dark"] .main-nav button,
html[data-theme="dark"] .main-nav .header-search-inline-form {
    background: #38292d;
    border-color: #584047;
    color: #f6e6ea;
}

html[data-theme="dark"] .btn-primary {
    background: #d9b7c0;
    border-color: #d9b7c0;
    color: #2d2225;
}

html[data-theme="dark"] .btn-primary:hover {
    background: #efd8de;
    border-color: #efd8de;
    color: #22191b;
}

html[data-theme="dark"] .btn-outline {
    background: transparent;
    border-color: #9b737e;
    color: #f6e6ea;
}

html[data-theme="dark"] .shop-hero {
    background: #38292d;
}

html[data-theme="dark"] .shop-hero::before {
    background: linear-gradient(90deg, rgba(34, 25, 27, 0.94), rgba(34, 25, 27, 0.72), rgba(34, 25, 27, 0.18));
}

html[data-theme="dark"] .deal-banner,
html[data-theme="dark"] .international-order-panel,
html[data-theme="dark"] .product-source-details {
    background: #38292d;
    border-color: #684c54;
}

html[data-theme="dark"] .product-source-details a,
html[data-theme="dark"] .international-order-kicker,
html[data-theme="dark"] .deal-price-inline,
html[data-theme="dark"] .deal-price-inline span,
html[data-theme="dark"] .product-detail-price,
html[data-theme="dark"] .price-current {
    color: #e4c5cd;
}

@media (max-width: 900px) {
    .brand-logo-image {
        width: 64px;
        height: 46px;
    }

    .showcase-content h1 {
        max-width: 620px;
    }
}

@media (max-width: 640px) {
    .site-header-inner {
        border-color: #ead7dc;
        background: #fffafb;
        box-shadow: var(--shadow-sm);
    }

    .brand {
        font-size: 0;
        gap: 0;
    }

    .brand-logo-image {
        width: 68px;
        height: 48px;
    }

    .mobile-nav-toggle,
    .header-actions a,
    .header-actions button {
        min-width: 44px;
        width: 44px;
        min-height: 44px;
        height: 44px;
    }

    .main-nav a,
    .main-nav button,
    .main-nav .header-search-inline-form {
        min-height: 44px;
    }

    .showcase-content {
        max-width: 92vw;
    }

    .showcase-content h1 {
        max-width: 16ch;
        font-size: clamp(1.75rem, 7.4vw, 2rem);
        line-height: 1.12;
    }

    .showcase-subtitle {
        max-width: 30ch;
    }

    .shop-hero h1 {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .international-order-panel .product-detail-cta-group {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* ==========================================================================
   Mariposh editorial header + footer redesign
   ========================================================================== */
.site-header {
    padding: 0;
    border-bottom: 1px solid rgba(110, 79, 82, 0.12);
    background: rgba(255, 250, 251, 0.98);
    box-shadow: 0 10px 34px rgba(82, 56, 60, 0.07);
    backdrop-filter: blur(18px);
}

.mariposh-header-ribbon {
    width: 100%;
    background: #52383c;
    color: #f9eef1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mariposh-header-ribbon-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.72rem;
    letter-spacing: 0.035em;
}

.mariposh-header-ribbon p {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    color: #f4e5e9;
}

.mariposh-header-ribbon strong {
    color: #fffafb;
    font-weight: 700;
}

.mariposh-ribbon-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d9b7c0;
    box-shadow: 0 0 0 4px rgba(217, 183, 192, 0.13);
}

.mariposh-ribbon-links {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.mariposh-ribbon-links a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    color: #f4e5e9;
    text-decoration: none;
    transition: color 180ms ease;
}

.mariposh-ribbon-links a:hover {
    color: #ffffff;
}

.site-header > .site-header-inner,
.site-header-inner {
    width: min(100% - 2rem, 1320px);
    max-width: 1320px;
    margin-inline: auto;
    min-height: 82px;
    padding: 0.72rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand nav right";
    align-items: center;
    gap: clamp(1rem, 2.2vw, 2.2rem);
}

.mariposh-brand-lockup,
.mariposh-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.78rem;
    text-decoration: none;
}

.mariposh-brand-lockup {
    grid-area: brand;
    justify-self: start;
    min-width: max-content;
    color: #52383c;
}

.mariposh-brand-mark {
    width: 58px;
    height: 46px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 14px;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.95), rgba(253, 241, 243, 0.75)),
        #fdf1f3;
    border: 1px solid #ead7dc;
    box-shadow: 0 8px 22px rgba(110, 79, 82, 0.1);
    overflow: hidden;
}

.mariposh-brand-mark .brand-logo-image,
.mariposh-brand-lockup .brand-logo-image {
    width: 100%;
    height: 100%;
    padding: 4px;
    object-fit: contain;
    object-position: center;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.mariposh-brand-copy {
    display: grid;
    gap: 0.12rem;
    line-height: 1;
    min-width: 0;
}

.mariposh-brand-copy strong {
    color: #52383c;
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: 0.025em;
    white-space: nowrap;
}

.mariposh-brand-copy small {
    color: #8a7076;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.105em;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-header .main-nav {
    grid-area: nav;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.12rem;
    min-width: 0;
    padding: 0;
    border: 0;
    overflow: visible;
}

.site-header .main-nav > a,
.site-header .main-nav > button,
.site-header .header-category-toggle {
    min-height: 44px;
    padding: 0 0.64rem;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #694f54;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.012em;
    transition: color 180ms ease, background 180ms ease;
}

.site-header .main-nav > a:hover,
.site-header .main-nav > button:hover,
.site-header .header-category-toggle:hover,
.site-header .header-category-toggle[aria-expanded="true"] {
    color: #52383c;
    background: #f9eaed;
}

.site-header .header-category-menu {
    flex: 0 0 auto;
}

.site-header .header-chip-category {
    min-width: auto;
    gap: 0.42rem;
}

.site-header .header-category-dropdown {
    border-color: #ead7dc;
    border-radius: 14px;
    background: #fffafb;
    box-shadow: 0 20px 44px rgba(82, 56, 60, 0.16);
    padding: 0.5rem;
}

.site-header .header-category-dropdown a {
    min-height: 40px;
    border-radius: 9px;
    background: transparent;
    color: #5f4549;
}

.site-header .header-category-dropdown a:hover {
    background: #f9eaed;
    border-color: transparent;
}

.site-header .main-nav .header-search-inline-form,
.site-header .header-search-pill {
    flex: 1 1 300px;
    min-width: 230px;
    max-width: 380px;
    height: 46px;
    min-height: 46px;
    margin-left: 0.45rem;
    padding: 3px 3px 3px 0.3rem;
    display: flex;
    align-items: center;
    gap: 0;
    overflow: hidden;
    border: 1px solid #dec1c9;
    border-radius: 16px;
    background: #fffafb;
    color: #6f585d;
    box-shadow: 0 4px 14px rgba(110, 79, 82, 0.06);
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.site-header .main-nav .header-search-inline-form:hover {
    border-color: #cda9b2;
    background: #ffffff;
}

.site-header .main-nav .header-search-inline-form:focus-within {
    border-color: #b98f9a;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(205, 169, 178, 0.16), 0 6px 18px rgba(110, 79, 82, 0.08);
}

.site-header .header-search-inline-form input,
.site-header .header-search-inline-form input[type="search"] {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    height: 38px;
    min-height: 38px;
    margin: 0;
    padding: 0 0.85rem;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #4b363a;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 38px;
    appearance: none;
    -webkit-appearance: none;
}

.site-header .header-search-inline-form input::placeholder {
    color: #9a8489;
    opacity: 1;
}

.site-header .header-search-inline-submit {
    width: 42px;
    min-width: 42px;
    height: 38px;
    min-height: 38px;
    margin: 0;
    padding: 0;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-left: 1px solid #ead7dc;
    border-radius: 12px;
    background: #fdf1f3;
    color: #6e4f52;
    box-shadow: none;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header .header-search-inline-submit .header-icon {
    width: 17px;
    height: 17px;
    stroke-width: 2.1;
}

.site-header .header-search-inline-submit:hover {
    border-left-color: #dec1c9;
    background: #f3e3e7;
    color: #52383c;
}

.site-header .header-search-inline-submit:focus-visible {
    outline: 2px solid #b98f9a;
    outline-offset: -2px;
    border-radius: 12px;
}

.site-header .header-top-right {
    grid-area: right;
    justify-self: end;
}

.site-header .header-actions {
    gap: 0.42rem;
}

.site-header .header-actions a,
.site-header .header-actions button,
.site-header .mobile-nav-toggle {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    border: 1px solid #ead7dc;
    border-radius: 14px;
    background: #fffafb;
    color: #6e4f52;
    box-shadow: 0 5px 16px rgba(110, 79, 82, 0.06);
}

.site-header .header-actions a:hover,
.site-header .header-actions button:hover,
.site-header .mobile-nav-toggle:hover {
    transform: translateY(-1px);
    border-color: #cda9b2;
    background: #f9eaed;
    color: #52383c;
    box-shadow: 0 8px 18px rgba(110, 79, 82, 0.11);
}

.site-header .header-icon {
    width: 18px;
    height: 18px;
}

.site-header .badge-cart {
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    top: -6px;
    right: -4px;
    background: #6e4f52;
    color: #fff;
    border: 2px solid #fffafb;
}

.site-header .mobile-nav-toggle {
    display: none;
    grid-area: menu;
}

.mobile-nav-panel {
    width: min(410px, 92vw);
    padding: 1rem;
    border-left-color: #e7d2d7;
    background:
        linear-gradient(180deg, #fffafb 0%, #fdf3f5 100%);
    box-shadow: -24px 0 60px rgba(82, 56, 60, 0.22);
}

.mobile-nav-head {
    min-height: 56px;
    padding-bottom: 0.25rem;
}

.mobile-nav-brand-heading {
    display: grid;
    gap: 0.18rem;
}

.mobile-nav-brand-heading strong {
    color: #52383c;
    font-family: var(--font-display);
    font-size: 1.12rem;
}

.mobile-nav-brand-heading small {
    color: #987f85;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mobile-nav-close,
.mobile-nav-icon-link,
.mobile-nav-icon-btn,
.mobile-nav-theme-toggle,
.mobile-nav-link,
.mobile-nav-auth-btn,
.mobile-nav-logout-btn {
    min-height: 44px;
}

.mobile-nav-close {
    width: 44px;
    min-width: 44px;
    height: 44px;
    border-color: #ead7dc;
    background: #ffffff;
    color: #6e4f52;
}

.mobile-nav-quickactions {
    gap: 0.55rem;
}

.mobile-nav-icon-link,
.mobile-nav-icon-btn {
    border-color: #ead7dc;
    border-radius: 13px;
    background: #ffffff;
    color: #6e4f52;
}

.mobile-nav-theme-toggle,
.mobile-nav-link,
.mobile-nav-auth-btn,
.mobile-nav-logout-btn {
    border-color: #ead7dc;
    border-radius: 12px;
    background: #fff;
    color: #5d454a;
}

.mobile-nav-link {
    padding: 0.72rem 0.82rem;
    font-weight: 700;
}

.mobile-nav-link:hover,
.mobile-nav-auth-btn:hover,
.mobile-nav-logout-btn:hover {
    border-color: #cda9b2;
    background: #f9eaed;
    color: #52383c;
}

/* Footer */
.site-footer {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-top: auto;
    border-top: 0;
    background:
        radial-gradient(circle at 12% 0%, rgba(205, 169, 178, 0.15), transparent 32%),
        linear-gradient(145deg, #4d3539 0%, #3b292c 58%, #2f2225 100%);
    color: #f8edf0;
    overflow: hidden;
}

.site-footer-top {
    padding: 0;
}

.mariposh-footer-lead {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) auto;
    align-items: end;
    gap: 2rem;
    padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(2.4rem, 4.5vw, 4rem);
    border-bottom: 1px solid rgba(239, 216, 222, 0.16);
}

.mariposh-footer-lead-copy {
    max-width: 800px;
}

.mariposh-footer-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #dcbfc7;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.mariposh-footer-eyebrow::before {
    content: "";
    width: 22px;
    height: 1px;
    background: #cda9b2;
}

.mariposh-footer-lead h2 {
    margin: 0.85rem 0 0;
    max-width: 17ch;
    color: #fffafb;
    font-size: clamp(2.1rem, 4.6vw, 4.3rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.mariposh-footer-lead p {
    max-width: 62ch;
    margin: 1rem 0 0;
    color: #decbd0;
    font-size: 0.97rem;
    line-height: 1.7;
}

.mariposh-footer-lead-actions {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.mariposh-footer-primary,
.mariposh-footer-secondary {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0 1rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.mariposh-footer-primary {
    border: 1px solid #f0dce1;
    background: #f4e4e8;
    color: #4d3539;
}

.mariposh-footer-secondary {
    border: 1px solid rgba(240, 220, 225, 0.28);
    background: rgba(255, 255, 255, 0.04);
    color: #f8edf0;
}

.mariposh-footer-primary:hover,
.mariposh-footer-secondary:hover {
    transform: translateY(-2px);
}

.mariposh-footer-primary:hover {
    background: #fffafb;
    color: #3b292c;
}

.mariposh-footer-secondary:hover {
    border-color: rgba(240, 220, 225, 0.62);
    background: rgba(255, 255, 255, 0.08);
}

.site-footer-grid.mariposh-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(150px, 0.72fr) minmax(170px, 0.82fr) minmax(220px, 1fr);
    gap: clamp(1.5rem, 3.4vw, 3.7rem);
    align-items: start;
    padding: clamp(2.5rem, 4.5vw, 4rem) 0;
}

.mariposh-footer-brand {
    justify-content: flex-start;
    color: #fffafb;
}

.mariposh-brand-mark-footer {
    width: 64px;
    height: 52px;
    background: rgba(255, 250, 251, 0.96);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: none;
}

.mariposh-footer-brand .mariposh-brand-copy strong {
    color: #fffafb;
    font-size: 1.02rem;
}

.mariposh-footer-brand .mariposh-brand-copy small {
    color: #d8b9c1;
}

.site-footer .footer-brand-block p {
    max-width: 46ch;
    margin: 1.05rem 0 0;
    color: #dac6cb;
    font-size: 0.91rem;
    line-height: 1.75;
}

.mariposh-footer-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1.15rem;
}

.mariposh-footer-chips span {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 0.68rem;
    border: 1px solid rgba(236, 211, 217, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: #ddc8cd;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.025em;
}

.site-footer .footer-links,
.site-footer .footer-social {
    display: grid;
    align-content: start;
    gap: 0.18rem;
}

.site-footer .footer-links h4,
.site-footer .footer-social h4 {
    margin: 0 0 0.78rem;
    color: #fffafb;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.site-footer .footer-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: #d9c6cb;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
}

.site-footer .footer-links a::after {
    content: "↗";
    margin-left: 0.45rem;
    color: #b9939d;
    font-size: 0.72rem;
    opacity: 0;
    transform: translate(-4px, 3px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.site-footer .footer-links a:hover {
    color: #ffffff;
    transform: none;
}

.site-footer .footer-links a:hover::after {
    opacity: 1;
    transform: translate(0, 0);
}

.mariposh-footer-address {
    margin: 0;
    color: #d9c6cb;
    font-size: 0.86rem;
    line-height: 1.65;
}

.mariposh-footer-contact-line {
    margin: 0.78rem 0 0;
    color: #cdb6bc;
    font-size: 0.77rem;
}

.mariposh-footer-contact-line strong {
    display: block;
    margin-top: 0.18rem;
    color: #fffafb;
    font-size: 0.86rem;
}

.mariposh-social-label {
    display: block;
    margin-bottom: 0.6rem;
    color: #bfa6ad;
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-footer .social-list {
    gap: 0.48rem;
}

.site-footer .social-link {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    border: 1px solid rgba(236, 211, 217, 0.2);
    background: rgba(255, 255, 255, 0.04);
    color: #f0dce1;
}

.site-footer .social-link:hover {
    transform: translateY(-2px);
    border-color: rgba(236, 211, 217, 0.55);
    background: #f0dce1;
    color: #4d3539;
}

.site-footer-bottom {
    border-top: 1px solid rgba(239, 216, 222, 0.12);
    background: rgba(28, 18, 21, 0.18);
}

.site-footer-bottom-inner.mariposh-footer-bottom-inner {
    min-height: 62px;
    padding: 0.7rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-footer-bottom-inner.mariposh-footer-bottom-inner p {
    margin: 0;
    color: #bfaab0;
    font-size: 0.74rem;
}

.mariposh-footer-bottom-links {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #bfaab0;
    font-size: 0.72rem;
}

.mariposh-footer-bottom-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: #ead5da;
    text-decoration: none;
}

.cart-drawer-close,
.search-modal-close,
.admin-login-modal-close,
.promo-event-modal-close {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
}

.mariposh-footer-bottom-links a:hover {
    color: #ffffff;
}

html[data-theme="dark"] .site-header,
html[data-theme="dark"] .site-header > .site-header-inner,
html[data-theme="dark"] .site-header-inner {
    background: rgba(45, 34, 37, 0.98);
    border-color: #584047;
}

html[data-theme="dark"] .mariposh-brand-copy strong {
    color: #fff7f9;
}

html[data-theme="dark"] .mariposh-brand-copy small {
    color: #d3bdc3;
}

html[data-theme="dark"] .site-header .main-nav > a,
html[data-theme="dark"] .site-header .main-nav > button,
html[data-theme="dark"] .site-header .header-category-toggle {
    color: #ead7dc;
    background: transparent;
    border: 0;
}

html[data-theme="dark"] .site-header .main-nav > a:hover,
html[data-theme="dark"] .site-header .main-nav > button:hover,
html[data-theme="dark"] .site-header .header-category-toggle:hover {
    background: #38292d;
    color: #fff7f9;
}

html[data-theme="dark"] .site-header .main-nav .header-search-inline-form {
    border-color: #584047;
    background: #38292d;
}

html[data-theme="dark"] .site-header .header-actions a,
html[data-theme="dark"] .site-header .header-actions button,
html[data-theme="dark"] .site-header .mobile-nav-toggle {
    border-color: #584047;
    background: #38292d;
    color: #f6e6ea;
}

@media (min-width: 961px) {
    .site-header .mobile-nav-toggle {
        display: none !important;
    }
}

@media (max-width: 1100px) and (min-width: 961px) {
    .site-header > .site-header-inner,
    .site-header-inner {
        width: min(100% - 1.2rem, 1320px);
        gap: 0.8rem;
    }

    .mariposh-brand-copy small {
        display: none;
    }

    .site-header .main-nav > a,
    .site-header .main-nav > button,
    .site-header .header-category-toggle {
        padding-inline: 0.48rem;
        font-size: 0.73rem;
    }

    .site-header .main-nav .header-search-inline-form,
    .site-header .header-search-pill {
        flex-basis: 220px;
        min-width: 180px;
        margin-left: 0.1rem;
    }
}

@media (max-width: 960px) {
    .mariposh-header-ribbon-inner {
        width: min(100% - 1.5rem, 1320px);
        min-height: 32px;
    }

    .mariposh-ribbon-links {
        display: none;
    }

    .site-header > .site-header-inner,
    .site-header-inner {
        width: min(100% - 1.2rem, 1320px);
        min-height: 72px;
        padding: 0.58rem 0;
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-areas: "menu brand right";
        gap: 0.72rem;
        background: transparent;
    }

    .site-header .mobile-nav-toggle {
        display: inline-flex !important;
        justify-self: start;
        margin: 0;
    }

    .site-header .main-nav {
        display: none !important;
    }

    .mariposh-brand-lockup {
        justify-self: center;
        min-width: 0;
    }

    .mariposh-brand-mark {
        width: 52px;
        height: 42px;
        border-radius: 12px;
    }

    .mariposh-brand-copy strong {
        font-size: 0.92rem;
    }

    .mariposh-brand-lockup .mariposh-brand-copy small {
        display: none;
    }

    .mariposh-footer-brand .mariposh-brand-copy small {
        font-size: 0.72rem;
    }

    .site-header .header-top-right {
        justify-self: end;
    }

    .site-header .header-actions {
        gap: 0.28rem;
    }

    .site-header .header-actions a,
    .site-header .header-actions button {
        width: 44px;
        min-width: 44px;
        height: 44px;
    }

    .site-footer-grid.mariposh-footer-grid {
        grid-template-columns: minmax(0, 1.4fr) minmax(150px, 0.8fr);
    }

    .site-footer .footer-brand-block,
    .site-footer .mariposh-footer-contact {
        grid-column: 1 / -1;
    }

    .mariposh-footer-lead {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 1.5rem;
    }

    .mariposh-footer-lead-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .mariposh-header-ribbon {
        display: none;
    }

    .site-header > .site-header-inner,
    .site-header-inner {
        width: calc(100% - 0.8rem);
        min-height: 66px;
        padding: 0.42rem 0;
        gap: 0.35rem;
    }

    .mariposh-brand-lockup,
    .mariposh-footer-brand {
        min-height: 44px;
    }

    .mariposh-brand-lockup {
        gap: 0.42rem;
    }

    .mariposh-brand-mark {
        width: 46px;
        height: 38px;
        border-radius: 10px;
    }

    .mariposh-brand-copy strong {
        font-size: 0.8rem;
        letter-spacing: 0;
    }

    .mariposh-brand-copy small {
        display: none;
    }

    .site-header .header-actions {
        gap: 0.2rem;
    }

    .site-header .header-actions a,
    .site-header .header-actions button,
    .site-header .mobile-nav-toggle {
        width: 42px;
        min-width: 42px;
        height: 42px;
        min-height: 42px;
        border-radius: 12px;
    }

    .site-header .header-actions > :first-child {
        display: none;
    }

    .mobile-nav-panel {
        width: min(380px, 94vw);
        padding: 0.85rem;
    }

    .site-footer-grid.mariposh-footer-grid {
        grid-template-columns: 1fr;
        gap: 1.85rem;
        padding: 2.2rem 0;
    }

    .site-footer .footer-brand-block,
    .site-footer .mariposh-footer-contact {
        grid-column: auto;
    }

    .mariposh-footer-lead {
        padding: 2.8rem 0 2.2rem;
        gap: 1.25rem;
    }

    .mariposh-footer-lead h2 {
        max-width: 17ch;
        font-size: clamp(1.85rem, 8.4vw, 2.1rem);
        line-height: 1.08;
        letter-spacing: -0.02em;
    }

    .mariposh-footer-lead p {
        font-size: 0.9rem;
        line-height: 1.65;
    }

    .mariposh-footer-lead-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .mariposh-footer-primary,
    .mariposh-footer-secondary {
        width: 100%;
        min-height: 48px;
    }

    .site-footer .footer-links a {
        min-height: 44px;
        width: 100%;
        border-bottom: 1px solid rgba(237, 215, 220, 0.1);
    }

    .mariposh-footer-chips {
        gap: 0.38rem;
    }

    .site-footer-bottom-inner.mariposh-footer-bottom-inner {
        min-height: 0;
        padding: 1rem 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .mariposh-footer-bottom-links {
        flex-wrap: wrap;
    }
}


/* Sticky behavior fix: ribbon scrolls away; only the main header follows the viewport. */
.mariposh-header-ribbon {
    position: relative;
    z-index: 21;
}

@media (min-width: 961px) {
    .site-header.is-sticky > .site-header-inner,
    .site-header.is-fixed > .site-header-inner,
    .site-header.is-sticky .site-header-inner,
    .site-header.is-fixed .site-header-inner {
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-areas: "brand nav right";
        gap: clamp(1rem, 2.2vw, 2.2rem);
        padding-top: 0.72rem;
        padding-bottom: 0.72rem;
    }

    .site-header.is-sticky .main-nav,
    .site-header.is-fixed .main-nav {
        display: flex;
    }
}

@media (max-width: 960px) {
    .site-header.is-sticky .main-nav,
    .site-header.is-fixed .main-nav {
        display: none !important;
    }
}


/* ==========================================================================
   Mariposh homepage hero — clean editorial textile direction
   No nested frames, no bordered glass card, no receipt-like separators.
   ========================================================================== */
.showcase-editorial {
    --hero-shell: min(1320px, calc(100% - 2rem));
    --hero-cream: #fff9fa;
    --hero-blush: #e6cbd2;
    --hero-muted: #eadde0;
    position: relative;
    background: #211719;
}

.showcase-editorial .showcase-carousel {
    height: clamp(560px, 70vh, 720px);
    min-height: 560px;
    background: #211719;
}

.showcase-editorial .showcase-slide {
    isolation: isolate;
    background-image: var(--slide-bg);
    background-size: cover;
    background-position: center 46%;
    background-repeat: no-repeat;
}

.showcase-editorial .showcase-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg,
            rgba(17, 11, 13, 0.88) 0%,
            rgba(26, 17, 20, 0.72) 28%,
            rgba(47, 31, 36, 0.42) 52%,
            rgba(28, 18, 21, 0.10) 78%),
        linear-gradient(180deg,
            rgba(18, 11, 14, 0.04) 45%,
            rgba(18, 11, 14, 0.40) 100%);
}

.showcase-editorial .showcase-slide::after {
    content: none;
}

.showcase-editorial .showcase-slide-link {
    z-index: 1;
}

.showcase-editorial .showcase-content-shell {
    z-index: 3;
    width: var(--hero-shell);
    padding: clamp(2rem, 5vw, 4.75rem) 0 6rem;
    align-items: center;
}

.showcase-editorial .showcase-content {
    width: min(720px, 56vw);
    max-width: 720px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: visible;
    color: var(--hero-cream);
}

.showcase-editorial .showcase-content::after,
.showcase-editorial .showcase-content-accent,
.showcase-editorial .showcase-tag-dot,
.showcase-editorial .showcase-note {
    display: none;
}

.showcase-editorial .showcase-tag {
    margin: 0;
    color: var(--hero-blush);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.showcase-editorial .showcase-content h1 {
    max-width: 19ch;
    margin: 1rem 0 0;
    color: var(--hero-cream);
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 3.9vw, 4.1rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.045em;
    text-transform: uppercase;
    text-wrap: balance;
    text-shadow: 0 4px 26px rgba(7, 4, 5, 0.30);
}

.showcase-editorial .showcase-subtitle {
    max-width: 47ch;
    margin: 1.2rem 0 0;
    color: var(--hero-muted);
    font-size: clamp(1rem, 1.25vw, 1.14rem);
    font-weight: 500;
    line-height: 1.65;
    text-wrap: pretty;
    text-shadow: 0 2px 14px rgba(7, 4, 5, 0.24);
}

.showcase-editorial .showcase-cta-btn {
    min-height: 48px;
    margin-top: 1.55rem;
    padding: 0 1.1rem 0 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.82rem;
    border: 0;
    border-radius: 4px;
    background: #fff9fa;
    color: #412d31;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: none;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.showcase-editorial .showcase-cta-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 180ms ease;
}

.showcase-editorial .showcase-cta-btn:hover {
    transform: translateY(-2px);
    background: #e8cfd5;
    color: #2f2024;
}

.showcase-editorial .showcase-cta-btn:hover svg {
    transform: translateX(3px);
}

.showcase-editorial .showcase-cta-btn:focus-visible {
    outline: 3px solid rgba(244, 223, 228, 0.78);
    outline-offset: 4px;
}

.showcase-editorial .showcase-controls {
    position: absolute;
    z-index: 8;
    right: max(1rem, calc((100vw - 1320px) / 2));
    bottom: 1.55rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.showcase-editorial .showcase-nav {
    position: static;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: rgba(255, 249, 250, 0.92);
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.showcase-editorial .showcase-nav svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.showcase-editorial .showcase-nav:hover {
    transform: translateY(-1px);
    background: rgba(255, 249, 250, 0.12);
    color: #ffffff;
}

.showcase-editorial .showcase-nav:focus-visible {
    outline: 2px solid #f4dfe4;
    outline-offset: 2px;
}

.showcase-editorial .showcase-dots {
    position: static;
    transform: none;
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin: 0;
}

.showcase-editorial .showcase-dot {
    position: relative;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
}

.showcase-editorial .showcase-dot::before {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    top: 50%;
    height: 2px;
    border-radius: 0;
    background: rgba(255, 249, 250, 0.36);
    transform: translateY(-50%);
    transition: left 180ms ease, right 180ms ease, background 180ms ease;
}

.showcase-editorial .showcase-dot:hover::before {
    background: rgba(255, 249, 250, 0.72);
}

.showcase-editorial .showcase-dot.is-active::before {
    left: 4px;
    right: 4px;
    background: #fff9fa;
}

.showcase-editorial .showcase-counter {
    min-width: 52px;
    margin: 0 0.15rem;
    display: inline-flex;
    justify-content: center;
    gap: 0.26rem;
    color: rgba(255, 249, 250, 0.90);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.08em;
}

.showcase-editorial .showcase-counter-divider {
    color: rgba(255, 249, 250, 0.46);
}

.showcase-editorial .showcase-slide.is-active .showcase-content {
    animation: mariposhHeroEditorialReveal 560ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@keyframes mariposhHeroEditorialReveal {
    from {
        opacity: 0;
        transform: translate3d(0, 18px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media (max-width: 960px) {
    .showcase-editorial .showcase-carousel {
        height: clamp(540px, 68vh, 650px);
        min-height: 540px;
    }

    .showcase-editorial .showcase-content-shell {
        width: min(100% - 2rem, 760px);
        padding-bottom: 5.5rem;
    }

    .showcase-editorial .showcase-content {
        width: min(650px, 84vw);
        max-width: 650px;
    }

    .showcase-editorial .showcase-content h1 {
        max-width: 19ch;
        font-size: clamp(2.3rem, 5.7vw, 3.25rem);
        line-height: 1.1;
    }

    .showcase-editorial .showcase-subtitle {
        max-width: 42ch;
        font-size: 1rem;
    }

    .showcase-editorial .showcase-controls {
        right: 1rem;
        bottom: 1rem;
    }
}

@media (max-width: 640px) {
    .showcase-editorial .showcase-carousel {
        height: clamp(560px, 76svh, 660px);
        min-height: 560px;
    }

    .showcase-editorial .showcase-slide {
        background-position: 60% center;
    }

    .showcase-editorial .showcase-slide::before {
        background:
            linear-gradient(180deg,
                rgba(19, 12, 14, 0.08) 0%,
                rgba(25, 16, 19, 0.20) 30%,
                rgba(27, 18, 21, 0.72) 65%,
                rgba(17, 11, 13, 0.96) 100%);
    }

    .showcase-editorial .showcase-content-shell {
        width: calc(100% - 2rem);
        padding: 1.5rem 0 5.25rem;
        align-items: flex-end;
    }

    .showcase-editorial .showcase-content {
        width: 100%;
        max-width: none;
        padding: 0;
    }

    .showcase-editorial .showcase-tag {
        font-size: 0.72rem;
        letter-spacing: 0.14em;
    }

    .showcase-editorial .showcase-content h1 {
        max-width: 100%;
        margin-top: 0.72rem;
        font-size: clamp(1.9rem, 8vw, 2.3rem);
        line-height: 1.12;
        letter-spacing: -0.035em;
    }

    .showcase-editorial .showcase-subtitle {
        max-width: 32ch;
        margin-top: 0.78rem;
        font-size: 0.92rem;
        line-height: 1.5;
    }

    .showcase-editorial .showcase-cta-btn {
        min-height: 48px;
        margin-top: 1rem;
        padding-inline: 1rem;
    }

    .showcase-editorial .showcase-controls {
        left: 1rem;
        right: 1rem;
        bottom: 0.65rem;
        justify-content: center;
        min-height: 44px;
    }

    .showcase-editorial .showcase-nav,
    .showcase-editorial .showcase-dot {
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
    }

    .showcase-editorial .showcase-counter {
        min-width: 44px;
        font-size: 0.76rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .showcase-editorial .showcase-slide.is-active .showcase-content {
        animation: none !important;
    }

    .showcase-editorial .showcase-cta-btn,
    .showcase-editorial .showcase-cta-btn svg,
    .showcase-editorial .showcase-nav,
    .showcase-editorial .showcase-dot::before {
        transition: none !important;
    }
}


/* ==========================================================================
   Mariposh fabric texture gallery — modern editorial rail
   ========================================================================== */
.mariposh-texture-gallery {
    --gallery-ink: #3b292c;
    --gallery-mauve: #6e4f52;
    --gallery-blush: #cda9b2;
    --gallery-wash: #fbf4f6;
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-inline: calc(50% - 50vw);
    padding: clamp(3.25rem, 6vw, 5.25rem) 0 clamp(3rem, 5vw, 4.5rem);
    border: 0;
    border-radius: 0;
    background:
        radial-gradient(circle at 12% 10%, rgba(205, 169, 178, 0.16), transparent 30%),
        linear-gradient(180deg, #fffafb 0%, #f8eef1 100%);
    box-shadow: none;
    overflow: hidden;
}

.mariposh-texture-gallery .portrait-gallery-intro {
    width: min(100% - 2rem, 1320px);
    max-width: 1320px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
}

.mariposh-texture-gallery .portrait-gallery-intro-copy {
    max-width: 720px;
}

.mariposh-texture-gallery .portrait-gallery-eyebrow {
    margin: 0;
    color: #8a6871;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.mariposh-texture-gallery .portrait-gallery-intro h2 {
    max-width: 13ch;
    margin: 0.55rem 0 0;
    color: var(--gallery-ink);
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 4vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.mariposh-texture-gallery .portrait-gallery-intro-copy > p:last-child {
    max-width: 56ch;
    margin: 1rem 0 0;
    color: #745f63;
    font-size: 0.96rem;
    line-height: 1.7;
}

.mariposh-texture-gallery .portrait-gallery-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    flex: 0 0 auto;
    padding: 0;
    color: var(--gallery-mauve);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
}

.mariposh-texture-gallery .portrait-gallery-link svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 180ms ease;
}

.mariposh-texture-gallery .portrait-gallery-link:hover {
    color: #4f373c;
    transform: translateY(-1px);
}

.mariposh-texture-gallery .portrait-gallery-link:hover svg {
    transform: translateX(3px);
}

.mariposh-texture-gallery .portrait-gallery-link:focus-visible {
    outline: 3px solid rgba(205, 169, 178, 0.42);
    outline-offset: 4px;
    border-radius: 4px;
}

.mariposh-texture-gallery .portrait-gallery-marquee {
    position: relative;
    width: 100%;
    margin-top: clamp(1.8rem, 3.5vw, 3rem);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}

.mariposh-texture-gallery .portrait-gallery-track {
    display: flex;
    align-items: center;
    gap: clamp(0.9rem, 1.4vw, 1.35rem);
    width: max-content;
    padding: 0.45rem 1rem 1rem;
    will-change: transform;
}

.mariposh-texture-gallery .portrait-gallery-item {
    --gallery-card-width: clamp(215px, 17vw, 270px);
    --gallery-card-height: clamp(285px, 22vw, 345px);
    position: relative;
    flex: 0 0 auto;
    width: var(--gallery-card-width);
    height: var(--gallery-card-height);
    margin: 0;
    overflow: hidden;
    border: 0;
    border-radius: 20px;
    background: #d8c9cd;
    box-shadow: 0 18px 40px rgba(73, 49, 55, 0.13);
    transform: translateZ(0);
    transition: transform 360ms cubic-bezier(.22,.61,.36,1), box-shadow 360ms ease;
}

.mariposh-texture-gallery .portrait-gallery-item.is-feature {
    --gallery-card-width: clamp(270px, 22vw, 350px);
    --gallery-card-height: clamp(315px, 25vw, 385px);
}

.mariposh-texture-gallery .portrait-gallery-item.is-tall {
    --gallery-card-width: clamp(205px, 16vw, 250px);
    --gallery-card-height: clamp(320px, 25vw, 390px);
}

.mariposh-texture-gallery .portrait-gallery-item.is-square {
    --gallery-card-width: clamp(245px, 20vw, 310px);
    --gallery-card-height: clamp(245px, 20vw, 310px);
}

.mariposh-texture-gallery .portrait-gallery-item.is-wide {
    --gallery-card-width: clamp(290px, 24vw, 380px);
    --gallery-card-height: clamp(235px, 18vw, 285px);
}

.mariposh-texture-gallery .portrait-gallery-item.is-portrait {
    --gallery-card-width: clamp(225px, 18vw, 285px);
    --gallery-card-height: clamp(300px, 23vw, 360px);
}

.mariposh-texture-gallery .portrait-gallery-item::after {
    content: "";
    position: absolute;
    inset: 42% 0 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 0%, rgba(35, 23, 27, 0.18) 35%, rgba(29, 18, 22, 0.78) 100%);
}

.mariposh-texture-gallery .portrait-gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transform: scale(1.001);
    transition: transform 720ms cubic-bezier(.22,.61,.36,1), filter 360ms ease;
}

.mariposh-texture-gallery .portrait-gallery-caption {
    position: absolute;
    z-index: 2;
    left: 1rem;
    right: 1rem;
    bottom: 0.95rem;
    display: flex;
    align-items: end;
    gap: 0.75rem;
    color: #fffafb;
    pointer-events: none;
}

.mariposh-texture-gallery .portrait-gallery-caption-index {
    flex: 0 0 auto;
    padding-bottom: 0.1rem;
    color: rgba(255, 250, 251, 0.68);
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.1em;
}

.mariposh-texture-gallery .portrait-gallery-caption-copy {
    min-width: 0;
    display: grid;
    gap: 0.18rem;
}

.mariposh-texture-gallery .portrait-gallery-caption-copy strong {
    overflow: hidden;
    color: #fffafb;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow: 0 2px 12px rgba(0,0,0,.22);
}

.mariposh-texture-gallery .portrait-gallery-caption-copy small {
    color: rgba(255, 250, 251, 0.72);
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mariposh-texture-gallery .portrait-gallery-item:hover {
    transform: translateY(-7px);
    box-shadow: 0 26px 52px rgba(73, 49, 55, 0.19);
}

.mariposh-texture-gallery .portrait-gallery-item:hover img {
    transform: scale(1.045);
    filter: saturate(1.03) contrast(1.02);
}

html[data-theme="dark"] .mariposh-texture-gallery {
    background:
        radial-gradient(circle at 12% 10%, rgba(205, 169, 178, 0.10), transparent 30%),
        linear-gradient(180deg, #2a1d21 0%, #22181b 100%);
}

html[data-theme="dark"] .mariposh-texture-gallery .portrait-gallery-intro h2 {
    color: #fff7f9;
}

html[data-theme="dark"] .mariposh-texture-gallery .portrait-gallery-intro-copy > p:last-child {
    color: #d4bdc3;
}

html[data-theme="dark"] .mariposh-texture-gallery .portrait-gallery-link,
html[data-theme="dark"] .mariposh-texture-gallery .portrait-gallery-eyebrow {
    color: #d9b7c0;
}

@media (max-width: 900px) {
    .mariposh-texture-gallery {
        padding-block: 3.2rem 3rem;
    }

    .mariposh-texture-gallery .portrait-gallery-intro {
        align-items: flex-start;
    }

    .mariposh-texture-gallery .portrait-gallery-intro h2 {
        font-size: clamp(2rem, 7vw, 3.25rem);
    }

    .mariposh-texture-gallery .portrait-gallery-item {
        --gallery-card-width: clamp(200px, 32vw, 250px);
        --gallery-card-height: clamp(270px, 42vw, 330px);
    }

    .mariposh-texture-gallery .portrait-gallery-item.is-feature {
        --gallery-card-width: clamp(245px, 39vw, 300px);
        --gallery-card-height: clamp(300px, 47vw, 360px);
    }

    .mariposh-texture-gallery .portrait-gallery-item.is-wide {
        --gallery-card-width: clamp(275px, 44vw, 340px);
        --gallery-card-height: clamp(220px, 34vw, 270px);
    }
}

@media (max-width: 640px) {
    .mariposh-texture-gallery {
        padding: 2.75rem 0 2.5rem;
    }

    .mariposh-texture-gallery .portrait-gallery-intro {
        width: calc(100% - 2rem);
        display: grid;
        gap: 1rem;
    }

    .mariposh-texture-gallery .portrait-gallery-eyebrow {
        font-size: 0.78rem;
        letter-spacing: 0.12em;
    }

    .mariposh-texture-gallery .portrait-gallery-intro h2 {
        max-width: 11ch;
        font-size: clamp(1.95rem, 9.5vw, 2.55rem);
        line-height: 1.08;
    }

    .mariposh-texture-gallery .portrait-gallery-intro-copy > p:last-child {
        margin-top: 0.8rem;
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .mariposh-texture-gallery .portrait-gallery-link {
        width: fit-content;
        min-height: 44px;
    }

    .mariposh-texture-gallery .portrait-gallery-marquee {
        margin-top: 1.4rem;
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 2%, #000 98%, transparent 100%);
        mask-image: linear-gradient(90deg, transparent 0%, #000 2%, #000 98%, transparent 100%);
    }

    .mariposh-texture-gallery .portrait-gallery-track {
        gap: 0.75rem;
        padding-inline: 0.75rem;
    }

    .mariposh-texture-gallery .portrait-gallery-item,
    .mariposh-texture-gallery .portrait-gallery-item.is-tall,
    .mariposh-texture-gallery .portrait-gallery-item.is-portrait {
        --gallery-card-width: 62vw;
        --gallery-card-height: 78vw;
        max-width: 250px;
        max-height: 315px;
        border-radius: 16px;
    }

    .mariposh-texture-gallery .portrait-gallery-item.is-feature {
        --gallery-card-width: 76vw;
        --gallery-card-height: 88vw;
        max-width: 300px;
        max-height: 350px;
    }

    .mariposh-texture-gallery .portrait-gallery-item.is-square {
        --gallery-card-width: 64vw;
        --gallery-card-height: 64vw;
        max-width: 255px;
        max-height: 255px;
    }

    .mariposh-texture-gallery .portrait-gallery-item.is-wide {
        --gallery-card-width: 78vw;
        --gallery-card-height: 54vw;
        max-width: 310px;
        max-height: 215px;
    }

    .mariposh-texture-gallery .portrait-gallery-caption {
        left: 0.85rem;
        right: 0.85rem;
        bottom: 0.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mariposh-texture-gallery .portrait-gallery-track.is-animated {
        animation: none !important;
        transform: none !important;
    }

    .mariposh-texture-gallery .portrait-gallery-item,
    .mariposh-texture-gallery .portrait-gallery-item img,
    .mariposh-texture-gallery .portrait-gallery-link,
    .mariposh-texture-gallery .portrait-gallery-link svg {
        transition: none !important;
    }
}


/* ==========================================================================
   Mariposh curated collections — asymmetric editorial mosaic
   ========================================================================== */
.content-two > .mariposh-collection-showcase {
    width: 100vw;
    max-width: 100vw;
    margin-inline: calc(50% - 50vw);
}

.mariposh-collection-showcase {
    position: relative;
    padding: clamp(3.5rem, 6vw, 5.5rem) 0 clamp(3.4rem, 5.5vw, 5rem);
    background:
        radial-gradient(circle at 88% 8%, rgba(205, 169, 178, 0.16), transparent 27%),
        linear-gradient(180deg, #fffafb 0%, #f8eef1 100%);
    overflow: hidden;
}

.mariposh-collection-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.28;
    background:
        linear-gradient(120deg, transparent 0 58%, rgba(110, 79, 82, 0.025) 58% 59%, transparent 59% 100%);
}

.mariposh-collection-showcase-inner {
    position: relative;
    z-index: 1;
    width: min(100% - 2rem, 1240px);
    max-width: 1240px;
    margin: 0 auto;
}

.collection-showcase-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: clamp(1.8rem, 3vw, 2.6rem);
}

.collection-showcase-copy {
    max-width: 760px;
}

.collection-showcase-eyebrow {
    margin: 0;
    color: #8a6871;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.collection-showcase-intro h2 {
    max-width: 18ch;
    margin: 0.55rem 0 0;
    color: #3b292c;
    font-family: var(--font-display);
    font-size: clamp(2.15rem, 3.7vw, 3.55rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.collection-showcase-copy > p:last-child {
    max-width: 58ch;
    margin: 1rem 0 0;
    color: #745f63;
    font-size: 0.96rem;
    line-height: 1.7;
}

.collection-showcase-all-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    flex: 0 0 auto;
    color: #6e4f52;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
}

.collection-showcase-all-link svg,
.collection-showcase-card-link svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 180ms ease;
}

.collection-showcase-all-link:hover {
    color: #4f373c;
    transform: translateY(-1px);
}

.collection-showcase-all-link:hover svg,
.collection-showcase-card-link:hover svg {
    transform: translateX(3px);
}

.collection-showcase-all-link:focus-visible,
.collection-showcase-card-link:focus-visible {
    outline: 3px solid rgba(205, 169, 178, 0.48);
    outline-offset: 4px;
}

.collection-showcase-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.42fr) minmax(320px, 0.86fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    min-height: 620px;
}

.collection-showcase-card {
    --collection-bg: none;
    position: relative;
    min-height: 0;
    overflow: hidden;
    border: 0;
    border-radius: 24px;
    background: #d8c9cd;
    box-shadow: 0 22px 48px rgba(82, 56, 60, 0.14);
    isolation: isolate;
    transition: transform 320ms cubic-bezier(.22,.61,.36,1), box-shadow 320ms ease;
}

.collection-showcase-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--collection-bg) center / cover no-repeat;
    transform: scale(1.002);
    transition: transform 680ms cubic-bezier(.22,.61,.36,1), filter 320ms ease;
}

.collection-showcase-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(23, 14, 17, 0.04) 30%, rgba(23, 14, 17, 0.22) 58%, rgba(23, 14, 17, 0.88) 100%),
        linear-gradient(90deg, rgba(59, 41, 44, 0.12), transparent 58%);
}

.collection-showcase-card.is-featured {
    grid-row: 1 / 3;
}

.collection-showcase-card.is-secondary {
    min-height: 0;
}

.collection-showcase-card-content {
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    padding: clamp(1.35rem, 2.8vw, 2.2rem);
    color: #fffafb;
}

.collection-showcase-card-kicker {
    margin: 0;
    color: rgba(255, 250, 251, 0.72);
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.collection-showcase-card h3 {
    max-width: 15ch;
    margin: 0.45rem 0 0;
    color: #fffafb;
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3vw, 3.4rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.03em;
    text-wrap: balance;
    text-shadow: 0 3px 18px rgba(0,0,0,.25);
}

.collection-showcase-card.is-secondary h3 {
    font-size: clamp(1.45rem, 2vw, 2.15rem);
}

.collection-showcase-card-meta {
    margin: 0.62rem 0 0;
    color: rgba(255, 250, 251, 0.78);
    font-size: 0.76rem;
    font-weight: 650;
    line-height: 1.35;
}

.collection-showcase-card-link {
    min-height: 44px;
    width: fit-content;
    margin-top: 1.05rem;
    padding: 0 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.62rem;
    border: 0;
    border-radius: 10px;
    background: #fffafb;
    color: #4b3439;
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1.35;
    white-space: nowrap;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.collection-showcase-card-link:hover {
    transform: translateY(-2px);
    background: #e8cfd5;
    color: #352326;
}

.collection-showcase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 62px rgba(82, 56, 60, 0.2);
}

.collection-showcase-card:hover::before {
    transform: scale(1.045);
    filter: saturate(1.04) contrast(1.02);
}

.collection-benefits {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.collection-benefit-card {
    min-height: 132px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    border: 0;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 14px 32px rgba(82, 56, 60, 0.08);
}

.collection-benefit-icon {
    width: 44px;
    min-width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f0dfe4;
    color: #6e4f52;
}

.collection-benefit-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.collection-benefit-card h4 {
    margin: 0.08rem 0 0;
    color: #3b292c;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
}

.collection-benefit-card p {
    margin: 0.45rem 0 0;
    color: #745f63;
    font-size: 0.82rem;
    line-height: 1.55;
}

html[data-theme="dark"] .mariposh-collection-showcase {
    background:
        radial-gradient(circle at 88% 8%, rgba(205, 169, 178, 0.10), transparent 27%),
        linear-gradient(180deg, #2a1d21 0%, #22181b 100%);
}

html[data-theme="dark"] .collection-showcase-intro h2,
html[data-theme="dark"] .collection-benefit-card h4 {
    color: #fff7f9;
}

html[data-theme="dark"] .collection-showcase-copy > p:last-child,
html[data-theme="dark"] .collection-benefit-card p {
    color: #d4bdc3;
}

html[data-theme="dark"] .collection-showcase-eyebrow,
html[data-theme="dark"] .collection-showcase-all-link {
    color: #d9b7c0;
}

html[data-theme="dark"] .collection-benefit-card {
    background: rgba(56, 41, 45, 0.88);
}

html[data-theme="dark"] .collection-benefit-icon {
    background: rgba(217, 183, 192, 0.14);
    color: #e4c5cd;
}

@media (max-width: 960px) {
    .mariposh-collection-showcase-inner {
        width: min(100% - 2rem, 760px);
    }

    .collection-showcase-intro {
        align-items: flex-start;
    }

    .collection-showcase-grid {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(420px, 1.25fr) repeat(2, minmax(240px, 0.75fr));
        min-height: 0;
    }

    .collection-showcase-card.is-featured {
        grid-row: auto;
    }

    .collection-showcase-card h3 {
        max-width: 17ch;
    }

    .collection-showcase-card.is-secondary h3 {
        font-size: clamp(1.65rem, 4.2vw, 2.35rem);
    }

    .collection-benefits {
        grid-template-columns: 1fr;
    }

    .collection-benefit-card {
        min-height: 0;
    }
}

@media (max-width: 640px) {
    .mariposh-collection-showcase {
        padding: 3rem 0 2.75rem;
    }

    .mariposh-collection-showcase-inner {
        width: calc(100% - 2rem);
    }

    .collection-showcase-intro {
        display: grid;
        gap: 1rem;
        margin-bottom: 1.45rem;
    }

    .collection-showcase-eyebrow {
        font-size: 0.72rem;
        letter-spacing: 0.13em;
    }

    .collection-showcase-intro h2 {
        max-width: 13ch;
        font-size: clamp(2rem, 9vw, 2.6rem);
        line-height: 1.06;
    }

    .collection-showcase-copy > p:last-child {
        margin-top: 0.8rem;
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .collection-showcase-all-link {
        width: fit-content;
    }

    .collection-showcase-grid {
        gap: 0.8rem;
        grid-template-rows: minmax(390px, 1fr) repeat(2, minmax(260px, 0.72fr));
    }

    .collection-showcase-card {
        border-radius: 18px;
    }

    .collection-showcase-card-content {
        padding: 1.3rem;
    }

    .collection-showcase-card h3,
    .collection-showcase-card.is-secondary h3 {
        max-width: 15ch;
        font-size: clamp(1.75rem, 8vw, 2.25rem);
        line-height: 1.05;
    }

    .collection-showcase-card-meta {
        font-size: 0.74rem;
    }

    .collection-showcase-card-link {
        margin-top: 0.9rem;
        min-height: 44px;
    }

    .collection-benefits {
        gap: 0.7rem;
        margin-top: 0.8rem;
    }

    .collection-benefit-card {
        gap: 0.85rem;
        padding: 1rem;
        border-radius: 16px;
    }

    .collection-benefit-card p {
        font-size: 0.79rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .collection-showcase-all-link,
    .collection-showcase-all-link svg,
    .collection-showcase-card,
    .collection-showcase-card::before,
    .collection-showcase-card-link,
    .collection-showcase-card-link svg {
        transition: none !important;
    }

    .collection-showcase-card:hover,
    .collection-showcase-card:hover::before {
        transform: none !important;
    }
}


/* ==========================================================================
   Mariposh selected fabrics — editorial product board
   ========================================================================== */
.mariposh-deal-section {
    --deal-ink: #3b292c;
    --deal-mauve: #6e4f52;
    --deal-blush: #d9b7c0;
    width: min(1240px, calc(100% - 2rem));
    margin: clamp(3.8rem, 6vw, 5.5rem) auto 0;
    padding: 0 0 clamp(3.5rem, 5vw, 4.75rem);
}

.mariposh-deal-section .deal-header {
    margin: 0 0 clamp(1.5rem, 2.8vw, 2.2rem);
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
}

.mariposh-deal-section .deal-header-copy {
    max-width: 760px;
}

.mariposh-deal-section .deal-header-kicker {
    margin: 0;
    color: #8a6871;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.mariposh-deal-section .deal-header h2 {
    max-width: 14ch;
    margin: 0.55rem 0 0;
    color: var(--deal-ink);
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 3.8vw, 3.65rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.mariposh-deal-section .deal-header-copy > p:last-child {
    max-width: 58ch;
    margin: 0.95rem 0 0;
    color: #745f63;
    font-size: 0.96rem;
    line-height: 1.7;
}

.mariposh-deal-section .deal-header-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    flex: 0 0 auto;
    color: var(--deal-mauve);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
}

.mariposh-deal-section .deal-header-link svg,
.mariposh-deal-section .deal-banner-link svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 180ms ease;
}

.mariposh-deal-section .deal-header-link:hover {
    color: #4f373c;
    transform: translateY(-1px);
}

.mariposh-deal-section .deal-header-link:hover svg,
.mariposh-deal-section .deal-banner-link:hover svg {
    transform: translateX(3px);
}

.mariposh-deal-section .deal-header-link:focus-visible,
.mariposh-deal-section .deal-banner-link:focus-visible,
.mariposh-deal-section .deal-action-btn:focus-visible {
    outline: 3px solid rgba(205, 169, 178, 0.5);
    outline-offset: 3px;
}

.mariposh-deal-section .deal-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 1rem;
}

.mariposh-deal-section .deal-products {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(250px, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.mariposh-deal-section .deal-products > .deal-card {
    grid-column: span 2;
    align-self: stretch;
    min-height: 250px;
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    background: #d8c9cd;
    box-shadow: 0 18px 40px rgba(82, 56, 60, 0.12);
    transition: transform 320ms cubic-bezier(.22,.61,.36,1), box-shadow 320ms ease;
}

.mariposh-deal-section .deal-products > .deal-card:nth-child(1) {
    grid-column: span 4;
}

.mariposh-deal-section .deal-products > .deal-card:nth-child(2) {
    grid-column: span 2;
}

.mariposh-deal-section .deal-card:hover,
.mariposh-deal-section .deal-card:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 28px 56px rgba(82, 56, 60, 0.18);
}

.mariposh-deal-section .deal-image-wrap,
.mariposh-deal-section .deal-image-wrap:not(.deal-image-featured),
.mariposh-deal-section .deal-image-featured,
.mariposh-deal-section .deal-card-top-match .deal-image-wrap {
    width: 100%;
    height: 100%;
    min-height: 100%;
    aspect-ratio: auto;
    background: #d8c9cd;
}

.mariposh-deal-section .deal-image {
    transform: scale(1.002);
    transition: transform 680ms cubic-bezier(.22,.61,.36,1), filter 320ms ease;
}

.mariposh-deal-section .deal-card:hover .deal-image,
.mariposh-deal-section .deal-card:focus-within .deal-image {
    transform: scale(1.045);
    filter: saturate(1.03) contrast(1.02);
}

.mariposh-deal-section .deal-image-wrap::after {
    background:
        linear-gradient(180deg, rgba(25, 16, 19, 0.03) 28%, rgba(26, 17, 20, 0.18) 56%, rgba(22, 14, 17, 0.9) 100%);
    opacity: 1;
}

.mariposh-deal-section .deal-card:hover .deal-image-wrap::after,
.mariposh-deal-section .deal-card:focus-within .deal-image-wrap::after {
    opacity: 1;
}

.mariposh-deal-section .shop-card-badges {
    top: 0.9rem;
    right: 0.9rem;
    left: 0.9rem;
    align-items: flex-start;
    justify-content: flex-start;
    pointer-events: none;
}

.mariposh-deal-section .shop-card-badges .deal-promo-badge {
    min-height: 28px;
    padding: 0 0.72rem;
    border: 0;
    border-radius: 999px;
    background: rgba(39, 26, 30, 0.78);
    color: #fffafb;
    box-shadow: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.mariposh-deal-section .deal-overlay {
    padding: clamp(1rem, 2vw, 1.5rem);
    gap: 0.55rem;
}

.mariposh-deal-section .deal-unit-meta {
    margin: 0 0 0.36rem;
    color: rgba(255, 250, 251, 0.72);
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mariposh-deal-section .deal-info-inline h3,
.mariposh-deal-section .deal-card-featured .deal-info-inline h3 {
    max-width: 20ch;
    margin: 0;
    color: #fffafb;
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 1.75vw, 1.6rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    text-shadow: 0 3px 16px rgba(0,0,0,.34);
}

.mariposh-deal-section .deal-card-featured .deal-info-inline h3 {
    max-width: 22ch;
    font-size: clamp(1.5rem, 2.35vw, 2.15rem);
}

.mariposh-deal-section .deal-info-inline h3 a {
    color: inherit;
    text-decoration: none;
}

.mariposh-deal-section .deal-price-inline {
    max-height: none;
    margin: 0.52rem 0 0;
    color: rgba(255, 250, 251, 0.82);
    overflow: visible;
    opacity: 1;
    transition: none;
}

.mariposh-deal-section .deal-price-inline-usd {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.mariposh-deal-section .deal-price-inline-usd span {
    color: #fffafb;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.2;
}

.mariposh-deal-section .deal-card-featured .deal-price-inline-usd span {
    font-size: 1.14rem;
}

.mariposh-deal-section .deal-price-inline-usd small {
    color: rgba(255, 250, 251, 0.62);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.mariposh-deal-section .deal-card:hover .deal-price-inline,
.mariposh-deal-section .deal-card:focus-within .deal-price-inline,
.mariposh-deal-section .deal-card.is-touch-actions .deal-price-inline {
    max-height: none;
    margin-top: 0.52rem;
    opacity: 1;
    display: flex;
}

.mariposh-deal-section .deal-actions {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    gap: 0.45rem;
    max-height: none;
    overflow: visible;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.mariposh-deal-section .deal-card:hover .deal-actions,
.mariposh-deal-section .deal-card:focus-within .deal-actions,
.mariposh-deal-section .deal-card.is-touch-actions .deal-actions {
    max-height: none;
    opacity: 1;
    transform: translateY(0);
}

.mariposh-deal-section .deal-action-btn {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 250, 251, 0.94);
    color: #4d353a;
    box-shadow: 0 10px 24px rgba(31, 20, 23, 0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.mariposh-deal-section .deal-action-btn:hover {
    border-color: transparent;
    background: #e8cfd5;
    color: #352326;
}

.mariposh-deal-section .deal-banner {
    --deal-banner-bg: none;
    position: relative;
    min-height: 516px;
    padding: 1.55rem;
    border: 0;
    border-radius: 20px;
    color: #fffafb;
    background: #3b292c;
    box-shadow: 0 20px 44px rgba(82, 56, 60, 0.14);
    isolation: isolate;
    overflow: hidden;
}

.mariposh-deal-section .deal-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--deal-banner-bg) center / cover no-repeat;
    transform: scale(1.03);
}

.mariposh-deal-section .deal-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(34, 22, 26, 0.24) 0%, rgba(47, 31, 36, 0.58) 45%, rgba(28, 18, 21, 0.96) 100%);
}

.mariposh-deal-section .deal-banner-copy {
    max-width: 28ch;
}

.mariposh-deal-section .deal-banner-tag {
    margin: 0;
    color: #e7cbd2;
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mariposh-deal-section .deal-banner h3 {
    max-width: 12ch;
    margin: 0.75rem 0 0;
    color: #fffafb;
    font-family: var(--font-display);
    font-size: clamp(1.95rem, 2.5vw, 2.65rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.mariposh-deal-section .deal-banner-copy > p {
    margin: 1rem 0 0;
    color: rgba(255, 250, 251, 0.78);
    font-size: 0.88rem;
    line-height: 1.65;
}

.mariposh-deal-section .deal-banner-facts {
    margin-top: 1.35rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.mariposh-deal-section .deal-banner-facts div {
    min-width: 0;
}

.mariposh-deal-section .deal-banner-facts strong {
    display: block;
    color: #fffafb;
    font-family: var(--font-display);
    font-size: 1.25rem;
    line-height: 1;
}

.mariposh-deal-section .deal-banner-facts span {
    display: block;
    margin-top: 0.35rem;
    color: rgba(255, 250, 251, 0.62);
    font-size: 0.68rem;
    line-height: 1.35;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mariposh-deal-section .deal-banner-link {
    min-height: 46px;
    margin-top: auto;
    padding: 0 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    align-self: flex-start;
    border-radius: 10px;
    background: #fffafb;
    color: #4b3439;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.mariposh-deal-section .deal-banner-link:hover {
    transform: translateY(-2px);
    background: #e8cfd5;
    color: #352326;
}

html[data-theme="dark"] .mariposh-deal-section .deal-header h2 {
    color: #fff7f9;
}

html[data-theme="dark"] .mariposh-deal-section .deal-header-copy > p:last-child {
    color: #d4bdc3;
}

html[data-theme="dark"] .mariposh-deal-section .deal-header-kicker,
html[data-theme="dark"] .mariposh-deal-section .deal-header-link {
    color: #d9b7c0;
}

@media (max-width: 1040px) {
    .mariposh-deal-section .deal-layout {
        grid-template-columns: 1fr;
    }

    .mariposh-deal-section .deal-banner {
        min-height: 360px;
    }

    .mariposh-deal-section .deal-banner-copy {
        max-width: 44ch;
    }

    .mariposh-deal-section .deal-banner h3 {
        max-width: 16ch;
    }
}

@media (max-width: 760px) {
    .mariposh-deal-section {
        width: min(100% - 2rem, 720px);
        margin-top: 3.4rem;
        padding-bottom: 3.2rem;
    }

    .mariposh-deal-section .deal-header {
        display: grid;
        gap: 1rem;
    }

    .mariposh-deal-section .deal-header h2 {
        max-width: 13ch;
        font-size: clamp(1.95rem, 7.6vw, 2.6rem);
        line-height: 1.12;
    }

    .mariposh-deal-section .deal-header-link {
        width: fit-content;
    }

    .mariposh-deal-section .deal-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        grid-auto-rows: minmax(260px, auto);
    }

    .mariposh-deal-section .deal-products > .deal-card,
    .mariposh-deal-section .deal-products > .deal-card:nth-child(1),
    .mariposh-deal-section .deal-products > .deal-card:nth-child(2) {
        grid-column: span 1;
    }

    .mariposh-deal-section .deal-products > .deal-card:nth-child(1) {
        grid-column: span 2;
        min-height: 360px;
    }

    .mariposh-deal-section .deal-banner {
        min-height: 350px;
    }
}

@media (max-width: 520px) {
    .mariposh-deal-section {
        width: calc(100% - 2rem);
        margin-top: 3rem;
    }

    .mariposh-deal-section .deal-products {
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(300px, auto);
        gap: 0.8rem;
    }

    .mariposh-deal-section .deal-products > .deal-card,
    .mariposh-deal-section .deal-products > .deal-card:nth-child(1),
    .mariposh-deal-section .deal-products > .deal-card:nth-child(2) {
        grid-column: span 1;
        min-height: 320px;
        border-radius: 18px;
    }

    .mariposh-deal-section .deal-card-featured .deal-info-inline h3,
    .mariposh-deal-section .deal-info-inline h3 {
        max-width: 18ch;
        font-size: clamp(1.35rem, 6.4vw, 1.8rem);
    }

    .mariposh-deal-section .deal-overlay {
        padding: 1.15rem;
    }

    .mariposh-deal-section .deal-actions {
        position: static;
        margin-top: 0.75rem;
        opacity: 1;
        transform: none;
    }

    .mariposh-deal-section .deal-banner {
        min-height: 390px;
        padding: 1.35rem;
        border-radius: 18px;
    }

    .mariposh-deal-section .deal-banner h3 {
        max-width: 13ch;
        font-size: clamp(1.9rem, 8.6vw, 2.4rem);
        line-height: 1.12;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mariposh-deal-section .deal-card,
    .mariposh-deal-section .deal-image,
    .mariposh-deal-section .deal-header-link,
    .mariposh-deal-section .deal-header-link svg,
    .mariposh-deal-section .deal-banner-link,
    .mariposh-deal-section .deal-banner-link svg,
    .mariposh-deal-section .deal-actions {
        transition: none !important;
    }

    .mariposh-deal-section .deal-card:hover,
    .mariposh-deal-section .deal-card:focus-within,
    .mariposh-deal-section .deal-card:hover .deal-image,
    .mariposh-deal-section .deal-card:focus-within .deal-image {
        transform: none !important;
    }
}


/* ==========================================================================
   Shop grid card readability — keep copy legible over every fabric image
   ========================================================================== */
.shop-products-grid:not(.is-list) .shop-deal-card .deal-overlay {
    background:
        linear-gradient(
            to top,
            rgba(24, 15, 18, 0.86) 0%,
            rgba(24, 15, 18, 0.62) 27%,
            rgba(24, 15, 18, 0.24) 53%,
            rgba(24, 15, 18, 0.03) 76%
        );
}

.shop-products-grid:not(.is-list) .shop-deal-card .deal-info-inline h3,
.shop-products-grid:not(.is-list) .shop-deal-card .deal-info-inline h3 a {
    color: #fffafc !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.52);
}

.shop-products-grid:not(.is-list) .shop-deal-card .deal-price-inline,
.shop-products-grid:not(.is-list) .shop-deal-card .deal-price-inline span,
.shop-products-grid:not(.is-list) .shop-deal-card .deal-price-inline .price-current {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.shop-products-grid:not(.is-list) .shop-deal-card .deal-price-inline {
    color: rgba(255, 247, 250, 0.9) !important;
}

.shop-products-grid:not(.is-list) .shop-deal-card .deal-price-inline .price-old {
    color: rgba(255, 255, 255, 0.76) !important;
}

.shop-products-grid:not(.is-list) .shop-deal-card .shop-review-badge,
.shop-products-grid:not(.is-list) .shop-deal-card .shop-review-badge span {
    color: #ffffff !important;
    text-shadow: 0 1px 7px rgba(0, 0, 0, 0.46);
}

.shop-products-grid:not(.is-list) .shop-deal-card .shop-review-icon {
    color: #ffffff !important;
}

@media (max-width: 700px) {
    .shop-products-grid:not(.is-list) .shop-deal-card .deal-overlay {
        background:
            linear-gradient(
                to top,
                rgba(24, 15, 18, 0.88) 0%,
                rgba(24, 15, 18, 0.66) 30%,
                rgba(24, 15, 18, 0.26) 58%,
                rgba(24, 15, 18, 0.03) 80%
            );
    }
}


/* Tablet/mobile follow-up: allow long international reference prices to wrap cleanly. */
.shop-products-grid:not(.is-list) .shop-deal-card .deal-price-inline {
    max-height: none;
    overflow: visible;
}

.shop-products-grid:not(.is-list) .shop-deal-card .shop-review-badge {
    line-height: 1.15;
}


/* ==========================================================================
   Mariposh information sheet — Fabric Types + Wholesale Supply
   ========================================================================== */
body.is-store-info-open {
    overflow: hidden;
}

.mariposh-ribbon-action {
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #f4e5e9;
    font: inherit;
    cursor: pointer;
    transition: color 180ms ease;
}

.mariposh-ribbon-links a,
.mariposh-ribbon-action {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.mariposh-ribbon-action:hover,
.mariposh-ribbon-action:focus-visible {
    color: #ffffff;
}

.mobile-nav-info-link {
    font: inherit;
    cursor: pointer;
    text-align: left;
}

.mobile-nav-link-arrow {
    color: #a1848b;
    font-size: 1rem;
    transition: transform 180ms ease, color 180ms ease;
}

.mobile-nav-info-link:hover .mobile-nav-link-arrow,
.mobile-nav-info-link:focus-visible .mobile-nav-link-arrow {
    color: #6e4f52;
    transform: translateX(2px);
}

.store-info-drawer {
    position: fixed;
    inset: 0;
    z-index: 170;
    display: grid;
    place-items: center;
    padding: 1.5rem;
    pointer-events: none;
}

.store-info-drawer[hidden] {
    display: none !important;
}

.store-info-drawer.is-open {
    pointer-events: auto;
}

.store-info-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(39, 24, 28, 0.54);
    opacity: 0;
    cursor: pointer;
    transition: opacity 220ms ease;
}

.store-info-drawer.is-open .store-info-backdrop {
    opacity: 1;
}

.store-info-panel {
    position: relative;
    width: min(700px, calc(100vw - 3rem));
    max-height: min(780px, calc(100dvh - 3rem));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #ead7dc;
    border-radius: 24px;
    background: #fffdfd;
    color: #3b292c;
    box-shadow: 0 28px 76px rgba(59, 41, 44, 0.25);
    opacity: 0;
    transform: translateY(16px) scale(0.985);
    transition: opacity 200ms ease, transform 220ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.store-info-drawer.is-open .store-info-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.store-info-head {
    min-height: 76px;
    padding: 0.8rem 1rem;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid #f0e1e5;
    background: rgba(255, 250, 251, 0.96);
}

.store-info-head h2 {
    margin: 0;
    color: #a14854;
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.2vw, 1.55rem);
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-wrap: balance;
}

.store-info-head-button {
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    display: inline-grid;
    place-items: center;
    border: 1px solid #ead7dc;
    border-radius: 50%;
    background: #ffffff;
    color: #52383c;
    cursor: pointer;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.store-info-head-button:hover {
    border-color: #cda9b2;
    background: #f9eaed;
    transform: translateY(-1px);
}

.store-info-head-button svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.store-info-back {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

.store-info-back:hover,
.store-info-back:focus-visible {
    border-color: transparent;
    background: #fdf1f3;
}

.store-info-back[hidden] {
    display: inline-grid;
    visibility: hidden;
    pointer-events: none;
}

.store-info-close {
    justify-self: end;
    border-color: transparent;
    background: #f6f1f3;
}

.store-info-close:hover,
.store-info-close:focus-visible {
    border-color: transparent;
    background: #efdee3;
}

.store-info-body {
    min-height: 0;
    padding: clamp(1.15rem, 3vw, 2rem);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.store-info-view[hidden],
.fabric-detail-card[hidden] {
    display: none !important;
}

.store-info-eyebrow {
    margin: 0 0 0.65rem;
    color: #85686c;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.fabric-type-list {
    margin-top: 0.3rem;
    display: grid;
}

.fabric-type-row {
    width: 100%;
    min-height: 92px;
    padding: 0.8rem 0.55rem;
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) 32px;
    align-items: center;
    gap: 0.9rem;
    border: 0;
    border-bottom: 1px solid #f0e3e6;
    border-radius: 0;
    background: transparent;
    color: #3b292c;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 180ms ease, padding-inline 180ms ease;
}

.fabric-type-row:first-child {
    border-top: 1px solid #f0e3e6;
}

.fabric-type-row:hover,
.fabric-type-row:focus-visible {
    padding-inline: 0.8rem;
    background: #fdf1f3;
}

.fabric-type-thumb {
    position: relative;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 13px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.72), rgba(255,255,255,0.08)),
        repeating-linear-gradient(45deg, rgba(82,56,60,0.08) 0 2px, transparent 2px 7px),
        #ead7dc;
    color: #52383c;
}

.fabric-type-thumb::after,
.fabric-detail-placeholder::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.52), transparent 42%);
    pointer-events: none;
}

.fabric-type-thumb span {
    position: relative;
    z-index: 1;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.fabric-type-thumb-viscose {
    background:
        linear-gradient(135deg, rgba(255,255,255,0.66), rgba(255,255,255,0.05)),
        repeating-linear-gradient(-35deg, rgba(73,55,76,0.09) 0 2px, transparent 2px 8px),
        #dfd4e1;
}

.fabric-type-thumb-rayon {
    background:
        linear-gradient(135deg, rgba(255,255,255,0.7), rgba(255,255,255,0.06)),
        repeating-linear-gradient(45deg, rgba(61,74,63,0.08) 0 2px, transparent 2px 8px),
        #dbe2da;
}

.fabric-type-row-copy {
    min-width: 0;
    display: grid;
    gap: 0.25rem;
}

.fabric-type-row-copy strong {
    color: #3b292c;
    font-family: var(--font-display);
    font-size: 1rem;
    line-height: 1.25;
}

.fabric-type-row-copy small {
    color: #816b70;
    font-size: 0.78rem;
    line-height: 1.45;
}

.fabric-type-arrow {
    width: 22px;
    height: 22px;
    justify-self: end;
    fill: none;
    stroke: #9a7d84;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.store-info-note {
    margin: 1.15rem 0 0;
    color: #927b80;
    font-size: 0.78rem;
    line-height: 1.55;
}

.wholesale-supply-view {
    max-width: 620px;
    margin-inline: auto;
}

.wholesale-supply-view h3,
.fabric-detail-card h3 {
    margin: 0;
    color: #3b292c;
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 4vw, 2.35rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.wholesale-supply-view > p:not(.store-info-eyebrow):not(.store-info-note) {
    margin: 1rem 0 0;
    color: #715b60;
    font-size: 0.94rem;
    line-height: 1.72;
}

.wholesale-contact-list {
    margin-top: 1.4rem;
    display: grid;
    gap: 0.55rem;
}

.wholesale-contact-row {
    min-height: 72px;
    padding: 0.75rem 0.85rem;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 0.85rem;
    border: 1px solid #ead7dc;
    border-radius: 15px;
    background: #fffafb;
    color: #4e393d;
    text-decoration: none;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.wholesale-contact-row:hover,
.wholesale-contact-row:focus-visible {
    border-color: #cda9b2;
    background: #fdf1f3;
    transform: translateY(-1px);
}

.wholesale-contact-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #f1e1e5;
    color: #6e4f52;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.wholesale-contact-row > span:nth-child(2) {
    min-width: 0;
    display: grid;
    gap: 0.1rem;
}

.wholesale-contact-row small {
    color: #8c747a;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wholesale-contact-row strong {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #4b3439;
    font-size: 0.9rem;
    line-height: 1.35;
}

.wholesale-contact-row svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: #967980;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fabric-detail-card {
    max-width: 620px;
    margin-inline: auto;
}

.fabric-detail-placeholder {
    position: relative;
    min-height: 245px;
    margin-bottom: 1.45rem;
    padding: 1.25rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    overflow: hidden;
    border-radius: 20px;
    color: #52383c;
}

.fabric-placeholder-mark {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 5.8rem);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.08em;
    opacity: 0.3;
}

.fabric-placeholder-copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.2rem;
    text-align: right;
}

.fabric-placeholder-copy strong {
    font-family: var(--font-display);
    font-size: 1rem;
}

.fabric-placeholder-copy small {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.fabric-spec-list {
    margin: 1.35rem 0 0;
    display: grid;
}

.fabric-spec-list > div {
    padding: 0.9rem 0;
    display: grid;
    grid-template-columns: minmax(110px, 0.32fr) minmax(0, 1fr);
    gap: 1rem;
    border-top: 1px solid #f0e3e6;
}

.fabric-spec-list > div:last-child {
    border-bottom: 1px solid #f0e3e6;
}

.fabric-spec-list dt {
    color: #8b7278;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fabric-spec-list dd {
    margin: 0;
    color: #523f43;
    font-size: 0.9rem;
    line-height: 1.6;
}

html[data-theme="dark"] .store-info-panel,
html[data-theme="dark"] .store-info-head {
    border-color: #584047;
    background: #2d2225;
    color: #fff7f9;
}

html[data-theme="dark"] .store-info-head {
    background: rgba(45, 34, 37, 0.97);
}

html[data-theme="dark"] .store-info-head h2 {
    color: #e5b8c2;
}

html[data-theme="dark"] .store-info-head-button,
html[data-theme="dark"] .wholesale-contact-row {
    border-color: #584047;
    background: #38292d;
    color: #f6e6ea;
}

html[data-theme="dark"] .fabric-type-row {
    border-color: #584047;
    color: #fff7f9;
}

html[data-theme="dark"] .fabric-type-row:first-child {
    border-top-color: #584047;
}

html[data-theme="dark"] .fabric-type-row:hover,
html[data-theme="dark"] .fabric-type-row:focus-visible,
html[data-theme="dark"] .wholesale-contact-row:hover,
html[data-theme="dark"] .wholesale-contact-row:focus-visible {
    background: #38292d;
    border-color: #765862;
}

html[data-theme="dark"] .fabric-type-row-copy strong,
html[data-theme="dark"] .wholesale-supply-view h3,
html[data-theme="dark"] .fabric-detail-card h3,
html[data-theme="dark"] .wholesale-contact-row strong,
html[data-theme="dark"] .fabric-spec-list dd {
    color: #fff7f9;
}

html[data-theme="dark"] .fabric-type-row-copy small,
html[data-theme="dark"] .wholesale-supply-view > p:not(.store-info-eyebrow):not(.store-info-note),
html[data-theme="dark"] .store-info-note,
html[data-theme="dark"] .fabric-spec-list dt {
    color: #d3bdc3;
}

html[data-theme="dark"] .fabric-spec-list > div {
    border-color: #584047;
}

@media (max-width: 640px) {
    .store-info-drawer {
        padding: 0;
        place-items: stretch;
    }

    .store-info-panel {
        width: 100%;
        max-height: none;
        height: 100dvh;
        border: 0;
        border-radius: 0;
        transform: translateY(22px);
    }

    .store-info-head {
        min-height: 68px;
        padding: 0.65rem 0.75rem;
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        position: sticky;
        top: 0;
        z-index: 2;
    }

    .store-info-head h2 {
        font-size: 1.1rem;
    }

    .store-info-body {
        padding: 1rem 0.9rem 1.5rem;
    }

    .fabric-type-row {
        min-height: 86px;
        grid-template-columns: 56px minmax(0, 1fr) 28px;
        gap: 0.75rem;
        padding-inline: 0.35rem;
    }

    .fabric-type-thumb {
        width: 52px;
        height: 52px;
        border-radius: 11px;
    }

    .fabric-type-row:hover,
    .fabric-type-row:focus-visible {
        padding-inline: 0.55rem;
    }

    .fabric-detail-placeholder {
        min-height: 210px;
        border-radius: 17px;
    }

    .fabric-spec-list > div {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .wholesale-contact-row {
        grid-template-columns: 42px minmax(0, 1fr) 20px;
        gap: 0.7rem;
        padding-inline: 0.7rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .store-info-backdrop,
    .store-info-panel,
    .fabric-type-row,
    .mobile-nav-link-arrow,
    .wholesale-contact-row,
    .store-info-head-button {
        transition: none !important;
    }
}
