/*
Theme Name: Bag It Packaging
Theme URI: https://bagitpackaging.co.uk
Author: Bag It Packaging
Author URI: https://bagitpackaging.co.uk
Description: Lightweight, speed- and SEO-first custom WooCommerce storefront theme for Bag It Packaging. No page builder. Ports the high-fidelity design handoff to native WooCommerce templates. Fonts self-hosted, CSS/JS minimal, framework-free.
Version: 0.1.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bagit
Tags: woocommerce, custom, e-commerce, two-columns, custom-menu
WC requires at least: 8.0
WC tested up to: 9.4
*/

/* ==========================================================================
   Bag It Packaging — main stylesheet (shared chrome + global components)
   Design tokens ported verbatim from the prototype :root (source of truth).
   Page-specific CSS is enqueued separately (category.css, product.css, etc.)
   ========================================================================== */

:root{
  --ink:#16181c; --ink-2:#3d434d; --muted:#6b7280;
  --line:#e4e8ee; --line-2:#eef1f5;
  --bg:#ffffff; --bg-2:#f5f7fa; --bg-3:#eef2f7;
  --brand:#1466c8; --brand-d:#0f4fa0; --brand-soft:#e7f0fc;
  --green:#157a4e; --amber:#d9821f; --amber-text:#a35f08; --deal:#ef9f12; --deal-d:#d98a00;
  --r:14px; --r-s:10px; --r-l:22px;
  --shadow:0 1px 2px rgba(16,24,40,.04),0 8px 24px rgba(16,24,40,.06);
  --shadow-l:0 18px 48px rgba(16,24,40,.12);
  --max:1240px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:100px}
body{font-family:"Hanken Grotesk","Hanken Fallback",system-ui,sans-serif;color:var(--ink);background:var(--bg);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased;display:flex;flex-direction:column;min-height:100vh}
/* Sticky footer: all template content sits in .site-content (opened in header.php,
   closed in footer.php). It grows to fill, pinning the footer to the viewport
   bottom on short pages. min-width:0 keeps wide content (grids/tables) from
   forcing the layout past the viewport. */
.site-content{flex:1 0 auto;min-width:0}
.site-footer{margin-top:auto}
h1,h2,h3,h4{font-family:"Archivo","Archivo Fallback",sans-serif;line-height:1.05;letter-spacing:-.02em;font-weight:800}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.wrap{max-width:var(--max);margin:0 auto;padding:0 28px}
.eyebrow{font-family:"Archivo","Archivo Fallback",sans-serif;font-weight:700;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--brand)}
.btn{display:inline-flex;align-items:center;gap:9px;font-family:"Archivo","Archivo Fallback",sans-serif;font-weight:700;font-size:15px;padding:14px 24px;border-radius:999px;border:1.5px solid transparent;cursor:pointer;transition:.18s;white-space:nowrap}
.btn-primary{background:var(--brand);color:#fff}
.btn-primary:hover{background:var(--brand-d);transform:translateY(-1px)}
.btn-ghost{background:#fff;border-color:var(--line);color:var(--ink)}
.btn-ghost:hover{border-color:var(--ink);background:#fff}
.btn-dark{background:var(--ink);color:#fff}
.btn-dark:hover{background:#000}
.icn{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.skip-link{position:absolute;left:-9999px;top:0;background:var(--brand);color:#fff;padding:10px 16px;z-index:1000;border-radius:0 0 8px 0}
.skip-link:focus{left:0}

/* ---------- breadcrumb (shared: cart, info/legal, contact) ---------- */
/* vertical-only padding via a more specific selector so the .wrap horizontal
   gutter (28px desktop / 18px mobile) is preserved when used as `.crumb.wrap`. */
nav.crumb{padding-top:15px;padding-bottom:15px}
.crumb ol{list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;color:var(--muted);margin:0;padding:0}
.crumb a{color:var(--muted);transition:.15s}
.crumb a:hover{color:var(--brand)}
.crumb .sep{opacity:.5}
.crumb li:last-child,.crumb [aria-current]{color:var(--ink);font-weight:600}

/* ---------- top utility bar ---------- */
.util{background:var(--ink);color:#cfd5df;font-size:13px}
.util .wrap{display:flex;align-items:center;justify-content:space-between;height:40px}
.util ul{display:flex;gap:22px;list-style:none}
.util li{display:flex;align-items:center;gap:7px}
.util .icn{width:15px;height:15px;stroke:var(--brand);opacity:.95}
.util b{color:#fff;font-weight:600}
.util .right{display:flex;gap:22px}
.util .right a{display:flex;align-items:center;gap:7px;transition:.15s}
.util .right a:hover{color:#fff}
.util .ulinks{display:flex;gap:22px}
.util .ulinks a{transition:.15s}
.util .ulinks a:hover{color:#fff}

/* ---------- header (BLACK, sticky) ---------- */
header.main{position:sticky;top:0;z-index:50;background:rgba(20,22,26,.94);backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,.10);transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .25s ease,background .25s ease}
header.main .head-row{transition:height .25s ease}
header.main .logo img{transition:height .25s ease}
header.main.scrolled{box-shadow:0 10px 30px rgba(0,0,0,.45)}
.head-row{display:flex;align-items:center;gap:28px;height:84px}
.logo{flex:none}
.logo img{height:64px;width:auto;max-width:none}
form.search{flex:1;display:flex;align-items:center;gap:10px;background:rgba(255,255,255,.10);border:1.5px solid rgba(255,255,255,.16);border-radius:999px;padding:0 6px 0 18px;height:50px;transition:.18s}
form.search:focus-within{border-color:var(--brand);background:rgba(255,255,255,.14);box-shadow:0 0 0 4px rgba(20,102,200,.28)}
form.search .icn{stroke:rgba(255,255,255,.6)}
form.search input{flex:1;border:0;background:transparent;font:inherit;font-size:15px;outline:none;color:#fff}
form.search input::placeholder{color:rgba(255,255,255,.5)}
form.search button{height:38px;padding:0 20px;border-radius:999px;border:0;background:var(--brand);color:#fff;font-family:"Archivo","Archivo Fallback";font-weight:700;font-size:14px;cursor:pointer}
.head-actions{display:flex;align-items:center;gap:8px}
.iconbtn{display:flex;align-items:center;gap:9px;padding:9px 12px;border-radius:var(--r-s);transition:.15s;cursor:pointer}
.iconbtn:hover{background:rgba(255,255,255,.10)}
.iconbtn .icn{width:22px;height:22px;stroke:#fff}
.iconbtn .lab{font-size:13px;line-height:1.15}
.iconbtn .lab b{display:block;font-family:"Archivo","Archivo Fallback";font-weight:700;font-size:14px;color:#fff}
.iconbtn .lab span{color:rgba(255,255,255,.55)}
.basket{position:relative}
.basket .dot{position:absolute;top:2px;left:24px;background:var(--brand);color:#fff;font-size:11px;font-weight:700;font-family:"Archivo","Archivo Fallback";min-width:18px;height:18px;border-radius:9px;display:grid;place-items:center;padding:0 4px;border:2px solid rgba(20,22,26,1)}

/* nav row + mega nav */
nav.cats{border-top:1px solid rgba(255,255,255,.09)}
/* Desktop category bar stays on a SINGLE line (flex-wrap:nowrap) and compresses
   via the clamp() sizing below as the viewport narrows. chrome.js measures whether
   the compressed bar still fits; when it can't, it adds .nav-collapsed to switch to
   the burger instead of wrapping to a second line. Below 1080px the burger is forced
   by the media query at the bottom of this file. */
header.main.nav-collapsed nav.cats{display:none}
header.main.nav-collapsed .burger{display:grid}
nav.cats .wrap{display:flex;align-items:center;gap:6px clamp(2px,0.4vw,4px);min-height:52px;position:relative;flex-wrap:nowrap;padding-top:7px;padding-bottom:7px}
nav.cats a.all{font-family:"Archivo","Archivo Fallback";font-weight:600;font-size:clamp(13px,1vw,14.5px);color:#fff;padding:9px clamp(9px,0.95vw,14px);border-radius:8px;background:var(--brand);display:flex;align-items:center;gap:clamp(5px,0.5vw,7px);flex:none;white-space:nowrap}
nav.cats a.all:hover{background:var(--brand-d)}
nav.cats .sep{flex:1}
nav.cats .meganav{display:contents}
nav.cats .nav-top{font-family:"Archivo","Archivo Fallback";font-weight:600;font-size:clamp(12px,0.95vw,13.5px);color:rgba(255,255,255,.82);padding:8px clamp(5px,0.7vw,10px);border-radius:8px;transition:.14s;display:flex;align-items:center;gap:clamp(3px,0.35vw,5px);cursor:pointer;white-space:nowrap}
nav.cats .nav-top .caret{width:13px;height:13px;stroke:rgba(255,255,255,.5);transition:.2s}
nav.cats .nav-item:hover .nav-top,nav.cats .nav-item:focus-within .nav-top{background:rgba(255,255,255,.10);color:#fff}
nav.cats .nav-item:hover .nav-top .caret,nav.cats .nav-item:focus-within .nav-top .caret{stroke:#fff;transform:rotate(180deg)}
nav.cats .nav-item{position:static;flex:none}
nav.cats .mega{position:absolute;left:0;right:0;top:100%;background:#fff;border:1px solid var(--line);border-top:0;border-radius:0 0 16px 16px;box-shadow:var(--shadow-l);padding:28px 30px;z-index:60;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .2s ease,transform .2s ease,visibility .2s}
nav.cats .nav-item:hover .mega,nav.cats .nav-item:focus-within .mega{opacity:1;visibility:visible;transform:none}
nav.cats .mega-inner{display:grid;grid-template-columns:1fr 1.6fr;gap:40px}
nav.cats .mega-head h5{font-family:"Archivo","Archivo Fallback";font-weight:800;font-size:20px;letter-spacing:-.01em;color:var(--ink)}
nav.cats .mega-head p{color:var(--muted);font-size:13.5px;margin:9px 0 16px;line-height:1.5}
nav.cats .mega-all{font-family:"Archivo","Archivo Fallback";font-weight:700;font-size:13.5px;color:var(--brand);display:inline-flex;align-items:center;gap:7px}
nav.cats .mega-all .icn{width:15px;height:15px;stroke:var(--brand)}
nav.cats .mega-links{display:grid;grid-template-columns:1fr 1fr;gap:2px 18px;align-content:start}
nav.cats .mega-links a{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 12px;border-radius:8px;font-size:14px;font-family:"Hanken Grotesk","Hanken Fallback";font-weight:500;color:var(--ink-2);transition:.13s}
nav.cats .mega-links a .icn{width:14px;height:14px;stroke:transparent;transition:.13s}
nav.cats .mega-links a:hover{background:var(--bg-2);color:var(--brand)}
nav.cats .mega-links a:hover .icn{stroke:var(--brand)}

/* hide-on-scroll-down / reveal-on-scroll-up — mobile only */
@media(max-width:760px){ header.main.header-hidden{transform:translateY(-100%)} }

/* ===== mobile burger + drawer ===== */
html,body{overflow-x:clip}
.burger{display:none;width:44px;height:44px;border:0;background:transparent;border-radius:10px;cursor:pointer;place-items:center;flex:none}
.burger:hover{background:rgba(255,255,255,.12)}
.burger span,.burger span::before,.burger span::after{content:"";width:20px;height:2px;background:#fff;border-radius:2px;display:block;position:absolute}
.burger span{position:relative}
.burger span::before{top:-6px}
.burger span::after{top:6px}
.m-drawer{position:fixed;inset:0;z-index:300;visibility:hidden;opacity:0;transition:opacity .25s ease,visibility .25s}
.m-drawer.open{visibility:visible;opacity:1}
.m-drawer .scrim{position:absolute;inset:0;background:rgba(16,24,40,.5)}
.m-panel{position:absolute;top:0;left:0;bottom:0;width:86%;max-width:360px;background:#fff;transform:translateX(-100%);transition:transform .28s cubic-bezier(.2,.7,.2,1);display:flex;flex-direction:column;overflow-y:auto;box-shadow:0 0 60px rgba(0,0,0,.3)}
.m-drawer.open .m-panel{transform:none}
.m-head{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:2}
.m-head img{height:42px;width:auto;max-width:none}
.m-close{width:40px;height:40px;border:0;background:var(--bg-2);border-radius:10px;display:grid;place-items:center;cursor:pointer}
.m-close .icn{width:20px;height:20px;stroke:var(--ink)}
.m-sec-label{font-family:"Archivo","Archivo Fallback";font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);padding:18px 20px 6px}
.m-nav a{display:flex;align-items:center;justify-content:space-between;padding:13px 20px;font-family:"Archivo","Archivo Fallback";font-weight:600;font-size:15.5px;color:var(--ink);border-bottom:1px solid var(--line-2)}
.m-nav a:active{background:var(--bg-2)}
.m-nav a .icn{width:16px;height:16px;stroke:var(--muted)}
.m-links a{display:block;padding:12px 20px;font-size:14.5px;color:var(--ink-2);border-bottom:1px solid var(--line-2)}
.m-foot{margin-top:auto;padding:18px 20px;border-top:1px solid var(--line);display:grid;gap:12px}
.m-foot .btn{width:100%;justify-content:center}
.m-foot .tel{font-family:"Archivo","Archivo Fallback";font-weight:700;color:var(--ink);display:flex;align-items:center;gap:8px;justify-content:flex-start;font-size:15px}
.m-foot .tel .icn{stroke:var(--brand);width:18px;height:18px}

/* ---------- section frame ---------- */
section.blk{padding:74px 0}
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:34px}
.sec-head h2{font-size:clamp(28px,3.4vw,40px)}
.sec-head p{color:var(--muted);margin-top:8px;font-size:16px}
.link-arrow{font-family:"Archivo","Archivo Fallback";font-weight:700;color:var(--brand);font-size:15px;display:inline-flex;align-items:center;gap:7px}
.link-arrow .icn{stroke:var(--brand)}
.btn .icn,.link-arrow .icn,.pc-go .icn,.mega-all .icn{transition:transform .18s ease}
.btn:hover .icn,.link-arrow:hover .icn,.mega-all:hover .icn{transform:translateX(3px)}

/* ---------- product cards (shared: home, category, related) ---------- */
.prod-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;transition:.18s;display:flex;flex-direction:column}
.card:hover{box-shadow:var(--shadow-l);transform:translateY(-3px);border-color:#d3dae4}
.card .imgwrap{position:relative;aspect-ratio:1/1;background:var(--bg-2);overflow:hidden}
.card .imgwrap img{width:100%!important;height:100%!important;margin:0!important;object-fit:cover;display:block;transition:transform .45s ease}
.card:hover .imgwrap img{transform:scale(1.06)}
.badge{position:absolute;top:12px;left:12px;z-index:2;background:var(--ink);color:#fff;font-family:"Archivo","Archivo Fallback";font-weight:700;font-size:11px;letter-spacing:.04em;padding:5px 10px;border-radius:7px}
.badge.sale{background:var(--green)}
.badge.oos{background:#9c2a2a}
.wish{position:absolute;top:10px;right:10px;width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.92);display:grid;place-items:center;border:1px solid var(--line)}
.wish .icn{width:17px;height:17px;stroke:var(--ink-2)}
.card .body{padding:16px 16px 18px;display:flex;flex-direction:column;flex:1}
.card .cat{font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:600;margin-bottom:6px}
.card h3{font-family:"Archivo","Archivo Fallback";font-weight:700;font-size:15.5px;line-height:1.25;letter-spacing:-.01em;min-height:2.5em}
.card .rrow{display:flex;align-items:center;gap:6px;margin:10px 0 12px;flex-wrap:wrap}
.card .rrow .stars .icn{width:14px;height:14px;stroke:none;fill:var(--amber)}
.card .rrow span{font-size:12.5px;color:var(--muted);white-space:nowrap}
.card .foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:10px}
.price{font-family:"Archivo","Archivo Fallback";font-weight:800;font-size:19px}
.price small{display:block;font-family:"Hanken Grotesk","Hanken Fallback";font-weight:500;font-size:11px;color:var(--muted);letter-spacing:.02em}
.price .vat{font-family:"Hanken Grotesk","Hanken Fallback";font-weight:600;font-size:10.5px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);vertical-align:middle}
.add{width:42px;height:42px;border-radius:11px;background:var(--brand);display:grid;place-items:center;border:0;cursor:pointer;transition:background .15s ease,transform .12s ease}
.add:hover{background:var(--brand-d)}
.add:active{transform:scale(.9)}
.add.added{background:var(--green)}
.add .icn{stroke:#fff;width:20px;height:20px}
.stars{display:flex;gap:2px}
.stars .icn{width:15px;height:15px;stroke:none;fill:var(--amber)}
/* stacked footer (category + related): price above, full-width button below */
.card-stacked .foot{flex-direction:column;align-items:stretch;gap:12px}
.card-stacked .price .from{font-family:"Hanken Grotesk","Hanken Fallback";font-weight:500;font-size:11px;color:var(--muted)}
.select-options{width:100%;justify-content:center;font-size:14px;padding:12px 18px}
.price .from{font-family:"Hanken Grotesk","Hanken Fallback";font-weight:500;font-size:12px;color:var(--muted)}
@keyframes pop{0%{transform:scale(1)}40%{transform:scale(1.4)}100%{transform:scale(1)}}
.basket .dot.bump{animation:pop .45s ease}

/* ---------- USP trust strip (shared: home + category) ---------- */
.usp{border-bottom:1px solid var(--line)}
.usp .wrap{display:grid;grid-template-columns:repeat(4,1fr);gap:0}
.usp .item{display:flex;align-items:center;gap:14px;padding:26px 22px;border-right:1px solid var(--line-2)}
.usp .item:last-child{border-right:0}
.usp .ic{width:44px;height:44px;border-radius:11px;background:var(--brand-soft);display:grid;place-items:center;flex:none;transition:transform .25s ease, background .25s ease}
.usp .ic .icn{stroke:var(--brand);width:22px;height:22px}
.usp .item:hover .ic{transform:translateY(-3px) scale(1.06);background:var(--brand)}
.usp .item:hover .ic .icn{stroke:#fff}
.usp b{font-family:"Archivo","Archivo Fallback";font-weight:700;font-size:15px;display:block}
.usp span{font-size:13px;color:var(--muted)}
@media(min-width:761px) and (max-width:1080px){
  .usp .wrap{grid-template-columns:1fr 1fr}
  .usp .item:nth-child(2n){border-right:0}
  .usp .item:nth-child(-n+2){border-bottom:1px solid var(--line-2)}
}
@media(max-width:760px){
  .usp .wrap{grid-template-columns:1fr}
  .usp .item{border-right:0;border-bottom:1px solid var(--line-2);padding:18px 4px}
  .usp .item:last-child{border-bottom:0}
}

/* ---------- WooCommerce buttons → brand blue (override Woo's default purple) ---------- */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,
.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt,
.woocommerce .single_add_to_cart_button,.woocommerce #place_order,
.woocommerce .wc-proceed-to-checkout a.checkout-button,
.woocommerce-page a.button,.woocommerce-page button.button{
  background-color:var(--brand)!important;color:#fff!important;border-color:var(--brand)!important
}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,
.woocommerce .single_add_to_cart_button:hover,.woocommerce #place_order:hover,
.woocommerce .wc-proceed-to-checkout a.checkout-button:hover{
  background-color:var(--brand-d)!important;color:#fff!important;border-color:var(--brand-d)!important
}
/* keep the disabled add-to-cart state visually muted (don't force brand on disabled) */
.woocommerce .single_add_to_cart_button.disabled,.woocommerce .single_add_to_cart_button:disabled{
  opacity:.5
}

/* ---------- WooCommerce notices → site-styled (success / info / error) ---------- */
/* Constrain the notice wrapper to page width on storefront pages (Woo renders it
   full-bleed at the top of <main>). Checkout/account handle their own layout. */
.woocommerce-cart .woocommerce-notices-wrapper,
.woocommerce-shop .woocommerce-notices-wrapper,
.archive.woocommerce .woocommerce-notices-wrapper,
.single-product .woocommerce-notices-wrapper{max-width:var(--max);margin:22px auto 0;padding:0 28px}
.woocommerce-notices-wrapper:empty{display:none}

.woocommerce-message,.woocommerce-info,.woocommerce-error,ul.woocommerce-error{
  position:relative;display:block;border-radius:12px;padding:14px 18px;margin:0 0 18px;
  font-size:14px;line-height:1.45;border:1px solid var(--line);list-style:none;overflow:hidden;box-shadow:none}
.woocommerce-message{background:#e7f5ee;border-color:#bfe3cf;color:#176c48}
.woocommerce-info{background:var(--brand-soft);border-color:#cfe0fb;color:var(--brand-d)}
.woocommerce-error{background:#fdecec;border-color:#f3c6c6;color:#9c2a2a}
/* kill Woo's default left-icon + indent */
.woocommerce-message::before,.woocommerce-info::before,.woocommerce-error::before{display:none!important;content:none!important}
.woocommerce-message li,.woocommerce-info li,.woocommerce-error li{list-style:none;margin:0;padding:0}
/* inline action links (Undo? / View basket / Continue) → small dark pill */
.woocommerce-message a.button,.woocommerce-message a.restore-item,.woocommerce-message a.wc-forward,
.woocommerce-info a.button,.woocommerce-info a.restore-item,.woocommerce-info a.wc-forward,
.woocommerce-error a.button{
  float:right;margin:-1px 0 0 14px;display:inline-flex;align-items:center;min-height:0;
  background:var(--ink);color:#fff;border:0;border-radius:8px;padding:7px 14px;
  font-size:12.5px;font-weight:700;line-height:1.2;text-decoration:none;box-shadow:none}
.woocommerce-message a.button:hover,.woocommerce-message a.restore-item:hover,.woocommerce-message a.wc-forward:hover,
.woocommerce-info a.button:hover,.woocommerce-info a.restore-item:hover,.woocommerce-info a.wc-forward:hover,
.woocommerce-error a.button:hover{background:var(--brand);color:#fff}

/* ---------- delivery estimator (.deliv) — shared by single product + cart ---------- */
.deliv{margin-top:16px;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.deliv-row{display:flex;align-items:center;gap:13px;padding:13px 15px}
.deliv-row+.deliv-row{border-top:1px solid var(--line-2)}
.deliv-ic{width:40px;height:40px;border-radius:10px;background:var(--brand-soft);display:grid;place-items:center;flex:none}
.deliv-ic .icn{stroke:var(--brand);width:21px;height:21px}
.deliv-row .d-name{font-family:"Archivo","Archivo Fallback";font-weight:700;font-size:14px}
.deliv-row .d-sub{font-size:12.5px;color:var(--muted)}
.deliv-row .d-date{margin-left:auto;text-align:right}
.deliv-row .d-date b{font-family:"Archivo","Archivo Fallback";font-weight:800;font-size:14px;color:var(--ink);display:block}
.deliv-row .d-date span{font-size:11.5px;color:var(--green);font-weight:700}
.deliv-foot{padding:11px 15px;border-top:1px solid var(--line-2);background:var(--bg-2);font-size:11.5px;color:var(--muted);display:flex;align-items:center;gap:7px}
.deliv-foot .icn{width:14px;height:14px;stroke:var(--muted);flex:none}
.deliv-countdown{padding:10px 15px;border-top:1px solid var(--line-2);display:flex;align-items:center;gap:8px;font-family:"Archivo","Archivo Fallback";font-weight:700;font-size:13px;color:var(--brand-d)}
.deliv-countdown .icn{width:16px;height:16px;stroke:var(--brand);flex:none}
.deliv-countdown.dc-closed{color:var(--muted);font-weight:600}
.deliv-countdown.dc-closed .icn{stroke:var(--muted)}
.deliv-bo{padding:10px 15px;border-top:1px solid var(--line-2);display:flex;align-items:center;gap:8px;font-size:12.5px;font-weight:600;color:var(--amber-text,#9a6700);background:var(--amber-soft,#fff8e6)}
.deliv-bo .icn{width:15px;height:15px;flex:none;stroke:currentColor}
.deliv-bo[hidden]{display:none}
/* postcode estimator (pin + input + Check, with hint line) */
.deliv-postcode{padding:13px 15px;border-bottom:1px solid var(--line-2);background:var(--bg-2)}
.dp-row{display:flex;align-items:center;gap:9px;margin:0}
.dp-row .pin{stroke:var(--brand);width:18px;height:18px;flex:none}
.dp-row input{flex:1;min-width:0;border:1.5px solid var(--line);border-radius:9px;padding:10px 12px;font:inherit;font-size:16px;outline:none;text-transform:uppercase;background:#fff;transition:.15s}
.dp-row input::placeholder{text-transform:none}
.dp-row input:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}
.dp-row button{flex:none;border:0;background:var(--ink);color:#fff;font-family:"Archivo","Archivo Fallback";font-weight:700;font-size:13px;padding:11px 15px;border-radius:9px;cursor:pointer;transition:.15s}
.dp-row button:hover{background:#000}
.dp-row button:disabled{opacity:.6;cursor:default}
.dp-hint{font-size:11.5px;color:var(--muted);margin-top:8px;display:flex;align-items:flex-start;gap:6px;line-height:1.35}
.dp-hint .icn{width:14px;height:14px;flex:none;margin-top:1px;stroke:currentColor}
.dp-hint.zone{color:var(--ink);font-weight:600}
.dp-hint.zone.remote{color:var(--amber-text)}
.dp-hint.zone.remote .icn{stroke:var(--amber-text)}
/* per-postcode service tiles reuse .deliv-row; the right-hand caption shows the cost */
.deliv-row .d-date span.cost{color:var(--ink);font-weight:800}

/* ---------- footer ---------- */
footer.site-footer{background:var(--ink);color:#aab2bf;padding:64px 0 30px;margin-top:0}
.foot-top{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.3fr;gap:40px;padding-bottom:44px;border-bottom:1px solid #2a2e36}
.foot-logo img{height:66px;width:auto;max-width:none;object-fit:contain;flex:none}
.foot-brand p{font-size:14px;line-height:1.6;max-width:26em}
.foot-brand{display:grid;grid-template-columns:auto 1fr;column-gap:16px;align-items:start}
.foot-brand .foot-logo{grid-row:1 / span 2;margin-bottom:0}
.foot-brand p,.foot-brand .foot-contact{grid-column:2}
.foot-contact{margin-top:18px;display:grid;gap:9px;font-size:14px}
.foot-contact a,.foot-contact div{display:flex;gap:10px;align-items:flex-start}
.foot-contact .icn{stroke:var(--brand);margin-top:2px;width:17px;height:17px}
.foot-contact a:hover{color:#fff}
footer.site-footer h4{color:#fff;font-family:"Archivo","Archivo Fallback";font-size:14px;letter-spacing:.04em;text-transform:uppercase;margin-bottom:18px}
footer.site-footer ul{list-style:none;display:grid;gap:11px}
footer.site-footer ul a{font-size:14px;transition:.15s}
footer.site-footer ul a:hover{color:#fff}
.socials{display:flex;gap:10px;margin-top:18px}
.socials a{width:38px;height:38px;border-radius:9px;border:1px solid #2a2e36;display:grid;place-items:center;transition:.15s}
.socials a:hover{background:var(--brand);border-color:var(--brand)}
.socials .icn{stroke:#cfd5df;width:18px;height:18px}
.socials a:hover .icn{stroke:#fff}
.foot-legal a{color:inherit;transition:.15s}
.foot-legal a:hover{color:#fff}
.foot-bot{display:flex;align-items:center;justify-content:space-between;padding-top:24px;font-size:13px;flex-wrap:wrap;gap:14px}
.pay{display:flex;gap:8px;align-items:center}
.pay .chip{background:#fff;border-radius:6px;height:26px;padding:0 9px;display:grid;place-items:center;font-family:"Archivo","Archivo Fallback";font-weight:800;font-size:11px;color:var(--ink);letter-spacing:.02em}

/* ---------- keyboard focus (WCAG 2.4.7) ----------
   Visible focus ring for keyboard users on every interactive element, without
   flashing rings on mouse clicks (:focus-visible). */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,
textarea:focus-visible,summary:focus-visible,[tabindex]:focus-visible,
.pack:focus-visible,.opt-row:focus-visible,label:focus-visible{
  outline:3px solid var(--brand);outline-offset:2px;border-radius:4px;
}
/* on dark surfaces (header/footer/trade band) use a light ring instead */
header.main a:focus-visible,header.main button:focus-visible,header.main input:focus-visible,
footer.site-footer a:focus-visible,.trade a:focus-visible,.tradecta a:focus-visible{
  outline-color:#fff;
}

/* ---------- scroll progress + back-to-top ---------- */
.scroll-prog{position:fixed;top:0;left:0;height:3px;width:0;background:var(--brand);z-index:200;transition:width .08s linear}
.to-top{position:fixed;right:22px;bottom:22px;width:46px;height:46px;border-radius:50%;background:var(--ink);color:#fff;border:0;display:grid;place-items:center;cursor:pointer;opacity:0;transform:translateY(12px);pointer-events:none;transition:opacity .25s ease,transform .25s ease,background .15s ease;z-index:120;box-shadow:var(--shadow-l)}
.to-top.show{opacity:1;transform:none;pointer-events:auto}
.to-top:hover{background:var(--brand)}
.to-top .icn{stroke:#fff;width:20px;height:20px}

/* ===== generic scroll-reveal (base state VISIBLE for no-JS/SEO) ===== */
@media (prefers-reduced-motion:no-preference){
  html.js .reveal.in{animation:riseIn .7s cubic-bezier(.2,.7,.2,1) backwards}
  html.js .reveal-stagger.in>*{animation:riseIn .55s cubic-bezier(.2,.7,.2,1) backwards}
}
@keyframes riseIn{from{transform:translateY(20px)}to{transform:none}}
@media print{*,*::before,*::after{animation:none!important;transition:none!important;transform:none!important}}

/* ==========================================================================
   Responsive — shared chrome
   ========================================================================== */
@media(max-width:1080px){
  nav.cats{display:none}
  .burger{display:grid}
  .prod-grid{grid-template-columns:repeat(2,1fr)}
}
@media(min-width:761px) and (max-width:1080px){
  .foot-top{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  .util{display:none}
  .head-row{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;column-gap:10px;row-gap:10px;height:auto;padding:12px 0}
  .burger{display:grid;grid-column:1;grid-row:1;justify-self:start}
  .logo{grid-column:2;grid-row:1;justify-self:center;margin:0}
  .logo img{height:63px}
  .head-actions{grid-column:3;grid-row:1;gap:2px;justify-self:end}
  .iconbtn{padding:8px}
  .iconbtn .lab{display:none}
  form.search{grid-column:1 / -1;grid-row:2;height:46px;order:0}
  header.main.scrolled .head-row{height:auto;padding:12px 0}
  header.main.scrolled .logo img{height:63px}
  section.blk{padding:46px 0}
  .wrap{padding:0 18px}
  .prod-grid{grid-template-columns:1fr 1fr;gap:12px}
  .card h3{font-size:13.5px;min-height:0;margin-top:2px}
  .card .body{padding:12px}
  .card .cat{font-size:10px;margin-bottom:4px}
  .card .rrow{margin:8px 0}
  .price{font-size:17px}
  .add{width:38px;height:38px;border-radius:9px}
  .sec-head{flex-direction:column;align-items:flex-start;gap:8px;margin-bottom:24px}
  .sec-head h2{font-size:26px}
  .to-top{right:14px;bottom:14px;width:42px;height:42px}
  .foot-top{grid-template-columns:1fr;gap:28px;text-align:center}
  .foot-brand p{max-width:none}
  .foot-brand{display:block}
  footer.site-footer{padding-top:36px}
  .foot-brand .foot-logo{display:flex;justify-content:center;margin-bottom:34px}
  .foot-logo img{height:88px}
  .foot-contact{justify-items:center}
  .foot-contact a,.foot-contact div{justify-content:center}
  footer.site-footer ul{justify-items:center}
  .socials{justify-content:center}
  .foot-bot{flex-direction:column;align-items:center;gap:14px;text-align:center}
}

/* ---- prevent iOS Safari focus-zoom on form fields ----
   Mobile Safari zooms the page in whenever a focused field's font-size is under
   16px. We force 16px on text-entry controls for TOUCH devices only (phones +
   tablets), so the desktop design keeps its smaller, tuned field sizes while
   touch users never get the unwanted zoom. !important is needed to beat the many
   per-component field rules (search, qty, checkout, contact, variation selects…). */
@media (hover: none) and (pointer: coarse) {
  input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
  input[type="search"], input[type="password"], input[type="url"], input[type="date"],
  input:not([type]), textarea, select {
    font-size: 16px !important;
  }
}
