/* ============================================================
   ROBBshop op Gravity demo-3 — shared design system
   Loaded by: index.html, 00-styleguide.html, 01-homepage.html,
              02-category-plp.html, 03-product-pdp.html
   Tokens, atoms & chrome lifted from _aspirational-homepage.html
   so all four mockups stay 1:1 visually consistent.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@400;600;800&display=swap');

:root{
  --rb-orange:#FF8C00;
  --rb-orange-dark:#E67E00;
  --rb-orange-soft:#FFF4E6;
  --rb-slate:#4A545B;
  --rb-text:#4A545B;
  --rb-muted:#828282;
  --rb-line:#EEEEEE;
  --rb-bg:#FFFFFF;
  --rb-bg-soft:#F8F8F8;
  --rb-green:#3CC261;
  --rb-yellow:#FEDC70;
  --rb-red:#E84130;

  --g-radius:6px;
  --g-radius-pill:999px;
  --g-shadow-sm:0 2px 6px rgba(0,0,0,.04);
  --g-shadow:0 4px 14px rgba(0,0,0,.06);
  --g-shadow-lg:0 8px 30px rgba(0,0,0,.08);
  --g-container:1400px;

  --font:'Mulish','Muli','Lato','Nunito',sans-serif;
}

*{box-sizing:border-box;margin:0;padding:0}
html,body{font-family:var(--font);color:var(--rb-text);background:#fff;font-size:14px;line-height:1.55;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer;border:0;background:none;color:inherit}
ul{list-style:none}

:focus{outline:none}
:focus-visible{outline:2px solid var(--rb-orange);outline-offset:3px;border-radius:3px}
.skip-link{position:absolute;left:-9999px;top:0;background:#000;color:#fff;padding:10px 16px;z-index:99}
.skip-link:focus{left:8px;top:8px}

.wrap{max-width:var(--g-container);margin:0 auto;padding:0 28px}

/* ============================================================
   STRIX concept badge
   ============================================================ */
.strix-bar{
  background:#0f0f0f;color:#fff;font-size:11px;letter-spacing:.14em;text-transform:uppercase;
  padding:8px 24px;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap
}
.strix-bar strong{color:var(--rb-yellow)}
.strix-bar .pill{display:inline-flex;align-items:center;gap:8px;background:#1f1f1f;padding:5px 12px;border-radius:999px}
.strix-bar .pill::before{content:'';width:6px;height:6px;background:var(--rb-yellow);border-radius:50%}

/* ============================================================
   H1 — TOP UTILITY ROW
   ============================================================ */
.top-utility{
  background:linear-gradient(90deg,#FF8C00 0%,#FF8C00 50%,#E67E00 100%);
  padding:10px 0;font-size:12px;color:#fff;
  box-shadow:inset 0 -1px 0 rgba(0,0,0,.08)
}
.top-utility-inner{display:grid;grid-template-columns:1fr auto 1fr;gap:16px;align-items:center}
.tu-left a{margin-right:18px;color:#fff;font-weight:600;opacity:.95}
.tu-left a:hover{opacity:1;color:#fff;text-decoration:underline}
.tu-left a .star{color:#FEDC70;font-weight:800;margin-right:3px;text-shadow:0 1px 2px rgba(0,0,0,.15)}
.tu-center{display:flex;align-items:center;gap:12px;justify-content:center;color:#fff;font-weight:600}
.tu-center .pillbtn{
  display:inline-flex;align-items:center;padding:6px 16px;border-radius:var(--g-radius-pill);
  background:#fff;color:var(--rb-orange-dark);font-weight:800;font-size:11px;letter-spacing:.04em;
  text-transform:uppercase;transition:transform .15s
}
.tu-center .pillbtn:hover{background:#fff;transform:translateY(-1px);box-shadow:0 4px 10px rgba(0,0,0,.15)}
.tu-right{display:flex;justify-content:flex-end;gap:20px;align-items:center;color:#fff;font-weight:600}
.tu-right .item{display:inline-flex;align-items:center;gap:6px;cursor:pointer}
.tu-right .item:hover{opacity:.85}
.tu-right .flag{width:16px;height:11px;background:linear-gradient(180deg,#AE1C28 33%,#fff 33% 66%,#21468B 66%);border-radius:2px;display:inline-block;box-shadow:0 0 0 1px rgba(255,255,255,.3)}
.tu-right .item::after{content:'▾';font-size:9px;margin-left:2px;color:rgba(255,255,255,.7)}
.tu-right .item.no-arrow::after{content:''}

/* ============================================================
   H2/H3/H4 — MAIN HEADER (logo · search · tools)
   ============================================================ */
.main-head{padding:18px 0;border-bottom:1px solid var(--rb-line);background:#fff}
.main-head-inner{display:grid;grid-template-columns:auto 1fr auto;gap:32px;align-items:center}
.logo{display:inline-flex;align-items:center;height:48px}
.logo img,.logo svg.rb-logo{height:48px;width:auto;display:block}
.rb-logo{display:block}
.logo-fallback{font-weight:800;font-size:28px;color:var(--rb-slate);letter-spacing:-.02em}
.logo-fallback .heart{color:var(--rb-orange);margin:0 1px}

.search-bar{
  display:flex;height:48px;border:1px solid var(--rb-line);border-radius:var(--g-radius-pill);
  overflow:hidden;background:#fff;max-width:680px;margin:0 auto;width:100%
}
.search-cat{
  display:flex;align-items:center;padding:0 18px;border-right:1px solid var(--rb-line);
  font-size:13px;font-weight:600;color:var(--rb-text);cursor:pointer;white-space:nowrap;gap:8px
}
.search-cat::after{content:'▾';font-size:10px;color:var(--rb-muted)}
.search-bar input{flex:1;border:0;padding:0 18px;font:inherit;font-size:13px;color:var(--rb-text);outline:none;background:transparent}
.search-bar input::placeholder{color:#bdbdbd}
.search-btn{
  width:54px;display:flex;align-items:center;justify-content:center;background:transparent;border-left:1px solid var(--rb-line)
}
.search-btn:hover{background:var(--rb-orange-soft)}
.search-btn svg{width:18px;height:18px;stroke:var(--rb-text);fill:none;stroke-width:2}

.head-tools{display:flex;align-items:center;gap:18px;color:var(--rb-text)}
.head-tools .tool{position:relative;display:flex;align-items:center;gap:6px;padding:6px 8px;border-radius:6px;cursor:pointer;font-size:12px;font-weight:600}
.head-tools .tool:hover{color:var(--rb-orange)}
.head-tools svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.7}
.cart-tool{display:flex;align-items:center;gap:8px;font-weight:700}
.cart-tool .total{font-size:13px}
.tool .count{
  position:absolute;top:0;right:-2px;background:var(--rb-orange);color:#fff;font-size:10px;font-weight:800;
  min-width:18px;height:18px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;padding:0 5px;line-height:1
}

/* ============================================================
   H5 — MAIN NAV
   ============================================================ */
.main-nav{border-bottom:1px solid var(--rb-line);background:#fff;padding:6px 0}
.main-nav-inner{display:flex;gap:36px;align-items:center}
.main-nav a{
  font-size:13px;font-weight:700;color:var(--rb-slate);padding:14px 0;position:relative;
  display:inline-flex;align-items:center;gap:6px
}
.main-nav a.has-sub::after{content:'▾';font-size:9px;font-weight:400;color:var(--rb-muted)}
.main-nav a.active{color:var(--rb-orange)}
.main-nav a.active::before{content:'';position:absolute;left:0;right:0;bottom:-1px;height:3px;background:var(--rb-orange)}
.main-nav a:hover{color:var(--rb-orange)}
.main-nav .nav-badge{background:var(--rb-orange);color:#fff;font-size:10px;padding:2px 6px;border-radius:10px;margin-left:4px;font-weight:800}

/* Breadcrumb (PLP/PDP) */
.breadcrumb{padding:14px 0;font-size:12px;color:var(--rb-muted);background:#fff;border-bottom:1px solid var(--rb-line)}
.breadcrumb a{color:var(--rb-muted)}
.breadcrumb a:hover{color:var(--rb-orange)}
.breadcrumb .sep{margin:0 8px;color:var(--rb-line)}
.breadcrumb .current{color:var(--rb-slate);font-weight:600}

/* ============================================================
   ATOMS
   ============================================================ */

/* Buttons (.btn-pill family) */
.btn-pill{
  display:inline-flex;align-items:center;justify-content:center;padding:10px 22px;
  border-radius:var(--g-radius-pill);background:var(--rb-orange);color:#fff;
  font-size:12px;font-weight:700;letter-spacing:.02em;border:1.5px solid var(--rb-orange);
  transition:background .15s,color .15s,border-color .15s
}
.btn-pill:hover{background:var(--rb-orange-dark);border-color:var(--rb-orange-dark);color:#fff}
.btn-pill.outline{background:#fff;color:var(--rb-orange)}
.btn-pill.outline:hover{background:var(--rb-orange);color:#fff;border-color:var(--rb-orange)}
.btn-pill.dark{background:var(--rb-slate);color:#fff;border-color:var(--rb-slate)}
.btn-pill.ghost{background:transparent;color:var(--rb-slate);border-color:var(--rb-line)}
.btn-pill.ghost:hover{background:var(--rb-bg-soft);color:var(--rb-slate);border-color:var(--rb-line)}
.btn-pill[disabled],.btn-pill.disabled{opacity:.45;cursor:not-allowed;pointer-events:none}
.btn-pill.lg{padding:14px 32px;font-size:13px}
.btn-pill.sm{padding:7px 14px;font-size:11px}
.btn-pill.block{display:flex;width:100%}

/* Inputs */
.input{
  height:42px;border:1px solid var(--rb-line);border-radius:var(--g-radius);
  padding:0 14px;font:inherit;font-size:13px;color:var(--rb-text);background:#fff;
  width:100%;outline:none;transition:border-color .15s
}
.input:focus{border-color:var(--rb-orange)}

/* Filter pill (atom — sub-category quick filter on PLP top) */
.pill--filter{
  display:inline-flex;align-items:center;height:34px;padding:0 16px;border:1.5px solid var(--rb-orange);
  background:#fff;color:var(--rb-orange-dark);border-radius:var(--g-radius-pill);
  font-size:12px;font-weight:700;letter-spacing:.02em;white-space:nowrap;transition:all .15s
}
.pill--filter:hover{background:var(--rb-orange);color:#fff}
.pill--filter.active{background:var(--rb-orange);color:#fff}

/* Star rating */
.stars{color:#FCB72D;font-size:12px;letter-spacing:1px;line-height:1;display:inline-flex;align-items:center}
.stars .empty{color:#E0E0E0}

/* Stock dot */
.stock-dot{width:8px;height:8px;border-radius:50%;background:var(--rb-green);flex-shrink:0;box-shadow:0 0 0 3px rgba(60,194,97,.18);display:inline-block}
.stock-dot.low{background:#F39C12;box-shadow:0 0 0 3px rgba(243,156,18,.18)}
.stock-dot.out{background:#9E9E9E;box-shadow:none}

/* Eco-tag chips (smart-home protocols) */
.eco-tag{
  font-size:9px;font-weight:800;letter-spacing:.04em;padding:3px 7px;border-radius:3px;
  background:#F4F4F4;color:#555;border:1px solid #E8E8E8;text-transform:uppercase;display:inline-block
}
.eco-tag.matter{background:#E8F5FF;color:#0067D9;border-color:#C9E4FA}
.eco-tag.zwave{background:#FFEEEE;color:#C62828;border-color:#F4C4C4}
.eco-tag.zigbee{background:#FFF4D6;color:#A06000;border-color:#F4DCA0}
.eco-tag.thread{background:#E8F8EE;color:#0F7B30;border-color:#BFE6CC}
.eco-tag.homekit{background:#F0E8FF;color:#5536AB;border-color:#D8C8F4}
.eco-tag.wifi{background:#EAF2FA;color:#16548C;border-color:#CCDDED}

/* Price display */
.price{font-size:16px;font-weight:800;color:var(--rb-text)}
.price s{font-weight:500;color:var(--rb-muted);font-size:13px;margin-left:8px}
.price.sale{color:var(--rb-red)}
.price.lg{font-size:32px;letter-spacing:-.01em}
.price.lg s{font-size:18px}

/* Generic badge atom */
.badge{display:inline-block;padding:4px 10px;border-radius:var(--g-radius-pill);font-size:11px;font-weight:800;line-height:1.2}
.badge.discount{background:var(--rb-red);color:#fff}
.badge.tip{background:#1FBA8C;color:#fff}
.badge.new{background:var(--rb-orange);color:#fff}
.badge.outline{background:transparent;color:var(--rb-slate);border:1px solid var(--rb-line)}

/* ============================================================
   MOLECULES
   ============================================================ */

/* Section header */
.sec-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:24px;gap:16px}
.sec-head h2{font-size:24px;font-weight:800;color:var(--rb-slate);letter-spacing:-.01em}
.sec-head .view-all{font-size:12px;font-weight:700;color:var(--rb-text);display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.sec-head .view-all:hover{color:var(--rb-orange)}
.sec-head .view-all::after{content:'→'}

/* Carousel arrows + grid */
.carousel{position:relative}
.carousel-row{display:grid;grid-template-columns:repeat(5,1fr);gap:20px}
.carousel-row.cols-4{grid-template-columns:repeat(4,1fr)}
.carousel .arrow{
  position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;
  background:#fff;box-shadow:var(--g-shadow);display:flex;align-items:center;justify-content:center;
  border:1px solid var(--rb-line);z-index:3
}
.carousel .arrow:hover{background:var(--rb-orange);color:#fff;border-color:var(--rb-orange)}
.carousel .arrow.prev{left:-21px}
.carousel .arrow.next{right:-21px}
.carousel .arrow svg{width:14px;height:14px}

/* Product card (.pcard) */
.pcard{
  background:#fff;border:1px solid var(--rb-line);border-radius:var(--g-radius);
  overflow:hidden;position:relative;transition:box-shadow .25s,transform .25s;
  display:flex;flex-direction:column
}
.pcard:hover{box-shadow:var(--g-shadow);transform:translateY(-2px)}
.pcard .pcard-img{
  aspect-ratio:1;background:#fafafa;position:relative;overflow:hidden;
  display:flex;align-items:center;justify-content:center
}
.pcard .pcard-img img{width:100%;height:100%;object-fit:contain;padding:20px}
.pcard .pcard-badges{position:absolute;top:10px;left:10px;display:flex;flex-direction:column;gap:6px;z-index:2}
.pcard .pcard-fav{
  position:absolute;top:10px;right:10px;width:32px;height:32px;border-radius:50%;background:#fff;
  border:1px solid var(--rb-line);display:flex;align-items:center;justify-content:center;z-index:2
}
.pcard .pcard-fav svg{width:14px;height:14px;stroke:var(--rb-muted);fill:none;stroke-width:1.6}
.pcard:hover .pcard-fav{border-color:var(--rb-orange)}
.pcard:hover .pcard-fav svg{stroke:var(--rb-orange)}
.pcard .pcard-body{padding:8px 14px 16px}
.pcard .pname{font-size:13px;font-weight:600;color:var(--rb-slate);line-height:1.35;margin:8px 0 10px;min-height:54px}
.pcard .pname:hover{color:var(--rb-orange)}
.pcard .pprice{font-size:16px;font-weight:800;color:var(--rb-text)}
.pcard .pprice s{font-weight:500;color:var(--rb-muted);font-size:13px;margin-left:8px}
.pcard .pprice.sale{color:var(--rb-red)}
.pcard .stars-row{display:flex;align-items:center;gap:6px;padding:14px 14px 0}
.pcard .stars-row .review-count{font-size:11px;color:var(--rb-muted);font-weight:600}
.pcard .ecosystem{display:flex;flex-wrap:wrap;gap:4px;margin:8px 0}
.pcard .stock-line{
  display:flex;align-items:center;gap:6px;font-size:11px;color:var(--rb-text);font-weight:600;margin-top:8px
}
.pcard .stock-line .delivery{color:var(--rb-muted);font-weight:500;margin-left:auto;font-size:10px}
/* Variant: PLP minimal card (no rating, prominent CTA) */
.pcard.minimal .stars-row{display:none}
.pcard.minimal .pcard-body{padding:10px 14px 14px}
.pcard.minimal .pname{margin-top:0;min-height:40px;font-size:13px}
.pcard.minimal .atc-pill{
  display:flex;align-items:center;justify-content:center;width:100%;height:38px;margin-top:10px;
  background:var(--rb-orange);color:#fff;border-radius:var(--g-radius-pill);font-weight:800;font-size:12px;letter-spacing:.02em
}
.pcard.minimal .atc-pill:hover{background:var(--rb-orange-dark)}

/* Filter group (sidebar molecule, PLP) */
.filter-group{border-bottom:1px solid var(--rb-line);padding:16px 0}
.filter-group:last-child{border-bottom:0}
.filter-group h5{font-size:13px;font-weight:800;color:var(--rb-slate);margin-bottom:10px;display:flex;justify-content:space-between;align-items:center;cursor:pointer}
.filter-group h5::after{content:'−';color:var(--rb-muted);font-weight:400}
.filter-group.collapsed h5::after{content:'+'}
.filter-group label{
  display:flex;align-items:center;gap:8px;padding:5px 0;font-size:12px;color:var(--rb-text);cursor:pointer
}
.filter-group label:hover{color:var(--rb-orange)}
.filter-group input[type=checkbox]{accent-color:var(--rb-orange);width:14px;height:14px}
.filter-group .count{margin-left:auto;font-size:11px;color:var(--rb-muted)}
.filter-group .price-range{display:flex;align-items:center;gap:8px;margin-top:8px}
.filter-group .price-range input{width:100%;height:28px;border:1px solid var(--rb-line);border-radius:4px;padding:0 8px;font:inherit;font-size:12px}

/* USP item (T2 row variant) */
.trust-strip{
  background:var(--rb-bg-soft);border-top:1px solid var(--rb-line);border-bottom:1px solid var(--rb-line);
  padding:18px 0
}
.trust-row{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:24px}
.trust-item{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--rb-slate);font-weight:600}
.trust-item .stars{color:#00B67A;font-size:14px;letter-spacing:1px}
.trust-item b{color:var(--rb-slate);font-weight:800}
.trust-item .badge{background:#00B67A;color:#fff;font-size:11px;padding:3px 8px;border-radius:3px;font-weight:800;letter-spacing:.02em}
.trust-item .ico{
  width:28px;height:28px;border-radius:50%;background:#fff;display:inline-flex;align-items:center;justify-content:center;
  border:1px solid var(--rb-line)
}
.trust-item .ico svg{width:16px;height:16px;stroke:var(--rb-orange);fill:none;stroke-width:1.8}

/* USP stack (T1 vertical, used on PDP mini-strip too) */
.usp-stack{display:flex;flex-direction:column;border:1px solid var(--rb-line);border-radius:var(--g-radius);background:#fff;overflow:hidden}
.usp-item{display:flex;align-items:center;gap:14px;padding:16px 18px;border-bottom:1px solid var(--rb-line)}
.usp-item:last-child{border-bottom:0}
.usp-item .ico{
  width:42px;height:42px;border-radius:50%;background:var(--rb-orange-soft);
  display:inline-flex;align-items:center;justify-content:center;flex-shrink:0
}
.usp-item .ico svg{width:22px;height:22px;stroke:var(--rb-orange);fill:none;stroke-width:1.6}
.usp-item h5{font-size:13px;font-weight:800;color:var(--rb-slate);margin-bottom:2px}
.usp-item p{font-size:11px;color:var(--rb-muted);line-height:1.4}

/* Inline marketing card (M2) */
.inline-mkt{
  margin:30px 0;background:var(--rb-bg-soft);border-radius:var(--g-radius);
  display:grid;grid-template-columns:1fr 1fr;align-items:center;overflow:hidden;border:1px solid var(--rb-line)
}
.inline-mkt .copy{padding:36px 44px}
.inline-mkt .eyebrow{color:var(--rb-orange-dark);font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;margin-bottom:8px}
.inline-mkt h3{font-size:26px;font-weight:800;color:var(--rb-slate);margin-bottom:14px}
.inline-mkt p{color:var(--rb-muted);margin-bottom:18px;font-size:13px}
.inline-mkt .visual{height:100%;min-height:160px;background:#fff;display:flex;align-items:center;justify-content:center;padding:24px}
.inline-mkt .visual img{max-height:160px;object-fit:contain}

/* Brand strip (T3) */
.brand-strip{padding:50px 0;border-top:1px solid var(--rb-line);border-bottom:1px solid var(--rb-line)}
.brand-row{display:grid;grid-template-columns:repeat(6,1fr);gap:24px;align-items:center}
.brand-logo{
  text-align:center;font-weight:800;font-size:18px;color:#9aa0a6;letter-spacing:.02em;
  transition:color .25s;padding:10px;font-family:var(--font)
}
.brand-logo:hover{color:var(--rb-slate)}
.brand-logo.serif{font-family:Georgia,serif;font-style:italic;font-weight:600;font-size:24px}

/* Newsletter (F1) */
.news{padding:56px 0;border-top:1px solid var(--rb-line);background:#fff}
.news-inner{display:grid;grid-template-columns:auto 1fr auto;gap:40px;align-items:center}
.news-logo{display:flex;align-items:center}
.news-logo img,.news-logo svg{height:38px}
.news-text{font-size:14px;color:var(--rb-text);max-width:520px}
.news-text b{color:var(--rb-slate);font-weight:800;display:block;margin-bottom:2px}
.news-form{
  display:flex;align-items:center;height:54px;border:1px solid var(--rb-line);border-radius:var(--g-radius-pill);
  overflow:hidden;background:#fff;min-width:380px;box-shadow:var(--g-shadow-sm)
}
.news-form .ico{padding:0 16px 0 20px;color:var(--rb-muted);display:flex;align-items:center}
.news-form .ico svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.6}
.news-form input{flex:1;border:0;padding:0 12px;font:inherit;background:transparent;outline:none;font-size:13px}
.news-form button{
  width:50px;height:42px;margin:0 6px;border-radius:50%;background:var(--rb-orange);color:#fff;
  display:flex;align-items:center;justify-content:center
}
.news-form button:hover{background:var(--rb-orange-dark)}

/* CTA banner large (F2) */
.cta-banner{
  margin:30px 0;padding:40px 32px;background:linear-gradient(120deg,var(--rb-orange-soft),#FFE0B8);
  border-radius:var(--g-radius);display:flex;align-items:center;justify-content:space-between;gap:24px;
  border:1px solid #FFD6A0;flex-wrap:wrap
}
.cta-banner h3{font-size:22px;font-weight:800;color:var(--rb-slate);margin-bottom:4px}
.cta-banner p{font-size:13px;color:var(--rb-text)}

/* ============================================================
   ORGANISMS — sections shared across pages
   ============================================================ */
section.sec{padding:42px 0}

/* Reviews snippet (T4) — Trustpilot-style */
.review-snippet{
  background:#fff;border:1px solid var(--rb-line);border-radius:var(--g-radius);
  padding:24px 28px;display:flex;align-items:center;gap:24px;flex-wrap:wrap;box-shadow:var(--g-shadow-sm);margin:24px 0
}
.review-snippet .badge{background:#00B67A;color:#fff;font-size:13px;padding:6px 12px;border-radius:4px;font-weight:800;letter-spacing:.02em}
.review-snippet .stars{color:#00B67A;font-size:18px;letter-spacing:2px}
.review-snippet .num{font-size:18px;font-weight:800;color:var(--rb-slate)}
.review-snippet .meta{font-size:12px;color:var(--rb-muted)}

/* Accordion (M7) */
.accordion details{border:1px solid var(--rb-line);border-radius:var(--g-radius);margin-bottom:8px;background:#fff}
.accordion details[open]{border-color:var(--rb-orange-soft)}
.accordion summary{
  list-style:none;padding:16px 20px;font-size:14px;font-weight:700;color:var(--rb-slate);
  cursor:pointer;display:flex;justify-content:space-between;align-items:center
}
.accordion summary::-webkit-details-marker{display:none}
.accordion summary::after{content:'+';font-size:20px;font-weight:400;color:var(--rb-orange)}
.accordion details[open] summary::after{content:'−'}
.accordion details > div{padding:0 20px 18px;font-size:13px;color:var(--rb-text);line-height:1.65}

/* SEO text block (M4) */
.seo-block{padding:36px 0}
.seo-block h2{font-size:24px;font-weight:800;color:var(--rb-slate);margin-bottom:16px;letter-spacing:-.01em}
.seo-block p{font-size:14px;color:var(--rb-text);margin-bottom:14px;line-height:1.7;max-width:920px}
.seo-block ul.bullets{padding-left:18px;margin-bottom:14px}
.seo-block ul.bullets li{list-style:disc;margin-bottom:6px;font-size:14px;color:var(--rb-text);max-width:880px}

/* ============================================================
   FEATURE-ANNOTATION BADGE — used on 06-homepage-optimal.html
   to label which Gravity feature drives each block. Clickable to
   open the live Gravity demo URL in a new tab.
   ============================================================ */
.feat-badge{
  position:absolute;top:14px;right:14px;background:rgba(255,140,0,.95);
  font-size:9px;font-weight:800;letter-spacing:.08em;padding:5px 9px;border-radius:4px;
  z-index:5;text-transform:uppercase;line-height:1.2;box-shadow:0 2px 8px rgba(0,0,0,.18);
  display:inline-flex;align-items:center;gap:4px
}
.feat-badge a{color:#fff;text-decoration:none}
.feat-badge a:hover{text-decoration:underline}
.feat-badge::before{content:'';width:5px;height:5px;border-radius:50%;background:#fff;display:inline-block}
.feat-badge.dark{background:rgba(0,0,0,.85)}
.feat-badge.dark a{color:var(--rb-orange)}

/* Section wrapper — most blocks on 06-homepage-optimal.html have
   position:relative so the badge can absolute-position. */
.feat-section{position:relative}

/* ============================================================
   TRANSPARENT OVERLAYING HEADER (F-HF-3 / F-HF-5)
   Header floats over hero video — gebruikt op 06-homepage-optimal.html
   ============================================================ */
.header-overlay .top-utility{background:rgba(0,0,0,.4);backdrop-filter:blur(6px);box-shadow:none}
.header-overlay .main-head{background:transparent;border-bottom:0;padding:14px 0}
.header-overlay .main-head .logo svg path{fill:#fff !important}
.header-overlay .main-head .logo svg text{fill:#fff !important}
.header-overlay .search-bar{background:rgba(255,255,255,.95)}
.header-overlay .head-tools{color:#fff}
.header-overlay .head-tools .tool:hover{color:var(--rb-orange)}
.header-overlay .main-nav{background:transparent;border-bottom:0;padding:0 0 4px}
.header-overlay .main-nav a{color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.4)}
.header-overlay .main-nav a:hover{color:var(--rb-orange)}
.header-overlay .main-nav a.active{color:var(--rb-orange)}

/* ============================================================
   PRE-FOOTER USP STRIP
   5 trust-signalen op een lichte band direct boven de donkere footer.
   Conversion-lifter — anders staan trust-cues alleen in de smalle
   utility-bar bovenaan en in de footer.
   ============================================================ */
.pre-foot-usp{
  background:var(--rb-bg-soft);border-top:1px solid var(--rb-line);border-bottom:1px solid var(--rb-line);
  padding:22px 0
}
.pre-foot-usp-row{
  display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap
}
.pre-foot-usp-item{
  display:flex;align-items:center;gap:12px;flex:1;min-width:200px;font-size:13px;color:var(--rb-slate);font-weight:600
}
.pre-foot-usp-item .ico{
  width:36px;height:36px;border-radius:50%;background:var(--rb-orange-soft);
  display:inline-flex;align-items:center;justify-content:center;flex-shrink:0
}
.pre-foot-usp-item .ico svg{width:20px;height:20px;stroke:var(--rb-orange);fill:none;stroke-width:1.8}
.pre-foot-usp-item b{display:block;color:var(--rb-slate);font-weight:800;line-height:1.2}
.pre-foot-usp-item span.sub{display:block;font-weight:500;color:var(--rb-muted);font-size:11px;margin-top:2px}
.pre-foot-usp-item .stars{color:#00B67A;font-size:14px;letter-spacing:1px}

/* ============================================================
   FOOTER (FT1–FT4) — donker, in stijl van robbshop.nl
   Live ROBBshop heeft: donkere achtergrond, witte/lichte tekst,
   ROBBshop mascotte (oranje shirt) rechts, oranje band onderaan
   met social + payment iconen, copyright-strip eronder.
   ============================================================ */
footer.site{
  background:#1A1A2E;color:rgba(255,255,255,.78);padding:60px 0 0;
  position:relative;overflow:hidden
}
/* Mascotte rechts — gestileerde SVG-figuur in oranje shirt.
   Vervang `media/robb-mascot.svg` met de officiële ROBBshop mascotte
   (transparente PNG of SVG, ~180×340 aspect). */
footer.site::before{
  content:'';position:absolute;right:24px;bottom:120px;width:170px;height:320px;
  background:url('media/robb-mascot.svg') no-repeat center/contain;
  pointer-events:none;filter:drop-shadow(0 12px 32px rgba(0,0,0,.45));z-index:0
}
/* Pure-Gravity-mode: geen mascotte (asset is geen Gravity-feature; ROBBshop
   uploadt deze separat via theme-config indien gewenst). */
.no-mascot footer.site::before{display:none}

/* Pure-Gravity feat-badge variant (groen ipv oranje, om "0 dev nodig"
   visueel anders te markeren dan de oranje feat-badges op 06-08) */
.feat-badge.native{background:rgba(60,194,97,.95)}
.feat-badge.native a{color:#fff}
.feat-badge.native::before{background:#fff}
footer.site .wrap{position:relative;z-index:1}

.foot-grid{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:48px;padding-bottom:48px}
.foot-col h4{font-size:15px;font-weight:800;color:#fff;margin-bottom:20px;letter-spacing:-.01em}
.foot-col ul li{margin-bottom:10px}
.foot-col a{font-size:13px;color:rgba(255,255,255,.78)}
.foot-col a:hover{color:var(--rb-orange);text-decoration:underline}
.foot-col p{color:rgba(255,255,255,.78)}
.hotline{font-size:13px}
.hotline .num{display:inline-block;font-size:18px;font-weight:800;color:#fff;border-bottom:2px solid var(--rb-orange);padding-bottom:2px;margin:8px 0;letter-spacing:-.01em}
.hotline .small{color:rgba(255,255,255,.55);font-size:12px;margin-bottom:14px}
.hotline .form-link{color:rgba(255,255,255,.78);font-size:12px}
.hotline .form-link a{text-decoration:underline;color:var(--rb-orange)}

/* Quick-help CTA buttons in hotline column (Live chat / Bel ons / FAQ) */
.foot-cta-row{display:flex;flex-direction:column;gap:8px;margin:14px 0 4px}
.foot-cta{
  display:inline-flex;align-items:center;gap:8px;padding:10px 14px;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);border-radius:var(--g-radius);
  color:#fff;font-size:12px;font-weight:700;transition:background .15s,border-color .15s
}
.foot-cta:hover{background:var(--rb-orange);border-color:var(--rb-orange);color:#fff}
.foot-cta svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:1.8;flex-shrink:0}
.foot-cta.primary{background:var(--rb-orange);border-color:var(--rb-orange);color:#fff}
.foot-cta.primary:hover{background:var(--rb-orange-dark);border-color:var(--rb-orange-dark)}

/* Oranje band onderaan met social-iconen + payment badges. */
.social-row{
  display:flex;justify-content:center;gap:18px;padding:20px 0;
  background:var(--rb-orange);border:0;margin:0
}
.social-row a{width:32px;height:32px;display:flex;align-items:center;justify-content:center;color:#fff}
.social-row a:hover{color:#fff;opacity:.78}
.social-row svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.5}
.social-row svg.fill{fill:currentColor;stroke:none}

/* Pay-badges in een wit container-strip zodat brand-kleuren beter contrasten
   tegen de oranje band, en payment + shipping subtiel gescheiden zijn. */
.pay-row{
  display:flex;justify-content:center;gap:10px;align-items:center;padding:16px 0 22px;flex-wrap:wrap;
  background:var(--rb-orange);border-top:1px solid rgba(255,255,255,.22)
}
.pay-row .pay-cluster{
  display:inline-flex;gap:6px;background:#fff;padding:6px 10px;border-radius:8px;align-items:center;flex-wrap:wrap
}
.pay-row .pay-divider{width:1px;height:22px;background:rgba(255,255,255,.4);margin:0 4px}
.pay-badge{
  height:26px;min-width:48px;padding:0 10px;background:#fff;border:1px solid transparent;border-radius:4px;
  display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:800;color:var(--rb-slate);letter-spacing:.02em
}
.pay-badge.ideal{color:#CC0066}
.pay-badge.visa{color:#1A1F71}
.pay-badge.mc{color:#FF5F00}
.pay-badge.paypal{color:#003087}
.pay-badge.klarna{background:#FFA8CD;color:#000}
.pay-badge.bancontact{color:#1E3A8A}
.pay-badge.dhl{background:#FFCC00;color:#D40511}
.pay-badge.dpd{background:#DC0032;color:#fff}
.pay-badge.postnl{background:#FF6900;color:#fff}

/* Copyright-strip onderaan — donkerder dan de hoofdfooter, klein en muted. */
.foot-bottom{background:#0F0F1A;padding:14px 0;font-size:12px;color:rgba(255,255,255,.5)}
.foot-bottom-inner{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px}
.foot-bottom-inner ul{display:flex;gap:20px;flex-wrap:wrap}
.foot-bottom-inner a{color:rgba(255,255,255,.6)}
.foot-bottom-inner a:hover{color:var(--rb-orange)}
.foot-bottom-inner .gdpr{color:var(--rb-orange);font-weight:700}
.foot-bottom-inner .gdpr:hover{color:var(--rb-orange);text-decoration:underline}

@media (max-width:1100px){
  footer.site::before{display:none}
  .pre-foot-usp-row{justify-content:center;text-align:center}
}

/* ============================================================
   LAYOUT-VARIANT THUMBNAILS — used by 00-styleguide.html and
   04-layout-catalog.html to render schematic representations of
   Gravity demo-3 PDP/PLP/Shop layout variants. Each thumb is
   ~180px wide; the .frame inside is a stylised page miniature.
   ============================================================ */
.layout-thumbs{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}
.layout-thumb{
  background:#fff;border:1.5px solid var(--rb-line);border-radius:var(--g-radius);padding:12px;cursor:pointer;text-align:center;transition:all .15s;display:block;text-decoration:none;color:inherit;position:relative
}
.layout-thumb:hover{border-color:var(--rb-orange);transform:translateY(-2px);box-shadow:var(--g-shadow)}
.layout-thumb.current{border-color:var(--rb-orange);box-shadow:0 0 0 3px rgba(255,140,0,.18)}
.layout-thumb.current::before{
  content:'ROBBshop';position:absolute;top:-9px;right:10px;background:var(--rb-orange);color:#fff;
  font-size:9px;font-weight:800;letter-spacing:.08em;padding:2px 8px;border-radius:3px;text-transform:uppercase
}
.layout-thumb .id{font-size:10px;font-weight:800;color:var(--rb-orange-dark);letter-spacing:.06em;margin-bottom:2px}
.layout-thumb .name{font-size:12px;font-weight:800;color:var(--rb-slate);margin-bottom:4px;line-height:1.3}
.layout-thumb .desc{font-size:11px;color:var(--rb-muted);line-height:1.3}

.layout-thumb .frame{
  aspect-ratio:1.3;background:var(--rb-bg-soft);border:1px solid var(--rb-line);border-radius:4px;
  padding:6px;margin-bottom:8px;display:grid;gap:4px;position:relative
}
/* Common building blocks inside a frame */
.layout-thumb .frame .gallery,.layout-thumb .frame .buybox,
.layout-thumb .frame .filters,.layout-thumb .frame .grid,
.layout-thumb .frame .hero,.layout-thumb .frame .content,
.layout-thumb .frame .sidebar{background:#fff;border:1px solid var(--rb-line);border-radius:3px;padding:3px;display:flex;flex-direction:column;gap:3px;min-height:0}
.layout-thumb .frame .gallery .ph{background:var(--rb-bg-soft);flex:1;border-radius:2px;position:relative}
.layout-thumb .frame .buybox .ttl{height:6px;background:var(--rb-slate);border-radius:1px;width:80%}
.layout-thumb .frame .buybox .logo{height:5px;background:var(--rb-orange);border-radius:1px;width:30%}
.layout-thumb .frame .buybox .desc{height:14px;background:var(--rb-orange-soft);border:1px dashed var(--rb-orange);border-radius:1px}
.layout-thumb .frame .buybox .price{height:8px;background:#FCB72D;border-radius:1px;width:40%}
.layout-thumb .frame .buybox .btn{height:8px;background:var(--rb-orange);border-radius:1px}

/* PDP frames — gallery left, buybox right */
.layout-thumb .frame.pdp{grid-template-columns:1fr 1fr}
.layout-thumb .frame.pdp.with-sidebar{grid-template-columns:0.6fr 1fr 1fr}
.layout-thumb .frame.pdp.no-sidebar{grid-template-columns:1.2fr 1fr}
/* Description-under-gallery variant */
.layout-thumb .frame.pdp.under-gallery .gallery .desc-strip{height:8px;background:var(--rb-orange-soft);border:1px dashed var(--rb-orange);border-radius:1px;margin-top:auto}
/* Gallery sub-variants */
.layout-thumb .frame.pdp .gallery.slider .ph{display:flex;align-items:center;justify-content:center;color:var(--rb-muted);font-size:10px;font-weight:800}
.layout-thumb .frame.pdp .gallery.slider .ph::before{content:'◀ ▶';letter-spacing:14px}
.layout-thumb .frame.pdp .gallery.scroller{display:flex;flex-direction:row;gap:2px;overflow:hidden;padding:3px}
.layout-thumb .frame.pdp .gallery.scroller .ph{flex:0 0 22%;background:var(--rb-bg-soft);border-radius:1px}
.layout-thumb .frame.pdp .gallery.grid{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:2px;padding:3px}
.layout-thumb .frame.pdp .gallery.grid .ph{background:var(--rb-bg-soft);border-radius:1px;flex:none}
.layout-thumb .frame.pdp .gallery.three-d .ph{display:flex;align-items:center;justify-content:center;font-size:18px;color:var(--rb-orange)}
.layout-thumb .frame.pdp .gallery.three-d .ph::before{content:'⬢';font-weight:800}
.layout-thumb .frame.pdp .gallery.video .ph{display:flex;align-items:center;justify-content:center;background:#1A1A2E;color:#fff;font-size:14px;border-radius:2px;position:relative}
.layout-thumb .frame.pdp .gallery.video .ph::before{content:'▶';width:18px;height:18px;background:rgba(255,255,255,.2);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:8px}

/* PLP frames */
.layout-thumb .frame.plp{grid-template-columns:0.5fr 1fr}
.layout-thumb .frame.plp.no-sidebar{grid-template-columns:1fr}
.layout-thumb .frame.plp.minimal{grid-template-columns:0.5fr 1fr}
.layout-thumb .frame.plp.shopping-exp{grid-template-columns:1fr;grid-template-rows:0.4fr 0.6fr 1fr}
.layout-thumb .frame.plp.big-image{grid-template-columns:1fr;grid-template-rows:auto 1fr}
.layout-thumb .frame.plp.big-image .hero-img{
  background:linear-gradient(120deg,var(--rb-orange-soft),#FFB870);
  border:1px solid var(--rb-line);border-radius:3px;height:24px
}
.layout-thumb .frame.plp.big-image .row{display:grid;grid-template-columns:0.5fr 1fr;gap:4px}
.layout-thumb .frame.plp .filters .row{height:5px;background:var(--rb-bg-soft);border-radius:1px;margin-bottom:3px}
.layout-thumb .frame.plp .filters .row.active{background:var(--rb-orange-soft);border:1px solid var(--rb-orange)}
.layout-thumb .frame.plp .grid{
  background:transparent;border:0;padding:0;display:grid;
  grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:3px
}
.layout-thumb .frame.plp.no-sidebar .grid{grid-template-columns:repeat(4,1fr)}
.layout-thumb .frame.plp .grid .ph{background:#fff;border:1px solid var(--rb-line);border-radius:2px}
.layout-thumb .frame.plp.shopping-exp .blk{background:#fff;border:1px solid var(--rb-line);border-radius:2px}
.layout-thumb .frame.plp.shopping-exp .blk.tall{background:linear-gradient(120deg,#FFF4E6,#FFE0B8)}

/* Shop / CMS page frames */
.layout-thumb .frame.shop{grid-template-columns:1fr;grid-template-rows:0.3fr 1fr 0.3fr;gap:3px}
.layout-thumb .frame.shop.with-sidebar{grid-template-columns:0.4fr 1fr;grid-template-rows:0.2fr 1fr;gap:3px}
.layout-thumb .frame.shop.with-sidebar .top{grid-column:1 / -1}
.layout-thumb .frame.shop .top{background:var(--rb-orange-soft);border:1px solid var(--rb-line);border-radius:2px;height:auto}
.layout-thumb .frame.shop .content{display:flex;flex-direction:column;gap:3px;padding:4px}
.layout-thumb .frame.shop .content .ln{height:4px;background:var(--rb-line);border-radius:1px}
.layout-thumb .frame.shop .content .ln.short{width:60%}
.layout-thumb .frame.shop .content .ln.long{width:90%}
.layout-thumb .frame.shop .content .ln.cta{height:8px;width:40%;background:var(--rb-orange);border-radius:1px;margin-top:2px}
.layout-thumb .frame.shop.about .content .img-blk{flex:1;background:linear-gradient(120deg,#FFF4E6,#FFB870);border-radius:2px;min-height:18px}
.layout-thumb .frame.shop.contact .content .form-blk{flex:1;display:grid;grid-template-rows:repeat(3,1fr);gap:2px}
.layout-thumb .frame.shop.contact .content .form-blk .field{background:var(--rb-bg-soft);border:1px solid var(--rb-line);border-radius:1px}
.layout-thumb .frame.shop.newsletter .content{align-items:center;justify-content:center;text-align:center;padding:8px}
.layout-thumb .frame.shop.newsletter .content .pill{height:10px;width:80%;background:var(--rb-orange);border-radius:5px;margin-top:4px}
.layout-thumb .frame.shop .sidebar{display:flex;flex-direction:column;gap:2px;padding:4px}
.layout-thumb .frame.shop .sidebar .ln{height:4px;background:var(--rb-line);border-radius:1px}

/* ============================================================
   FEATURE-STATUS PILLS — used by 05-features-catalog.html
   to flag a feature as NEW / cross-ref to component / cross-theme.
   ============================================================ */
.feature-status{
  display:inline-block;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;
  padding:3px 8px;border-radius:3px;line-height:1
}
.feature-status.new{background:#E8F8EE;color:#0F7B30;border:1px solid #BFE6CC}
.feature-status.crossref{background:var(--rb-bg-soft);color:var(--rb-muted);border:1px solid var(--rb-line)}
.feature-status.crosstheme{background:#FFF4D6;color:#A06000;border:1px solid #F4DCA0}

/* Feature card frames — reuse .layout-thumb but with smaller frame variants */
.layout-thumb .frame.feature{aspect-ratio:1.5;display:flex;align-items:center;justify-content:center;padding:8px;flex-direction:column;gap:4px}
.layout-thumb .frame.feature .label{font-size:9px;color:var(--rb-muted);font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.layout-thumb .frame.feature .blk{width:100%;border-radius:2px}
.layout-thumb .frame.feature .blk.code{background:#1A1A2E;color:#0F7B30;font-family:'SF Mono',ui-monospace,monospace;font-size:8px;padding:6px;text-align:left}
.layout-thumb .frame.feature .blk.divider{height:2px;background:var(--rb-line)}
.layout-thumb .frame.feature .blk.dashed{border:1px dashed var(--rb-orange);background:var(--rb-orange-soft);height:16px;display:flex;align-items:center;justify-content:center;font-size:9px;color:var(--rb-orange-dark);font-weight:700}
.layout-thumb .frame.feature .video-bg{
  width:100%;aspect-ratio:2;background:linear-gradient(120deg,#1A1A2E,#374151);border-radius:2px;
  display:flex;align-items:center;justify-content:center;color:#fff;font-size:14px;position:relative
}
.layout-thumb .frame.feature .video-bg::before{content:'▶';opacity:.85}
.layout-thumb .frame.feature .video-bg .header-overlay{
  position:absolute;top:0;left:0;right:0;height:30%;background:rgba(255,255,255,.12);backdrop-filter:blur(4px)
}
.layout-thumb .frame.feature .transparent-header{
  width:100%;height:18px;background:rgba(255,140,0,.2);border:1px solid var(--rb-orange);border-radius:2px;
  display:flex;align-items:center;justify-content:center;font-size:8px;color:var(--rb-orange-dark);font-weight:800
}
.layout-thumb .frame.feature .transparent-header + .body{
  width:100%;flex:1;background:linear-gradient(120deg,var(--rb-orange-soft),#FFE0B8);border-radius:2px
}
.layout-thumb .frame.feature.crosstheme{background:#FFFDF5;opacity:.7}
.layout-thumb.crosstheme{opacity:.7;border-style:dashed}
.layout-thumb.crosstheme .frame{background:#FFFDF5}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1100px){
  .carousel-row,.carousel-row.cols-4{grid-template-columns:repeat(3,1fr)}
  .brand-row{grid-template-columns:repeat(3,1fr)}
  .foot-grid,.news-inner{grid-template-columns:1fr;gap:24px}
  .news-form{min-width:0;width:100%}
  .inline-mkt{grid-template-columns:1fr}
}
@media (max-width:680px){
  .top-utility-inner{grid-template-columns:1fr;text-align:center}
  .main-head-inner{grid-template-columns:1fr;gap:14px}
  .main-nav-inner{overflow-x:auto;gap:18px}
  .carousel-row,.carousel-row.cols-4{grid-template-columns:repeat(2,1fr)}
  .brand-row{grid-template-columns:repeat(2,1fr)}
  .foot-bottom-inner{flex-direction:column;text-align:center}
  .trust-row{justify-content:center;text-align:center}
}
