/* =========================================================================
   Whiteplate — storefront system
   Version: 0.33.9
   Brand Book palette (U0) · Header/footer (U1) · Elementor colors + mobile menu fix · IranSans FaNum content
   0.33.8 — mega vanish: relocate #wp-mega inside .whb-main-header sticky unit
   0.33.9 — sticky header offset includes mega bar (content clear)
   ========================================================================= */

/* Perf: keep 400/500/700/800 only (drop light 300 + black 900 — unused critical path). */
@font-face {
    font-family: "IRANYekan";
    src: url("../fonts/iranyekan/iranyekanwebregularfanum.woff") format("woff"),
         url("../fonts/iranyekan/iranyekanwebregularfanum.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IRANYekan";
    src: url("../fonts/iranyekan/iranyekanwebmediumfanum.woff") format("woff"),
         url("../fonts/iranyekan/iranyekanwebmediumfanum.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IRANYekan";
    src: url("../fonts/iranyekan/iranyekanwebboldfanum.woff") format("woff"),
         url("../fonts/iranyekan/iranyekanwebboldfanum.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IRANYekan";
    src: url("../fonts/iranyekan/iranyekanwebextraboldfanum.woff") format("woff"),
         url("../fonts/iranyekan/iranyekanwebextraboldfanum.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    /* U0 — Whiteplate Brand Book palette (not Digikala red / Janebi blue).
       Legacy var names kept so existing selectors recolor centrally:
         --wp-emerald* = brand GREEN; --wp-gold* = COLOR OF YEAR; --wp-sale* = ORANGE. */
    --wp-grey: #333333;
    --wp-white: #FFFFFF;
    --wp-soil: #A1927D;
    --wp-sand: #DFDBCF;
    --wp-green: #687049;
    --wp-green-2: #55603c;
    --wp-green-3: #445032;
    --wp-orange: #FF5F23;
    --wp-orange-2: #E04E1A;
    --wp-coy: #DF856D;           /* Color of Year */

    --wp-bg: #F7F5F0;            /* page base — light sand for long readability */
    --wp-ivory: #DFDBCF;         /* SAND — section / soft surface */
    --wp-ivory-2: #E8E4D8;       /* between sand and white */
    --wp-emerald: #687049;       /* PRIMARY — brand GREEN */
    --wp-emerald-2: #55603c;     /* primary hover */
    --wp-emerald-3: #445032;     /* darkest green */
    --wp-emerald-soft: #EEF0E6;  /* soft green tint */
    --wp-gold: #DF856D;          /* accent — Color of Year */
    --wp-gold-2: #C9735C;
    --wp-gold-soft: #F8E8E2;
    --wp-ink: #333333;           /* GREY — headings */
    --wp-body: #4A433A;          /* body text warm dark */
    --wp-muted: #A1927D;         /* SOIL — secondary */
    --wp-line: #E5E0D6;
    --wp-line-soft: #EEEBE4;
    --wp-greige: #687049;        /* brand green for eyebrows */
    --wp-sale: #FF5F23;          /* ORANGE — sale / CTA accent */
    --wp-sale-2: #E04E1A;
    --wp-sale-soft: #FFE8E0;
    --wp-radius: 22px;
    --wp-radius-sm: 16px;
    --wp-shadow: 0 20px 50px rgba(51, 51, 51, .1);
    --wp-shadow-sm: 0 10px 28px rgba(51, 51, 51, .06);
    --wp-font: "IranSans", "IRANSansWebFaNum", "IRANYekan", Tahoma, Arial, sans-serif;
    --wp-amber: #DF856D;
    --wp-amber-2: #C9735C;
    --wp-amber-soft: #F8E8E2;
    --wp-teal: #687049;
    --wp-teal-2: #55603c;
    --wp-teal-soft: #EEF0E6;
    --wp-glow: 0 18px 36px rgba(104, 112, 73, .14);
    --wp-lift-shadow: 0 14px 32px rgba(51, 51, 51, .12);
    --wp-surface: #FFFFFF;
}

body.whiteplate-front {
    background: var(--wp-bg);
    color: var(--wp-body);
    font-family: var(--wp-font);
}

/* ---- Global storefront typography (IRANYekan) ------------------------ */
body,
button,
input,
select,
textarea,
h1, h2, h3, h4, h5, h6,
p, a, li, label, blockquote,
.title, .wd-nav a, .menu-item a,
.woocommerce, .woocommerce-page,
.product-title, .price, .widget,
.whb-general-header {
    font-family: var(--wp-font) !important;
}

/* ---- Front-page WoodMart chrome resets -------------------------------- */
.whiteplate-front .page-title,
.whiteplate-front .wd-prefooter,
.whiteplate-front .sidebar-container,
.whiteplate-front .wd-sidebar,
.whiteplate-front .entry-header,
.whiteplate-front .site-content > .container > .row > [class*="col-"] > .entry-header {
    display: none !important;
}

.whb-top-bar {
    display: none !important;
}

/* ---- Header logo: uploaded PNG (do not CSS-wordmark / hide the img) --- */
.wd-header-logo img,
.site-logo img,
.header-logo img,
.wd-logo img {
    display: block !important;
    height: auto;
    width: auto;
    object-fit: contain;
}

/* Kill leftover CSS wordmark + gold-dot from the old placeholder. */
.wd-header-logo a::after,
.site-logo a::after,
.header-logo a::after,
.wd-header-logo a::before,
.site-logo a::before,
.header-logo a::before {
    content: none !important;
    display: none !important;
}

/*
 * WoodMart renders main + sticky <a> inside .wd-switch-logo.
 * Never force both links to display:inline-flex or sticky also shows.
 */
.site-logo.wd-switch-logo > .wd-sticky-logo {
    display: none;
}
:is(.whb-sticked, .whb-clone) .site-logo.wd-switch-logo > .wd-main-logo {
    display: none;
}
:is(.whb-sticked, .whb-clone) .site-logo.wd-switch-logo > .wd-sticky-logo {
    display: block;
}

/* Charcoal mark (#595B5C) on transparent PNG is invisible on dark header. */
.whb-color-light .site-logo img,
.whb-color-light .wd-logo img {
    filter: brightness(0) invert(1);
}

.whiteplate-front .site-content,
.whiteplate-front .main-page-wrapper,
.whiteplate-front .content-layout-wrapper,
.whiteplate-front .wd-content-area,
.whiteplate-front .wd-content-layout,
.whiteplate-front .site-content > .container,
.whiteplate-front .site-content > .container > .row,
.whiteplate-front .site-content > .container > .row > [class*="col-"],
.whiteplate-front .entry-content,
.whiteplate-front article.page {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: none !important;
}

.whiteplate-front .main-page-wrapper,
.whiteplate-front .wd-page-content,
.whiteplate-front .site-content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.whiteplate-front .whb-sticky-header {
    position: sticky;
    top: 0;
}

.whiteplate-front .content-layout-wrapper,
.whiteplate-front .wd-content-layout {
    display: block !important;
    grid-template-columns: none !important;
}

/* ---- Home shell ------------------------------------------------------- */
.whiteplate-home,
.whiteplate-home * {
    box-sizing: border-box;
}

.whiteplate-home {
    direction: rtl;
    overflow: visible;
    background: var(--wp-bg);
    color: var(--wp-body);
    font-family: var(--wp-font);
}

.whiteplate-home main {
    display: block;
    padding-bottom: 40px;
}

.whiteplate-home a {
    color: inherit;
    text-decoration: none;
}

.wp-home-section,
.wp-trust-bar,
.wp-footer-grid,
.wp-footer-bottom {
    width: min(1320px, calc(100% - 48px));
    margin-inline: auto;
}

/* ---- Header mini-brand / search (kept for compatibility) ------------- */
.wp-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    width: max-content;
}

.wp-brand > span {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    border-radius: 50%;
    background: var(--wp-emerald);
    color: #fff;
    font: 800 22px/1 var(--wp-font);
}

.wp-brand strong {
    display: flex;
    flex-direction: column;
    font: 800 24px/1.05 var(--wp-font);
    letter-spacing: -.5px;
}

.wp-brand small {
    margin-top: 5px;
    color: var(--wp-muted);
    font: 500 10px/1 var(--wp-font);
    letter-spacing: 0;
}

/* Compact header search was replaced by #wp-search modal (see end of file). */
.wp-search-trigger {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    margin-inline: 4px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--wp-ink);
    cursor: pointer;
}
.wp-search-trigger:hover { color: var(--wp-emerald); }
.wp-search-results .wp-search-hit-main { display: flex; min-width: 0; flex: 1; align-items: center; gap: 8px; }
.wp-search-results strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.wp-search-results .wp-search-hit-price { color: var(--wp-muted); font-size: 11px; font-weight: 500; }
.wp-search-status { padding: 14px; color: var(--wp-muted); text-align: center; font-size: 13px; }

/* ---- Hero ------------------------------------------------------------- */
.wp-hero {
    position: relative;
    min-height: 520px;
    display: grid;
    grid-template-columns: minmax(360px, 560px) 1fr;
    align-items: center;
    gap: 35px;
    padding: 64px max(24px, calc((100vw - 1320px) / 2));
    overflow: hidden;
    color: var(--wp-ink);
    background:
        radial-gradient(120% 120% at 92% 6%, #EEF0E6 0%, transparent 48%),
        linear-gradient(165deg, #ffffff 0%, #ffffff 45%, #F7F5F0 100%);
    border-bottom: 1px solid var(--wp-line);
}

.wp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .45;
    background-image: radial-gradient(rgba(0, 0, 0, .045) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.wp-hero-copy { position: relative; z-index: 2; }
.wp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--wp-greige);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}
.wp-eyebrow::before {
    content: "";
    width: 24px;
    height: 1px;
    background: var(--wp-greige);
}
.wp-hero h1 {
    margin: 0 0 20px;
    color: var(--wp-ink);
    font: 700 clamp(32px, 4.2vw, 52px)/1.2 var(--wp-font);
    letter-spacing: -1px;
}
.wp-hero-copy > p {
    max-width: 520px;
    margin: 0 0 28px;
    color: var(--wp-muted);
    font-size: 15px;
    line-height: 2;
}
.wp-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    margin: 0 0 10px 10px;
    padding: 0 28px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.wp-button.primary {
    background: var(--wp-emerald);
    color: #fff;
    box-shadow: 0 12px 28px rgba(104, 112, 73, .28);
}
.wp-button.primary:hover { background: var(--wp-emerald-2); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(104, 112, 73, .34); }
.wp-button.secondary {
    border: 1px solid var(--wp-line);
    background: #fff;
    color: var(--wp-ink);
}
.wp-button.secondary:hover { background: var(--wp-ivory); border-color: var(--wp-muted); }
.wp-hero ul {
    display: flex;
    gap: 34px;
    margin: 30px 0 0;
    padding: 24px 0 0;
    border-top: 1px solid var(--wp-line);
    list-style: none;
}
.wp-hero li { color: var(--wp-muted); font-size: 12px; }
.wp-hero li strong { display: block; color: var(--wp-ink); font-size: 24px; font-weight: 800; }

.wp-hero-visual {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 430px;
    place-items: center;
}
.wp-hero-visual::before {
    content: "";
    position: absolute;
    width: min(36vw, 460px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 40%, #ffffff, #F7F5F0 72%);
    border: 1px solid var(--wp-line);
    box-shadow: var(--wp-shadow-sm);
}
.wp-hero-visual img {
    position: relative;
    z-index: 2;
    width: min(40vw, 540px);
    height: 430px;
    object-fit: contain;
    filter: drop-shadow(0 28px 34px rgba(0, 0, 0, .14));
}
.wp-hero-monogram {
    position: relative;
    z-index: 2;
    color: var(--wp-greige);
    font: 700 180px/1 Georgia, serif;
    opacity: .55;
}
.wp-hero-visual em {
    position: absolute;
    z-index: 3;
    bottom: 24px;
    left: 24px;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(6px);
    border: 1px solid var(--wp-line);
    color: var(--wp-ink);
    font-size: 12px;
    font-style: normal;
    line-height: 1.7;
    box-shadow: var(--wp-shadow-sm);
}
.wp-orbit { position: absolute; z-index: 0; border: 1px solid var(--wp-line); border-radius: 50%; }
.wp-orbit.one { width: 92%; aspect-ratio: 1; }
.wp-orbit.two { width: 70%; aspect-ratio: 1; }

/* ---- Section headings ------------------------------------------------- */
.wp-home-section {
    padding-block: 62px 16px;
}
.wp-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}
.wp-section-heading > div:not(.wp-rail-tools),
.wp-section-heading-copy {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}
.wp-section-heading .wp-eyebrow {
    display: block;
    width: 100%;
    margin: 0;
    line-height: 1.45;
    color: var(--wp-greige);
}
.wp-section-heading h2 {
    display: block;
    width: 100%;
    margin: 0;
    color: var(--wp-ink);
    font: 700 clamp(20px, 2.2vw, 28px)/1.25 var(--wp-font);
    letter-spacing: -.4px;
}
.wp-section-heading > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border: 1px solid var(--wp-line);
    border-radius: 999px;
    color: var(--wp-emerald);
    font-size: 12.5px;
    font-weight: 700;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.wp-section-heading > a:hover { background: var(--wp-emerald); border-color: var(--wp-emerald); color: #fff; }

/* ---- Category strip --------------------------------------------------- */
.wp-category-strip {
    display: grid;
    grid-template-columns: repeat(var(--wp-cat-cols, 10), minmax(100px, 1fr));
    gap: 18px;
    overflow-x: auto;
    padding: 5px 2px 16px;
    scrollbar-width: thin;
}
.wp-category-item { min-width: 106px; text-align: center; }
.wp-category-image {
    display: grid;
    width: 108px;
    height: 108px;
    margin: 0 auto 14px;
    overflow: hidden;
    place-items: center;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--wp-line);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.wp-category-item:hover .wp-category-image {
    transform: translateY(-6px);
    border-color: var(--wp-muted);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .1);
}
.wp-category-image img { width: 72%; height: 72%; object-fit: contain; background: transparent; }
.wp-category-image.is-fallback { background: var(--wp-ivory); color: var(--wp-ink); font: 700 36px var(--wp-font); }
.wp-category-item strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 700; }
.wp-category-item small { color: var(--wp-muted); font-size: 11px; }

/* ---- Category banners ------------------------------------------------- */
.wp-banner-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.wp-category-banner {
    position: relative;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 34px;
    overflow: hidden;
    border-radius: var(--wp-radius);
    color: var(--wp-ink) !important;
    background: #fff;
    border: 1px solid var(--wp-line);
    box-shadow: var(--wp-shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.wp-category-banner:hover { transform: translateY(-4px); border-color: var(--wp-muted); box-shadow: var(--wp-shadow); }
.wp-category-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 120% at 85% 10%, rgba(0, 0, 0, .02), transparent 45%);
    pointer-events: none;
}
.wp-category-banner span { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; }
.wp-category-banner small { color: var(--wp-greige); font-weight: 700; letter-spacing: .5px; }
.wp-category-banner strong { max-width: 300px; margin: 8px 0 22px; color: var(--wp-ink); font: 700 clamp(20px, 2.4vw, 30px)/1.25 var(--wp-font); letter-spacing: -.4px; }
.wp-category-banner em {
    padding: 8px 16px;
    border: 1px solid var(--wp-line);
    border-radius: 999px;
    color: var(--wp-ink);
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.wp-category-banner:hover em { background: var(--wp-emerald); border-color: var(--wp-emerald); color: #fff; }
.wp-category-banner img { position: absolute; left: 12px; bottom: -14px; width: 44%; height: 102%; object-fit: contain; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .12)); z-index: 1; }
.wp-category-banner > b { position: absolute; left: 32px; color: rgba(0, 0, 0, .04); font: 700 140px/1 Georgia, serif; }
.tone-olive { background: #F7F5F0; }
.tone-orange { background: #eef2f7; }
.tone-green { background: #EEF0E6; }
.tone-charcoal { background: #f1f5f9; }

/* ---- Products (horizontal scroll rail) -------------------------------- */
/* Compact, tidy spacing: less air around the section + between title & rail. */
.wp-products-section { padding-block: 30px 8px; }
.wp-products-section .wp-section-heading { margin-bottom: 16px; }

/* Toolbar sitting on the heading row: prev/next arrows + shop link.
   Must beat `.wp-section-heading > div { flex-direction: column }` which
   otherwise stacks the two circular buttons on top of each other. */
.wp-home-section .wp-section-heading .wp-rail-tools,
.whiteplate-home .wp-section-heading .wp-rail-tools,
.wp-rail-tools {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px;
    flex: 0 0 auto;
    position: relative;
}
.wp-home-section .wp-rail-tools .wp-cat-nav,
.wp-rail-tools .wp-cat-nav {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 6px;
}
/* Higher specificity + !important: WoodMart's default `button` / `button svg`
   skin (grey #F3F3F3 bg, border:0, svg width:0) otherwise overrides these. */
.wp-home-section .wp-rail-tools .wp-rail-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: static !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    float: none !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--wp-line) !important;
    border-radius: 50% !important;
    background: var(--wp-surface, #fff) !important;
    color: var(--wp-ink) !important;
    cursor: pointer;
    box-shadow: none !important;
    flex: 0 0 32px;
    transition: background .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
}
.wp-home-section .wp-rail-tools .wp-rail-btn::before,
.wp-home-section .wp-rail-tools .wp-rail-btn::after {
    content: none !important;
    display: none !important;
}
.wp-home-section .wp-rail-tools .wp-rail-btn:hover:not(:disabled) {
    background: var(--wp-emerald) !important;
    border-color: var(--wp-emerald) !important;
    color: #fff !important;
}
.wp-home-section .wp-rail-tools .wp-rail-btn:disabled { opacity: .35 !important; cursor: default; }
/* Force the chevron visible: WoodMart collapses `button svg` to width:0.
   The chevron is drawn with stroke (fill="none" stroke="currentColor"),
   so `color` must drive the stroke — do NOT fill it. */
.wp-home-section .wp-rail-tools .wp-rail-btn svg {
    display: block !important;
    width: 14px !important;
    height: 14px !important;
    color: inherit;
    fill: none;
    stroke: currentColor;
}
.wp-rail-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border: 1px solid var(--wp-line);
    border-radius: 999px;
    color: var(--wp-emerald);
    font-size: 12.5px;
    font-weight: 700;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.wp-rail-all:hover { background: var(--wp-emerald); border-color: var(--wp-emerald); color: #fff; }

/* The rail: single-row scroll-snap track with a peek of the next card. */
.wp-rail { position: relative; }
.wp-rail-track {
    --rail-gap: 20px;
    --rail-cols: 4;
    --rail-peek: 46px;
    display: flex;
    flex-wrap: nowrap;
    gap: var(--rail-gap);
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 2px 10px;
    scroll-snap-type: none;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    scrollbar-width: none;          /* Firefox: hide native scrollbar */
    -ms-overflow-style: none;       /* old Edge */
}
.wp-rail-track::-webkit-scrollbar { width: 0; height: 0; display: none; }
.wp-rail-track:focus-visible { outline: 2px solid var(--wp-emerald); outline-offset: 4px; border-radius: 12px; }
.wp-rail-track > .wp-product-card {
    flex: 0 0 calc((100% - (var(--rail-cols) - 1) * var(--rail-gap) - var(--rail-peek)) / var(--rail-cols));
    scroll-snap-align: start;
}

.wp-product-card {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--wp-line);
    border-radius: 16px;
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.wp-product-card:hover {
    transform: translateY(-5px);
    border-color: var(--wp-muted);
    box-shadow: var(--wp-shadow);
}
.wp-product-image {
    position: relative;
    display: grid;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    place-items: center;
    background: #ffffff;
    border-bottom: 1px solid var(--wp-line-soft);
}
.wp-product-image img { width: 84%; height: 84%; object-fit: contain; transition: transform .45s ease; }
.wp-product-card:hover .wp-product-image img { transform: scale(1.06); }
.wp-product-image.is-fallback { color: var(--wp-greige); font: 700 64px Georgia, serif; background: var(--wp-ivory); }
.wp-product-image.is-fallback small { position: absolute; bottom: 22px; color: var(--wp-muted); font: 500 10px var(--wp-font); }
.wp-product-content { display: flex; flex-direction: column; flex: 1; padding: 16px 16px 18px; }
.wp-product-cat {
    display: block;
    overflow: hidden;
    margin-bottom: 8px;
    color: var(--wp-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .3px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wp-product-content h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
    margin: 0 0 14px;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.65;
    color: var(--wp-ink);
}
.wp-product-content h3 a:hover { color: var(--wp-muted); }
.wp-product-bottom { display: flex; margin-top: auto; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--wp-line-soft); }
.wp-product-price { color: var(--wp-ink); font-size: 15px; font-weight: 800; }
.wp-product-price del { color: var(--wp-muted); font-size: 11px; font-weight: 500; }
.wp-product-price ins { text-decoration: none; color: var(--wp-sale); }
.wp-sale-badge {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    z-index: 2;
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--wp-sale);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .3px;
    box-shadow: 0 6px 14px rgba(225, 29, 72, .3);
}
.wp-card-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: 1px solid var(--wp-line);
    border-radius: 999px;
    background: #fff;
    color: var(--wp-ink) !important;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
/* Card hover must NOT solid-fill — wipe is via ::before (see below). */
.wp-product-card:hover .wp-card-action,
.wp-card-action:hover {
    background: transparent;
    border-color: var(--wp-emerald);
    color: #fff !important;
}

/* ---- Brands: seamless infinite marquee -------------------------------- */
.wp-brands { padding-block: 64px 40px; }
.wp-brand-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* LTR wrapper so the overflowing track is LEFT-anchored (left edge at the
       window left). With one copy wider than the window, translateX(-50% -> 0) LTR
       keeps BOTH edges covered every frame. Chips stay RTL for Persian names. */
    direction: ltr;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.wp-brand-track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    /* LTR track: leftover overflow sits to the RIGHT. Keyframes -50% -> 0
       slide the strip rightward, so chips travel LEFT TO RIGHT (چپ به راست).
       Two identical copies; 50% of track width == one copy => seamless loop. */
    direction: ltr;
    padding: 6px 0;
    animation-name: wp-brand-scroll;
    animation-duration: 45s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-play-state: running;
    will-change: transform;
}
.wp-brand-marquee:hover .wp-brand-track { animation-play-state: paused; }
@keyframes wp-brand-scroll {
    from { transform: translate3d(-50%, 0, 0); }
    to   { transform: translate3d(0, 0, 0); }
}
.wp-brand-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-right: 14px;
    padding: 14px 22px;
    border: 1px solid var(--wp-line);
    border-radius: 14px;
    background: #fff;
    color: var(--wp-ink);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    direction: rtl;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.wp-brand-chip:hover { border-color: var(--wp-muted); box-shadow: var(--wp-shadow-sm); }
.wp-brand-mark {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
}
.wp-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .72;
    transition: filter .25s ease, opacity .25s ease;
}
.wp-brand-chip:hover .wp-brand-mark img { filter: grayscale(0); opacity: 1; }
.wp-brand-mark.is-fallback {
    background: var(--wp-ivory);
    color: var(--wp-ink);
    font: 700 22px/1 var(--wp-font);
}

/* ---- Blog ------------------------------------------------------------- */
.wp-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.wp-blog-grid article { overflow: hidden; border-radius: 18px; background: var(--wp-ivory); border: 1px solid var(--wp-line-soft); transition: transform .2s ease, box-shadow .2s ease; }
.wp-blog-grid article:hover { transform: translateY(-4px); box-shadow: var(--wp-shadow-sm); }
.wp-blog-grid a { display: block; padding: 18px; }
.wp-blog-grid img { width: calc(100% + 36px); max-width: none; height: 220px; margin: -18px -18px 18px; object-fit: cover; }
.wp-blog-grid small { color: var(--wp-gold-2); font-weight: 700; }
.wp-blog-grid h3 { margin: 8px 0 18px; font-size: 19px; font-weight: 700; }
.wp-blog-grid span { color: var(--wp-emerald); font-size: 12px; font-weight: 800; }

/* ---- Trust bar -------------------------------------------------------- */
.wp-trust-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-block: 64px;
    padding: 26px 30px;
    border-radius: var(--wp-radius);
    background: #fff;
    border: 1px solid var(--wp-line);
    box-shadow: var(--wp-shadow-sm);
    color: var(--wp-ink);
}
.wp-trust-bar > div { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 10px 20px; border-left: 1px solid var(--wp-line); }
.wp-trust-bar > div:last-child { border-left: 0; }
.wp-trust-bar > div > span {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    border-radius: 50%;
    background: var(--wp-ivory);
    border: 1px solid var(--wp-line);
    color: var(--wp-ink);
    font-size: 20px;
}
.wp-trust-bar p { margin: 0; }
.wp-trust-bar strong, .wp-trust-bar small { display: block; }
.wp-trust-bar strong { font-size: 13px; font-weight: 700; }
.wp-trust-bar small { margin-top: 3px; color: var(--wp-muted); font-size: 10px; }

/* ---- Shop / cart / checkout surface ---------------------------------- */
.whiteplate-shop-surface .main-page-wrapper,
.whiteplate-shop-surface .wd-page-content {
    background: #fbfaf6;
}

.whiteplate-shop-surface .main-page-wrapper {
    padding-block: 30px 55px;
}

.whiteplate-shop-surface .wd-content-area,
.whiteplate-shop-surface .woocommerce-breadcrumb,
.whiteplate-shop-surface .page-title-default,
.whiteplate-shop-surface .cart-collaterals,
.whiteplate-shop-surface .wd-single-prod,
.whiteplate-shop-surface .shop-loop-head {
    border-radius: 24px;
}

.whiteplate-shop-surface .shop-loop-head,
.whiteplate-shop-surface .wd-single-prod,
.whiteplate-shop-surface .woocommerce-cart-form,
.whiteplate-shop-surface .cart-collaterals,
.whiteplate-shop-surface .woocommerce-checkout-review-order,
.whiteplate-shop-surface .woocommerce-billing-fields,
.whiteplate-shop-surface .woocommerce-additional-fields,
.whiteplate-shop-surface .wd-my-account-sidebar,
.whiteplate-shop-surface .wd-my-account-content {
    border: 1px solid var(--wp-line-soft);
    background: #fff;
    box-shadow: var(--wp-shadow-sm);
}

.whiteplate-shop-surface .woocommerce-cart-form,
.whiteplate-shop-surface .cart-collaterals,
.whiteplate-shop-surface .woocommerce-checkout-review-order,
.whiteplate-shop-surface .woocommerce-billing-fields,
.whiteplate-shop-surface .woocommerce-additional-fields,
.whiteplate-shop-surface .wd-my-account-sidebar,
.whiteplate-shop-surface .wd-my-account-content {
    padding: 24px;
}

.whiteplate-shop-surface .page-title-default {
    margin-bottom: 22px;
    border: 1px solid var(--wp-line-soft);
    background: linear-gradient(135deg, var(--wp-emerald-soft), #fff);
}

.whiteplate-shop-surface .page-title-default .title {
    color: var(--wp-emerald-2);
}

.whiteplate-shop-surface .wd-products .product-grid-item .product-wrapper {
    border-radius: 20px;
    border: 1px solid var(--wp-line-soft);
    background: #fff;
    box-shadow: 0 14px 40px rgba(22, 24, 29, .05);
}

.whiteplate-shop-surface .wd-products .product-grid-item .product-wrapper:hover {
    transform: translateY(-3px);
}

.whiteplate-shop-surface .price .amount { color: var(--wp-ink); }
.whiteplate-shop-surface .price ins,
.whiteplate-shop-surface .price ins .amount { color: var(--wp-sale); }

.whiteplate-shop-surface .single_add_to_cart_button,
.whiteplate-shop-surface .checkout-button,
.whiteplate-shop-surface .button,
.whiteplate-shop-surface button.button,
.whiteplate-shop-surface input.button {
    border-radius: 999px;
    background: var(--wp-emerald);
    border-color: var(--wp-emerald);
    color: #fff;
}

.whiteplate-shop-surface .single_add_to_cart_button:hover,
.whiteplate-shop-surface .checkout-button:hover,
.whiteplate-shop-surface .button:hover {
    background: var(--wp-emerald-2);
    border-color: var(--wp-emerald-2);
}

/* ---- Responsive ------------------------------------------------------- */
@media (max-width: 1050px) {
    .wp-hero { min-height: 540px; grid-template-columns: 1fr 1fr; }
    .wp-hero-visual { min-height: 380px; }
    .wp-hero-visual img { height: 360px; }
    .wp-rail-track { --rail-cols: 3; }
}

@media (max-width: 767px) {
    .wp-home-section,
    .wp-trust-bar,
    .wp-footer-grid,
    .wp-footer-bottom { width: min(100% - 28px, 1320px); }
    .wp-hero { min-height: 0; grid-template-columns: 1fr; padding: 46px 20px 30px; }
    .wp-hero h1 { font-size: clamp(26px, 8vw, 34px); letter-spacing: -.6px; }
    .wp-hero-copy > p { font-size: 14px; }
    .wp-hero ul { gap: 22px; }
    .wp-hero-visual { min-height: 300px; }
    .wp-hero-visual::before { width: 280px; }
    .wp-hero-visual img { width: 100%; height: 290px; }
    .wp-hero-visual em { left: 0; }
    .wp-home-section { padding-block: 48px 8px; }
    .wp-section-heading { align-items: center; margin-bottom: 20px; }
    .wp-section-heading h2 { font-size: 20px; }
    .wp-section-heading > a { padding: 8px 14px; font-size: 11px; }
    .wp-category-strip { gap: 12px; }
    .wp-category-image { width: 94px; height: 94px; }
    .wp-banner-grid { grid-template-columns: 1fr; }
    .wp-category-banner { min-height: 215px; padding: 28px; }
    .wp-category-banner strong { font-size: 24px; }
    .wp-products-section { padding-block: 24px 4px; }
    /* ~1.6–2 cards peeking so swipe affordance is obvious on phones. */
    .wp-rail-track { --rail-cols: 2; --rail-gap: 14px; --rail-peek: 40px; }
    .wp-home-section .wp-rail-tools .wp-rail-btn,
    .wp-rail-tools .wp-cat-nav { display: none !important; }
    .wp-brand-chip { padding: 12px 18px; font-size: 13px; }
    .wp-blog-grid { grid-template-columns: 1fr; }
    .wp-trust-bar { grid-template-columns: repeat(2, 1fr); margin-block: 52px; padding: 16px; }
    .wp-trust-bar > div { justify-content: flex-start; padding: 13px 8px; border: 0; }
    .wp-trust-bar > div > span { width: 40px; height: 40px; flex-basis: 40px; }
    .whiteplate-shop-surface .woocommerce-cart-form,
    .whiteplate-shop-surface .cart-collaterals,
    .whiteplate-shop-surface .woocommerce-checkout-review-order,
    .whiteplate-shop-surface .woocommerce-billing-fields,
    .whiteplate-shop-surface .woocommerce-additional-fields,
    .whiteplate-shop-surface .wd-my-account-sidebar,
    .whiteplate-shop-surface .wd-my-account-content {
        padding: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .whiteplate-home * { scroll-behavior: auto !important; transition: none !important; }
}

/* =========================================================================
   Category mega menu (desktop hover panels + mobile off-canvas drawer)
   ========================================================================= */

/* Our mega menu is the ONE main navigation. Hide WoodMart's built-in primary
   (desktop) and mobile menus site-wide, keeping the logo, search, account,
   wishlist and cart controls untouched. */
.whb-header .wd-header-main-nav,
.whb-header .wd-nav-main,
.wd-header-mobile-nav,
.wd-nav-mob-tab,
.wd-nav-mobile { display: none !important; }

.wp-mega--pending { display: none; }
.wp-mega {
    position: relative;
    z-index: 200;
    font-family: var(--wp-font);
    direction: rtl;
    margin: 0 !important;
    padding: 0 !important;
}

/* ---- Mega vanish fix (0.33.8) -------------------------------------------
   Mega is relocated into .whb-main-header (sticky unit). WoodMart JS sets an
   explicit height on .whb-main-header from sticky-rows only (~general 65px),
   which would CLIP the mega bar once it lives inside. Force auto height +
   visible overflow so desktop mega stays in the fixed sticky chrome.
   Mobile hamburger stays position:fixed (below); drawer/flyout must escape. */
.whb-main-header {
    overflow: visible !important;
}
.whb-main-header > .wp-mega.wp-mega--ready,
.whb-header .wp-mega.wp-mega--ready {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none;
    pointer-events: auto;
}
@media (min-width: 1025px) {
    .whb-sticked .whb-main-header,
    .whb-header.whb-sticked .whb-main-header,
    .whb-sticky-prepared.whb-sticked .whb-main-header {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
    /* Keep mega painted with the fixed sticky header (z 390). */
    .whb-main-header > .wp-mega {
        position: relative;
        z-index: 1;
        flex: 0 0 auto;
    }
    .whb-main-header > .wp-mega .wp-mega-bar {
        display: block !important;
        height: auto !important;
        min-height: 0;
        overflow: visible !important;
        pointer-events: auto;
    }
}

/* -------- Top bar: ONE tidy single row (page links + categories trigger) ---- */
.wp-mega-bar {
    position: relative;
    z-index: 10;
    background: #ffffff;
    border-bottom: 1px solid var(--wp-line, #E5E0D6);
    box-shadow: none;
}
.wp-mega-bar-inner {
    position: relative;
    width: min(1320px, calc(100% - 48px));
    margin-inline: auto;
    display: flex;
    align-items: center;
    padding-block: 4px;
}
.wp-mega-nav { flex: 1 1 auto; min-width: 0; }
.wp-mega-head { display: none; }
.wp-mega-overlay { display: none; }

/* Mobile-only off-canvas opener button (hidden on desktop). */
.wp-mega-trigger {
    display: none;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    color: var(--wp-emerald);
    font: 800 15px/1 var(--wp-font);
    cursor: pointer;
}
.wp-mega-burger { display: inline-flex; flex-direction: column; gap: 4px; width: 20px; }
.wp-mega-burger span { height: 2px; background: currentColor; border-radius: 2px; }

/* Simple top-level link (pages). */
.wp-mega-top {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 36px;
    min-height: 36px;
    max-height: 36px;
    padding: 0 12px;
    border-radius: 10px;
    color: var(--wp-ink);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    box-sizing: border-box;
    transition: color .2s ease, background .2s ease;
}
.wp-mega-top:hover,
.wp-mega-top:focus-visible {
    color: var(--wp-emerald);
    background: var(--wp-emerald-soft);
}
.wp-mega-top-name {
    display: inline-flex;
    align-items: center;
    line-height: 1.15;
}
.wp-mega-list {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
    line-height: 1;
}
.wp-mega-item {
    position: static;
    display: flex;
    align-items: center;
    align-self: center;
    margin: 0;
    padding: 0;
    line-height: 1;
}
.wp-mega-item:last-child {
    align-self: center;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
}
/* Categories first (Janebi): cats trigger leads the desktop mega bar. */
.wp-mega-item--cats {
    order: -1;
    margin-inline-end: 4px;
    margin-inline-start: 0 !important;
}

/* The one emphasized "دسته‌بندی محصولات" trigger — emerald pill, gold-accented. */
.wp-mega-item--cats { margin-inline-start: 8px; }
.wp-mega-top--trigger {
    background: linear-gradient(135deg, var(--wp-emerald), var(--wp-emerald-2));
    color: #fff;
    padding: 0 14px;
    min-height: 36px;
    height: 36px;
    max-height: 36px;
    box-shadow: 0 8px 18px rgba(22, 24, 29, .22);
}
.wp-mega-top--trigger .wp-mega-top-name { color: #fff; }
.wp-mega-item--cats:hover .wp-mega-top--trigger,
.wp-mega-top--trigger:hover,
.wp-mega-top--trigger:focus-visible {
    color: #fff;
    background: linear-gradient(135deg, var(--wp-emerald-2), var(--wp-emerald-3));
}

/* Caret chevron (clean, never a filled box). */
.wp-mega-caret {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: transparent;
    border: 0;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: 0;
    flex-shrink: 0;
    transition: transform .2s ease, margin .2s ease;
}
.wp-mega-item.has-children:hover > .wp-mega-top .wp-mega-caret,
.wp-mega-item.has-children:focus-within > .wp-mega-top .wp-mega-caret {
    transform: rotate(-135deg);
    margin-top: 0;
}

/* Desktop: the mobile accordion button and the off-canvas opener must never
   render, and the full panel is capped to the viewport with internal scroll. */
.wp-mega-expand { display: none; }
@media (min-width: 1025px) {
    .wp-mega-expand { display: none !important; }
    .wp-mega-trigger { display: none !important; }
    /* Invisible hover bridge: fills the gap between the trigger pill and the
       panel so the :hover chain stays continuous while the cursor travels down.
       (It sits below the pill and is a descendant of the item, not the panel,
       so it isn't clipped by the panel's overflow.) */
    .wp-mega-top--trigger { position: relative; }
    .wp-mega-top--trigger::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        height: 18px;
    }
    /* Higher specificity + !important so it wins over the base
       .wp-mega-panel--full { overflow: hidden } declared later in source. */
    .wp-mega-item .wp-mega-panel.wp-mega-panel--full {
        max-height: calc(100vh - 160px);
        overflow-x: hidden;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        scrollbar-width: thin;
        scrollbar-color: var(--wp-gold) transparent;
    }
    .wp-mega-panel--full::-webkit-scrollbar { width: 8px; }
    .wp-mega-panel--full::-webkit-scrollbar-thumb {
        background: var(--wp-gold);
        border-radius: 999px;
    }
    .wp-mega-panel--full::-webkit-scrollbar-track { background: transparent; }
}

/* -------- One large full-width mega panel holding ALL categories ------------ */
.wp-mega-panel {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 60;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
    pointer-events: none;
}
.wp-mega-item.has-children:hover > .wp-mega-panel,
.wp-mega-item.has-children:focus-within > .wp-mega-panel,
.wp-mega-item.has-children.wp-mega-open > .wp-mega-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
.wp-mega-panel--full {
    margin-top: 8px;
    background: #fff;
    border: 1px solid var(--wp-line);
    border-radius: 18px;
    box-shadow: 0 34px 80px rgba(22, 24, 29, .20);
    overflow: hidden;
}
.wp-mega-panel--full::before {
    content: "";
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--wp-gold), var(--wp-emerald));
}
.wp-mega-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px 20px;
    padding: 24px 28px;
}
.wp-mega-col { min-width: 0; }
.wp-mega-col-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 6px 8px;
    margin-bottom: 6px;
    color: var(--wp-emerald);
    font-size: 14px;
    font-weight: 800;
    border-bottom: 1px solid var(--wp-line);
    transition: color .2s ease;
}
.wp-mega-col-title span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wp-mega-col-title:hover { color: var(--wp-gold-2); }
.wp-mega-col-subs { display: flex; flex-direction: column; gap: 1px; }
.wp-mega-sub {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 8px;
    color: var(--wp-muted);
    font-size: 12.5px;
    transition: background .15s ease, color .15s ease;
}
.wp-mega-sub span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wp-mega-sub:hover { background: var(--wp-gold-soft); color: var(--wp-gold); }
.wp-mega-count {
    flex: none;
    min-width: 20px;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--wp-ivory);
    color: var(--wp-muted);
    font-size: 10px;
    font-weight: 700;
    text-align: center;
}
.wp-mega-col-title .wp-mega-count { background: var(--wp-gold-soft); color: var(--wp-gold-2); }
.wp-mega-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: var(--wp-emerald-soft);
    color: var(--wp-emerald);
    font-size: 13.5px;
    font-weight: 800;
    border-top: 1px solid var(--wp-line);
    transition: background .2s ease, color .2s ease;
}
.wp-mega-all:hover { background: var(--wp-emerald); color: #fff; }

@media (min-width: 1025px) and (max-width: 1200px) {
    .wp-mega-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
    /* Lift mega stacking ABOVE sticky WHB (.whb-header z-index). Fixed trigger
       alone cannot escape a sibling sticky header when #wp-mega is z-index:auto. */
    .wp-mega.wp-mega--ready {
        position: relative;
        z-index: 100040;
    }
    /* Drawer open: lift whole mega above sticky WHB / Elementor chrome. */
    .wp-mega.is-open {
        z-index: 100050;
    }
    /* CRITICAL: do not trap .wp-mega-nav under .wp-mega-overlay.
       .wp-mega-bar had z-index:10 → stacking context → overlay (sibling)
       painted above the drawer even when nav z-index was 100000. */
    /* Bar reserves no strip: trigger is a fixed corner control (not full-width).
       Mega sits after .whb-header in document flow — without pin it scrolls away
       while sticky WHB (whb-scroll-slide / hide-on-scroll) stays/vanishes alone. */
    .wp-mega-bar {
        border-bottom: 0;
        box-shadow: none;
        background: none;
        z-index: auto;
        height: 0;
        min-height: 0;
        overflow: visible;
        pointer-events: none;
    }
    .wp-mega-bar-inner {
        width: auto;
        max-width: none;
        margin: 0;
        padding: 0;
        flex-wrap: nowrap;
        height: 0;
        min-height: 0;
        pointer-events: none;
    }
    button.wp-mega-trigger,
    .wp-mega-trigger {
        display: inline-flex !important;
        width: 44px !important;
        max-width: 44px;
        height: 40px;
        min-height: 40px;
        min-width: 44px;
        padding: 0 !important;
        gap: 0;
        justify-content: center;
        align-items: center;
        border-radius: 10px;
        background: linear-gradient(135deg, var(--wp-emerald), var(--wp-emerald-2));
        color: #fff;
        font: 800 13.5px/1 var(--wp-font);
        letter-spacing: .2px;
        box-shadow: 0 4px 14px rgba(22, 24, 29, .18);
        /* Viewport corner — beats WoodMart :is(button){position:relative} (base-rtl).
           0.36.15 — top accounts for #wp-promo-bar at scrollY≈0 (else burger sits
           in/above promo, outside the white logo row). Compact zeros the offset. */
        position: fixed !important;
        top: calc(var(--wp-promo-bar-offset, 0px) + 8px) !important;
        inset-inline-start: 10px !important;
        inset-inline-end: auto !important;
        inset-block-end: auto !important;
        left: auto;
        right: auto;
        z-index: 100040;
        pointer-events: auto;
    }
    html.wp-header-compact button.wp-mega-trigger,
    html.wp-header-compact .wp-mega-trigger,
    html.is-scrolled button.wp-mega-trigger,
    html.is-scrolled .wp-mega-trigger {
        top: 8px !important;
    }
    .wp-mega.is-open .wp-mega-trigger {
        /* Under overlay (100060); close via × / overlay — desktop hover untouched. */
        z-index: 100040;
    }
    /* 0.36.12 — icon-only hamburger; hide «دسته‌بندی محصولات» label (overlaps logo). */
    .wp-mega-trigger .wp-mega-trigger-label {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        clip: rect(0, 0, 0, 0) !important;
    }
    .wp-mega-trigger .wp-mega-burger { width: 18px; }
    .wp-mega-trigger .wp-mega-burger span { height: 2px; background: #fff; }
    .wp-mega-nav {
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        z-index: 100070;
        width: min(88vw, 380px);
        max-width: 100vw;
        height: 100%;
        height: 100dvh;
        background: #fff;
        box-shadow: -20px 0 60px rgba(0, 0, 0, .25);
        transform: translate3d(100%, 0, 0);
        transition: transform .28s ease;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        pointer-events: auto;
        visibility: visible;
    }
    .wp-mega.is-open .wp-mega-nav {
        transform: translate3d(0, 0, 0);
        pointer-events: auto;
    }
    .wp-mega-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 18px;
        border-bottom: 1px solid var(--wp-line);
        background: var(--wp-ivory);
        position: sticky;
        top: 0;
        z-index: 2;
    }
    .wp-mega-head strong { font-size: 15px; font-weight: 800; color: var(--wp-emerald); }
    .wp-mega-close {
        width: 34px;
        height: 34px;
        border: 0;
        border-radius: 50%;
        background: #fff;
        color: var(--wp-ink);
        font-size: 22px;
        line-height: 1;
        cursor: pointer;
        pointer-events: auto;
    }
    /* Column flex — cats stay last in HTML walker/fallback order (no order:-1). */
    .wp-mega-list {
        display: flex;
        flex-direction: column;
    }
    .wp-mega-item {
        position: relative;
        margin: 0;
        border-bottom: 1px solid var(--wp-line);
    }
    /*
     * Hamburger drawer ONLY (≤1024): categories list immediately — no Home/About
     * and no «دسته‌بندی» parent tap. Desktop mega bar / hover unchanged (min-width
     * 1025 rules above + this block is max-width:1024 only).
     */
    .wp-mega-nav .wp-mega-item:not(.wp-mega-item--cats) {
        display: none !important;
    }
    .wp-mega-nav .wp-mega-item--cats > .wp-mega-top,
    .wp-mega-nav .wp-mega-item--cats > .wp-mega-expand {
        display: none !important;
    }
    .wp-mega-top {
        display: flex;
        height: auto;
        padding: 14px 18px;
        border-radius: 0;
        background: transparent;
        justify-content: flex-start;
    }
    /* Categories fill the drawer; parent chrome hidden — panel always visible. */
    .wp-mega-item--cats {
        order: 0;
        margin: 0;
        border-bottom: 0;
        background: #fff;
    }
    .wp-mega-top--trigger {
        background: var(--wp-ivory);
        color: var(--wp-emerald);
        box-shadow: none;
        font-weight: 800;
        padding-inline-end: 52px;
    }
    .wp-mega-top--trigger .wp-mega-top-name { color: var(--wp-emerald); }
    .wp-mega-top-name { flex: 1; }
    .wp-mega-caret { display: none; }
    .wp-mega-expand {
        display: block;
        position: absolute;
        top: 8px;
        left: 12px;
        width: 40px;
        height: 40px;
        border: 1px solid var(--wp-line);
        border-radius: 10px;
        background: #fff;
        color: var(--wp-emerald);
        cursor: pointer;
        z-index: 2;
        pointer-events: auto;
    }
    .wp-mega-expand::before,
    .wp-mega-expand::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        background: currentColor;
        transition: transform .2s ease;
    }
    .wp-mega-expand::before { width: 12px; height: 2px; transform: translate(-50%, -50%); }
    .wp-mega-expand::after { width: 2px; height: 12px; transform: translate(-50%, -50%); }
    .wp-mega-item.is-expanded .wp-mega-expand::after { transform: translate(-50%, -50%) scaleY(0); }

    /* Accordion shell kept for non-cats (hidden); cats panel always open in drawer. */
    .wp-mega-panel {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
    }
    .wp-mega-panel--full {
        margin-top: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: #fbfaf6;
    }
    .wp-mega-panel--full::before { display: none; }
    .wp-mega-item.is-expanded > .wp-mega-panel,
    .wp-mega-nav .wp-mega-item--cats > .wp-mega-panel {
        max-height: none;
        overflow: visible;
    }
    .wp-mega-grid { grid-template-columns: 1fr; gap: 0; padding: 4px 14px 12px; }
    .wp-mega-col { padding: 4px 0; border-bottom: 1px dashed var(--wp-line); }
    .wp-mega-col:last-child { border-bottom: 0; }
    .wp-mega-col-title { padding: 10px 6px; margin: 0; border-bottom: 0; }
    .wp-mega-col-subs { padding-inline-start: 8px; }
    .wp-mega-sub { padding: 9px 8px; font-size: 13px; }
    .wp-mega-all { margin: 8px 14px 14px; border-radius: 12px; border-top: 0; }
    /* Overlay BELOW drawer (100060 < nav 100070); same stacking parent as nav. */
    .wp-mega.is-open .wp-mega-overlay {
        display: block !important;
        position: fixed;
        inset: 0;
        z-index: 100060;
        background: rgba(51, 51, 51, .52);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        pointer-events: auto;
        cursor: pointer;
    }
    body.wp-mega-lock,
    html.wp-mega-lock {
        overflow: hidden !important;
        touch-action: none;
        overscroll-behavior: none;
    }
}

/* =========================================================================
   Single product (WooCommerce / WoodMart) — premium neutral + burgundy
   Scoped under body.single-product; enhances WoodMart's grid layout.
   ========================================================================= */
body.single-product { background: var(--wp-bg); }
.single-product .wd-single-product,
.single-product .summary,
.single-product .woocommerce-tabs,
.single-product .related.products { font-family: var(--wp-font); }

/* Breadcrumb */
.single-product .woocommerce-breadcrumb {
    color: var(--wp-muted);
    font-size: 13px;
    margin-bottom: 16px;
}
.single-product .woocommerce-breadcrumb a { color: var(--wp-muted); transition: color .2s ease; }
.single-product .woocommerce-breadcrumb a:hover { color: var(--wp-gold); }

/* Top layout spacing */
.single-product .product-image-summary-wrap { margin-top: 8px; }
.single-product .product-image-summary-inner { align-items: start; }

/* --- Gallery --- */
.single-product .woocommerce-product-gallery__wrapper,
.single-product .wd-carousel-inner {
    border: 1px solid var(--wp-line);
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--wp-shadow-sm);
}
.single-product .woocommerce-product-gallery__image img { border-radius: 18px; }
.single-product .flex-control-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}
.single-product .flex-control-thumbs li { width: 72px; margin: 0; }
.single-product .flex-control-thumbs img {
    border: 1px solid var(--wp-line);
    border-radius: 12px;
    cursor: pointer;
    opacity: .7;
    transition: opacity .2s ease, border-color .2s ease;
}
.single-product .flex-control-thumbs img:hover,
.single-product .flex-control-thumbs .flex-active img { opacity: 1; border-color: var(--wp-gold); }

/* Sale / discount badge */
.single-product span.onsale,
.single-product .product-labels .onsale,
.single-product .wd-product-label span,
.single-product .product-label span {
    background: var(--wp-sale) !important;
    color: #fff !important;
    border-radius: 999px;
    font-weight: 800;
    padding: 4px 12px;
    box-shadow: 0 6px 16px rgba(225, 29, 72, .28);
}

/* --- Summary / buy box --- */
.single-product .product_title {
    color: var(--wp-ink);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.45;
    margin: 0 0 12px;
}
.single-product .summary .price,
.single-product .summary .price .amount { color: var(--wp-ink); }
.single-product .summary .price {
    font-size: 24px;
    font-weight: 800;
    margin: 6px 0 16px;
}
.single-product .summary .price del,
.single-product .summary .price del .amount { color: var(--wp-muted); font-weight: 500; opacity: .8; }
.single-product .summary .price ins { text-decoration: none; }
.single-product .summary .price ins .amount { color: var(--wp-sale); }
.single-product .woocommerce-product-details__short-description {
    color: var(--wp-muted);
    font-size: 14px;
    line-height: 2;
    margin-bottom: 18px;
}
.single-product .stock.in-stock { color: var(--wp-teal); font-weight: 700; }
.single-product .stock.out-of-stock { color: var(--wp-sale); font-weight: 700; }

/* Quantity stepper */
.single-product form.cart { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 6px 0 18px; }
.single-product form.cart .quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--wp-line);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.single-product form.cart .quantity input.minus,
.single-product form.cart .quantity input.plus,
.single-product form.cart .quantity .btn {
    width: 44px;
    height: 50px;
    border: 0;
    background: var(--wp-ivory);
    color: var(--wp-ink);
    font-size: 18px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}
.single-product form.cart .quantity input.minus:hover,
.single-product form.cart .quantity input.plus:hover,
.single-product form.cart .quantity .btn:hover { background: var(--wp-gold-soft); color: var(--wp-gold); }
.single-product form.cart .quantity input.qty {
    width: 58px;
    height: 50px;
    border: 0;
    border-inline: 1px solid var(--wp-line);
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--wp-ink);
    background: #fff;
    -moz-appearance: textfield;
    appearance: textfield;
}
.single-product form.cart .quantity input.qty::-webkit-outer-spin-button,
.single-product form.cart .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Add to cart — charcoal primary, burgundy on hover */
.single-product .single_add_to_cart_button,
.single-product form.cart button.single_add_to_cart_button {
    background: var(--wp-emerald) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 12px !important;
    padding: 0 30px !important;
    height: 50px;
    line-height: 50px;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(22, 24, 29, .18);
    transition: background .2s ease, transform .05s ease;
}
.single-product .single_add_to_cart_button:hover { background: var(--wp-emerald-2) !important; }
.single-product .single_add_to_cart_button:active { transform: translateY(1px); }

/* Secondary actions (wishlist / compare) */
.single-product .wd-action-btn a,
.single-product .wd-wishlist-btn a,
.single-product .wd-compare-btn a { color: var(--wp-muted); transition: color .2s ease; }
.single-product .wd-action-btn a:hover,
.single-product .wd-wishlist-btn a:hover,
.single-product .wd-compare-btn a:hover { color: var(--wp-gold); }

/* Product meta — muted chips */
.single-product .product_meta {
    border-top: 1px solid var(--wp-line);
    margin-top: 18px;
    padding-top: 16px;
    font-size: 13px;
    color: var(--wp-muted);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.single-product .product_meta > span { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.single-product .product_meta a {
    display: inline-block;
    padding: 3px 11px;
    border: 1px solid var(--wp-line);
    border-radius: 999px;
    background: var(--wp-ivory);
    color: var(--wp-ink);
    font-size: 12px;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.single-product .product_meta a:hover { border-color: var(--wp-gold); color: var(--wp-gold); background: var(--wp-gold-soft); }
.single-product .wd-product-brands img { max-height: 44px; width: auto; }

/* --- Tabs / accordion --- */
.single-product .woocommerce-tabs {
    margin-top: 40px;
    background: #fff;
    border: 1px solid var(--wp-line);
    border-radius: 18px;
    box-shadow: var(--wp-shadow-sm);
    overflow: hidden;
}
.single-product .woocommerce-tabs ul.wc-tabs,
.single-product .woocommerce-tabs ul.tabs {
    margin: 0;
    padding: 0 12px;
    border-bottom: 1px solid var(--wp-line);
    background: var(--wp-ivory);
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.single-product .woocommerce-tabs ul.tabs li { list-style: none; margin: 0; padding: 0; border: 0; background: none; }
.single-product .woocommerce-tabs ul.tabs li::before,
.single-product .woocommerce-tabs ul.tabs li::after { display: none; }
.single-product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 16px 18px;
    color: var(--wp-muted);
    font-weight: 700;
    border-bottom: 3px solid transparent;
    transition: color .2s ease, border-color .2s ease;
}
.single-product .woocommerce-tabs ul.tabs li.active a,
.single-product .woocommerce-tabs ul.tabs li a:hover { color: var(--wp-ink); border-bottom-color: var(--wp-gold); }
.single-product .woocommerce-tabs .panel,
.single-product .woocommerce-tabs .wd-accordion-content { padding: 24px 26px; color: var(--wp-ink); line-height: 2; }
.single-product .wd-accordion-item { border-bottom: 1px solid var(--wp-line); }
.single-product .wd-accordion-item:last-child { border-bottom: 0; }
.single-product .wd-accordion-title {
    padding: 16px 22px;
    font-weight: 800;
    color: var(--wp-ink);
    cursor: pointer;
    transition: color .2s ease;
}
.single-product .wd-accordion-title.wd-active,
.single-product .wd-accordion-title:hover { color: var(--wp-gold); }

/* Attribute / additional-info table */
.single-product .woocommerce-product-attributes,
.single-product table.shop_attributes { width: 100%; border-collapse: collapse; margin: 0; }
.single-product table.shop_attributes th,
.single-product table.shop_attributes td {
    padding: 12px 14px;
    border: 1px solid var(--wp-line);
    font-size: 13.5px;
    text-align: start;
}
.single-product table.shop_attributes th { background: var(--wp-ivory); color: var(--wp-ink); font-weight: 800; width: 32%; }
.single-product table.shop_attributes td { color: var(--wp-muted); }
.single-product table.shop_attributes tr:nth-child(even) td { background: #fbfaf8; }

/* --- Related / upsell products --- */
.single-product .related.products,
.single-product .up-sells.products { margin-top: 44px; }
.single-product .related.products > h2,
.single-product .up-sells.products > h2 {
    font-size: 20px;
    font-weight: 800;
    color: var(--wp-ink);
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}
.single-product .related.products > h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 48px;
    height: 3px;
    background: var(--wp-gold);
    border-radius: 3px;
}
.single-product ul.products li.product {
    background: #fff;
    border: 1px solid var(--wp-line);
    border-radius: 16px;
    padding: 12px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.single-product ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--wp-shadow); }
.single-product ul.products li.product .wd-entities-title,
.single-product ul.products li.product .product-title { color: var(--wp-ink); font-weight: 700; }
.single-product ul.products li.product .price { color: var(--wp-ink); font-weight: 800; }
.single-product ul.products li.product .price ins { color: var(--wp-sale); text-decoration: none; }
.single-product ul.products li.product .price del { color: var(--wp-muted); }
.single-product ul.products li.product .button,
.single-product ul.products li.product .add_to_cart_button {
    background: var(--wp-emerald) !important;
    color: #fff !important;
    border-radius: 10px !important;
    border: 0 !important;
}
.single-product ul.products li.product .button:hover,
.single-product ul.products li.product .add_to_cart_button:hover { background: var(--wp-emerald-2) !important; }

/* --- Responsive --- */
@media (max-width: 767px) {
    .single-product .product_title { font-size: 21px; }
    .single-product form.cart { flex-direction: column; align-items: stretch; }
    .single-product .single_add_to_cart_button { width: 100%; text-align: center; }
    .single-product form.cart .quantity { width: 100%; justify-content: space-between; }
    .single-product form.cart .quantity input.qty { flex: 1; }
    .single-product .woocommerce-tabs ul.tabs { flex-wrap: nowrap; overflow-x: auto; }
    .single-product .woocommerce-tabs .panel,
    .single-product .woocommerce-tabs .wd-accordion-content { padding: 18px; }
}

/* =========================================================================
   v0.15.0 homepage redesign — denser rhythm, multi-accent punctuation,
   editorial hero, mosaic cats, smooth rails, compact trust, motion.
   ========================================================================= */

.whiteplate-home main {
    padding-bottom: 24px;
}

.whiteplate-home .wp-home-section {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-inline: max(24px, calc((100vw - 1320px) / 2));
    padding-block: 38px 10px;
}

.whiteplate-home .wp-section-heading {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    margin-bottom: 14px;
}
.whiteplate-home .wp-section-heading > div:not(.wp-rail-tools),
.whiteplate-home .wp-section-heading-copy {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 10px;
}
.whiteplate-home .wp-section-heading h2 {
    display: block;
    width: 100%;
    margin: 0;
    font: 700 clamp(18px, 2vw, 24px)/1.3 var(--wp-font);
    position: relative;
}
.whiteplate-home .wp-section-heading h2::after {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    margin-top: 7px;
    border-radius: 999px;
    background: var(--wp-emerald);
}
.whiteplate-home .wp-section-heading .wp-eyebrow {
    display: block;
    width: 100%;
    margin: 0;
    color: var(--wp-amber);
}
.whiteplate-home .wp-eyebrow::before {
    background: var(--wp-amber);
}

/* Alternating section surfaces */
.whiteplate-home .wp-category-section,
.whiteplate-home .wp-rail-section--popular,
.whiteplate-home .wp-brands {
    background: var(--wp-ivory);
}
.whiteplate-home .wp-banners,
.whiteplate-home .wp-rail-section--latest,
.whiteplate-home .wp-blog {
    background: var(--wp-surface);
}

/* ---- Reveal on scroll ---- */
.whiteplate-home .wp-reveal {
    opacity: 0;
    transform: translateY(14px);
}
.whiteplate-home .wp-reveal.is-in {
    opacity: 1;
    transform: none;
    transition: opacity .5s ease, transform .5s ease;
}

/* ---- Hero slider overhaul (v0.17.0) ---- */
.whiteplate-front,
.whiteplate-front .website-wrapper,
.whiteplate-front .main-page-wrapper,
.whiteplate-front .wd-page-content {
    overflow-x: clip;
}
.whiteplate-home {
    overflow: visible;
}
.whiteplate-home .wp-hero.wp-hero-slider {
    display: block;
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-inline: calc(50% - 50vw);
    padding: 0 !important;
    min-height: min(72vh, 720px);
    height: min(72vh, 720px);
    overflow: hidden;
    border-bottom: 0;
    background: #333333;
    z-index: 1;
}
.whiteplate-home .wp-hero-slides {
    display: grid;
    position: relative;
    height: 100%;
    min-height: min(72vh, 720px);
}
.whiteplate-home .wp-hero-live {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}
.whiteplate-home .wp-hero-slide {
    grid-area: 1 / 1;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: min(72vh, 720px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 0;
    transform: none;
    transition: opacity 1100ms ease, transform 1100ms cubic-bezier(.22, 1, .36, 1), visibility 1100ms ease;
}
.whiteplate-home .wp-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
    transform: none;
}
.whiteplate-home .wp-hero-slide.is-leaving {
    opacity: 0;
    visibility: visible;
    pointer-events: none;
    z-index: 1;
}

/* Per-slide transition variety */
.whiteplate-home .wp-hero-slider[data-fx="fade"] .wp-hero-slide {
    transform: none;
    transition: opacity 1100ms ease, visibility 1100ms ease;
}
.whiteplate-home .wp-hero-slider[data-fx="fade"] .wp-hero-slide.is-leaving {
    transform: none;
}
.whiteplate-home .wp-hero-slider[data-fx="slide-right"] .wp-hero-slide {
    transform: translateX(-56px);
}
.whiteplate-home .wp-hero-slider[data-fx="slide-right"] .wp-hero-slide.is-active {
    transform: translateX(0);
}
.whiteplate-home .wp-hero-slider[data-fx="slide-right"] .wp-hero-slide.is-leaving {
    transform: translateX(56px);
}
.whiteplate-home .wp-hero-slider[data-fx="slide-up"] .wp-hero-slide {
    transform: translateY(40px);
}
.whiteplate-home .wp-hero-slider[data-fx="slide-up"] .wp-hero-slide.is-active {
    transform: translateY(0);
}
.whiteplate-home .wp-hero-slider[data-fx="slide-up"] .wp-hero-slide.is-leaving {
    transform: translateY(-28px);
}
.whiteplate-home .wp-hero-slider[data-fx="zoom-soft"] .wp-hero-slide {
    transform: scale(.965);
}
.whiteplate-home .wp-hero-slider[data-fx="zoom-soft"] .wp-hero-slide.is-active {
    transform: scale(1);
}
.whiteplate-home .wp-hero-slider[data-fx="zoom-soft"] .wp-hero-slide.is-leaving {
    transform: scale(1.035);
}

/* Accents */
.whiteplate-home .wp-hero-slide[data-accent="blue"] { --wp-hero-accent: var(--wp-emerald); --wp-hero-accent-2: var(--wp-emerald-2); --wp-hero-soft: var(--wp-emerald-soft); }
.whiteplate-home .wp-hero-slide[data-accent="teal"] { --wp-hero-accent: var(--wp-teal); --wp-hero-accent-2: var(--wp-teal-2); --wp-hero-soft: var(--wp-teal-soft); }
.whiteplate-home .wp-hero-slide[data-accent="amber"] { --wp-hero-accent: var(--wp-amber); --wp-hero-accent-2: var(--wp-amber-2); --wp-hero-soft: var(--wp-amber-soft); }
.whiteplate-home .wp-hero-slide[data-accent="rose"] { --wp-hero-accent: #FF5F23; --wp-hero-accent-2: #E04E1A; --wp-hero-soft: #FFE8E0; }
.whiteplate-home .wp-hero-slide[data-accent="ink"] { --wp-hero-accent: #333333; --wp-hero-accent-2: #4A433A; --wp-hero-soft: #e2e8f0; }
.whiteplate-home .wp-hero-slide[data-accent="teal"] .wp-button.primary,
.whiteplate-home .wp-hero-slide[data-accent="amber"] .wp-button.primary,
.whiteplate-home .wp-hero-slide[data-accent="rose"] .wp-button.primary,
.whiteplate-home .wp-hero-slide[data-accent="ink"] .wp-button.primary {
    background: var(--wp-hero-accent);
    box-shadow: 0 12px 28px color-mix(in srgb, var(--wp-hero-accent) 32%, transparent);
}
.whiteplate-home .wp-hero-slide[data-accent="teal"] .wp-button.primary:hover,
.whiteplate-home .wp-hero-slide[data-accent="amber"] .wp-button.primary:hover,
.whiteplate-home .wp-hero-slide[data-accent="rose"] .wp-button.primary:hover,
.whiteplate-home .wp-hero-slide[data-accent="ink"] .wp-button.primary:hover {
    background: var(--wp-hero-accent-2);
}

/* Pill CTAs — never ovals */
.whiteplate-home .wp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.whiteplate-front .whiteplate-home .wp-hero-actions .wp-button,
.whiteplate-home .wp-hero-slider a.wp-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    margin: 0 !important;
    padding: 0 22px !important;
    border-radius: 999px !important;
    line-height: 1 !important;
    aspect-ratio: auto !important;
    box-sizing: border-box !important;
    white-space: nowrap;
}

/* Layout A — split */
.whiteplate-home .wp-hero-layout--split {
    background:
        radial-gradient(90% 80% at 88% 8%, var(--wp-hero-soft, #EEF0E6) 0%, transparent 52%),
        linear-gradient(165deg, #ffffff 0%, #ffffff 42%, #F7F5F0 100%);
    color: var(--wp-ink);
}
.whiteplate-home .wp-hero-layout--split .wp-hero-stage {
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, 0.92fr) 1.18fr;
    align-items: center;
    gap: 12px;
    width: min(1320px, calc(100% - 48px));
    margin-inline: auto;
    padding: 36px 0 88px;
    height: 100%;
}
.whiteplate-home .wp-hero-layout--split .wp-hero-copy { z-index: 3; max-width: 560px; }
.whiteplate-home .wp-hero-layout--split h1 {
    margin: 0 0 14px;
    font: 700 clamp(30px, 3.8vw, 48px)/1.18 var(--wp-font);
}
.whiteplate-home .wp-hero-layout--split .wp-hero-copy > p {
    margin: 0 0 20px;
    font-size: 14.5px;
    max-width: 520px;
}
.whiteplate-home .wp-hero-layout--split .wp-eyebrow { color: var(--wp-hero-accent, var(--wp-emerald)); }
.whiteplate-home .wp-hero-layout--split .wp-hero-visual {
    position: relative;
    min-height: 320px;
    z-index: 2;
}
.whiteplate-home .wp-hero-layout--split .wp-hero-visual img {
    width: min(46vw, 560px);
    height: min(52vh, 420px);
    object-fit: contain;
    animation: wp-hero-float 3.4s ease-in-out infinite;
}

/* Layout B — overlay cinematic */
.whiteplate-home .wp-hero-layout--overlay {
    background: #0b1220;
    color: #fff;
}
.whiteplate-home .wp-hero-overlay-media,
.whiteplate-home .wp-hero-overlay-veil {
    position: absolute;
    inset: 0;
}
.whiteplate-home .wp-hero-overlay-media img,
.whiteplate-home .wp-hero-overlay-media .wp-hero-monogram {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.whiteplate-home .wp-hero-overlay-veil {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(8, 15, 28, .82) 0%, rgba(8, 15, 28, .45) 48%, rgba(8, 15, 28, .2) 100%),
        linear-gradient(0deg, rgba(8, 15, 28, .55) 0%, transparent 42%);
}
.whiteplate-home .wp-hero-slide[data-accent="teal"].wp-hero-layout--overlay .wp-hero-overlay-veil {
    background:
        linear-gradient(90deg, rgba(4, 32, 30, .84) 0%, rgba(13, 148, 136, .28) 55%, rgba(4, 32, 30, .2) 100%),
        linear-gradient(0deg, rgba(4, 32, 30, .5) 0%, transparent 46%);
}
.whiteplate-home .wp-hero-overlay-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    width: min(1320px, calc(100% - 48px));
    margin-inline: auto;
    padding: 48px 0 96px;
}
.whiteplate-home .wp-hero-layout--overlay .wp-hero-copy {
    max-width: 720px;
}
.whiteplate-home .wp-hero-layout--overlay .wp-eyebrow {
    color: #fde68a;
    letter-spacing: .18em;
    font-size: 12px;
}
.whiteplate-home .wp-hero-layout--overlay .wp-eyebrow::before { background: #fde68a; }
.whiteplate-home .wp-hero-layout--overlay h1 {
    margin: 0 0 16px;
    color: #fff;
    font: 800 clamp(40px, 6.2vw, 76px)/1.05 var(--wp-font);
    letter-spacing: -1.4px;
    text-shadow: 0 8px 40px rgba(0, 0, 0, .35);
}
.whiteplate-home .wp-hero-layout--overlay .wp-hero-copy > p {
    max-width: 540px;
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 16px;
    line-height: 1.85;
}
.whiteplate-home .wp-hero-layout--overlay .wp-hero-actions {
    position: absolute;
    inset-block-end: 28px;
    inset-inline-end: max(24px, calc((100vw - 1320px) / 2));
    z-index: 3;
}
.whiteplate-home .wp-hero-layout--overlay .wp-button.secondary {
    background: rgba(255, 255, 255, .12) !important;
    border-color: rgba(255, 255, 255, .35) !important;
    color: #fff !important;
}

/* Layout C — editorial asymmetric */
.whiteplate-home .wp-hero-layout--editorial {
    background: #fffaf3;
    color: var(--wp-ink);
}
.whiteplate-home .wp-hero-editorial-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
    width: 100%;
    height: calc(100% - 64px);
    min-height: 0;
}
.whiteplate-home .wp-hero-layout--editorial .wp-hero-copy {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px max(24px, calc((100vw - 1320px) / 2)) 28px;
    max-width: none;
}
.whiteplate-home .wp-kicker {
    display: inline-block;
    width: max-content;
    margin-bottom: 14px;
    padding: 4px 10px;
    border: 1px solid color-mix(in srgb, var(--wp-hero-accent, var(--wp-amber)) 40%, #fff);
    border-radius: 4px;
    background: #fff;
    color: var(--wp-hero-accent-2, var(--wp-amber-2));
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
}
.whiteplate-home .wp-hero-title-oneline {
    margin: 0 0 16px;
    font: 800 clamp(36px, 5.4vw, 68px)/1.02 var(--wp-font);
    letter-spacing: -1.6px;
    white-space: nowrap;
}
.whiteplate-home .wp-hero-layout--editorial .wp-hero-copy > p {
    max-width: 420px;
    margin: 0 0 22px;
    font-size: 14px;
    line-height: 1.9;
}
.whiteplate-home .wp-hero-panel {
    position: absolute;
    inset-block: 48px 72px;
    inset-inline-end: 0;
    width: min(42vw, 560px);
    background: var(--wp-hero-accent, var(--wp-amber));
    border-radius: 28px 0 0 28px;
    z-index: 1;
}
.whiteplate-home .wp-hero-visual--overlap {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 24px max(24px, calc((100vw - 1320px) / 2)) 12px 0;
    min-height: 0;
}
.whiteplate-home .wp-hero-visual--overlap img {
    width: min(38vw, 480px);
    height: min(56vh, 460px);
    object-fit: contain;
    filter: drop-shadow(0 24px 40px rgba(15, 23, 42, .22));
    animation: none;
}
.whiteplate-home .wp-hero-stats--strip {
    margin-top: auto;
    background: rgba(255, 255, 255, .9);
    border-top: 1px solid var(--wp-line);
    backdrop-filter: blur(8px);
}
.whiteplate-home .wp-hero-stats--strip ul {
    display: flex;
    gap: 48px;
    margin: 0;
    padding: 12px max(24px, calc((100vw - 1320px) / 2));
    list-style: none;
}
.whiteplate-home .wp-hero-stats--strip li { color: var(--wp-muted); font-size: 12px; }
.whiteplate-home .wp-hero-stats--strip li strong {
    display: inline;
    margin-inline-end: 8px;
    color: var(--wp-hero-accent-2, var(--wp-ink));
    font-size: 18px;
    font-weight: 800;
}

/* Controls — perfect circles, beat WoodMart button min-height */
.whiteplate-home .wp-hero-controls {
    position: absolute;
    z-index: 6;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 22px rgba(15, 23, 42, .08);
}
.whiteplate-home .wp-hero-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}
.whiteplate-front .whiteplate-home .wp-hero-slider button.wp-hero-dot,
.whiteplate-home .wp-hero-dot {
    display: block !important;
    width: 10px !important;
    height: 10px !important;
    min-width: 10px !important;
    min-height: 10px !important;
    max-width: 10px !important;
    max-height: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    aspect-ratio: 1 / 1 !important;
    line-height: 0 !important;
    font-size: 0 !important;
    background: #cbd5e1 !important;
    box-shadow: none !important;
    flex: 0 0 10px !important;
    box-sizing: border-box !important;
    cursor: pointer;
    overflow: hidden;
}
.whiteplate-front .whiteplate-home .wp-hero-slider button.wp-hero-dot.is-active,
.whiteplate-home .wp-hero-dot.is-active {
    width: 10px !important;
    height: 10px !important;
    min-width: 10px !important;
    min-height: 10px !important;
    max-width: 10px !important;
    max-height: 10px !important;
    border-radius: 50% !important;
    background: var(--wp-emerald) !important;
    transform: scale(1.25);
}
.whiteplate-home .wp-hero-slider:has(.wp-hero-slide[data-accent="teal"].is-active) .wp-hero-dot.is-active { background: var(--wp-teal) !important; }
.whiteplate-home .wp-hero-slider:has(.wp-hero-slide[data-accent="amber"].is-active) .wp-hero-dot.is-active { background: var(--wp-amber) !important; }
.whiteplate-home .wp-hero-slider:has(.wp-hero-slide[data-accent="rose"].is-active) .wp-hero-dot.is-active { background: #FF5F23 !important; }
.whiteplate-home .wp-hero-slider:has(.wp-hero-slide[data-accent="ink"].is-active) .wp-hero-dot.is-active { background: #333333 !important; }

.whiteplate-front .whiteplate-home .wp-hero-slider button.wp-hero-arrow,
.whiteplate-front .whiteplate-home .wp-hero-slider button.wp-hero-pause,
.whiteplate-home .wp-hero-arrow,
.whiteplate-home .wp-hero-pause {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--wp-line) !important;
    border-radius: 50% !important;
    aspect-ratio: 1 / 1 !important;
    line-height: 0 !important;
    font-size: 0 !important;
    background: var(--wp-surface, #fff) !important;
    color: var(--wp-ink) !important;
    cursor: pointer;
    box-shadow: none !important;
    flex: 0 0 36px !important;
    box-sizing: border-box !important;
    overflow: hidden;
}
.whiteplate-home .wp-hero-arrow::before,
.whiteplate-home .wp-hero-arrow::after,
.whiteplate-home .wp-hero-pause::before,
.whiteplate-home .wp-hero-pause::after {
    content: none !important;
    display: none !important;
}
.whiteplate-home .wp-hero-arrow:hover,
.whiteplate-home .wp-hero-pause:hover {
    background: var(--wp-emerald) !important;
    border-color: var(--wp-emerald) !important;
    color: #fff !important;
}
.whiteplate-home .wp-hero-arrow svg {
    width: 14px !important;
    height: 14px !important;
    display: block !important;
    fill: none !important;
    stroke: currentColor !important;
}
.whiteplate-home .wp-hero-pause[aria-pressed="true"] {
    background: var(--wp-ink) !important;
    border-color: var(--wp-ink) !important;
    color: #fff !important;
}
.whiteplate-home .wp-hero-pause [data-wp-hero-pause-icon] {
    display: block;
    width: 8px;
    height: 10px;
    border-inline-start: 3px solid currentColor;
    border-inline-end: 3px solid currentColor;
}
.whiteplate-home .wp-hero-pause[aria-pressed="true"] [data-wp-hero-pause-icon] {
    width: 0;
    height: 0;
    border-inline-start: 8px solid currentColor;
    border-inline-end: 0;
    border-block-start: 5px solid transparent;
    border-block-end: 5px solid transparent;
}

@keyframes wp-hero-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (max-width: 1050px) {
    .whiteplate-home .wp-hero.wp-hero-slider,
    .whiteplate-home .wp-hero-slides,
    .whiteplate-home .wp-hero-slide {
        height: min(68vh, 640px);
        min-height: min(68vh, 640px);
    }
    .whiteplate-home .wp-hero-layout--split .wp-hero-stage {
        grid-template-columns: 1fr 1fr;
        padding-top: 24px;
    }
    .whiteplate-home .wp-hero-title-oneline { white-space: normal; }
    .whiteplate-home .wp-hero-panel { width: min(46vw, 420px); }
}
@media (max-width: 767px) {
    .whiteplate-home .wp-hero.wp-hero-slider,
    .whiteplate-home .wp-hero-slides,
    .whiteplate-home .wp-hero-slide {
        height: min(78vh, 680px);
        min-height: 520px;
    }
    .whiteplate-home .wp-hero-layout--split .wp-hero-stage {
        grid-template-columns: 1fr;
        width: calc(100% - 28px);
        padding: 22px 0 80px;
    }
    .whiteplate-home .wp-hero-layout--split .wp-hero-visual img {
        width: 100%;
        height: 220px;
    }
    .whiteplate-home .wp-hero-overlay-inner { width: calc(100% - 28px); padding: 28px 0 92px; }
    .whiteplate-home .wp-hero-layout--overlay h1 { font-size: clamp(28px, 9vw, 40px); }
    .whiteplate-home .wp-hero-layout--overlay .wp-hero-actions {
        position: static;
        margin-top: 18px;
    }
    .whiteplate-home .wp-hero-editorial-grid {
        grid-template-columns: 1fr;
        height: auto;
        flex: 1;
    }
    .whiteplate-home .wp-hero-layout--editorial .wp-hero-copy { padding: 22px 16px 8px; }
    .whiteplate-home .wp-hero-panel {
        inset: auto 0 96px auto;
        width: 72%;
        height: 42%;
        border-radius: 20px 0 0 20px;
    }
    .whiteplate-home .wp-hero-visual--overlap { padding: 0 16px 8px; }
    .whiteplate-home .wp-hero-visual--overlap img { width: 70%; height: 200px; }
    .whiteplate-home .wp-hero-controls { bottom: 12px; }
    .whiteplate-home .wp-hero-stats--strip ul { gap: 18px; padding: 10px 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .whiteplate-home .wp-hero-slide,
    .whiteplate-home .wp-hero-slider[data-fx="fade"] .wp-hero-slide,
    .whiteplate-home .wp-hero-slider[data-fx="slide-right"] .wp-hero-slide,
    .whiteplate-home .wp-hero-slider[data-fx="slide-up"] .wp-hero-slide,
    .whiteplate-home .wp-hero-slider[data-fx="zoom-soft"] .wp-hero-slide {
        transform: none !important;
        transition: opacity .2s ease, visibility .2s ease !important;
    }
    .whiteplate-home .wp-hero-layout--split .wp-hero-visual img {
        animation: none !important;
    }
}

/* ---- Featured category icon carousel (equal tiles, dedicated icons) ---- */
.whiteplate-home .wp-category-mosaic { display: none !important; }
.whiteplate-home .wp-cat-rail-track {
    --rail-gap: 12px;
    --rail-cols: 7;
    --rail-peek: 40px;
    display: flex;
    flex-wrap: nowrap;
    gap: var(--rail-gap);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: none;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    cursor: grab;
    padding: 4px 2px 10px;
    touch-action: pan-x;
}
.whiteplate-home .wp-cat-rail-track::-webkit-scrollbar { width: 0; height: 0; display: none; }
.whiteplate-home .wp-cat-rail-track.is-dragging { cursor: grabbing; scroll-behavior: auto; user-select: none; }
.whiteplate-home .wp-cat-rail-track > .wp-category-item {
    flex: 0 0 calc((100% - (var(--rail-cols) - 1) * var(--rail-gap) - var(--rail-peek)) / var(--rail-cols));
    min-width: 100px;
    max-width: 148px;
    text-align: center;
    scroll-snap-align: none;
}
.whiteplate-home .wp-category-item .wp-category-image {
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    margin: 0 auto 10px;
    overflow: hidden;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--wp-line);
    box-shadow: var(--wp-shadow-sm);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.whiteplate-home .wp-category-item .wp-category-image img {
    width: 68%;
    height: 68%;
    object-fit: contain;
    background: transparent;
}
.whiteplate-home .wp-category-item:hover .wp-category-image {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--wp-emerald) 42%, var(--wp-line));
    box-shadow: var(--wp-glow);
}
.whiteplate-home .wp-category-item strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
    color: var(--wp-ink);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}
.whiteplate-home .wp-category-item:hover strong { font-weight: 800; }

.whiteplate-home .wp-category-banner:hover {
    border-color: color-mix(in srgb, var(--wp-teal) 45%, var(--wp-line));
}

/* ---- Rails: free scroll, feature card, no paging snap ---- */
.whiteplate-home .wp-products-section { padding-block: 32px 8px; }
.whiteplate-home .wp-rail-track {
    --rail-gap: 16px;
    --rail-cols: 4;
    --rail-peek: 52px;
    --rail-feature: 1.22;
    scroll-snap-type: none;
    cursor: grab;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    padding: 6px 2px 12px;
}
.whiteplate-home .wp-rail-track.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    user-select: none;
}
.whiteplate-home .wp-rail-track > .wp-product-card {
    flex: 0 0 calc((100% - (var(--rail-cols) - 1) * var(--rail-gap) - var(--rail-peek)) / (var(--rail-cols) + 0.22));
    scroll-snap-align: none;
}
.whiteplate-home .wp-rail-track > .wp-product-card--feature {
    flex-basis: calc(((100% - (var(--rail-cols) - 1) * var(--rail-gap) - var(--rail-peek)) / (var(--rail-cols) + 0.22)) * var(--rail-feature));
}

.whiteplate-home .wp-home-section .wp-rail-tools .wp-rail-btn {
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, opacity .2s ease !important;
}
.whiteplate-home .wp-home-section .wp-rail-tools .wp-rail-btn:hover:not(:disabled) {
    transform: scale(1.08);
}

/* ---- Product cards ---- */
.wp-product-card {
    border: 1px solid var(--wp-line);
    border-radius: 16px;
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.wp-product-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--wp-amber) 40%, var(--wp-line));
    box-shadow: var(--wp-lift-shadow);
}
.wp-product-image {
    aspect-ratio: 1 / 1;
    background: #fff;
    border-bottom: 0;
}
.wp-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    filter: drop-shadow(0 10px 18px rgba(104, 112, 73, .1));
    transition: transform .45s ease;
}
.wp-product-card:hover .wp-product-image img { transform: scale(1.04); }
.wp-product-content { padding: 12px 12px 14px; }
.wp-product-cat {
    display: inline-flex;
    max-width: 100%;
    margin-bottom: 8px;
    padding: 3px 9px;
    border: 1px solid var(--wp-line);
    border-radius: 999px;
    background: var(--wp-ivory);
    color: var(--wp-muted);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wp-card-badge,
.wp-card-badge--bestseller,
.wp-card-badge--new {
    display: none !important;
}
.wp-product-content h3 {
    min-height: 0;
    margin: 0 0 4px;
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.wp-product-sku {
    display: block;
    margin-bottom: 8px;
    color: var(--wp-muted);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .2px;
}
.wp-product-price { color: var(--wp-ink); font-size: 14.5px; font-weight: 800; }
.wp-product-price ins { color: var(--wp-sale); }
.wp-sale-badge {
    background: var(--wp-sale);
    top: 10px;
    inset-inline-start: auto;
    inset-inline-end: 10px;
}
.wp-card-badge {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .2px;
}
.wp-card-badge--bestseller {
    background: var(--wp-amber-soft);
    color: var(--wp-amber-2);
}
.wp-card-badge--new {
    background: var(--wp-teal-soft);
    color: var(--wp-teal-2);
}
.wp-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 12px;
    background: linear-gradient(180deg, transparent 42%, rgba(15, 23, 42, .38));
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
}
.wp-product-card:hover .wp-card-overlay { opacity: 1; }
.wp-card-overlay .wp-card-action {
    pointer-events: auto;
    position: relative;
    overflow: hidden;
    color: #fff !important;
    border-color: transparent;
    background: transparent;
}
.wp-card-overlay .wp-card-action::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--wp-emerald);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform .28s ease;
    z-index: -1;
}
.wp-product-card:hover .wp-card-overlay .wp-card-action::before,
.wp-card-overlay .wp-card-action:hover::before { transform: scaleX(1); }
.wp-card-action {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.wp-card-action::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--wp-emerald);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform .28s ease;
    z-index: -1;
}
/* Same RTL wipe (origin right) for card-hover and button-hover — incl. --cart */
.wp-product-card:hover .wp-card-action,
.wp-product-card:hover .wp-card-action--bar,
.wp-product-card:hover .wp-card-action--cart,
.wp-card-action:hover {
    color: #fff !important;
    border-color: var(--wp-emerald);
    background: transparent;
}
.wp-product-card:hover .wp-card-action::before,
.wp-product-card:hover .wp-card-action--bar::before,
.wp-product-card:hover .wp-card-action--cart::before,
.wp-card-action:hover::before { transform: scaleX(1); }
.wp-product-bottom { padding-top: 10px; }

/* ---- Editorial banner between rails ---- */
.wp-editorial-banner {
    width: 100%;
    margin: 8px 0;
    padding: 28px max(24px, calc((100vw - 1320px) / 2));
    background:
        linear-gradient(105deg, rgba(254, 243, 199, .72), rgba(204, 251, 241, .45) 55%, rgba(234, 241, 254, .7));
    border-block: 1px solid color-mix(in srgb, var(--wp-amber) 22%, var(--wp-line));
}
.wp-editorial-banner-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    max-width: 720px;
}
.wp-editorial-banner .wp-eyebrow { display: block; color: var(--wp-amber-2); margin: 0; }
.wp-editorial-banner h2 {
    margin: 0;
    color: var(--wp-ink);
    font: 800 clamp(18px, 2.2vw, 26px)/1.35 var(--wp-font);
}
.wp-editorial-banner p {
    margin: 0 0 8px;
    color: var(--wp-body);
    font-size: 13.5px;
    line-height: 1.9;
}
.wp-editorial-banner .wp-button { margin: 0; }

/* ---- Brands ---- */
.whiteplate-home .wp-brands { padding-block: 36px 18px; }
.whiteplate-home .wp-brand-chip {
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease;
}
.whiteplate-home .wp-brand-chip:hover {
    transform: scale(1.04);
    border-color: var(--wp-teal);
    background: color-mix(in srgb, var(--wp-teal-soft) 55%, #fff);
    box-shadow: 0 8px 18px rgba(13, 148, 136, .12);
}

/* ---- Trust compact strip ---- */
.whiteplate-home .wp-trust-bar.wp-trust-bar--strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    width: min(1320px, calc(100% - 48px));
    margin: 28px auto 12px;
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--wp-ivory);
    border: 1px solid var(--wp-line);
    box-shadow: none;
}
.whiteplate-home .wp-trust-bar--strip .wp-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 180px;
    padding: 4px 8px;
    border: 0;
    border-left: 0;
}
.whiteplate-home .wp-trust-ico {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 800;
}
.whiteplate-home .wp-trust-item--teal .wp-trust-ico { background: var(--wp-teal-soft); color: var(--wp-teal-2); }
.whiteplate-home .wp-trust-item--amber .wp-trust-ico { background: var(--wp-amber-soft); color: var(--wp-amber-2); }
.whiteplate-home .wp-trust-item--blue .wp-trust-ico { background: var(--wp-emerald-soft); color: var(--wp-emerald-2); }
.whiteplate-home .wp-trust-bar--strip strong { font-size: 12.5px; }
.whiteplate-home .wp-trust-bar--strip small { font-size: 10px; }

@media (max-width: 1050px) {
    .whiteplate-home .wp-hero-layout--split .wp-hero-stage { grid-template-columns: 1fr 1fr; padding-top: 28px; }
    .whiteplate-home .wp-hero-layout--split .wp-hero-visual { margin-inline-start: -20px; min-height: 300px; }
    .whiteplate-home .wp-hero-layout--split .wp-hero-visual img { height: 300px; }
    .whiteplate-home .wp-category-mosaic { grid-template-columns: repeat(4, 1fr); }
    .whiteplate-home .wp-rail-track { --rail-cols: 3; }
}
@media (max-width: 767px) {
    .whiteplate-home .wp-home-section { padding-inline: 14px; padding-block: 28px 8px; }
    .whiteplate-home .wp-hero-stage {
        grid-template-columns: 1fr;
        padding: 28px 16px 12px;
    }
    .whiteplate-home .wp-hero-layout--split .wp-hero-visual {
        margin: 0;
        min-height: 240px;
    }
    .whiteplate-home .wp-hero-layout--split .wp-hero-visual img { width: 100%; height: 240px; }
    .whiteplate-home .wp-hero-stats ul { gap: 22px; padding: 12px 16px; }
    .whiteplate-home .wp-hero-controls { bottom: 16px; }

    .whiteplate-home .wp-cat-rail-track { --rail-cols: 4; --rail-peek: 28px; }
    .whiteplate-home .wp-category-item .wp-category-image { width: 78px; height: 78px; }
    .whiteplate-home .wp-rail-track { --rail-cols: 2; --rail-peek: 36px; --rail-gap: 12px; }
    .whiteplate-home .wp-card-overlay {
        opacity: 1;
        background: linear-gradient(180deg, transparent 62%, rgba(15, 23, 42, .32));
        padding: 8px;
    }
    .whiteplate-home .wp-card-overlay .wp-card-action { padding: 6px 12px; font-size: 11px; }
    .whiteplate-home .wp-trust-bar.wp-trust-bar--strip {
        width: calc(100% - 28px);
        border-radius: 18px;
        padding: 10px 12px;
    }
    .whiteplate-home .wp-editorial-banner { padding: 22px 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .whiteplate-home * { scroll-behavior: auto !important; }
    .whiteplate-home .wp-hero-slide {
        transform: none !important;
        transition: opacity .35s ease, visibility .35s ease !important;
    }
    .whiteplate-home .wp-hero-slide.is-leaving {
        transform: none !important;
    }

    .whiteplate-home .wp-hero-layout--split .wp-hero-visual img,
    .whiteplate-home .wp-reveal,
    .whiteplate-home .wp-product-card,
    .whiteplate-home .wp-product-image img,
    .whiteplate-home .wp-category-item .wp-category-image,
    .whiteplate-home .wp-brand-chip {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
    .whiteplate-home .wp-brand-track {
        animation-duration: 80s;
    }
    .whiteplate-home .wp-reveal { opacity: 1; }
    .whiteplate-home .wp-product-card:hover .wp-product-image img { transform: none; }
}

.wp-shop .wp-product-card:hover,
.whiteplate-shop-surface .wp-product-card:hover {
    border-color: color-mix(in srgb, var(--wp-amber) 38%, var(--wp-line));
}

@media (min-width: 768px) {
    .wp-product-bottom .wp-card-action--bar { display: none; }
}
@media (max-width: 767px) {
    .wp-product-card .wp-card-overlay { opacity: 1; }
}

/* Shop filter drawer: dim + blur the page behind (project popup rule). */
.wp-filters-overlay,
.wp-shop-filters-overlay {
    background: rgba(15, 23, 42, .52);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* =========================================================================
   v0.15.1 — Two-pane mega flyout (RTL: parents RIGHT, children LEFT)
   Keeps hover-intent (300ms JS + CSS hover bridge). Dense, no empty void.
   ========================================================================= */

@media (min-width: 1025px) {
    .wp-mega-item .wp-mega-panel.wp-mega-panel--flyout {
        max-height: calc(100vh - 160px);
        overflow: hidden !important;
        display: flex;
        flex-direction: column;
    }
    .wp-mega-flyout {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        min-height: min(420px, calc(100vh - 220px));
        max-height: calc(100vh - 208px);
        overflow: hidden;
    }
    .wp-mega-parents {
        flex: 0 0 268px;
        width: 268px;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 10px 8px;
        border-inline-end: 1px solid var(--wp-line);
        background: linear-gradient(180deg, #fff, var(--wp-ivory));
        scrollbar-width: thin;
        scrollbar-color: var(--wp-emerald) transparent;
    }
    .wp-mega-parent {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        min-height: 44px;
        margin: 0 0 2px;
        padding: 7px 10px;
        border-radius: 10px;
        border: 1px solid transparent;
        color: var(--wp-ink);
        font-size: 13px;
        font-weight: 700;
        line-height: 1.35;
        text-decoration: none;
        transition: background .16s ease, border-color .16s ease, color .16s ease;
    }
    .wp-mega-parent-name {
        flex: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .wp-mega-parent .wp-mega-count {
        min-width: 18px;
        padding: 1px 6px;
        font-size: 9.5px;
        background: #fff;
        border: 1px solid var(--wp-line);
    }
    .wp-mega-parent-chevron {
        flex: 0 0 auto;
        width: 7px;
        height: 7px;
        margin-inline-start: 2px;
        border-inline-end: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(135deg);
        opacity: .45;
        transition: transform .16s ease, opacity .16s ease;
    }
    .wp-mega-parent:hover {
        background: #fff;
        border-color: var(--wp-line);
        color: var(--wp-emerald);
    }
    .wp-mega-parent.is-active {
        background: var(--wp-emerald-soft);
        border-color: color-mix(in srgb, var(--wp-emerald) 28%, var(--wp-line));
        color: var(--wp-emerald-2);
        box-shadow: inset -3px 0 0 var(--wp-emerald);
    }
    .wp-mega-parent.is-active .wp-mega-parent-chevron {
        opacity: 1;
        transform: rotate(135deg) scale(1.1);
    }
    .wp-mega-children-wrap {
        position: relative;
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
        background: #fff;
    }
    .wp-mega-pane {
        position: absolute;
        inset: 0;
        display: none;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 16px 20px 18px;
        scrollbar-width: thin;
    }
    .wp-mega-pane.is-active {
        display: block !important;
        animation: wp-mega-pane-in .18s ease;
    }
    .wp-mega-pane-head {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-bottom: 14px;
        padding: 12px 14px;
        border-radius: 16px;
        background: linear-gradient(135deg, var(--wp-ivory), #fff 60%);
        border: 1px solid var(--wp-line);
    }
    .wp-mega-pane-copy h3 {
        margin: 0 0 4px;
        color: var(--wp-ink);
        font: 800 18px/1.3 var(--wp-font);
    }
    .wp-mega-pane-copy p {
        margin: 0 0 8px;
        color: var(--wp-muted);
        font-size: 12px;
        font-weight: 600;
    }
    .wp-mega-pane-cta {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: var(--wp-emerald);
        font-size: 12.5px;
        font-weight: 800;
    }
    .wp-mega-pane-cta:hover { color: var(--wp-emerald-2); }
    .wp-mega-subs {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 4px 12px;
    }
    .wp-mega-subs .wp-mega-sub {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        padding: 8px 10px;
        border-radius: 10px;
        font-size: 13px;
        color: var(--wp-body);
        font-weight: 600;
    }
    .wp-mega-subs .wp-mega-sub:hover {
        background: var(--wp-emerald-soft);
        color: var(--wp-emerald);
    }
    .wp-mega-pane.is-active .wp-mega-sub {
        animation: wp-mega-sub-in .18s ease both;
    }
    .wp-mega-pane.is-active .wp-mega-sub:nth-child(1) { animation-delay: 0ms; }
    .wp-mega-pane.is-active .wp-mega-sub:nth-child(2) { animation-delay: 25ms; }
    .wp-mega-pane.is-active .wp-mega-sub:nth-child(3) { animation-delay: 50ms; }
    .wp-mega-pane.is-active .wp-mega-sub:nth-child(4) { animation-delay: 75ms; }
    .wp-mega-pane.is-active .wp-mega-sub:nth-child(5) { animation-delay: 100ms; }
    .wp-mega-pane.is-active .wp-mega-sub:nth-child(6) { animation-delay: 125ms; }
    .wp-mega-pane.is-active .wp-mega-sub:nth-child(7) { animation-delay: 150ms; }
    .wp-mega-pane.is-active .wp-mega-sub:nth-child(8) { animation-delay: 175ms; }
    .wp-mega-pane.is-active .wp-mega-sub:nth-child(n+9) { animation-delay: 200ms; }
    .wp-mega-pane.is-active .wp-mega-visual--lg {
        animation: wp-mega-icon-in .22s ease;
    }
    .wp-mega-grid { display: none !important; }
}

@keyframes wp-mega-pane-in {
    from { opacity: 0; transform: translateX(-8px); }
    to { opacity: 1; transform: none; }
}
@keyframes wp-mega-sub-in {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: none; }
}
@keyframes wp-mega-icon-in {
    from { opacity: .4; transform: scale(.92); }
    to { opacity: 1; transform: scale(1); }
}

.wp-mega-visual {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    overflow: hidden;
    box-sizing: border-box;
    background: #fffef8;
    border: 1px solid var(--wp-line);
}
.wp-mega-visual svg { width: 72%; height: 72%; display: block; }
.wp-mega-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center;
    background: transparent;
}
.wp-mega-visual--xs {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    padding: 2px;
    border-radius: 6px;
}
.wp-mega-visual--sm {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    padding: 2px;
    border-radius: 7px;
}
.wp-mega-visual--lg {
    width: 88px;
    height: 88px;
    min-width: 88px;
    min-height: 88px;
    padding: 10px;
    border-radius: 18px;
    background: #fffef8;
    box-shadow: var(--wp-shadow-sm);
}
.wp-mega-visual--lg svg { width: 58px; height: 58px; }
.wp-mega-visual--svg.wp-mega-visual--teal { color: var(--wp-teal); }
.wp-mega-visual--svg.wp-mega-visual--amber { color: var(--wp-amber); }
.wp-mega-visual--svg.wp-mega-visual--blue { color: var(--wp-emerald); }
.wp-mega-visual--lg.wp-mega-visual--teal { box-shadow: 0 10px 24px rgba(13, 148, 136, .14); }
.wp-mega-visual--lg.wp-mega-visual--amber { box-shadow: 0 10px 24px rgba(217, 119, 6, .14); }
.wp-mega-visual--lg.wp-mega-visual--blue { box-shadow: 0 10px 24px rgba(104, 112, 73, .14); }

@media (min-width: 1025px) and (max-width: 1280px) {
    .wp-mega-subs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .wp-mega-parents { flex-basis: 244px; width: 244px; }
}
@media (min-width: 1500px) {
    .wp-mega-subs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Mobile drawer: stacked parents + active pane (same flyout data as desktop) */
@media (max-width: 1024px) {
    .wp-mega-panel--flyout {
        background: #fff;
    }
    .wp-mega-flyout {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .wp-mega-parents {
        display: flex;
        flex-direction: column;
        padding: 6px 10px 4px;
        border-bottom: 1px solid var(--wp-line);
        max-height: none;
    }
    .wp-mega-parent {
        display: flex;
        align-items: center;
        gap: 10px;
        min-height: 44px;
        padding: 10px 12px;
        border-radius: 10px;
        color: var(--wp-ink);
        font-size: 13.5px;
        font-weight: 700;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
    }
    .wp-mega-parent.is-active {
        background: var(--wp-emerald-soft);
        color: var(--wp-emerald-2);
    }
    .wp-mega-parent-name { flex: 1; min-width: 0; }
    .wp-mega-parent-chevron {
        width: 7px; height: 7px;
        border-inline-end: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        opacity: .5;
    }
    .wp-mega-parent.is-active .wp-mega-parent-chevron { transform: rotate(-135deg); }
    .wp-mega-children-wrap {
        padding: 8px 12px 12px;
        min-height: 0;
    }
    .wp-mega-pane { display: none; }
    .wp-mega-pane.is-active {
        display: block !important;
        position: static;
        overflow: visible;
    }
    .wp-mega-pane-head {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 10px;
        padding: 10px 12px;
        border-radius: 14px;
        background: var(--wp-ivory);
        border: 1px solid var(--wp-line);
    }
    .wp-mega-visual--lg { width: 72px; height: 72px; min-width: 72px; min-height: 72px; border-radius: 16px; padding: 8px; }
    .wp-mega-visual--lg svg { width: 36px; height: 36px; }
    .wp-mega-pane-copy h3 { margin: 0 0 2px; font: 800 15px/1.3 var(--wp-font); }
    .wp-mega-pane-copy p { margin: 0 0 6px; font-size: 11.5px; color: var(--wp-muted); }
    .wp-mega-subs { display: flex; flex-direction: column; gap: 0; }
    .wp-mega-subs .wp-mega-sub { padding: 9px 8px; font-size: 13px; }
    .wp-mega-all { margin: 8px 12px 12px; border-radius: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .wp-mega-pane.is-active,
    .wp-mega-pane.is-active .wp-mega-sub,
    .wp-mega-pane.is-active .wp-mega-visual--lg {
        animation: none !important;
    }
}


/* =========================================================================
   Header search popup (one UX — hide WoodMart search overlay)
   ========================================================================= */
.wd-search-dropdown,
.wd-search-full-screen,
.wd-fs-search,
.wd-popup.wd-search-popup,
.wd-search-area,
.mfp-content .wd-search-form,
body.search-fullscreen-opened .mfp-bg,
body.search-fullscreen-opened .mfp-wrap { display: none !important; }

.wp-search[hidden] { display: none !important; }
#wp-search.wp-search,
#wp-search.wp-search * { box-sizing: border-box; }
#wp-search.wp-search {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 7vh 16px 24px;
    font-family: var(--wp-font);
    direction: rtl;
}
#wp-search .wp-search-backdrop {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: rgba(15, 23, 42, .55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
#wp-search .wp-search-panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: min(680px, 100%);
    max-height: min(86vh, 820px);
    overflow: hidden;
    padding: 24px 28px 26px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, .28);
    border: 1px solid var(--wp-line);
}
#wp-search .wp-search-accent {
    position: absolute;
    top: 0; right: 0; left: 0;
    height: 4px;
    border-radius: 22px 22px 0 0;
    background: linear-gradient(90deg, var(--wp-amber), var(--wp-emerald));
    pointer-events: none;
}
#wp-search .wp-search-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex: 0 0 auto;
    padding-top: 4px;
    position: relative;
    z-index: 2;
}
#wp-search .wp-search-title {
    margin: 0;
    color: var(--wp-ink);
    font: 800 20px/1.3 var(--wp-font);
}
#wp-search .wp-search-close,
#wp-search button.wp-search-close {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    max-width: 36px;
    max-height: 36px;
    padding: 0;
    margin: 0;
    line-height: 0;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--wp-line);
    border-radius: 50%;
    background: #fff;
    color: var(--wp-ink);
    cursor: pointer;
    flex: 0 0 36px;
}
#wp-search .wp-search-close:hover { border-color: var(--wp-emerald); color: var(--wp-emerald); }
#wp-search .wp-search-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    position: relative;
    z-index: 1;
}
#wp-search .wp-search-row { display: block; width: 100%; position: relative; z-index: 2; }
#wp-search .wp-search-field {
    display: block;
    margin: 0;
    width: 100%;
}
#wp-search .wp-search-input,
#wp-search input.wp-search-input[type="search"] {
    position: relative;
    z-index: 3;
    display: block;
    width: 100%;
    min-width: 0;
    height: 52px;
    min-height: 52px;
    max-height: 52px;
    padding: 0 18px;
    margin: 0;
    border: 1px solid var(--wp-line);
    border-radius: 14px;
    background: var(--wp-ivory);
    color: var(--wp-ink);
    font: 600 16px/1.2 var(--wp-font);
    outline: none;
    box-shadow: none;
}
#wp-search .wp-search-input:focus {
    border-color: var(--wp-emerald);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(104, 112, 73, .12);
}
#wp-search .wp-search-filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
    margin: 0;
    position: relative;
    z-index: 1;
}
#wp-search .wp-search-select { display: block; min-width: 0; }
#wp-search .wp-search-select span,
#wp-search .wp-search-check span {
    display: block;
    margin-bottom: 6px;
    color: var(--wp-muted);
    font-size: 12px;
    font-weight: 700;
}
#wp-search .wp-search-select select,
#wp-search select[name="product_cat"],
#wp-search select[name="product_brand"] {
    display: block;
    width: 100%;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    padding: 0 12px;
    margin: 0;
    border: 1px solid var(--wp-line);
    border-radius: 10px;
    background: #fff;
    color: var(--wp-ink);
    font: 600 13px/1.2 var(--wp-font);
    position: relative;
    z-index: 1;
}
#wp-search .wp-search-check {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    min-height: 44px;
    padding: 0 12px;
    margin: 0;
    white-space: nowrap;
    border: 1px solid var(--wp-line);
    border-radius: 10px;
    background: #fff;
}
#wp-search .wp-search-check span { margin: 0; }
#wp-search .wp-search-well {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 140px;
    max-height: min(38vh, 280px);
    overflow: auto;
    overscroll-behavior: contain;
    padding: 12px 10px;
    margin: 0;
    border: 1px solid var(--wp-line);
    border-radius: 14px;
    background: var(--wp-ivory);
    position: relative;
    z-index: 0;
}
#wp-search .wp-search-status {
    margin: 0;
    padding: 18px 8px;
    color: var(--wp-muted);
    font-size: 13px;
    text-align: center;
}
#wp-search .wp-search-status[hidden] { display: none !important; }
#wp-search .wp-search-status.is-loading::before {
    content: "";
    display: inline-block;
    width: 12px; height: 12px;
    margin-left: 8px;
    border: 2px solid var(--wp-line);
    border-top-color: var(--wp-emerald);
    border-radius: 50%;
    animation: wp-search-spin .7s linear infinite;
    vertical-align: -2px;
}
@keyframes wp-search-spin { to { transform: rotate(360deg); } }
#wp-search .wp-search-results {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: static;
    inset: auto;
    max-height: none;
    overflow: visible;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
#wp-search .wp-search-results[hidden] { display: none !important; }
/* One product = one compact RTL line: [thumb · title · price] … category */
#wp-search .wp-search-hit {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border: 1px solid var(--wp-line);
    border-radius: 10px;
    color: var(--wp-ink);
    background: #fff;
    text-decoration: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
#wp-search .wp-search-hit:hover { border-color: var(--wp-emerald); box-shadow: var(--wp-shadow-sm); }
#wp-search .wp-search-hit-main {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
}
#wp-search .wp-search-hit-main:hover { color: inherit; }
#wp-search .wp-search-hit img,
#wp-search .wp-search-hit-ph,
#wp-search .wp-search-hit img.wp-search-thumb-ph {
    width: 28px;
    height: 28px;
    min-width: 28px;
    object-fit: contain;
    border-radius: 6px;
    background: #F0EDE6;
    flex: 0 0 28px;
}
#wp-search .wp-search-hit-ph {
    display: grid;
    place-items: center;
    color: var(--wp-emerald);
    font: 800 11px var(--wp-font);
    background: #F0EDE6
        url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' rx='8' fill='%23F0EDE6'/%3E%3Cpath fill='%23C8C2B6' d='M16 44l12-14 8 10 6-8 12 12H16z'/%3E%3Ccircle cx='24' cy='24' r='5' fill='%23C8C2B6'/%3E%3C/svg%3E")
        center / contain no-repeat;
}
#wp-search .wp-search-hit-main strong {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}
#wp-search .wp-search-hit-price {
    flex: 0 0 auto;
    color: var(--wp-muted);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
}
#wp-search .wp-search-hit-cat {
    flex: 0 0 auto;
    margin-inline-start: auto;
    max-width: 28%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-style: normal;
    font-size: 11px;
    font-weight: 600;
    color: var(--wp-emerald, #687049);
    line-height: 1.2;
    text-decoration: none;
}
#wp-search a.wp-search-hit-cat:hover {
    text-decoration: underline;
    color: var(--wp-emerald, #687049);
}
#wp-search .wp-search-hit-cat.is-plain {
    cursor: default;
}
#wp-search .wp-search-hit-cat[hidden] { display: none !important; }

/* WoodMart dropdown: one-line row — price then category at end (header.css owns 1-col grid) */
.wd-search-results .wp-wm-search-cat {
	position: relative;
	z-index: 2;
	display: inline-block;
	margin: 0;
	max-width: 28%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 11px;
	font-weight: 600;
	color: var(--wp-emerald, #687049);
	line-height: 1.2;
	text-decoration: none;
}
.wd-search-results a.wp-wm-search-cat:hover {
	text-decoration: underline;
}
.wd-search-results .wd-suggestion-content .price {
	display: flex;
	flex-direction: row;
	align-items: center;
	margin: 0;
	margin-inline-start: auto;
	gap: 8px;
	padding: 0;
}
.wd-search-results .wd-suggestion-content .price .amount {
	font-size: 11px;
	font-weight: 500;
	color: var(--wp-muted, #8A8276);
}
#wp-search .wp-search-foot {
    display: flex;
    justify-content: flex-start;
    flex: 0 0 auto;
    padding-top: 2px;
}
#wp-search .wp-search-submit,
#wp-search button.wp-search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 46px;
    min-height: 46px;
    max-height: 46px;
    padding: 0 28px;
    margin: 0;
    border: 0;
    border-radius: 999px;
    background: var(--wp-emerald);
    color: #fff;
    font: 800 14px/1 var(--wp-font);
    cursor: pointer;
}
#wp-search .wp-search-submit:hover { background: var(--wp-emerald-2); }
body.wp-search-lock { overflow: hidden; }

@media (max-width: 767px) {
    #wp-search.wp-search { padding: 0; align-items: stretch; }
    #wp-search .wp-search-panel {
        width: 100%;
        max-width: none;
        max-height: 100%;
        height: 100%;
        border-radius: 0;
        padding: 22px 16px 20px;
        gap: 14px;
    }
    #wp-search .wp-search-accent { border-radius: 0; }
    #wp-search .wp-search-filters {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    #wp-search .wp-search-check { height: 44px; }
    #wp-search .wp-search-well { max-height: none; flex: 1 1 auto; }
}

@media (max-width: 767px) {
    .whiteplate-home .wp-cat-rail-track { --rail-cols: 3; --rail-peek: 24px; }
}

/* =========================================================================
   v0.18.0 — Commercial motion system (transform/opacity only)
   Tasteful, shop-grade. Honors prefers-reduced-motion.
   ========================================================================= */

@keyframes wp-ken-burns {
    from { transform: scale(1); }
    to   { transform: scale(1.08); }
}
@keyframes wp-shimmer {
    0%, 62% { transform: translateX(-130%); }
    100%    { transform: translateX(130%); }
}
@keyframes wp-cta-nudge {
    0%, 100% { transform: translateX(0); }
    50%      { transform: translateX(-5px); }
}
@keyframes wp-rise-in {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: none; }
}
@keyframes wp-hit-in {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
}
@keyframes wp-bounce-subtle {
    0%, 100% { transform: translateY(0) scale(1); }
    40%      { transform: translateY(-5px) scale(1.06); }
    70%      { transform: translateY(-1px) scale(1.02); }
}
@keyframes wp-overlay-up {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes wp-icon-pop {
    from { opacity: .35; transform: scale(.84); }
    to   { opacity: 1; transform: scale(1); }
}

/* ---- Section / child reveal (IO + stagger) ---- */
.wp-reveal {
    opacity: 0;
    transform: translateY(16px);
}
.wp-reveal.is-in {
    opacity: 1;
    transform: none;
    transition: opacity .55s ease, transform .55s cubic-bezier(.22, 1, .36, 1);
    transition-delay: var(--wp-stagger, 0ms);
}
.whiteplate-home .wp-reveal {
    opacity: 0;
    transform: translateY(16px);
}
.whiteplate-home .wp-reveal.is-in {
    opacity: 1;
    transform: none;
    transition: opacity .55s ease, transform .55s cubic-bezier(.22, 1, .36, 1);
    transition-delay: var(--wp-stagger, 0ms);
}

/* ---- Page-wide hover: pills scale 1.03 + fill ---- */
.wp-button,
.wp-rail-all,
.wp-section-heading > a,
#wp-search .wp-search-submit,
.wp-card-action {
    transition: transform .22s cubic-bezier(.22, 1, .36, 1), box-shadow .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
}
.wp-button:hover,
.wp-rail-all:hover,
.wp-section-heading > a:hover,
#wp-search .wp-search-submit:hover {
    transform: scale(1.03);
}
.wp-button.primary:hover {
    transform: translateY(-2px) scale(1.03);
}
.wp-button.secondary:hover {
    transform: scale(1.03);
    background: var(--wp-emerald);
    border-color: var(--wp-emerald);
    color: #fff;
}

/* Text-link underline slide (RTL: grows from inline-start / right) */
.wp-product-content h3 a,
.wp-blog-grid h3 a,
.wp-shop-breadcrumb a,
.wp-footer-contact a,
.wp-footer-links a {
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-position: 100% 100%;
    background-size: 0 1.5px;
    transition: background-size .28s ease, color .2s ease;
}
.wp-product-content h3 a:hover,
.wp-blog-grid h3 a:hover,
.wp-shop-breadcrumb a:hover,
.wp-footer-contact a:hover,
.wp-footer-links a:hover {
    background-size: 100% 1.5px;
}
html[dir="ltr"] .wp-product-content h3 a,
html[dir="ltr"] .wp-blog-grid h3 a,
html[dir="ltr"] .wp-shop-breadcrumb a,
html[dir="ltr"] .wp-footer-contact a,
html[dir="ltr"] .wp-footer-links a {
    background-position: 0 100%;
}

/* ---- Hero: Ken Burns on overlay images while slide is active ---- */
.whiteplate-home .wp-hero-overlay-media {
    overflow: hidden;
}
.whiteplate-home .wp-hero-layout--overlay .wp-hero-overlay-media img {
    transform: scale(1);
    transform-origin: center center;
    will-change: transform;
}
.whiteplate-home .wp-hero-slide.is-active.wp-hero-layout--overlay .wp-hero-overlay-media img {
    animation: wp-ken-burns 16s ease-out forwards;
}

/* Primary CTA: shimmer + RTL-safe arrow nudge on a trailing chevron */
.whiteplate-home .wp-hero-actions .wp-button.primary {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.whiteplate-home .wp-hero-actions .wp-button.primary::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 36%, rgba(255, 255, 255, .3) 50%, transparent 64%);
    transform: translateX(-130%);
    animation: wp-shimmer 3.2s ease-in-out 1.1s infinite;
}
.whiteplate-home .wp-hero-actions .wp-button.primary svg,
.whiteplate-home .wp-hero-actions .wp-button.primary i {
    display: inline-block;
    animation: wp-cta-nudge 1.6s ease-in-out 1.4s infinite;
}

/* Dots / arrows: clearer hover pop */
.whiteplate-home .wp-hero-dot {
    transition: transform .2s cubic-bezier(.22, 1, .36, 1), background .2s ease, box-shadow .2s ease !important;
}
.whiteplate-home .wp-hero-dot:hover {
    transform: scale(1.45) !important;
    background: var(--wp-emerald) !important;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--wp-emerald) 22%, transparent) !important;
}
.whiteplate-home .wp-hero-dot.is-active:hover {
    transform: scale(1.4) !important;
}
.whiteplate-home .wp-hero-arrow,
.whiteplate-home .wp-hero-pause {
    transition: transform .2s cubic-bezier(.22, 1, .36, 1), background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease !important;
}
.whiteplate-home .wp-hero-arrow:hover,
.whiteplate-home .wp-hero-pause:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 8px 18px rgba(104, 112, 73, .22) !important;
}
.whiteplate-home .wp-hero-arrow:active,
.whiteplate-home .wp-hero-pause:active {
    transform: scale(0.92) !important;
}

/* ---- Mega menu: stronger panel enter, indicator, stagger, icons ---- */
.wp-mega-panel {
    transform: translateY(8px);
    transition: opacity .32s cubic-bezier(.22, 1, .36, 1), transform .32s cubic-bezier(.22, 1, .36, 1), visibility .32s;
}
.wp-mega-item.has-children:hover > .wp-mega-panel,
.wp-mega-item.has-children:focus-within > .wp-mega-panel,
.wp-mega-item.has-children.wp-mega-open > .wp-mega-panel {
    transform: translateY(0);
}
@keyframes wp-mega-pane-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}
@keyframes wp-mega-sub-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}
@keyframes wp-mega-icon-in {
    from { opacity: .35; transform: scale(.84); }
    to   { opacity: 1; transform: scale(1); }
}
@media (min-width: 1025px) {
    .wp-mega-parent {
        position: relative;
        transition: background .16s ease, border-color .16s ease, color .16s ease;
    }
    .wp-mega-parent::after {
        content: "";
        position: absolute;
        inset-block: 8px;
        inset-inline-start: 0;
        width: 3px;
        border-radius: 3px;
        background: var(--wp-emerald);
        transform: scaleY(0);
        transform-origin: center;
        transition: transform .22s cubic-bezier(.22, 1, .36, 1);
        pointer-events: none;
    }
    .wp-mega-parent.is-active {
        box-shadow: none;
    }
    .wp-mega-parent.is-active::after {
        transform: scaleY(1);
    }
    .wp-mega-pane.is-active {
        animation: wp-mega-pane-in .32s cubic-bezier(.22, 1, .36, 1);
    }
    .wp-mega-pane.is-active .wp-mega-sub {
        animation: wp-mega-sub-in .28s cubic-bezier(.22, 1, .36, 1) both;
    }
    .wp-mega-pane.is-active .wp-mega-sub:nth-child(1) { animation-delay: 0ms; }
    .wp-mega-pane.is-active .wp-mega-sub:nth-child(2) { animation-delay: 45ms; }
    .wp-mega-pane.is-active .wp-mega-sub:nth-child(3) { animation-delay: 90ms; }
    .wp-mega-pane.is-active .wp-mega-sub:nth-child(4) { animation-delay: 135ms; }
    .wp-mega-pane.is-active .wp-mega-sub:nth-child(5) { animation-delay: 180ms; }
    .wp-mega-pane.is-active .wp-mega-sub:nth-child(n+6) { animation-delay: 200ms; }
    .wp-mega-pane.is-active .wp-mega-visual--lg {
        animation: wp-mega-icon-in .34s cubic-bezier(.22, 1, .36, 1);
    }
}

/* ---- Search modal enter + result stagger ---- */
#wp-search .wp-search-backdrop {
    opacity: 0;
    transition: opacity 200ms ease;
}
#wp-search.is-open .wp-search-backdrop {
    opacity: 1;
}
#wp-search .wp-search-panel {
    opacity: 0;
    transform: scale(0.96);
    transform-origin: top center;
    transition: opacity 220ms cubic-bezier(.22, 1, .36, 1), transform 220ms cubic-bezier(.22, 1, .36, 1);
}
#wp-search.is-open .wp-search-panel {
    opacity: 1;
    transform: none;
}
#wp-search .wp-search-hit {
    animation: wp-hit-in .32s cubic-bezier(.22, 1, .36, 1) both;
}
#wp-search .wp-search-hit:nth-child(1) { animation-delay: 0ms; }
#wp-search .wp-search-hit:nth-child(2) { animation-delay: 45ms; }
#wp-search .wp-search-hit:nth-child(3) { animation-delay: 90ms; }
#wp-search .wp-search-hit:nth-child(4) { animation-delay: 135ms; }
#wp-search .wp-search-hit:nth-child(5) { animation-delay: 180ms; }
#wp-search .wp-search-hit:nth-child(n+6) { animation-delay: 200ms; }

/* ---- Product cards: lift 6px, shadow, zoom 1.06, overlay slide-up ---- */
.wp-product-card,
.whiteplate-home .wp-product-card,
.wp-shop .wp-product-card,
.whiteplate-shop-surface .wp-product-card {
    transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease, border-color .28s ease;
}
.wp-product-card:hover,
.whiteplate-home .wp-product-card:hover,
.wp-shop .wp-product-card:hover,
.whiteplate-shop-surface .wp-product-card:hover {
    transform: translateY(-6px);
    border-color: color-mix(in srgb, var(--wp-emerald) 32%, var(--wp-line));
    box-shadow: 0 18px 40px rgba(15, 23, 42, .14);
}
.wp-product-image img,
.whiteplate-home .wp-product-image img {
    transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}
.wp-product-card:hover .wp-product-image img,
.whiteplate-home .wp-product-card:hover .wp-product-image img {
    transform: scale(1.06);
}
.wp-card-overlay {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .32s cubic-bezier(.22, 1, .36, 1), transform .32s cubic-bezier(.22, 1, .36, 1);
}
.wp-product-card:hover .wp-card-overlay {
    opacity: 1;
    transform: translateY(0);
}
.wp-card-overlay .wp-card-action {
    transform: translateY(8px);
    transition: transform .34s cubic-bezier(.22, 1, .36, 1), background .2s ease, color .2s ease, border-color .2s ease;
}
.wp-product-card:hover .wp-card-overlay .wp-card-action {
    transform: translateY(0);
}
.wp-product-cat,
.wp-product-price,
.wp-sale-badge {
    transition: opacity .25s ease, color .25s ease, transform .25s ease;
}
.wp-product-cat { opacity: .82; }
.wp-product-card:hover .wp-product-cat {
    opacity: 1;
    color: var(--wp-emerald);
}
.wp-product-card:hover .wp-product-price {
    transform: translateY(-1px);
}

/* ---- Rails / category carousel / brand chips ---- */
.wp-home-section .wp-rail-tools .wp-rail-btn:active:not(:disabled),
.whiteplate-home .wp-home-section .wp-rail-tools .wp-rail-btn:active:not(:disabled) {
    transform: scale(0.92) !important;
}
.whiteplate-home .wp-category-item .wp-category-image,
.wp-category-item .wp-category-image {
    transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease, border-color .28s ease;
}
.whiteplate-home .wp-category-item:hover .wp-category-image,
.wp-category-item:hover .wp-category-image {
    transform: translateY(-4px) rotate(4deg) scale(1.08);
    border-color: color-mix(in srgb, var(--wp-emerald) 42%, var(--wp-line));
    box-shadow: var(--wp-glow);
}
.whiteplate-home .wp-brand-chip,
.wp-brand-chip {
    transition: transform .22s cubic-bezier(.22, 1, .36, 1), border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.whiteplate-home .wp-brand-chip:hover,
.wp-brand-chip:hover {
    transform: scale(1.07);
    border-color: var(--wp-emerald);
    background: color-mix(in srgb, var(--wp-emerald-soft) 70%, #fff);
    box-shadow: 0 10px 22px rgba(104, 112, 73, .14);
}

/* ---- Trust bar icon bounce ---- */
.whiteplate-home .wp-trust-ico,
.wp-trust-bar > div > span {
    transition: transform .22s ease;
}
.whiteplate-home .wp-trust-item:hover .wp-trust-ico,
.wp-trust-bar > div:hover > span {
    animation: wp-bounce-subtle .5s cubic-bezier(.22, 1, .36, 1);
}

/* ---- Banners ---- */
.wp-category-banner {
    transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease, border-color .28s ease;
}
.wp-category-banner:hover {
    transform: translateY(-6px);
}


@media (max-width: 767px) {
    .wp-card-overlay,
    .whiteplate-home .wp-card-overlay,
    .wp-product-card .wp-card-overlay {
        opacity: 1;
        transform: none;
    }
    .wp-card-overlay .wp-card-action {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wp-reveal,
    .whiteplate-home .wp-reveal,
    .wp-reveal.is-in,
    .whiteplate-home .wp-reveal.is-in {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
    .whiteplate-home .wp-hero-slide.is-active.wp-hero-layout--overlay .wp-hero-overlay-media img,
    .whiteplate-home .wp-hero-layout--split .wp-hero-visual img,
    .whiteplate-home .wp-hero-actions .wp-button.primary::after,
    .whiteplate-home .wp-hero-actions .wp-button.primary svg,
    .whiteplate-home .wp-hero-actions .wp-button.primary i,
    .wp-mega-pane.is-active,
    .wp-mega-pane.is-active .wp-mega-sub,
    .wp-mega-pane.is-active .wp-mega-visual--lg,
    #wp-search .wp-search-hit,
    .whiteplate-home .wp-trust-item:hover .wp-trust-ico,
    .wp-trust-bar > div:hover > span {
        animation: none !important;
    }
    .whiteplate-home .wp-hero-layout--overlay .wp-hero-overlay-media img {
        transform: none !important;
        will-change: auto;
    }
    #wp-search .wp-search-backdrop,
    #wp-search .wp-search-panel {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .wp-card-overlay,
    .wp-card-overlay .wp-card-action,
    .wp-product-card:hover .wp-card-overlay,
    .wp-product-card:hover .wp-card-overlay .wp-card-action {
        transform: none !important;
        transition: none !important;
    }
    .wp-product-card:hover .wp-product-image img {
        transform: none !important;
    }
    .wp-button:hover,
    .wp-button.primary:hover,
    .wp-rail-all:hover,
    .wp-section-heading > a:hover,
    .wp-product-card:hover,
    .wp-category-item:hover .wp-category-image,
    .wp-brand-chip:hover,
    .wp-category-banner:hover,
    .whiteplate-home .wp-hero-arrow:hover,
    .whiteplate-home .wp-hero-pause:hover,
    .whiteplate-home .wp-hero-dot:hover {
        transform: none !important;
    }
}

/* =========================================================================
   v0.18.1 — Homepage Marketplace 2 cards: show WoodMart ratings, don't
   restyle native .wd-product / .product-grid-item as Whiteplate chips.
   Shop archives still use .wp-product-card via content-product.php.
   ========================================================================= */
.whiteplate-front .star-rating,
.home .star-rating,
.elementor-page-12354 .star-rating {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.whiteplate-front .product-grid-item .star-rating,
.elementor-page-12354 .wd-product .star-rating {
    display: block !important;
}

/* Hide leftover Marketplace 2 blog row (Last articles). */
.whiteplate-front .elementor-element-2927e41,
.elementor-page-12354 .elementor-element-2927e41,
.whiteplate-front .elementor-element-5e37dcb,
.elementor-page-12354 .elementor-element-5e37dcb {
    display: none !important;
}

/* Homepage category tiles: dedicated PNG icons, not product photos. */
.whiteplate-front .wd-cats .wd-cat-thumb,
.elementor-page-12354 .wd-cats .wd-cat-thumb {
    background: #f6f3ed;
}
.whiteplate-front .wd-cats .wd-cat-image img,
.elementor-page-12354 .wd-cats .wd-cat-image img {
    object-fit: contain !important;
    object-position: center !important;
    padding: 12%;
    background: #f7f4ee;
}
.whiteplate-front .wd-cats .wp-cat-icon-svg,
.elementor-page-12354 .wd-cats .wp-cat-icon-svg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 120px;
    color: #2f5d52;
}
.whiteplate-front .wd-cats .wp-cat-icon-svg svg {
    width: 56%;
    height: 56%;
}

/* Brand marquee sits in Marketplace 2 page content (body is whiteplate-front). */
.whiteplate-front .wp-brands {
    padding-block: 40px 28px;
    margin-inline: auto;
    max-width: 1320px;
    padding-inline: 20px;
}
.whiteplate-front .wp-brands .wp-section-heading {
    margin-bottom: 18px;
}

