/* =========================================================
   3@1 ONLINE SHOP - shop.css
   Layer 3. Loads AFTER stark.css (fleet design system) and
   store.css (store-template layer). Nothing in either of those
   files is edited here; this sheet only ADDS shop components.

   Order in which the files are linked on every page:
     css/stark.css   <- fleet design system, NEVER edit
     css/store.css   <- store-template layer, NEVER edit here
     css/shop.css    <- this file, all shop-specific rules

   Every component below is a deliberate sibling of an existing
   pattern rather than a new system:
     .prod   -> sibling of .pcard / .scard    (product card)
     category tiles -> stark's own .sgrid / .sgcard, unmodified
     .shopbar/.filt/.osum/.mopt -> new, but built from the same
     tokens: --navy, --red, --cyan, --yellow, --font-d, --font-m.
   ========================================================= */


/* ---------------------------------------------------------
   1. Shared shop tokens
   --------------------------------------------------------- */
:root {
  --shop-card: rgba(255,255,255,.86);
  --shop-card-solid: #fff;
  --shop-line: rgba(0,49,121,.14);
  --shop-line-hard: rgba(0,49,121,.22);
  --shop-ink-soft: #3d5878;
  --shop-shadow: 0 18px 40px -22px rgba(0,49,121,.4);
  --shop-shadow-hi: 0 26px 50px -20px rgba(0,49,121,.45);
  --shop-radius: 18px;
}

/* Focus ring: one visible, consistent ring everywhere in the shop.
   stark.css sets a cyan ring on .field inputs only, so this extends
   the same look to buttons, links, radios and steppers. */
.shop a:focus-visible,
.shop button:focus-visible,
.shop input:focus-visible,
.shop select:focus-visible,
.shop textarea:focus-visible,
.shop [tabindex]:focus-visible {
  outline: 3px solid rgba(0,174,239,.85);
  outline-offset: 2px;
  border-radius: 8px;
}


/* ---------------------------------------------------------
   2. Nav additions: cart link + basket count
   --------------------------------------------------------- */
.snav__cart {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 800; color: var(--navy);
}
.snav__cart svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.snav__cart b {
  min-width: 20px; height: 20px; padding: 0 .35rem; border-radius: 999px;
  background: var(--red); color: #fff; font-size: .72rem; font-weight: 800;
  display: inline-grid; place-items: center; line-height: 1;
}


/* ---------------------------------------------------------
   3. Breadcrumbs  (Woo: woocommerce_breadcrumb)
   --------------------------------------------------------- */
.crumbs { margin: 0 0 .6rem; }
.crumbs ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem;
  font-family: var(--font-m); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
}
.crumbs li { display: flex; align-items: center; gap: .4rem; color: rgba(255,255,255,.55); }
.crumbs li + li::before { content: "/"; color: rgba(0,174,239,.7); }
.crumbs a { color: rgba(255,255,255,.8); }
.crumbs a:hover { color: var(--yellow); }
.ssec--light .crumbs li { color: var(--shop-ink-soft); }
.ssec--light .crumbs a { color: var(--navy); }


/* ---------------------------------------------------------
   4. Shop page layout: filter rail + results
   (Woo: sidebar-shop.php + archive-product.php)
   --------------------------------------------------------- */
.shoplay { display: grid; grid-template-columns: 250px 1fr; gap: 2rem; align-items: start; }
.shoplay__main { min-width: 0; }


/* ---------------------------------------------------------
   5. Filter rail  (Woo: layered-nav / price-filter widgets)
   --------------------------------------------------------- */
.filt {
  background: var(--shop-card); border: 1px solid var(--shop-line);
  border-radius: var(--shop-radius); padding: 1.2rem 1.25rem;
  box-shadow: var(--shop-shadow), inset 0 1px 0 rgba(255,255,255,.8);
  position: sticky; top: 96px;
}
.filt__group + .filt__group { margin-top: 1.4rem; padding-top: 1.3rem; border-top: 1px solid var(--shop-line); }
.filt__head {
  font-family: var(--font-m); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
  color: #0272a5; margin: 0 0 .8rem;
}
.filt__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.filt__opt { display: flex; align-items: center; gap: .55rem; font-size: .88rem; color: var(--navy); cursor: pointer; }
.filt__opt input { width: 16px; height: 16px; accent-color: var(--red); flex: none; margin: 0; }
.filt__opt span { flex: 1; }
.filt__opt em { font-style: normal; font-size: .76rem; color: var(--shop-ink-soft); }
.filt__range { display: flex; align-items: center; gap: .5rem; }
.filt__range input {
  width: 100%; min-width: 0; padding: .55rem .6rem; border-radius: 10px; font: inherit; font-size: .85rem;
  color: var(--navy); background: #fff; border: 1px solid var(--shop-line-hard);
}
.filt__range span { color: var(--shop-ink-soft); font-size: .85rem; }
.filt__apply { margin-top: .9rem; }
.filt__clear {
  display: block; margin-top: .8rem; text-align: center;
  font-size: .8rem; font-weight: 700; color: var(--navy);
}

/* Mobile: the rail becomes a disclosure so it never eats the fold */
.filt__toggle { display: none; }


/* ---------------------------------------------------------
   6. Results toolbar  (Woo: result-count + orderby)
   --------------------------------------------------------- */
.shopbar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 0 0 1.1rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--shop-line);
}
.shopbar__count { margin: 0; font-size: .86rem; color: var(--shop-ink-soft); }
.shopbar__count b { color: var(--navy); }
.shopbar__sort { display: flex; align-items: center; gap: .6rem; }
.shopbar__sort label {
  font-family: var(--font-m); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase;
  color: #0272a5; margin: 0;
}
.shopbar__sort select {
  padding: .6rem 2rem .6rem .8rem; border-radius: 10px; font: inherit; font-size: .86rem; font-weight: 600;
  color: var(--navy); background: #fff; border: 1px solid var(--shop-line-hard); cursor: pointer;
}


/* ---------------------------------------------------------
   7. PRODUCT CARD  .prod
   Sibling of store.css .pcard and .scard: same square art well,
   same Barlow Condensed navy title, same red price, same
   .btn.btn--primary call to action.
   (Woo: content-product.php inside the shop loop)
   --------------------------------------------------------- */
.prodgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.prodgrid--4 { grid-template-columns: repeat(4, 1fr); }

.prod {
  display: flex; flex-direction: column; position: relative;
  background: var(--shop-card-solid); border: 1px solid var(--shop-line);
  border-radius: var(--shop-radius); overflow: hidden;
  box-shadow: var(--shop-shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.prod:hover { transform: translateY(-4px); box-shadow: var(--shop-shadow-hi); border-color: rgba(0,174,239,.55); }

.prod__imgwrap { display: block; aspect-ratio: 1; overflow: hidden; background: #eaf4fc; position: relative; }
.prod__imgwrap img { width: 100%; height: 100%; object-fit: cover; transition: scale .3s ease; }
.prod:hover .prod__imgwrap img { scale: 1.05; }

/* Some fleet product shots are transparent cutouts, not square photos.
   Cropping those with object-fit:cover chops the product, so they get
   contain-fit on a tinted well instead. Same rule the fleet uses for
   machines in carousels. */
.prod__imgwrap--cut { background: linear-gradient(165deg, #f2f9ff, #dcecfa); }
.prod__imgwrap--cut img { object-fit: contain; padding: 12%; }
.prod:hover .prod__imgwrap--cut img { scale: 1.04; }

/* Products with no honest photograph get a typographic plate,
   never a broken image and never a stock photo of the wrong thing. */
.prod__plate {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 1rem;
  background:
    radial-gradient(120% 120% at 30% 20%, #0d5aa8 0%, #062c66 55%, #041d49 100%);
}
.prod__plate span {
  font-family: var(--font-d); font-weight: 700; text-transform: uppercase; line-height: .95;
  font-size: 1.5rem; color: rgba(255,255,255,.92); letter-spacing: .02em;
}
.prod__plate::after {
  content: ""; position: absolute; inset: 12px; border: 1px solid rgba(0,174,239,.4); border-radius: 10px;
}

.prod__body { display: flex; flex-direction: column; gap: .4rem; padding: 1rem 1.1rem 1.15rem; flex: 1; }
.prod__cat {
  font-family: var(--font-m); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase;
  color: #0272a5; margin: 0;
}
.prod__title { font-family: var(--font-d); text-transform: uppercase; font-size: 1.2rem; line-height: 1.05; margin: 0; }
.prod__title a { color: var(--navy); }
.prod__title a:hover { color: var(--red); }

/* A rand amount must never break between the R and the number, or between
   the thousands groups: "R 1 100.00" is one token to a reader. */
.prod__price, .psum__price, .money, .osum__row b, .osum__total b,
.osum__lines b, .mopt__price, .sgcard__from b { white-space: nowrap; }

.prod__price { font-weight: 800; font-size: 1.15rem; color: var(--red); margin: .1rem 0 0; }
.prod__price small { font-weight: 600; font-size: .72rem; color: var(--shop-ink-soft); }
/* variable products show a "from" price, exactly as Woo renders a price range */
.prod__price--from small { display: block; }

.prod__foot { margin-top: auto; padding-top: .8rem; display: grid; gap: .5rem; }
.prod__cta { justify-content: center; width: 100%; }
.prod__more { font-size: .78rem; font-weight: 700; text-align: center; color: var(--navy); }


/* ---------------------------------------------------------
   8. Stock / purchasability states
   The catalogue has three real states, so the card has three.
   (Woo: $product->is_purchasable() / is_in_stock())
   --------------------------------------------------------- */
.stk {
  display: inline-flex; align-items: center; gap: .4rem; align-self: flex-start;
  font-family: var(--font-m); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 999px; border: 1px solid currentColor; font-weight: 700;
}
.stk::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.stk--in    { color: #16794a; }
.stk--quote { color: #a05a00; }
.stk--out   { color: #a3121f; }

/* Corner flag on the art well, so state is readable at grid scale */
.prod__flag {
  position: absolute; top: .7rem; left: .7rem; z-index: 2;
  font-family: var(--font-m); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  padding: .3rem .6rem; border-radius: 8px; color: #fff;
  box-shadow: 0 6px 16px -6px rgba(0,0,0,.6);
}
.prod__flag--quote { background: linear-gradient(120deg, #b56800, #e08a10); }
.prod__flag--out   { background: linear-gradient(120deg, #7d0f1a, #b3121f); }

/* A quote-only or out-of-stock product never shows a R 0.00 buy button */
.prod--quote .prod__price,
.prod--out .prod__price { color: var(--navy); font-size: 1rem; }
.prod--out { opacity: .92; }
.prod--out .prod__imgwrap img { filter: grayscale(.55); }


/* ---------------------------------------------------------
   9. Pagination  (Woo: woocommerce_pagination)
   --------------------------------------------------------- */
.pager { margin-top: 2rem; }
.pager ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; justify-content: center; }
.pager a, .pager span {
  display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .8rem;
  border-radius: 12px; font-weight: 800; font-size: .9rem;
  background: rgba(255,255,255,.7); border: 1px solid var(--shop-line); color: var(--navy);
}
.pager a:hover { border-color: rgba(0,174,239,.6); color: var(--navy); background: #fff; }
.pager .is-current {
  background: linear-gradient(120deg, var(--red), var(--red-hot)); color: #fff; border-color: transparent;
  box-shadow: 0 8px 24px -10px rgba(213,35,47,.8);
}
.pager .is-disabled { opacity: .4; }


/* ---------------------------------------------------------
   10. SINGLE PRODUCT  (Woo: single-product.php)
   --------------------------------------------------------- */
.psingle { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }

/* gallery (Woo: single-product/product-image.php + thumbnails.php) */
.pgal__main {
  aspect-ratio: 1; overflow: hidden; border-radius: var(--shop-radius);
  background: #eaf4fc; border: 1px solid var(--shop-line); box-shadow: var(--shop-shadow);
}
.pgal__main img { width: 100%; height: 100%; object-fit: cover; }
.pgal__thumbs { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.pgal__thumbs button {
  display: block; width: 100%; aspect-ratio: 1; padding: 0; overflow: hidden; cursor: pointer;
  border-radius: 12px; background: #eaf4fc; border: 2px solid var(--shop-line);
  transition: border-color .18s ease;
}
.pgal__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.pgal__thumbs button[aria-current="true"] { border-color: var(--red); }
.pgal__thumbs button:hover { border-color: rgba(0,174,239,.7); }

/* summary column (Woo: single-product/meta.php, price.php, add-to-cart/) */
.psum__title {
  font-family: var(--font-d); font-weight: 700; text-transform: uppercase; line-height: .95;
  font-size: clamp(2rem, 3.6vw, 2.8rem); color: var(--navy); margin: .35rem 0 .5rem;
}
.psum__price { font-family: var(--font-d); font-size: 2.6rem; line-height: 1; color: var(--red); margin: 0 0 .2rem; }
.psum__vat { font-size: .78rem; color: var(--shop-ink-soft); margin: 0 0 1rem; }
.psum__short { font-size: .98rem; color: var(--ink); margin: 0 0 1.2rem; max-width: 52ch; }
.psum__buy {
  display: flex; align-items: stretch; gap: .8rem; flex-wrap: wrap;
  padding: 1.2rem; border-radius: var(--shop-radius); margin-bottom: 1.2rem;
  background: var(--shop-card); border: 1px solid var(--shop-line);
  box-shadow: var(--shop-shadow), inset 0 1px 0 rgba(255,255,255,.8);
}
.psum__buy .btn { flex: 1; justify-content: center; min-width: 180px; }
.psum__meta { list-style: none; margin: 0; padding: 1.1rem 0 0; border-top: 1px solid var(--shop-line); display: grid; gap: .5rem; }
.psum__meta li { display: flex; gap: .6rem; font-size: .86rem; color: var(--shop-ink-soft); }
.psum__meta b { color: var(--navy); min-width: 92px; font-family: var(--font-m); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }

/* quote-only variant of the buy box: an enquiry, not a R 0.00 basket */
.psum__buy--quote { background: rgba(255,247,232,.9); border-color: rgba(176,104,0,.3); }


/* ---------------------------------------------------------
   11. Quantity stepper  (Woo: global/quantity-input.php)
   --------------------------------------------------------- */
.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--shop-line-hard); border-radius: 999px; background: #fff; overflow: hidden; }
.qty button {
  width: 44px; border: 0; background: none; cursor: pointer; color: var(--navy);
  font-size: 1.2rem; font-weight: 800; line-height: 1; font-family: var(--font-b);
}
.qty button:hover { background: rgba(0,49,121,.07); }
.qty input {
  width: 56px; border: 0; text-align: center; font: inherit; font-weight: 800; color: var(--navy);
  background: none; -moz-appearance: textfield; appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm button { width: 34px; font-size: 1rem; }
.qty--sm input { width: 42px; font-size: .9rem; }


/* ---------------------------------------------------------
   12. Long description + spec table
   (Woo: single-product/tabs/description.php + additional-information.php)
   --------------------------------------------------------- */
.pdesc { max-width: 68ch; }
.pdesc h3 { font-family: var(--font-d); text-transform: uppercase; font-size: 1.5rem; color: var(--navy); margin: 0 0 .6rem; }
.pdesc p, .pdesc li { color: var(--ink); font-size: .95rem; }
.pdesc ul { padding-left: 1.1rem; }
.pdesc li { margin-bottom: .3rem; }

.spectab { width: 100%; border-collapse: collapse; margin-top: 1.2rem; font-size: .9rem; }
.spectab th, .spectab td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--shop-line); }
.spectab th {
  width: 34%; color: var(--navy); font-family: var(--font-m); font-size: .68rem;
  letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
}
.spectab td { color: var(--shop-ink-soft); }

/* the same two components on a dark ground */
.ssec--deep .pdesc h3,
.ssec--deep .spectab caption + tbody th { color: #fff; }
.ssec--deep .pdesc p, .ssec--deep .pdesc li { color: rgba(255,255,255,.8); }
.ssec--deep .spectab th { color: rgba(255,255,255,.92); }
.ssec--deep .spectab td { color: rgba(255,255,255,.72); }
.ssec--deep .spectab th, .ssec--deep .spectab td { border-bottom-color: rgba(255,255,255,.14); }
.spectab__title { font-family: var(--font-d); text-transform: uppercase; font-size: 1.5rem; margin: 0 0 .6rem; color: var(--navy); }
.ssec--deep .spectab__title { color: #fff; }

/* section padding utilities, so pages carry no inline styles */
.ssec--tight { padding-top: clamp(2.2rem, 4vw, 3.2rem); }
.page-hero--crumb { padding: clamp(1.6rem, 3vw, 2.2rem) 0 1.4rem; }
.stack-top { margin-top: 1.2rem; }
.stack-top-lg { margin-top: 1.6rem; }
/* fieldsets are used for real grouping, but carry no browser chrome */
.fs-plain { border: 0; margin: 0; padding: 0; min-width: 0; }


/* ---------------------------------------------------------
   13. CART  (Woo: cart/cart.php)
   --------------------------------------------------------- */
.cartlay { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; }

.ctab {
  width: 100%; border-collapse: collapse;
  background: var(--shop-card-solid); border: 1px solid var(--shop-line);
  border-radius: var(--shop-radius); overflow: hidden; box-shadow: var(--shop-shadow);
}
/* display:block, not the UA default table-caption: once the table itself
   becomes display:block at the mobile breakpoint, a table-caption collapses
   to the width of the first cell and the sentence wraps one word per line. */
.ctab caption { display: block; width: 100%; text-align: left; padding: 0 0 .8rem; font-size: .86rem; color: var(--shop-ink-soft); caption-side: top; }
.ctab thead th {
  text-align: left; padding: .9rem 1rem; background: rgba(0,49,121,.05);
  font-family: var(--font-m); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--navy); border-bottom: 1px solid var(--shop-line);
}
.ctab td { padding: 1rem; border-bottom: 1px solid var(--shop-line); vertical-align: middle; color: var(--navy); }
.ctab tbody tr:last-child td { border-bottom: 0; }
.ctab .ta-r { text-align: right; }
.ctab .ta-c { text-align: center; }

.ctline { display: flex; align-items: center; gap: .9rem; }
.ctline__thumb {
  width: 72px; height: 72px; flex: none; border-radius: 12px; overflow: hidden;
  background: #eaf4fc; border: 1px solid var(--shop-line); position: relative;
}
.ctline__thumb img { width: 100%; height: 100%; object-fit: cover; }
/* name and options are spans so the cell stays valid inside a table row,
   so they need display:block or the option lines run into the title */
.ctline__body { display: block; min-width: 0; }
.ctline__name { display: block; font-family: var(--font-d); text-transform: uppercase; font-size: 1.05rem; line-height: 1.1; margin: 0 0 .15rem; }
.ctline__name a { color: var(--navy); }
.ctline__opt { display: block; font-size: .78rem; line-height: 1.45; color: var(--shop-ink-soft); margin: 0; }
.ctline__rm {
  background: none; border: 0; cursor: pointer; padding: .2rem; line-height: 1;
  font-size: 1.3rem; color: rgba(0,49,121,.45); font-family: var(--font-b);
}
.ctline__rm:hover { color: var(--red); }
.ctab .money { font-weight: 800; white-space: nowrap; }

.cartacts { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between; margin-top: 1.2rem; }


/* ---------------------------------------------------------
   14. Order summary panel  (Woo: cart-totals.php / review-order.php)
   --------------------------------------------------------- */
.osum {
  background: var(--shop-card); border: 1px solid var(--shop-line);
  border-radius: var(--shop-radius); padding: 1.4rem; box-shadow: var(--shop-shadow), inset 0 1px 0 rgba(255,255,255,.8);
  position: sticky; top: 96px;
}
.osum h2, .osum h3 {
  font-family: var(--font-d); text-transform: uppercase; font-size: 1.4rem; color: var(--navy); margin: 0 0 1rem;
}
.osum__row { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; font-size: .92rem; color: var(--shop-ink-soft); }
.osum__row b { color: var(--navy); font-weight: 800; white-space: nowrap; }
.osum__row--note { font-size: .8rem; padding-top: 0; }
.osum__total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  margin-top: .8rem; padding-top: .9rem; border-top: 2px solid var(--shop-line-hard);
}
.osum__total span { font-family: var(--font-d); text-transform: uppercase; font-size: 1.3rem; color: var(--navy); }
.osum__total b { font-family: var(--font-d); font-size: 2rem; line-height: 1; color: var(--red); }
.osum__cta { margin-top: 1.1rem; }
.osum__fine { font-size: .74rem; color: var(--shop-ink-soft); margin: .9rem 0 0; text-align: center; }

/* compact line items inside the checkout summary */
.osum__lines { list-style: none; margin: 0 0 .8rem; padding: 0 0 .8rem; border-bottom: 1px solid var(--shop-line); display: grid; gap: .7rem; }
.osum__lines li { display: flex; justify-content: space-between; gap: .8rem; font-size: .88rem; color: var(--navy); }
.osum__lines i { font-style: normal; color: var(--shop-ink-soft); }


/* ---------------------------------------------------------
   15. Method options: delivery + payment
   (Woo: cart/cart-shipping.php and checkout/payment.php)
   Collection in store is the DEFAULT because these are print
   shops: the customer collects the printed job at the counter.
   --------------------------------------------------------- */
.mopts { display: grid; gap: .8rem; margin: 0; padding: 0; border: 0; }
.mopts legend {
  font-family: var(--font-m); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: #0272a5; padding: 0; margin-bottom: .8rem;
}
.mopt {
  display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: start;
  padding: 1rem 1.1rem; border-radius: 14px; cursor: pointer;
  background: rgba(255,255,255,.7); border: 1px solid var(--shop-line);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.mopt:hover { border-color: rgba(0,174,239,.55); background: #fff; }
.mopt input { width: 18px; height: 18px; margin: .2rem 0 0; accent-color: var(--red); flex: none; }
.mopt:has(input:checked) {
  border-color: var(--red); background: #fff;
  box-shadow: 0 0 0 1px var(--red), 0 14px 30px -18px rgba(213,35,47,.6);
}
.mopt__title { display: block; font-weight: 800; color: var(--navy); font-size: .98rem; }
.mopt__note { display: block; font-size: .82rem; color: var(--shop-ink-soft); margin-top: .2rem; }
.mopt__price { font-weight: 800; color: var(--navy); white-space: nowrap; }
.mopt__price--free { color: #16794a; }

/* the panel that opens under a selected method */
.mopt__panel {
  margin: -.2rem 0 .2rem; padding: 1rem 1.1rem 1.1rem;
  border: 1px dashed var(--shop-line-hard); border-radius: 14px; background: rgba(255,255,255,.5);
}
.mopt__panel p:last-child { margin-bottom: 0; }

/* payment brand line: a real gateway named, no card fields collected here */
.paybrand { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.paybrand__mark {
  font-family: var(--font-d); text-transform: uppercase; letter-spacing: .04em; font-size: 1rem;
  color: #fff; background: linear-gradient(120deg, #003179, #0d5aa8);
  padding: .25rem .7rem; border-radius: 8px;
}
.paybrand__methods { display: flex; gap: .35rem; flex-wrap: wrap; }
.paybrand__methods span {
  font-family: var(--font-m); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
  color: var(--navy); background: rgba(0,49,121,.07); border: 1px solid var(--shop-line);
  padding: .25rem .5rem; border-radius: 6px;
}


/* ---------------------------------------------------------
   16. Trust strip + secure notice
   --------------------------------------------------------- */
.trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.trust li {
  display: flex; gap: .7rem; align-items: flex-start;
  font-size: .86rem; color: rgba(255,255,255,.72);
}
.trust svg { width: 22px; height: 22px; flex: none; stroke: var(--cyan); fill: none; stroke-width: 1.7; margin-top: .1rem; }
.trust b { display: block; color: #fff; font-size: .92rem; }
.ssec--light .trust li { color: var(--shop-ink-soft); }
.ssec--light .trust b { color: var(--navy); }
.ssec--light .trust svg { stroke: #0272a5; }

.secnote {
  display: flex; align-items: center; gap: .6rem; justify-content: center;
  font-size: .8rem; color: var(--shop-ink-soft); margin: 1rem 0 0;
}
.secnote svg { width: 16px; height: 16px; stroke: #16794a; fill: none; stroke-width: 2; flex: none; }


/* ---------------------------------------------------------
   17. Notices  (Woo: notices/notice.php, error.php)
   --------------------------------------------------------- */
.notice {
  display: flex; gap: .8rem; align-items: flex-start;
  padding: .95rem 1.1rem; border-radius: 14px; font-size: .88rem; margin-bottom: 1.4rem;
  background: rgba(255,247,232,.92); border: 1px solid rgba(176,104,0,.32); color: #6b4200;
}
.notice b { color: #6b4200; }
.notice--info { background: rgba(232,246,255,.92); border-color: rgba(2,114,165,.3); color: #08405f; }
.notice--info b { color: #08405f; }


/* ---------------------------------------------------------
   18. Checkout layout + step rail
   (Woo: checkout/form-checkout.php)
   --------------------------------------------------------- */
.colay { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items: start; }
.cosec + .cosec { margin-top: 1.8rem; }
.cosec__head { display: flex; align-items: baseline; gap: .8rem; margin-bottom: 1rem; }
.cosec__num {
  width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--yellow), var(--orange)); color: var(--navy);
  font-family: var(--font-d); font-weight: 700; font-size: 1rem; line-height: 1;
}
.cosec__title { font-family: var(--font-d); text-transform: uppercase; font-size: 1.5rem; color: var(--navy); margin: 0; }

.copanel {
  background: var(--shop-card); border: 1px solid var(--shop-line);
  border-radius: var(--shop-radius); padding: 1.4rem; box-shadow: var(--shop-shadow), inset 0 1px 0 rgba(255,255,255,.8);
}

.steps { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.steps li {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--font-m); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.steps li::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,.25);
}
.steps .is-done { color: rgba(255,255,255,.7); }
.steps .is-done::before { background: var(--cyan); box-shadow: 0 0 10px rgba(0,174,239,.7); }
.steps .is-current { color: var(--yellow); }
.steps .is-current::before { background: var(--yellow); box-shadow: 0 0 12px rgba(255,197,16,.8); }


/* ---------------------------------------------------------
   19. Form fields on LIGHT grounds
   stark.css styles .field for dark sections (white text on a
   translucent well). The shop's checkout sits on a light
   section, so the same markup is re-skinned here. No stark
   rule is changed; this only overrides inside .ssec--light.
   --------------------------------------------------------- */
.ssec--light .field label { color: var(--navy); }
.ssec--light .field input,
.ssec--light .field textarea,
.ssec--light .field select {
  color: var(--navy); background: #fff; border: 1px solid var(--shop-line-hard);
}
.ssec--light .field input::placeholder,
.ssec--light .field textarea::placeholder { color: rgba(61,88,120,.6); }
.ssec--light .field input:focus,
.ssec--light .field textarea:focus,
.ssec--light .field select:focus {
  border-color: rgba(0,174,239,.85); box-shadow: 0 0 0 3px rgba(0,174,239,.18);
}
.field__hint { display: block; font-size: .76rem; font-weight: 600; color: var(--shop-ink-soft); margin-top: .3rem; }
.field__req { color: var(--red); }
.field-row--3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.check {
  display: flex; align-items: flex-start; gap: .6rem; font-size: .88rem; color: var(--navy);
  cursor: pointer; margin-bottom: .8rem;
}
.check input { width: 17px; height: 17px; margin: .2rem 0 0; accent-color: var(--red); flex: none; }


/* ---------------------------------------------------------
   20. Category tiles on the landing page
   Built on stark's .sgrid / .sgcard Spotlight card so the shop
   landing reads as a sibling of the store home page. .sgcard
   takes ONE background image per tile, which is exactly what a
   product category has. Everything below is an addition.
   (Woo: product_cat archive links / product-categories widget)
   --------------------------------------------------------- */

/* Two categories in the prototype catalogue have no honest
   photograph in the fleet asset library: Frames (Kwik Klik clip
   frames, acrylic slide-in blocks) and Correx Boards. Rather than
   ship a broken image or a photo of the wrong product, those tiles
   get a typographic plate built from the same navy gradient. */
.sgcard--plate .sgcard__bg {
  background:
    radial-gradient(120% 130% at 25% 15%, #0d5aa8 0%, #062c66 48%, #041d49 78%, #020e2b 100%);
}
.sgcard--plate .sgcard__bg::after {
  content: ""; position: absolute; inset: 0;
  background: var(--halftone-light) 0 0 / 13px 13px; opacity: .5;
}
.sgcard__count {
  position: absolute; top: 1.05rem; right: 1.25rem;
  font-family: var(--font-m); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--yellow); background: rgba(2,14,43,.6); padding: .3rem .55rem; border-radius: 7px;
  backdrop-filter: blur(6px); border: 1px solid rgba(255,197,16,.25);
}
.sgcard__from { display: block; font-size: .78rem; color: rgba(255,255,255,.8); margin: 0 0 .55rem; }
.sgcard__from b { color: var(--yellow); font-weight: 800; }

/* landing strip: quick links to every category, including the small ones */
.catchips { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.6rem; }
.catchip {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1rem; border-radius: 999px; font-size: .86rem; font-weight: 700;
  background: rgba(255,255,255,.7); border: 1px solid var(--shop-line); color: var(--navy);
}
.catchip:hover { border-color: rgba(0,174,239,.6); color: var(--navy); background: #fff; }
.catchip b { font-family: var(--font-m); font-size: .66rem; color: #0272a5; font-weight: 700; }


/* ---------------------------------------------------------
   21. Related products / bestseller rail
   --------------------------------------------------------- */
.railhead { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.railhead h2 { font-family: var(--font-d); text-transform: uppercase; font-size: 1.8rem; margin: 0; }
.ssec--light .railhead h2 { color: var(--navy); }
.railhead a { font-weight: 700; font-size: .88rem; }
.ssec--light .railhead a { color: var(--navy); }


/* ---------------------------------------------------------
   22. Responsive. Breakpoints match stark.css: 1080 / 900 / 680.
   Verified at 1440, 768 and 375.
   --------------------------------------------------------- */
@media (max-width: 1080px) {
  .shoplay { grid-template-columns: 1fr; }
  .cartlay, .colay { grid-template-columns: 1fr; }
  .osum, .filt { position: static; }
  .prodgrid, .prodgrid--4 { grid-template-columns: repeat(3, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }

  /* filter rail collapses into a disclosure */
  .filt__toggle {
    display: flex; width: 100%; justify-content: space-between; align-items: center;
    padding: .9rem 1.1rem; border-radius: 14px; cursor: pointer; font: inherit; font-weight: 800;
    color: var(--navy); background: rgba(255,255,255,.8); border: 1px solid var(--shop-line);
    margin-bottom: 1rem;
  }
  .filt__toggle::after { content: "+"; font-size: 1.3rem; line-height: 1; }
  .filt[hidden] { display: none !important; }
}

@media (max-width: 900px) {
  .psingle { grid-template-columns: 1fr; gap: 1.6rem; }
  .psum__title { font-size: 2rem; }
}

@media (max-width: 780px) {
  .prodgrid, .prodgrid--4 { grid-template-columns: repeat(2, 1fr); }

  /* Cart table reflows to stacked rows. The header row is hidden and
     each cell carries its own label, so it stays a real table for
     screen readers while reading as a list on a phone. */
  .ctab { display: block; border-radius: var(--shop-radius); }
  .ctab thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .ctab tbody, .ctab tr, .ctab td { display: block; width: 100%; }
  .ctab tbody tr { padding: 1rem; border-bottom: 1px solid var(--shop-line); }
  .ctab tbody tr:last-child { border-bottom: 0; }
  .ctab td { border: 0; padding: .35rem 0; text-align: left !important; }
  .ctab td[data-label]::before {
    content: attr(data-label) ": ";
    font-family: var(--font-m); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--shop-ink-soft); margin-right: .5rem;
  }
  .ctab td.ctab__line { padding-bottom: .7rem; }
  .ctab td.ctab__line::before { content: none; }
}

@media (max-width: 680px) {
  /* stark.css:962 sets `.btn--block, .field { text-align: center }` at this
     breakpoint. That is right for the fleet's contact form, which has no
     visible labels, only placeholders. The shop's checkout DOES have visible
     labels and hint text, and a centred label sitting over a left-aligned
     input reads as broken. Scoped to .shop so stark itself stays untouched. */
  .shop .field { text-align: left; }

  .field-row, .field-row--3 { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .shopbar { flex-direction: column; align-items: flex-start; }
  .shopbar__sort { width: 100%; }
  .shopbar__sort select { flex: 1; }
  .psum__buy { flex-direction: column; align-items: stretch; }
  .psum__buy .qty { align-self: flex-start; }
  .pgal__thumbs { grid-template-columns: repeat(4, 1fr); gap: .4rem; }
  .cartacts { flex-direction: column; }
  .cartacts .btn { justify-content: center; }
  .mopt { grid-template-columns: auto 1fr; }
  .mopt__price { grid-column: 2; }
  .osum__total b { font-size: 1.7rem; }
}

@media (max-width: 430px) {
  .prodgrid, .prodgrid--4 { grid-template-columns: 1fr; }
  .prod__plate span { font-size: 1.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .prod, .prod__imgwrap img { transition: none; }
  .prod:hover { transform: none; }
  .prod:hover .prod__imgwrap img { scale: 1; }
}
