/**
 * site.css — the inner site (everything except the 3D home).
 *
 * Shop, the two brand-filtered shops, product, cart, checkout, account, and
 * the chrome around them (header.php / footer.php). Loaded after Astra and
 * WooCommerce so it restyles their markup; it never loads on the home
 * template, which has home-3d.css and its own runtime.
 *
 * Themes: the default is warm paper (light), the Automaton brand page is the
 * dark engineered surface from the home scenes, the Nizhal Hues page is paper
 * with the logo's hue ribbon. Each is a handful of tokens on <body>.
 */

/* ---- 1. Tokens ------------------------------------------------------------ */

body.site-chrome {
    --ink-rgb:   22, 32, 46;
    --paper-rgb: 247, 243, 236;

    --bg:      rgb(var(--paper-rgb));
    --bg-2:    #ffffff;
    --bg-3:    #efe9df;
    --text:    rgb(var(--ink-rgb));
    --muted:   rgba(var(--ink-rgb), 0.62);
    --faint:   rgba(var(--ink-rgb), 0.38);
    --line:    rgba(var(--ink-rgb), 0.12);
    --line-2:  rgba(var(--ink-rgb), 0.22);

    --accent:      #c8452a;
    --accent-ink:  #ffffff;
    --accent-soft: rgba(200, 69, 42, 0.10);

    --nh-1: #f4a54a;   /* Nizhal Hues ribbon: orange → coral → violet → teal */
    --nh-2: #e76f7d;
    --nh-3: #9a63c9;
    --nh-4: #2f8f93;

    --shadow-1: 0 1px 2px rgba(22, 32, 46, 0.06), 0 8px 24px rgba(22, 32, 46, 0.06);
    --shadow-2: 0 2px 6px rgba(22, 32, 46, 0.08), 0 18px 44px rgba(22, 32, 46, 0.12);

    --nav-h: 4.5rem;
    --gutter: clamp(1.25rem, 4vw, 3.5rem);
    --wrap: 1240px;
    --r: 14px;
    --r-s: 10px;

    --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --serif: 'Cormorant Garamond', 'Georgia', serif;
    --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Code', Consolas, monospace;
    --display: var(--font);

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* The plain (all-brands) shop has its own look, deliberately unlike either
   brand: cool white ground, slate ink, the home palette's violet as accent. */
body.site-chrome.brand-all {
    --ink-rgb:   24, 28, 44;
    --paper-rgb: 244, 246, 250;
    --bg:     rgb(var(--paper-rgb));
    --bg-2:   #ffffff;
    --bg-3:   #e8ecf4;
    --text:   rgb(var(--ink-rgb));
    --muted:  rgba(var(--ink-rgb), 0.6);
    --faint:  rgba(var(--ink-rgb), 0.36);
    --line:   rgba(var(--ink-rgb), 0.1);
    --line-2: rgba(var(--ink-rgb), 0.2);
    --accent:      #6d4de6;
    --accent-ink:  #ffffff;
    --accent-soft: rgba(109, 77, 230, 0.12);
    --shadow-1: 0 1px 2px rgba(24, 28, 44, 0.05), 0 8px 24px rgba(24, 28, 44, 0.06);
    --shadow-2: 0 2px 6px rgba(24, 28, 44, 0.08), 0 18px 44px rgba(24, 28, 44, 0.12);
}

body.site-chrome.brand-nizhal-hues {
    --display: var(--serif);
    --accent: #2f8f93;
    --accent-soft: rgba(47, 143, 147, 0.12);
}

body.site-chrome.brand-automaton {
    --ink-rgb:   232, 242, 248;
    --paper-rgb: 3, 6, 13;
    --bg:     rgb(var(--paper-rgb));
    --bg-2:   #0b1220;
    --bg-3:   #111a2b;
    --text:   rgb(var(--ink-rgb));
    --muted:  rgba(var(--ink-rgb), 0.58);
    --faint:  rgba(var(--ink-rgb), 0.34);
    --line:   rgba(var(--ink-rgb), 0.12);
    --line-2: rgba(var(--ink-rgb), 0.22);
    --accent:      #22e0ff;
    --accent-ink:  #03060d;
    --accent-soft: rgba(34, 224, 255, 0.14);
    --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-2: 0 2px 6px rgba(0, 0, 0, 0.5), 0 18px 44px rgba(0, 0, 0, 0.5);
    --display: var(--font);
}

/* ---- 2. Base (over Astra) ---------------------------------------------- */

body.site-chrome {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Astra's customizer CSS paints body and .ast-container grey with selectors
   that outrank a single class, hence the !important on these two. */
html body.site-chrome { background: var(--bg) !important; }
/* style.css still carries an old `body, .ast-container { color: #e0e0e0 !important }`;
   without this, text Astra renders unstyled (plain pages, policy copy, checkout
   order table) is near-invisible. Both selectors need it — content inherits from
   .ast-container, not body. */
html body.site-chrome,
html body.site-chrome .ast-container { color: var(--text) !important; }
body.site-chrome #page { background: var(--bg); }
body.site-chrome #content { padding-top: var(--nav-h); }
/* Astra lays .ast-container out as a flex row for sidebars; the hero must sit
   above the product column, so the container is a plain block here. */
body.site-chrome .ast-container { display: block !important; max-width: var(--wrap); padding: 0 var(--gutter); background: transparent !important; }
/* Astra's own 1240px cap on shop and other archive containers (.ast-woo-shop-archive .site-content > .ast-container) out-ranks the rule above */
body.site-chrome #content > .ast-container { max-width: var(--wrap); }
body.site-chrome #primary,
body.site-chrome .content-area { width: 100%; margin: 0; padding: 0; float: none; }
body.site-chrome .site-main { padding: 0 0 4rem; }

body.site-chrome a { color: var(--text); text-decoration: none; }
body.site-chrome h1, body.site-chrome h2, body.site-chrome h3, body.site-chrome h4 {
    color: var(--text);
    font-family: var(--display);
    letter-spacing: -0.01em;
    margin: 0 0 0.6em;
}
body.site-chrome ::selection { background: var(--accent-soft); }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* Buttons — one language everywhere, Astra's blue is gone. */
body.site-chrome .button,
body.site-chrome button.button,
body.site-chrome .single_add_to_cart_button,
body.site-chrome .checkout-button,
body.site-chrome .woocommerce-button,
body.site-chrome input[type="submit"],
body.site-chrome #submit,
body.site-chrome .comment-form .submit,
body.site-chrome .wc-block-components-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--accent);
    border-radius: 999px;
    background: var(--accent);
    color: var(--accent-ink);
    font: 600 0.72rem/1 var(--font);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.2s;
    box-shadow: none;
}
body.site-chrome .button:hover,
body.site-chrome button.button:hover,
body.site-chrome .single_add_to_cart_button:hover,
body.site-chrome .checkout-button:hover,
body.site-chrome .woocommerce-button:hover,
body.site-chrome input[type="submit"]:hover {
    background: var(--accent);
    color: var(--accent-ink);
    transform: translateY(-1px);
    box-shadow: var(--shadow-1);
}
body.site-chrome .button.added::after { display: none; }
body.site-chrome .button.loading { opacity: 0.6; }

/* Inputs */
body.site-chrome input[type="text"],
body.site-chrome input[type="email"],
body.site-chrome input[type="tel"],
body.site-chrome input[type="number"],
body.site-chrome input[type="password"],
body.site-chrome input[type="search"],
body.site-chrome textarea,
body.site-chrome select,
body.site-chrome .select2-container .select2-selection--single {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--line-2);
    border-radius: var(--r-s);
    background: var(--bg-2);
    color: var(--text);
    font: 400 0.95rem/1.4 var(--font);
    box-shadow: none;
    outline: none;
    transition: border-color 0.2s;
}
body.site-chrome input:focus,
body.site-chrome textarea:focus,
body.site-chrome select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
body.site-chrome .select2-container .select2-selection--single { height: auto; }
body.site-chrome .select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--text); line-height: 1.4; padding-left: 0; }
body.site-chrome label { font-size: 0.82rem; font-weight: 500; color: var(--muted); letter-spacing: 0.02em; }

/* ---- 3. Nav --------------------------------------------------------------- */

.st-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 var(--gutter);
    background: rgba(var(--paper-rgb), 0.82);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}

.st-nav__logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-right: auto;
    color: var(--text);
    transition: color 0.25s var(--ease-out);
}
.st-nav__logo:hover { color: var(--accent); }
.st-nav__logo::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-soft);
}
/* Nizhal Hues shop header lockup: nh symbol (hues sweep, as the old shop
   banner had), the text logo, then "by Automaton" at half its height. */
.st-nav__logo--nh { gap: 0.55rem; align-items: flex-end; }
.st-nav__logo--nh::before { display: none; }
.st-nh-mark { position: relative; display: block; height: 51px; aspect-ratio: 700 / 449; flex: none; }
.st-nav .st-nh-mark img { display: block; width: 100%; height: 100%; max-width: none; opacity: 0.35; }
.st-nh-sweep {
    position: absolute; inset: 0;
    background: linear-gradient(100deg, var(--nh-1), var(--nh-2), var(--nh-3), var(--nh-4), var(--nh-1)) 0 0 / 300% 100%;
    -webkit-mask: url(../img/brand/nizhalhues-mark-700.webp) center / contain no-repeat, linear-gradient(90deg, transparent 48%, #000 64%);
    -webkit-mask-composite: source-in;
    mask: url(../img/brand/nizhalhues-mark-700.webp) center / contain no-repeat, linear-gradient(90deg, transparent 48%, #000 64%);
    mask-composite: intersect;
    opacity: 0.85;
    animation: nh-sweep 10s linear infinite;
}
.st-nh-sweep--mono {
    background: linear-gradient(100deg, #111111, #8a8a8a, #2a2a2a, #b5b5b5, #111111) 0 0 / 300% 100%;
    -webkit-mask: url(../img/brand/nizhalhues-mark-700.webp) center / contain no-repeat, linear-gradient(90deg, #000 48%, transparent 64%);
    -webkit-mask-composite: source-in;
    mask: url(../img/brand/nizhalhues-mark-700.webp) center / contain no-repeat, linear-gradient(90deg, #000 48%, transparent 64%);
    mask-composite: intersect;
    opacity: 0.8;
}
@media (prefers-reduced-motion: reduce) { .st-nh-sweep { animation: none; } }
.st-nav .st-nh-word { display: block; height: 39px; width: auto; max-width: none; }   /* .st-nav: beat WooCommerce's .woocommerce img { height: auto } */
.st-nh-by { display: inline-flex; align-items: center; gap: 0.3em; margin-bottom: 3px; font-size: 11px; line-height: 1; color: var(--muted); }
.st-nh-by .st-nav__wordmark { height: 8px; }
@media (max-width: 480px) { .st-nh-mark { height: 26px; } .st-nav .st-nh-word { height: 20px; } .st-nh-by { font-size: 9px; } .st-nh-by .st-nav__wordmark { height: 7px; } }

/* Automaton shop header: the hero's gear animation as a small mark */
.st-nav__logo--gear::before { display: none; }
/* sized to match the Nizhal Hues lockup: mark as tall as the nh (51px),
   wordmark as wide as the Nizhal Hues text logo (~186px) */
.st-gear-mark { display: block; width: 51px; height: 51px; flex: none; }
.st-nav__logo--gear .st-nav__wordmark { height: 22px; }
@media (max-width: 480px) { .st-gear-mark { width: 36px; height: 36px; } .st-nav__logo--gear .st-nav__wordmark { height: 15px; } }

.st-nav__wordmark,
.st-foot__wordmark {
    display: block;
    height: 15px;
    aspect-ratio: 1932 / 227;
    background: currentColor;
    -webkit-mask: url(../img/brand/automaton-wordmark.svg) no-repeat center / contain;
    mask: url(../img/brand/automaton-wordmark.svg) no-repeat center / contain;
}

.st-nav__links {
    display: flex;
    align-items: center;
    gap: clamp(1.2rem, 2.4vw, 2.4rem);
    margin: 0; padding: 0;
    list-style: none;
}
.st-nav__links li { display: flex; align-items: center; margin: 0; }
.st-nav__links a,
.st-nav__soon {
    position: relative;
    display: inline-block;
    padding: 0.35rem 0;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: color 0.25s var(--ease-out);
}
.st-nav__links a::after {
    content: '';
    position: absolute; left: 0; bottom: 0;
    width: 100%; height: 1px;
    background: var(--accent);
    transform: scaleX(0); transform-origin: right;
    transition: transform 0.4s var(--ease-out);
}
.st-nav__links a:hover, .st-nav__links a:focus-visible { color: var(--text); }
.st-nav__links a:hover::after, .st-nav__links a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.st-nav__soon { opacity: 0.7; cursor: default; user-select: none; }

.st-nav__dd { position: relative; gap: 0.3rem; }
body.site-chrome .st-nav .st-nav__dd-btn,
body.site-chrome .st-nav .st-nav__dd-btn:hover,
body.site-chrome .st-nav .st-nav__dd-btn:focus {
    display: inline-flex; align-items: center;
    width: auto; min-height: 0;
    padding: 0.35rem 0.1rem; margin: 0;
    background: none; border: 0; border-radius: 3px; box-shadow: none; outline: none;
    cursor: pointer; color: var(--muted); font-size: 0; line-height: 0;
    transition: color 0.25s var(--ease-out);
}
body.site-chrome .st-nav .st-nav__dd-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.st-nav__dd-btn svg { transition: transform 0.25s var(--ease-out); }
.st-nav__dd:hover .st-nav__dd-btn, .st-nav__dd.is-open .st-nav__dd-btn, .st-nav__dd:hover > a { color: var(--text); }
.st-nav__dd:hover .st-nav__dd-btn svg, .st-nav__dd.is-open .st-nav__dd-btn svg { transform: rotate(180deg); }
.st-nav__dd::before { content: ''; position: absolute; left: -1rem; right: -1rem; top: 100%; height: 1rem; }
.st-nav__dd-menu {
    position: absolute; top: calc(100% + 0.7rem); left: 50%;
    width: max-content; margin: 0; padding: 0.45rem; list-style: none;
    background: #fff; border-radius: 12px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.06);
    opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
    transition: opacity 0.22s var(--ease-out), transform 0.22s var(--ease-out), visibility 0s linear 0.22s;
}
.st-nav__dd:hover .st-nav__dd-menu, .st-nav__dd:focus-within .st-nav__dd-menu, .st-nav__dd.is-open .st-nav__dd-menu {
    opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s;
}
.st-nav__dd-menu li { display: block; }
.st-nav__links .st-nav__brand { display: block; padding: 0.55rem 0.8rem; border-radius: 8px; line-height: 0; transition: background 0.2s var(--ease-out); }
.st-nav__links .st-nav__brand::after { display: none; }
.st-nav__links .st-nav__brand:hover { background: #f3f1ee; }
.st-nav__brand img { display: block; max-width: none; }

.st-nav__cart {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.4rem; height: 2.4rem;
    border: 1px solid var(--line); border-radius: 999px;
    color: var(--muted);
    transition: color 0.2s, border-color 0.2s;
}
.st-nav__cart:hover { color: var(--text); border-color: var(--line-2); }
.st-nav__cart-count {
    position: absolute; top: -4px; right: -4px;
    min-width: 1.1rem; height: 1.1rem; padding: 0 0.3rem;
    border-radius: 999px; background: var(--accent); color: var(--accent-ink);
    font: 700 0.62rem/1.1rem var(--font); text-align: center;
}
.st-nav__cart-count[data-count="0"] { display: none; }

body.site-chrome .st-nav__toggle {
    display: none; position: relative; width: 44px; height: 44px;
    padding: 0; margin: 0; background: none; border: 0; cursor: pointer;
}
.st-nav__toggle span { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease-out), opacity 0.2s; }
.st-nav__toggle span:nth-child(1) { top: 15px; }
.st-nav__toggle span:nth-child(2) { top: 21px; }
.st-nav__toggle span:nth-child(3) { top: 27px; }
.nav-open .st-nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .st-nav__toggle span:nth-child(2) { opacity: 0; }
.nav-open .st-nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.st-drawer {
    position: fixed; inset: 0; z-index: 90;
    display: flex; flex-direction: column; justify-content: center; gap: 0.25rem;
    padding: var(--nav-h) var(--gutter) 4rem;
    background: rgba(var(--paper-rgb), 0.96);
    -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
    opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0s linear 0.3s;
}
.nav-open .st-drawer { opacity: 1; visibility: visible; transition-delay: 0s; }
.st-drawer a, .st-drawer__soon {
    display: block; padding: 0.7rem 0;
    color: var(--text); font-size: clamp(1.6rem, 8vw, 2.4rem); font-weight: 700; letter-spacing: -0.01em;
    border-bottom: 1px solid var(--line);
}
.st-drawer__soon { color: var(--muted); cursor: default; }
.st-drawer a.st-drawer__brand { display: inline-block; padding: 0.5rem 0.8rem; margin: 0.2rem 0 0.6rem; background: #fff; border: 0; border-radius: 10px; line-height: 0; }
.st-drawer__brand img { display: block; max-width: none; transform: scale(1.15); transform-origin: left center; }

@media (max-width: 880px) {
    .st-nav__links { display: none; }
    body.site-chrome .st-nav__toggle { display: block; }
}
@media (min-width: 881px) { .st-drawer { display: none; } }

/* ---- 4. Shop hero --------------------------------------------------------- */

.sh {
    position: relative;
    margin: 1.2rem 0 1.6rem;
    padding: clamp(1.6rem, 3.2vw, 2.6rem) var(--gutter) clamp(1.4rem, 3vw, 2.4rem);
    border-radius: 22px;
    overflow: hidden;
    isolation: isolate;
}
.sh__band { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.sh__inner { max-width: var(--wrap); margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.6rem; }
.sh__title { font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.05; max-width: 20ch; margin: 0; }
.sh__sub { max-width: 56ch; margin: 0; color: var(--muted); font-size: 0.98rem; }

/* Nizhal Hues: paper, serif, the ribbon drifting behind the lockup. */
.sh--nizhal { background: #fbf8f3; border: 1px solid var(--line); }
.sh--nizhal .sh__band { filter: blur(44px) saturate(1.15); opacity: 0.55; transform: scale(1.15); }
/* The nh symbol faded at the right, where the Dyson drawing sits on the
   Automaton band; the copy is two lines, ink over hued. */
.sh--nizhal { min-height: 15rem; }
.sh--nizhal .sh__mark {
    position: absolute; right: 2%; top: 50%;
    width: min(34%, 360px); aspect-ratio: 700 / 449; z-index: -1;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%); mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
    animation: nh-drift 9s ease-in-out infinite;
}
.sh--nizhal .sh__mark img { display: block; width: 100%; height: auto; opacity: 0.3; }
/* The hues sweep: the brand gradient, three times the width, masked to the
   symbol's own alpha and slid across it — the letterforms change colour the
   way the logo's "Hues" do. */
.sh--nizhal .sh__mark-sweep {
    position: absolute; inset: 0;
    background: linear-gradient(100deg, var(--nh-1), var(--nh-2), var(--nh-3), var(--nh-4), var(--nh-1)) 0 0 / 300% 100%;
    /* Two masks intersected: the symbol's own alpha, and a soft horizontal
       fade centred where the n's outer curve bottoms out just before the h's
       stem (~56% of the image). Hues fade in across 48–64%; the mono layer is
       the mirror, so the hand-over is a gradient, not a line. */
    -webkit-mask: url(../img/brand/nizhalhues-mark-700.webp) center / contain no-repeat, linear-gradient(90deg, transparent 48%, #000 64%);
    -webkit-mask-composite: source-in;
    mask: url(../img/brand/nizhalhues-mark-700.webp) center / contain no-repeat, linear-gradient(90deg, transparent 48%, #000 64%);
    mask-composite: intersect;
    opacity: 0.55;
    animation: nh-sweep 10s linear infinite;
}
.sh--nizhal .sh__mark-sweep--mono {
    background: linear-gradient(100deg, #111111, #8a8a8a, #2a2a2a, #b5b5b5, #111111) 0 0 / 300% 100%;
    -webkit-mask: url(../img/brand/nizhalhues-mark-700.webp) center / contain no-repeat, linear-gradient(90deg, #000 48%, transparent 64%);
    -webkit-mask-composite: source-in;
    mask: url(../img/brand/nizhalhues-mark-700.webp) center / contain no-repeat, linear-gradient(90deg, #000 48%, transparent 64%);
    mask-composite: intersect;
    opacity: 0.5;
}
@keyframes nh-sweep { from { background-position: 0% 0; } to { background-position: 300% 0; } }
@keyframes nh-drift { 0%, 100% { transform: translateY(-50%) translateX(0); } 50% { transform: translateY(calc(-50% - 8px)) translateX(-6px); } }
@media (prefers-reduced-motion: reduce) { .sh--nizhal .sh__mark, .sh--nizhal .sh__mark-sweep { animation: none; } }
.sh--nizhal .sh__inner { align-items: center; text-align: center; padding-right: 0; }
.sh--nizhal .sh__logo { width: min(210px, 50vw); height: auto; margin-bottom: 0.2rem; }   /* the text logo, first line */
.sh--nizhal .sh__title.sh__title--two { display: flex; flex-direction: column; gap: 0.2rem; font-size: clamp(1.35rem, 2.3vw, 1.9rem); max-width: 46ch; font-weight: 600; }
.sh--nizhal .sh__inner { padding-right: clamp(0px, 18vw, 260px); }   /* keep the copy off the symbol */
.sh--nizhal .sh__l1 { color: var(--text); text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9), 0 0 10px rgba(255, 255, 255, 0.6); }   /* light halo under the ink line */
.sh--nizhal .sh__l2 { font-style: italic; font-weight: 500;
    background: linear-gradient(90deg, var(--nh-1), var(--nh-2), var(--nh-3), var(--nh-4));
    -webkit-background-clip: text; background-clip: text; color: transparent;
    /* text-shadow would paint over clipped gradient text, so the dark shadow
       under the hued line is a drop-shadow filter instead */
    filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, 0.35)); }
@media (max-width: 700px) { .sh--nizhal .sh__mark { width: 60%; } .sh--nizhal .sh__mark img { opacity: 0.4; } .sh--nizhal .sh__mark-sweep { opacity: 0.7; } .sh--nizhal .sh__mark-sweep--mono { opacity: 0.65; } }
.sh--nizhal .sh__title { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4vw, 3.2rem); max-width: 24ch; }
.sh--nizhal .sh__title em { font-style: italic; font-weight: 500;
    background: linear-gradient(90deg, var(--nh-1), var(--nh-2), var(--nh-3), var(--nh-4));
    -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Automaton: dark, teal linework, mono eyebrow. */
.sh--automaton { background: radial-gradient(120% 90% at 50% 0%, #0b1220 0%, #03060d 70%); }
.sh--automaton .sh__band { opacity: 0.55; }
.sh--automaton .sh__logo { display: block; height: 22px; aspect-ratio: 1932 / 227; background: var(--text);
    -webkit-mask: url(../img/brand/automaton-wordmark.svg) no-repeat center / contain; mask: url(../img/brand/automaton-wordmark.svg) no-repeat center / contain; }
.sh--automaton .sh__title { font-weight: 800; letter-spacing: -0.03em; max-width: 20ch; }
.sh--automaton .sh__accent { color: var(--accent); }
.sh--automaton .sh__sub { font-family: var(--mono); font-size: 0.86rem; letter-spacing: 0.02em; }

/* Plain shop: the switcher on a white band with a violet-to-cyan wash and a
   dot grid — its own thing, not paper and not the dark surface. */
.sh--all {
    padding-top: 1.4rem; padding-bottom: 1.2rem;
    background:
        radial-gradient(60% 120% at 12% 50%, rgba(109, 77, 230, 0.14) 0%, transparent 60%),
        radial-gradient(50% 120% at 88% 50%, rgba(34, 224, 255, 0.14) 0%, transparent 60%),
        radial-gradient(rgba(24, 28, 44, 0.12) 1px, transparent 1.2px) 0 0 / 18px 18px,
        #ffffff;
    border: 1px solid var(--line);
}
.sh--all .sh__title { font-weight: 800; letter-spacing: -0.03em; }
.sh--all .sh__sub { color: var(--muted); }
.sh__switch { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 0.8rem; }
.sh__switch-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.7rem;   /* centred: the cards share the taller Nizhal Hues logo's height */
    padding: 1rem 1.6rem 0.9rem; min-width: 220px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    box-shadow: var(--shadow-1);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.sh__switch-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.sh__switch-item img { display: block; max-width: none; }
.sh__switch-item span { color: var(--muted); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
/* gradient bottom edge that follows the rounded corners like Automaton's (border-image would square them off) */
.sh__switch-item--nizhal-hues { position: relative; border-bottom: 3px solid transparent; }
.sh__switch-item--nizhal-hues::after {
    content: ""; position: absolute; inset: -1px -1px -3px; border-radius: inherit; padding-bottom: 3px; pointer-events: none;
    background: linear-gradient(90deg, var(--nh-1), var(--nh-2), var(--nh-3), var(--nh-4));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.sh__switch-item--automaton { border-bottom: 3px solid #22e0ff; }

/* ---- 5. Shop grid --------------------------------------------------------- */

body.site-chrome .woocommerce-breadcrumb { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin: 0 0 1.2rem; }
body.site-chrome .woocommerce-breadcrumb a { color: var(--muted); }
body.brand-page .woocommerce-breadcrumb,
body.brand-all .woocommerce-breadcrumb,
body.site-chrome .woocommerce-products-header { display: none; }

/* Toolbar row: count left, sorting right, grid cleared below. */
body.site-chrome .woocommerce-result-count { float: left; color: var(--faint); font-family: var(--mono); font-size: 0.78rem; margin: 0.6rem 0 1.4rem; }
body.site-chrome .woocommerce-ordering { float: right; margin: 0 0 1.4rem; }
body.site-chrome ul.products { clear: both; }
body.site-chrome .woocommerce-ordering select { width: auto; padding: 0.5rem 2.2rem 0.5rem 0.9rem; font-size: 0.82rem; border-radius: 999px; }

/* Astra's own product grid rules carry more specificity (container + column
   classes), so the grid geometry is pinned with !important. */
body.site-chrome ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1.6rem !important;
    margin: 0 0 2rem !important; padding: 0 !important; list-style: none;
}
@media (max-width: 900px) { body.site-chrome ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 1rem !important; } }
@media (max-width: 520px) { body.site-chrome ul.products { grid-template-columns: 1fr !important; } }

body.site-chrome ul.products li.product {
    width: auto !important; margin: 0 !important; padding: 0 !important; float: none !important;
    display: flex; flex-direction: column;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: var(--shadow-1);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s;
}
body.site-chrome ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
body.site-chrome .astra-shop-thumbnail-wrap { position: relative; aspect-ratio: 1; background: var(--bg-3); overflow: hidden; }
body.site-chrome .astra-shop-thumbnail-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease-out); }
body.site-chrome ul.products li.product:hover .astra-shop-thumbnail-wrap img { transform: scale(1.04); }
body.site-chrome .astra-shop-thumbnail-wrap img.woocommerce-placeholder { object-fit: contain; padding: 22%; opacity: 0.35; }
body.site-chrome .ast-on-card-button { display: none !important; }
body.site-chrome .astra-shop-summary-wrap { display: flex; flex-direction: column; flex: 1 1 auto; gap: 0.35rem; padding: 1rem 1.1rem 1.2rem; text-align: left; }   /* fills the card so the button sits at the bottom left (owner, 2026-11-14) */
body.site-chrome .ast-woo-product-category { display: none !important; }
body.site-chrome .woocommerce-loop-product__title { font-family: var(--display); font-size: 1.15rem; font-weight: 600; line-height: 1.25; margin: 0.1rem 0 0; padding: 0; }
body.brand-nizhal-hues .woocommerce-loop-product__title { font-size: 1.45rem; }
body.site-chrome ul.products .price { color: var(--text); font-family: var(--mono); font-size: 0.95rem; font-weight: 500; margin: 0.2rem 0 0.6rem; }
body.site-chrome ul.products .price del { color: var(--faint); font-weight: 400; }
body.site-chrome ul.products .button { align-self: flex-start; margin-top: auto; }
/* Astra's own margin outranked the line above: pin the card button to the bottom left (owner, 2026-11-14) */
body.site-chrome ul.products li.product .astra-shop-summary-wrap > .button { margin-top: auto !important; align-self: flex-start; }
body.site-chrome .ast-shop-product-out-of-stock { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }

.st-chip {
    display: inline-block; align-self: flex-start;
    padding: 0.22rem 0.6rem; border-radius: 999px;
    font: 600 0.62rem/1.4 var(--font); letter-spacing: 0.14em; text-transform: uppercase;
    background: var(--bg-3); color: var(--muted);
    transition: color 0.2s, background 0.2s;
}
.st-chip:hover { color: var(--text); }
body.site-chrome .astra-shop-summary-wrap .st-chip { order: -1; margin-bottom: 0.2rem; }
.st-chip--nizhal-hues { background: linear-gradient(90deg, rgba(244,165,74,.18), rgba(231,111,125,.18), rgba(154,99,201,.18), rgba(47,143,147,.18)); color: #6b4b7a; }
.st-chip--automaton { background: rgba(34, 224, 255, 0.14); color: #0d6f80; }

/* Unboxing-video notice: product page (under add to cart) and checkout (above Place order). */
.st-unbox-note {
    margin: 1rem 0;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--line-2);
    border-left: 3px solid var(--accent);
    border-radius: var(--r-s);
    background: var(--accent-soft);
    color: var(--text);
    font-size: 0.85rem;
    line-height: 1.5;
}
.st-unbox-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* Lead time: "Ships by … · delivery …" above the unboxing note, and a row above the cart/checkout total. */
.st-ship-note {
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.5;
}
.st-ship-note strong { color: var(--text); font-weight: 600; }
.st-ship-row td small { color: var(--muted); }

/* Contact form ([automaton_contact_form], functions.php). */
.st-form { max-width: 36rem; margin: 1.5rem 0 2.5rem; }
.st-form p { margin: 0 0 1rem; }
.st-form label { display: block; margin-bottom: 0.35rem; }
.st-form input[type="text"], .st-form input[type="email"], .st-form input[type="tel"], .st-form textarea { width: 100%; }
.st-form__phone-row { display: grid; grid-template-columns: 5.5rem 1fr; gap: 0.5rem; }
.st-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.st-form__notice { max-width: 36rem; padding: 0.75rem 0.9rem; border-radius: var(--r-s); font-size: 0.9rem; }
.st-form__notice--ok { background: rgba(47, 143, 99, 0.12); border: 1px solid rgba(47, 143, 99, 0.35); }
.st-form__notice--err { background: var(--accent-soft); border: 1px solid var(--accent); }
body.brand-automaton .st-chip--automaton { color: var(--accent); }

body.site-chrome .woocommerce-pagination { margin: 1rem 0 3rem; }
body.site-chrome .woocommerce-pagination ul.page-numbers { display: flex; gap: 0.4rem; justify-content: center; border: 0; }
body.site-chrome .woocommerce-pagination .page-numbers { border: 1px solid var(--line); border-radius: 999px; padding: 0.5rem 0.9rem; color: var(--muted); font-family: var(--mono); font-size: 0.8rem; }
body.site-chrome .woocommerce-pagination .page-numbers.current { background: var(--text); color: var(--bg); border-color: var(--text); }

body.site-chrome .woocommerce-info, body.site-chrome .woocommerce-message, body.site-chrome .woocommerce-error {
    border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r-s);
    background: var(--bg-2); color: var(--text); padding: 1rem 1.2rem; margin: 0 0 1.5rem;
}
body.site-chrome .woocommerce-info::before, body.site-chrome .woocommerce-message::before, body.site-chrome .woocommerce-error::before { display: none; }
body.site-chrome .woocommerce-no-products-found { padding: 3rem 0; text-align: center; color: var(--muted); }

/* ---- 6. Product page ------------------------------------------------------ */

body.site-chrome.single-product .site-main { padding-top: 2rem; }
body.site-chrome div.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
/* minmax(0,1fr), not 1fr: a multi-photo gallery's slide strip otherwise widens the track to thousands of px on phones (Tray, Siddhar). */
@media (max-width: 880px) { body.site-chrome div.product { grid-template-columns: minmax(0, 1fr); } }
body.site-chrome div.product .woocommerce-product-gallery { width: 100% !important; float: none; margin: 0; }
body.site-chrome .woocommerce-product-gallery__wrapper { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
body.site-chrome .woocommerce-product-gallery__image img { width: 100%; display: block; }
body.site-chrome .woocommerce-product-gallery__image--placeholder img { padding: 18%; opacity: 0.35; }
body.site-chrome div.product .summary { width: 100% !important; float: none; margin: 0; position: sticky; top: calc(var(--nav-h) + 1.5rem); }
/* phones: one column, so the buy box must not stick; stuck, it slid over the sections below it
   when scrolled (keychain Presets / Good to know, seen on Android and iPhone; owner, 2026-11-14) */
@media (max-width: 880px) { body.site-chrome div.product .summary { position: static; } }
body.site-chrome div.product .summary .woocommerce-breadcrumb { margin-bottom: 0.8rem; }
body.site-chrome .single-product-category { display: none !important; }
body.site-chrome div.product .product_title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; margin: 0.6rem 0 0.8rem; }
body.brand-nizhal-hues div.product .product_title, body.site-chrome.single-product div.product .product_title { font-family: var(--display); }
body.site-chrome div.product p.price { color: var(--text); font-family: var(--mono); font-size: 1.4rem; font-weight: 500; margin: 0 0 1rem; }
body.site-chrome div.product p.price .woocommerce-Price-amount { color: var(--text); }
body.site-chrome .woocommerce-product-details__short-description { color: var(--muted); font-size: 1.02rem; }
body.site-chrome form.cart { display: flex; gap: 0.8rem; align-items: stretch; margin: 1.4rem 0; }
body.site-chrome form.cart .quantity input { width: 5rem; text-align: center; padding: 0.7rem 0.4rem; }
body.site-chrome .product_meta { font-family: var(--mono); font-size: 0.76rem; color: var(--faint); border-top: 1px solid var(--line); padding-top: 1rem; }
body.site-chrome .product_meta .posted_in { display: none; }
body.site-chrome .product_meta > span { display: inline-block; margin: 0.2rem 1.4rem 0.2rem 0; }
body.site-chrome .product_meta .sku { color: var(--text); }

body.site-chrome .woocommerce-tabs { grid-column: 1 / -1; margin: 2rem 0 0; }
body.site-chrome .woocommerce-tabs ul.tabs { display: flex; gap: 1.6rem; list-style: none; padding: 0; margin: 0 0 1.2rem; border-bottom: 1px solid var(--line); }
body.site-chrome .woocommerce-tabs ul.tabs::before, body.site-chrome .woocommerce-tabs ul.tabs li::before, body.site-chrome .woocommerce-tabs ul.tabs li::after { display: none; }
body.site-chrome .woocommerce-tabs ul.tabs li { background: none; border: 0; border-radius: 0; margin: 0; padding: 0; }
body.site-chrome .woocommerce-tabs ul.tabs li a { padding: 0.6rem 0; color: var(--muted); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; border-bottom: 2px solid transparent; }
body.site-chrome .woocommerce-tabs ul.tabs li.active a { color: var(--text); border-bottom-color: var(--accent); }
body.site-chrome .woocommerce-Tabs-panel { color: var(--muted); }
body.site-chrome .woocommerce-Tabs-panel h2 { font-size: 1.2rem; }
body.site-chrome section.related, body.site-chrome section.upsells { grid-column: 1 / -1; margin: 3rem 0 0; }
body.site-chrome section.related > h2, body.site-chrome section.upsells > h2 { font-size: 1.3rem; margin-bottom: 1.2rem; }

/* ---- 7. Cart / checkout / account ---------------------------------------- */

body.site-chrome.woocommerce-cart .site-main,
body.site-chrome.woocommerce-checkout .site-main,
body.site-chrome.woocommerce-account .site-main { padding-top: 2.5rem; }
body.site-chrome .entry-header { margin: 0 0 1.6rem; }
body.site-chrome .entry-header .entry-title, body.site-chrome h1.entry-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; }

body.site-chrome table.shop_table { border: 1px solid var(--line); border-radius: var(--r); border-collapse: separate; border-spacing: 0; background: var(--bg-2); overflow: hidden; }
body.site-chrome table.shop_table th, body.site-chrome table.shop_table td { border: 0; border-bottom: 1px solid var(--line); padding: 1rem; vertical-align: middle; }
body.site-chrome table.shop_table th { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
body.site-chrome table.shop_table tr:last-child td { border-bottom: 0; }
body.site-chrome table.shop_table img { border-radius: var(--r-s); width: 64px; }
body.site-chrome .woocommerce-cart .product-remove a { color: var(--faint) !important; }
body.site-chrome .cart-collaterals { margin-top: 2rem; }
body.site-chrome .cart_totals { width: 100% !important; max-width: 420px; margin-left: auto; float: none; }
body.site-chrome .cart_totals h2 { font-size: 1.1rem; }
body.site-chrome .woocommerce-cart-form .coupon input { width: auto; }
body.site-chrome .return-to-shop .button { background: transparent; color: var(--text); border-color: var(--line-2); }
/* The empty-cart line is a notice box too: keep the box padding (3rem top / 0 sides pushed the text into the bottom-left corner). */
body.site-chrome .cart-empty { padding: 1rem 1.2rem; color: var(--muted); font-size: 1.1rem; }
/* Astra's scroll-to-top button floats over the text on phones (policies, footer, product copy); phones scroll fast enough without it. */
@media (max-width: 880px) { body.site-chrome #ast-scroll-top { display: none !important; } }

/* #customer_details stays one block: as display: contents its clearfix ::before became a grid item
   and took the left cell. The .woocommerce-checkout selectors outrank Astra's inline 55% / 40% widths. */
body.site-chrome form.checkout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); grid-template-rows: auto 1fr; gap: 2.5rem; align-items: start; }
body.site-chrome.woocommerce-checkout form.checkout #customer_details,
body.site-chrome.woocommerce-checkout form.checkout #order_review_heading,
body.site-chrome.woocommerce-checkout form.checkout #order_review { width: auto; float: none; }
body.site-chrome.woocommerce-checkout form.checkout #customer_details { grid-column: 1; grid-row: 1 / span 2; }
body.site-chrome.woocommerce-checkout form.checkout #order_review_heading { grid-column: 2; grid-row: 1; }
body.site-chrome.woocommerce-checkout form.checkout #order_review { grid-column: 2; grid-row: 2; }
@media (max-width: 880px) {
  body.site-chrome form.checkout { grid-template-columns: 1fr; grid-template-rows: none; }
  body.site-chrome.woocommerce-checkout form.checkout #customer_details,
  body.site-chrome.woocommerce-checkout form.checkout #order_review_heading,
  body.site-chrome.woocommerce-checkout form.checkout #order_review { grid-column: auto; grid-row: auto; }
}
body.site-chrome form.checkout .col-1, body.site-chrome form.checkout .col-2 { width: 100%; float: none; }
body.site-chrome #order_review_heading { margin: 0; font-size: 1.1rem; }
body.site-chrome #order_review { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; position: sticky; top: calc(var(--nav-h) + 1.5rem); }
body.site-chrome #order_review table.shop_table { border: 0; background: none; }
body.site-chrome form.checkout h3 { font-size: 1.1rem; margin: 0 0 1rem; }
body.site-chrome .form-row { margin: 0 0 0.9rem; padding: 0; }
body.site-chrome #payment { background: none; border-radius: 0; }
body.site-chrome #payment ul.payment_methods { padding: 0 0 1rem; border: 0; }
body.site-chrome #payment div.payment_box { background: var(--bg-3); color: var(--muted); border-radius: var(--r-s); }
body.site-chrome #payment div.payment_box::before { display: none; }
body.site-chrome .woocommerce-privacy-policy-text { font-size: 0.82rem; color: var(--muted); }
body.site-chrome #place_order { width: 100%; }

body.site-chrome .woocommerce-MyAccount-navigation { width: 100%; float: none; margin: 0 0 1.5rem; }
body.site-chrome .woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0; list-style: none; }
body.site-chrome .woocommerce-MyAccount-navigation li { margin: 0; }
body.site-chrome .woocommerce-MyAccount-navigation li a { display: inline-block; padding: 0.5rem 0.9rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
body.site-chrome .woocommerce-MyAccount-navigation li.is-active a { background: var(--text); color: var(--bg); border-color: var(--text); }
body.site-chrome .woocommerce-MyAccount-content { width: 100%; float: none; }
body.site-chrome #customer_login { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { body.site-chrome #customer_login { grid-template-columns: 1fr; } }
body.site-chrome #customer_login > div { width: 100%; float: none; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; }
body.site-chrome #customer_login h2 { font-size: 1.2rem; }
body.site-chrome form.login, body.site-chrome form.register { border: 0; padding: 0; margin: 0; }

/* ---- 8. Footer: assets/css/footer.css (shared with the 3D home) ---------- */



/* Astra leftovers that fight the design. */
body.site-chrome .ast-separate-container .ast-article-single,
body.site-chrome .ast-separate-container .ast-article-post { background: transparent; border: 0; padding: 0; margin: 0; }
body.site-chrome .ast-woocommerce-container { padding: 0; }
body.site-chrome .site-footer, body.site-chrome #colophon, body.site-chrome .ast-header-break-point .main-header-bar { display: none; }

@media (prefers-reduced-motion: reduce) {
    body.site-chrome * { transition: none !important; }
}

/* keychain shop card: small swipeable carousel (functions.php woocommerce_product_get_image; site.js) */
body.site-chrome .astra-shop-thumbnail-wrap .kc-card-slides { position: relative; display: block; width: 100%; aspect-ratio: 1; }
.kc-card-slides .kc-track { display: flex; width: 100%; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; }
.kc-card-slides .kc-track::-webkit-scrollbar { display: none; }
.kc-card-slides .kc-track.dragging { scroll-snap-type: none; cursor: grabbing; }
.kc-card-slides .kc-slide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; scroll-snap-align: center; background: var(--bg-3); }
.kc-card-slides .kc-fit-contain::before { content: ""; position: absolute; inset: -24px; background: var(--kc-bg) center / cover; filter: blur(16px) saturate(.9) brightness(1.04); }
body.site-chrome .astra-shop-thumbnail-wrap .kc-slide img { position: relative; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; object-position: center; transform: none !important; user-select: none; -webkit-user-drag: none; }
body.site-chrome .astra-shop-thumbnail-wrap .kc-fit-contain img { object-fit: contain; }
.kc-card-slides .kc-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.kc-card-slides .kc-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 0 0 1px rgba(0,0,0,.12); transition: background .3s; }
.kc-card-slides .kc-dots i.on { background: #fff; }
/* keychain card, slide 1 as a live 3D view on hover (assets/keychain/kc-card3d.js); background as the product page's stage */
.kc-card-slides .kc-slide.kc-3d-on { background: radial-gradient(120% 92% at 50% 4%, #fffdfc 0%, #f0e9e2 58%, #e0d5ca 100%); }
.kc-card-slides .kc-card3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.kc-card-slides .kc-3d-on .kc-card3d { opacity: 1; }
body.site-chrome .astra-shop-thumbnail-wrap .kc-3d-on img { opacity: 0; transition: opacity .35s ease; }
/* keychain pre-orders: checkout terms + tickbox, order page box, cancel page (functions.php, Keychain pre-orders) */
.kc-preorder-agree { margin: 0 0 1.2rem; padding: 0.9rem 1rem; border: 1px solid #e8d9b8; border-radius: 10px; background: #fffaf0; font-size: 0.92rem; }
.kc-preorder-agree p { margin: 0 0 0.5rem; }
.kc-preorder-agree .form-row { margin: 0; padding: 0; }
.kc-preorder-box { margin: 1.5rem 0; padding: 1rem 1.1rem; border: 1px solid #e8d9b8; border-radius: 10px; background: #fffaf0; }
.kc-preorder-box h2 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.kc-cancel-page { max-width: 640px; margin: 3rem auto; padding: 0 16px; }
.kc-cancel-page form { margin-top: 1.2rem; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
/* policy pages: linkable section titles + contents list (site.js) */
body.policy-page { scroll-behavior: smooth; }
body.policy-page .policy-anchor { scroll-margin-top: calc(var(--nav-h, 72px) + 1rem); }
body.policy-page .policy-anchor .policy-self { color: inherit; text-decoration: none; }
body.policy-page .policy-anchor .policy-self:hover { text-decoration: underline; text-underline-offset: 0.2em; }
body.policy-page .policy-anchor .policy-self:hover::after { content: " #"; color: var(--text-3, #999); font-weight: 400; }
body.policy-page .policy-toc { margin: 0 0 2rem; padding: 1rem 1.2rem; border: 1px solid var(--line, #e5e0da); border-radius: 10px; background: var(--bg-2, #fbf8f4); }
body.policy-page .policy-toc-title { margin: 0 0 0.5rem; font-weight: 600; }
body.policy-page .policy-toc ol { margin: 0; padding-left: 1.2rem; list-style: none; }
body.policy-page .policy-toc > ol { padding-left: 0; }
body.policy-page .policy-toc li { margin: 0.2rem 0; }
body.policy-page .policy-toc a { text-decoration: none; }
body.policy-page .policy-toc a:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { body.policy-page { scroll-behavior: auto; } }
/* keychain cart lines: the tag's own render (functions.php woocommerce_cart_item_thumbnail) */
body.site-chrome img.kc-cart-thumb { background: radial-gradient(120% 92% at 50% 4%, #fffdfc 0%, #f0e9e2 58%, #e0d5ca 100%); border-radius: 8px; object-fit: contain; aspect-ratio: 1; height: auto; padding: 4px; box-sizing: border-box; }
/* cart: pre-order minimum pop-up (site.js) */
dialog.kc-modal { max-width: 440px; width: calc(100% - 32px); border: 0; border-radius: 14px; padding: 1.5rem 1.6rem; box-shadow: 0 20px 60px rgba(0,0,0,.25); color: var(--text, #1d1d1f); background: var(--bg, #fff); }
dialog.kc-modal::backdrop { background: rgba(20, 16, 12, .45); }
dialog.kc-modal h2 { margin: 0 0 .6rem; font-size: 1.25rem; }
dialog.kc-modal .kc-modal-msg { margin: 0 0 .6rem; font-weight: 600; }
dialog.kc-modal .kc-modal-sub { margin: 0 0 1.2rem; font-size: .92rem; color: var(--text-2, #555); }
dialog.kc-modal .kc-modal-acts { display: flex; gap: .7rem; flex-wrap: wrap; justify-content: flex-end; }
dialog.kc-modal .kc-modal-close { background: none; border: 1px solid var(--line, #d9d1c9); color: inherit; border-radius: 99px; padding: .55rem 1.1rem; cursor: pointer; }
/* cart: "Change" on a keychain line (functions.php woocommerce_cart_item_name) */
body.site-chrome a.kc-change { margin-left: .5rem; padding: .1rem .55rem; border: 1px solid var(--line, #d9d1c9); border-radius: 99px; font-size: .78rem; font-weight: 600; text-decoration: none; vertical-align: middle; }
body.site-chrome a.kc-change:hover { border-color: currentColor; }
/* Nizhal Hues shop: category pane left of the grid (functions.php automaton_nh_category_pane) */
body.site-chrome .nh-shop { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 2rem; align-items: start; clear: both; }
body.site-chrome .nh-cats { position: sticky; top: calc(var(--nav-h, 72px) + 1.5rem); background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 0.8rem; box-shadow: var(--shadow-1); }
body.site-chrome .nh-cats h2 { margin: 0 0 0.6rem 0.5rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
body.site-chrome .nh-cats ul { list-style: none; margin: 0; padding: 0; }
body.site-chrome .nh-cats a { display: flex; justify-content: space-between; align-items: center; padding: 0.45rem 0.6rem; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 0.95rem; }
body.site-chrome .nh-cats a span { color: var(--faint); font-family: var(--mono); font-size: 0.8rem; }
body.site-chrome .nh-cats a:hover { background: var(--bg-2); }
body.site-chrome .nh-cats li.on a { background: linear-gradient(90deg, rgba(244,168,188,.18), rgba(173,170,229,.18)); font-weight: 600; }
/* Automaton's dark shop: same pane on its dark card colours, cyan for the active row */
body.site-chrome.brand-automaton .nh-cats { background: var(--bg-2); }
body.site-chrome.brand-automaton .nh-cats li.on a { background: var(--accent-soft); color: var(--accent); }
/* common shop: a collapsible group per brand */
body.site-chrome .nh-cats-group summary { display: flex; justify-content: space-between; align-items: center; gap: .4rem; padding: 0.45rem 0.6rem; border-radius: 8px; cursor: pointer; list-style: none; font-size: 0.95rem; font-weight: 600; }
body.site-chrome .nh-cats-group summary::-webkit-details-marker { display: none; }
body.site-chrome .nh-cats-group summary::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform .2s; flex: none; margin-right: .2rem; }
body.site-chrome .nh-cats-group details[open] > summary::before { transform: rotate(45deg); }
body.site-chrome .nh-cats-group summary span { margin-left: auto; color: var(--faint); font-family: var(--mono); font-size: 0.8rem; font-weight: 400; }
body.site-chrome .nh-cats-group summary:hover { background: var(--bg-2); }
body.site-chrome .nh-cats-group ul { padding-left: 0.9rem; }
@media (max-width: 760px) { body.site-chrome .nh-cats-group ul { display: block; padding-left: 0.6rem; } body.site-chrome .nh-cats-group summary { white-space: nowrap; border: 1px solid var(--line); border-radius: 99px; } }
body.site-chrome.brand-all .nh-cats li.on a { background: var(--accent-soft); color: var(--accent); }   /* common shop: its own violet accent */
body.site-chrome .nh-shop-main ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
@media (max-width: 1100px) { body.site-chrome .nh-shop-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 760px) {
  body.site-chrome .nh-shop { grid-template-columns: 1fr; gap: 1rem; }
  body.site-chrome .nh-cats { position: static; padding: 0.6rem; }
  body.site-chrome .nh-cats h2 { display: none; }
  body.site-chrome .nh-cats ul { display: flex; gap: 0.4rem; overflow-x: auto; }
  body.site-chrome .nh-cats a { white-space: nowrap; border: 1px solid var(--line); border-radius: 99px; }
}
@media (max-width: 520px) { body.site-chrome .nh-shop-main ul.products { grid-template-columns: 1fr !important; } }
/* Shop browse pages only (shop, brand and category listings): near full width
   on wide screens, with more product columns. Every other page keeps 1240px. (owner, 2026-10-17) */
body.site-chrome.post-type-archive-product, body.site-chrome.tax-product_cat, body.site-chrome.tax-product_brand, body.site-chrome.tax-product_tag { --wrap: clamp(1240px, 96vw, 2400px); }
/* Shop listings (combined, brand and category pages), owner 2026-10-21: 4 cards a row
   on desktop, and one card size everywhere. The Nizhal Hues page has the 232px
   category pane beside its grid, so every other listing's grid is capped to that
   same width; card text scales with the card (container query units). */
body.site-chrome:is(.post-type-archive-product, .tax-product_cat, .tax-product_brand, .tax-product_tag) {
    --shop-grid: calc(var(--wrap) - 2 * var(--gutter) - 232px);
}
@media (min-width: 1101px) {
  body.site-chrome:is(.post-type-archive-product, .tax-product_cat, .tax-product_brand, .tax-product_tag) ul.products {
      grid-template-columns: repeat(4, minmax(0, 1fr)) !important; max-width: var(--shop-grid); margin-inline: auto !important;
  }
}
@media (min-width: 901px) and (max-width: 1100px) {
  body.site-chrome:is(.post-type-archive-product, .tax-product_cat, .tax-product_brand, .tax-product_tag) ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
body.site-chrome ul.products li.product { container-type: inline-size; }
/* li.product in the selector so these outrank Astra's own card rules */
body.site-chrome ul.products li.product .woocommerce-loop-product__title { font-size: clamp(1.05rem, 5.2cqi, 1.6rem); }
body.site-chrome ul.products li.product .price { font-size: clamp(0.95rem, 4.2cqi, 1.3rem); }
body.site-chrome ul.products .astra-shop-summary-wrap { padding: clamp(1rem, 5cqi, 1.6rem); gap: clamp(0.35rem, 1.6cqi, 0.7rem); }
body.site-chrome ul.products .button { font-size: clamp(0.72rem, 3.1cqi, 0.95rem); padding: clamp(0.7rem, 3cqi, 0.95rem) clamp(1.3rem, 6cqi, 1.9rem); }
body.site-chrome ul.products .st-chip { font-size: clamp(0.62rem, 2.6cqi, 0.8rem); }
body.site-chrome ul.products li.product .price .price-pill,
body.site-chrome ul.products li.product:is(.is-custom, .is-bundle) .woocommerce-loop-product__title::after,
body.site-chrome ul.products li.product:is(.is-custom, .is-bundle) .woocommerce-loop-product__title::before { font-size: clamp(11px, 3cqi, 15px); }
/* Litho Spinner: live 3D first slide (functions.php automaton_is_litho_product, assets/litho/litho3d.js) */
.litho3d { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: radial-gradient(circle at 50% 40%, #fff 0%, #ece6df 100%); cursor: grab; touch-action: pan-y; }
.litho3d:active { cursor: grabbing; }
.litho3d-poster, .litho3d-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.litho3d-poster { object-fit: cover; transition: opacity .6s ease; }
.litho3d.litho3d-on .litho3d-poster { opacity: 0; }
.litho3d-hint { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); font-size: 12px; color: #6f6a65; background: rgba(255, 255, 255, .8); padding: 3px 10px; border-radius: 99px; pointer-events: none; opacity: 0; transition: opacity .4s; }
.litho3d.litho3d-on .litho3d-hint { opacity: 1; }
/* photo-upload products (Custom Image Upload & Crop plugin, e.g. Litho Spinner): the theme's one-row
   cart form puts the uploader beside the button; give it its own full-width row, slots in a grid */
body.site-chrome form.cart:has(.pfu-uploader) { flex-wrap: wrap; align-items: center; }
body.site-chrome form.cart .pfu-uploader { flex: 0 0 100%; margin: 0 0 6px; }
body.site-chrome form.cart .pfu-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
body.site-chrome form.cart .pfu-slot { max-width: none; padding: 8px; }
body.site-chrome form.cart .pfu-slot small { font-size: 11px; line-height: 1.3; display: inline-block; }
body.site-chrome form.cart:has(.pfu-uploader) .single_add_to_cart_button { flex: 1 1 auto; align-self: stretch; }
@media (max-width: 480px) { body.site-chrome form.cart .pfu-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Litho Spinner lid picker: three buttons on one row above the photo slots */
body.site-chrome form.cart:has(.litho-lid) { flex-wrap: wrap; align-items: center; }
body.site-chrome .litho-empty { margin: .8rem 0 0; padding: 12px 16px; border: 1px solid #e3c26b; border-left: 4px solid #c98a00; border-radius: 10px; background: #fff6dc; color: #4a3b12; font-size: .95rem; line-height: 1.5; }
body.site-chrome .litho-empty strong { color: #2a2008; }
body.site-chrome .litho-empty a { color: #8a4a00; font-weight: 600; text-decoration: underline; }
body.site-chrome form.cart .litho-lid { flex: 0 0 100%; border: 0; margin: 0 0 4px; padding: 0; min-width: 0; }
body.site-chrome form.cart .litho-lid legend { font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #6f6a65; margin-bottom: 8px; padding: 0; }
body.site-chrome .litho-lid-note { margin: -2px 0 8px; font-size: .82rem; color: #6f6a65; }
body.site-chrome .litho-lid-sum { color: #1a1a1a; font-weight: 600; }
body.site-chrome .litho-lid-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
body.site-chrome .litho-lid-opt { position: relative; margin: 0; cursor: pointer; }
body.site-chrome .litho-lid-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
body.site-chrome .litho-lid-opt span { display: block; text-align: center; padding: .65rem .5rem; border: 1px solid #d9d1c9; border-radius: 10px; background: #fff; font-size: .92rem; font-weight: 600; transition: border-color .15s, background .15s, color .15s; }
body.site-chrome .litho-lid-opt:hover span { border-color: #8a8580; }
body.site-chrome .litho-lid-opt input:checked + span { background: #1a1a1a; border-color: #1a1a1a; color: #fff; }
body.site-chrome .litho-lid-opt input:focus-visible + span { outline: 2px solid #c4441f; outline-offset: 2px; }
/* Title pills (functions.php woocommerce_post_class): "Custom" (::after) then "Bundle"
   (::before, moved to the end with flex order), so the title text stays a plain string */
body.site-chrome .product:is(.is-custom, .is-bundle) .product_title,
body.site-chrome li.product:is(.is-custom, .is-bundle) .woocommerce-loop-product__title {
    display: flex; flex-wrap: wrap; align-items: center; column-gap: .5em; row-gap: .2em;
}
body.site-chrome .product.is-custom .product_title::after,
body.site-chrome li.product.is-custom .woocommerce-loop-product__title::after,
body.site-chrome .product.is-bundle .product_title::before,
body.site-chrome li.product.is-bundle .woocommerce-loop-product__title::before {
    display: inline-block; padding: .28em .7em .26em; border-radius: 99px; color: #fff;
    font-size: 11px; font-weight: 700; line-height: 1; letter-spacing: .08em; text-transform: uppercase;
}
body.site-chrome .product.is-custom .product_title::after,
body.site-chrome li.product.is-custom .woocommerce-loop-product__title::after { content: "Custom"; background: #c4441f; order: 1; }
body.site-chrome .product.is-bundle .product_title::before,
body.site-chrome li.product.is-bundle .woocommerce-loop-product__title::before { content: "Bundle"; background: #1a1a1a; order: 2; }
body.site-chrome li.product:is(.is-custom, .is-bundle) .woocommerce-loop-product__title::after,
body.site-chrome li.product:is(.is-custom, .is-bundle) .woocommerce-loop-product__title::before { font-size: 9px; }
/* price pills after an on-sale price (functions.php woocommerce_get_price_html, priority 20) */
body.site-chrome .price .price-pill { display: inline-block; vertical-align: middle; margin-left: .4em; padding: .3em .65em .28em; border-radius: 99px;
    font-size: 11px; font-weight: 700; line-height: 1; letter-spacing: .04em; white-space: nowrap; text-decoration: none; }
body.site-chrome .price .price-pill--off { background: #e3f3e6; color: #1d6b34; }
body.site-chrome .price .price-pill--bundle { background: #1a1a1a; color: #fff; }
body.site-chrome li.product .price .price-pill { font-size: 10px; margin-left: .3em; }
/* Litho 3D view: pause / resume button, bottom left (assets/litho/litho3d.js) */
.litho3d .litho3d-pause { position: absolute; left: 12px; bottom: 12px; z-index: 2; width: 36px; height: 36px; padding: 0; border-radius: 50%;
    border: 1px solid rgba(0,0,0,.08); background: rgba(255,255,255,.88); color: #1a1a1a; display: grid; place-items: center; cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.12); opacity: 0; transition: opacity .4s, background .2s; }
.litho3d.litho3d-on .litho3d-pause { opacity: 1; }
.litho3d .litho3d-pause:hover { background: #fff; }
.litho3d .litho3d-pause:focus-visible { outline: 2px solid #c4441f; outline-offset: 2px; }
.litho3d .litho3d-pause svg { width: 16px; height: 16px; fill: currentColor; }
/* Multicolour lightbox: filament colours per photo (functions.php, assets/litho/litho-fil.js) */
body.site-chrome form.cart:has(.litho-fil) { flex-wrap: wrap; align-items: center; }
body.site-chrome form.cart .litho-fil { flex: 0 0 100%; }
body.site-chrome .litho-fil { margin: 0 0 6px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
body.site-chrome .litho-fil-head { display: flex; flex-wrap: wrap; gap: .25rem .6rem; align-items: baseline; margin-bottom: 10px; }
body.site-chrome .litho-fil-head strong { font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #6f6a65); }
body.site-chrome .litho-fil-head span { font-size: .8rem; color: var(--faint, #8a8580); }
body.site-chrome .litho-fil-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 420px) { body.site-chrome .litho-fil-grid { grid-template-columns: 1fr; } }
body.site-chrome .litho-fil-item { display: grid; gap: 7px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2, #faf8f5); align-content: start; }
body.site-chrome .litho-fil-lbl { font-size: .78rem; font-weight: 700; }
body.site-chrome .litho-fil-seg { display: flex; border: 1px solid #d9d1c9; border-radius: 99px; overflow: hidden; background: #fff; }
body.site-chrome .litho-fil-seg label { flex: 1; position: relative; margin: 0; padding: 4px 6px; cursor: pointer; font-size: .75rem; text-align: center; white-space: nowrap; }
body.site-chrome .litho-fil-seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
body.site-chrome .litho-fil-seg label:has(input:checked) { background: #1a1a1a; color: #fff; }
body.site-chrome .litho-fil-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 8px; }
body.site-chrome .litho-fil-top .litho-fil-seg { flex: 0 0 auto; }
body.site-chrome .litho-fil-set { display: flex; align-items: center; gap: 9px; width: 100%; padding: 7px 10px 7px 7px; text-align: left; border: 1px solid #d9d1c9; border-radius: 10px; background: #fff; color: inherit; font: inherit; cursor: pointer; }
body.site-chrome .litho-fil-set:hover { border-color: #1a1a1a; }
body.site-chrome .litho-fil-names { flex: 1; min-width: 0; font-size: .78rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.site-chrome .litho-fil-sw { display: flex; flex: 0 0 auto; }
body.site-chrome .litho-fil-sw i { width: 22px; height: 22px; margin-left: -6px; border-radius: 50%; box-shadow: 0 0 0 2px #fff, inset 0 0 0 1px #0002; display: inline-block; }
body.site-chrome .litho-fil-sw i:first-child { margin-left: 0; }
body.site-chrome .litho-fil-none { margin: 0; font-size: .85rem; color: var(--muted); }
/* its section in the filament pane: 3/4 colours, then the set black to white with the pick being set outlined */
body.site-chrome .litho-fil-pane { display: grid; gap: 10px; }
body.site-chrome .litho-fil-count { display: inline-flex; justify-self: start; border: 1px solid #d9d1c9; border-radius: 99px; overflow: hidden; background: #fff; }
body.site-chrome .litho-fil-count button { padding: 4px 12px; border: 0; background: none; color: inherit; font: inherit; font-size: .75rem; cursor: pointer; }
body.site-chrome .litho-fil-count button[aria-pressed="true"] { background: #1a1a1a; color: #fff; }
body.site-chrome .litho-fil-strip { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 6px; }
body.site-chrome .litho-fil-chip { min-width: 0; display: grid; justify-items: start; gap: 5px; padding: 7px 8px; border: 1px solid transparent; border-radius: 10px;
    background: #fff; color: inherit; font: inherit; text-align: left; }
body.site-chrome .litho-fil-chip i { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); }
body.site-chrome .litho-fil-chip > span { display: grid; min-width: 0; max-width: 100%; font-size: .74rem; font-weight: 600; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.site-chrome .litho-fil-chip small { font-size: .6rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
body.site-chrome .litho-fil-chip.is-pick { border-color: #d9d1c9; cursor: pointer; }
body.site-chrome .litho-fil-chip.is-pick[aria-pressed="true"] { border-color: #1a1a1a; box-shadow: inset 0 0 0 1px #1a1a1a; }
/* Astra's blue button:hover / button:focus fill must not touch these (they sit beside colour previews) */
body.site-chrome .litho-fil-set:is(:hover, :focus, :active) { background: #fff; color: inherit; }
body.site-chrome .litho-fil-count button:is(:hover, :focus, :active) { background: none; color: inherit; }
body.site-chrome .litho-fil-count button[aria-pressed="true"]:is(:hover, :focus, :active) { background: #1a1a1a; color: #fff; }
body.site-chrome .litho-fil-chip:is(:hover, :focus, :active) { background: #fff; color: inherit; }
/* "Coming soon" products: disabled add-to-cart button (functions.php automaton_is_coming_soon) */
body.site-chrome .single_add_to_cart_button.is-coming-soon, body.site-chrome .single_add_to_cart_button.is-coming-soon:hover { opacity: .55 !important; cursor: not-allowed; pointer-events: none; }
body.site-chrome ul.products .button.is-coming-soon { background: #8a8580; border-color: #8a8580; }
/* Litho 3D view: permanent "rough preview" note under the stage (functions.php) */
.litho3d-note { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: #fff6e5; border: 1px solid #f0d9a8; color: #6b5420; font-size: .82rem; line-height: 1.45; }
.litho3d-note strong { color: #4a3a12; }

/* Bedside Tray: product video and dimensions drawing as the first slides, then the drawing and renders (inc/bedside-page.php) */
.bedside-slide { aspect-ratio: 16 / 9; background: #ece6df; border-radius: 12px; overflow: hidden; }
.bedside-slide video, .bedside-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bedside-still { aspect-ratio: auto; }
.bedside-slide img { height: auto; object-fit: contain; background: #fff; }
.bedside-still { position: relative; }
.bedside-pill { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: rgba(255,255,255,.92); color: #1a1a1a; font-size: 13px; font-weight: 600; line-height: 1; box-shadow: 0 1px 4px rgba(0,0,0,.15); pointer-events: none; }
.bedside-pill i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.woocommerce-product-gallery:has(.bedside-slide) .flex-control-thumbs img { aspect-ratio: 4 / 3; object-fit: cover; }
body.site-chrome .astra-shop-thumbnail-wrap img.bedside-card { aspect-ratio: 1; height: auto; object-fit: cover; }
/* Bedside Tray: fit warning, colour swatches, pack contents (inc/bedside-page.php) */
body.site-chrome form.cart:has(.tray-colour) { flex-wrap: wrap; align-items: center; }
body.site-chrome form.cart .tray-fit-note { flex: 0 0 100%; margin: .2rem 0 .8rem; }
body.site-chrome form.cart .tray-colour { margin-top: .6rem; }
/* Running total above the quantity and Add to cart (inc/price-total.php); the price under the title stays the price of one */
body.site-chrome form.cart:has(.st-total) { flex-wrap: wrap; align-items: center; }
body.site-chrome form.cart .st-total { flex: 0 0 100%; margin: .4rem 0 .5rem; font-size: 1.05rem; display: flex; align-items: baseline; gap: .5rem; }
body.site-chrome .st-total__label { font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #6f6a65; }
body.site-chrome .st-total__was { color: #8a8580; font-size: .95rem; }
body.site-chrome .st-total__now { font-family: var(--mono, monospace); font-size: 1.2rem; color: #1a1a1a; }
/* round swatches, like the colour pane's dots: a ring marks the pick */
body.site-chrome .tray-colour-opts { display: flex; gap: 1.1rem; flex-wrap: wrap; }
body.site-chrome .tray-sw { position: relative; display: flex; flex-direction: column; align-items: center; gap: .35rem; margin: 0; cursor: pointer; font-size: .82rem; color: #6f6a65; text-align: center; }
body.site-chrome .tray-sw input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
body.site-chrome .tray-sw i { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); box-shadow: 0 0 0 3px var(--bg, #f6f1eb), 0 0 0 4px transparent; transition: box-shadow .15s; }
body.site-chrome .tray-sw:hover i { box-shadow: 0 0 0 3px var(--bg, #f6f1eb), 0 0 0 4px #8a8580; }
body.site-chrome .tray-sw input:checked ~ i { box-shadow: 0 0 0 3px var(--bg, #f6f1eb), 0 0 0 5px #1a1a1a; }
body.site-chrome .tray-sw input:checked ~ span { color: #1a1a1a; font-weight: 600; }
body.site-chrome .tray-sw input:focus-visible ~ i { outline: 2px solid #c4441f; outline-offset: 6px; }
/* Pack contents and Add-ons: collapsed sections under the form */
body.site-chrome .tray-more { margin: 1.2rem 0 0; border-top: 1px solid #e6dfd8; }
body.site-chrome .tray-more-sec { border-bottom: 1px solid #e6dfd8; }
body.site-chrome .tray-more-sec summary { display: flex; align-items: center; gap: .6rem; padding: .85rem 0; cursor: pointer; list-style: none; font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #3a3632; }
body.site-chrome .tray-more-sec summary::-webkit-details-marker { display: none; }
body.site-chrome .tray-more-sec summary::after { content: ""; margin-left: auto; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
body.site-chrome .tray-more-sec[open] summary::after { transform: rotate(-135deg); }
body.site-chrome .tray-pack { margin: 0 0 .9rem 1.1rem; padding: 0; font-size: .95rem; line-height: 1.6; }
body.site-chrome .tray-more-empty { margin: 0 0 .9rem; font-size: .88rem; color: #6f6a65; }

/* NFC Visiting Card: link to the chip-writing guide where the tap field was (Automaton Store nfc-card.php) */
body.site-chrome .nfc-card-guide a { color: #c8452a; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
/* NFC Visiting Card: sample card previews in the gallery (inc/nfc-page.php) */
.nfc-slide img { display: block; width: 100%; height: auto; background: #edeef2; }
/* NFC Visiting Card: what to upload (Automaton Store nfc-card.php) */
body.site-chrome .nfc-card-rules { margin: 0 0 1.2rem 1.1rem; padding: 0; font-size: .9rem; line-height: 1.55; color: #4a4642; }
body.site-chrome .nfc-card-rules li { margin: 0 0 .35rem; }
body.site-chrome .nfc-card-rules .nfc-formats { margin: .3rem 0 0 1.2rem; padding: 0; }
body.site-chrome .nfc-card-rules .nfc-formats li { margin: 0 0 .15rem; }
/* NFC Visiting Card: chip options, two across; one not on sale yet (Automaton Store nfc-card.php) */
body.site-chrome .nfc-chip .litho-lid-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.site-chrome .litho-lid-opt.is-soon, body.site-chrome .litho-lid-opt.is-soon input { cursor: not-allowed; }
body.site-chrome .litho-lid-opt.is-soon span { color: #a49d96; background: #f3efea; border-style: dashed; }
body.site-chrome .litho-lid-opt.is-soon:hover span { border-color: #d9d1c9; }
/* NFC Visiting Card: "we write your chip" add-on and its record sections (Automaton Store nfc-card.php) */
body.site-chrome form.cart .nfc-write { flex: 0 0 100%; border: 0; margin: 4px 0 8px; padding: 0; min-width: 0; }
body.site-chrome .nfc-write-tick { display: flex; align-items: center; gap: .55rem; padding: .7rem .85rem; border: 1px solid #d9d1c9; border-radius: 10px; background: #fff; font-weight: 600; font-size: .95rem; cursor: pointer; }
body.site-chrome .nfc-write-tick input { width: 18px; height: 18px; margin: 0; accent-color: #1a1a1a; }
body.site-chrome .nfc-write-tick:has(input:checked) { border-color: #1a1a1a; }
body.site-chrome .nfc-write-note { margin: 6px 0 0; font-size: .82rem; color: #6f6a65; }
body.site-chrome .nfc-write-records { margin-top: 10px; display: grid; gap: 8px; }
body.site-chrome .nfc-write-records[hidden], body.site-chrome .nfc-card-guide[hidden], body.site-chrome .nfc-write-note[hidden] { display: none; }
/* NFC Visiting Card: Pre-loaded record builder (Automaton Store assets/nfc-records.js) */
body.site-chrome .nfc-rec-warn { margin: 0 0 10px; padding: .6rem .8rem; border-left: 3px solid #c8452a; background: #fbf3ee; font-size: .84rem; line-height: 1.5; color: #4a4642; }
body.site-chrome .nfc-rec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
body.site-chrome .nfc-rec { border: 1px solid #e3dcd4; border-radius: 10px; background: #fff; }
body.site-chrome .nfc-rec.is-drag { box-shadow: 0 8px 24px rgba(0,0,0,.14); border-color: #1a1a1a; position: relative; z-index: 2; }
body.site-chrome .nfc-rec.is-over { border-style: dashed; border-color: #c8452a; opacity: .8; }
body.site-chrome .nfc-rec-head { display: flex; align-items: center; gap: .5rem; padding: .45rem .6rem; border-bottom: 1px solid #eee7e0; }
body.site-chrome .nfc-rec-handle { cursor: grab; touch-action: none; border: 0; background: none; padding: .2rem .3rem; font-size: 1.05rem; line-height: 1; color: #8a8580; }
body.site-chrome .nfc-rec.is-drag .nfc-rec-handle { cursor: grabbing; }
body.site-chrome .nfc-rec-title { font-weight: 600; font-size: .9rem; }
body.site-chrome .nfc-rec-n { display: inline-grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: #1a1a1a; color: #fff; font-size: .75rem; }
body.site-chrome .nfc-rec-first, body.site-chrome .nfc-rec-nofit { font-size: .72rem; font-weight: 600; padding: .1rem .45rem; border-radius: 999px; }
body.site-chrome .nfc-rec-first { background: #eaf4ec; color: #1f6b35; }
body.site-chrome .nfc-rec-nofit { background: #fbe6df; color: #a2361c; }
body.site-chrome .nfc-rec-first[hidden], body.site-chrome .nfc-rec-nofit[hidden] { display: none; }
body.site-chrome .nfc-rec-tools { margin-left: auto; display: flex; gap: 2px; }
body.site-chrome .nfc-rec-mv, body.site-chrome .nfc-rec-rm { border: 0; background: none; padding: .2rem .4rem; font-size: .95rem; line-height: 1; color: #6f6a65; cursor: pointer; border-radius: 6px; }
body.site-chrome .nfc-rec-mv:hover, body.site-chrome .nfc-rec-rm:hover { background: #f3efea; color: #1a1a1a; }
body.site-chrome .nfc-rec-body { padding: .6rem .8rem .2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0 .8rem; }
body.site-chrome .nfc-rec-body p { margin: 0 0 .6rem; }
body.site-chrome .nfc-rec-body p:only-of-type { grid-column: 1 / -1; }
body.site-chrome .nfc-rec-body label { display: block; font-size: .82rem; margin-bottom: .2rem; }
body.site-chrome .nfc-rec-body input { width: 100%; box-sizing: border-box; }
body.site-chrome .nfc-rec-foot { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: 10px; flex-wrap: wrap; }
body.site-chrome .nfc-rec-meter { font-size: .82rem; color: #6f6a65; }
.nfc-rec-dlg { border: 0; border-radius: 14px; padding: 1.2rem; width: min(420px, calc(100vw - 32px)); box-shadow: 0 20px 60px rgba(0,0,0,.25); font-family: Inter, system-ui, sans-serif; }
.nfc-rec-dlg::backdrop { background: rgba(20,18,16,.45); }
.nfc-rec-dlg h3 { margin: 0 0 .8rem; font-size: 1.05rem; }
.nfc-rec-dlg .nfc-rec-type { display: block; width: 100%; text-align: left; margin: 0 0 8px; padding: .75rem .9rem; border: 1px solid #d9d1c9; border-radius: 10px; background: #fff; cursor: pointer; color: #1a1a1a; }
.nfc-rec-dlg .nfc-rec-type:hover { border-color: #1a1a1a; }
.nfc-rec-dlg .nfc-rec-type strong { display: block; font-size: .95rem; }
.nfc-rec-dlg .nfc-rec-type span { display: block; font-size: .82rem; color: #6f6a65; margin-top: .15rem; }
.nfc-rec-dlg .nfc-rec-cancel { margin-top: 4px; border: 0; background: none; color: #6f6a65; cursor: pointer; padding: .4rem 0; }
@media (max-width: 600px) { body.site-chrome .nfc-rec-body { grid-template-columns: 1fr; } }
/* NFC thumbnails (owner, 2026-11-17): "Your design", two real photos, the samples.
   A photo or sample covers the editor box; the editor underneath keeps its size and state. */
body.site-chrome .nfc-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
body.site-chrome .nfc-thumb { display: block; aspect-ratio: 1199 / 845; padding: 0; border: 1px solid #e4ded6; border-radius: 6px; background: #faf8f6; overflow: hidden; cursor: pointer; }
body.site-chrome .nfc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.site-chrome .nfc-thumb[aria-selected="true"] { border-color: #1e1e22; box-shadow: 0 0 0 1px #1e1e22; }
body.site-chrome .nfc-thumb--live { display: flex; align-items: center; justify-content: center; background: linear-gradient(140deg, #fff, #efe9e3); color: #55504c; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; line-height: 1.25; text-align: center; }
body.site-chrome .nfc-thumb--empty { border-style: dashed; background: transparent; cursor: default; }
body.site-chrome .nfc-shot { position: absolute; inset: 0; border-radius: 16px; overflow: hidden; background: radial-gradient(120% 90% at 30% 20%, #ffffff 0%, #e9e3db 75%); }
body.site-chrome .nfc-shot[hidden] { display: none; }
body.site-chrome .nfc-shot img { width: 100%; height: 100%; object-fit: contain; display: block; }
body.site-chrome .nfc-stage.is-shot :is(.nfc-design-tools, .nfc-design-key) { visibility: hidden; }
/* NFC Visiting Card editor: card, layers, selection, print check (template-parts/nfc-stage.php, assets/js/nfc-designer.js) */
@font-face { font-family: "DejaVu Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("../nfc/fonts/DejaVuSans-Bold.woff2") format("woff2"); }
body.site-chrome .nfc-stage { display: grid; gap: 12px; align-content: start; }
body.site-chrome .nfc-design { position: relative; padding: clamp(18px, 4vw, 44px); border-radius: 16px; background: radial-gradient(120% 90% at 30% 20%, #ffffff 0%, #e9e3db 75%); }
body.site-chrome .nfc-card-face { position: relative; width: 100%; aspect-ratio: 85.6 / 53.98; border-radius: 3.715% / 5.89%; background: linear-gradient(145deg, #f3efe9, #e6e0d8); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 18px 40px rgba(30,24,18,.18), 0 3px 8px rgba(30,24,18,.12); overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
body.site-chrome .nfc-safe { position: absolute; left: 5.84%; right: 5.84%; top: 9.26%; bottom: 9.26%; border: 1px dashed rgba(0,0,0,.14); border-radius: 2px; pointer-events: none; }
body.site-chrome .nfc-empty { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 14%; text-align: center; font-size: .9rem; line-height: 1.5; color: #8a8580; pointer-events: none; }
body.site-chrome .nfc-empty[hidden] { display: none; }
body.site-chrome .nfc-l { position: absolute; transform-origin: 50% 50%; color: #262626; cursor: grab; }
body.site-chrome .nfc-l[hidden] { display: none; }
body.site-chrome .nfc-card-face.is-dragging .nfc-l { cursor: grabbing; }
body.site-chrome .nfc-l-clip { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
body.site-chrome .nfc-l-clip canvas { position: absolute; }
body.site-chrome .nfc-l-text { display: block; font-family: "DejaVu Sans", Verdana, sans-serif; font-weight: 700; line-height: 1.17; white-space: pre; color: #262626; pointer-events: none; }
body.site-chrome .nfc-l--text.is-bad .nfc-l-text { color: #dc2626; }
body.site-chrome .nfc-l--nfc { cursor: pointer; }
body.site-chrome .nfc-l-vec { display: grid; place-items: center; width: 100%; height: 100%; border: 1px dashed #8a8580; border-radius: 3px; font-size: .7rem; color: #6f6a65; text-align: center; background: rgba(255,255,255,.55); overflow: hidden; padding: 2px; box-sizing: border-box; }
body.site-chrome .nfc-sel { position: absolute; transform-origin: 50% 50%; outline: 1.5px solid #c8452a; outline-offset: 1px; pointer-events: none; z-index: 5; }
body.site-chrome .nfc-sel[hidden] { display: none; }
body.site-chrome .nfc-sel.is-locked { outline-style: dashed; }
body.site-chrome .nfc-sel.is-locked .nfc-h { display: none; }
body.site-chrome .nfc-h { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; border: 2px solid #c8452a; box-sizing: border-box; pointer-events: auto; touch-action: none; }
body.site-chrome .nfc-h--nw { left: 0; top: 0; cursor: nwse-resize; }
body.site-chrome .nfc-h--ne { left: 100%; top: 0; cursor: nesw-resize; }
body.site-chrome .nfc-h--sw { left: 0; top: 100%; cursor: nesw-resize; }
body.site-chrome .nfc-h--se { left: 100%; top: 100%; cursor: nwse-resize; }
body.site-chrome .nfc-h--rot { left: 50%; top: -22px; background: #c8452a; cursor: grab; }
body.site-chrome .nfc-h--rot::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1.5px; height: 12px; background: #c8452a; transform: translateX(-50%); }
body.site-chrome .nfc-h--crop { display: none; width: 18px; height: 6px; margin: -3px 0 0 -9px; border-radius: 2px; background: #1a1a1a; border: 0; }
body.site-chrome .nfc-sel.is-crop .nfc-h--crop { display: block; }
body.site-chrome .nfc-sel.is-crop .nfc-h:not(.nfc-h--crop) { display: none; }
body.site-chrome .nfc-h--cl { left: 0; top: 50%; width: 6px; height: 18px; margin: -9px 0 0 -3px; cursor: ew-resize; }
body.site-chrome .nfc-h--cr { left: 100%; top: 50%; width: 6px; height: 18px; margin: -9px 0 0 -3px; cursor: ew-resize; }
body.site-chrome .nfc-h--ct { left: 50%; top: 0; cursor: ns-resize; }
body.site-chrome .nfc-h--cb { left: 50%; top: 100%; cursor: ns-resize; }
@media (hover: none) { body.site-chrome .nfc-h { width: 18px; height: 18px; margin: -9px 0 0 -9px; } }
body.site-chrome .nfc-guide { position: absolute; background: rgba(200,69,42,.6); pointer-events: none; z-index: 4; }
body.site-chrome .nfc-guide[hidden] { display: none; }
body.site-chrome .nfc-guide--v { left: 50%; top: 0; bottom: 0; width: 1px; }
body.site-chrome .nfc-guide--h { top: 50%; left: 0; right: 0; height: 1px; }
body.site-chrome .nfc-design-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-height: 34px; font-size: .85rem; }
body.site-chrome .nfc-tools-hint { color: #6f6a65; }
body.site-chrome .nfc-tools-val { color: #6f6a65; font-variant-numeric: tabular-nums; }
body.site-chrome .nfc-tool { border: 1px solid #d9d1c9; background: #fff; border-radius: 999px; padding: .3rem .8rem; font-size: .8rem; font-weight: 600; color: #1a1a1a; cursor: pointer; }
body.site-chrome .nfc-tool.is-on { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
body.site-chrome .nfc-design-key { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .78rem; color: #6f6a65; }
body.site-chrome .nfc-key { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
body.site-chrome .nfc-key--red { background: #dc2626; }
body.site-chrome .nfc-key--amber { background: #f59e0b; }
body.site-chrome .nfc-key--safe { border: 1px dashed #8a8580; }
/* the layer panel in the form (Automaton Store nfc-card.php) */
body.site-chrome .nfc-layers-note { margin: -2px 0 8px; font-size: .82rem; color: #6f6a65; }
body.site-chrome .nfc-layers-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 6px; }
body.site-chrome .nfc-row { display: flex; align-items: center; gap: .55rem; padding: .45rem .55rem; border: 1px solid #e3dcd4; border-radius: 10px; background: #fff; cursor: pointer; }
body.site-chrome .nfc-row.is-sel { border-color: #1a1a1a; box-shadow: 0 0 0 1px #1a1a1a inset; }
body.site-chrome .nfc-row.is-bad { border-color: #f0a58f; background: #fff8f5; }
body.site-chrome .nfc-row.is-hidden .nfc-row-thumb, body.site-chrome .nfc-row.is-hidden .nfc-row-name { opacity: .45; }
body.site-chrome .nfc-row-eye, body.site-chrome .nfc-row-rm { flex: 0 0 auto; border: 0; background: none; padding: .25rem; border-radius: 6px; color: #6f6a65; cursor: pointer; line-height: 0; }
body.site-chrome .nfc-row-rm { font-size: 1.1rem; line-height: 1; }
body.site-chrome .nfc-row-eye[aria-pressed="false"] { color: #c3bcb5; }
body.site-chrome .nfc-row-eye:hover, body.site-chrome .nfc-row-rm:hover { background: #f3efea; color: #1a1a1a; }
body.site-chrome .nfc-row-thumb { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 6px; background: #f3efea; display: grid; place-items: center; overflow: hidden; font-weight: 700; font-size: .78rem; color: #6f6a65; }
body.site-chrome .nfc-row-thumb img, body.site-chrome .nfc-row-thumb svg { width: 80%; height: 80%; object-fit: contain; color: #262626; }
body.site-chrome .nfc-row-mid { flex: 1 1 auto; min-width: 0; display: grid; gap: 3px; }
body.site-chrome .nfc-row-name { font-weight: 600; font-size: .88rem; }
body.site-chrome .nfc-row-status { font-size: .76rem; color: #a2361c; }
body.site-chrome .nfc-row-status:empty { display: none; }
body.site-chrome .nfc-row.is-hidden .nfc-row-status { color: #8a8580; }
body.site-chrome .nfc-row-text { width: 100%; box-sizing: border-box; font-size: .9rem; padding: .35rem .5rem; }
body.site-chrome .nfc-row-file { justify-self: start; border: 1px solid #d9d1c9; background: #fff; border-radius: 999px; padding: .2rem .7rem; font-size: .78rem; font-weight: 600; cursor: pointer; }
body.site-chrome .nfc-layers-issues { margin: 8px 0 6px; padding: .55rem .75rem; border-left: 3px solid #dc2626; background: #fdf2f2; font-size: .82rem; line-height: 1.5; }
body.site-chrome .nfc-layers-issues[hidden], body.site-chrome .nfc-layers-ack[hidden] { display: none; }
body.site-chrome .nfc-layers-ack { display: flex; gap: .5rem; align-items: flex-start; font-size: .85rem; font-weight: 600; margin-bottom: 8px; }
body.site-chrome .nfc-layers .nfc-card-rules { margin-top: 12px; }
