/* ==========================================================================
   Trendy by FK — Premium editorial layer (loaded LAST, after trendy.css)
   Adds the design system and restyles existing markup. It never hides or renames a JS hook: every class / data-*
   attribute used by store.js, glazed.js, bebo*.js, catwalk.js and trendy.js keeps working.
   Sections: 0 fonts · 1 tokens · 2 base & type · 3 buttons & forms · 4 announcement · 5 header · 6 drawer & bottom nav
             7 product card · 8 home · 9 footer · 10 product page · 11 listing · 12 cart/checkout/account/auth · 13 motion
   ========================================================================== */

/* 0. FONTS — self-hosted Fraunces (display, variable opsz/wght, roman + italic). Inter is declared in store.css. */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 300 600; font-display: swap; src: url(../fonts/fraunces-latin-var.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 300 600; font-display: swap; src: url(../fonts/fraunces-latin-italic-var.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ==========================================================================
   1. TOKENS
   ========================================================================== */
:root {
    /* Colour */
    --pm-white: #FFFFFF;
    --pm-cream: #FAF8F6;
    --pm-img: #F4F2EF;
    --pm-text: #161616;
    --pm-text-2: #3B3B3B;
    --pm-muted: #6E6E6E;
    --pm-line: #ECE8E3;
    --pm-line-2: #DED8D0;
    --pm-blue: #1E4E8C;
    --pm-blue-dk: #173E70;
    --pm-blue-rgb: 30, 78, 140;
    --pm-tint: #EEF3FA;
    --pm-rose: #F3DDE0;
    --pm-rose-ink: #B4505C;
    --pm-charcoal: #141414;
    --pm-success: #2F7A4D;
    --pm-danger: #B4383F;

    /* Type */
    --pm-display: 'Fraunces', 'Playfair Display', Georgia, 'Times New Roman', serif;
    --pm-sans: 'Inter', 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --pm-fs-hero: clamp(2.75rem, 1.6rem + 4.6vw, 5rem);       /* 44 → 80 */
    --pm-fs-h2: clamp(1.875rem, 1.45rem + 1.6vw, 2.75rem);     /* 30 → 44 */
    --pm-fs-h3: clamp(1.25rem, 1.1rem + .6vw, 1.625rem);
    --pm-fs-body: clamp(.9375rem, .9rem + .15vw, 1rem);       /* 15 → 16 */

    /* Space (8px scale) */
    --pm-1: 8px; --pm-2: 16px; --pm-3: 24px; --pm-4: 32px; --pm-5: 40px; --pm-6: 48px; --pm-7: 56px; --pm-8: 64px; --pm-10: 80px; --pm-12: 96px;
    --pm-section: 56px;
    --pm-gutter: clamp(16px, 3vw, 48px);   /* site-wide side padding: 16px on phones → 48px on wide screens */
    --pm-max: 1680px;                      /* site-wide container width (padding included): header, nav, sections, footer, shop */

    /* Shape & depth */
    --pm-r: 16px;
    --pm-r-sm: 12px;
    --pm-r-xs: 8px;
    --pm-pill: 999px;
    --pm-shadow-1: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .06);
    --pm-shadow-2: 0 2px 4px rgba(0, 0, 0, .04), 0 18px 40px rgba(0, 0, 0, .09);
    --pm-shadow-3: 0 4px 8px rgba(0, 0, 0, .04), 0 28px 60px rgba(0, 0, 0, .12);
    --pm-ring: 0 0 0 3px rgba(30, 78, 140, .22);

    /* Motion */
    --pm-ease: cubic-bezier(.2, .7, .2, 1);
    --pm-fast: .25s;
    --pm-slow: .7s;

    /* ---- Re-map the existing theme tokens (trendy.css → store/bebo/glazed) onto the calm palette ---- */
    --tf-blue: var(--pm-blue);
    --tf-blue-600: var(--pm-blue-dk);
    --tf-navy: var(--pm-text);
    --tf-blue-50: var(--pm-tint);
    --tf-blue-100: #DCE6F3;
    --tf-blush: var(--pm-rose);
    --tf-blush-50: #FBF2F3;
    --tf-rose: var(--pm-rose-ink);
    --tf-bg: var(--pm-white);
    --tf-text: var(--pm-text-2);
    --tf-muted: var(--pm-muted);
    --tf-border: var(--pm-line);
    --tf-border-strong: var(--pm-line-2);
    --tf-font-head: var(--pm-sans);
    --tf-font-body: var(--pm-sans);
    --tf-radius-sm: var(--pm-r-sm);
    --tf-radius: var(--pm-r);
    --tf-radius-lg: 20px;
    --tf-shadow-sm: 0 1px 2px rgba(0, 0, 0, .04);
    --tf-shadow: var(--pm-shadow-1);
    --tf-shadow-lg: var(--pm-shadow-2);
    --tf-ring: var(--pm-ring);
    --tf-ease: var(--pm-ease);
    --rf-max: var(--pm-max);
    --rf-gutter: var(--pm-gutter);
    --rf-canvas: var(--pm-white);
    --rf-ivory: var(--pm-cream);
    --shadow-brand: 0 10px 22px -14px rgba(30, 78, 140, .55);
    --bs-primary: var(--pm-blue);
    --bs-primary-rgb: 30, 78, 140;
    --bs-link-color: var(--pm-blue);
    --bs-link-color-rgb: 30, 78, 140;
    --bs-link-hover-color: var(--pm-blue-dk);
    --bs-body-color: var(--pm-text-2);
    --bs-border-color: var(--pm-line);
    --bs-border-radius: var(--pm-r-sm);
}
/* The layout prints the admin colour settings into :root after this file; the calm palette wins here (html:root is more specific). */
html:root { --brand: #1E4E8C; --brand-rgb: 30, 78, 140; --dark: #161616; --dark-rgb: 22, 22, 22; --accent: #B4505C; --accent-rgb: 180, 80, 92; --tech: #1E4E8C; --tech-rgb: 30, 78, 140; }
@media (min-width: 768px) { :root { --pm-section: 72px; } }
@media (min-width: 1200px) { :root { --pm-section: 96px; } }

/* ==========================================================================
   2. BASE & TYPE
   ========================================================================== */
body.theme-premium { background: var(--pm-white); color: var(--pm-text-2); font-family: var(--pm-sans); font-size: var(--pm-fs-body); line-height: 1.65; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
.theme-premium h1, .theme-premium .h1, .theme-premium h2, .theme-premium .h2 { font-family: var(--pm-display); font-weight: 400; color: var(--pm-text); letter-spacing: -.02em; line-height: 1.12; font-optical-sizing: auto; }
.theme-premium h3, .theme-premium h4, .theme-premium h5, .theme-premium h6,
.theme-premium .h3, .theme-premium .h4, .theme-premium .h5, .theme-premium .h6 { font-family: var(--pm-sans); font-weight: 600; color: var(--pm-text); letter-spacing: -.01em; }
.theme-premium em.pm-it, .theme-premium h1 em, .theme-premium h2 em { font-style: italic; font-weight: 300; letter-spacing: -.01em; }
.theme-premium a { color: var(--pm-blue); }
.theme-premium a:hover { color: var(--pm-blue-dk); }
.theme-premium ::selection { background: rgba(30, 78, 140, .14); }
.theme-premium :focus-visible { outline: 2px solid var(--pm-blue); outline-offset: 3px; }
.theme-premium .text-brand { color: var(--pm-blue) !important; }

/* The one site-wide container: every wrapper shares --pm-max / --pm-gutter, so all edges line up (trendy.css's 1320px and its own gutters are overridden here). */
.rf-wrap, .pm-wrap, .theme-premium .rf-wrap, .theme-premium .pm-wrap, .theme-premium .container, .theme-premium .container-xl, .theme-premium .container-xxl { --rf-gutter: var(--pm-gutter); box-sizing: border-box; width: 100%; max-width: var(--pm-max); padding-left: var(--pm-gutter); padding-right: var(--pm-gutter); margin-left: auto; margin-right: auto; }

.pm-section { padding: var(--pm-section) 0; background: var(--pm-white); position: relative; }
.pm-section.is-cream { background: var(--pm-cream); }
.pm-section + .pm-section:not(.is-cream):not(.pm-flush) { padding-top: 0; }
.pm-section.is-cream + .pm-section.is-cream { padding-top: 0; }

.pm-eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 var(--pm-2); font-family: var(--pm-sans); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pm-muted); }
.pm-eyebrow::before { content: ''; width: 24px; height: 1px; background: currentColor; opacity: .6; }
.pm-eyebrow.is-center::after { content: ''; width: 24px; height: 1px; background: currentColor; opacity: .6; }
.pm-title { margin: 0; font-family: var(--pm-display); font-size: var(--pm-fs-h2); font-weight: 400; line-height: 1.1; letter-spacing: -.025em; color: var(--pm-text); }
.pm-title em { font-style: italic; font-weight: 300; }
.pm-lede { margin: var(--pm-2) 0 0; max-width: 52ch; color: var(--pm-muted); font-size: 1rem; line-height: 1.7; }

/* Section head (x-section-head and editorial heads) */
.theme-premium .section-head, .pm-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--pm-3); margin-bottom: var(--pm-5); }
.theme-premium .section-head h2 { font-family: var(--pm-display); font-size: var(--pm-fs-h2); font-weight: 400; line-height: 1.1; letter-spacing: -.025em; color: var(--pm-text); margin: 0; }
.theme-premium .section-head h2 em { font-style: italic; font-weight: 300; }
.theme-premium .section-head p { margin: var(--pm-1) 0 0; color: var(--pm-muted); font-size: .98rem; max-width: 56ch; }
.pm-head.is-center, .theme-premium .section-head.is-center { flex-direction: column; align-items: center; text-align: center; }
.pm-head.is-center .pm-lede { margin-left: auto; margin-right: auto; }
.theme-premium .section-head .view-all, .pm-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-size: .9rem; font-weight: 500; color: var(--pm-text) !important; text-decoration: none; white-space: nowrap; position: relative; }
.theme-premium .section-head .view-all::after, .pm-link::after { content: ''; position: absolute; left: 0; right: 1.4rem; bottom: 10px; height: 1px; background: currentColor; transform-origin: left; transition: transform var(--pm-fast) var(--pm-ease); }
.theme-premium .section-head .view-all:hover::after, .pm-link:hover::after { transform: scaleX(.4); }
.pm-link svg, .theme-premium .section-head .view-all i { transition: transform var(--pm-fast) var(--pm-ease); }
.pm-link:hover svg, .theme-premium .section-head .view-all:hover i { transform: translateX(4px); }
@media (max-width: 767.98px) { .theme-premium .section-head, .pm-head { margin-bottom: var(--pm-4); } }

/* Lucide-style inline icons (1.5px stroke) */
.pm-ico { width: 20px; height: 20px; flex: 0 0 auto; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: middle; }
.pm-ico.is-sm { width: 16px; height: 16px; }
.pm-ico.is-lg { width: 24px; height: 24px; }
/* Bootstrap icons kept for JS-swapped glyphs: lighten them so they sit with the line icons. */
.theme-premium .bi::before { -webkit-text-stroke: .15px; }

/* ==========================================================================
   3. BUTTONS & FORMS
   ========================================================================== */
.pm-btn, .theme-premium .btn-primary, .theme-premium .btn-cta, .theme-premium .btn-buy-now, .theme-premium .rf-btn, .theme-premium .btn-outline-primary, .theme-premium .btn-dark {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: 0 1.6rem; border-radius: var(--pm-pill) !important; font-family: var(--pm-sans); font-size: .92rem; font-weight: 500; letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: transform var(--pm-fast) var(--pm-ease), box-shadow var(--pm-fast) var(--pm-ease), background-color var(--pm-fast), color var(--pm-fast), border-color var(--pm-fast);
}
.pm-btn { border: 1px solid transparent; }
.pm-btn--primary, .theme-premium .btn-primary, .theme-premium .btn-buy-now, .theme-premium .rf-btn-dark, .theme-premium .btn-dark { background: var(--pm-blue) !important; border: 1px solid var(--pm-blue) !important; color: #fff !important; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.pm-btn--primary:hover, .theme-premium .btn-primary:hover, .theme-premium .btn-buy-now:hover, .theme-premium .rf-btn-dark:hover, .theme-premium .btn-dark:hover { background: var(--pm-blue-dk) !important; border-color: var(--pm-blue-dk) !important; color: #fff !important; transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(30, 78, 140, .55); }
.pm-btn--outline, .theme-premium .btn-cta, .theme-premium .btn-outline-primary, .theme-premium .rf-btn:not(.rf-btn-dark) { background: transparent !important; border: 1px solid var(--pm-text) !important; color: var(--pm-text) !important; }
.pm-btn--outline:hover, .theme-premium .btn-cta:hover, .theme-premium .btn-outline-primary:hover, .theme-premium .rf-btn:not(.rf-btn-dark):hover { background: var(--pm-text) !important; color: #fff !important; transform: translateY(-2px); }
.pm-btn--light { background: #fff; color: var(--pm-text) !important; border-color: #fff; }
.pm-btn--light:hover { transform: translateY(-2px); box-shadow: var(--pm-shadow-2); color: var(--pm-text) !important; }
.pm-btn--ghost-light { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .7); color: #fff !important; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pm-btn--ghost-light:hover { background: #fff; color: var(--pm-text) !important; transform: translateY(-2px); }
.pm-btn:active, .theme-premium .btn:active { transform: translateY(0) !important; }
.theme-premium .btn:disabled, .theme-premium .btn.disabled { opacity: .45; transform: none !important; box-shadow: none !important; }
.theme-premium .btn-light { background: var(--pm-cream); border: 1px solid var(--pm-line); border-radius: var(--pm-pill); color: var(--pm-text); }
.theme-premium .btn-light:hover { background: #fff; border-color: var(--pm-line-2); }
.theme-premium .btn-lg { min-height: 52px; font-size: .95rem; }
.theme-premium .btn-sm { min-height: 38px; padding: 0 1rem; font-size: .84rem; }

.theme-premium .form-control, .theme-premium .form-select { min-height: 48px; border: 1px solid var(--pm-line-2); border-radius: var(--pm-r-sm); background-color: #fff; color: var(--pm-text); font-size: 16px; padding: .6rem 1rem; box-shadow: none; transition: border-color var(--pm-fast), box-shadow var(--pm-fast); }
.theme-premium textarea.form-control { min-height: 110px; }
.theme-premium .form-control:focus, .theme-premium .form-select:focus { border-color: var(--pm-blue); box-shadow: var(--pm-ring); }
.theme-premium .form-label { font-size: .84rem; font-weight: 500; color: var(--pm-text); margin-bottom: .4rem; }
.theme-premium .form-check-input:checked { background-color: var(--pm-blue); border-color: var(--pm-blue); }
.theme-premium .form-check-input:focus { box-shadow: var(--pm-ring); }
.theme-premium .input-group > .form-control { border-radius: var(--pm-r-sm); }
.theme-premium .card { border: 1px solid var(--pm-line); border-radius: var(--pm-r); box-shadow: none; }
.theme-premium .badge { font-weight: 600; letter-spacing: .02em; }
.theme-premium .alert { border-radius: var(--pm-r-sm); border: 1px solid var(--pm-line); }
.theme-premium .alert-success { background: #EEF6F1; color: #20533A; border-color: #D5E9DD; }
.theme-premium .alert-danger { background: #FBF0F1; color: #8C2F36; border-color: #F1D6D9; }
.theme-premium .alert-info, .theme-premium .alert-primary { background: var(--pm-tint); color: var(--pm-blue-dk); border-color: #DCE6F3; }
.theme-premium .breadcrumb { font-size: .8rem; letter-spacing: .02em; }
.theme-premium .breadcrumb a { color: var(--pm-muted); text-decoration: none; }
.theme-premium .breadcrumb a:hover { color: var(--pm-text); }
.theme-premium .pagination { gap: 6px; }
.theme-premium .page-link { border-radius: var(--pm-pill) !important; border: 1px solid var(--pm-line); min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--pm-text); }
.theme-premium .page-item.active .page-link { background: var(--pm-text); border-color: var(--pm-text); color: #fff; }
.theme-premium .nav-tabs { border-bottom: 1px solid var(--pm-line); gap: var(--pm-3); }
.theme-premium .nav-tabs .nav-link { border: 0; border-bottom: 1px solid transparent; margin-bottom: -1px; padding: .9rem 0; color: var(--pm-muted); font-weight: 500; background: transparent; }
.theme-premium .nav-tabs .nav-link.active, .theme-premium .nav-tabs .nav-link:hover { color: var(--pm-text); border-bottom-color: var(--pm-text); background: transparent; }

/* ==========================================================================
   5. HEADER
   ========================================================================== */
.theme-premium .tf-header { background: rgba(255, 255, 255, 1); border-bottom: 1px solid transparent; transition: background-color var(--pm-fast) var(--pm-ease), box-shadow var(--pm-fast) var(--pm-ease), border-color var(--pm-fast); }
.theme-premium .rf-header.is-fixed { background: rgba(255, 255, 255, .98); }
.theme-premium .tf-header.is-compact { background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); border-bottom-color: rgba(236, 232, 227, .7); box-shadow: 0 1px 2px rgba(0, 0, 0, .03), 0 10px 30px rgba(0, 0, 0, .05); }
@supports not ((backdrop-filter: blur(4px)) or (-webkit-backdrop-filter: blur(4px))) { .theme-premium .tf-header.is-compact { background: rgba(255, 255, 255, .97); } }
.theme-premium .tf-header-row { gap: var(--pm-3); height: 72px; }
.theme-premium .tf-header.is-compact .tf-header-row { height: 64px; }
@media (max-width: 767.98px) { .theme-premium .tf-header-row { height: 60px; gap: var(--pm-1); } .theme-premium .tf-header.is-compact .tf-header-row { height: 56px; } }

/* Logo lockup: serif wordmark */
.theme-premium .tf-lockup { gap: .65rem; color: var(--pm-text) !important; }
.theme-premium .tf-lockup-mark { width: 40px; height: 40px; border-radius: 50%; box-shadow: none; }
.theme-premium .tf-header.is-compact .tf-lockup-mark { width: 36px; height: 36px; }
.theme-premium .tf-lockup-text { gap: 3px; }
.theme-premium .tf-lockup-name { font-family: var(--pm-display); font-weight: 400; font-size: 1.5rem; letter-spacing: -.02em; color: var(--pm-text); line-height: .95; }
.theme-premium .tf-lockup-sub { font-family: var(--pm-sans); font-weight: 500; font-size: .58rem; letter-spacing: .32em; color: var(--pm-muted); }
.theme-premium .tf-lockup.is-light .tf-lockup-name { color: #fff; }
.theme-premium .tf-lockup.is-light .tf-lockup-sub { color: rgba(255, 255, 255, .6); }
@media (max-width: 374.98px) { .theme-premium .tf-lockup-name { font-size: 1.25rem; } .theme-premium .tf-lockup-mark { width: 34px; height: 34px; } }

/* Search: wide, soft, rounded */
.theme-premium .tf-search { max-width: 560px; background: var(--pm-cream); border: 1px solid var(--pm-line); border-radius: var(--pm-pill); }
.theme-premium .tf-search:focus-within { background: #fff; border-color: var(--pm-line-2); box-shadow: 0 0 0 4px rgba(30, 78, 140, .08), var(--pm-shadow-1); }
.theme-premium .tf-search input { height: 48px; padding-left: 48px; font-size: 15px; color: var(--pm-text); }
.theme-premium .tf-search input::placeholder { color: #8E8A85; }
.theme-premium .tf-search-icon { left: 18px; color: var(--pm-muted); font-size: 1rem; }
.theme-premium .tf-search-btn { height: 38px; margin-right: 5px; padding: 0 1.2rem; background: var(--pm-text); font-weight: 500; font-size: .84rem; }
.theme-premium .tf-search-btn:hover { background: var(--pm-blue); }
.theme-premium .tf-search .search-suggest { border-radius: var(--pm-r); border: 1px solid var(--pm-line); box-shadow: var(--pm-shadow-3); padding: 6px; }
.theme-premium .search-suggest .item { border-radius: var(--pm-r-xs); }
.theme-premium .search-suggest .item:hover, .theme-premium .search-suggest .item.active { background: var(--pm-cream); }
.theme-premium .search-suggest .group-title { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--pm-muted); padding: 10px 12px 6px; }
.theme-premium .tf-search-panel { border-top: 1px solid var(--pm-line); background: rgba(255, 255, 255, .98); }

/* Icons */
.theme-premium .tf-actions { gap: 4px; }
.theme-premium .tf-icon { height: 44px; min-width: 44px; border-radius: var(--pm-pill); color: var(--pm-text) !important; font-size: 1.22rem; background: transparent !important; }
.theme-premium .tf-icon:hover, .theme-premium .tf-icon[aria-expanded="true"] { background: var(--pm-cream) !important; color: var(--pm-text) !important; }
.theme-premium .tf-icon .pm-ico { width: 22px; height: 22px; }
.theme-premium .tf-icon-label { font-size: .84rem; font-weight: 500; }
.theme-premium .tf-icon .count { top: 4px; left: 24px; min-width: 17px; height: 17px; line-height: 17px; font-size: .62rem; font-weight: 600; background: var(--pm-text); box-shadow: 0 0 0 2px #fff; }
.theme-premium .tf-cart-btn .count { background: var(--pm-blue); }
@media (min-width: 1200px) {
    .theme-premium .tf-cart-btn { background: var(--pm-text) !important; color: #fff !important; padding: 0 1.15rem 0 .95rem; }
    .theme-premium .tf-cart-btn:hover { background: var(--pm-blue) !important; color: #fff !important; }
    .theme-premium .tf-cart-btn .count { left: auto; right: -4px; top: -4px; background: var(--pm-rose-ink); box-shadow: 0 0 0 2px #fff; }
}
.pm-bump { animation: pmBump .6s var(--pm-ease); }
@keyframes pmBump { 0% { transform: scale(1); } 30% { transform: scale(1.18) rotate(-6deg); } 60% { transform: scale(.96) rotate(3deg); } 100% { transform: scale(1); } }
.theme-premium .tf-account-menu { border-radius: var(--pm-r); border: 1px solid var(--pm-line); box-shadow: var(--pm-shadow-3); }
.theme-premium .tf-account-menu .dropdown-item:hover { background: var(--pm-cream); color: var(--pm-text); }

/* Desktop category row */
.theme-premium .tf-nav { border-top: 1px solid var(--pm-line); background: transparent; }
.theme-premium .tf-nav-list { justify-content: center; gap: var(--pm-1); }
.theme-premium .tf-nav-link { height: 46px; padding: 0 1rem; font-family: var(--pm-sans); font-size: .86rem; font-weight: 500; letter-spacing: .01em; color: var(--pm-text) !important; }
.theme-premium .tf-nav-link::after { left: 1rem; right: 1rem; height: 1px; bottom: 11px; border-radius: 0; background: var(--pm-text); }
.theme-premium .tf-nav-link:hover, .theme-premium .tf-nav-link.is-active, .theme-premium .tf-nav-item.is-open > .tf-nav-link { color: var(--pm-text) !important; }
.theme-premium .tf-nav-link.is-offer { color: var(--pm-rose-ink) !important; }
.theme-premium .tf-header.is-compact .tf-nav-link { height: 40px; }
.theme-premium .tf-header.is-compact .tf-nav-link::after { bottom: 8px; }
.theme-premium .tf-panel-inner { border-radius: var(--pm-r); border: 1px solid var(--pm-line); box-shadow: var(--pm-shadow-3); padding: var(--pm-3); }
.theme-premium .tf-panel-heading { font-family: var(--pm-display); font-size: 1.25rem; font-weight: 400; letter-spacing: -.01em; text-transform: none; color: var(--pm-text); }
.theme-premium .tf-panel-links li a { color: var(--pm-text-2); font-weight: 400; }
.theme-premium .tf-panel-links li a:hover { background: var(--pm-cream); color: var(--pm-text); }
.theme-premium .tf-count { background: var(--pm-cream); }
.theme-premium .tf-panel-all { color: var(--pm-text); font-weight: 500; }
.theme-premium .tf-panel-card { border-radius: var(--pm-r-sm); background: var(--pm-img); }

/* ==========================================================================
   6. DRAWER & BOTTOM NAV
   ========================================================================== */
.theme-premium .tf-drawer { width: min(88vw, 380px); }
.theme-premium .tf-drawer-head { border-bottom: 1px solid var(--pm-line); padding: 14px 20px; }
.theme-premium .tf-drawer-body { padding: 12px 16px 32px; }
.theme-premium .tf-drawer-label { font-family: var(--pm-sans); font-weight: 600; font-size: .68rem; letter-spacing: .14em; color: var(--pm-muted); padding: 18px 12px 8px; }
.theme-premium .tf-drawer .menu-link { min-height: 50px; color: var(--pm-text); font-weight: 500; border-radius: var(--pm-r-sm); }
.theme-premium .tf-drawer .menu-link:hover, .theme-premium .tf-drawer .menu-link[aria-expanded="true"] { background: var(--pm-cream); color: var(--pm-text); }
.theme-premium .tf-drawer-sub { border-left-color: var(--pm-line); }
.theme-premium .tf-drawer-sub a { color: var(--pm-text-2); }
.theme-premium .tf-drawer-sub a:hover { background: var(--pm-cream); color: var(--pm-text); }
.theme-premium .tf-drawer-sub a.fw-600 { color: var(--pm-text); }
.theme-premium .tf-drawer-user { background: var(--pm-cream); border-radius: var(--pm-r); }
.pm-drawer-feature { display: flex; align-items: center; gap: 14px; margin: 8px 0 4px; padding: 14px 16px; border-radius: var(--pm-r); background: var(--pm-tint); color: var(--pm-blue-dk) !important; text-decoration: none; border: 1px solid #DCE6F3; transition: transform var(--pm-fast) var(--pm-ease), box-shadow var(--pm-fast); }
.pm-drawer-feature:hover { transform: translateY(-1px); box-shadow: var(--pm-shadow-1); }
.pm-drawer-feature .pm-drawer-feature-ico { width: 42px; height: 42px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.pm-drawer-feature b { display: block; font-weight: 600; color: var(--pm-text); font-size: .95rem; }
.pm-drawer-feature small { display: block; color: var(--pm-muted); font-size: .78rem; line-height: 1.35; }
.pm-drawer-feature .pm-ico.is-chev { margin-left: auto; color: var(--pm-muted); }
.theme-premium .tf-drawer-auth .btn { min-height: 46px; }

.theme-premium .tf-bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); align-items: stretch; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); border-top: 1px solid var(--pm-line); box-shadow: 0 -10px 30px rgba(0, 0, 0, .05); padding-bottom: env(safe-area-inset-bottom); }
.theme-premium .tf-bottom-nav > a, .theme-premium .tf-bottom-nav > button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 58px; min-width: 44px; padding: 6px 2px; border: 0; background: transparent; color: var(--pm-muted); font-size: .66rem; font-weight: 500; letter-spacing: .02em; text-decoration: none; position: relative; }
.theme-premium .tf-bottom-nav .pm-ico { width: 22px; height: 22px; }
.theme-premium .tf-bottom-nav .active { color: var(--pm-text); }
.theme-premium .tf-bottom-nav .active::before { content: ''; position: absolute; top: 0; left: 30%; right: 30%; height: 2px; border-radius: 0 0 2px 2px; background: var(--pm-text); }
.theme-premium .tf-bottom-nav .pm-bn-icon { position: relative; display: inline-flex; }
.theme-premium .tf-bottom-nav .count { position: absolute; top: -6px; right: -10px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: var(--pm-pill); background: var(--pm-blue); color: #fff; font-size: .6rem; font-weight: 600; line-height: 17px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.theme-premium .tf-bottom-nav .count[data-count="0"] { display: none; }
@media (max-width: 991.98px) { body.theme-premium { padding-bottom: calc(58px + env(safe-area-inset-bottom)); } }

/* Mini cart drawer */
.theme-premium .bs-drawer { width: min(94vw, 440px); }
.theme-premium .bs-drawer-head { padding: 18px 22px; border-bottom: 1px solid var(--pm-line); }
.theme-premium .bs-drawer-head h2 { font-family: var(--pm-display); font-size: 1.5rem; font-weight: 400; }
.theme-premium .bs-drawer-close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--pm-cream); color: var(--pm-text); }
.theme-premium .bs-drawer .cart-line img, .theme-premium .bs-drawer .mini-item img { border-radius: var(--pm-r-xs); background: var(--pm-img); }

/* Toasts */
.theme-premium .toast-item { border-radius: var(--pm-r); border: 1px solid var(--pm-line); background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--pm-shadow-3); color: var(--pm-text); font-size: .9rem; padding: 14px 16px; }
.theme-premium .toast-item.success > i { color: var(--pm-success); }
.theme-premium .toast-item.error > i { color: var(--pm-danger); }
.theme-premium .toast-item.info > i { color: var(--pm-blue); }
.theme-premium .back-to-top { border-radius: 50%; background: #fff; color: var(--pm-text); border: 1px solid var(--pm-line); box-shadow: var(--pm-shadow-1); }
.theme-premium .modal-content { border: 0; border-radius: 20px; box-shadow: var(--pm-shadow-3); }

/* ==========================================================================
   7. PRODUCT CARD
   ========================================================================== */
.theme-premium .product-card { border: 0; border-radius: var(--pm-r); background: transparent; box-shadow: none; overflow: visible; transition: transform var(--pm-slow) var(--pm-ease); display: flex; flex-direction: column; height: 100%; }
@media (hover: hover) { .theme-premium .product-card:hover { transform: translateY(-4px); box-shadow: none; border-color: transparent; } }
.theme-premium .product-card .media { position: relative; aspect-ratio: 1 / 1; border-radius: var(--pm-r); overflow: hidden; background: var(--pm-img); animation: none; isolation: isolate; transition: box-shadow var(--pm-slow) var(--pm-ease); }
.theme-premium .product-card .media::before { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(110deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, 0) 70%); background-size: 250% 100%; animation: pmShimmer 1.6s linear infinite; }
.theme-premium .product-card .media.is-loaded::before { opacity: 0; animation: none; transition: opacity .4s; }
@keyframes pmShimmer { from { background-position: 125% 0; } to { background-position: -125% 0; } }
@media (hover: hover) { .theme-premium .product-card:hover .media { box-shadow: var(--pm-shadow-2); } }
.theme-premium .product-card .media img { padding: 0; object-fit: contain; mix-blend-mode: multiply; background: transparent; transition: transform var(--pm-slow) var(--pm-ease), opacity var(--pm-slow) var(--pm-ease); position: relative; z-index: 1; }
@media (hover: hover) and (min-width: 992px) { .theme-premium .product-card:hover .media img.img-main { transform: scale(1.05); } }
.theme-premium .product-card .media .img-hover { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; z-index: 2; }
@media (hover: hover) { .theme-premium .product-card.has-hover-img:hover .media .img-hover[src] { opacity: 1; transform: scale(1.05); } .theme-premium .product-card.has-hover-img:hover .media .img-hover[src] ~ * .img-main, .theme-premium .product-card.has-hover-img:hover .media:has(.img-hover[src]) .img-main { opacity: 0; } }
.pm-card-ph { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: radial-gradient(120% 90% at 30% 20%, #FBF2F3 0%, var(--pm-img) 55%, #EFEAE4 100%); color: var(--pm-muted); text-align: center; }
.pm-card-ph b { font-family: var(--pm-display); font-weight: 400; font-style: italic; font-size: 1.4rem; color: var(--pm-text); letter-spacing: -.01em; }
.pm-card-ph small { font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; }

/* One badge max (the first visible one); sold-out / pre-order keep their own pill. */
.theme-premium .product-card .badges { top: 12px; left: 12px; right: auto; z-index: 3; gap: 6px; }
.theme-premium .product-card .badges .p-badge + .p-badge:not(.out):not(.preorder) { display: none; }
.theme-premium .p-badge { border-radius: var(--pm-pill); font-size: .68rem; font-weight: 600; letter-spacing: .04em; padding: .3rem .7rem; box-shadow: none; text-transform: none; }
.theme-premium .p-badge.sale { background: var(--pm-rose); color: var(--pm-rose-ink); }
.theme-premium .p-badge.new { background: #fff; color: var(--pm-text); }
.theme-premium .p-badge.out { background: var(--pm-text); color: #fff; }
.theme-premium .p-badge.preorder, .theme-premium .p-badge.sample { background: var(--pm-tint); color: var(--pm-blue-dk); }

.theme-premium .product-card .actions { top: 10px; right: 10px; left: auto; z-index: 4; gap: 8px; }
.theme-premium .product-card .actions button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--pm-text); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform var(--pm-fast) var(--pm-ease), color var(--pm-fast), background var(--pm-fast), opacity var(--pm-fast); }
.theme-premium .product-card .actions button:hover { transform: scale(1.08); color: var(--pm-rose-ink); border: 0; }
.theme-premium .product-card .actions [data-quick-view] { opacity: 0; transform: translateX(6px); }
@media (hover: hover) { .theme-premium .product-card:hover .actions [data-quick-view] { opacity: 1; transform: none; } }
@media (hover: none) { .theme-premium .product-card .actions [data-quick-view] { display: none; } }
.theme-premium .product-card .wishlist-btn.active { color: var(--pm-rose-ink); background: #fff; }

.theme-premium .product-card .body { padding: 14px 2px 0; gap: 4px; display: flex; flex-direction: column; flex: 1 1 auto; }
.theme-premium .product-card .meta { font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pm-muted); }
.theme-premium .product-card .title { font-family: var(--pm-sans); font-size: .95rem; font-weight: 500; line-height: 1.4; letter-spacing: -.005em; color: var(--pm-text); min-height: 2.8em; margin: 0; }
.theme-premium .product-card .title a { color: var(--pm-text) !important; }
.theme-premium .product-card .title a:hover { color: var(--pm-blue) !important; }
.theme-premium .product-card .price-row { display: flex; align-items: baseline; gap: .55rem; flex-wrap: wrap; }
.theme-premium .product-card .price { font-family: var(--pm-sans); font-size: 1rem; font-weight: 600; color: var(--pm-text); letter-spacing: -.01em; }
.theme-premium .product-card .price-row:has(.price-old) .price { color: var(--pm-text); }
.theme-premium .product-card .price-old { font-size: .84rem; color: var(--pm-muted); text-decoration: line-through; text-decoration-color: rgba(110, 110, 110, .6); }
.theme-premium .product-card .rating { font-size: .74rem; }
.pm-dots { display: flex; align-items: center; gap: 5px; margin-top: 4px; min-height: 14px; }
.pm-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c, #ddd); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.pm-dots small { font-size: .7rem; color: var(--pm-muted); margin-left: 2px; }
.theme-premium .tf-options { display: none; }
.theme-premium .tf-options.is-fallback { display: flex; }
.theme-premium .product-card .stock-note { font-size: .74rem; color: var(--pm-rose-ink); font-weight: 500; }

/* Card buttons — desktop: slide up over the image; touch/mobile: compact and always visible under the price. */
.theme-premium .bs-card-btns { display: flex; gap: 6px; margin-top: 12px; }
.theme-premium .bs-card-btn { flex: 1 1 0; height: 40px; min-height: 40px; border-radius: var(--pm-pill); border: 1px solid var(--pm-text); background: #fff; color: var(--pm-text); font-size: .76rem; font-weight: 500; letter-spacing: .01em; display: inline-flex; align-items: center; justify-content: center; gap: .35rem; transition: background var(--pm-fast), color var(--pm-fast), border-color var(--pm-fast), transform var(--pm-fast) var(--pm-ease); }
.theme-premium .bs-card-btn i { font-size: .9rem; }
.theme-premium .bs-add-btn:hover:not(:disabled) { background: var(--pm-text); color: #fff; border-color: var(--pm-text); }
.theme-premium .bs-buy-btn { background: var(--pm-blue); border-color: var(--pm-blue); color: #fff; }
.theme-premium .bs-buy-btn:hover:not(:disabled) { background: var(--pm-blue-dk); border-color: var(--pm-blue-dk); }
.theme-premium .bs-card-btn.is-disabled { background: var(--pm-cream); border-color: var(--pm-line); color: var(--pm-muted); }
@media (hover: hover) and (pointer: fine) and (min-width: 992px) {
    /* The image is square and as wide as the card, and a percentage margin-top resolves against the card's WIDTH,
       so calc(100% - 56px) puts the 44px buttons 12px above the image's bottom edge, whatever the text below. */
    .theme-premium .product-card { position: relative; }
    .theme-premium .product-card .body { position: static; }
    .theme-premium .product-card .bs-card-btns { position: absolute; z-index: 5; left: 12px; right: 12px; top: 0; margin: calc(100% - 56px) 0 0; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .35s var(--pm-ease), transform .5s var(--pm-ease); }
    .theme-premium .product-card .bs-card-btn { background: rgba(255, 255, 255, .95); border-color: transparent; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 6px 18px rgba(0, 0, 0, .08); height: 44px; }
    .theme-premium .product-card .bs-buy-btn { background: var(--pm-blue); border-color: var(--pm-blue); color: #fff; }
    .theme-premium .product-card .bs-add-btn:hover:not(:disabled) { background: var(--pm-text); color: #fff; }
    .theme-premium .product-card:hover .bs-card-btns, .theme-premium .product-card:focus-within .bs-card-btns { opacity: 1; pointer-events: auto; transform: none; }
    .theme-premium .product-card .bs-card-btn.is-disabled { display: none; }
}
@media (max-width: 575.98px) {
    .theme-premium .product-card .body { padding-top: 10px; }
    .theme-premium .product-card .title { font-size: .86rem; }
    .theme-premium .product-card .price { font-size: .92rem; }
    .theme-premium .bs-card-btns { flex-direction: row; gap: 5px; }
    .theme-premium .bs-card-btn { height: 40px; min-height: 40px; font-size: .7rem; padding: 0 4px; }
    .theme-premium .bs-card-btn i { display: none; }
    .theme-premium .product-card .actions button { width: 36px; height: 36px; }
}

/* Grids */
.theme-premium .tf-grid { gap: 28px 14px; }
@media (min-width: 768px) { .theme-premium .tf-grid { gap: 40px 20px; } }
@media (min-width: 1200px) { .theme-premium .tf-grid { gap: 48px 24px; } }

/* ==========================================================================
   8. HOME
   ========================================================================== */
/* 8.1 Hero — auto-playing split slider (4+ slides, product photo compositions; behaviour: premium.js [data-pm-hero2]) */
.pm-hero2 { --mx: 0; --my: 0; position: relative; isolation: isolate; overflow: hidden; background-color: var(--h2-bg, #F8E8EA); transition: background-color .6s var(--pm-ease); }
.pm-hero2::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(55% 75% at 12% 18%, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 70%), radial-gradient(40% 50% at 95% 100%, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 70%); }
.pm-h2-stage { display: grid; min-height: clamp(580px, 80svh, 760px); }
.pm-h2-slide { grid-area: 1 / 1; display: grid; --h2-out: .5s; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: clamp(24px, 4vw, 72px); padding: clamp(40px, 6vh, 72px) 0 clamp(96px, 12vh, 120px); opacity: 0; pointer-events: none; transition: opacity .6s var(--pm-ease); }
.pm-h2-slide.is-active { opacity: 1; pointer-events: auto; z-index: 1; }
.pm-h2-copy { max-width: 580px; }
.pm-h2-copy .pm-eyebrow { margin-bottom: var(--pm-3); color: var(--pm-text); opacity: .72; }
.pm-h2-title { margin: 0; font-family: var(--pm-display); font-size: clamp(2.75rem, 1.55rem + 4.3vw, 5.25rem); font-weight: 350; line-height: 1.02; letter-spacing: -.035em; color: var(--pm-text); text-wrap: balance; }
.pm-h2-title em { font-style: italic; font-weight: 300; }
.pm-h2-text { margin: var(--pm-3) 0 0; max-width: 42ch; font-size: clamp(1rem, .95rem + .25vw, 1.125rem); line-height: 1.6; color: #4D4945; }
.pm-h2-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--pm-5); }
.pm-h2-ctas .pm-btn--outline { background: rgba(255, 255, 255, .55); }
.pm-h2-trust { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin: var(--pm-4) 0 0; font-size: .8rem; color: #5E5A56; }
.pm-h2-trust .pm-ico { color: var(--pm-blue); }
/* Copy entrance (word-by-word title: .pm-split; the rest rises in after it) */
.pm-h2-copy > :not(.pm-h2-title) { transition: opacity .8s var(--pm-ease), transform .8s var(--pm-ease); }
.pm-h2-copy > .pm-eyebrow { transition-delay: 0s; }
.pm-h2-copy > .pm-h2-text { transition-delay: .25s; }
.pm-h2-copy > .pm-h2-ctas { transition-delay: .35s; }
.pm-h2-copy > .pm-h2-trust { transition-delay: .45s; }
.pm-h2-slide.is-pre .pm-h2-copy > :not(.pm-h2-title) { opacity: 0; transform: translateY(16px); transition: none; }

/* Photo composition */
.pm-h2-art { position: relative; height: min(62vh, 560px); min-height: 420px; }
.pm-h2-blob { position: absolute; left: 50%; top: 50%; width: 80%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 46% 54% 58% 42% / 44% 46% 54% 56%; background: var(--h2-blob, #F0C9D0); transition: background-color .6s var(--pm-ease); animation: pmBlob 14s ease-in-out infinite alternate; }
@keyframes pmBlob { to { border-radius: 56% 44% 42% 58% / 52% 58% 42% 48%; transform: translate(-50%, -50%) rotate(8deg) scale(1.03); } }
.pm-h2-img { --s: 1; position: absolute; margin: 0; z-index: 1; border-radius: 24px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 28px 56px -18px rgba(40, 25, 15, .28); transform: translate3d(calc(var(--mx) * var(--depth, 10) * 1px), calc(var(--my) * var(--depth, 10) * 1px), 0) rotate(var(--rot, 0deg)) scale(var(--s)); transition: transform .9s var(--pm-ease), opacity .9s var(--pm-ease); }
.pm-h2-float { display: block; width: 100%; height: 100%; border-radius: inherit; overflow: hidden; animation: pmFloat 6s ease-in-out infinite; }
.pm-h2-float img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm-h2-img.is-front { width: 50%; aspect-ratio: 4 / 5; left: 27%; top: 50%; margin-top: -31%; --rot: -2deg; --depth: 18; z-index: 3; transition-delay: .18s; }
.pm-h2-img.is-back-l { width: 36%; aspect-ratio: 4 / 5; left: 3%; top: 50%; margin-top: -12%; --rot: -8deg; --depth: 7; transition-delay: .04s; }
.pm-h2-img.is-back-l .pm-h2-float { animation-delay: -2s; }
.pm-h2-img.is-back-r { width: 36%; aspect-ratio: 4 / 5; right: 3%; top: 50%; margin-top: -36%; --rot: 7deg; --depth: 11; z-index: 2; transition-delay: .28s; }
.pm-h2-img.is-back-r .pm-h2-float { animation-delay: -4s; }
@keyframes pmFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.pm-h2-chip, .pm-h2-price { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; border-radius: var(--pm-pill); white-space: nowrap; box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 12px 28px -8px rgba(40, 25, 15, .22); transition: opacity .8s var(--pm-ease), transform .8s var(--pm-ease); animation: pmFloat 7s ease-in-out infinite; }
.pm-h2-chip { padding: 10px 16px; background: rgba(255, 255, 255, .96); color: var(--pm-text); font-size: .8rem; font-weight: 500; }
.pm-h2-chip .pm-ico { color: var(--pm-blue); }
.pm-h2-chip.is-a { left: 0; top: 12%; transition-delay: .6s; animation-delay: -1s; }
.pm-h2-chip.is-b { right: 1%; bottom: 20%; transition-delay: .75s; animation-delay: -3.5s; }
.pm-h2-price { left: 16%; bottom: 5%; padding: 12px 20px; background: #161616; color: #fff; font-family: var(--pm-display); font-size: 1.15rem; letter-spacing: -.01em; transition-delay: .9s; animation-delay: -5s; }
.pm-h2-price small { font-family: var(--pm-body, Inter, sans-serif); font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.pm-h2-slide.is-pre .pm-h2-img { --s: .92; opacity: 0; transition: none; }
.pm-h2-slide.is-pre .pm-h2-chip, .pm-h2-slide.is-pre .pm-h2-price { opacity: 0; transform: translateY(12px); transition: none; }

/* Controls: counter, progress (the autoplay clock), dots, arrows */
.pm-h2-controls { position: absolute; left: 0; right: 0; bottom: clamp(24px, 4vh, 40px); z-index: 3; display: flex; align-items: center; gap: 20px; }
.pm-h2-count { font-size: .85rem; letter-spacing: .06em; color: #5E5A56; font-variant-numeric: tabular-nums; }
.pm-h2-count b { color: var(--pm-text); font-weight: 600; }
.pm-h2-progress { flex: 0 0 120px; height: 2px; border-radius: 2px; background: rgba(22, 22, 22, .12); overflow: hidden; }
.pm-h2-progress span { display: block; height: 100%; background: var(--pm-text); transform: scaleX(0); transform-origin: left; animation: pmH2Bar var(--h2-interval, 6s) linear forwards; }
@keyframes pmH2Bar { to { transform: scaleX(1); } }
.pm-hero2.is-paused .pm-h2-progress span { animation-play-state: paused; }
.pm-hero2.is-static .pm-h2-progress { display: none; }
.pm-hero2.is-static .pm-h2-progress span { animation: none; }
.pm-h2-dots { display: flex; align-items: center; }
.pm-h2-dots button { position: relative; width: 32px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.pm-h2-dots button::before { content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 999px; background: rgba(22, 22, 22, .22); transition: width .4s var(--pm-ease), margin .4s var(--pm-ease), background .3s; }
.pm-h2-dots button.is-active::before { width: 24px; margin-left: -12px; background: var(--pm-text); }
.pm-h2-dots button:hover::before { background: rgba(22, 22, 22, .5); }
.pm-h2-arrows { display: flex; gap: 10px; margin-left: auto; }
.pm-h2-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(22, 22, 22, .14); background: rgba(255, 255, 255, .7); color: var(--pm-text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--pm-ease); }
.pm-h2-arrow:hover { background: var(--pm-text); border-color: var(--pm-text); color: #fff; }
.pm-h2-arrow:active { transform: scale(.94); }

@media (max-width: 991.98px) {
    .pm-h2-stage { min-height: 0; }
    .pm-h2-slide { grid-template-columns: 1fr; align-content: start; gap: 8px; padding: 36px 0 92px; }
    .pm-h2-copy { max-width: none; }
    .pm-h2-art { height: clamp(320px, 48vh, 440px); min-height: 0; width: 100%; max-width: 520px; margin: 8px auto 0; }
    .pm-h2-controls { bottom: 20px; gap: 14px; }
    .pm-h2-progress { flex-basis: 64px; }
}
@media (max-width: 575.98px) {
    .pm-h2-slide { padding: 28px 0 84px; }
    .pm-h2-title { font-size: clamp(2.5rem, 9.5vw, 3rem); }
    .pm-h2-text { font-size: .98rem; }
    .pm-h2-ctas { margin-top: var(--pm-4); }
    .pm-h2-ctas .pm-btn { flex: 1 1 0; padding-left: 14px; padding-right: 14px; }
    .pm-h2-trust { font-size: .72rem; }
    .pm-h2-art { height: 330px; }
    .pm-h2-chip { padding: 8px 12px; font-size: .72rem; }
    .pm-h2-price { font-size: 1rem; padding: 10px 16px; }
    .pm-h2-arrow { width: 44px; height: 44px; }
    .pm-h2-count { display: none; }
}

/* Word-by-word headline */
.pm-split .pm-w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.pm-split .pm-w > span { display: inline-block; transform: translateY(105%); opacity: 0; transition: transform 1s var(--pm-ease), opacity 1s var(--pm-ease); transition-delay: calc(var(--i, 0) * 90ms + 150ms); }
.pm-split.is-in .pm-w > span { transform: none; opacity: 1; }
.pm-fade-up { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--pm-ease), transform .9s var(--pm-ease); transition-delay: var(--d, .5s); }
.is-in .pm-fade-up, .pm-fade-up.is-in { opacity: 1; transform: none; }

/* 8.2 Trust strip */
.pm-trust { background: var(--pm-white); border-bottom: 1px solid var(--pm-line); }
.pm-trust-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.pm-trust-item { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 26px 12px; text-align: left; position: relative; color: var(--pm-text); text-decoration: none; }
.pm-trust-item + .pm-trust-item::before { content: ''; position: absolute; left: 0; top: 30%; bottom: 30%; width: 1px; background: var(--pm-line); }
.pm-trust-item .pm-ico { width: 26px; height: 26px; color: var(--pm-blue); }
.pm-trust-item b { display: block; font-size: .88rem; font-weight: 600; color: var(--pm-text); line-height: 1.3; }
.pm-trust-item small { display: block; font-size: .76rem; color: var(--pm-muted); line-height: 1.35; }
a.pm-trust-item:hover b { color: var(--pm-blue); }
@media (max-width: 991.98px) {
    .pm-trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pm-trust-item { justify-content: flex-start; padding: 18px 8px; }
    .pm-trust-item:nth-child(3)::before { display: none; }
    .pm-trust-item:nth-child(n+3) { border-top: 1px solid var(--pm-line); }
}
@media (max-width: 575.98px) { .pm-trust-item small { display: none; } .pm-trust-item .pm-ico { width: 22px; height: 22px; } .pm-trust-item b { font-size: .8rem; } }

/* 8.3 Shop by colour */
.pm-colours { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(16px, 3vw, 40px); margin: 0; padding: 0; list-style: none; }
.pm-colour { display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; color: var(--pm-text) !important; min-width: 72px; }
.pm-colour-sw { position: relative; width: clamp(64px, 8vw, 96px); aspect-ratio: 1; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06), inset 0 -10px 20px rgba(0, 0, 0, .06), inset 0 10px 18px rgba(255, 255, 255, .35); transition: transform var(--pm-slow) var(--pm-ease); }
.pm-colour-sw::after { content: ''; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid var(--pm-text); opacity: 0; transform: scale(.92); transition: opacity var(--pm-fast), transform var(--pm-slow) var(--pm-ease); }
.pm-colour:hover .pm-colour-sw, .pm-colour:focus-visible .pm-colour-sw { transform: translateY(-3px); }
.pm-colour:hover .pm-colour-sw::after, .pm-colour:focus-visible .pm-colour-sw::after { opacity: 1; transform: scale(1); }
.pm-colour-name { font-size: .84rem; font-weight: 500; }
.pm-colour-count { font-size: .7rem; color: var(--pm-muted); margin-top: -8px; }
@media (max-width: 575.98px) { .pm-colours { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 12px; margin: 0 calc(var(--pm-gutter) * -1); padding-left: var(--pm-gutter); scrollbar-width: none; } .pm-colours::-webkit-scrollbar { display: none; } .pm-colour { scroll-snap-align: start; } }

/* 8.4 The Stanley Edit — editorial grid */
.pm-edit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pm-edit-hero { grid-column: span 2; grid-row: span 2; position: relative; border-radius: var(--pm-r); overflow: hidden; min-height: 520px; display: flex; align-items: flex-end; color: #fff; text-decoration: none; background: var(--pm-img); isolation: isolate; }
.pm-edit-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--pm-ease); }
.pm-edit-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .55) 100%); }
.pm-edit-hero:hover img { transform: scale(1.04); }
.pm-edit-hero-copy { padding: clamp(24px, 3vw, 40px); }
.pm-edit-hero-copy .pm-eyebrow { color: rgba(255, 255, 255, .85); margin-bottom: 10px; }
.pm-edit-hero-copy h3 { margin: 0; font-family: var(--pm-display); font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.6rem); font-weight: 400; line-height: 1.08; letter-spacing: -.025em; color: #fff; }
.pm-edit-hero-copy h3 em { font-style: italic; font-weight: 300; }
.pm-edit-hero-copy p { margin: 10px 0 0; color: rgba(255, 255, 255, .85); max-width: 40ch; }
.pm-edit-hero-copy .pm-btn { margin-top: 22px; }
.pm-edit .tf-cell, .pm-edit > .pm-edit-cell { display: flex; min-width: 0; }
.pm-edit .product-card .title { font-size: 1rem; }
@media (max-width: 1199.98px) { .pm-edit { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pm-edit-hero { grid-column: span 3; grid-row: auto; min-height: 420px; } }
@media (max-width: 767.98px) { .pm-edit { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; } .pm-edit-hero { grid-column: span 2; min-height: 380px; } }

/* 8.5 Lifestyle split */
.pm-split-sec { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.pm-split-media { position: relative; border-radius: var(--pm-r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--pm-img); }
.pm-split-media img, .pm-split-media video { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.pm-split-badge { position: absolute; left: 20px; bottom: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--pm-pill); background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--pm-text); font-size: .8rem; font-weight: 500; }
.pm-split-badge .pm-ico { color: var(--pm-blue); }
.pm-benefits { list-style: none; margin: var(--pm-5) 0 var(--pm-5); padding: 0; display: grid; gap: 0; }
.pm-benefit { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid var(--pm-line); }
.pm-benefit:last-child { border-bottom: 1px solid var(--pm-line); }
.pm-benefit-ico { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 50%; background: var(--pm-tint); color: var(--pm-blue); display: inline-flex; align-items: center; justify-content: center; }
.pm-benefit-ico .pm-ico { width: 22px; height: 22px; }
.pm-benefit h3 { margin: 0 0 4px; font-family: var(--pm-display); font-size: 1.3rem; font-weight: 400; letter-spacing: -.01em; }
.pm-benefit p { margin: 0; color: var(--pm-muted); font-size: .94rem; line-height: 1.6; }
@media (max-width: 991.98px) { .pm-split-sec { grid-template-columns: 1fr; } .pm-split-media { aspect-ratio: 4 / 4.2; } }

/* 8.6 Category tiles */
.pm-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pm-cat { position: relative; display: block; border-radius: var(--pm-r); overflow: hidden; aspect-ratio: 3 / 4.1; background: var(--pm-img); color: #fff !important; text-decoration: none; isolation: isolate; }
.pm-cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--pm-ease); }
.pm-cat::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .52) 100%); transition: opacity var(--pm-slow); }
.pm-cat:hover img { transform: scale(1.06); }
.pm-cat-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.pm-cat-name { font-family: var(--pm-display); font-size: clamp(1.3rem, 1.1rem + .7vw, 1.75rem); font-weight: 400; line-height: 1.1; letter-spacing: -.02em; }
.pm-cat-count { display: block; margin-top: 4px; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; opacity: .85; font-family: var(--pm-sans); }
.pm-cat-arrow { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--pm-text); display: inline-flex; align-items: center; justify-content: center; transform: translateY(6px); opacity: 0; transition: transform var(--pm-slow) var(--pm-ease), opacity var(--pm-fast); }
.pm-cat:hover .pm-cat-arrow, .pm-cat:focus-visible .pm-cat-arrow { opacity: 1; transform: none; }
@media (hover: none) { .pm-cat-arrow { opacity: 1; transform: none; width: 38px; height: 38px; } }
@media (max-width: 991.98px) { .pm-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 575.98px) { .pm-cat-copy { padding: 14px; } .pm-cat-count { font-size: .64rem; } }

/* 8.7 Tabs with animated indicator */
.theme-premium .rf-tablist { position: relative; display: inline-flex; gap: 4px; padding: 5px; margin: 0 auto var(--pm-5); border-radius: var(--pm-pill); background: var(--pm-cream); border: 1px solid var(--pm-line); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.theme-premium .rf-tablist::-webkit-scrollbar { display: none; }
.pm-tabs-wrap { display: flex; justify-content: center; }
.theme-premium .rf-tab { position: relative; z-index: 1; min-height: 42px; padding: 0 1.2rem; border: 0; border-radius: var(--pm-pill); background: transparent !important; color: var(--pm-muted); font-size: .86rem; font-weight: 500; white-space: nowrap; transition: color var(--pm-fast); box-shadow: none !important; }
.theme-premium .rf-tab:hover { color: var(--pm-text); }
.theme-premium .rf-tab.is-active { color: #fff !important; }
.pm-tab-ind { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: var(--pm-pill); background: var(--pm-text); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .35); transition: transform .5s var(--pm-ease), width .5s var(--pm-ease); }
.rf-tablist:not(.pm-has-ind) .rf-tab.is-active { background: var(--pm-text) !important; }
.theme-premium .rf-tabpanel:not([hidden]) { animation: pmPanel .6s var(--pm-ease); }
@keyframes pmPanel { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.theme-premium .rf-center { display: flex; justify-content: center; margin-top: var(--pm-6); }

/* Mixed product grid: lifestyle tiles fill short rows */
.pm-fill { position: relative; display: block; border-radius: var(--pm-r); overflow: hidden; aspect-ratio: 1 / 1; background: var(--pm-img); color: #fff !important; text-decoration: none; isolation: isolate; width: 100%; }
.pm-fill img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--pm-ease); }
.pm-fill::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .5)); }
.pm-fill:hover img { transform: scale(1.05); }
.pm-fill span { position: absolute; left: 18px; right: 18px; bottom: 16px; font-family: var(--pm-display); font-size: 1.3rem; line-height: 1.15; }
.pm-fill span em { font-style: italic; font-weight: 300; }
.pm-fill small { display: block; font-family: var(--pm-sans); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; margin-top: 6px; opacity: .85; }

/* Horizontal product slider (rows with few products, Stanley edit on phones) */
.pm-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 24px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; cursor: grab; }
.pm-rail::-webkit-scrollbar { display: none; }
.pm-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.pm-rail.is-dragging a { pointer-events: none; }
.pm-rail > * { scroll-snap-align: start; min-width: 0; display: flex; }
@media (max-width: 1199.98px) { .pm-rail { grid-auto-columns: calc((100% - 2 * 20px) / 3); gap: 20px; } }
@media (max-width: 767.98px) { .pm-rail { grid-auto-columns: 46%; gap: 14px; } }
.pm-rail-nav { display: flex; gap: 8px; }
.pm-rail-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--pm-line-2); background: #fff; color: var(--pm-text); display: inline-flex; align-items: center; justify-content: center; transition: background var(--pm-fast), color var(--pm-fast), border-color var(--pm-fast), opacity var(--pm-fast); }
.pm-rail-nav button:hover:not(:disabled) { background: var(--pm-text); color: #fff; border-color: var(--pm-text); }
.pm-rail-nav button:disabled { opacity: .35; }

/* 8.8 Promo duo */
.pm-promos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pm-promo { position: relative; display: flex; align-items: flex-end; min-height: clamp(340px, 34vw, 480px); border-radius: var(--pm-r); overflow: hidden; color: #fff !important; text-decoration: none; isolation: isolate; background: var(--pm-img); }
.pm-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--pm-ease); }
.pm-promo::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(200deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .55) 100%); }
.pm-promo:hover img { transform: scale(1.05); }
.pm-promo-copy { padding: clamp(24px, 3vw, 44px); max-width: 440px; }
.pm-promo-copy .pm-eyebrow { color: rgba(255, 255, 255, .85); margin-bottom: 10px; }
.pm-promo-copy h3 { margin: 0; font-family: var(--pm-display); font-size: clamp(1.8rem, 1.3rem + 1.5vw, 2.6rem); font-weight: 400; line-height: 1.06; letter-spacing: -.025em; color: #fff; }
.pm-promo-copy h3 em { font-style: italic; font-weight: 300; }
.pm-promo-copy p { margin: 10px 0 18px; color: rgba(255, 255, 255, .88); }
.pm-promo-cta { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, .7); padding-bottom: 3px; }
.pm-promo:hover .pm-promo-cta svg { transform: translateX(4px); }
.pm-promo-cta svg { transition: transform var(--pm-fast) var(--pm-ease); }
@media (max-width: 767.98px) { .pm-promos { grid-template-columns: 1fr; gap: 14px; } .pm-promo { min-height: 300px; } }

/* 8.10 Lookbook */
.pm-look { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pm-look-item { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pm-look-item:nth-child(2n) { margin-top: 56px; }
.pm-look-media { position: relative; border-radius: var(--pm-r); overflow: hidden; aspect-ratio: 3 / 4; background: var(--pm-img); }
.pm-look-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--pm-ease); }
.pm-look-item:hover .pm-look-media img { transform: scale(1.04); }
.pm-look-pin { position: absolute; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .9); box-shadow: 0 0 0 6px rgba(255, 255, 255, .35); display: flex; align-items: center; justify-content: center; }
.pm-look-pin::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--pm-text); }
.pm-look-pin { animation: pmPulse 2.4s var(--pm-ease) infinite; }
@keyframes pmPulse { 0%, 100% { box-shadow: 0 0 0 6px rgba(255, 255, 255, .35); } 50% { box-shadow: 0 0 0 12px rgba(255, 255, 255, .12); } }
.pm-look-cap { font-family: var(--pm-display); font-style: italic; font-size: 1.05rem; color: var(--pm-muted); }
.pm-tag { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--pm-r-sm); border: 1px solid var(--pm-line); background: #fff; text-decoration: none; color: var(--pm-text) !important; transition: border-color var(--pm-fast), box-shadow var(--pm-fast), transform var(--pm-fast) var(--pm-ease); }
.pm-tag:hover { border-color: var(--pm-line-2); box-shadow: var(--pm-shadow-1); transform: translateY(-2px); }
.pm-tag img { width: 52px; height: 52px; border-radius: var(--pm-r-xs); object-fit: contain; background: var(--pm-img); mix-blend-mode: multiply; flex: 0 0 auto; }
.pm-tag span { min-width: 0; font-size: .84rem; line-height: 1.35; }
.pm-tag b { display: block; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-tag small { color: var(--pm-muted); font-size: .8rem; }
@media (max-width: 991.98px) { .pm-look { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; } .pm-look-item:nth-child(2n) { margin-top: 32px; } }

/* 8.11 Discover carousel on a light background (glazed.js [data-discover] keeps all behaviour) */
.theme-premium .tf-discover, .theme-premium .db-section { background: var(--pm-cream) !important; color: var(--pm-text); }
.theme-premium .db-section .db-title, .theme-premium .db-section h2 { color: var(--pm-text) !important; }
.theme-premium .db-card { border-radius: 20px !important; transition: transform .9s var(--pm-ease), opacity .9s var(--pm-ease), filter .9s var(--pm-ease) !important; }
.theme-premium .db-ui button, .theme-premium [data-db-prev], .theme-premium [data-db-next] { border-radius: 50% !important; }

/* 8.12 Reviews */
.theme-premium .tf-reviews .review-card, .theme-premium .rv-card, .theme-premium .tf-review { border: 1px solid var(--pm-line) !important; border-radius: var(--pm-r) !important; box-shadow: none !important; background: #fff !important; }

/* 8.13 Community card + photo strip */
.pm-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.pm-strip a { position: relative; display: block; aspect-ratio: 1; border-radius: var(--pm-r-sm); overflow: hidden; background: var(--pm-img); }
.pm-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--pm-ease), filter var(--pm-slow); }
.pm-strip a::after { content: ''; position: absolute; inset: 0; background: rgba(22, 22, 22, .0); transition: background var(--pm-fast); }
.pm-strip a:hover img { transform: scale(1.06); }
.pm-strip a:hover::after { background: rgba(22, 22, 22, .12); }
@media (max-width: 767.98px) { .pm-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } }
.pm-community { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; align-items: center; gap: var(--pm-5); margin-top: var(--pm-5); padding: clamp(28px, 4vw, 48px); border-radius: 20px; background: #fff; border: 1px solid var(--pm-line); box-shadow: var(--pm-shadow-1); }
.pm-community-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--pm-tint); color: var(--pm-blue); display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--pm-2); }
.pm-community h3 { margin: 0; font-family: var(--pm-display); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); font-weight: 400; letter-spacing: -.02em; line-height: 1.12; }
.pm-community h3 em { font-style: italic; font-weight: 300; }
.pm-community p { margin: 10px 0 0; color: var(--pm-muted); max-width: 54ch; }
.pm-community-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--pm-2); }
.pm-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--pm-pill); background: var(--pm-tint); color: var(--pm-blue-dk); font-size: .76rem; font-weight: 500; }
.pm-chip.is-rose { background: var(--pm-rose); color: var(--pm-rose-ink); }
@media (max-width: 767.98px) { .pm-community { grid-template-columns: 1fr; gap: var(--pm-3); } .pm-community .pm-btn { width: 100%; } }

/* ==========================================================================
   9. FOOTER (+ newsletter)
   ========================================================================== */
.pm-news { background: var(--pm-cream); border-top: 1px solid var(--pm-line); padding: clamp(56px, 7vw, 96px) 0; text-align: center; }
.pm-news .pm-title { margin-bottom: var(--pm-2); }
.pm-news p { margin: 0 auto; color: var(--pm-muted); max-width: 46ch; }
.pm-news-form { display: flex; gap: 8px; max-width: 480px; margin: var(--pm-4) auto 0; padding: 6px; border-radius: var(--pm-pill); background: #fff; border: 1px solid var(--pm-line); box-shadow: var(--pm-shadow-1); transition: box-shadow var(--pm-fast), border-color var(--pm-fast); }
.pm-news-form:focus-within { border-color: var(--pm-line-2); box-shadow: 0 0 0 4px rgba(30, 78, 140, .08), var(--pm-shadow-1); }
.pm-news-form input { flex: 1; min-width: 0; height: 48px; border: 0; background: transparent; padding: 0 18px; font-size: 16px; color: var(--pm-text); outline: none; }
.pm-news-form button { height: 48px; padding: 0 1.5rem; border: 0; border-radius: var(--pm-pill); background: var(--pm-text); color: #fff; font-weight: 500; font-size: .9rem; transition: background var(--pm-fast); }
.pm-news-form button:hover { background: var(--pm-blue); }
.pm-news small { display: block; margin-top: 14px; color: var(--pm-muted); font-size: .76rem; }

.theme-premium .tf-footer { background: var(--pm-charcoal) !important; color: rgba(255, 255, 255, .68); font-size: .9rem; padding-top: 0; }
.theme-premium .tf-footer .tf-footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px); padding: clamp(56px, 7vw, 88px) 0 48px; }
.theme-premium .tf-footer .footer-title { font-family: var(--pm-sans); font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin: 0 0 20px; }
.theme-premium .tf-footer .footer-links li { margin-bottom: 10px; }
.theme-premium .tf-footer a { color: rgba(255, 255, 255, .78) !important; text-decoration: none; transition: color var(--pm-fast); }
.theme-premium .tf-footer a:hover { color: #fff !important; }
.theme-premium .tf-footer-about { margin: 20px 0 0; max-width: 36ch; line-height: 1.7; color: rgba(255, 255, 255, .6); }
.theme-premium .tf-footer .tf-social { display: flex; gap: 8px; margin-top: 24px; }
.theme-premium .tf-footer .tf-social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); background: transparent; display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; transition: background var(--pm-fast), border-color var(--pm-fast); }
.theme-premium .tf-footer .tf-social a:hover { background: #fff; color: var(--pm-text) !important; border-color: #fff; }
.theme-premium .tf-footer .tf-contact-list li { display: flex; gap: 10px; margin-bottom: 12px; line-height: 1.5; }
.theme-premium .tf-footer .tf-contact-list i { color: rgba(255, 255, 255, .45); margin-top: 2px; }
.theme-premium .tf-footer .tf-footer-trust { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: flex-start; margin: 0; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .1); list-style: none; font-size: .82rem; color: rgba(255, 255, 255, .7); background: transparent; }
.theme-premium .tf-footer .tf-footer-trust li { display: inline-flex; align-items: center; gap: 8px; }
.theme-premium .tf-footer .tf-footer-trust i, .theme-premium .tf-footer .tf-footer-trust .pm-ico { color: rgba(255, 255, 255, .5); }
.theme-premium .tf-footer .tf-disclaimer { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; font-size: .78rem; color: rgba(255, 255, 255, .5); background: transparent; }
.theme-premium .tf-footer .tf-disclaimer p { margin-bottom: 6px; }
.theme-premium .tf-footer .tf-footer-bottom { background: transparent !important; border-top: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .5); font-size: .8rem; padding: 22px 0; }
.theme-premium .tf-footer .tf-footer-bottom-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.theme-premium .tf-footer .pay-logos img { height: 26px; width: auto; padding: 3px 6px; border-radius: 6px; background: #fff; }
.theme-premium .tf-footer .pay-chip { padding: 4px 10px; border-radius: 6px; background: rgba(255, 255, 255, .1); color: #fff; font-size: .74rem; }
.pm-pay { display: inline-flex; align-items: center; gap: 6px; }
.pm-pay-badge { height: 26px; min-width: 44px; padding: 0 8px; border-radius: 6px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .85); font-size: .66rem; font-weight: 600; letter-spacing: .04em; display: inline-flex; align-items: center; justify-content: center; }
.theme-premium .tf-footer .tf-news { display: none; }
@media (max-width: 991.98px) { .theme-premium .tf-footer .tf-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .theme-premium .tf-footer .tf-footer-brand { grid-column: 1 / -1; } }
@media (max-width: 575.98px) { .theme-premium .tf-footer .tf-footer-grid { gap: 32px 20px; } .theme-premium .tf-footer .tf-footer-col:last-child { grid-column: 1 / -1; } }

/* ==========================================================================
   10. PRODUCT PAGE
   ========================================================================== */
.theme-premium .pdp-gallery .gallery-main { border-radius: 20px; background: var(--pm-img); border: 0; overflow: hidden; }
.theme-premium .pdp-gallery .gallery-main img { mix-blend-mode: multiply; }
.theme-premium .gallery-thumbs { gap: 10px; }
.theme-premium .gallery-thumbs button { border-radius: var(--pm-r-sm); background: var(--pm-img); border: 1px solid transparent; overflow: hidden; transition: border-color var(--pm-fast), opacity var(--pm-fast); opacity: .7; }
.theme-premium .gallery-thumbs button img { mix-blend-mode: multiply; }
.theme-premium .gallery-thumbs button:hover { opacity: 1; }
.theme-premium .gallery-thumbs button.active { border-color: var(--pm-text); opacity: 1; }
.theme-premium .g-btn { border-radius: 50%; background: rgba(255, 255, 255, .92); border: 0; box-shadow: var(--pm-shadow-1); color: var(--pm-text); }
.theme-premium .g-count { border-radius: var(--pm-pill); background: rgba(255, 255, 255, .92); color: var(--pm-text); font-size: .76rem; }
@media (min-width: 992px) { .theme-premium .pdp-info { position: sticky; top: calc(var(--tf-hdr-total, 120px) + 24px); } }
.theme-premium .pdp-title, .theme-premium .product-title, .theme-premium .pdp-info h1 { font-family: var(--pm-display); font-weight: 400; font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.75rem); line-height: 1.1; letter-spacing: -.025em; color: var(--pm-text); }
.theme-premium .product-price { display: flex; align-items: baseline; gap: .75rem; }
.theme-premium .product-price [data-price] { font-family: var(--pm-sans); font-size: 1.75rem; font-weight: 600; color: var(--pm-text); letter-spacing: -.02em; }
.theme-premium .product-price .price-old { font-size: 1.05rem; color: var(--pm-muted); text-decoration: line-through; }
.theme-premium .save-badge { background: var(--pm-rose); color: var(--pm-rose-ink); border-radius: var(--pm-pill); padding: .3rem .7rem; font-weight: 600; font-size: .78rem; }
.theme-premium .save-amount { color: var(--pm-rose-ink); font-size: .84rem; }
.theme-premium .stock-pill { border-radius: var(--pm-pill); padding: .35rem .8rem; font-size: .78rem; font-weight: 500; }
.theme-premium .stock-pill.in { background: #EEF6F1; color: #2F7A4D; }
.theme-premium .stock-pill.low { background: #FBF3E6; color: #8A5A12; }
.theme-premium .stock-pill.out { background: #FBF0F1; color: var(--pm-danger); }
/* Variants as swatches (same radio inputs underneath) */
.theme-premium .variant-group .small.fw-600 { font-size: .78rem !important; letter-spacing: .1em; text-transform: uppercase; font-weight: 600 !important; color: var(--pm-text); }
.theme-premium .variant-group [data-selected-label] { text-transform: none; letter-spacing: 0; font-weight: 400; }
.theme-premium .swatch-option { margin: 0 8px 8px 0; }
.theme-premium .swatch-option > span:not(.color):not(.shade-img) { min-height: 44px; min-width: 56px; padding: 0 1.1rem; border-radius: var(--pm-pill); border: 1px solid var(--pm-line-2); background: #fff; color: var(--pm-text); font-size: .86rem; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; transition: border-color var(--pm-fast), background var(--pm-fast), color var(--pm-fast); }
.theme-premium .swatch-option input:checked + span:not(.color):not(.shade-img) { border-color: var(--pm-text); background: var(--pm-text); color: #fff; }
.theme-premium .swatch-option .color { width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); outline: 1px solid transparent; outline-offset: 4px; transition: outline-color var(--pm-fast), transform var(--pm-fast) var(--pm-ease); }
.theme-premium .swatch-option:hover .color { transform: scale(1.06); }
.theme-premium .swatch-option input:checked + .color { outline-color: var(--pm-text); }
.theme-premium .swatch-option .shade-img { border-radius: var(--pm-r-sm); border: 1px solid var(--pm-line); background: var(--pm-img); }
.theme-premium .swatch-option input:checked + .shade-img { border-color: var(--pm-text); box-shadow: 0 0 0 1px var(--pm-text); }
.theme-premium .swatch-option input:focus-visible + span { box-shadow: var(--pm-ring); }
.theme-premium .qty-stepper { border-radius: var(--pm-pill); border: 1px solid var(--pm-line-2); background: #fff; height: 48px; overflow: hidden; }
.theme-premium .qty-stepper button { width: 44px; border: 0; background: transparent; color: var(--pm-text); }
.theme-premium .qty-stepper input { border: 0; text-align: center; font-weight: 500; }
.theme-premium .pdp-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.theme-premium .pdp-actions .btn { width: 100%; min-height: 54px; font-size: .95rem; }
.theme-premium .pdp-buy { gap: 14px; }
.pm-pdp-trust { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--pm-line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.pm-pdp-trust li { display: flex; align-items: center; gap: 10px; font-size: .84rem; color: var(--pm-text-2); }
.pm-pdp-trust .pm-ico { color: var(--pm-blue); width: 20px; height: 20px; }
.theme-premium .product-tabs-wrap { margin-top: var(--pm-10) !important; }
.theme-premium .sticky-buy { background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--pm-line); box-shadow: 0 -10px 30px rgba(0, 0, 0, .06); }
.theme-premium .sticky-buy .btn { min-height: 46px; }

/* ==========================================================================
   11. LISTING (shop / category / search)
   ========================================================================== */
.theme-premium .shop-hero, .theme-premium .page-hero, .theme-premium .listing-head, .theme-premium .rf-page-head { background: var(--pm-cream) !important; border-bottom: 1px solid var(--pm-line); }
.theme-premium .shop-hero h1, .theme-premium .page-hero h1, .theme-premium .listing-head h1, .theme-premium .rf-page-head h1 { font-family: var(--pm-display); font-weight: 400; letter-spacing: -.025em; font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem); color: var(--pm-text); }
.theme-premium .filter-card, .theme-premium .filters, .theme-premium #filterForm .card { border: 0; background: transparent; }
.theme-premium #filterForm .filter-title, .theme-premium #filterForm h3, .theme-premium #filterForm .accordion-button { font-family: var(--pm-sans); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pm-text); background: transparent; box-shadow: none; }
.theme-premium .shop-toolbar, .theme-premium .listing-toolbar { border-bottom: 1px solid var(--pm-line); padding-bottom: 14px; }
.theme-premium #sortSelect { border-radius: var(--pm-pill); min-height: 44px; }
.theme-premium .results-loading { opacity: .5; transition: opacity var(--pm-fast); }
.theme-premium .empty-state .icon { background: var(--pm-cream) !important; color: var(--pm-text) !important; }

/* ==========================================================================
   12. CART · CHECKOUT · ACCOUNT · AUTH · TRACK ORDER (restyle only)
   ========================================================================== */
.theme-premium .cart-line { border-color: var(--pm-line) !important; }
.theme-premium .cart-line img { border-radius: var(--pm-r-sm); background: var(--pm-img); }
.theme-premium .cart-line.is-updating { opacity: .55; }
.theme-premium .order-summary, .theme-premium .summary-card, .theme-premium .checkout-card, .theme-premium .cart-summary, .theme-premium #checkoutSummary, .theme-premium .account-card, .theme-premium .auth-card { border: 1px solid var(--pm-line) !important; border-radius: 20px !important; background: #fff; box-shadow: var(--pm-shadow-1) !important; }
.theme-premium .checkout-step, .theme-premium .checkout-section h2, .theme-premium .checkout-section .h5 { font-family: var(--pm-display); font-weight: 400; }
.theme-premium [data-zone] + label, .theme-premium [data-payment] + label, .theme-premium .zone-option, .theme-premium .payment-option { border-radius: var(--pm-r-sm) !important; border-color: var(--pm-line-2) !important; }
.theme-premium [data-zone]:checked + label, .theme-premium [data-payment]:checked + label { border-color: var(--pm-text) !important; background: var(--pm-cream) !important; box-shadow: none; }
.theme-premium #placeOrderBtn { min-height: 56px; width: 100%; font-size: 1rem; }
.theme-premium .account-nav a, .theme-premium .account-menu a { border-radius: var(--pm-r-sm); }
.theme-premium .account-nav a.active, .theme-premium .account-menu a.active { background: var(--pm-cream) !important; color: var(--pm-text) !important; }
.theme-premium .auth-wrap, .theme-premium .auth-page { background: var(--pm-cream); }
.theme-premium .table { --bs-table-border-color: var(--pm-line); }
.theme-premium .table > thead th { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--pm-muted); font-weight: 600; }

/* ==========================================================================
   13. MOTION
   ========================================================================== */
/* Scroll reveal (premium.js adds .pm-r to below-the-fold blocks, .is-in when they enter). */
.pm-js .pm-r { opacity: 0; transform: translateY(20px); transition: opacity var(--pm-slow) var(--pm-ease), transform var(--pm-slow) var(--pm-ease); transition-delay: calc(var(--pm-i, 0) * 70ms); }
.pm-js .pm-r.is-in { opacity: 1; transform: none; }
/* Image mask reveal for large editorial images */
.pm-js .pm-mask { clip-path: inset(8% 8% 8% 8% round 16px); transition: clip-path 1.2s var(--pm-ease); }
.pm-js .pm-mask.is-in { clip-path: inset(0 0 0 0 round 16px); }
/* The older section entrance from store.js would double-animate: neutralise it on premium sections. */
.theme-premium main .pm-section.reveal, .theme-premium main .section.reveal { opacity: 1 !important; transform: none !important; }
/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
    .pm-js .pm-r, .pm-js .pm-mask, .pm-split .pm-w > span, .pm-fade-up { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
    .pm-look-pin, .pm-h2-float, .pm-h2-chip, .pm-h2-price, .pm-h2-blob, .pm-float { animation: none !important; }
    .pm-hero2, .pm-h2-slide, .pm-h2-img, .pm-h2-blob { transition: none !important; }
    .pm-h2-img { transform: rotate(var(--rot, 0deg)) !important; }
    .pm-split-media img, .pm-split-media video { transform: none !important; }
    .theme-premium .product-card, .theme-premium .product-card .media img { transition: none; }
}

/* List view (shop grid/list toggle): buttons sit under the text, never over the image. */
.theme-premium .products-list .product-card { flex-direction: row; gap: 20px; }
.theme-premium .products-list .product-card .bs-card-btns { position: static !important; margin: 12px 0 0 !important; opacity: 1 !important; transform: none !important; pointer-events: auto !important; max-width: 360px; }
.theme-premium .products-list .product-card .bs-card-btn.is-disabled { display: inline-flex; }

/* Legacy section-head decorations (store.css accent bar, pill "view all"). */
.theme-premium .section-head h2::before { display: none !important; }
.theme-premium .section-head h2 { padding-left: 0 !important; position: relative; }
.theme-premium .section-head .view-all { border: 0 !important; background: transparent !important; padding: 0 !important; border-radius: 0 !important; letter-spacing: .01em !important; text-transform: none !important; font-size: .9rem !important; }
.theme-premium .site-footer::before { display: none !important; }
.theme-premium .product-card .media, .theme-premium .product-card .media-link { border: 0 !important; }
.theme-premium .product-card .body { border-top: 0 !important; }
/* Newsletter pill: neutralise the older .rf-news-form input/button styling */
.theme-premium .pm-news .pm-news-form input { border: 0 !important; background: transparent !important; box-shadow: none !important; border-radius: var(--pm-pill) !important; height: 48px; }
.theme-premium .pm-news .pm-news-form button { border-radius: var(--pm-pill) !important; background: var(--pm-text) !important; color: #fff !important; box-shadow: none !important; }
.theme-premium .pm-news .pm-news-form button:hover { background: var(--pm-blue) !important; }
/* Discover heading/eyebrow in the editorial type */
.theme-premium .db-section .db-heading { font-family: var(--pm-display) !important; font-weight: 400 !important; letter-spacing: -.025em !important; font-size: var(--pm-fs-h2) !important; color: var(--pm-text) !important; }
.theme-premium .db-section .db-eyebrow { color: var(--pm-muted) !important; font-size: .72rem !important; letter-spacing: .14em !important; }
/* Mobile card buttons: "Add to Cart" becomes a 44px icon button (aria-label keeps the full name), Order Now fills the row. */
@media (max-width: 575.98px) {
    .theme-premium .bs-card-btn { height: 44px !important; min-height: 44px !important; font-size: .74rem !important; }
    .theme-premium .bs-card-btn.bs-add-btn { flex: 0 0 44px; width: 44px; padding: 0; }
    .theme-premium .bs-card-btn.bs-add-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .theme-premium .bs-card-btn.bs-add-btn i { display: inline-block !important; font-size: 1.05rem; }
    .theme-premium .bs-card-btn.bs-buy-btn { flex: 1 1 auto; }
}
.theme-premium .section-head p { padding-left: 0 !important; }
@media (max-width: 575.98px) { .pm-cat-name { font-size: 1.15rem; } }
.pm-h2-title.pm-split .pm-w > span { transition-duration: .8s; transition-delay: calc(var(--i, 0) * 70ms + 40ms); }

/* 8.5b "Why everyone loves Stanley" photo composition */
.pm-love-art { position: relative; width: 100%; max-width: 600px; aspect-ratio: 1 / 1.02; margin: 0 auto; }
.pm-love-blob { position: absolute; left: 6%; top: 8%; width: 80%; aspect-ratio: 1; border-radius: 46% 54% 58% 42% / 44% 46% 54% 56%; background: var(--pm-rose); opacity: .85; animation: pmBlobMorph 14s ease-in-out infinite alternate; }
@keyframes pmBlobMorph { to { border-radius: 56% 44% 42% 58% / 52% 58% 42% 48%; transform: rotate(10deg) scale(1.03); } }
.pm-love-par { position: absolute; right: 0; top: 0; width: 46%; z-index: 1; will-change: transform; }
.pm-love-img { margin: 0; border-radius: 24px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 28px 56px -18px rgba(40, 25, 15, .26); }
.pm-love-img.is-back { width: 100%; aspect-ratio: 1; transform: rotate(6deg); }
.pm-love-img.is-front { position: absolute; left: 2%; bottom: 0; width: 62%; aspect-ratio: 4 / 5; z-index: 2; transform: rotate(-2.5deg); }
.pm-float { display: block; width: 100%; height: 100%; border-radius: inherit; overflow: hidden; animation: pmFloat 6s ease-in-out infinite; }
.pm-float img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm-love-img.is-back .pm-float { animation-delay: -3s; }
.pm-love-chip { position: absolute; z-index: 3; right: 4%; bottom: 16%; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: var(--pm-pill); background: #fff; color: var(--pm-text); font-size: .85rem; font-weight: 500; box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 14px 30px -10px rgba(40, 25, 15, .25); animation: pmFloat 7s ease-in-out infinite -2s; }
.pm-love-chip .pm-ico { color: var(--pm-blue); }
@media (max-width: 991.98px) { .pm-love-art { max-width: 460px; } }
@media (prefers-reduced-motion: reduce) { .pm-love-blob, .pm-love-chip { animation: none !important; } .pm-love-par { transform: none !important; } }

/* 8.8b Promo banners: copy left, rotated photo card (or cut-out) right over a colour blob */
.pm-promo2 { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); align-items: center; min-height: clamp(360px, 31vw, 460px); border-radius: 24px; overflow: hidden; isolation: isolate; text-decoration: none; color: var(--pm-text) !important; background: #EAF1F8; transition: transform .6s var(--pm-ease), box-shadow .6s var(--pm-ease); }
.pm-promo2.is-cozy { background: #F8E8EA; }
.pm-promo2:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 24px 48px -20px rgba(40, 25, 15, .22); }
.pm-promo2-copy { position: relative; z-index: 2; padding: clamp(28px, 3.2vw, 48px); }
.pm-promo2-copy .pm-eyebrow { margin-bottom: 10px; }
.pm-promo2-copy h3 { margin: 0; font-family: var(--pm-display); font-size: clamp(1.8rem, 1.25rem + 1.5vw, 2.6rem); font-weight: 400; line-height: 1.06; letter-spacing: -.025em; color: var(--pm-text); }
.pm-promo2-copy h3 em { font-style: italic; font-weight: 300; }
.pm-promo2-copy p { margin: 10px 0 20px; color: #5A5652; max-width: 30ch; }
.pm-promo2 .pm-promo-cta { border-bottom-color: currentColor; }
.pm-promo2:hover .pm-promo-cta svg { transform: translateX(4px); }
.pm-promo2-art { position: relative; height: 100%; min-height: inherit; }
.pm-promo2-blob { position: absolute; left: 50%; top: 52%; width: 82%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 46% 54% 58% 42% / 44% 46% 54% 56%; background: #CFE0F0; animation: pmBlob 16s ease-in-out infinite alternate; }
.pm-promo2.is-cozy .pm-promo2-blob { background: #F0C9D0; }
.pm-promo2-img { position: absolute; left: 50%; top: 50%; z-index: 1; height: 68%; aspect-ratio: 4 / 5; transform: translate(-50%, -50%) rotate(4deg); border-radius: 24px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 26px 50px -16px rgba(40, 25, 15, .3); transition: transform .8s var(--pm-ease); }
.pm-promo2.is-cozy .pm-promo2-img { transform: translate(-50%, -50%) rotate(-4deg); }
.pm-promo2:hover .pm-promo2-img { transform: translate(-50%, -52%) rotate(2deg) scale(1.03); }
.pm-promo2.is-cozy:hover .pm-promo2-img { transform: translate(-50%, -52%) rotate(-2deg) scale(1.03); }
.pm-promo2-img.is-cutout { height: 78%; background: none; box-shadow: none; filter: drop-shadow(0 24px 30px rgba(40, 25, 15, .22)); }
.pm-promo2-img.is-cutout .pm-float { overflow: visible; }
.pm-promo2-img.is-cutout img { object-fit: contain; }
.pm-promo2-chip { position: absolute; z-index: 3; left: 4%; bottom: 14%; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--pm-pill); background: #fff; font-size: .8rem; font-weight: 500; white-space: nowrap; box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 12px 28px -10px rgba(40, 25, 15, .25); animation: pmFloat 7s ease-in-out infinite -2s; }
.pm-promo2-chip .pm-ico { color: var(--pm-blue); }
/* Ice / condensation accents */
.pm-promo2-ice { position: absolute; inset: 8% 6%; z-index: 2; pointer-events: none; background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, .95) 0 3px, transparent 4px),
    radial-gradient(circle at 82% 16%, rgba(255, 255, 255, .9) 0 5px, transparent 6px),
    radial-gradient(circle at 88% 64%, rgba(255, 255, 255, .85) 0 3px, transparent 4px),
    radial-gradient(circle at 12% 70%, rgba(255, 255, 255, .8) 0 6px, transparent 7px),
    radial-gradient(circle at 70% 88%, rgba(255, 255, 255, .9) 0 2px, transparent 3px); animation: pmFloat 9s ease-in-out infinite; }
@media (max-width: 1199.98px) { .pm-promo2 { grid-template-columns: 1fr; min-height: 0; } .pm-promo2-art { min-height: 300px; } .pm-promo2-copy { padding-bottom: 0; } }
@media (max-width: 767.98px) { .pm-promo2-art { min-height: 280px; } }
@media (prefers-reduced-motion: reduce) { .pm-promo2-blob, .pm-promo2-chip, .pm-promo2-ice { animation: none !important; } .pm-promo2, .pm-promo2-img { transition: none !important; } }

/* 8.10b Lookbook bento: one large tall tile + five smaller ones; phones: swipe slider */
.pm-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 19vw, 270px); gap: 18px; }
.pm-bento.is-six .pm-bento-tile:nth-child(1) { grid-column: 1 / span 2; grid-row: 1 / span 3; }
.pm-bento.is-six .pm-bento-tile:nth-child(2) { grid-column: 3 / span 2; }
.pm-bento.is-simple { grid-auto-rows: auto; }
.pm-bento.is-simple .pm-bento-tile { aspect-ratio: 3 / 4; }
.pm-bento-tile { position: relative; display: block; border-radius: 20px; overflow: hidden; isolation: isolate; background: var(--pm-img); color: #fff !important; text-decoration: none; }
.pm-bento-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--pm-ease); }
.pm-bento-tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 16, 14, 0) 45%, rgba(20, 16, 14, .5) 100%); }
.pm-bento-tile:hover img { transform: scale(1.05); }
.pm-bento-cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: clamp(16px, 1.6vw, 24px); }
.pm-bento-title { font-family: var(--pm-display); font-size: clamp(1.2rem, 1rem + .6vw, 1.6rem); font-weight: 400; letter-spacing: -.02em; line-height: 1.1; }
.pm-bento-tile:nth-child(1) .pm-bento-title { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); }
.pm-bento-title em { font-style: italic; font-weight: 300; }
.pm-bento-cta { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; font-size: .82rem; font-weight: 500; padding-bottom: 2px; border-bottom: 1px solid rgba(255, 255, 255, .7); }
.pm-bento-cta svg { transition: transform var(--pm-fast) var(--pm-ease); }
.pm-bento-tile:hover .pm-bento-cta svg { transform: translateX(4px); }
@media (max-width: 991.98px) {
    .pm-bento, .pm-bento.is-six, .pm-bento.is-simple { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%; grid-auto-rows: auto; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--pm-gutter) * -1); padding: 0 var(--pm-gutter) 4px; scroll-padding: 0 var(--pm-gutter); }
    .pm-bento::-webkit-scrollbar { display: none; }
    .pm-bento.is-six .pm-bento-tile:nth-child(n) { grid-column: auto; grid-row: auto; }
    .pm-bento-tile { aspect-ratio: 4 / 5; scroll-snap-align: start; }
    .pm-bento-cap { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (min-width: 576px) and (max-width: 991.98px) { .pm-bento, .pm-bento.is-six, .pm-bento.is-simple { grid-auto-columns: 42%; } }
.pm-promo2 { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
.pm-promo2-copy h3 { font-size: clamp(1.7rem, 1.1rem + 1.25vw, 2.3rem); }
@media (max-width: 1199.98px) { .pm-promo2 { grid-template-columns: 1fr; } }

/* Page header band (shop, category, cart, checkout, track order, account): calm off-white, editorial title */
.theme-premium .page-header { background: var(--pm-cream) !important; border-bottom: 1px solid var(--pm-line); padding: clamp(28px, 4vw, 48px) 0 clamp(24px, 3vw, 36px) !important; }
.theme-premium .page-header::before, .theme-premium .page-header::after { display: none !important; }
.theme-premium .page-header h1 { font-family: var(--pm-display) !important; font-weight: 400 !important; letter-spacing: -.03em !important; font-size: clamp(2rem, 1.4rem + 2vw, 3rem) !important; color: var(--pm-text) !important; }
/* Auth pages */
.theme-premium .auth-wrap { background: var(--pm-cream); }
.theme-premium .auth-card { border: 1px solid var(--pm-line) !important; border-radius: 24px !important; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .06) !important; }
.theme-premium .auth-card h1, .theme-premium .auth-card h2 { font-family: var(--pm-display) !important; font-weight: 400 !important; letter-spacing: -.03em !important; font-size: clamp(1.8rem, 1.5rem + 1vw, 2.3rem) !important; }
/* Hero crossfade: the outgoing copy leaves quickly so two headlines never overlap */
.pm-h2-slide:not(.is-active) .pm-h2-copy { opacity: 0; transition: opacity .2s ease; }
.pm-h2-slide.is-active .pm-h2-copy { opacity: 1; transition: opacity .3s ease .15s; }
.theme-premium .pdp-related, .theme-premium .pm-recent { padding-top: clamp(48px, 6vw, 80px) !important; }
.theme-premium .pm-recent .section-head h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }

/* =====================================================================================================================
   The Stanley Edit (home "featured" section) + cut-out product imagery
   ===================================================================================================================== */
/* Cut-out photos (public/media/cutouts): already centred at 78% height with a contact shadow, so no blend and no crop. */
.theme-premium .product-card.has-cutout .media img { mix-blend-mode: normal; object-fit: contain; }
.theme-premium .product-card.has-cutout .media, .theme-premium .product-card.has-cutout .media.is-loaded { background: var(--pm-img); }
.theme-premium .product-card .pm-dots { position: relative; z-index: 3; width: max-content; }
.pm-dot[data-pm-swap] { cursor: pointer; transition: transform var(--pm-fast) var(--pm-ease), box-shadow var(--pm-fast); }
.pm-dot[data-pm-swap]:hover, .pm-dot.is-active { transform: scale(1.25); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1), 0 0 0 2px #fff, 0 0 0 3px var(--pm-line-2); }
.theme-premium .product-card.is-swapped .media .img-hover { opacity: 0 !important; }
.theme-premium .product-card.is-swapped .media .img-main { opacity: 1 !important; }
.pm-sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; position: relative; z-index: 3; }
.pm-size { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--pm-pill); border: 1px solid var(--pm-line-2); background: #fff; font-size: .7rem; font-weight: 600; letter-spacing: .02em; color: var(--pm-text-2); }

.pm-stanley .pm-st-tabs { position: relative; display: inline-flex; gap: 2px; padding: 5px; margin: 0 0 var(--pm-4); border-radius: var(--pm-pill); background: #fff; border: 1px solid var(--pm-line); max-width: 100%; overflow-x: auto; scrollbar-width: none; isolation: isolate; }
.pm-stanley .pm-st-tabs::-webkit-scrollbar { display: none; }
.pm-st-tab { position: relative; z-index: 1; flex: 0 0 auto; height: 40px; padding: 0 18px; border: 0; border-radius: var(--pm-pill); background: transparent; color: var(--pm-text-2); font-size: .86rem; font-weight: 500; white-space: nowrap; transition: color .3s var(--pm-ease); }
.pm-st-tab:hover { color: var(--pm-text); }
.pm-st-tab.is-active { color: #fff; }
.pm-st-tab:focus-visible { outline: none; box-shadow: var(--pm-ring); }
.pm-st-ink { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: var(--pm-pill); background: var(--pm-text); transition: transform .45s var(--pm-ease), width .45s var(--pm-ease); pointer-events: none; }
.pm-st-tabs:not(.has-ink) .pm-st-tab.is-active { background: var(--pm-text); }

.pm-stanley [hidden] { display: none !important; }

/* Carousel (Swiper). Slides per view / gap live here (premium.js reads them): 1.2 on phones (the next card peeks),
   2.5 on tablets, 4 from 1280px. Before Swiper starts, the same widths are laid out with flex, so nothing shifts. */
.pm-st-swiper { --st-per: 1.2; --st-gap: 20px; }
@media (min-width: 768px) { .pm-st-swiper { --st-per: 2.5; } }
@media (min-width: 1280px) { .pm-st-swiper { --st-per: 4; --st-gap: 24px; } }
.pm-stanley .pm-st-swiper { overflow: hidden; overflow: clip; overflow-clip-margin: 20px; padding: 8px 0 28px; margin: -8px 0 -16px; transition: opacity .22s var(--pm-ease), transform .22s var(--pm-ease); }
.pm-stanley .pm-st-swiper.is-swapping { opacity: 0; transform: translateY(8px); }
.pm-stanley .pm-st-swiper .swiper-wrapper { align-items: stretch; }
.pm-stanley .pm-st-swiper .swiper-slide { height: auto; display: flex; min-width: 0; }
.pm-st-slide > .product-card, .pm-st-slide > .pm-st-more-tile { width: 100%; }
.pm-stanley .pm-st-swiper:not(.swiper-initialized) { overflow-x: auto; scrollbar-width: none; }
.pm-stanley .pm-st-swiper:not(.swiper-initialized)::-webkit-scrollbar { display: none; }
.pm-stanley .pm-st-swiper:not(.swiper-initialized) .swiper-wrapper { display: flex; gap: var(--st-gap); }
.pm-stanley .pm-st-swiper:not(.swiper-initialized) .swiper-slide { flex: 0 0 calc((100% - (var(--st-per) - 1) * var(--st-gap)) / var(--st-per)); width: auto; }

/* Arrows: next to "View all". */
.pm-stanley .section-head .pm-st-nav { display: flex; flex: 0 0 auto; gap: 10px; margin-left: auto; }
.pm-st-arrow { flex: 0 0 auto; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border-radius: 50%; border: 1px solid var(--pm-line); background: #fff; color: var(--pm-text); box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 6px 16px rgba(0, 0, 0, .07); transition: transform var(--pm-fast) var(--pm-ease), box-shadow var(--pm-fast), background var(--pm-fast), color var(--pm-fast); }
.pm-st-arrow:hover { background: var(--pm-text); border-color: var(--pm-text); color: #fff; transform: translateY(-1px); box-shadow: var(--pm-shadow-1); }
.pm-st-arrow:focus-visible { outline: none; box-shadow: var(--pm-ring); }
.pm-st-arrow.swiper-button-disabled { opacity: .4; pointer-events: none; }

/* Slim progress bar under the slides. */
.pm-st-progress { position: relative; height: 3px; max-width: 240px; margin: var(--pm-3) auto 0; border-radius: 3px; background: var(--pm-line); overflow: hidden; }
.pm-st-progress > span { position: absolute; inset: 0; border-radius: inherit; background: var(--pm-text); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--pm-ease); }

/* Card upgrades inside the edit: one badge, deeper hover shadow, gentle image zoom (the card lifts 4px site-wide). */
.pm-stanley .product-card .badges .p-badge ~ .p-badge { display: none; }
@media (hover: hover) { .pm-stanley .product-card:hover .media { box-shadow: var(--pm-shadow-3); } }
@media (hover: hover) and (min-width: 992px) { .theme-premium .pm-stanley .product-card:hover .media img.img-main { transform: scale(1.04); } }

/* "Find your colour" promo slide. */
.pm-st-more-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 100%; padding: 22px; border-radius: var(--pm-r); background: linear-gradient(160deg, #FBF3F4 0%, var(--pm-img) 60%, #EFEAE4 100%); color: var(--pm-text) !important; text-decoration: none; overflow: hidden; transition: transform var(--pm-slow) var(--pm-ease), box-shadow var(--pm-slow) var(--pm-ease); }
.pm-st-more-tile:hover { transform: translateY(-4px); box-shadow: var(--pm-shadow-2); }
.pm-st-stack { position: relative; display: flex; justify-content: center; align-items: flex-end; flex: 1 1 auto; min-height: 180px; margin-bottom: 8px; }
.pm-st-stack img { width: 46%; height: auto; margin: 0 -9%; transition: transform var(--pm-slow) var(--pm-ease); }
.pm-st-stack img:nth-child(2) { position: relative; z-index: 1; width: 54%; }
.pm-st-more-tile:hover .pm-st-stack img:first-child { transform: translateX(-6px) rotate(-4deg); }
.pm-st-more-tile:hover .pm-st-stack img:last-child { transform: translateX(6px) rotate(4deg); }
.pm-st-more-tile .pm-eyebrow { margin: 0; }
.pm-st-more-title { font-family: var(--pm-display); font-size: 1.45rem; line-height: 1.15; letter-spacing: -.015em; }
.pm-st-more-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: .86rem; font-weight: 600; color: var(--pm-blue); }

/* Reveal: heading first, then the slides 60ms apart. */
.pm-js .pm-stanley .pm-st-carousel.pm-r { opacity: 1; transform: none; }
.pm-js .pm-stanley .pm-st-carousel.pm-r .pm-st-slide { opacity: 0; transform: translateY(20px); transition: opacity var(--pm-slow) var(--pm-ease), transform var(--pm-slow) var(--pm-ease); transition-delay: calc(.15s + var(--pm-i, 0) * 60ms); }
.pm-js .pm-stanley .pm-st-carousel.pm-r.is-in .pm-st-slide { opacity: 1; transform: none; }

@media (max-width: 767.98px) {
    .pm-stanley .pm-st-tabs { margin-bottom: var(--pm-3); }
    /* Phones: swipe + the progress bar; the arrows would crowd the heading. */
    .pm-stanley .section-head .pm-st-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .pm-st-ink, .pm-stanley .pm-st-swiper, .pm-st-progress > span { transition: none !important; }
    .pm-js .pm-stanley .pm-st-carousel.pm-r .pm-st-slide { opacity: 1; transform: none; transition: none; }
}
