/* ==========================================================================
   Sterifag India — design system
   Brand: clinical navy + instrument blue, lime as the single accent.
   Type:  Montserrat throughout, with tabular figures for prices and specs
   ========================================================================== */

:root {
    --ink:        #06182f;
    --ink-soft:   #123252;
    --steel:      #0f6fb4;
    --steel-dark: #0a5488;
    --lime:       #9dbe3b;
    --lime-dark:  #7f9d29;
    --body:       #5a6b80;
    --line:       #dde5ee;
    --line-soft:  #eaf0f6;
    --paper:      #f4f7fa;
    --paper-2:    #eaf1f7;
    --white:      #ffffff;
    --warn:       #b4531a;
    --danger:     #b3261e;
    --ok:         #2c7a3f;

    --display: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
    --sans:    'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
    /* Montserrat has no monospace cut, so the data role uses the same family
       with tabular figures — see .price / .spec-rail / .mono below. */
    --mono:    'Montserrat', 'Segoe UI', system-ui, sans-serif;

    --wrap: 1220px;
    --r-sm: 4px;
    --r:    8px;
    --r-lg: 14px;
    --shadow-sm: 0 1px 2px rgba(6, 24, 47, .06), 0 2px 8px rgba(6, 24, 47, .05);
    --shadow:    0 2px 6px rgba(6, 24, 47, .07), 0 12px 32px rgba(6, 24, 47, .08);
    --shadow-lg: 0 24px 60px rgba(6, 24, 47, .16);
    --t: .18s cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--body);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--steel); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--ink); }

h1, h2, h3, h4, h5 {
    font-family: var(--display);
    color: var(--ink);
    line-height: 1.18;
    letter-spacing: -.025em;
    margin: 0 0 .5em;
    font-weight: 700;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.02rem; }
p  { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.15rem; }
li { margin-bottom: .35rem; }
hr { border: none; border-top: 1px solid var(--line); margin: 2rem 0; }

:focus-visible {
    outline: 3px solid var(--lime);
    outline-offset: 2px;
    border-radius: var(--r-sm);
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 999;
    background: var(--ink); color: #fff; padding: 12px 20px;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------- buttons */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    font-family: var(--sans); font-size: .92rem; font-weight: 600;
    padding: .78rem 1.4rem; border-radius: var(--r); border: 1px solid transparent;
    cursor: pointer; transition: all var(--t); text-align: center;
    line-height: 1.2; white-space: nowrap;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-soft); color: #fff; transform: translateY(-1px); }
.btn-accent { background: var(--lime); color: #14260a; }
.btn-accent:hover { background: var(--lime-dark); color: #14260a; }
.btn-steel { background: var(--steel); color: #fff; }
.btn-steel:hover { background: var(--steel-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); background: var(--paper); }
.btn-ghost { background: transparent; color: var(--body); padding: .5rem .8rem; }
.btn-ghost:hover { color: var(--ink); background: var(--paper); }
.btn-sm { padding: .5rem .9rem; font-size: .82rem; }
.btn-lg { padding: .95rem 1.9rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn:disabled, .btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------------------------------------------------------------- header */

.topbar {
    background: var(--ink); color: #a9c2da;
    font-size: .8rem; padding: .5rem 0;
}
.topbar .wrap { display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; }
.topbar a { color: #cfe0f0; }
.topbar a:hover { color: #fff; }
.topbar-links { display: flex; gap: 1.25rem; align-items: center; }

.site-header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--line);
}
.header-main { display: flex; align-items: center; gap: 1.5rem; padding: .85rem 0; }
.brand { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.brand img, .brand svg { height: 44px; width: auto; }
.brand-text { font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--ink); letter-spacing: -.03em; }

.header-search { flex: 1; max-width: 520px; position: relative; }
.header-search input {
    width: 100%; padding: .68rem 2.75rem .68rem 1rem;
    border: 1px solid var(--line); border-radius: 999px;
    font-family: var(--sans); font-size: .9rem; background: var(--paper);
    transition: all var(--t);
}
.header-search input:focus { background: #fff; border-color: var(--steel); outline: none; box-shadow: 0 0 0 3px rgba(15, 111, 180, .12); }
.header-search button {
    position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
    background: var(--ink); color: #fff; border: none; width: 34px; height: 34px;
    border-radius: 50%; cursor: pointer; display: grid; place-items: center;
}
.header-search button:hover { background: var(--steel); }

.header-actions { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.icon-btn {
    position: relative; display: grid; place-items: center;
    width: 42px; height: 42px; border-radius: var(--r); color: var(--ink);
    border: 1px solid transparent; background: transparent; cursor: pointer;
}
.icon-btn:hover { background: var(--paper); color: var(--ink); }
.badge {
    position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px;
    background: var(--lime); color: #14260a; border-radius: 999px;
    font-family: var(--mono); font-size: .66rem; font-weight: 600;
    display: grid; place-items: center; padding: 0 4px;
}

/* navigation */
.site-nav { border-top: 1px solid var(--line-soft); }
.nav-list { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list > li > a {
    display: block; padding: .8rem 1rem; font-size: .88rem; font-weight: 600;
    color: var(--ink); letter-spacing: .01em;
}
.nav-list > li > a:hover, .nav-list > li.is-active > a { color: var(--steel); }
.nav-list > li.is-active > a { box-shadow: inset 0 -2px 0 var(--lime); }
.has-sub > a::after { content: '▾'; margin-left: .35rem; font-size: .7rem; color: var(--body); }
.subnav {
    position: absolute; top: 100%; left: 0; min-width: 230px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    box-shadow: var(--shadow); padding: .4rem; list-style: none; margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: all var(--t); z-index: 70;
}
.has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
.subnav a { display: block; padding: .5rem .75rem; font-size: .86rem; color: var(--ink-soft); border-radius: var(--r-sm); }
.subnav a:hover { background: var(--paper); color: var(--steel); }

.nav-toggle { display: none; }

/* ------------------------------------------------------------------ hero */

.hero { position: relative; background: var(--paper); }

.hero-track {
    position: relative;
    min-height: 540px;
    overflow: hidden;
}

.hero-slide {
    position: absolute; top: 0; right: 0; bottom: 0; left: 0;
    display: flex; align-items: center;
    opacity: 0; visibility: hidden;
    transition: opacity .65s ease, visibility .65s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }

/* The banner artwork sits full-bleed. It already carries its own navy
   background and holds its equipment toward the right, so we anchor right
   and lay a left-to-right scrim over it for text contrast. */
.hero-bg {
    position: absolute; top: 0; right: 0; bottom: 0; left: 0;
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
}
/* A light veil rather than a dark one: it lifts the left side just enough
   for dark text to hold, while leaving the equipment on the right untouched. */
.hero-bg::after {
    content: '';
    position: absolute; top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, .80) 0%,
        rgba(255, 255, 255, .72) 30%,
        rgba(255, 255, 255, .50) 46%,
        rgba(255, 255, 255, .16) 62%,
        rgba(255, 255, 255, 0) 78%
    );
}

.hero-slide .wrap { position: relative; z-index: 2; width: 100%; }
.hero-copy { max-width: 33rem; padding: 3.5rem 0 5rem; }

.hero-eyebrow {
    font-family: var(--mono); font-size: .74rem; letter-spacing: .2em;
    text-transform: uppercase; color: var(--steel); margin: 0 0 1rem; font-weight: 700;
    display: flex; align-items: center; gap: .7rem;
}
.hero-eyebrow::after {
    content: ''; height: 1px; flex: 1; max-width: 70px;
    background: linear-gradient(to right, var(--lime-dark), transparent);
}

.hero h1 {
    color: var(--ink);
    font-size: clamp(2.1rem, 4.6vw, 3.5rem);
    line-height: 1.08;
    margin-bottom: 1.1rem;
    text-wrap: balance;
}
.hero p {
    color: var(--ink); font-size: 1.06rem; max-width: 38ch; margin-bottom: 2rem;
    font-weight: 500;
}
.hero-cta { display: flex; gap: .75rem; flex-wrap: wrap; }

.btn-hero-ghost {
    background: rgba(255, 255, 255, .72);
    border-color: rgba(6, 24, 47, .18);
    color: var(--ink);
    backdrop-filter: blur(4px);
}
.btn-hero-ghost:hover {
    background: #fff;
    border-color: var(--ink);
    color: var(--ink);
}

.hero-controls {
    position: absolute; left: 0; right: 0; bottom: 1.75rem; z-index: 3;
}
.hero-dots { display: flex; gap: .5rem; }
.hero-dots button {
    width: 38px; height: 4px; border: none; border-radius: 999px; padding: 0;
    background: rgba(6, 24, 47, .18); cursor: pointer;
    transition: background var(--t), transform var(--t);
}
.hero-dots button:hover { background: rgba(6, 24, 47, .34); }
.hero-dots button.is-active { background: var(--lime-dark); transform: scaleY(1.5); }

/* the spec rail — the site's signature device */
.spec-rail {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    margin: 0;
}
.spec-rail div { padding: 1.15rem 0 1.4rem; }
.spec-rail dt {
    font-family: var(--mono); font-size: .7rem; letter-spacing: .14em;
    text-transform: uppercase; color: var(--body); margin-bottom: .3rem; font-weight: 700;
}

/* The same rail is used on the dark About band, where these colours would be
   invisible. Scope the light treatment there back to white. */
.section-ink .spec-rail dt { color: #9dbad4; }
.section-ink .spec-rail dd { color: #fff; }
.section-ink .spec-rail { border-top-color: rgba(255, 255, 255, .14); }
.spec-rail dd {
    margin: 0; font-family: var(--display); font-size: 1.7rem;
    color: var(--ink); font-weight: 700; letter-spacing: -.02em;
}

/* --------------------------------------------------------------- sections */

.section { padding: 4.25rem 0; }
.section-tight { padding: 2.75rem 0; }
.section-paper { background: var(--paper); }
.section-ink { background: var(--ink); color: #b6cbdd; }
.section-ink h2, .section-ink h3 { color: #fff; }

.section-head { margin-bottom: 2.25rem; }
.section-head.is-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.eyebrow {
    font-family: var(--mono); font-size: .72rem; letter-spacing: .18em;
    text-transform: uppercase; color: var(--steel); margin-bottom: .6rem; display: block;
    font-weight: 700;
}
.section-head p { max-width: 62ch; margin: 0; }

/* ------------------------------------------------------------------ grids */

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

/* Figures that must line up in columns. Montserrat carries tabular
   figures, so prices and capacities still align without a mono face. */
.price, .spec-rail dd, .spec-table td, .summary-row .num, .mini-line .mini-meta,
.result-count, .pager a, .pager span, .qty input, .cart-item .sku {
    font-variant-numeric: tabular-nums;
    font-feature-settings: 'tnum' 1, 'lnum' 1;
}

/* --------------------------------------------------------- product cards */

.card-product {
    position: relative; display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--r-lg); overflow: hidden; transition: all var(--t);
}
.card-product:hover { border-color: #c3d4e4; box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media {
    position: relative; aspect-ratio: 4 / 3; background: var(--paper);
    display: grid; place-items: center; overflow: hidden;
}
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; transition: transform .35s ease; }
.card-product:hover .card-media img { transform: scale(1.045); }
.card-body { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; flex: 1; }
.card-cat {
    font-family: var(--mono); font-size: .68rem; letter-spacing: .12em;
    text-transform: uppercase; color: var(--steel); margin-bottom: .45rem; font-weight: 700;
}
.card-title {
    font-family: var(--display); font-size: .99rem; font-weight: 600;
    color: var(--ink); line-height: 1.3; margin: 0 0 .6rem;
}
.card-title a { color: inherit; }
.card-title a:hover { color: var(--steel); }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.price {
    font-family: var(--mono); font-size: 1.02rem; font-weight: 600;
    color: var(--ink); letter-spacing: -.02em;
}
.price-request { font-size: .82rem; font-weight: 600; color: var(--warn); letter-spacing: 0; }

.card-tag {
    position: absolute; top: .7rem; left: .7rem; z-index: 2;
    font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; font-weight: 700;
    text-transform: uppercase; background: var(--lime); color: #14260a;
    padding: .25rem .5rem; border-radius: var(--r-sm);
}
.card-tag.is-capacity { background: var(--lime); color: #14260a; }
.wish-btn {
    position: absolute; top: .6rem; right: .6rem; z-index: 2;
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255, 255, 255, .94); border: 1px solid var(--line);
    display: grid; place-items: center; cursor: pointer; color: var(--body);
    transition: all var(--t);
}
.wish-btn:hover, .wish-btn.is-on { color: #d4443c; border-color: #f0c4c1; background: #fff; }

/* --------------------------------------------------------- category tiles */

.tile {
    position: relative; display: block; border-radius: var(--r-lg); overflow: hidden;
    background: var(--ink); min-height: 200px; color: #fff;
}
.tile img {
    position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: .38; transition: all .4s ease;
}
.tile:hover img { opacity: .5; transform: scale(1.05); }
.tile-body {
    position: relative; z-index: 2; padding: 1.5rem;
    display: flex; flex-direction: column; justify-content: flex-end; min-height: 200px;
    background: linear-gradient(to top, rgba(6, 24, 47, .92) 10%, rgba(6, 24, 47, .25) 70%);
}
.tile h3 { color: #fff; margin: 0 0 .25rem; font-size: 1.15rem; }
.tile span { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }

/* ----------------------------------------------------------------- shop */

.shop-layout { display: grid; grid-template-columns: 268px 1fr; gap: 2.5rem; align-items: start; }
.filter-panel {
    position: sticky; top: 118px;
    border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.25rem; background: #fff;
}
.filter-group { padding-bottom: 1.1rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--line-soft); }
.filter-group:last-of-type { border-bottom: none; margin-bottom: .5rem; }
.filter-group h4 {
    font-family: var(--mono); font-size: .72rem; letter-spacing: .14em;
    text-transform: uppercase; color: var(--body); margin: 0 0 .75rem; font-weight: 700;
}
.filter-list { list-style: none; margin: 0; padding: 0; }
.filter-list li { margin: 0; }
.filter-list a {
    display: flex; justify-content: space-between; gap: .5rem;
    padding: .32rem 0; font-size: .88rem; color: var(--ink-soft);
}
.filter-list a:hover { color: var(--steel); }
.filter-list a.is-on { color: var(--steel); font-weight: 600; }
.filter-list .count { font-family: var(--mono); font-size: .72rem; color: var(--body); }
.filter-list ul { list-style: none; padding-left: .85rem; margin: .2rem 0 .5rem; border-left: 1px solid var(--line); }

.shop-toolbar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem;
    padding-bottom: 1rem; border-bottom: 1px solid var(--line);
}
.result-count { font-family: var(--mono); font-size: .82rem; color: var(--body); font-weight: 600; }

/* ----------------------------------------------------------- form fields */

.field { margin-bottom: 1.05rem; }
.field label, .label {
    display: block; font-size: .82rem; font-weight: 700;
    color: var(--ink); margin-bottom: .35rem;
}
.field .hint { font-size: .78rem; color: var(--body); margin-top: .3rem; }
input[type=text], input[type=email], input[type=tel], input[type=password],
input[type=number], input[type=search], select, textarea {
    width: 100%; padding: .68rem .85rem;
    border: 1px solid var(--line); border-radius: var(--r);
    font-family: var(--sans); font-size: .92rem; color: var(--ink);
    background: #fff; transition: all var(--t);
}
input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--steel);
    box-shadow: 0 0 0 3px rgba(15, 111, 180, .12);
}
textarea { min-height: 120px; resize: vertical; }
select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%235a6b80' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right .8rem center;
    background-size: 11px; padding-right: 2.2rem;
}
.check { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--ink-soft); cursor: pointer; }
.check input { width: auto; }
.hp { position: absolute; left: -9999px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* qty stepper */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.qty button {
    width: 36px; height: 40px; border: none; background: var(--paper);
    color: var(--ink); cursor: pointer; font-size: 1rem;
}
.qty button:hover { background: var(--paper-2); }
.qty input {
    width: 52px; height: 40px; border: none; text-align: center;
    font-family: var(--mono); font-size: .92rem; padding: 0;
}
.qty input:focus { box-shadow: none; }

/* ---------------------------------------------------------- product page */

.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.gallery-main {
    border: 1px solid var(--line); border-radius: var(--r-lg);
    background: var(--paper); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 2rem; }
.gallery-thumbs { display: flex; gap: .6rem; margin-top: .75rem; flex-wrap: wrap; }
.gallery-thumbs button {
    width: 72px; height: 72px; border: 1px solid var(--line); border-radius: var(--r);
    background: var(--paper); padding: 4px; cursor: pointer; overflow: hidden;
}
.gallery-thumbs button.is-active { border-color: var(--steel); box-shadow: 0 0 0 2px rgba(15, 111, 180, .15); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }

.product-price { font-family: var(--mono); font-size: 2rem; font-weight: 600; color: var(--ink); margin: .5rem 0 .25rem; letter-spacing: -.03em; }
.product-price.is-request { font-size: 1.3rem; color: var(--warn); }
.stock { display: inline-flex; align-items: center; gap: .4rem; font-size: .86rem; font-weight: 600; }
.stock.in { color: var(--ok); }
.stock.out { color: var(--danger); }

.spec-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .88rem; }
.spec-table th, .spec-table td { padding: .6rem 0; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
.spec-table th { width: 38%; color: var(--body); font-weight: 700; }
.spec-table td { color: var(--ink); font-family: var(--mono); font-size: .85rem; }

.buy-actions { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; margin: 1.5rem 0; }

.accordion { border-top: 1px solid var(--line); margin-top: 2.5rem; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1.1rem 0; background: none; border: none; cursor: pointer;
    font-family: var(--display); font-size: 1.02rem; font-weight: 600; color: var(--ink); text-align: left;
}
.acc-head::after { content: '+'; font-family: var(--mono); font-size: 1.3rem; color: var(--steel); font-weight: 400; }
.acc-item.is-open .acc-head::after { content: '−'; }
.acc-body { display: none; padding: 0 0 1.4rem; max-width: 78ch; }
.acc-item.is-open .acc-body { display: block; }
.acc-body ul { padding-left: 1.15rem; }

.pincode-box { border: 1px solid var(--line); border-radius: var(--r); padding: 1rem; background: var(--paper); }
.pincode-row { display: flex; gap: .5rem; }
.pincode-row input { flex: 1; }
.pincode-msg { font-size: .84rem; margin-top: .6rem; color: var(--ok); }
.pincode-msg.is-error { color: var(--danger); }

/* ------------------------------------------------------------------ cart */

.cart-layout { display: grid; grid-template-columns: 1fr 350px; gap: 2.5rem; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
    text-align: left; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em;
    text-transform: uppercase; color: var(--body); font-weight: 700;
    padding-bottom: .75rem; border-bottom: 1px solid var(--line);
}
.cart-table td { padding: 1.1rem 0; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.cart-item { display: flex; gap: 1rem; align-items: center; }
.cart-item img { width: 76px; height: 76px; object-fit: contain; background: var(--paper); border-radius: var(--r); padding: 6px; flex-shrink: 0; }
.cart-item strong { display: block; font-family: var(--display); font-size: .95rem; color: var(--ink); }
.cart-item .sku { font-family: var(--mono); font-size: .72rem; color: var(--body); font-weight: 600; }

.summary { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem; background: #fff; position: sticky; top: 118px; }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; font-size: .92rem; }
.summary-row.total {
    border-top: 1px solid var(--line); margin-top: .5rem; padding-top: .9rem;
    font-family: var(--display); font-size: 1.15rem; font-weight: 600; color: var(--ink);
}
.summary-row .num { font-family: var(--mono); }

/* --------------------------------------------------------------- notices */

.notice {
    padding: .85rem 1.1rem; border-radius: var(--r); font-size: .9rem;
    border: 1px solid var(--line); background: var(--paper); margin-bottom: 1rem;
    display: flex; gap: .6rem; align-items: flex-start;
}
.notice-success { background: #eef7f0; border-color: #cbe5d2; color: #205c31; }
.notice-error { background: #fdefee; border-color: #f3ccc9; color: #8e211b; }
.notice-info { background: #eef4fb; border-color: #ccdff2; color: #12456f; }
.notice-warn { background: #fdf4ea; border-color: #f0dcc3; color: #86470f; }

.flash-stack { position: fixed; top: 84px; right: 20px; z-index: 200; width: min(360px, calc(100vw - 40px)); }
.flash-stack .notice { box-shadow: var(--shadow); background: #fff; }

/* ------------------------------------------------------------- page head */

.page-head { background: var(--paper); border-bottom: 1px solid var(--line); padding: 2.75rem 0; }
.page-head h1 { margin: 0 0 .4rem; }
.crumbs { font-size: .82rem; color: var(--body); display: flex; gap: .45rem; flex-wrap: wrap; align-items: center; }
.crumbs a { color: var(--body); }
.crumbs a:hover { color: var(--steel); }
.crumbs .sep { opacity: .5; }

/* ----------------------------------------------------------- prose block */

.prose { max-width: 78ch; }
.prose h2, .prose h3 { margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }
.prose a { text-decoration: underline; }

/* ------------------------------------------------------------ pagination */

.pager { display: flex; gap: .35rem; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }
.pager a, .pager span {
    min-width: 40px; height: 40px; display: grid; place-items: center;
    padding: 0 .6rem; border: 1px solid var(--line); border-radius: var(--r);
    font-family: var(--mono); font-size: .85rem; color: var(--ink-soft);
}
.pager a:hover { border-color: var(--ink); color: var(--ink); }
.pager .is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager-gap { border: none; }

/* ------------------------------------------------------------ misc bits */

.logo-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.5rem; align-items: center; }
.logo-strip img { filter: grayscale(1); opacity: .55; transition: all var(--t); max-height: 56px; margin: 0 auto; width: auto; }
.logo-strip img:hover { filter: none; opacity: 1; }

.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.75rem; }
.quote-card blockquote { margin: 0 0 1.25rem; font-size: 1rem; color: var(--ink-soft); line-height: 1.7; }
.quote-card footer { display: flex; align-items: center; gap: .8rem; }
.quote-card footer img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote-card cite { font-style: normal; font-family: var(--display); font-weight: 600; color: var(--ink); display: block; }
.quote-card small { color: var(--body); font-size: .82rem; }

.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature-num {
    font-family: var(--mono); font-size: .78rem; color: var(--lime);
    border: 1px solid rgba(157, 190, 59, .4); border-radius: var(--r-sm);
    padding: .15rem .4rem; flex-shrink: 0; margin-top: .2rem;
}
.feature h3 { font-size: 1rem; margin-bottom: .3rem; }
.feature p { font-size: .9rem; margin: 0; }

.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.post-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.post-card .post-body { padding: 1.25rem; }
.post-meta { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); margin-bottom: .5rem; font-weight: 700; }

.empty { text-align: center; padding: 4rem 1rem; }
.empty h2 { margin-bottom: .5rem; }

/* ---------------------------------------------------------------- footer */

.site-footer { background: var(--ink); color: #97b2ca; padding: 3.5rem 0 0; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.site-footer h4 {
    color: #fff; font-family: var(--mono); font-size: .74rem; letter-spacing: .16em;
    text-transform: uppercase; font-weight: 700; margin-bottom: 1.1rem;
}
.site-footer a { color: #97b2ca; font-size: .9rem; }
.site-footer a:hover { color: var(--lime); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.footer-brand img { height: 44px; background: #fff; padding: .5rem .7rem; border-radius: var(--r); margin-bottom: 1rem; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.25rem 0;
    display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem;
}
.subscribe-row { display: flex; gap: .5rem; margin-top: .75rem; }
.subscribe-row input {
    flex: 1; background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); color: #fff;
}
.subscribe-row input::placeholder { color: #7e9ab4; }

.wa-float {
    position: fixed; right: 18px; bottom: 18px; z-index: 90;
    width: 54px; height: 54px; border-radius: 50%; background: #25d366;
    display: grid; place-items: center; box-shadow: var(--shadow);
    color: #fff; transition: transform var(--t);
}
.wa-float:hover { transform: scale(1.06); color: #fff; }

/* ----------------------------------------------------------------- modal */

.modal-backdrop {
    position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(6, 24, 47, .55);
    display: none; place-items: center; z-index: 300; padding: 20px;
}
.modal-backdrop.is-open { display: grid; }
.modal {
    background: #fff; border-radius: var(--r-lg); width: min(520px, 100%);
    max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); position: relative;
}
.modal-head { padding: 1.4rem 1.6rem .75rem; border-bottom: 1px solid var(--line-soft); }
.modal-head h3 { margin: 0; }
.modal-body { padding: 1.4rem 1.6rem 1.6rem; }
.modal-close {
    position: absolute; top: .8rem; right: .9rem; width: 34px; height: 34px;
    border: none; background: var(--paper); border-radius: 50%; cursor: pointer;
    font-size: 1.2rem; line-height: 1; color: var(--body);
}
.modal-close:hover { background: var(--paper-2); color: var(--ink); }

/* --------------------------------------------------------------- drawers */

.drawer {
    position: fixed; top: 0; right: 0; height: 100%; width: min(400px, 100%);
    background: #fff; z-index: 310; transform: translateX(100%);
    transition: transform .28s cubic-bezier(.4, 0, .2, 1);
    display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.drawer.is-open { transform: translateX(0); }
.drawer-head { padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.drawer-head h3 { margin: 0; font-size: 1.05rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 1.2rem 1.4rem; }
.drawer-foot { border-top: 1px solid var(--line); padding: 1.2rem 1.4rem; }
.mini-line { display: flex; gap: .8rem; padding: .8rem 0; border-bottom: 1px solid var(--line-soft); align-items: center; }
.mini-line img { width: 56px; height: 56px; object-fit: contain; background: var(--paper); border-radius: var(--r-sm); padding: 4px; }
.mini-line strong { font-size: .88rem; font-family: var(--display); color: var(--ink); display: block; }
.mini-line .mini-meta { font-family: var(--mono); font-size: .76rem; color: var(--body); font-weight: 600; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 1024px) {
    .shop-layout { grid-template-columns: 1fr; }
    .filter-panel { position: static; }
    .cart-layout { grid-template-columns: 1fr; }
    .summary { position: static; }
    .grid-4 { grid-template-columns: repeat(3, 1fr); }
    .grid-5 { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .logo-strip { grid-template-columns: repeat(4, 1fr); }
    .hero-track { min-height: 460px; }
    .hero-copy { max-width: 30rem; padding: 3rem 0 4.5rem; }
    .product-layout { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 780px) {
    .nav-toggle {
        display: grid; place-items: center; width: 42px; height: 42px;
        border: 1px solid var(--line); border-radius: var(--r); background: #fff; cursor: pointer;
    }
    .site-nav {
        display: none; border-top: 1px solid var(--line);
        max-height: 70vh; overflow-y: auto; padding-bottom: 1rem;
    }
    .site-nav.is-open { display: block; }
    .nav-list { flex-direction: column; }
    .nav-list > li > a { padding: .75rem 0; border-bottom: 1px solid var(--line-soft); }
    .subnav {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: none; padding: .25rem 0 .5rem .9rem;
        display: none;
    }
    .has-sub.is-open .subnav { display: block; }
    .header-search { order: 3; flex-basis: 100%; max-width: none; margin-top: .6rem; }
    .header-main { flex-wrap: wrap; }
    .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
    .spec-rail { grid-template-columns: repeat(2, 1fr); }
    .hero-track { min-height: 430px; }
    .hero-copy { max-width: none; padding: 2.5rem 0 4rem; }
    .hero-bg { background-position: center right -60px; }
    .hero-bg::after {
        background: linear-gradient(to bottom, rgba(255,255,255,.95) 0%, rgba(255,255,255,.88) 50%, rgba(255,255,255,.55) 100%);
    }
    .hero p { font-size: 1rem; }
    .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .logo-strip { grid-template-columns: repeat(3, 1fr); }
    .field-row { grid-template-columns: 1fr; }
    .section { padding: 3rem 0; }
    .cart-table thead { display: none; }
    .cart-table td { display: block; border: none; padding: .35rem 0; }
    .cart-table tr { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line); }
    .topbar-links { display: none; }
}

@media (max-width: 480px) {
    .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
    .logo-strip { grid-template-columns: repeat(2, 1fr); }
    .brand img { height: 36px; }
}

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

@media print {
    .site-header, .site-footer, .wa-float, .buy-actions, .pager { display: none; }
    body { color: #000; }
}

/* ==========================================================================
   Motion
   Hiding is applied only when .js-anim is on <html>, which JavaScript adds
   immediately. If the script fails, nothing is ever left invisible.
   Everything here is disabled under prefers-reduced-motion.
   ========================================================================== */

.js-anim [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s cubic-bezier(.16, 1, .3, 1),
                transform .7s cubic-bezier(.16, 1, .3, 1);
    transition-delay: var(--d, 0ms);
    will-change: opacity, transform;
}
.js-anim [data-reveal].is-in {
    opacity: 1;
    transform: none;
}

/* Directional variants for a bit of variety */
.js-anim [data-reveal="left"]  { transform: translateX(-28px); }
.js-anim [data-reveal="right"] { transform: translateX(28px); }
.js-anim [data-reveal="scale"] { transform: scale(.96); }
.js-anim [data-reveal="fade"]  { transform: none; }
.js-anim [data-reveal].is-in { transform: none; }

/* ------------------------------------------------------------ hero entrance */

@keyframes heroRise {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: none; }
}
@keyframes heroDrift {
    from { transform: scale(1.06); }
    to   { transform: scale(1); }
}
@keyframes lineGrow {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

.hero-slide.is-active .hero-eyebrow { animation: heroRise .8s cubic-bezier(.16,1,.3,1) both; }
.hero-slide.is-active h1            { animation: heroRise .8s cubic-bezier(.16,1,.3,1) .08s both; }
.hero-slide.is-active .hero-copy p  { animation: heroRise .8s cubic-bezier(.16,1,.3,1) .16s both; }
.hero-slide.is-active .hero-cta     { animation: heroRise .8s cubic-bezier(.16,1,.3,1) .24s both; }

/* A very slow drift on the banner gives depth without drawing attention. */
.hero-slide.is-active .hero-bg { animation: heroDrift 14s ease-out both; }

.hero-eyebrow::after { transform-origin: left; animation: lineGrow .9s cubic-bezier(.16,1,.3,1) .5s both; }

/* Accent glow behind the primary hero button */
.hero-cta .btn-accent { position: relative; box-shadow: 0 6px 24px rgba(157, 190, 59, .28); }
.hero-cta .btn-accent:hover { box-shadow: 0 10px 32px rgba(157, 190, 59, .42); }

/* ------------------------------------------------------------- spec counters */

.spec-rail dd { transition: color .3s; }
.spec-rail div { position: relative; }
.spec-rail div::after {
    content: '';
    position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
    background: linear-gradient(to right, var(--lime), transparent);
    transition: width .8s cubic-bezier(.16, 1, .3, 1);
}
.spec-rail div.is-in::after { width: 64px; }

/* -------------------------------------------------------------- card motion */

.card-product {
    transition: transform .45s cubic-bezier(.16, 1, .3, 1),
                box-shadow .45s cubic-bezier(.16, 1, .3, 1),
                border-color .3s;
}
.card-product:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 42px rgba(6, 24, 47, .13);
}
.card-media img { transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.card-product:hover .card-media img { transform: scale(1.07); }

/* A hairline that draws in on hover — quiet, but it makes the grid feel alive */
.card-product::after {
    content: '';
    position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
    background: linear-gradient(to right, var(--lime), var(--steel));
    transition: width .5s cubic-bezier(.16, 1, .3, 1);
    z-index: 3;
}
.card-product:hover::after { width: 100%; }

.card-product .btn { transition: transform .25s, background .2s; }
.card-product:hover .btn-accent { transform: translateX(2px); }

/* --------------------------------------------------------------- dept tiles */

.tile { transition: transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .5s; }
.tile:hover { transform: translateY(-5px); box-shadow: 0 20px 46px rgba(6, 24, 47, .28); }
.tile img { transition: transform .8s cubic-bezier(.16, 1, .3, 1), opacity .5s; }
.tile h3 { transition: transform .4s cubic-bezier(.16, 1, .3, 1); }
.tile:hover h3 { transform: translateY(-3px); }
.tile-body::after {
    content: '';
    position: absolute; left: 1.5rem; bottom: 1.1rem;
    width: 0; height: 2px; background: var(--lime);
    transition: width .45s cubic-bezier(.16, 1, .3, 1);
}
.tile:hover .tile-body::after { width: 42px; }

/* ------------------------------------------------------------------ header */

.site-header { transition: box-shadow .3s, background .3s; }
.site-header.is-scrolled { box-shadow: 0 4px 24px rgba(6, 24, 47, .09); }
.nav-list > li > a { position: relative; }
.nav-list > li > a::before {
    content: '';
    position: absolute; left: 1rem; right: 1rem; bottom: .55rem; height: 2px;
    background: var(--lime); transform: scaleX(0); transform-origin: left;
    transition: transform .32s cubic-bezier(.16, 1, .3, 1);
}
.nav-list > li > a:hover::before { transform: scaleX(1); }

/* ------------------------------------------------------------------ buttons */

.btn { position: relative; overflow: hidden; }
.btn-primary::after, .btn-accent::after, .btn-steel::after {
    content: '';
    position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .22), transparent);
    transform: skewX(-20deg);
    transition: left .55s cubic-bezier(.16, 1, .3, 1);
}
.btn-primary:hover::after, .btn-accent:hover::after, .btn-steel:hover::after { left: 125%; }

/* ------------------------------------------------------------ client marquee */

.logo-marquee { overflow: hidden; position: relative; padding: .5rem 0; }
.logo-marquee::before, .logo-marquee::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.logo-marquee::before { left: 0;  background: linear-gradient(to right, var(--paper), transparent); }
.logo-marquee::after  { right: 0; background: linear-gradient(to left,  var(--paper), transparent); }
.logo-track { display: flex; align-items: center; gap: 3.5rem; width: max-content; animation: marquee 38s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-track img {
    max-height: 54px; width: auto; filter: grayscale(1); opacity: .5;
    transition: filter .3s, opacity .3s, transform .3s;
}
.logo-track img:hover { filter: none; opacity: 1; transform: scale(1.06); }
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ------------------------------------------------------------- other touches */

.quote-card { transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s, border-color .3s; }
.quote-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c9d8e6; }

.post-card { transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card img { transition: transform .7s cubic-bezier(.16,1,.3,1); }
.post-card:hover img { transform: scale(1.05); }

.feature { transition: transform .4s cubic-bezier(.16,1,.3,1); }
.feature:hover { transform: translateX(4px); }
.feature-num { transition: background .3s, color .3s, border-color .3s; }
.feature:hover .feature-num { background: var(--lime); color: #14260a; border-color: var(--lime); }

.eyebrow { position: relative; display: inline-block; padding-bottom: .35rem; }
.eyebrow::after {
    content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 28px;
    background: var(--lime); transform-origin: left; transform: scaleX(0);
    transition: transform .6s cubic-bezier(.16,1,.3,1) .2s;
}
.section-head.is-in .eyebrow::after, [data-reveal].is-in .eyebrow::after { transform: scaleX(1); }

.gallery-thumbs button { transition: border-color .25s, transform .25s, box-shadow .25s; }
.gallery-thumbs button:hover { transform: translateY(-2px); }
.gallery-main img { transition: opacity .3s; }

.filter-list a { transition: color .2s, padding-left .25s; }
.filter-list a:hover { padding-left: 4px; }

.wa-float { animation: waPulse 3.2s ease-in-out infinite; }
@keyframes waPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .38); }
    50%      { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
}

/* Flash messages slide in rather than appear */
.flash-stack .notice { animation: flashIn .45s cubic-bezier(.16,1,.3,1) both; }
@keyframes flashIn {
    from { opacity: 0; transform: translateX(24px); }
    to   { opacity: 1; transform: none; }
}

/* --------------------------------------------------------- reduced motion */

@media (prefers-reduced-motion: reduce) {
    .js-anim [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
    .logo-track { animation: none; }
    .wa-float { animation: none; }
    .hero-slide.is-active .hero-eyebrow,
    .hero-slide.is-active h1,
    .hero-slide.is-active .hero-copy p,
    .hero-slide.is-active .hero-cta,
    .hero-slide.is-active .hero-bg,
    .hero-eyebrow::after,
    .flash-stack .notice { animation: none !important; }
}

/* ------------------------------------------------- home: capability strip */

.capability {
    background: linear-gradient(180deg, var(--white) 0%, var(--paper) 100%);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    padding: 3rem 0;
}
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.cap-item { position: relative; padding-left: 1.1rem; }
.cap-item::before {
    content: ''; position: absolute; left: 0; top: .2rem; bottom: .2rem;
    width: 2px; background: var(--line);
    transition: background .4s cubic-bezier(.16,1,.3,1);
}
.cap-item:hover::before { background: var(--lime); }
.cap-num {
    font-family: var(--mono); font-size: .72rem; font-weight: 700;
    letter-spacing: .14em; color: var(--steel); display: block; margin-bottom: .5rem;
}
.cap-item h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.cap-item p { font-size: .88rem; margin: 0; }

@media (max-width: 900px) { .cap-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; } }
@media (max-width: 520px) { .cap-grid { grid-template-columns: 1fr; } }

/* Depth for the dark call-to-action band */
.section-ink { position: relative; overflow: hidden; }
.section-ink::before {
    content: '';
    position: absolute; top: -40%; right: -10%;
    width: 60%; height: 180%;
    background: radial-gradient(circle, rgba(15, 111, 180, .30), transparent 62%);
    pointer-events: none;
}
.section-ink::after {
    content: '';
    position: absolute; bottom: -50%; left: -8%;
    width: 45%; height: 150%;
    background: radial-gradient(circle, rgba(157, 190, 59, .13), transparent 62%);
    pointer-events: none;
}
.section-ink .wrap { position: relative; z-index: 2; }

/* ---------------------------------------------------- pull quotes in prose */

.prose blockquote {
    margin: 2rem 0;
    padding: 1.1rem 0 1.1rem 1.4rem;
    border-left: 3px solid var(--lime);
    font-family: var(--display);
    font-size: 1.15rem;
    line-height: 1.45;
    color: var(--ink);
    letter-spacing: -.01em;
}
.prose blockquote strong { font-weight: 700; }
.prose blockquote p { margin: 0; }

@media (max-width: 780px) {
    .section-head.is-row { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* ------------------------------------------------- about: services wheel */

.services-wheel img {
    width: 100%;
    max-width: 460px;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* ------------------------------------------------------ promotion grid */

/* Flex rather than grid: the tall banner sits in its own column beside a
   2x2 block, and this degrades sensibly in older browsers rather than
   collapsing into a single column. */
.promo-grid { display: flex; gap: 1.25rem; align-items: stretch; }
.promo-col-tall { flex: 0 0 30%; display: flex; }
.promo-col-rest {
    flex: 1 1 auto; display: flex; flex-wrap: wrap; gap: 1.25rem; align-content: flex-start;
}
.promo-col-rest .promo { flex: 1 1 calc(50% - .625rem); min-width: 260px; }

.promo {
    display: block; overflow: hidden; position: relative;
    border-radius: var(--r-lg); border: 1px solid var(--line);
    background: var(--paper);
    transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s, border-color .3s;
}
.promo:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c3d4e4; }
.promo picture { display: block; height: 100%; }
.promo img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.promo:hover img { transform: scale(1.03); }
.promo-tall { width: 100%; }
.promo-tall img { height: 100%; min-height: 420px; }
/* Let the banner's own proportions decide the height; cover would crop the
   product photography, which is the point of these images. */
.promo-col-rest .promo img { height: auto; object-fit: contain; }

@media (max-width: 900px) {
    .promo-grid { flex-direction: column; }
    .promo-col-tall { flex: 1 1 auto; }
    .promo-tall img { min-height: 320px; max-height: 460px; }
}

@media (max-width: 560px) {
    .promo-col-rest .promo { flex: 1 1 100%; min-width: 0; }
}

/* ------------------------------------------- tables inside prose blocks */
/* Product specification sections and policy pages can contain tables; without
   this they render as unformatted runs of text. */

.prose table,
.acc-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.1rem 0;
    font-size: .9rem;
}
.prose table th,
.acc-body table th {
    text-align: left;
    font-weight: 700;
    color: var(--ink);
    background: var(--paper);
    padding: .6rem .7rem;
    border-bottom: 1px solid var(--line);
}
.prose table td,
.acc-body table td {
    padding: .6rem .7rem;
    border-bottom: 1px solid var(--line-soft);
    vertical-align: top;
}
.prose table tr:last-child td,
.acc-body table tr:last-child td { border-bottom: none; }
.prose table td:last-child,
.acc-body table td:last-child { font-variant-numeric: tabular-nums; }

@media (max-width: 560px) {
    .prose table, .acc-body table { font-size: .84rem; }
    .prose table th, .prose table td,
    .acc-body table th, .acc-body table td { padding: .45rem .5rem; }
}
