/* Cart auto-update (JS-enhanced)
   When JS is running, quantities update on change, so we hide the manual button
   and show a small note instead.
*/
#cartUpdateForm .cart-auto-note { display: none; }
#cartUpdateForm.js-auto-cart button[type="submit"] { display: none; }
#cartUpdateForm.js-auto-cart .cart-auto-note { display: inline; }
:root{
  --blue:#0b4f7c;
  --lightblue:#5cc0e6;
  --bg:#f6f7f9;
  --text:#0f172a;
  --muted:#64748b;
  --card:#ffffff;
  --border:#e5e7eb;
}
*{box-sizing:border-box}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:var(--bg);color:var(--text)}
a{color:inherit;text-decoration:none}
.container{max-width:1100px;margin:0 auto;padding:18px}
.site-header{background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:50}
.topbar{display:flex;gap:14px;align-items:center;padding:12px 18px;flex-wrap:wrap}
.brand-link{display:flex;align-items:center;gap:10px}
.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;background:var(--blue);color:#fff;font-weight:700}
.brand-name{font-weight:700}
/* Mobile nav toggle */
.nav-toggle{display:none;align-items:center;justify-content:center;gap:10px;min-width:144px;height:48px;padding:0 16px;border:1px solid #cfd8e3;border-radius:14px;background:#fff;color:var(--blue);cursor:pointer;font-size:18px;font-weight:700;line-height:1;box-shadow:0 2px 8px rgba(15,23,42,.08);white-space:nowrap}
.nav-toggle-icon{display:inline-flex;flex-direction:column;justify-content:center;gap:4px;width:20px;flex:0 0 auto}
.nav-toggle-icon span{display:block;width:20px;height:2.5px;border-radius:999px;background:currentColor;transition:transform .18s ease, opacity .18s ease}
.nav-toggle-label{display:inline-block;font-size:15px;line-height:1}
.nav-toggle::after{content:"▾";display:inline-block;font-size:11px;line-height:1;color:var(--muted);margin-left:2px;transition:transform .18s ease,color .18s ease}
.nav-toggle[aria-expanded="true"]{background:var(--blue);border-color:var(--blue);color:#fff}
.nav-toggle[aria-expanded="true"]::after{color:#fff;transform:rotate(180deg)}
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
.header-search{flex:0 1 420px;display:flex;gap:8px;align-items:center;width:min(420px,100%);margin-left:12px;margin-right:auto}
.header-search input{flex:1;min-width:0;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:#fff}
.header-search button{display:inline-flex;align-items:center;justify-content:center;min-width:50px;height:42px;padding:10px 12px;border:1px solid #0a4b74;border-radius:10px;background:#0a4b74;color:#fff;cursor:pointer;font-size:18px;font-weight:700;box-shadow:0 1px 2px rgba(15,23,42,.08)}
.header-search button:hover,.header-search button:focus-visible{background:#083a5b;border-color:#083a5b;color:#fff}
.header-actions{display:flex;gap:10px;align-items:center;flex:0 0 auto}
.icon-link{padding:8px 10px;border:1px solid var(--border);border-radius:10px;background:#fff}
.main-nav{display:flex;gap:18px;align-items:center;padding:10px 18px;border-top:1px solid var(--border);flex-wrap:wrap}
.main-nav a{padding:6px 0;color:#0b1220}
.vat-toggle{margin-left:auto;display:flex;gap:10px;align-items:center;color:var(--muted);font-size:14px}
/* Header responsiveness */
@media (max-width: 720px){
  .nav-toggle{display:inline-flex}
  .header-search{order:3;flex:1 1 100%}
  .header-actions{order:4;width:100%;justify-content:flex-end}

  /* Collapsible menu */
  .main-nav{display:none;flex-direction:column;align-items:stretch;gap:0;padding:8px 18px}
  .main-nav.open{display:flex}
  .main-nav a{padding:12px 0;border-bottom:1px solid var(--border)}
  .main-nav a:last-of-type{border-bottom:0}
  .vat-toggle{margin-left:0;padding:12px 0}
}
.switch{position:relative;display:inline-block;width:44px;height:24px}
.switch input{opacity:0;width:0;height:0}
.slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background:#cbd5e1;transition:.2s;border-radius:999px}
.slider:before{position:absolute;content:"";height:18px;width:18px;left:3px;bottom:3px;background:white;transition:.2s;border-radius:50%}
input:checked + .slider{background:var(--lightblue)}
input:checked + .slider:before{transform:translateX(20px)}
.hero{background:var(--blue);border-radius:14px;margin-top:16px}
.hero-inner{padding:26px 18px}
.hero-title{color:#fff;font-size:28px;font-weight:800;margin-bottom:14px}
.hero-search{display:flex;gap:10px;max-width:680px}
.hero-search input{flex:1;padding:14px 14px;border-radius:10px;border:0}
.hero-search button{padding:14px 18px;border-radius:10px;border:1px solid rgba(255,255,255,.7);background:#fff;color:var(--blue);font-weight:800;cursor:pointer;min-width:110px;box-shadow:0 2px 8px rgba(15,23,42,.14)}
.hero-search button:hover,.hero-search button:focus-visible{background:#f8fbff;color:#083a5b;border-color:#fff}
.logo-section{margin-top:18px}
.logo-section h2{margin:0 0 12px 0;color:#fff;background:#2C7EA8;padding:14px;border-radius:10px}
.logo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
/* 2 rows of 4 on desktop */
.logo-card{position:relative;background:#fff;border:1px solid var(--border);border-radius:12px;padding:18px;display:flex;align-items:center;justify-content:center;min-height:92px;overflow:hidden}
.logo-card img{max-height:42px;max-width:100%;object-fit:contain}
.logo-overlay{position:absolute;inset:0;display:flex;gap:10px;align-items:center;justify-content:center;background:rgba(15,23,42,.76);opacity:0;transition:.15s}
.logo-card:hover .logo-overlay{opacity:1}
.overlay-btn{background:#fff;color:#0f172a;border-radius:10px;padding:10px 12px;font-weight:700}
.trust{margin-top:18px}
.trust-row{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.trust-item{background:#fff;border:1px solid var(--border);border-radius:12px;padding:14px}
.trust-icon{font-size:28px}
.trust-title{font-weight:800;margin-top:8px}
.trust-text{color:var(--muted);margin-top:6px}
.page-head h1{margin:10px 0 4px}
.muted{color:var(--muted)}
.small{font-size:12px}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.grid.grid-4{grid-template-columns:repeat(4,1fr)}
.grid.small{grid-template-columns:repeat(3,1fr)}
.product-card{background:#fff;border:1px solid var(--border);border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:8px}
/* Product tiles (used on group pages) */
.product-link{display:flex;flex-direction:column;gap:10px;text-decoration:none;color:inherit}
.product-img{width:100%;max-width:220px;aspect-ratio:1/1;object-fit:contain;display:block;margin:0 auto;background:#fff;border:1px solid var(--border);border-radius:12px}
.product-img.placeholder{display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:12px}
.product-meta{display:flex;flex-direction:column;gap:4px}
.product-title{font-weight:800;line-height:1.2}
.product-sub{color:var(--muted);font-size:13px}
.product-footer{display:flex;flex-direction:column;gap:10px;margin-top:auto}
.price{font-size:18px;font-weight:800}
.stock-badge{display:inline-flex;align-items:center;justify-content:center;font-weight:800;font-size:12px;padding:6px 10px;border-radius:999px;background:#f1f5f9;border:1px solid var(--border);color:var(--text)}
.product-card.is-out{opacity:.9}
.alts{margin-top:6px;padding-top:10px;border-top:1px dashed var(--border)}
.alts-title{font-weight:800;font-size:12px;margin-bottom:6px}
.alts ul{margin:0;padding-left:18px}
.alts li{margin:4px 0}
.pc-meta{display:flex;justify-content:space-between;align-items:center}
.pc-badge{font-size:12px;background:#eef2ff;border:1px solid #e0e7ff;padding:4px 8px;border-radius:999px}
.pc-brand{font-size:12px;color:var(--muted)}
.pc-title{font-weight:800;display:flex;align-items:center;gap:8px}
.pc-dot{width:10px;height:10px;border-radius:999px;display:inline-block;flex:0 0 10px;border:1px solid rgba(0,0,0,.08)}
.dot-black{background:#000;border-color:#000}
.dot-cyan{background:#00bcd4}
.dot-magenta{background:#e91e63}
.dot-yellow{background:#ffeb3b;border-color:rgba(0,0,0,.18)}
.dot-tri{background:conic-gradient(#00bcd4 0 120deg,#e91e63 120deg 240deg,#ffeb3b 240deg 360deg);border-color:rgba(0,0,0,.18)}
.dot-unknown{background:#cbd5e1}
.search-filters{margin:12px 0 16px}
.brand-strip{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:10px 0 0}
.brand-strip a{display:inline-flex;align-items:center;justify-content:center;width:92px;height:60px;border:1px solid var(--border);border-radius:12px;background:#fff;overflow:hidden}
.brand-strip a:hover{background:#f8fafc}
.brand-strip img{max-width:76px;max-height:36px;opacity:.95}
.brand-strip a.is-active{width:138px;height:90px;border-color:#cbd5e1;background:#fff}
.brand-strip a.is-active img{max-width:114px;max-height:54px;opacity:1}
.sf-row{display:flex;gap:10px;align-items:center}
.sf-row-2{margin-top:10px;flex-wrap:wrap;justify-content:space-between}
.sf-q{flex:1;min-width:220px;padding:12px 12px;border:1px solid var(--border);border-radius:10px}
.sf-group{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.sf-label{font-size:12px;color:var(--muted);margin-right:4px}
.sf-pill{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--border);padding:8px 10px;border-radius:999px;background:#fff;font-weight:700;font-size:13px;cursor:pointer}
.sf-pill input{margin:0}
.sf-mobile-toggle{display:none}
.sf-printer-options{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.pc-sub{color:var(--muted);font-size:13px}
.pc-price{font-size:18px;font-weight:800}
.pc-actions{display:flex;gap:10px;align-items:center;margin-top:auto}
.pc-actions input{width:64px;padding:8px;border:1px solid var(--border);border-radius:10px}
.pc-actions button{flex:1;padding:10px;border-radius:10px;border:0;background:var(--blue);color:#fff;font-weight:800;cursor:pointer}
.card{background:#fff;border:1px solid var(--border);border-radius:12px;padding:14px}
.table{width:100%;border-collapse:collapse}
.table th,.table td{border-bottom:1px solid var(--border);padding:10px;text-align:left;vertical-align:top}
.link-btn{background:transparent;border:0;color:var(--blue);cursor:pointer;padding:0}
.totals{display:flex;justify-content:flex-end;gap:18px;margin-top:12px}
.actions-row{display:flex;justify-content:space-between;margin-top:14px;gap:10px}
.btn, button{background:var(--blue);color:#fff;border:0;border-radius:10px;padding:12px 14px;font-weight:800;cursor:pointer;transition:background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease}
.btn.is-disabled, a.btn.is-disabled, a.is-disabled{pointer-events:none;opacity:.6;filter:saturate(.7)}
.btn-secondary{background:#fff;border:1px solid var(--border);border-radius:10px;padding:12px 14px;font-weight:800;color:var(--text)}
.btn-secondary:hover{background:#f8fafc}
/* Quantity inputs: keep them readable (about 5 characters wide) */
.qty,.qty-2,.qty-input{width:5ch;min-width:5ch;text-align:center;padding-left:.5rem;padding-right:.5rem}
/* Hide number input spinners so quantities remain readable (especially in checkout/basket) */
input[type=number].qty,
input[type=number].qty-input,
input[type=number].cart-qty{ -moz-appearance:textfield; }
input[type=number].qty::-webkit-outer-spin-button,
input[type=number].qty::-webkit-inner-spin-button,
input[type=number].qty-input::-webkit-outer-spin-button,
input[type=number].qty-input::-webkit-inner-spin-button,
input[type=number].cart-qty::-webkit-outer-spin-button,
input[type=number].cart-qty::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }
.line-inc{font-weight:700}
.total-inc{font-size:1.25rem;font-weight:800;color:var(--brand)}
.checkout-row .btn{min-width:220px}
/* Basket page tweaks */
.remove-x{color:var(--danger);font-weight:900;font-size:16px;line-height:1;display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:8px;border:1px solid rgba(220,38,38,.25);background:rgba(220,38,38,.08)}
.remove-x:hover{background:rgba(220,38,38,.14)}
.totals{gap:8px}
.totals-line{display:flex;justify-content:flex-end;align-items:baseline;gap:18px;margin-top:12px}
.totals-inc{border:1px solid #dcdfe4;padding:10px 14px;border-radius:10px;background:#f8fafc;font-size:1.05rem}
.totals-inc strong{font-size:1.02rem}
.totals-inc .inc-amt{font-size:1.65rem;font-weight:800;letter-spacing:.2px}
.total-inc{background:#f8fafc;border:1px solid var(--border);border-radius:10px;padding:10px 12px;margin-top:6px}
.panel{margin-top:14px;background:#fff;border:1px solid var(--border);border-radius:12px;padding:14px}
.chips{display:flex;flex-wrap:wrap;gap:10px}
.chip{display:inline-flex;border:1px solid var(--border);padding:8px 10px;border-radius:999px;background:#fff;color:#0f172a}
.site-footer{margin-top:28px;background:linear-gradient(180deg,#fff 0%,#f8fafc 100%);border-top:1px solid var(--border)}
.footer-grid{max-width:1100px;margin:0 auto;padding:24px 18px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.footer-grid h4{margin:0 0 10px;font-size:15px}
.footer-grid p{margin:0 0 10px;color:#475569;line-height:1.55}
.footer-grid a{color:#0f172a;text-decoration:none}
.footer-grid a:hover{text-decoration:underline}
.footer-grid-rich .footer-card{padding:18px;border:1px solid #e7edf5;border-radius:18px;background:#fff;box-shadow:0 12px 28px rgba(15,23,42,.04)}
.footer-grid-rich .footer-card-brand{background:linear-gradient(135deg,#ffffff 0%,#f8fbff 100%)}
.footer-lead{font-size:14px}
.footer-bottom{padding:14px;text-align:center;color:var(--muted);border-top:1px solid var(--border)}
.whatsapp-float{position:fixed;right:18px;bottom:18px;width:54px;height:54px;border-radius:18px;background:#25d366;color:#fff;display:flex;align-items:center;justify-content:center;font-size:22px;box-shadow:0 10px 20px rgba(0,0,0,.15)}
@media (min-width: 1024px){
  .admin-pending-row.is-printer .admin-title-cell{min-width:460px}
  .admin-pending-row.is-printer .admin-product-title-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
.alert{border-radius:12px;padding:12px;margin-bottom:12px;font-weight:700}
.alert-error{background:#fee2e2;border:1px solid #fecaca;color:#7f1d1d}
.alert-success{background:#dcfce7;border:1px solid #bbf7d0;color:#14532d}
.hide-sm{display:inline}
@media (max-width: 900px){
  .admin-hero,.admin-products-hero{flex-direction:column;align-items:flex-start}
  .admin-dashboard-grid,.admin-action-grid,.admin-products-summary-grid,.admin-details-grid,.admin-form-grid{grid-template-columns:1fr}
  .admin-card,.admin-hero,.admin-products-hero,.admin-products-section{padding:18px}
  .admin-inline-search input[type=text]{min-width:0;width:100%}
  .admin-page-jump-form{justify-content:flex-start;width:100%}
  .admin-card-toolbar{grid-template-columns:1fr}
  .admin-card-toolbar-notes{grid-template-columns:1fr}
  .admin-sync-note,.admin-export-note{grid-template-columns:1fr}
  .grid{grid-template-columns:repeat(2,1fr)}
  .grid.small{grid-template-columns:repeat(2,1fr)}
  .trust-row{grid-template-columns:1fr}
}
@media (max-width: 640px){
  .admin-page{margin-bottom:24px}
  .admin-nav a,.admin-hero-actions .btn,.admin-hero-actions .btn-secondary,.admin-stack-actions .btn,.admin-stack-actions .btn-secondary,.admin-inline-form button{width:100%}
  .admin-hero-actions-tiles{grid-template-columns:1fr;min-width:0;width:100%}
  .admin-quick-grid{grid-template-columns:1fr}
  .admin-pill-row,.admin-inline-search{width:100%}
  .admin-inline-search button{width:100%}
  .grid.small{grid-template-columns:1fr}
  .topbar{flex-wrap:wrap}
  .header-search{order:3;width:100%}
  .hide-sm{display:none}
  .logo-grid{grid-template-columns:repeat(2,1fr)} /* mobile stacked */
  .grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .main-nav{gap:12px}
  .hero-search{display:grid;grid-template-columns:minmax(0,1fr) 104px;gap:12px;max-width:calc(100% - 18px)}
  .hero-search input{min-width:0}
  .hero-search button{width:100%;min-width:0;padding:14px 12px}
}
/* Search suggestions */
.header-search{ position:relative; }
.search-suggest{
  position:absolute;
  top:100%;
  left:0;
  right:0;
  z-index:50;
  margin-top:6px;
  background:#fff;
  border:1px solid rgba(0,0,0,.12);
  border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,.12);
  overflow:hidden;
}
.search-suggest .ss-head{
  padding:10px 12px;
  font-size:12px;
  letter-spacing:.02em;
  text-transform:uppercase;
  color:rgba(0,0,0,.55);
  background:rgba(0,0,0,.03);
}
.search-suggest .ss-item{
  display:block;
  padding:10px 12px;
  text-decoration:none;
  color:inherit;
}
.search-suggest .ss-item:hover,
.search-suggest .ss-item.active{
  background:rgba(0,0,0,.06);
}
@media (max-width: 720px){
  .search-suggest{ left:0; right:0; }
}
/* Product images */
.pc-img{display:block;width:100%;aspect-ratio:4/3;background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden}
.pc-img img{width:100%;height:100%;object-fit:contain;display:block}
.p-img{width:100%;max-width:420px;aspect-ratio:4/3;background:#fff;border:1px solid var(--border);border-radius:16px;overflow:hidden}
.p-img img{width:100%;height:100%;object-fit:contain;display:block}
@media (max-width: 720px){.p-img{max-width:100%}}
/* Cart: delivery & payment controls */
.form-label{display:block;font-size:12px;font-weight:600;color:#333;margin:0 0 6px 0;}
.input{display:block;width:100%;padding:10px 12px;border:1px solid rgba(0,0,0,.18);border-radius:10px;font-size:14px;line-height:1.2;background:#fff;}
.input:focus{outline:none;border-color:rgba(0,0,0,.4);box-shadow:0 0 0 3px rgba(0,0,0,0.06);}
.radio-grid{display:grid;grid-template-columns:1fr;gap:10px;}
.radio-item{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border:1px solid rgba(0,0,0,.12);border-radius:12px;background:rgba(0,0,0,.02);cursor:pointer;}
.radio-item input{margin-top:2px;}
.radio-item:hover{background:rgba(0,0,0,.04);}
/* Payment method tiles (cart) */
.pay-tiles{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;}
.pay-tile{border:1px solid rgba(0,0,0,.12);border-radius:12px;background:#fff;padding:12px 12px;cursor:pointer;display:flex;gap:10px;align-items:flex-start;font-weight:900;min-height:58px;}
.pay-tile input{position:absolute;opacity:0;pointer-events:none;}
.pay-tile .pay-ico{
  width:34px;
  height:34px;
  border-radius:10px;
  background:rgba(0,0,0,.04);
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 34px;
  margin-top:2px;
}
.pay-tile .pay-ico svg{display:block;}
.pay-tile .pay-lines{display:flex;flex-direction:column;gap:3px;line-height:1.1;}
.pay-tile .pay-sub{font-size:12px;font-weight:700;opacity:.75;}
.pay-tile:hover{background:#f8fafc;}
.pay-tile:has(input:checked){border-color:rgba(11,79,124,.35);box-shadow:0 0 0 4px rgba(11,79,124,.10), 0 10px 22px rgba(0,0,0,.10);}
/* Cart page layout (cleaner basket design) */
.cart-layout{display:grid;grid-template-columns:1.6fr .9fr;gap:14px;align-items:start;margin-top:12px;}
.cart-main .card{padding:0;overflow:hidden;}
.cart-main .table th,.cart-main .table td{padding:12px;}
.cart-inline-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px;border-top:1px solid var(--border);}
.cart-side{display:flex;flex-direction:column;gap:14px;position:sticky;top:90px;}
.card-title{margin:0 0 10px 0;font-size:16px;}
.cart-section-title{font-size:17px;line-height:1.25;}
.cart-summary .summary-rows{display:flex;flex-direction:column;gap:8px;}
.summary-row{display:flex;justify-content:space-between;gap:10px;align-items:baseline;}
.summary-divider{height:1px;background:var(--border);margin:6px 0;}
.summary-total{font-weight:800;}
.summary-grand{font-weight:900;font-size:18px;}
.mono{font-variant-numeric:tabular-nums;}
.segmented{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;}
.seg-item{border:1px solid rgba(0,0,0,.12);border-radius:12px;background:#fff;padding:10px 10px;cursor:pointer;display:flex;justify-content:center;align-items:center;font-weight:800;}
.seg-item input{position:absolute;opacity:0;pointer-events:none;}
.seg-item span{display:inline-flex;gap:6px;align-items:center;}
.seg-item .seg-small{font-size:12px;font-weight:700;opacity:.78;line-height:1;}
.seg-item:hover{background:#f8fafc;}
.seg-item:has(input:checked){border-color:rgba(11,79,124,.35);box-shadow:0 0 0 4px rgba(11,79,124,.10), 0 10px 22px rgba(0,0,0,.10);}
.akis-fields{margin-top:12px;}
.form-row.split{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.cart-cta{display:flex;flex-direction:column;gap:10px;}
.cart-cta .btn,
.cart-cta .btn-secondary{
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.cta-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.btn-danger{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#fff;border:1px solid rgba(220,38,38,.35);color:#7f1d1d;border-radius:10px;padding:12px 14px;font-weight:900;}
.btn-danger:hover{background:rgba(220,38,38,.06);}
/* Make the Checkout button more obvious once a payment method is selected */
#checkoutBtn.cta-attn{
  box-shadow: 0 0 0 4px rgba(11,79,124,.18), 0 14px 28px rgba(0,0,0,.12);
  transform: translateY(-1px);
  animation: ctCtaPulse 1.6s ease-out 1;
}
@keyframes ctCtaPulse{
  0%{ box-shadow: 0 0 0 0 rgba(11,79,124,.0), 0 0 0 rgba(0,0,0,.0); }
  30%{ box-shadow: 0 0 0 6px rgba(11,79,124,.18), 0 14px 28px rgba(0,0,0,.12); }
  100%{ box-shadow: 0 0 0 4px rgba(11,79,124,.18), 0 14px 28px rgba(0,0,0,.12); }
}
@media (max-width: 900px){
  .cart-layout{grid-template-columns:1fr;}
  .cart-side{position:static;}
}
@media (max-width: 640px){
  .form-row.split{grid-template-columns:1fr;}
  .segmented{grid-template-columns:1fr;}
  .pay-tiles{grid-template-columns:1fr;}

  /* Mobile cart actions: keep them visible but compact enough not to bury the form */
  .cart-cta{
    position: sticky;
    bottom: 10px;
    z-index: 50;
    display:grid;
    grid-template-columns:56px minmax(0,1fr) 96px;
    grid-template-areas:
      "back secondary checkout"
      "back empty checkout"
      "hint hint hint";
    gap:6px 8px;
    align-items:stretch;
    background:linear-gradient(to top, rgba(255,255,255,0.99), rgba(255,255,255,0.90));
    padding-top:6px;
    border-top:1px solid rgba(0,0,0,.06);
  }

  .cart-cta .cta-row{
    display:contents;
  }

  .cart-cta #backToPrevBtn{
    grid-area:back;
    min-height:82px;
    padding:0;
    border-radius:14px;
    border:1px solid rgba(11,79,124,.18);
    background:#eef6fb;
    color:#0b4f7c;
    box-shadow:0 5px 14px rgba(11,79,124,.08);
    font-size:0;
    position:relative;
  }

  .cart-cta #backToPrevBtn::before{
    content:"←";
    font-size:24px;
    line-height:1;
    font-weight:900;
  }

  .cart-cta .cta-row .btn-secondary:not(#backToPrevBtn){
    grid-area:secondary;
  }

  .cart-cta .cta-row .btn-secondary:not(#backToPrevBtn),
  .cart-cta #emptyCartBtn{
    letter-spacing:-0.01em;
  }

  .cart-cta #checkoutBtn{
    grid-area:checkout;
    min-height:82px;
    padding:10px 8px;
    border-radius:14px;
    font-size:16px;
    line-height:1.05;
    font-weight:900;
    white-space:normal;
    box-shadow:0 8px 18px rgba(11,79,124,.14);
  }

  .cart-cta #emptyCartBtn{
    grid-area:empty;
  }

  .cart-cta #checkoutSelectionHint{
    grid-area:hint;
    margin-top:0 !important;
    line-height:1.2;
    font-size:13px;
  }

  .cart-cta .cta-row .btn-secondary:not(#backToPrevBtn),
  .cart-cta .btn-danger{
    min-height:38px;
    padding:8px 10px;
    font-size:13px;
    white-space:nowrap;
    line-height:1;
  }

  .cart-cta .btn-danger .trash{
    font-size:15px;
    flex:0 0 auto;
  }
}
/* Delivery method segmented buttons: force 3-line labels, tight spacing */
.segmented .seg-item span.seg-stack{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.05;
  gap: 2px;
  text-align: center;
}
.segmented .seg-item .seg-line{ display:block; }
.segmented .seg-item .seg-line.seg-small{
  font-size: 0.78em;
  opacity: 0.9;
}
/* Make each delivery button tall enough for 3 lines */
.segmented#deliveryMethodRadios .seg-item{
  min-height: 56px;
  padding-top: 10px;
  padding-bottom: 10px;
}
/* Header simplification */
.topbar{gap:12px;flex-wrap:nowrap}
.brand{flex:0 0 auto}
.header-search{flex:0 1 420px;min-width:0;width:min(420px,100%);margin-right:auto}
.basket-link{font-weight:800}
.header-actions{display:flex;align-items:center}
.basket-link{position:relative;display:inline-flex;align-items:center;gap:6px}
.basket-count{position:absolute;top:-8px;right:-10px;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#dc2626;color:#fff;font-size:12px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 2px 6px rgba(15,23,42,.18)}
.basket-count.is-hidden{display:none}
.cart-toast-stack{position:fixed;top:18px;right:18px;z-index:1200;display:flex;flex-direction:column;gap:10px;pointer-events:none}
.cart-toast{min-width:280px;max-width:min(360px,calc(100vw - 36px));padding:14px 16px;border-radius:14px;background:#111827;color:#fff;box-shadow:0 16px 40px rgba(15,23,42,.28);opacity:0;transform:translateY(-8px);transition:opacity .18s ease,transform .18s ease;pointer-events:auto}
.cart-toast.is-visible{opacity:1;transform:translateY(0)}
.cart-toast-title{font-size:14px;font-weight:800;margin:0 0 6px 0}
.cart-toast-body{font-size:14px;line-height:1.35;color:rgba(255,255,255,.9)}
.cart-toast-link{display:inline-flex;margin-top:10px;color:#fff;font-weight:700;text-decoration:underline;text-underline-offset:2px}
.btn.is-added-mobile,
button.is-added-mobile,
input[type="submit"].is-added-mobile,
input[type="button"].is-added-mobile{background:#16a34a !important;border-color:#16a34a !important;color:#fff !important;box-shadow:0 10px 22px rgba(22,163,74,.22)}
/* Product card hierarchy cleanup */
.product-card{gap:10px;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.pc-meta{gap:8px;margin-top:2px}
.pc-badge{font-weight:800}
.pc-title{font-size:20px;line-height:1.2;align-items:flex-start}
.pc-title span:last-child{display:block}
.pc-code-line{font-size:14px;color:var(--muted)}
.pc-sub{font-size:13px}
.pc-bottom{margin-top:auto;display:flex;flex-direction:column;gap:10px}
.pc-price{font-size:24px;line-height:1.1}
.pc-price .muted{font-size:13px;font-weight:600}
.pc-actions{gap:8px;align-items:stretch}
.pc-actions .qty{height:44px}
.pc-actions button{min-height:44px}
.family-help{font-size:12px}
.product-card-compact .pc-title{font-size:16px}
/* Product page upgrades */
.product-page{display:flex;flex-direction:column;gap:16px}
.product-hero{display:grid;grid-template-columns:minmax(280px,420px) 1fr;gap:24px;align-items:start;padding:20px}
.product-main h1{margin:0 0 10px 0;font-size:32px;line-height:1.1}
.product-kicker{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:10px}
.badge{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#eef2ff;border:1px solid #dbeafe;font-weight:800;font-size:12px}
.product-summary{color:var(--muted);font-size:15px;margin-bottom:16px}
.product-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}
.product-fact{border:1px solid var(--border);border-radius:12px;padding:12px;background:#f8fafc;display:flex;flex-direction:column;gap:4px}
.product-fact-label{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.03em}
.product-fact-code-values{display:flex;align-items:center;justify-content:space-between;gap:12px}
.product-fact-code-family{display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;border-radius:999px;background:#111827;color:#fff;white-space:nowrap;font-size:13px;font-weight:800;line-height:1.1;letter-spacing:.02em}
.product-details-compact{display:grid;gap:6px;margin:0 0 16px 0;padding:0;background:transparent;border:0}
.product-buy{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:8px 0 0}
.product-buy .qty{height:46px;border:1px solid var(--border);border-radius:10px}
.product-help{margin-top:16px;padding:16px;background:#f8fafc}
.product-help h3{margin:0 0 8px 0}
.product-support-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.product-list{margin:0;padding-left:18px;color:var(--text)}
.product-list li{margin:0 0 8px 0}
.product-support-card{min-width:0}
@media (max-width: 900px){
  .product-support-grid--printer .product-support-card--features{order:1}
  .product-support-grid--printer .product-support-card--overview{order:2}
  .product-support-grid--printer .product-support-card--help{order:3}
}
@media (max-width: 900px){
  .product-hero{grid-template-columns:1fr}
  .product-support-grid{grid-template-columns:1fr}
}
@media (max-width: 720px){
  .topbar{display:grid;grid-template-columns:auto 1fr auto;align-items:center}
  .nav-toggle{order:2;justify-self:end;min-width:128px;height:46px;padding:0 14px}
  .header-actions{order:3;width:auto;justify-content:flex-end;margin-left:0}
  .header-search{order:4;grid-column:1 / -1;width:100%}
  .basket-link{padding:8px 10px}
  .pc-title{font-size:18px}
  .pc-price{font-size:22px}
}
@media (max-width: 640px){
  .product-main h1{font-size:28px}
  .product-facts{grid-template-columns:1fr}
  .product-fact-code-values{flex-wrap:wrap}
  .product-buy{flex-direction:column;align-items:stretch}
  .product-buy .qty{width:100%;min-width:0}
  .pc-actions{flex-direction:column}
  .pc-actions input{width:100%}
}
.product-price-row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:14px}
.product-price{font-size:30px;font-weight:800;margin-bottom:0}
.product-buy-inline{margin:0;justify-content:flex-end}
.product-buy-inline .qty{width:64px;text-align:center}
.product-related-side{margin-top:18px;padding-top:8px}
.product-related-side h3{margin:0 0 12px 0}
.product-related-list{display:flex;flex-direction:column;gap:14px}
.related-item{display:grid;grid-template-columns:140px 1fr;gap:14px;align-items:start}
.related-thumb{display:block;border:1px solid var(--border);border-radius:12px;padding:8px;background:#fff}
.related-thumb img{display:block;width:100%;height:auto;object-fit:contain}
.related-copy{display:flex;flex-direction:column;gap:8px;min-width:0}
.related-title{font-weight:800;font-size:16px;line-height:1.25;color:var(--text)}
.related-meta{display:flex;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:13px}
.related-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.related-price{font-size:20px;font-weight:800;line-height:1.1}
.related-price .muted{font-size:12px;font-weight:600}
.related-add, .related-add-all{margin:0}
.related-add-all{margin-top:18px}
.related-add button,.related-add-all button{min-height:42px}
/* Product page tidy-up */
.product-price{font-size:30px;font-weight:800;margin-bottom:0}
.product-specs{margin:0 0 16px 0;padding:0;overflow:hidden}
.product-spec-row{display:flex;justify-content:space-between;gap:16px;padding:12px 14px;border-bottom:1px solid var(--border);align-items:flex-start}
.product-spec-row:last-child{border-bottom:0}
.product-spec-label{color:var(--muted);font-size:14px;min-width:110px}
.product-help-inline{margin:8px 0 0}
.panel-highlight{background:#f8fafc;border:1px solid var(--border)}
.panel-highlight .btn-secondary{margin-top:8px;display:inline-flex}
@media (max-width: 640px){
  .product-price{font-size:26px}
  .product-spec-row{flex-direction:column;gap:4px}
  .product-spec-label{min-width:0}
}
@media (max-width: 900px){
  .product-price-row{align-items:flex-start}
  .product-buy-inline{justify-content:flex-start}
}
@media (max-width: 640px){
  .product-price-row{flex-direction:column;align-items:stretch}
  .product-buy-inline{flex-direction:row;flex-wrap:wrap;align-items:center}
  .product-buy-inline .qty{width:72px}
  .related-item{grid-template-columns:110px 1fr}
  .related-bottom{flex-direction:column;align-items:stretch}
  .related-add button,.related-add-all button{width:100%}
}
@media (max-width: 420px){
  .related-item{grid-template-columns:1fr}
  .related-thumb{max-width:170px}
}
/* Product layout: related items under image */
.product-hero-enhanced{grid-template-columns:minmax(300px,420px) minmax(0,1fr)}
.product-sidebar{display:flex;flex-direction:column;gap:18px;min-width:0;grid-column:1;grid-row:1 / span 2}
.product-main{grid-column:2;grid-row:1}
.product-printers-side{grid-column:2;grid-row:2;align-self:start}
.product-printers-side h3{margin:0 0 8px 0}
.product-printers-intro{margin-bottom:12px;font-size:14px}
.product-printer-chips{display:flex;flex-wrap:wrap;gap:8px;max-height:260px;overflow:auto;padding-right:4px}
.product-printer-chips .chip{line-height:1.25}
.product-related-side h3{margin:0 0 14px 0}
.related-side-list{display:flex;flex-direction:column;gap:14px}
.product-related-wide{margin-top:18px}
.product-related-wide--printer{display:none}
.related-side-list--printer-wide{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.related-side-list--printer-wide .related-side-item{height:100%;align-items:start}
.related-side-list--printer-wide .related-side-bottom{margin-top:auto}
.related-side-item{display:grid;grid-template-columns:150px minmax(0,1fr);gap:14px;align-items:center}
.related-side-thumb{display:flex;align-items:center;justify-content:center;border:1px solid var(--border);border-radius:12px;background:#fff;padding:8px;min-height:92px}
.related-side-thumb img{max-width:100%;max-height:86px;display:block}
.related-side-body{display:flex;flex-direction:column;gap:6px;min-width:0}
.related-side-title{font-weight:800;color:var(--text);line-height:1.25}
.related-side-meta{font-size:13px;color:var(--muted);line-height:1.35}
.related-side-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.related-side-price{font-size:20px;font-weight:800;line-height:1.1}
.related-side-price .muted{font-size:12px;font-weight:600}
.related-side-add{display:flex;align-items:center}
.related-side-add button{min-height:42px}
.related-side-bundle{margin-top:18px}
.related-side-bundle .btn-secondary{width:100%;justify-content:center}
.product-price-row{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin:0 0 16px}
.product-price-row .product-price{margin:0}
.product-buy-inline{margin:0;justify-content:flex-end}
.product-buy-inline .qty{width:62px;min-width:62px;text-align:center}
@media (min-width: 901px){
  .product-related-side--printer-mobile{display:none}
  .product-related-wide--printer{display:block}
}
@media (max-width: 1100px){
  .related-side-item{grid-template-columns:110px minmax(0,1fr)}
}
@media (max-width: 900px){
  .product-hero-enhanced{grid-template-columns:1fr}
  .product-sidebar,
  .product-main,
  .product-printers-side{grid-column:auto;grid-row:auto}
  .product-printer-chips{max-height:none;padding-right:0}
  .product-related-wide--printer{display:none}
}
@media (max-width: 720px){
  .product-price-row{flex-direction:column;align-items:stretch}
  .product-buy-inline{justify-content:stretch}
  .related-side-item{grid-template-columns:100px minmax(0,1fr)}
}
@media (max-width: 560px){
  .related-side-item{grid-template-columns:1fr}
  .related-side-thumb{min-height:120px}
  .related-side-bottom{flex-direction:column;align-items:stretch}
  .related-side-add, .related-side-add button{width:100%}
}
@media (max-width: 640px){
  #cartTable th:last-child,
  #cartTable td.remove-cell{display:none;}

  #cartTable .qty-wrap{
    display:inline-flex;
    align-items:center;
    gap:8px;
    white-space:nowrap;
  }

  #cartTable .remove-x{
    flex:0 0 auto;
    margin:0;
  }
}
@media (max-width: 420px){
  .nav-toggle{min-width:118px;padding:0 12px;gap:8px}
  .nav-toggle-label{font-size:14px}
  .nav-toggle-icon{width:18px}
  .nav-toggle-icon span{width:18px}
}
/* Consolidated responsive/product overrides 2026-03-07 */
@media (max-width: 900px){
  .grid,
  .grid.grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .grid.small{grid-template-columns:repeat(2,minmax(0,1fr))}
  .trust-row{grid-template-columns:1fr}

  /* On responsive product pages: image first, details second, related products below */
  .product-hero-enhanced{grid-template-columns:1fr}
  .product-sidebar{display:contents}
  .product-media{order:1}
  .product-main{order:2}
  .product-related-side{order:3;margin-top:18px}
  .product-printers-side{order:4}
  .product-related-wide--printer{display:none}
}
@media (max-width: 640px){
  .grid,
  .grid.grid-4,
  .grid.small{grid-template-columns:1fr}
  .logo-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr}
  .main-nav{gap:12px}

  /* Search/filter rows should wrap instead of pushing the page sideways */
  .sf-row{flex-wrap:wrap}
  .sf-group{width:100%}
  .sf-q{min-width:0;width:100%}

  /* Printer filters: keep mobile compact with tap-to-open sections */
  .sf-printer-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}
  .sf-printer-filters .sf-printer-group{border:1px solid var(--border);border-radius:14px;background:#fff;padding:0;overflow:hidden;grid-column:span 1}
  .sf-printer-filters .sf-printer-group[data-printer-group="features"]{grid-column:1 / -1}
  .sf-printer-filters .sf-printer-group.is-open{grid-column:1 / -1}
  .sf-printer-filters .sf-label-desktop{display:none}
  .sf-printer-filters .sf-mobile-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;padding:14px 14px 13px;border:0;background:#fff;color:var(--text);font:inherit;font-weight:800;cursor:pointer;text-align:left}
  .sf-printer-filters .sf-mobile-toggle-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
  .sf-printer-filters .sf-mobile-toggle-label{font-size:15px;line-height:1.2}
  .sf-printer-filters .sf-mobile-toggle-summary{font-size:13px;line-height:1.25;color:var(--muted);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
  .sf-printer-filters .sf-mobile-toggle-icon{position:relative;flex:0 0 18px;width:18px;height:18px;margin-left:10px}
  .sf-printer-filters .sf-mobile-toggle-icon::before,
  .sf-printer-filters .sf-mobile-toggle-icon::after{content:"";position:absolute;left:50%;top:50%;width:14px;height:2px;background:#0f3b68;border-radius:999px;transform:translate(-50%,-50%)}
  .sf-printer-filters .sf-mobile-toggle-icon::after{transform:translate(-50%,-50%) rotate(90deg);transition:transform .18s ease}
  .sf-printer-filters .sf-printer-group.is-open .sf-mobile-toggle-icon::after{transform:translate(-50%,-50%) rotate(0deg)}
  .sf-printer-filters .sf-printer-options{display:none;padding:0 12px 12px;border-top:1px solid #eef2f7;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .sf-printer-filters .sf-printer-group.is-open .sf-printer-options{display:grid}
  .sf-printer-filters .sf-printer-options .sf-pill{width:100%;min-height:50px;padding:12px 14px;border-radius:14px;align-items:flex-start;justify-content:flex-start;line-height:1.25}
  .sf-printer-filters .sf-printer-options .sf-pill input{margin-top:2px}
  @media (max-width:380px){
    .sf-printer-filters{grid-template-columns:1fr}
    .sf-printer-filters .sf-printer-group{grid-column:1 / -1}
  }

  /* Keep delivery choices side by side on phones; other segmented controls stay stacked */
  .segmented:not(#deliveryMethodRadios){grid-template-columns:1fr}
  #deliveryMethodRadios{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  #deliveryMethodRadios .seg-item{padding:8px 6px;min-height:92px;border-radius:14px}
  #deliveryMethodRadios .seg-item .seg-line{font-size:clamp(12px,3.6vw,16px)}
  #deliveryMethodRadios .seg-item .seg-line.seg-small{font-size:clamp(10px,2.9vw,12px)}

  /* Search product cards: keep price with quantity inline, then button below */
  .search-results-grid .search-product-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;align-items:start}
  .search-results-grid .search-product-card > .pc-img,
  .search-results-grid .search-product-card > .pc-meta,
  .search-results-grid .search-product-card > .pc-title,
  .search-results-grid .search-product-card > .pc-sub{grid-column:1 / -1}
  .search-results-grid .search-product-card > .pc-price{grid-column:1;margin:0;align-self:center}
  .search-results-grid .search-product-card > .pc-actions{display:contents}
  .search-results-grid .search-product-card > .pc-actions .qty{grid-column:2;width:6ch;min-width:6ch;max-width:6ch;justify-self:end;text-align:center;padding-left:.35rem;padding-right:.35rem}
  .search-results-grid .search-product-card > .pc-actions button{grid-column:1 / -1;width:100%}

  /* Brand logo strip: 4 across on phones */
  .brand-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;align-items:stretch}
  .brand-strip a,
  .brand-strip a.is-active{width:100%;height:60px}
  .brand-strip img{max-width:76px;max-height:36px}
  .brand-strip a.is-active img{max-width:82px;max-height:40px}
}
@media (max-width: 420px){
  #deliveryMethodRadios{gap:5px}
  #deliveryMethodRadios .seg-item{padding:8px 4px;min-height:86px}
}
@media (max-width: 900px){
  .cart-toast-stack{display:none}
}
@media (max-width: 860px) {
  .admin-printer-mapping-grid { grid-template-columns: 1fr; gap: 10px; }
  .admin-printer-mapping-grid-head { display: none; }
}
@media (max-width: 900px){.admin-feature-check-grid{grid-template-columns:1fr 1fr}}
@media (max-width: 640px){.admin-feature-check-grid{grid-template-columns:1fr}}
.product-main-image-link {
  display: block;
  color: inherit;
}
.product-thumb-strip {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.product-thumb {
  width: 74px;
  height: 74px;
  border: 2px solid #d8e1f0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.product-thumb:hover,
.product-thumb.is-active {
  border-color: #0b5cab;
  box-shadow: 0 0 0 2px rgba(11,92,171,.08);
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-media-note {
  margin-top: 10px;
}
.printer-copy {
  line-height: 1.65;
}
.product-check-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.product-check-list li {
  position: relative;
  padding-left: 24px;
}
.product-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #0b5cab;
  font-weight: 700;
}
.printer-description-panel {
  margin-top: 18px;
}
.product-fact-action .btn-secondary{display:inline-flex;align-items:center;justify-content:center;padding:8px 10px;font-size:13px;line-height:1.2}
.printer-description-panel{margin-bottom:18px}
@media (max-width: 1180px){
  .admin-shell{grid-template-columns:240px minmax(0,1fr)}
  .admin-kv-grid,.admin-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width: 980px){
  .admin-shell{grid-template-columns:1fr}
  .admin-sidebar{position:static;height:auto}
  .admin-main{padding:18px}
  .admin-topbar-card{padding:16px;flex-direction:column;align-items:flex-start}
  .admin-topbar-tools{width:100%;justify-content:flex-start}
  .admin-site-switcher{width:100%;flex-wrap:wrap}
  .admin-site-switcher select{width:100%}
  .admin-grid-2,.admin-grid-3,.admin-kv-grid,.admin-stat-grid{grid-template-columns:1fr 1fr}
  .admin-hero-actions-tiles{grid-template-columns:1fr 1fr;min-width:0;width:100%}
}
@media (max-width: 720px){
  .admin-page{margin-bottom:22px}
  .admin-main{padding:14px}
  .admin-page-head,.admin-selection-bar,.admin-table-toolbar,.admin-topbar-card{flex-direction:column;align-items:flex-start}
  .admin-page-actions,.admin-topbar-actions,.admin-selection-actions,.admin-form-actions-inline{width:100%}
  .admin-page-actions .btn,.admin-page-actions .btn-secondary,.admin-topbar-actions .btn,.admin-topbar-actions .btn-secondary,.admin-selection-actions .btn,.admin-selection-actions .btn-secondary,.admin-form-actions-inline .btn,.admin-form-actions-inline .btn-secondary{width:100%;text-align:center}
  .admin-hero-actions-tiles,.admin-quick-grid{grid-template-columns:1fr}
  .admin-hero-link{width:100%}
  .admin-grid-2,.admin-grid-3,.admin-kv-grid,.admin-stat-grid{grid-template-columns:1fr}
  .admin-login-shell{padding:16px}
}
@media (max-width: 1080px){.admin-builder-layout{grid-template-columns:1fr}.admin-builder-preview-card{position:static}.admin-builder-item-fields{grid-template-columns:1fr}.admin-builder-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Static info pages */
.static-page-shell{display:grid;gap:22px;}
.static-page-hero{padding:26px 28px;border-radius:22px;background:linear-gradient(135deg,#f8fafc,#eef4ff);border:1px solid #e4eaf5;box-shadow:0 18px 40px rgba(15,23,42,.06);}
.static-page-hero h1{margin:0;font-size:clamp(1.8rem,3vw,2.4rem);}
.static-page-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;align-items:start;}
.static-page-grid-testimonials{grid-template-columns:minmax(0,1fr) 320px;}
.static-page-main,.static-page-aside-card{background:#fff;border:1px solid #e8edf5;border-radius:22px;box-shadow:0 18px 40px rgba(15,23,42,.05);}
.static-page-main{padding:26px 28px;}
.static-page-aside-card{padding:22px;position:sticky;top:18px;}
.static-page-aside-card h3{margin-top:0;margin-bottom:12px;}
.static-page-aside-list{display:grid;gap:10px;font-size:14px;color:#334155;}
.static-page-aside-list a{color:#0f172a;text-decoration:none;font-weight:600;}
.static-page-links{display:grid;gap:8px;margin-top:18px;padding-top:18px;border-top:1px solid #e8edf5;}
.static-page-links a{color:#0f172a;text-decoration:none;font-weight:600;}
.prose{color:#1f2937;line-height:1.7;}
.prose p:first-child{margin-top:0;}
.prose ul{padding-left:20px;}
.site-content-faq{display:grid;gap:12px;}
.site-content-faq details{border:1px solid #e5e7eb;border-radius:16px;padding:0 16px;background:#f8fafc;}
.site-content-faq summary{cursor:pointer;font-weight:700;padding:14px 0;list-style:none;}
.site-content-faq summary::-webkit-details-marker{display:none;}
.site-content-highlight{background:#f8fafc;border-left:4px solid #0f172a;padding:2px 14px;border-radius:12px;margin-bottom:14px;}
.site-content-checklist{display:grid;gap:10px;}
.testimonial-carousel{display:grid;gap:16px;margin-top:18px;}
.testimonial-stage{position:relative;overflow:hidden;border:1px solid #e5e7eb;border-radius:22px;background:#fff;min-height:320px;box-shadow:0 18px 40px rgba(15,23,42,.05);}
.testimonial-slide{display:none;padding:32px 80px 32px 32px;}
.testimonial-slide.is-active{display:block;}
.testimonial-slide-grid{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px;align-items:stretch;}
.testimonial-side{display:grid;align-content:start;gap:8px;padding:18px;border-radius:18px;background:#f8fafc;border:1px solid #e6edf5;color:#475569;}
.testimonial-side strong{font-size:1.05rem;color:#0f172a;}
.testimonial-copy-box{display:flex;align-items:center;padding:24px;border-radius:18px;background:linear-gradient(135deg,#fff 0%,#f8fbff 100%);border:1px solid #e6edf5;min-height:180px;}
.testimonial-quote{font-size:1.14rem;line-height:1.8;color:#0f172a;margin:0;}
.testimonial-arrow{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:999px;border:1px solid #cbd5e1;background:#fff;color:#0f172a;font-size:26px;font-weight:700;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 20px rgba(15,23,42,.12);z-index:2;}
.testimonial-arrow:hover{background:#f8fafc;}
.testimonial-arrow-prev{left:14px;}
.testimonial-arrow-next{right:14px;}
.testimonial-controls{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;}
.testimonial-dots{display:flex;gap:8px;flex-wrap:wrap;}
.testimonial-dot{width:10px;height:10px;border-radius:999px;background:#cbd5e1;border:0;padding:0;cursor:pointer;}
.testimonial-dot.is-active{background:#0f172a;}
.testimonial-autoplay-note{font-size:13px;color:#64748b;}
@media (max-width: 980px){
  .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .static-page-grid,.static-page-grid-testimonials{grid-template-columns:1fr;}
  .static-page-aside-card{position:static;}
  .testimonial-slide{padding:72px 24px 24px;}
  .testimonial-slide-grid{grid-template-columns:1fr;}
  .testimonial-arrow-prev{left:12px;top:18px;transform:none;}
  .testimonial-arrow-next{right:12px;top:18px;transform:none;}
  .admin-site-content-grid,.admin-site-testimonial-grid{grid-template-columns:1fr;}
}
@media (max-width: 720px){
  .footer-grid{grid-template-columns:1fr;}
  .admin-site-content-head-row,.admin-editor-topbar,.testimonial-controls{grid-template-columns:1fr;display:grid;justify-content:stretch;}
  .testimonial-copy-box{padding:18px;}
  .testimonial-quote{font-size:1rem;}
  .testimonial-arrow{width:42px;height:42px;font-size:22px;}
}
.footer-link-with-icon,.static-page-link-with-icon{display:inline-flex;align-items:center;gap:8px;}
.footer-inline-icon{width:16px;height:16px;display:inline-block;vertical-align:middle;}
@media (max-width: 760px){.admin-site-footer-grid{grid-template-columns:1fr;}.admin-site-footer-grid .admin-site-footer-grid-span-2{grid-column:auto;}}
.footer-heading{margin:0 0 8px 0;font-size:1em;font-weight:700;color:inherit}
.footer-heading-brand{margin:0 0 8px 0;font-size:1em;font-weight:700;color:inherit}
