/* =====================================================================
   AdGear BD — storefront stylesheet
   Palette: deep navy + brand gold, taken from the AdGear BD logo
   ===================================================================== */

:root{
  --navy:#0D2044;        /* logo navy, deepened for large fills */
  --navy-2:#17305C;      /* the logo navy itself */
  --navy-3:#24467F;
  --gold:#C9A227;
  --gold-dark:#A17F17;
  --gold-light:#E7C767;
  --on-gold:#10254A;     /* navy text on gold — the logo's own pairing */
  --glow:linear-gradient(135deg,#E3C25C 0%,#C08F1E 100%);
  --bg:#F6F8FC;
  --card:#FFFFFF;
  --ink:#16202F;
  --ink-2:#39465B;
  --muted:#6E7A8E;
  --line:#E4E9F1;
  --ok:#12925B;
  --ok-bg:#E6F6EE;
  --bad:#D42D2D;
  --bad-bg:#FDECEC;
  --warn:#B57500;
  --warn-bg:#FFF4DE;
  --info:#1F5FD0;
  --info-bg:#E9F1FE;
  --radius:14px;
  --radius-sm:9px;
  --shadow:0 1px 2px rgba(13,32,68,.05),0 8px 24px rgba(13,32,68,.07);
  --shadow-lg:0 18px 48px rgba(13,32,68,.14);
  --font:"Segoe UI",system-ui,-apple-system,"Hind Siliguri","Noto Sans Bengali",Roboto,Arial,sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--bg);color:var(--ink);
  font-family:var(--font);font-size:15.5px;line-height:1.6;
}
img{max-width:100%;display:block}
a{color:var(--navy-3);text-decoration:none}
a:hover{color:var(--gold-dark)}
h1,h2,h3,h4{margin:0 0 .5em;line-height:1.25;font-weight:750;letter-spacing:-.015em}
h1{font-size:2rem}h2{font-size:1.5rem}h3{font-size:1.15rem}
p{margin:0 0 1em}
hr{border:0;border-top:1px solid var(--line);margin:24px 0}
.muted{color:var(--muted)}
.ok{color:var(--ok);font-weight:700}
.small{font-size:.85rem}
.center{text-align:center}
.right{text-align:right}
.nowrap{white-space:nowrap}
.mt0{margin-top:0}.mb0{margin-bottom:0}
.wrap{max-width:1200px;margin:0 auto;padding:0 18px}
.stack>*+*{margin-top:14px}

/* ---------------------------------------------- form controls (base layer)
   Kept ABOVE the components on purpose: component rules such as .findbar or
   .promobox must be able to restyle a control without fighting specificity. */
input[type=text],input[type=email],input[type=tel],input[type=password],input[type=number],
input[type=date],input[type=url],input[type=search],select,textarea{
  width:100%;padding:11px 13px;border:1.5px solid var(--line);border-radius:var(--radius-sm);
  font:inherit;font-size:.92rem;background:#fff;color:var(--ink);outline:none;transition:border-color .15s,box-shadow .15s;
}
input:focus,select:focus,textarea:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(201,162,39,.13)}
input.err,select.err,textarea.err{border-color:var(--bad);background:#FFFAFA}
textarea{min-height:120px;resize:vertical}
select{appearance:none;background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%236E7A8E' d='M6 8 0 0h12z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:36px}

/* ------------------------------------------------------------- header */
.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50}
.site-header .wrap{display:flex;align-items:center;gap:22px;min-height:74px}
.brand{display:flex;align-items:center;gap:11px;flex-shrink:0}
/* Hardcoded logo file, when the developer has installed one. */
.brand__logo{
  width:42px;height:42px;border-radius:11px;flex-shrink:0;
  object-fit:contain;background:#fff;padding:4px;
}
.brand__mark{
  width:42px;height:42px;border-radius:11px;background:var(--glow);
  display:grid;place-items:center;color:var(--on-gold);font-weight:800;font-size:1.05rem;
  box-shadow:0 6px 18px rgba(201,162,39,.38);letter-spacing:-.02em;
}
.brand__name{font-weight:800;font-size:1.12rem;color:var(--navy);letter-spacing:-.02em;line-height:1.15}
.brand__sub{font-size:.68rem;color:var(--muted);text-transform:uppercase;letter-spacing:.1em;font-weight:600}

.searchbar{flex:1;display:flex;max-width:520px}
.searchbar input{
  flex:1;border:1.5px solid var(--line);border-right:0;
  border-radius:10px 0 0 10px;padding:11px 14px;font:inherit;font-size:.92rem;outline:none;
}
.searchbar input:focus{border-color:var(--gold)}
.searchbar button{
  border:0;background:var(--navy);color:#fff;padding:0 20px;
  border-radius:0 10px 10px 0;cursor:pointer;font:inherit;font-weight:600;
}
.searchbar button:hover{background:var(--gold)}

.header-actions{margin-left:auto;display:flex;align-items:center;gap:10px}
.cart-btn{
  display:flex;align-items:center;gap:9px;background:var(--navy);color:#fff;
  padding:10px 16px;border-radius:10px;font-weight:650;font-size:.9rem;position:relative;
}
.cart-btn:hover{background:var(--gold);color:var(--on-gold)}
.cart-btn .count{
  background:var(--gold-light);color:var(--navy);border-radius:20px;
  padding:1px 8px;font-size:.75rem;font-weight:800;
}


/* ------------------------------------------------------- header links */
.hlink{
  display:flex;align-items:center;gap:7px;padding:9px 12px;border-radius:9px;
  color:var(--ink-2);font-size:.87rem;font-weight:650;white-space:nowrap;
}
.hlink:hover{background:#F1F5FA;color:var(--gold-dark)}
.hlink__ico{font-size:1rem}

/* --------------------------------------------------- search suggestions */
.suggest{position:relative;flex:1;display:flex}
.suggest input{width:100%}
.suggest__panel{
  position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:80;
  background:#fff;border:1px solid var(--line);border-radius:12px;
  box-shadow:var(--shadow-lg);overflow:hidden;max-height:min(70vh,460px);overflow-y:auto;
}
.suggest__panel[hidden]{display:none}
.suggest__label{
  font-size:.68rem;text-transform:uppercase;letter-spacing:.1em;font-weight:750;
  color:var(--muted);padding:11px 14px 6px;background:#FAFBFE;
}
.suggest__row{
  display:flex;align-items:center;gap:11px;padding:9px 14px;
  border-bottom:1px solid var(--line);color:var(--ink);
}
.suggest__row:last-of-type{border-bottom:0}
.suggest__row:hover,.suggest__row.on{background:#FFF6EE;color:var(--ink)}
.suggest__row img{width:44px;height:44px;object-fit:cover;border-radius:8px;border:1px solid var(--line);flex-shrink:0}
.suggest__body{flex:1;min-width:0}
.suggest__name{display:block;font-size:.9rem;font-weight:650;line-height:1.3}
.suggest__name mark{background:#FFE3C4;color:inherit;padding:0 1px;border-radius:3px}
.suggest__meta{display:block;font-size:.76rem;color:var(--muted)}
.suggest__price{font-size:.9rem;font-weight:800;color:var(--navy);white-space:nowrap}
.suggest__price s{display:block;font-size:.72rem;font-weight:500;color:var(--muted)}
.suggest__folder{
  width:34px;height:34px;border-radius:8px;background:#F1F5FA;
  display:grid;place-items:center;font-size:.95rem;flex-shrink:0;
}
.suggest__row--cat .suggest__name{flex:1}
.suggest__count{font-size:.75rem;color:var(--muted);background:#F1F5FA;border-radius:20px;padding:2px 9px}
.suggest__all{
  display:block;text-align:center;padding:12px;font-size:.85rem;font-weight:700;
  background:#F7F9FD;color:var(--navy);border-top:1px solid var(--line);
}
.suggest__all:hover,.suggest__all.on{background:var(--navy);color:#fff}
.suggest__none{padding:20px 16px;text-align:center;font-size:.88rem;color:var(--muted)}
.suggest__none a{display:block;margin-top:8px;font-weight:700}

/* ------------------------------------------------------ delivery zone box */
.zonebox{
  display:flex;align-items:center;gap:12px;padding:13px 15px;border-radius:var(--radius-sm);
  border:1.5px solid;font-size:.9rem;margin-top:4px;
}
.zonebox--in{background:#EAF6FF;border-color:#B6DDF6}
.zonebox--out{background:#FBF5E3;border-color:#FFD9B3}
.zonebox__ico{font-size:1.35rem}
.zonebox b{display:block;font-size:.95rem}
.zonebox span span{color:var(--ink-2);font-size:.82rem}
.zonebox__tag{
  margin-left:auto;font-size:.68rem;text-transform:uppercase;letter-spacing:.07em;
  font-weight:800;color:var(--muted);background:rgba(255,255,255,.75);
  border-radius:20px;padding:4px 10px;white-space:nowrap;
}

/* -------------------------------------------------------------- promo box */
.promobox{margin:14px 0 4px;padding-top:14px;border-top:1px dashed var(--line)}

/* The field and the button share one row and shrink together; the field may go
   down to 7rem before the button is allowed to wrap under it. */
.promobox__form{display:flex;gap:12px;align-items:stretch;flex-wrap:wrap}
.promobox__form input{
  flex:1 1 7rem;width:auto;min-width:0;
  text-transform:uppercase;letter-spacing:.06em;font-weight:650;font-size:.86rem;
}
.promobox__form input::placeholder{text-transform:none;letter-spacing:normal;font-weight:400}
.promobox__form .btn{flex:0 0 auto;white-space:nowrap}

.promobox__on{
  display:flex;align-items:center;gap:10px;background:var(--ok-bg);
  border:1px solid #B7E3CC;border-radius:var(--radius-sm);padding:10px 12px;
  flex-wrap:wrap;
}
.promobox__on>span{flex:1 1 8rem;min-width:0}
.promobox__on b{color:#0B6B41;letter-spacing:.05em;word-break:break-word}
.promobox__on span span{display:block}
.promobox__tick{font-size:1.15rem;flex:0 0 auto}
.promobox__x{
  border:0;background:none;cursor:pointer;color:#0B6B41;
  font-size:1rem;line-height:1;padding:4px 8px;border-radius:6px;flex:0 0 auto;
}
.promobox__x:hover{background:rgba(0,0,0,.08)}
.promobox__on form{flex:0 0 auto;display:flex;margin-left:auto}

/* When the panel itself is narrow — not just the viewport — stack them full
   width. Container query first, viewport media query as the fallback for
   browsers without container support. */
@supports (container-type:inline-size){
  @container (max-width:230px){
    .promobox__form input,.promobox__form .btn{flex:1 1 100%}
    .promobox__on{gap:8px}
  }
}
@supports not (container-type:inline-size){
  @media(max-width:400px){
    .promobox__form input,.promobox__form .btn{flex:1 1 100%}
  }
}

.sumrow--save{color:var(--ok)}
.sumrow--save b{color:var(--ok)}
.savedline{
  margin:10px 0 0;text-align:center;font-size:.84rem;font-weight:700;color:var(--ok);
  background:var(--ok-bg);border-radius:8px;padding:8px;
}

/* ------------------------------------------------------------ offer strip */
.offerstrip{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}
.offercard{
  display:flex;align-items:center;gap:11px;background:#fff;border:1px dashed var(--gold);
  border-radius:var(--radius-sm);padding:11px 15px;
}
.offercard__code{
  font-weight:800;letter-spacing:.08em;color:var(--gold-dark);background:#FBF5E3;
  border-radius:6px;padding:4px 10px;font-size:.85rem;
}
.offercard b{display:block;font-size:.86rem}
.offercard span{font-size:.78rem;color:var(--muted)}

/* ---------------------------------------------------------------- nav */
.mainnav{background:var(--navy);}
.mainnav .wrap{display:flex;gap:4px;align-items:center;overflow-x:auto;scrollbar-width:none}
.mainnav .wrap::-webkit-scrollbar{display:none}
.mainnav a{
  color:#CBD7E8;padding:13px 15px;font-size:.9rem;font-weight:600;white-space:nowrap;
  border-bottom:3px solid transparent;
}
.mainnav a:hover{color:#fff;background:rgba(255,255,255,.06)}
.mainnav a.active{color:#fff;border-bottom-color:var(--gold)}
.navtoggle{display:none}


/* --------------------------------------------------- catalogue search bar */
.catalog-bar{
  background:
    radial-gradient(700px 220px at 85% -40%,rgba(201,162,39,.28),transparent 62%),
    var(--navy);
  padding:22px 0 18px;border-bottom:3px solid var(--gold);
}

/* Every control in the bar shares one height so the row lines up exactly,
   regardless of the different font sizes inside them. */
.findbar{
  --ctl-h:46px;
  display:flex;gap:10px;align-items:center;flex-wrap:wrap;
}

.findbar__search{position:relative;flex:1 1 260px;min-width:200px}
.findbar__ico{
  position:absolute;left:0;top:0;bottom:0;width:42px;
  display:grid;place-items:center;
  color:#8B98AC;pointer-events:none;z-index:1;
}
.findbar .findbar__search input[type=search]{
  width:100%;height:var(--ctl-h);
  /* left padding clears the icon column so the placeholder never runs under it */
  padding:0 14px 0 42px;
  border:0;border-radius:10px;
  font:inherit;font-size:.95rem;background:#fff;color:var(--ink);
  transition:box-shadow .15s;
}

/* Chrome draws its own blue clear button on type=search — it clashes with the
   dark bar, and the Reset button already covers clearing. */
.findbar .findbar__search input[type=search]::-webkit-search-cancel-button,
.findbar .findbar__search input[type=search]::-webkit-search-decoration{-webkit-appearance:none;appearance:none}

.findbar select{
  width:auto;min-width:150px;height:var(--ctl-h);
  padding:0 34px 0 14px;border:0;border-radius:10px;
  background-color:#fff;font-size:.9rem;font-weight:600;color:var(--ink);cursor:pointer;
}
.findbar select:hover{background-color:#F7F9FD}

/* The price range and the buttons travel together, so the Search button always
   sits beside the min/max fields instead of wrapping onto its own line. */
.findbar__end{display:flex;align-items:center;gap:10px;flex:0 0 auto}

/* The price range reads as ONE control: the inputs are seamless inside it and
   the focus ring is drawn on the wrapper, never inside it. */
.findbar__price{
  display:flex;align-items:center;gap:8px;
  height:var(--ctl-h);background:#fff;border-radius:10px;padding:0 14px;
  flex:0 1 250px;min-width:190px;
}
.findbar .findbar__price input[type=number]{
  width:100%;min-width:0;flex:1 1 0;height:100%;
  border:0;border-radius:0;padding:0 8px;box-shadow:none;
  font:inherit;font-size:.88rem;text-align:center;background:transparent;color:var(--ink);
  -moz-appearance:textfield;appearance:textfield;
}
/* Spin buttons eat most of the width in a field this narrow. */
.findbar .findbar__price input[type=number]::-webkit-outer-spin-button,
.findbar .findbar__price input[type=number]::-webkit-inner-spin-button{
  -webkit-appearance:none;appearance:none;margin:0;
}
.findbar__price span{color:var(--muted);font-weight:600;flex:0 0 auto}

.findbar .btn{height:var(--ctl-h);padding:0 22px}

.findbar ::placeholder{color:#93A0B4;opacity:1}

/* Focus: a ring on the search box and the selects, and on the price WRAPPER
   rather than its inner inputs — otherwise the ring is painted inside the pill
   and the group looks like three broken boxes. */
.findbar .findbar__search input[type=search]:focus,
.findbar select:focus{box-shadow:0 0 0 3px rgba(201,162,39,.55);outline:none}
.findbar__price:focus-within{box-shadow:0 0 0 3px rgba(201,162,39,.55)}
.findbar .findbar__price input[type=number]:focus{box-shadow:none;outline:none;border:0}

/* The chip strip scrolls horizontally. It has to bleed to the true screen edge
   or the last chip sits under .wrap's padding and looks chopped; the matching
   scroll-padding keeps the first chip clear of the edge when scrolled back. */
.catnav{position:relative;margin-top:14px}
.catchips{
  /* The mask fades whichever edge still has chips beyond it, so a chip running
     off-screen reads as "scroll for more" instead of as a cut-off box. */
  --fade-s:0px;--fade-e:0px;
  display:flex;gap:8px;
  overflow-x:auto;overscroll-behavior-x:contain;
  scrollbar-width:none;-webkit-overflow-scrolling:touch;
  scroll-snap-type:inline proximity;scroll-behavior:smooth;
  margin-left:-18px;margin-right:-18px;
  padding:2px 18px 6px;
  scroll-padding-inline:18px;
  -webkit-mask-image:linear-gradient(to right,transparent 0,#000 var(--fade-s),#000 calc(100% - var(--fade-e)),transparent 100%);
          mask-image:linear-gradient(to right,transparent 0,#000 var(--fade-s),#000 calc(100% - var(--fade-e)),transparent 100%);
}
.catchips>*{scroll-snap-align:start}
.catchips::-webkit-scrollbar{display:none}

/* Arrows are siblings of the rail, so the mask above never fades them out. */
.catnav__arrow{
  position:absolute;top:calc(50% - 2px);transform:translateY(-50%);z-index:3;
  width:32px;height:32px;padding:0;border-radius:50%;cursor:pointer;
  border:1px solid rgba(255,255,255,.22);background:rgba(13,32,68,.94);color:#fff;
  display:grid;place-items:center;
  transition:background .15s,border-color .15s;
}
.catnav__arrow svg{width:14px;height:14px}
.catnav__arrow:hover{background:var(--glow);color:var(--on-gold);border-color:transparent}
.catnav__arrow:focus-visible{outline:2px solid var(--glow);outline-offset:2px}
.catnav__arrow--prev{left:-13px}
.catnav__arrow--next{right:-13px}
.catnav__arrow[hidden]{display:none}
/* Touch devices swipe the rail; arrows would only be in the way. */
@media(hover:none),(pointer:coarse),(max-width:860px){
  .catnav__arrow{display:none!important}
}
.chip2{
  display:inline-flex;align-items:center;gap:7px;white-space:nowrap;
  padding:7px 14px;border-radius:20px;font-size:.85rem;font-weight:650;
  background:rgba(255,255,255,.1);color:#D6E1F0;border:1px solid rgba(255,255,255,.16);
}
.chip2:hover{background:rgba(255,255,255,.2);color:#fff}
.chip2 span{font-size:.74rem;opacity:.7}
.chip2.active{background:var(--glow);color:var(--on-gold);border-color:transparent;box-shadow:0 4px 14px rgba(201,162,39,.35)}
.chip2.active span{opacity:.85}

/* ------------------------------------------------------- catalogue results */
.resulthead{
  display:flex;justify-content:space-between;align-items:flex-end;
  gap:16px;flex-wrap:wrap;margin-bottom:18px;
}
.resulthead h1{font-size:1.5rem;margin:0 0 3px}
.resulthead p{margin:0;font-size:.89rem}

.activefilters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}
.fchip{
  font-size:.8rem;background:#fff;border:1px solid var(--line);
  border-radius:18px;padding:6px 13px;color:var(--muted);
}
.fchip b{color:var(--ink)}
.fchip--clear{color:var(--bad);font-weight:700;border-color:#F3C9C9;background:var(--bad-bg)}
.fchip--clear:hover{background:var(--bad);color:#fff}

.pagination .gap{border:0;background:none;padding:9px 4px;color:var(--muted)}

.customstrip{
  margin-top:40px;background:var(--navy);border-radius:var(--radius);
  padding:22px 26px;display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;
}
.customstrip b{color:#fff;display:block;font-size:1.02rem}
.customstrip span{color:#A9BCD6;font-size:.87rem}

@media(max-width:860px){
  .findbar{--ctl-h:44px;gap:8px}
  .findbar__search{flex:1 1 100%}
  .findbar select{flex:1 1 calc(50% - 4px);min-width:0}
  .findbar__end{flex:1 1 100%;gap:8px}
  .findbar__price{flex:1 1 auto;min-width:0}
  .findbar__end .btn{flex:0 0 auto;padding:0 18px}
  }

/* ------------------------------------------------------------ buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border:0;border-radius:10px;padding:12px 22px;font:inherit;font-size:.93rem;font-weight:700;
  cursor:pointer;transition:transform .12s ease,box-shadow .12s ease,background .15s ease;
  text-decoration:none;line-height:1.2;
}
.btn:active{transform:translateY(1px)}
.btn--primary{background:var(--glow);color:var(--on-gold);box-shadow:0 8px 20px rgba(201,162,39,.32)}
/* Hover deepens the gold rather than only growing the shadow, so the change
   is obvious on a bright screen. */
.btn--primary:hover{
  background:linear-gradient(135deg,#D4AF3E 0%,#A97C12 100%);
  color:var(--on-gold);box-shadow:0 12px 26px rgba(201,162,39,.45);
}
.btn--navy{background:var(--navy);color:#fff}
.btn--navy:hover{background:var(--navy-3);color:#fff}
.btn--ghost{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.42)}
.btn--ghost:hover{background:rgba(255,255,255,.12);color:#fff}
.btn--outline{background:#fff;color:var(--navy);border:1.5px solid var(--line)}
.btn--outline:hover{border-color:var(--gold);color:var(--gold-dark)}
.btn--danger{background:var(--bad);color:#fff}
.btn--danger:hover{background:#b62525;color:#fff}
.btn--sm{padding:8px 14px;font-size:.84rem;border-radius:8px}
.btn--block{width:100%}
.btn[disabled]{opacity:.55;cursor:not-allowed}

/* -------------------------------------------------------------- cards */
.section{padding:52px 0}
.section--tight{padding:34px 0}
.section__head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:26px;flex-wrap:wrap}
.section__head h2{margin:0}
.section__head p{margin:4px 0 0;color:var(--muted);font-size:.92rem}
.eyebrow{color:var(--gold-dark);font-weight:750;font-size:.76rem;letter-spacing:.12em;text-transform:uppercase;margin-bottom:6px}

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

.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
.card__body{padding:20px}

/* ------------------------------------------------------- product card */
.pcard{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;display:flex;flex-direction:column;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}
.pcard:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);border-color:#D4DDEB}
.pcard__media{position:relative;aspect-ratio:4/3;background:#EEF2F8;overflow:hidden}
.pcard__media img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.pcard:hover .pcard__media img{transform:scale(1.05)}
.pcard__tags{position:absolute;top:10px;left:10px;display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.tag{
  font-size:.68rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase;
  padding:4px 9px;border-radius:6px;color:#fff;background:var(--navy);
}
.tag--sale{background:var(--bad)}
.tag--min{background:var(--gold);color:var(--on-gold)}
.tag--hot{background:var(--glow);color:var(--on-gold)}
.tag--out{background:#5B6A80}
.pcard__body{padding:15px 16px 17px;display:flex;flex-direction:column;flex:1}
.pcard__cat{font-size:.72rem;color:var(--gold-dark);font-weight:700;text-transform:uppercase;letter-spacing:.07em}
.pcard__title{font-size:.98rem;font-weight:700;margin:5px 0 8px;color:var(--ink);line-height:1.35}
.pcard__title a{color:inherit}
.pcard__title a:hover{color:var(--gold-dark)}
.pcard__meta{font-size:.78rem;color:var(--muted);margin-bottom:10px}
.pcard__foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:10px}
.price{font-size:1.18rem;font-weight:800;color:var(--navy);letter-spacing:-.02em}
.price s{color:var(--muted);font-weight:500;font-size:.82rem;margin-left:6px}

/* ------------------------------------------------------------- alerts */
.alert{padding:13px 16px;border-radius:var(--radius-sm);margin-bottom:14px;font-size:.9rem;border-left:4px solid;display:flex;gap:10px;align-items:flex-start}
.alert--success{background:var(--ok-bg);color:#0B6B41;border-color:var(--ok)}
.alert--error{background:var(--bad-bg);color:#9C1F1F;border-color:var(--bad)}
.alert--info{background:var(--info-bg);color:#17458F;border-color:var(--info)}
.alert--warn{background:var(--warn-bg);color:#8A5A00;border-color:var(--warn)}

.badge{display:inline-block;padding:3px 10px;border-radius:20px;font-size:.74rem;font-weight:700}
.badge--ok{background:var(--ok-bg);color:var(--ok)}
.badge--bad{background:var(--bad-bg);color:var(--bad)}
.badge--warn{background:var(--warn-bg);color:var(--warn)}
.badge--info{background:var(--info-bg);color:var(--info)}
.badge--muted{background:#EEF1F6;color:var(--muted)}

/* -------------------------------------------------------------- forms */
.field{margin-bottom:15px}
.field label{display:block;font-size:.85rem;font-weight:650;margin-bottom:6px;color:var(--ink-2)}
.field label .req{color:var(--bad)}
.field .hint{font-size:.78rem;color:var(--muted);margin-top:5px}
.checkline{display:flex;gap:9px;align-items:center;font-size:.9rem;margin-bottom:10px;cursor:pointer}
.checkline input{width:17px;height:17px;accent-color:var(--gold);margin:0}
.form-error{color:var(--bad);font-size:.79rem;margin-top:5px;font-weight:600}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}

/* radio cards (delivery zone) */
.radiocards{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.radiocard{
  border:1.5px solid var(--line);border-radius:var(--radius-sm);padding:14px;cursor:pointer;
  display:flex;gap:11px;align-items:flex-start;background:#fff;transition:border-color .15s,background .15s;
}
.radiocard:hover{border-color:#C9D4E5}
.radiocard input{margin:3px 0 0;accent-color:var(--gold);width:17px;height:17px;flex-shrink:0}
.radiocard b{display:block;font-size:.92rem}
.radiocard span{font-size:.79rem;color:var(--muted)}
.radiocard.sel{border-color:var(--gold);background:#FCF8EA}


/* ---------------------------------------------------- show/hide password */
.pw{position:relative;display:block}
.pw input{padding-right:46px!important}
.pw__eye{
  position:absolute;right:4px;top:50%;transform:translateY(-50%);
  width:38px;height:38px;display:grid;place-items:center;
  border:0;background:none;cursor:pointer;color:var(--muted);border-radius:8px;padding:0;
}
.pw__eye:hover{color:var(--gold-dark);background:#F1F5FA}
.pw__eye:focus-visible{outline:2px solid var(--gold);outline-offset:-2px}
.pw__eye[aria-pressed="true"]{color:var(--gold-dark)}

/* -------------------------------------------------------------- tables */
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
table.tbl{width:100%;border-collapse:collapse;font-size:.9rem;background:#fff}
table.tbl th{
  text-align:left;padding:12px 14px;background:#F3F6FB;color:var(--ink-2);
  font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;font-weight:750;
  border-bottom:1px solid var(--line);white-space:nowrap;
}
table.tbl td{padding:13px 14px;border-bottom:1px solid var(--line);vertical-align:middle}
table.tbl tbody tr:hover{background:#FAFBFE}
table.tbl tfoot td{font-weight:700;background:#F9FBFE}

/* ---------------------------------------------------------- breadcrumb */
.crumbs{font-size:.83rem;color:var(--muted);padding:16px 0}
.crumbs a{color:var(--muted)}
.crumbs a:hover{color:var(--gold-dark)}
.crumbs span{margin:0 7px;opacity:.6}

/* ------------------------------------------------------- product page */
.pdetail{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}
.pdetail__img{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff}
.pdetail__img img{width:100%;aspect-ratio:1/1;object-fit:cover}
.pdetail h1{font-size:1.75rem;margin-bottom:10px}
.pdetail .price{font-size:2rem}
.pricebox{background:#FCF8EA;border:1px solid #FFE0C2;border-radius:var(--radius);padding:18px;margin:18px 0}
.speclist{list-style:none;padding:0;margin:18px 0}
.speclist li{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px dashed var(--line);font-size:.9rem}
.speclist li:last-child{border-bottom:0}
.speclist b{color:var(--ink)}
.qtybox{display:flex;align-items:center;border:1.5px solid var(--line);border-radius:var(--radius-sm);overflow:hidden;width:fit-content;background:#fff}
.qtybox button{border:0;background:#F3F6FB;width:40px;height:44px;font-size:1.2rem;cursor:pointer;color:var(--navy);font-weight:700}
.qtybox button:hover{background:var(--gold);color:var(--on-gold)}
.qtybox input{width:64px;height:44px;border:0;text-align:center;font:inherit;font-weight:700;font-size:1rem;padding:0}
.qtybox input:focus{box-shadow:none}
.buyrow{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:20px 0}
.buyrow[hidden]{display:none}
.tabs{display:flex;gap:4px;border-bottom:2px solid var(--line);margin:34px 0 18px}
.tabs button{
  border:0;background:none;padding:12px 18px;font:inherit;font-weight:700;font-size:.92rem;
  color:var(--muted);cursor:pointer;border-bottom:3px solid transparent;margin-bottom:-2px;
}
.tabs button.active{color:var(--navy);border-bottom-color:var(--gold)}
.tabpane{display:none}
.tabpane.active{display:block}

/* ------------------------------------------------------------ layouts */
.two-col{display:grid;grid-template-columns:1fr 360px;gap:26px;align-items:start}
.shop-layout{display:grid;grid-template-columns:250px 1fr;gap:26px;align-items:start}
.sticky{position:sticky;top:96px}

.summary{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}
.summary__body{container-type:inline-size}
.summary__head{background:var(--navy);color:#fff;padding:15px 20px;font-weight:700;font-size:1rem}
.summary__body{padding:20px}
.sumrow{display:flex;justify-content:space-between;gap:12px;padding:9px 0;font-size:.92rem;color:var(--ink-2)}
.sumrow b{color:var(--ink)}
.sumrow--total{border-top:2px solid var(--line);margin-top:8px;padding-top:15px;font-size:1.18rem;font-weight:800;color:var(--navy)}
.sumrow--total b{color:var(--gold-dark)}

.cartline{display:flex;gap:14px;align-items:center;padding:15px 0;border-bottom:1px solid var(--line)}
.cartline:last-child{border-bottom:0}
.cartline img{width:76px;height:76px;object-fit:cover;border-radius:var(--radius-sm);border:1px solid var(--line);flex-shrink:0}
.cartline__info{flex:1;min-width:0}
.cartline__info b{display:block;font-size:.94rem;margin-bottom:3px}
.cartline__end{text-align:right;min-width:110px;flex:0 0 auto}
.cartline__end .price{font-size:1.05rem}
.cartline__rm{background:none;color:var(--bad);padding:4px 0}
.cartline__rm:hover{color:#A81F1F}

.filterbox{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow)}
.filterbox h4{font-size:.78rem;text-transform:uppercase;letter-spacing:.09em;color:var(--muted);margin-bottom:12px}
.catlist{list-style:none;padding:0;margin:0}
.catlist a{display:flex;justify-content:space-between;padding:9px 11px;border-radius:8px;font-size:.89rem;color:var(--ink-2)}
.catlist a:hover{background:#F3F6FB;color:var(--gold-dark)}
.catlist a.active{background:var(--navy);color:#fff;font-weight:650}
.catlist a.active span{color:#A9BCD6}
.catlist span{color:var(--muted);font-size:.8rem}

.pagination{display:flex;gap:6px;justify-content:center;margin-top:34px;flex-wrap:wrap}
.pagination a,.pagination span{padding:9px 15px;border-radius:8px;border:1px solid var(--line);background:#fff;font-size:.88rem;font-weight:650}
.pagination .cur{background:var(--navy);color:#fff;border-color:var(--navy)}

/* --------------------------------------------------------- thank you */
.tywrap{max-width:860px;margin:0 auto}
.tyhero{
  background:var(--glow);color:var(--on-gold);border-radius:20px;padding:40px 32px;text-align:center;
  box-shadow:0 20px 50px rgba(201,162,39,.3);margin-bottom:-40px;position:relative;z-index:2;
}
.tyhero .tick{
  width:72px;height:72px;border-radius:50%;background:rgba(255,255,255,.42);
  display:grid;place-items:center;margin:0 auto 16px;font-size:2.1rem;
  border:3px solid rgba(16,37,74,.22);
}
.tyhero h1{color:var(--on-gold);font-size:1.9rem;margin-bottom:8px}
.tyhero p{color:rgba(16,37,74,.85);margin:0}
.tyhero .ordno{
  display:inline-block;background:rgba(16,37,74,.16);border-radius:10px;
  padding:9px 20px;margin-top:16px;font-weight:800;font-size:1.15rem;letter-spacing:.04em;
}
.tycard{background:#fff;border:1px solid var(--line);border-radius:20px;padding:56px 32px 32px;box-shadow:var(--shadow-lg)}
.infogrid{display:grid;grid-template-columns:1fr 1fr;gap:26px;margin-bottom:26px}
.infobox{background:#F7F9FD;border:1px solid var(--line);border-radius:var(--radius);padding:18px}
.infobox h4{font-size:.74rem;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin-bottom:12px}
.inforow{display:flex;justify-content:space-between;gap:12px;padding:6px 0;font-size:.89rem}
.inforow span{color:var(--muted)}
.inforow b{text-align:right;color:var(--ink)}
.actionbar{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin-top:28px;padding-top:24px;border-top:1px dashed var(--line)}

/* ------------------------------------------------------------- footer */
.site-footer{background:var(--navy);color:#A9B8CE;margin-top:60px;font-size:.9rem}
.site-footer .grid{padding:52px 0 34px;grid-template-columns:1.6fr 1fr 1fr 1.3fr;gap:34px}
.site-footer h4{color:#fff;font-size:.95rem;margin-bottom:14px}
.site-footer a{color:#A9B8CE;display:block;padding:5px 0}
.site-footer a:hover{color:var(--gold-light)}
.site-footer .brand__name{color:#fff}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:18px 0;font-size:.82rem;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}
.footer-bottom a{display:inline;padding:0;color:#C7D4E6;font-weight:650}
.footer-bottom a:hover{color:var(--gold-light);text-decoration:underline}
.footer-by{white-space:nowrap}

/* -------------------------------------------- model / colour selectors */
.optgroup{margin:18px 0}
.optgroup__head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:9px}
.optgroup__label{font-size:.86rem;font-weight:750;color:var(--ink)}
.optgroup__chosen{font-size:.83rem;color:var(--muted)}
.optgroup__chosen.is-set{color:var(--gold-dark);font-weight:650}

.opttabs{display:flex;gap:8px;flex-wrap:wrap}
/* Every option carries a mini photo — a real one, or the AGB tile until the
   admin uploads it — so the customer always picks from pictures, not text. */
.opttab{
  display:flex;align-items:center;gap:10px;
  border:1.5px solid var(--line);background:#fff;border-radius:var(--radius-sm);
  padding:7px 14px 7px 7px;cursor:pointer;font:inherit;text-align:left;
  transition:border-color .15s,box-shadow .15s,background .15s;
}
.opttab:hover{border-color:#C4D0E2}
.opttab__img{
  width:46px;height:46px;border-radius:8px;object-fit:cover;flex-shrink:0;
  background:#0B1B33;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08);
}
.opttab__text{display:flex;flex-direction:column;gap:1px;min-width:0}
.opttab__name{font-size:.88rem;font-weight:650;color:var(--ink);white-space:nowrap}
.opttab__price{font-size:.86rem;font-weight:800;color:var(--navy)}
.opttab__out{font-size:.66rem;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}
.opttab[aria-selected="true"]{
  border-color:var(--gold);background:#FCF8EA;box-shadow:0 0 0 3px rgba(201,162,39,.14);
}
.opttab[aria-selected="true"] .opttab__price{color:var(--gold-dark)}

.opttabs--colors{gap:9px}
.colortab{
  display:flex;align-items:center;gap:10px;border:1.5px solid var(--line);
  background:#fff;border-radius:var(--radius-sm);padding:7px 14px 7px 7px;
  cursor:pointer;font:inherit;transition:border-color .15s,box-shadow .15s,background .15s;
}
.colortab:hover{border-color:#C4D0E2}
.colortab__img{
  width:46px;height:46px;border-radius:8px;object-fit:cover;flex-shrink:0;
  background:#0B1B33;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08);
}
.colortab__body{display:flex;align-items:center;gap:7px;min-width:0}
.colortab__name{font-size:.86rem;font-weight:650;color:var(--ink);white-space:nowrap}
.colortab__dot{
  width:15px;height:15px;border-radius:50%;flex-shrink:0;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.15);
}
.colortab[aria-selected="true"]{
  border-color:var(--gold);background:#FCF8EA;box-shadow:0 0 0 3px rgba(201,162,39,.14);
}

/* the chosen combination, echoed in the product heading */
.h1-variant{color:var(--gold-dark);font-weight:700}

/* what the chosen model / colour actually is */
.vnote{
  border:1px solid var(--line);border-left:4px solid var(--gold);
  background:#FCF8EA;border-radius:var(--radius-sm);
  padding:11px 14px;margin:2px 0 18px;font-size:.89rem;line-height:1.5;color:var(--ink-2);
}
.vnote b{color:var(--ink);display:block;font-size:.8rem;text-transform:uppercase;
  letter-spacing:.06em;margin-bottom:3px;color:var(--gold-dark)}
.vnote p{margin:0 0 6px}
.vnote p:last-child{margin:0}
.h1-variant[hidden]{display:none}

.price__from{font-size:.72rem;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}

/* colour swatches on the catalogue tile */
.pcard__swatches{
  position:absolute;left:10px;bottom:10px;display:flex;gap:4px;align-items:center;
  background:rgba(255,255,255,.92);border-radius:20px;padding:4px 7px;
  box-shadow:0 2px 8px rgba(13,32,68,.15);
}
.swatch{width:13px;height:13px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}
.swatch--sm{width:11px;height:11px;display:inline-block;vertical-align:-1px;margin-right:5px}
.swatch--more{
  width:auto;height:auto;border-radius:0;box-shadow:none;
  font-size:.66rem;font-weight:750;color:var(--muted);padding-left:1px;
}
.cartline__variant{
  font-size:.82rem;font-weight:650;color:var(--gold-dark);margin:1px 0 2px;display:flex;align-items:center;
}

/* ------------------------------------------------- floating contact rail */
.fab{
  position:fixed;right:18px;bottom:18px;z-index:60;
  display:flex;flex-direction:column;align-items:flex-end;gap:10px;
}

.fab__btn{
  width:50px;height:50px;border-radius:50%;display:grid;place-items:center;
  color:#fff;box-shadow:0 6px 18px rgba(13,32,68,.22);position:relative;
  transition:transform .16s ease,box-shadow .16s ease;
}
.fab__btn:hover{transform:translateY(-2px) scale(1.05);color:#fff;box-shadow:0 10px 24px rgba(13,32,68,.3)}
.fab__btn--wa{background:linear-gradient(145deg,#3ee07a,#1faa52)}
.fab__btn--msg{background:linear-gradient(145deg,#00b2ff,#006aff)}

/* label that slides out on hover */
.fab__btn::after{
  content:attr(data-fab-tip);
  position:absolute;right:calc(100% + 10px);top:50%;transform:translateY(-50%) scale(.9);
  background:var(--navy);color:#fff;font-size:.78rem;font-weight:600;white-space:nowrap;
  padding:7px 12px;border-radius:8px;opacity:0;pointer-events:none;transition:opacity .16s,transform .16s;
}
.fab__btn:hover::after{opacity:1;transform:translateY(-50%) scale(1)}

/* A circle until it is asked for. The number is always in the DOM and in the
   button's aria-label, so collapsing it costs nothing to a screen reader. */
.fab__call{
  display:flex;align-items:center;gap:0;
  background:var(--glow);color:var(--on-gold);border-radius:32px;padding:6px;
  box-shadow:0 8px 22px rgba(201,162,39,.4);
  transition:transform .16s ease,box-shadow .16s ease,gap .2s ease,padding .2s ease;
}
.fab__call:hover{color:var(--on-gold);transform:translateY(-2px);box-shadow:0 12px 28px rgba(201,162,39,.5)}

/* Open on hover, on keyboard focus, and on the first tap (is-open, set by JS
   on touch devices where there is no hover to rely on). */
.fab__call:hover,
.fab__call:focus-visible,
.fab__call.is-open{gap:11px;padding:6px 18px 6px 6px}
.fab__call-ico{
  width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.45);
  display:grid;place-items:center;flex-shrink:0;
}
.fab__call-text{
  display:flex;flex-direction:column;line-height:1.15;
  max-width:0;opacity:0;overflow:hidden;white-space:nowrap;
  transition:max-width .22s ease,opacity .18s ease;
}
.fab__call:hover .fab__call-text,
.fab__call:focus-visible .fab__call-text,
.fab__call.is-open .fab__call-text{max-width:200px;opacity:1}
.fab__call-label{font-size:.68rem;font-weight:650;opacity:.9;text-transform:uppercase;letter-spacing:.06em}
.fab__call-num{font-size:.98rem;font-weight:800;letter-spacing:.02em;white-space:nowrap}

/* periodic attention shake — only while the visitor is not interacting */
@keyframes fabShake{
  0%,100%{transform:rotate(0)}
  8%,24%{transform:rotate(-11deg)}
  16%,32%{transform:rotate(11deg)}
  40%{transform:rotate(0)}
}
@keyframes fabRing{
  0%{box-shadow:0 8px 22px rgba(201,162,39,.4),0 0 0 0 rgba(201,162,39,.5)}
  70%{box-shadow:0 8px 22px rgba(201,162,39,.4),0 0 0 18px rgba(201,162,39,0)}
  100%{box-shadow:0 8px 22px rgba(201,162,39,.4),0 0 0 0 rgba(201,162,39,0)}
}
.fab__call.is-nudging{animation:fabRing 1.4s ease-out}
.fab__call.is-nudging .fab__call-ico{animation:fabShake 1.1s ease-in-out}

.fab__nudge{
  order:-1;max-width:238px;background:#fff;color:var(--ink);
  border:1px solid var(--line);border-left:4px solid var(--gold);
  border-radius:12px;padding:10px 14px;font-size:.83rem;font-weight:600;line-height:1.35;
  box-shadow:var(--shadow-lg);opacity:0;transform:translateY(6px);
  transition:opacity .3s ease,transform .3s ease;
}
.fab__nudge.is-on{opacity:1;transform:translateY(0)}
.fab__nudge[hidden]{display:none}

@media(prefers-reduced-motion:reduce){
  .fab__call.is-nudging,.fab__call.is-nudging .fab__call-ico{animation:none}
  .fab__nudge{transition:none}
}

@media(max-width:560px){
  .fab{right:12px;bottom:12px;gap:8px}
  .fab__btn{width:46px;height:46px}
  .fab__call{padding:6px}
  .fab__call:hover,.fab__call:focus-visible,.fab__call.is-open{padding:6px 16px 6px 6px}
  .fab__call-ico{width:34px;height:34px}
  .fab__call-num{font-size:.9rem}
  .fab__nudge{max-width:210px;font-size:.79rem}
  .fab__btn::after{display:none}
}

.empty{text-align:center;padding:60px 20px;color:var(--muted)}
.empty .ico{font-size:3rem;margin-bottom:14px;opacity:.5}

.notice{background:#FCF8EA;border:1px dashed #FFCC9B;border-radius:var(--radius-sm);padding:13px 15px;font-size:.87rem;color:#8A4A00}

/* --------------------------------------------------------- responsive */
@media(max-width:1000px){
  .grid--4{grid-template-columns:repeat(2,1fr)}
  .grid--3{grid-template-columns:repeat(2,1fr)}
  .two-col,.shop-layout,.pdetail{grid-template-columns:1fr}
  .sticky{position:static}
  .site-footer .grid{grid-template-columns:1fr 1fr}
}
@media(max-width:720px){
  body{font-size:15px}
  h1{font-size:1.6rem}
  .site-header .wrap{flex-wrap:wrap;min-height:auto;padding-top:12px;padding-bottom:12px;gap:12px}
  .searchbar{order:3;flex-basis:100%;max-width:none}
  .infogrid,.form-row,.radiocards,.grid--2{grid-template-columns:1fr}
  .tyhero{padding:30px 20px}
  .tycard{padding:52px 18px 24px}
}
@media(max-width:480px){
  .grid--4,.grid--3{grid-template-columns:1fr 1fr;gap:12px}
  .pcard__body{padding:12px}
  .price{font-size:1.05rem}
  .btn{padding:11px 16px}
}

/* ------------------------------------------------------------- print */
@media print{
  .site-header,.mainnav,.site-footer,.actionbar,.fab,.suggest__panel,.no-print{display:none!important}
  body{background:#fff;font-size:12px}
  .tycard{box-shadow:none;border:0;padding:0}
  .tyhero{background:#0B1B33!important;-webkit-print-color-adjust:exact;print-color-adjust:exact;margin-bottom:20px;border-radius:0}
  .wrap{max-width:none;padding:0}
  table.tbl th{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

/* ------------------------------------------------ admin tile-image picker */
.tilepick{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:10px}
.tilepick__opt{
  position:relative;display:block;border:2px solid var(--line);border-radius:10px;
  overflow:hidden;cursor:pointer;background:#fff;transition:border-color .15s,box-shadow .15s;
}
.tilepick__opt:hover{border-color:#C4D0E2}
.tilepick__opt input{position:absolute;opacity:0;pointer-events:none}
.tilepick__opt img{width:100%;aspect-ratio:1/1;object-fit:cover;display:block}
.tilepick__opt span{
  display:block;font-size:.68rem;font-weight:650;color:var(--ink-2);
  padding:5px 6px;text-align:center;line-height:1.25;
}
.tilepick__opt.sel{border-color:var(--gold);box-shadow:0 0 0 3px rgba(201,162,39,.16)}
.tilepick__opt.sel span{color:var(--gold-dark)}

/* option grids stay usable on a phone */
@media(max-width:560px){
  .opttabs{gap:8px}
  .opttab,.colortab{padding:6px 12px 6px 6px;gap:8px}
  .opttab__img,.colortab__img{width:40px;height:40px}
  .h1-variant{display:block;font-size:.9rem;margin-top:2px}
}

/* =====================================================================
   Responsive pass — one place, largest breakpoint first
   ===================================================================== */

/* Fluid type so headings shrink smoothly instead of stepping at a breakpoint. */
h1{font-size:clamp(1.45rem,1.1rem + 1.6vw,2rem)}
h2{font-size:clamp(1.25rem,1.05rem + 0.9vw,1.5rem)}
.resulthead h1{font-size:clamp(1.2rem,1rem + 1vw,1.5rem)}

/* Nothing may push the page sideways. */
html,body{max-width:100%;overflow-x:hidden}
img,svg,video,table{max-width:100%}
.table-wrap{max-width:100%}
/* Long unbroken strings (order numbers, URLs, Bangla) must wrap, not overflow. */
.cartline__info b,.pcard__title,.suggest__name,.offercard b,h1,h2,h3{overflow-wrap:anywhere}

/* Respect notches / rounded corners on modern phones. */
@supports(padding:max(0px)){
  .wrap{
    padding-left:max(18px,env(safe-area-inset-left));
    padding-right:max(18px,env(safe-area-inset-right));
  }
  .fab{
    right:max(18px,env(safe-area-inset-right));
    bottom:max(18px,env(safe-area-inset-bottom));
  }
}

/* ---- large tablets ---- */
@media(max-width:1100px){
  .grid--4{grid-template-columns:repeat(3,1fr)}
}

/* ---- tablets ---- */
@media(max-width:900px){
  .grid--4,.grid--3{grid-template-columns:repeat(2,1fr)}
  .pdetail{gap:26px}
  .summary.sticky{position:static}
}

/* ---- phones ---- */
@media(max-width:640px){
  .site-header .wrap{gap:10px;padding-top:10px;padding-bottom:10px}
  .brand__sub{display:none}
  .hlink__txt{display:none}          /* icons only, keeps the header on one line */
  .hlink{padding:9px}
  .cart-btn{padding:9px 12px}

  .optgroup__head{flex-direction:column;align-items:flex-start;gap:2px}
  .buyrow{gap:8px}
  .buyrow .btn{flex:1 1 auto}
  .qtybox{flex:0 0 auto}

  .crumbs{font-size:.78rem}
  .pagination a,.pagination span{padding:8px 12px;font-size:.83rem}
  .promobox__form input{font-size:16px}   /* 16px stops iOS zooming on focus */
}

/* iOS zooms any input under 16px on focus — pin the ones a customer types into. */
@media(max-width:820px){
  input[type=text],input[type=email],input[type=tel],input[type=password],
  input[type=number],input[type=search],input[type=url],select,textarea{font-size:16px}
  .findbar .findbar__search input[type=search],
  .findbar .findbar__price input[type=number],
  .findbar select{font-size:16px}
}

/* ---- small phones ---- */
@media(max-width:430px){
  .grid--4,.grid--3,.grid--2{grid-template-columns:repeat(2,1fr);gap:10px}
  .pcard__body{padding:10px}
  .pcard__title{font-size:.9rem}
  .price{font-size:1rem}
  .btn{padding:10px 14px;font-size:.88rem}
  .btn--sm{padding:7px 11px}
  .wrap{padding-left:14px;padding-right:14px}
  .catchips{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}
  .fab__call-label{display:none}
  .fab__call{padding:6px}
  .fab__call:hover,.fab__call:focus-visible,.fab__call.is-open{padding:6px 15px 6px 6px}
}

/* ---- very small / older phones ---- */
@media(max-width:360px){
  .grid--4,.grid--3,.grid--2{grid-template-columns:1fr}
  .opttab--photo{width:100%}
}

/* ---- landscape phones: keep the sticky header from eating the screen ---- */
@media(max-height:520px) and (orientation:landscape){
  .site-header{position:static}
}

/* ---- large screens: let the catalogue breathe ---- */
@media(min-width:1500px){
  .wrap{max-width:1340px}
  .grid--4{grid-template-columns:repeat(5,1fr)}
}

/* ------------------------------------------- third-party sign-in ("or" rule) */
.orline{
  display:flex;align-items:center;gap:12px;margin:20px 0 14px;
  color:var(--muted);font-size:.8rem;text-transform:uppercase;letter-spacing:.1em;
}
.orline::before,.orline::after{content:"";flex:1;height:1px;background:var(--line)}

.gbtn{
  display:flex;align-items:center;justify-content:center;gap:10px;width:100%;
  padding:11px 16px;border:1px solid var(--line);border-radius:var(--radius-sm);
  background:#fff;color:var(--ink);font-weight:650;font-size:.94rem;
  transition:background .15s,border-color .15s,box-shadow .15s;
}
.gbtn:hover{background:#F7F9FD;border-color:#C9D3E3;color:var(--ink);box-shadow:var(--shadow)}
.gbtn:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.gbtn svg{flex-shrink:0}

/* -------------------------------------------- bilingual "popular searches" */
.seoblock{border-top:1px solid var(--line);background:#fff;padding:34px 0 40px;margin-top:50px}
.seoblock h2{font-size:1.1rem;margin:0 0 16px;display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.seoblock__bn{font-weight:600;font-size:.92rem;color:var(--muted)}
.seoblock__links{list-style:none;margin:0 0 18px;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.seoblock__links a{
  display:flex;flex-direction:column;gap:1px;padding:9px 15px;
  border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--bg);
  font-size:.88rem;color:var(--ink);line-height:1.3;
}
.seoblock__links a:hover{border-color:var(--gold);background:#FCF8EA;color:var(--ink)}
.seoblock__links b{font-weight:650}
.seoblock__links span{font-size:.82rem;color:var(--muted)}
.seoblock__note{margin:0;font-size:.88rem;color:var(--muted);max-width:62ch;line-height:1.7}

/* Real Facebook mark instead of the 📘 emoji, aligned with the text beside it. */
.ico-fb{vertical-align:-4px;margin-right:2px;flex:0 0 auto}
/* Never recolour it: the "f" is a separate white shape and would vanish. */
.fblist{display:flex;flex-direction:column;gap:8px;margin:0 0 16px}
.fblist a{
  display:inline-flex;align-items:center;gap:9px;
  padding:9px 13px;border:1px solid var(--line);border-radius:var(--radius-sm);
  background:#fff;font-weight:650;font-size:.9rem;color:var(--ink);
}
.fblist a:hover{border-color:#1877F2;background:#F5F8FF;color:var(--ink)}

/* ============================ catalogue sidebar ========================== */
.shoplayout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:26px;align-items:start}
.shopmain{min-width:0}          /* lets the product grid shrink instead of overflowing */

.shopside{position:sticky;top:84px;display:flex;flex-direction:column;gap:14px}

.sidebox{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  padding:8px;box-shadow:var(--shadow);
}
.sidebox__h{
  font-size:.72rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;
  color:var(--muted);padding:8px 10px 6px;
}
.sidebox a{
  display:flex;align-items:center;gap:9px;justify-content:space-between;
  padding:9px 10px;border-radius:var(--radius-sm);
  font-size:.9rem;font-weight:600;color:var(--ink-2);line-height:1.25;
}
.sidebox a>span{flex:0 0 auto;font-size:.95rem}
.sidebox a>b{
  font-size:.74rem;font-weight:700;color:var(--muted);
  background:var(--bg);border-radius:20px;padding:1px 8px;
}
.sidebox a:hover{background:#F3F6FB;color:var(--ink)}
.sidebox a.on{background:var(--navy);color:#fff}
.sidebox a.on>b{background:rgba(255,255,255,.18);color:#fff}

/* the categories box collapses on small screens */
.sidebox--cats>summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:8px}
.sidebox--cats>summary::-webkit-details-marker{display:none}
.sidebox--cats>summary::after{
  content:"▾";margin-left:auto;font-size:.9rem;transition:transform .15s;color:var(--muted);
}
.sidebox--cats[open]>summary::after{transform:rotate(180deg)}

@media(max-width:900px){
  .shoplayout{grid-template-columns:1fr;gap:16px}
  .shopside{position:static}
  /* Menu links read better as a wrapping row than a tall stack on a phone. */
  .sidebox[aria-label="Site"]{display:flex;flex-wrap:wrap;gap:4px}
  .sidebox[aria-label="Site"] .sidebox__h{width:100%;padding-bottom:2px}
  .sidebox[aria-label="Site"] a{flex:0 0 auto}
  .sidebox[aria-label="Site"] a>b{display:none}
}

/* ========================= product gallery, zoom, tabs =================== */
.pstage{
  position:relative;display:block;width:100%;padding:0;cursor:zoom-in;
  overflow:hidden;border-radius:var(--radius);
  border:1px solid var(--line);background:#fff;
}
.pstage img{width:100%;display:block;transition:transform .3s ease}
.pstage:hover img{transform:scale(1.03)}
.pstage__zoom{
  position:absolute;right:12px;bottom:12px;z-index:2;
  display:inline-flex;align-items:center;gap:6px;
  background:rgba(13,32,68,.86);color:#fff;font-size:.76rem;font-weight:650;
  padding:7px 12px;border-radius:20px;pointer-events:none;
}
.pstage:focus-visible{outline:2px solid var(--gold);outline-offset:2px}

.pthumbs{
  display:flex;gap:9px;margin-top:11px;overflow-x:auto;padding-bottom:4px;
  scrollbar-width:thin;
}
.pthumb{
  flex:0 0 auto;width:72px;height:72px;padding:0;cursor:pointer;
  border:2px solid var(--line);border-radius:10px;overflow:hidden;background:#fff;
  transition:border-color .15s,box-shadow .15s;
}
.pthumb img{width:100%;height:100%;object-fit:cover;display:block}
.pthumb:hover{border-color:var(--gold)}
.pthumb.on{border-color:var(--gold);box-shadow:0 0 0 3px rgba(201,162,39,.18)}
.pthumb:focus-visible{outline:2px solid var(--gold);outline-offset:2px}

/* ---- tabs under the buy panel ---- */
.ptabs{margin-top:26px}
.ptabs__bar{display:flex;gap:4px;border-bottom:2px solid var(--line);margin-bottom:16px;flex-wrap:wrap}
.ptabs__tab{
  background:none;border:0;border-bottom:3px solid transparent;margin-bottom:-2px;
  padding:10px 14px;cursor:pointer;font:inherit;font-weight:700;font-size:.95rem;
  color:var(--muted);display:flex;align-items:center;gap:7px;
}
.ptabs__tab:hover{color:var(--ink)}
.ptabs__tab.on{color:var(--navy);border-bottom-color:var(--gold)}
.ptabs__count{
  font-size:.72rem;font-weight:800;background:var(--gold);color:var(--on-gold);
  border-radius:20px;padding:1px 7px;
}
.ptabs__panel[hidden]{display:none}

.workgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin-top:12px}
.workcard{margin:0;border:1px solid var(--line);border-radius:var(--radius-sm);overflow:hidden;background:#fff}
.workcard img{width:100%;aspect-ratio:1;object-fit:cover;display:block}
.workcard figcaption{padding:8px 10px;font-size:.8rem;color:var(--muted);line-height:1.4}

/* ============================ full-screen picture viewer ================= */
.lightbox{
  position:fixed;inset:0;z-index:120;
  /* Nearly opaque plus a blur: at 95% the bright site header still read
     through and made the viewer look like a half-open overlay. */
  background:rgba(8,16,32,.985);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr auto;
  align-items:center;
}
.lightbox[hidden]{display:none}

.lightbox__bar{
  grid-column:1/-1;display:flex;align-items:center;gap:8px;
  padding:12px 14px;padding-top:max(12px,env(safe-area-inset-top));
}
.lightbox__count{color:#9FB2CC;font-size:.85rem;font-weight:650}
.lightbox__btn{
  min-width:40px;height:40px;padding:0 12px;cursor:pointer;
  border:1px solid rgba(255,255,255,.22);border-radius:10px;
  background:rgba(255,255,255,.08);color:#fff;font:inherit;font-weight:700;font-size:1rem;
}
.lightbox__btn:hover{background:rgba(255,255,255,.2)}
.lightbox__btn--close{background:rgba(255,255,255,.16)}
.lightbox__btn:focus-visible{outline:2px solid var(--gold);outline-offset:2px}

.lightbox__stage{
  grid-column:2;grid-row:2;overflow:hidden;padding:8px;
  width:100%;height:100%;display:grid;place-items:center;cursor:grab;
}
.lightbox__stage.is-panning{cursor:grabbing}
.lightbox__stage img{
  max-width:100%;max-height:100%;object-fit:contain;
  transition:transform .18s ease;transform-origin:center;user-select:none;
}
.lightbox__stage.is-panning img{transition:none}

.lightbox__nav{
  grid-row:2;width:48px;height:48px;margin:0 8px;cursor:pointer;
  border:1px solid rgba(255,255,255,.22);border-radius:50%;
  background:rgba(255,255,255,.1);color:#fff;font-size:1.6rem;line-height:1;
}
.lightbox__nav:hover{background:rgba(255,255,255,.24)}
.lightbox__nav--prev{grid-column:1}
.lightbox__nav--next{grid-column:3}
.lightbox__nav[hidden]{visibility:hidden;display:block}

.lightbox__hint{
  grid-column:1/-1;margin:0;text-align:center;color:#8296B4;font-size:.78rem;
  padding:10px 14px;padding-bottom:max(10px,env(safe-area-inset-bottom));
}
body.lb-open{overflow:hidden}

@media(max-width:600px){
  .lightbox__nav{width:40px;height:40px;margin:0 2px;font-size:1.3rem}
  .lightbox__hint{font-size:.72rem}
}

/* ---- Add to Cart / Buy Now on a product tile --------------------------
   Stacked one above the other: full-width targets read clearly at card size
   and stay comfortably tappable on a phone. */
.pcard__foot{flex-direction:column;align-items:stretch;gap:9px}
.pcard__acts{display:grid;grid-template-columns:1fr;gap:6px}
.pcard__acts form{margin:0;display:block}
.pcard__acts .btn{width:100%;white-space:nowrap;padding-left:10px;padding-right:10px}

/* Icons sit on the text baseline and never shrink when a label wraps. */
.btn__ico{flex:0 0 auto}

/* ---- cart on a narrow screen ------------------------------------------
   A row of image + details + quantity + price cannot fit across a phone:
   the details column was being crushed to one word per line and the price
   and Update button pushed off the side of the page. Below 640px the row
   becomes two: image and details on top, quantity and price beneath. */
@media(max-width:640px){
  .cartline{flex-wrap:wrap;gap:12px;row-gap:12px;align-items:flex-start}
  .cartline img{width:64px;height:64px}
  /* Fills the rest of the first row, so what follows wraps to the second. */
  .cartline__info{flex:1 1 calc(100% - 76px);min-width:0}
  .cartline__info b{font-size:.92rem}

  .cartline .qtybox{flex:0 0 auto;margin-left:76px}
  .cartline__end{
    flex:1 1 auto;min-width:0;
    display:flex;align-items:center;justify-content:flex-end;gap:14px;
  }
  .cartline__rm{padding:4px 0;white-space:nowrap}

  /* The two cart action buttons stack rather than run off the edge. */
  .cartacts{flex-wrap:wrap;gap:8px}
  .cartacts .btn{flex:1 1 auto;justify-content:center}
}

/* Delivery choices stay side by side only while both labels still fit. */
@media(max-width:420px){
  .radiocards{grid-template-columns:1fr}
}

/* The grand-total row of an order summary.
   The colour has to sit on the cells: `table.tbl tfoot td` sets its own
   background, and a cell always paints over its row — which left the label as
   white text on a near-white strip. */
.tbl tfoot tr.totalrow td{background:var(--navy);color:#fff}
.tbl tfoot tr.totalrow td b,
.tbl tfoot tr.totalrow td .amt{color:var(--gold-light)}

/* A struck-through pre-discount total, sitting beside the amount now payable. */
.wasprice{
  color:var(--muted);font-weight:500;font-size:.82em;margin-right:6px;text-decoration:line-through;
}
.totalrow .wasprice{color:rgba(255,255,255,.62)}

/* ---- wishlist and out-of-stock ---------------------------------------- */
.btn--wish{background:#fff;color:var(--bad);border:1.5px solid #F0C9C9}
.btn--wish:hover{background:#FDF3F3;border-color:var(--bad);color:var(--bad)}
.btn--wish.is-saved{background:var(--bad);border-color:var(--bad);color:#fff}
.btn--wish.is-saved:hover{background:#A81F1F;color:#fff}

/* Reads as a disabled control rather than something worth clicking. */
.btn.is-out{
  background:#F1F4F9;color:var(--muted);border-color:var(--line);
  cursor:not-allowed;pointer-events:none;
}

.outbox{
  background:var(--bad-bg);border:1px solid #F3C9C9;border-left:4px solid var(--bad);
  border-radius:var(--radius-sm);padding:13px 16px;margin:4px 0 16px;
}
.outbox b{display:block;color:var(--bad);font-size:1rem;margin-bottom:3px}
.outbox span{font-size:.88rem;color:var(--ink-2);line-height:1.5}
.wishform{margin-top:4px}

.hlink__n{
  background:var(--bad);color:#fff;border-radius:20px;padding:0 6px;
  font-size:.7rem;font-weight:800;margin-left:1px;
}
.hlink .btn__ico{color:var(--bad)}

/* wishlist page: a remove control tucked onto each saved card */
.wishcard{position:relative}
.wishcard__rm{position:absolute;top:8px;right:8px;z-index:3;margin:0}
.wishcard__rm button{
  width:28px;height:28px;border-radius:50%;cursor:pointer;padding:0;line-height:1;
  border:1px solid var(--line);background:rgba(255,255,255,.94);color:var(--bad);font-weight:700;
}
.wishcard__rm button:hover{background:var(--bad);color:#fff;border-color:var(--bad)}

.cartline__out{
  display:inline-block;background:var(--bad-bg);color:var(--bad);
  border-radius:6px;padding:2px 8px;font-size:.76rem;font-weight:750;margin:3px 0;
}

/* An out-of-stock tile reads as unavailable at a glance. */
.pcard.is-out .pcard__media img{opacity:.55;filter:saturate(.6)}

.sidebox__n{background:var(--bad);color:#fff;border-radius:20px;padding:0 6px;font-size:.7rem}

/* ---- orders list: ticking, bulk actions, richer rows -------------------- */
.bulkbar{
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;
  padding:10px 14px;border-bottom:1px solid var(--line);background:#FBFCFE;
}
.bulkbar__all{display:flex;align-items:center;gap:7px;font-weight:700;font-size:.85rem;cursor:pointer}
.bulkbar__count{font-size:.8rem;color:var(--muted)}
.bulkbar input[type=checkbox]{width:16px;height:16px;accent-color:var(--navy-2);cursor:pointer}
.bulkbar .btn[disabled]{opacity:.45;cursor:not-allowed}

.tickcell{text-align:center;vertical-align:middle}
.tickcell input[type=checkbox]{width:16px;height:16px;accent-color:var(--navy-2);cursor:pointer}
tr.is-ticked{background:#F2F7FF}

/* The address is the one field that can run long; hold it to a sensible
   column and let the order page show the rest. */
.custcell{min-width:190px;max-width:280px}
.custcell__addr{overflow-wrap:anywhere}
.custcell a{color:var(--navy-3);text-decoration:none}
.custcell a:hover{text-decoration:underline}

.itemcell{min-width:200px;max-width:320px}
.itemcell__line{margin-bottom:2px;overflow-wrap:anywhere}

.chips__label{
  font-size:.72rem;font-weight:800;letter-spacing:.5px;text-transform:uppercase;
  color:var(--muted);margin-right:4px;align-self:center;
}
.chip__n{
  background:rgba(13,32,68,.10);border-radius:20px;padding:0 6px;
  margin-left:5px;font-size:.72rem;
}
.chip.active .chip__n{background:rgba(255,255,255,.22)}

@media (max-width:900px){
  .bulkbar{gap:7px}
  .bulkbar .btn{flex:1 1 auto}
}

/* ---- adding products to an order that already exists -------------------- */
.addbox{
  margin-top:16px;padding:14px;border:1px dashed var(--line);
  border-radius:var(--radius-sm);background:#FBFCFE;
}
.addbox__head{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.addbox .tbl{margin:0}
.addbox tbody:empty + *{margin-top:0}
.newrow td{padding:6px 6px 6px 0;vertical-align:middle}
.newrow select,.newrow input{width:100%}

/* A line set to zero is on its way out; show that before the save happens. */
.is-dropped{opacity:.45}
.is-dropped input{text-decoration:line-through}


/* ------------------------------------------------------ custom size option */
.opttab--custom{border-style:dashed}
.opttab--custom[aria-selected="true"]{border-style:solid}
/* Matches .opttab__img exactly, so the Custom tile lines up with the real
   models instead of squeezing its own text into a narrow column. */
.opttab__custom-ico{
  width:46px;height:46px;flex-shrink:0;border-radius:8px;
  display:grid;place-items:center;font-size:1.35rem;
  background:#FFFBEF;border:1px dashed var(--gold);
}

.customsize{
  margin-top:14px;padding:15px 16px;border:1px dashed var(--gold);
  border-radius:var(--radius);background:#FFFBEF;
}
.customsize__head{display:flex;flex-direction:column;gap:2px;margin-bottom:12px}
.customsize__head b{font-size:.98rem;color:var(--on-gold)}

.customsize__grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:13px}
.csfield--wide{grid-column:1 / -1}
.csfield label{display:block;font-size:.8rem;font-weight:700;color:var(--ink-2);margin-bottom:5px}
.csfield input[type="text"]{
  width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:9px;
  font-size:.92rem;background:#fff;
}
.csrow{display:flex;gap:8px}

/* The unit sits inside the box so the pair reads as one measurement. */
.csunit{
  flex:1;display:flex;align-items:center;background:#fff;
  border:1px solid var(--line);border-radius:9px;padding-right:10px;min-width:0;
}
.csunit input{
  width:100%;min-width:0;border:0;background:none;padding:10px 4px 10px 12px;
  font-size:.95rem;font-weight:650;
}
.csunit input:focus{outline:none}
.csunit i{font-style:normal;font-size:.78rem;font-weight:700;color:var(--muted)}
.csunit:focus-within{border-color:var(--gold);box-shadow:0 0 0 3px rgba(201,162,39,.16)}

@media(max-width:480px){
  .customsize{padding:13px}
  .customsize__grid{grid-template-columns:1fr}
}

/* ---------------------------------------------------------- stock on a tile */
.pcard__stock{
  margin:2px 0 8px;font-size:.78rem;font-weight:700;color:var(--ok);
  display:flex;align-items:center;gap:5px;
}
.pcard__stock::before{
  content:"";width:7px;height:7px;border-radius:50%;background:currentColor;flex-shrink:0;
}
.pcard__stock.is-low{color:var(--warn)}
.pcard__stock.is-out{color:var(--muted)}

/* ------------------------------------------------- minimum order, loudly -- */
.minorder{
  display:flex;gap:11px;align-items:flex-start;margin-top:14px;
  padding:13px 15px;border-radius:var(--radius);
  background:var(--warn-bg);border:1px solid #F0D9A8;border-left:4px solid var(--warn);
}
.minorder__ico{font-size:1.2rem;line-height:1.2;flex-shrink:0}
.minorder__text{display:flex;flex-direction:column;gap:3px;min-width:0}
.minorder__text b{font-size:1rem;color:#6B4700}
.minorder__text span{font-size:.85rem;color:var(--ink-2);line-height:1.45}

.speclist b.is-min{color:#6B4700}

@media(max-width:480px){
  .minorder{padding:11px 12px;gap:9px}
  .minorder__text b{font-size:.94rem}
}

/* ---- how many of each colour are left ---------------------------------- */
/* The count sits after the name, so the swatch reads "Matte Black · 4 left"
   in one line. A sold-out colour stays on the page, greyed and unclickable:
   knowing the black one has gone is useful, a swatch that silently vanished
   is not. */
.colortab__left{
  margin-left:auto;padding-left:10px;flex-shrink:0;
  font-size:.74rem;font-weight:650;color:var(--muted);white-space:nowrap;
}
.colortab__left--low{color:var(--warn)}
.colortab__left--out{color:var(--bad)}

.colortab--out{
  cursor:not-allowed;opacity:.55;background:var(--bg);
}
.colortab--out:hover{border-color:var(--line)}
.colortab--out .colortab__img{filter:grayscale(1)}
.colortab--out .colortab__name{text-decoration:line-through}

@media(max-width:560px){
  /* On a phone the swatch wraps, so the count goes under the name rather
     than pushing the row wider than the screen. */
  .colortab{flex-wrap:wrap}
  .colortab__left{margin-left:0;padding-left:56px;flex-basis:100%;min-width:0}
}
