/* ==============================================
   BLACK ARROW 3D — store section
   Reuses site tokens (styles.css must load first).
   Adds only what's specific to a product catalog:
   layered/print-line motifs, product cards, cart UI.
   No new brand colors — gold accent + existing CTA green.
   ============================================== */

/* Base .overline (styles.css) defaults to black text — invisible on this
   section's dark background wherever a page doesn't already override it. */
.b3d-layer-bg .overline {
  color: var(--clr-accent) !important;
}

/* The base .container (styles.css) caps at 1200px, tuned for the main
   B2B site's dense text sections. The 3D storefront is a product catalog —
   on large monitors that cap left huge empty margins beside the grid, so
   widen it here (grids/cards benefit from the space; article/account
   content already self-constrains via .b3d-article / .b3d-account). */
.b3d-layer-bg .container { max-width: min(1900px, 94vw); }

/* Site-wide .section-header h2 clamps up to 3.5rem (56px) — sized for the
   main B2B site's sparser sections. On this denser product catalog that
   towers over the cards below it, so cap it to the 42-48px desktop range
   here only (scoped to this page's dark background, not the whole site). */
.b3d-layer-bg .section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
}
.b3d-layer-bg .section-header {
  margin-bottom: 40px;
}

/* Was a repeating-line texture behind every element on every page — kept
   flat here so the .b3d-band--a radial glow (used sparingly) reads as the
   page's one accent texture instead of competing with it everywhere. */
.b3d-layer-bg {
  position: relative;
  background: var(--clr-navy);
}

.b3d-hero {
  padding: 90px 0 70px;
  text-align: center;
}

.b3d-hero--split { text-align: left; padding: 60px 0 50px; }

.b3d-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: center;
}

@media (max-width: 960px) {
  .b3d-hero__grid { grid-template-columns: 1fr; }
}

.b3d-hero--split .b3d-hero__eyebrow { justify-content: flex-start; }
.b3d-hero--split h1 { text-align: left; margin: 0 0 18px; }
.b3d-hero--split p { text-align: left; margin: 0 0 32px; max-width: 520px; }
.b3d-hero--split .b3d-hero__actions { justify-content: flex-start; }

.b3d-hero__media {
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 6px rgba(245,158,11,.1), 0 30px 60px -20px rgba(0,0,0,.55);
}

.b3d-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 960px) {
  .b3d-hero__media { max-width: 420px; margin: 0 auto; }
}

.b3d-quick-pill {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(245,158,11,.25);
  color: rgba(255,255,255,.8);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.b3d-quick-pill[aria-pressed="true"] { background: var(--clr-accent); border-color: var(--clr-accent); color: #1a1a1a; }
.b3d-quick-pill:hover { border-color: var(--clr-accent); }
.b3d-quick-pill:disabled, .b3d-quick-pill.is-out { opacity: .55; cursor: not-allowed; border-style: dashed; }
.b3d-quick-pill.is-out { cursor: pointer; }
.b3d-quick-pill.is-out[aria-pressed="true"] { opacity: .8; }
.b3d-quick-pill:disabled:hover { border-color: inherit; }

.b3d-swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4);
  cursor: pointer;
  padding: 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,.5), 0 1px 3px rgba(0,0,0,.4) inset;
}
.b3d-swatch:hover { border-color: rgba(255,255,255,.7); }
.b3d-swatch[aria-pressed="true"] { border-color: var(--clr-accent); box-shadow: 0 0 0 2px var(--clr-accent); }
.b3d-swatch.is-unavailable { opacity: .55; cursor: pointer; position: relative; overflow: hidden; }
.b3d-swatch.is-unavailable::after { content: ''; position: absolute; left: 50%; top: 50%; width: 140%; height: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.55); transform: translate(-50%, -50%) rotate(-45deg); }

.b3d-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--clr-accent);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.b3d-hero__eyebrow::before,
.b3d-hero__eyebrow::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--clr-accent);
}

.b3d-hero h1 {
  color: var(--clr-white);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin-bottom: 18px;
  text-wrap: balance;
}

.b3d-hero h1 em {
  font-style: normal;
  color: var(--clr-accent);
}

.b3d-hero p {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto 32px;
}

.b3d-hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Homepage section bands — alternates two distinct full-bleed treatments
   so "Shop by Category", "Shop by Brand" etc. read as separate sections
   instead of one continuous scroll on the same flat background. */
.b3d-band {
  position: relative;
  padding: 50px 0;
}
.b3d-band::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,158,11,.3), transparent);
}
.b3d-band--a {
  background:
    radial-gradient(ellipse 900px 420px at 50% -12%, rgba(245,158,11,.10), transparent 65%),
    var(--clr-navy);
}
.b3d-band--b {
  background: #121212;
  box-shadow: inset 0 1px 40px rgba(0,0,0,.4);
}

@media (max-width: 720px) {
  .b3d-band { padding: 44px 0; }
}

/* Category tiles on the hub page */
.b3d-cats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.b3d-cat-tile {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(245,158,11,.2);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  text-decoration: none;
  transition: var(--transition);
}

.b3d-cat-tile:hover {
  background: rgba(245,158,11,.08);
  border-color: var(--clr-accent);
  transform: translateY(-4px);
}

.b3d-cat-tile__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  color: var(--clr-accent);
}

.b3d-cat-tile h3 {
  color: var(--clr-white);
  font-size: 1rem;
  margin-bottom: 6px;
}

.b3d-cat-tile p {
  color: rgba(255,255,255,.6);
  font-size: .82rem;
  margin: 0;
}

.b3d-cat-tile.is-soon {
  position: relative;
  opacity: .55;
  cursor: default;
}
.b3d-cat-tile__soon {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(245,158,11,.15);
  color: var(--clr-accent);
  font-size: .68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}
html[dir="rtl"] .b3d-cat-tile__soon { right: auto; left: 12px; }

/* Product grid */
.b3d-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.b3d-toolbar__count {
  color: rgba(255,255,255,.6);
  font-size: .88rem;
}

.b3d-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.b3d-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.b3d-card {
  position: relative;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(245,158,11,.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.b3d-card__stretched-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.b3d-card__footer {
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.b3d-card__footer button,
.b3d-card__footer a {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.b3d-card:hover {
  border-color: var(--clr-accent);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
}

.b3d-card__visual {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  position: relative;
}

.b3d-card__visual svg {
  width: 72px;
  height: 72px;
  color: var(--clr-navy);
  opacity: .5;
}

.b3d-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.b3d-card__visual-placeholder {
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  border: 2px dashed rgba(26,26,26,.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(26,26,26,.45);
  font-size: .82rem;
  font-weight: 600;
}

.b3d-stock-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: .68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 2;
}

.b3d-stock-badge.b3d-stock-badge--out { background: #b91c1c; color: #fff; border: 1px solid #fff; }

.b3d-card__body {
  padding: 20px 20px 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.b3d-card__cat {
  color: var(--clr-accent);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 6px;
}

.b3d-card__body h3 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.b3d-card__body h3 a {
  color: inherit;
  text-decoration: none;
}

.b3d-card__body p {
  color: rgba(255,255,255,.72);
  font-size: .8rem;
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.b3d-card__meta-line {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.45);
  font-size: .7rem;
  margin-top: auto;
  padding-top: 10px;
  flex-wrap: wrap;
  row-gap: 2px;
}
.b3d-card__meta-line span { overflow-wrap: anywhere; }
.b3d-card__meta-line span:not(:last-child)::after { content: '\00b7'; margin-left: 6px; color: rgba(255,255,255,.3); }

.b3d-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.b3d-price {
  color: #fff;
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1.15rem;
  white-space: nowrap;
}

.b3d-price small {
  color: rgba(255,255,255,.5);
  font-size: .68rem;
  font-weight: 500;
  margin-left: 3px;
}

.b3d-btn-add {
  background: var(--clr-cta);
  color: #fff;
  border: none;
  padding: 9px 16px;
  border-radius: var(--radius-md);
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  display: inline-block;
  text-decoration: none;
}

.b3d-btn-add:hover { background: var(--clr-cta-dark); }
.b3d-btn-add:disabled { background: rgba(255,255,255,.1); color: rgba(255,255,255,.4); cursor: not-allowed; }

/* Product detail */
.b3d-pd {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 860px) {
  .b3d-pd { grid-template-columns: 1fr; }
}

.b3d-pd__visual {
  aspect-ratio: 4 / 5;
  max-width: 480px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f3f0;
  border: 1px solid rgba(245,158,11,.2);
  position: relative;
}

.b3d-pd__visual svg { width: 45%; height: 45%; color: var(--clr-navy); opacity: .5; }
.b3d-pd__visual img { width: 100%; height: 100%; object-fit: contain; padding: 8px; overflow: hidden; border-radius: var(--radius-lg); }

.b3d-pd__visual--art { background: #111; }
.b3d-pd__visual--art img { object-fit: cover; padding: 0; }
.b3d-pd__visual--art.is-wide img { object-fit: contain; }
.b3d-pd__visual .b3d-card__visual-placeholder { width: calc(100% - 16px); height: calc(100% - 16px); font-size: .95rem; }

.b3d-pd__cat { color: var(--clr-accent); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.b3d-pd__title { color: #fff; font-size: 2rem; margin-bottom: 14px; text-wrap: balance; }
.b3d-pd__price { color: #fff; font-family: var(--ff-heading); font-size: 1.8rem; font-weight: 700; margin-bottom: 18px; }
.b3d-pd__desc { color: rgba(255,255,255,.8); font-size: 1rem; line-height: 1.85; margin-bottom: 24px; }

.b3d-bundle-pick { margin-bottom: 24px; }
.b3d-bundle-pick h2 { color: #fff; font-size: 1.1rem; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.b3d-bundle-pick__count { font-size: .78rem; font-weight: 700; color: var(--clr-accent); font-variant-numeric: tabular-nums; }
.b3d-bundle-pick__hint { color: rgba(255,255,255,.55); font-size: .82rem; margin-bottom: 14px; }
.b3d-bundle-pick__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.b3d-bundle-pick__item {
  position: relative; background: rgba(255,255,255,.04); border: 1px solid rgba(245,158,11,.22);
  border-radius: var(--radius-md); overflow: hidden; cursor: pointer; padding: 0; text-align: center;
  transition: var(--transition);
}
.b3d-bundle-pick__item img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: #f4f3f0; }
.b3d-bundle-pick__name { display: block; color: #fff; font-size: .68rem; font-weight: 600; padding: 6px 6px 8px; line-height: 1.25; }
.b3d-bundle-pick__check {
  position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff; font-size: .7rem; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(.6); transition: var(--transition);
}
.b3d-bundle-pick__item.is-selected { border-color: var(--clr-cta); box-shadow: 0 0 0 2px var(--clr-cta) inset; }
.b3d-bundle-pick__item.is-selected .b3d-bundle-pick__check { opacity: 1; transform: scale(1); background: var(--clr-cta); }
.b3d-bundle-pick__disabled-hint { color: var(--clr-accent); font-size: .82rem; margin-top: -12px; margin-bottom: 20px; }
.b3d-bundle-pick__price-row {
  margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-md);
  background: rgba(4,120,87,.1); border: 1px solid rgba(4,120,87,.3);
  display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; font-size: .86rem; color: #fff;
}
.b3d-bundle-pick__price-row b { font-family: var(--ff-heading); color: var(--clr-cta); }
.b3d-bundle-pick__save { color: var(--clr-cta); font-weight: 700; }
main.b3d-light .b3d-bundle-pick__price-row { color: #111; }
html[dir="rtl"] .b3d-bundle-pick__check { right: auto; left: 6px; }

.b3d-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(245,158,11,.3);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.b3d-qty button {
  background: rgba(255,255,255,.04);
  color: #fff;
  border: none;
  width: 38px;
  height: 40px;
  font-size: 1.1rem;
  cursor: pointer;
}

.b3d-qty button:hover { background: rgba(245,158,11,.15); }

.b3d-qty input {
  width: 48px;
  height: 40px;
  text-align: center;
  background: transparent;
  border: none;
  border-left: 1px solid rgba(245,158,11,.3);
  border-right: 1px solid rgba(245,158,11,.3);
  color: #fff;
  font-size: .95rem;
}

.b3d-pd__actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin: 26px 0; }
.b3d-pd__contact-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 0 0 26px; }

.b3d-pd__visual.is-zoomable { cursor: zoom-in; }

.b3d-zoom-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10,10,10,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.b3d-zoom-overlay[hidden] { display: none; }
.b3d-zoom-overlay img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--radius-md); }
.b3d-zoom-overlay__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.b3d-zoom-overlay__close:hover { background: rgba(255,255,255,.2); }

.b3d-spec-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.b3d-spec-table td { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.85); font-size: .9rem; }
.b3d-spec-table td:first-child { color: rgba(255,255,255,.5); width: 40%; }

/* Cart page */
.b3d-cart-list { display: flex; flex-direction: column; gap: 16px; grid-column: 1; grid-row: 1; }

.b3d-cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 18px;
  align-items: center;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(245,158,11,.15);
  border-radius: var(--radius-md);
  padding: 16px;
}

@media (max-width: 640px) {
  .b3d-cart-item { grid-template-columns: 56px 1fr; grid-template-areas: "img name" "img qty" "img price"; }
}

.b3d-cart-item__visual {
  width: 80px; height: 80px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #262420 0%, #17150f 100%);
  flex-shrink: 0;
}

.b3d-cart-item__visual svg { width: 40px; height: 40px; color: var(--clr-accent); }
.b3d-cart-item__visual img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }

.b3d-cart-item__name { color: #fff; font-weight: 600; font-size: .95rem; margin-bottom: 4px; }
.b3d-cart-item__cat { color: rgba(255,255,255,.5); font-size: .78rem; }
.b3d-cart-item__preorder { color: var(--clr-accent); font-weight: 700; }
.b3d-cart-item__price { color: #fff; font-weight: 700; font-family: var(--ff-heading); white-space: nowrap; }
.b3d-cart-item__remove { background: none; border: none; color: rgba(255,255,255,.65); cursor: pointer; font-size: .78rem; text-decoration: underline; margin-top: 6px; }
.b3d-cart-item__remove:hover { color: #f87171; }
.b3d-cart-item__bundle { color: rgba(255,255,255,.7); font-size: .8rem; margin-top: 4px; }
.b3d-cart-item__bundle--warn { color: var(--clr-accent); font-weight: 700; }
.b3d-cart-item__bundle-edit { display: inline-block; color: var(--clr-accent); font-size: .76rem; text-decoration: underline; margin-top: 2px; margin-right: 12px; }

.b3d-cart-crosssell {
  grid-column: 1;
  grid-row: 2;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(245,158,11,.2);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}
.b3d-cart-crosssell h3 { color: #fff; font-size: 1.05rem; margin-bottom: 4px; }
.b3d-cart-crosssell p { color: rgba(255,255,255,.6); font-size: .84rem; margin-bottom: 16px; }
.b3d-cart-crosssell .b3d-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }

.b3d-cart-summary {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(245,158,11,.25);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 100px;
  grid-column: 2;
  grid-row: 1 / 3;
}
@media (max-width: 860px) {
  .b3d-cart-list, .b3d-cart-crosssell, .b3d-cart-summary { grid-column: 1; }
  .b3d-cart-summary { grid-row: auto; }
}

.b3d-cart-summary h3 { color: #fff; font-size: 1.1rem; margin-bottom: 20px; }
.b3d-cart-summary__row { display: flex; justify-content: space-between; color: rgba(255,255,255,.75); font-size: .9rem; margin-bottom: 10px; }
.b3d-cart-summary__total { display: flex; justify-content: space-between; color: #fff; font-weight: 700; font-size: 1.15rem; padding-top: 14px; margin-top: 8px; border-top: 1px solid rgba(255,255,255,.1); }

.b3d-empty { text-align: center; padding: 60px 20px; color: rgba(255,255,255,.6); }
.b3d-empty svg { width: 64px; height: 64px; color: rgba(245,158,11,.4); margin-bottom: 20px; }

/* Site-wide 3D nav — single-row: brand left, links center, action pills right */
.navbar {
  height: auto !important;
  padding: 14px 0;
}

.navbar__inner {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap;
  padding: 0 24px;
  width: 100%;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar__brand-icon {
  width: 34px;
  height: 23px;
  color: var(--clr-accent);
  flex-shrink: 0;
}

.navbar__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.navbar__brand-text .name {
  font-weight: 800;
  color: #1a1a1a;
  font-size: 1.15rem;
  letter-spacing: .01em;
  white-space: nowrap;
}

/* var(--clr-accent) reads ~2.2:1 on this white navbar (fine on the dark
   backgrounds it's used everywhere else) — darkened here only, so the
   logo text still meets 4.5:1 without touching the accent color site-wide. */
.navbar__brand-text .name .accent { color: #B45309; }

.navbar__brand-text .sub {
  font-size: .62rem;
  font-weight: 700;
  color: #888;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.navbar__links {
  display: flex;
  gap: clamp(10px, 1.1vw, 22px);
  list-style: none;
  align-items: center;
  flex-wrap: nowrap;
  min-width: 0;
}

.navbar__links > li > a {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 700;
  font-size: .88rem;
  white-space: nowrap;
}

.navbar__links > li > a:hover { color: var(--clr-accent-dark); }
@media (max-width: 1500px) { .navbar__links > li > a { font-size: .82rem; } .navbar__inner { gap: 12px; padding: 0 16px; } .navbar__right { gap: 6px; } }

.navbar__right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.navbar__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  position: relative;
}

.navbar__pill:hover { background: #000; }
.navbar__pill svg { width: 15px; height: 15px; }

/* Absolutely positioned so the item-count badge overlays the pill instead
   of adding to its flex width — on mobile the pill is already at its
   tightest fit, and a badge that widens the pill on add-to-cart was
   pushing the whole cart button off the right edge of the screen. */
.navbar__pill-badge {
  position: absolute;
  top: -5px;
  inset-inline-end: -5px;
  background: var(--clr-accent);
  color: #1a1a1a;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #1a1a1a;
}

header .navbar__pill-badge { border-color: #000; }

/* Same [hidden]-vs-class specificity tie as the old cart badge — an
   author class rule beats the UA [hidden] rule regardless of order,
   so this override is required or the badge never actually hides. */
.navbar__pill-badge[hidden] {
  display: none;
}

.navbar__dropdown { position: relative; list-style: none; }

.navbar__dropdown summary {
  cursor: pointer;
  list-style: none;
  color: #1a1a1a;
  font-weight: 700;
  font-size: .88rem;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 999px;
  padding: 8px 16px;
}

.navbar__dropdown[open] summary,
.navbar__dropdown summary:hover { border-color: var(--clr-accent); }

.navbar__dropdown summary::-webkit-details-marker { display: none; }
.navbar__dropdown summary::after { content: '▾'; font-size: .7em; color: var(--clr-accent-dark); }
.navbar__dropdown[open] summary::after { content: '▴'; }

.navbar__dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
  padding: 10px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 1001;
}

.navbar__dropdown-menu a {
  color: #1a1a1a;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 6px;
}

.navbar__dropdown-menu a:hover { background: rgba(245,158,11,.1); color: var(--clr-accent-dark); }

.navbar__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

.navbar__toggle svg { width: 24px; height: 24px; }

@media (max-width: 1365px) {
  .navbar__toggle { display: inline-flex; }

  /* Below 1365px .navbar__links (3D Printers, Filaments, Accessories, 3D
     Artwork, Brands, Blog) had no replacement, so phones and tablets lost
     all category navigation from the header. .navbar__toggle opens it as a
     dropdown panel instead of hiding it outright. */
  .navbar__links {
    display: none !important;
  }

  /* header .navbar is always black with white link text (not just on a
     hero overlay), so the dropdown panel stays on that same dark background
     rather than the light .navbar__dropdown-menu styling - a white panel
     here would make every link white-on-white and invisible. */
  .navbar__links.is-open {
    display: flex !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #000;
    padding: 8px 16px 16px;
    border-top: 1px solid rgba(245,158,11,.4);
    box-shadow: 0 16px 28px rgba(0,0,0,.5);
    z-index: 1000;
    max-height: calc(100vh - 100%);
    overflow-y: auto;
  }

  .navbar__links.is-open > li > a,
  .navbar__links.is-open > li > button,
  .navbar__links.is-open .navbar__dropdown > summary {
    display: block;
    width: 100%;
    text-align: start;
    background: transparent;
    border: none;
    color: #fff;
    font-family: inherit;
    padding: 13px 8px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
    cursor: pointer;
  }

  .navbar__links.is-open .navbar__dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 8px 16px;
  }

  .navbar__links.is-open .navbar__dropdown-menu a {
    color: #fff;
  }

  .navbar__links.is-open .navbar__dropdown-menu a:hover {
    background: rgba(245,158,11,.15);
    color: var(--clr-accent);
  }
}

@media (max-width: 560px) {
  .navbar__brand-text .sub { display: none; }
  .navbar__pill span.navbar__pill-label { display: none; }
  .navbar__inner { padding: 0 10px; gap: 8px; }
  .navbar__pill { padding: 8px 11px; }
  .navbar__brand-text .name { font-size: 1rem; }
  .navbar__brand-icon { width: 28px; }
  .navbar__right { gap: 6px; }

  /* The Profile/Cart pills carry real icons, so icon-only still reads
     clearly at 44px; "AR"/"EN" is just two letters, so it's kept a notch
     smaller here to leave room for Profile + Cart without overflowing a
     360-390px phone. */
  .navbar__right .navbar__pill--lang {
    min-width: 34px;
    width: 34px;
    height: 34px;
    padding: 0;
    justify-content: center;
    font-size: .72rem;
  }
}

/* ==============================================
   RTL (Arabic) — flex/grid axes already mirror
   automatically under dir="rtl"; these rules cover
   the handful of things that don't (explicit
   text-align, absolutely-positioned elements, and
   the breadcrumb separator glyph).
   ============================================== */
html[dir="rtl"] [style*="text-align:left"] { text-align: right !important; }
html[dir="rtl"] [style*="text-align: left"] { text-align: right !important; }

html[dir="rtl"] .navbar__dropdown-menu { left: auto; right: 0; }

html[dir="rtl"] .breadcrumb span:not(:last-child) { display: inline-block; transform: scaleX(-1); }

html[dir="rtl"] .b3d-hero__eyebrow::before,
html[dir="rtl"] .b3d-hero__eyebrow::after { content: ''; }

html[dir="rtl"] .b3d-slider__arrow--prev { left: auto; right: 14px; }
html[dir="rtl"] .b3d-slider__arrow--next { right: auto; left: 14px; }

html[dir="rtl"] .b3d-stock-badge,
html[dir="rtl"] .b3d-corner-badge--featured,
html[dir="rtl"] .b3d-corner-badge--sale { right: auto; left: 12px; }
html[dir="rtl"] .b3d-stock-badge { left: 12px; right: auto; }
html[dir="rtl"] .b3d-corner-badge { left: 12px; right: auto; }

/* ==============================================
   Motion control — respects both the header toggle
   and prefers-reduced-motion. Anything decorative
   (slider autoplay is gated in JS; this CSS layer
   kills transitions/animations/hover-scale) checks
   the html[data-b3d-motion] attribute.
   ============================================== */
html[data-b3d-motion="off"] .b3d-card,
html[data-b3d-motion="off"] .b3d-cat-tile,
html[data-b3d-motion="off"] .b3d-card__visual img {
  transition: none !important;
  animation: none !important;
  transform: none !important;
}

/* The promo slider's transform isn't decorative — it's how the visitor
   actually reaches other slides' content, so "reduce motion" only
   removes the sliding animation here (see .b3d-slider__track rule
   below), not the transform itself. Blocking transform too would
   permanently freeze the slider on slide 1 while the dots kept
   cycling underneath it. */
html[data-b3d-motion="off"] [data-slider-track] {
  transition: none !important;
}


/* Announcement bar */
.b3d-announce {
  background: var(--clr-accent);
  color: #1a1a1a;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  height: 38px;
  display: flex;
  align-items: center;
}

.b3d-announce__track {
  display: inline-flex;
  gap: 60px;
  padding-left: 16px;
  animation: b3d-marquee 34s linear infinite;
  font-size: .84rem;
  font-weight: 700;
}

.b3d-announce[data-paused="true"] .b3d-announce__track {
  animation-play-state: paused;
}

@keyframes b3d-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
  .b3d-announce__track:not(.b3d-announce__track--run) { animation: none; padding-left: 16px; }
}

/* Running ticker (built by initAnnouncementBar): messages repeat end to end
   and script slides the track by half its length for a seamless loop. */
.b3d-announce__track--run { gap: 0; padding-left: 0; animation: none !important; will-change: transform; }
.b3d-announce__track--run > span { padding-inline-end: 64px; }

/* Promo slider */
.b3d-slider {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(245,158,11,.35);
  outline: none;
}

.b3d-slider__track {
  display: flex;
  transition: transform .5s ease;
}

/* One quiet dark surface for every slide — a single warm glow instead of a
   different accent hue and striped texture per slide, so the product,
   price and CTA read as premium rather than competing for attention. */
.b3d-slide {
  min-width: 100%;
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  align-items: center;
  gap: 40px;
  padding: 44px 48px;
  background:
    radial-gradient(circle at 75% 45%, rgba(245,158,11,.09), transparent 38%),
    #242522;
  --slide-accent: var(--clr-accent);
}

@media (max-width: 720px) {
  .b3d-slide { grid-template-columns: 1fr; text-align: center; padding: 28px 22px; gap: 22px; }
}

/* Image-only slide — just the picture, no copy/CTA/badges. */
.b3d-slide--img-only {
  display: block;
  padding: 0;
  min-height: 0;
  aspect-ratio: 16 / 9;
  background: #111;
}
.b3d-slide--img-only img { width: 100%; height: 100%; object-fit: contain; display: block; }
.b3d-slide--img-only a { display: block; width: 100%; height: 100%; }

/* Hero variant — the slider fills the existing square hero media box,
   so it borrows that box's radius/shadow instead of drawing its own. */
.b3d-slider--hero {
  height: 100%;
  border-radius: 0;
  border: none;
}
.b3d-slider--hero .b3d-slider__track { height: 100%; }
.b3d-slider--hero .b3d-slide--img-only {
  aspect-ratio: auto;
  height: 100%;
}
.b3d-slider--hero .b3d-slide--img-only img { object-fit: cover; }

.b3d-slide__content { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; max-width: 440px; }
@media (max-width: 720px) { .b3d-slide__content { align-items: center; max-width: none; } }

.b3d-slide__top { display: flex; align-items: center; gap: 14px; }
@media (max-width: 720px) { .b3d-slide__top { justify-content: center; } }
.b3d-slide__brand-logo { height: 22px; width: auto; opacity: .9; }

.b3d-slide__label {
  background: color-mix(in srgb, var(--clr-accent) 16%, transparent);
  color: var(--clr-accent);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 6px 14px;
  border-radius: 999px;
}

.b3d-slide__media {
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  display: grid;
  place-items: center;
  padding: 28px;
  overflow: hidden;
  background: #f4f4f1;
}

.b3d-slide__media-label {
  color: var(--clr-accent);
  font-size: .85rem;
  font-weight: 700;
}

.b3d-slide__media-hint { color: rgba(255,255,255,.6); font-size: .74rem; }

.b3d-slide__media img { width: 82%; height: 82%; object-fit: contain; }

.b3d-slide__label--preorder { background: var(--clr-accent); color: #1a1a1a; }
.b3d-slide__price { color: rgba(255,255,255,.6); font-size: 1rem; margin: 0; }
.b3d-slide__price strong { color: #fff; font-size: 2rem; margin-left: 8px; }

.b3d-slide__title { margin: 0; color: #fff; font-size: clamp(2rem, 3vw, 3rem); font-weight: 700; font-family: var(--ff-heading); line-height: 1.1; letter-spacing: -.01em; text-wrap: balance; }
.b3d-slide__title em { color: var(--clr-accent); font-style: normal; }
.b3d-slide p { margin: 0; color: rgba(255,255,255,.82); font-size: 1.05rem; line-height: 1.65; max-width: 40ch; }

.b3d-slide__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 4px; }
.b3d-slide__secondary { color: rgba(255,255,255,.75); font-size: .92rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.b3d-slide__secondary:hover { color: #fff; }
@media (max-width: 720px) { .b3d-slide__actions { justify-content: center; } }

@media (max-width: 720px) {
  .b3d-slide__title { font-size: 1.8rem; }
  .b3d-slide p { font-size: .95rem; max-width: none; }
  .b3d-slide__actions .btn { width: 100%; min-height: 48px; }
}

.b3d-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.5);
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  cursor: pointer;
  z-index: 2;
}
.b3d-slider__arrow:hover { background: rgba(0,0,0,.7); }

.b3d-slider__arrow--prev { left: 14px; }
.b3d-slider__arrow--next { right: 14px; }

/* Dots and pause/play share one control cluster at bottom-center instead of
   the pause button sitting alone at the far edge. */
.b3d-slider__controls {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
  background: rgba(0,0,0,.35);
  padding: 6px 10px;
  border-radius: 999px;
}

.b3d-slider__dots {
  display: flex;
  gap: 8px;
}

.b3d-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
}

.b3d-slider__dot.is-active { background: var(--clr-accent); }

/* Category tabs (catalog) */
.b3d-cat-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.b3d-cat-tabs button, .b3d-cat-tabs a {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.8);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.b3d-cat-tabs button[aria-pressed="true"],
.b3d-cat-tabs a[aria-current], .b3d-cat-tabs a.is-active {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  color: #1a1a1a;
}

/* Toolbar controls: brand select, sort, filter toggle */
.b3d-toolbar__controls { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.b3d-select {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  padding: 9px 14px;
  border-radius: var(--radius-md);
  font-size: .85rem;
  font-weight: 600;
}
.b3d-select option {
  color: #1a1a1a;
  background: #fff;
}

.b3d-shop-search {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  padding: 9px 14px;
  border-radius: var(--radius-md);
  font-size: .85rem;
  min-width: 220px;
  flex: 1;
  max-width: 340px;
}

.b3d-filter-toggle {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  padding: 9px 16px;
  border-radius: var(--radius-md);
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
}

.b3d-filter-panel {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(245,158,11,.2);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
}

.b3d-filter-panel[hidden] { display: none; }

.b3d-filter-panel fieldset { border: none; }
.b3d-filter-panel legend { color: var(--clr-accent); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.b3d-filter-panel label { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.8); font-size: .85rem; margin-bottom: 8px; }
.b3d-filter-panel input[type="number"] { width: 80px; background: rgba(255,255,255,.05); border: 1px solid rgba(245,158,11,.3); color: #fff; padding: 6px 8px; border-radius: 6px; }
.b3d-filter-panel .b3d-select { width: 100%; }

.b3d-filter-panel__actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.08);
}

@media (max-width: 640px) {
  .b3d-filter-panel {
    position: fixed;
    inset: 0;
    z-index: 1200;
    margin: 0;
    border-radius: 0;
    grid-template-columns: 1fr;
    overflow-y: auto;
    padding: 20px 20px 90px;
    background: var(--clr-navy);
  }
  .b3d-filter-panel__actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--clr-navy);
    padding: 14px 20px;
    border-top: 1px solid rgba(245,158,11,.3);
    z-index: 1201;
  }
  .b3d-filter-panel__actions .btn { flex: 1; }
}

/* Trust strip — one compact line; scrolls horizontally rather than
   wrapping into extra rows, so it never grows taller than its icons. */
.b3d-trust-strip {
  display: flex;
  align-items: center;
  gap: 22px;
  overflow-x: auto;
  scrollbar-width: none;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  margin-bottom: 18px;
}
.b3d-trust-strip::-webkit-scrollbar { display: none; }
.b3d-trust-strip__item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.75);
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.b3d-trust-strip__item a { display: flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; border-bottom: 1px dotted rgba(255,255,255,.4); }
.b3d-trust-strip__item a:hover { color: var(--clr-accent); border-color: var(--clr-accent); }
.b3d-trust-strip__icon { font-size: 1rem; }

/* Shop header: title/breadcrumb beside the intro line instead of stacked */
.b3d-shop-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.b3d-shop-head__title .breadcrumb { margin-bottom: 6px; }
.b3d-shop-head__title h1 { color: #fff; font-size: 1.9rem; margin: 0; }
.b3d-shop-head__intro {
  color: rgba(255,255,255,.65);
  font-size: .92rem;
  line-height: 1.7;
  max-width: 420px;
  margin: 0;
  text-align: right;
}
html[dir="rtl"] .b3d-shop-head__intro { text-align: left; }
@media (max-width: 760px) {
  .b3d-shop-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .b3d-shop-head__intro { text-align: left; max-width: none; }
  html[dir="rtl"] .b3d-shop-head__intro { text-align: right; }
}

/* Unified shopping toolbar: category/search + filter/sort share one
   surface instead of two separate floating rows. */
.b3d-shop-toolbar {
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  margin-bottom: 24px;
}
.b3d-shop-toolbar__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.b3d-shop-toolbar__row--controls {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.b3d-filter-toggle__count {
  color: var(--clr-accent);
  font-weight: 800;
  margin-left: 4px;
}
html[dir="rtl"] .b3d-filter-toggle__count { margin-left: 0; margin-right: 4px; }
.b3d-filter-toggle.has-active-filters { border-color: var(--clr-accent); color: var(--clr-accent); }

/* Card additions: corner badges, specs list, extra actions */
.b3d-corner-badge {
  position: absolute;
  left: 12px;
  font-size: .66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
  padding: 4px 9px;
  border-radius: 999px;
  z-index: 2;
}

.b3d-corner-badge--bestseller { top: 10px; left: 10px; background: rgba(4,120,87,.95); color: #fff; }
.b3d-corner-badge--featured { top: 38px; background: rgba(245,158,11,.92); color: #1a1a1a; }
.b3d-corner-badge--sale { top: 66px; left: 10px; padding: 2px 8px; background: rgba(220,38,38,.92); color: #fff; }
.b3d-corner-badge--new { top: 94px; background: rgba(4,120,87,.92); color: #fff; }

.b3d-stock-badge--pre { background: rgba(245,158,11,.92); color: #1a1a1a; border: 1px solid var(--clr-accent); }

.b3d-card__specs { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-direction: column; gap: 4px; }
.b3d-card__specs li { display: flex; justify-content: space-between; font-size: .76rem; color: rgba(255,255,255,.55); }
.b3d-card__specs li span:first-child { color: rgba(255,255,255,.6); }

.b3d-riyal { display: inline-flex; align-items: center; vertical-align: -0.05em; }
.b3d-riyal svg { width: .62em; height: .68em; fill: currentColor; }

.b3d-price--sale { color: var(--clr-accent); }
.b3d-price-was { color: rgba(255,255,255,.6); font-size: .82rem; text-decoration: line-through; margin-left: 8px; }
.b3d-price-wrap { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.b3d-price-col { display: flex; flex-direction: column; gap: 2px; }
.b3d-price-block { display: flex; flex-direction: column; }
.b3d-vat-note { font-size: .68rem; color: rgba(255,255,255,.5); }
main.b3d-light .b3d-vat-note { color: rgba(0,0,0,.5); }
.b3d-pd__price-row + .b3d-vat-note { display: block; margin: -8px 0 16px; }

.b3d-card__whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--clr-whatsapp);
  color: #fff;
  flex-shrink: 0;
}
.b3d-card__whatsapp svg { width: 18px; height: 18px; fill: currentColor; }
.b3d-card__whatsapp:hover { filter: brightness(1.1); }

.b3d-card__actions { display: flex; align-items: center; gap: 8px; }
.b3d-btn-compare, .b3d-btn-wishlist {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.7);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  cursor: pointer;
  font-size: .95rem;
}
.b3d-btn-compare.is-active, .b3d-btn-wishlist.is-active { border-color: var(--clr-accent); color: var(--clr-accent); }

/* Pagination */
.b3d-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 32px; }
.b3d-page-btn {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(245,158,11,.25);
  color: rgba(255,255,255,.75);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}
.b3d-page-btn.is-active { background: var(--clr-accent); border-color: var(--clr-accent); color: #1a1a1a; }

/* Product detail: thumbnails, compat, warranty, ship/return */
.b3d-pd__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.b3d-pd__thumb { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; background: #f4f3f0; cursor: pointer; padding: 4px; }
.b3d-pd__thumb.is-active { border-color: var(--clr-accent); }
.b3d-pd__thumb img { width: 100%; height: 100%; object-fit: contain; }

.b3d-pd__compat, .b3d-pd__warranty, .b3d-pd__guides { margin-top: 20px; }
.b3d-pd__compat h2, .b3d-pd__warranty h2, .b3d-pd__guides h2 { color: #fff; font-size: 1rem; margin-bottom: 8px; }
.b3d-pd__compat ul { color: rgba(255,255,255,.75); padding-left: 18px; font-size: .9rem; }
.b3d-pd__warranty p { color: rgba(255,255,255,.75); font-size: .9rem; }
.b3d-pd__guides ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.b3d-pd__guides a { color: var(--clr-accent); font-size: .9rem; text-decoration: underline; }
.b3d-pd__guides a:hover { color: #fff; }

.b3d-pd__shipreturn { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); }
.b3d-pd__shipreturn strong { color: #fff; font-size: .88rem; }
.b3d-pd__shipreturn p { color: rgba(255,255,255,.6); font-size: .82rem; margin-top: 4px; }
.b3d-pd__shipreturn a { color: var(--clr-accent); }
@media (max-width: 500px) { .b3d-pd__shipreturn { grid-template-columns: 1fr; } }

.b3d-related__title { color: #fff; font-size: 1.3rem; margin: 50px 0 20px; }

/* Compare table */
.b3d-compare-table { width: 100%; border-collapse: collapse; }
.b3d-compare-table th, .b3d-compare-table td { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); text-align: left; color: rgba(255,255,255,.85); font-size: .88rem; }
.b3d-compare-table th { color: #fff; font-size: .95rem; }
.b3d-compare-table td:first-child, .b3d-compare-table th:first-child { color: rgba(255,255,255,.5); }

/* Payment methods (checkout layout — no gateway connected yet) */
.b3d-payment-methods { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-bottom: 18px; }
.b3d-pm {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(245,158,11,.2);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  color: rgba(255,255,255,.8);
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
}
.b3d-pm[aria-pressed="true"] { border-color: var(--clr-accent); background: rgba(245,158,11,.08); }
.b3d-pm[disabled] { opacity: .45; cursor: not-allowed; }
.b3d-pm__note { display: block; font-size: .68rem; font-weight: 500; color: rgba(255,255,255,.6); margin-top: 4px; }

.b3d-pm-detail { background: rgba(255,255,255,.03); border: 1px solid rgba(245,158,11,.2); border-radius: var(--radius-md); padding: 18px; margin-bottom: 18px; }
.b3d-pm-detail h4 { color: #fff; margin-bottom: 10px; }
.b3d-pm-detail p { color: rgba(255,255,255,.7); font-size: .85rem; line-height: 1.6; }
.b3d-pm-detail .b3d-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.b3d-pm-detail label { display: block; color: rgba(255,255,255,.5); font-size: .72rem; text-transform: uppercase; margin-bottom: 4px; }
.b3d-pm-detail input { width: 100%; background: rgba(255,255,255,.05); border: 1px solid rgba(245,158,11,.3); color: #fff; padding: 8px 10px; border-radius: 6px; }
@media (max-width: 500px) { .b3d-pm-detail .b3d-field-row { grid-template-columns: 1fr; } }

/* Account / login page */
.b3d-account { max-width: 440px; margin: 0 auto; }
.b3d-account__notice {
  background: rgba(245,158,11,.08);
  border: 1px solid rgba(245,158,11,.3);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  color: rgba(255,255,255,.8);
  font-size: .86rem;
  line-height: 1.6;
  margin-bottom: 24px;
}
.b3d-account__form { display: flex; flex-direction: column; gap: 14px; }
.b3d-account__form[hidden] { display: none; }
.b3d-account__form [hidden] { display: none !important; }
.b3d-account__form label { color: rgba(255,255,255,.6); font-size: .8rem; }
.b3d-account__form input,
.b3d-account__form textarea {
  width: 100%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(245,158,11,.3);
  color: #fff;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  font-size: .95rem;
  margin-top: 6px;
  font-family: inherit;
}
.b3d-account__form textarea { resize: vertical; min-height: 64px; }
.b3d-account__form .b3d-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.b3d-account__form label small { display: block; margin-top: 5px; }
@media (max-width: 500px) { .b3d-account__form .b3d-field-row { grid-template-columns: 1fr; } }
/* Checkout form: two columns on desktop, one on phones. Full-width rows span both. */
.b3d-checkout .b3d-account__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.b3d-checkout .b3d-account__form > .b3d-field-row,
.b3d-checkout .b3d-account__form > .b3d-checkout__save,
.b3d-checkout .b3d-account__form > .b3d-shipping-methods,
.b3d-checkout .b3d-account__form > h4,
.b3d-checkout .b3d-account__form > button,
.b3d-checkout .b3d-account__form > .b3d-checkout__success,
.b3d-checkout .b3d-account__form > .b3d-checkout__error,
.b3d-checkout .b3d-account__form > label:has(textarea) { grid-column: 1 / -1; }
@media (max-width: 500px) { .b3d-checkout .b3d-account__form { grid-template-columns: 1fr; } }

.b3d-checkout__login {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(245,158,11,.2);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: .85rem;
  color: rgba(255,255,255,.7);
}
.b3d-checkout__login[hidden] { display: none; }
.b3d-checkout__login a { color: var(--clr-accent); font-weight: 700; }
.b3d-checkout__signedin { color: rgba(255,255,255,.7); }
.b3d-checkout__signedin strong { color: #fff; }

.b3d-checkout__save {
  flex-direction: row !important;
  align-items: center;
  gap: 10px !important;
  font-size: .85rem !important;
  color: rgba(255,255,255,.7) !important;
}
.b3d-checkout__save input { width: auto !important; margin: 0 !important; }

.b3d-shipping-note {
  font-size: .82rem; color: var(--clr-accent); background: rgba(245,158,11,.1);
  border: 1px solid rgba(245,158,11,.3); border-radius: var(--radius-md); padding: 8px 12px; margin: 4px 0 10px;
}
.b3d-shipping-note.is-unlocked { color: var(--clr-cta); background: rgba(4,120,87,.12); border-color: rgba(4,120,87,.35); font-weight: 700; }
.b3d-shipping-methods { display: flex; flex-direction: column; gap: 10px; }
.b3d-shipping-option {
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(245,158,11,.25);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  cursor: pointer;
  color: #fff !important;
  font-size: .88rem !important;
}
.b3d-shipping-option:has(input:checked) { border-color: var(--clr-accent); background: rgba(245,158,11,.1); }
.b3d-shipping-option__label { display: flex; align-items: center; gap: 10px; }
.b3d-shipping-option__eta { display: block; font-size: .78rem; font-weight: 400; opacity: .7; }
.b3d-shipping-option__price { font-weight: 700; font-variant-numeric: tabular-nums; }
.b3d-shipping-option input { width: auto !important; margin: 0 !important; accent-color: var(--clr-accent); }

/* Bank transfer detail card — shows real account info once configured */
.b3d-preorder-notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: rgba(245,158,11,.08);
  border: 1px solid rgba(245,158,11,.3);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: rgba(255,255,255,.85);
  font-size: .85rem;
  line-height: 1.55;
  margin-bottom: 18px;
}
.b3d-preorder-notice[hidden] { display: none; }
.b3d-pm__brands { display: inline-flex; gap: 6px; align-items: center; margin-inline-end: 8px; }
.b3d-pm__brands img { width: 36px; height: 24px; object-fit: contain; background: #fff; border-radius: 4px; padding: 2px; }
.b3d-preorder-notice svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--clr-accent); margin-top: 1px; }
.b3d-preorder-notice strong { color: #fff; }

.b3d-bank-details { display: flex; flex-direction: column; gap: 10px; margin: 14px 0; }
.b3d-bank-details__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(245,158,11,.2);
  border-radius: var(--radius-md);
  padding: 10px 14px;
}
.b3d-bank-details__row span:first-child { color: rgba(255,255,255,.55); font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; }
.b3d-bank-details__row span:last-child { color: #fff; font-weight: 700; font-size: .92rem; font-variant-numeric: tabular-nums; text-align: right; overflow-wrap: anywhere; min-width: 0; }
.b3d-pm__note--soon { color: rgba(255,255,255,.6); }
.b3d-checkout { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); }
.b3d-checkout[hidden] { display: none; }
.b3d-checkout__success { color: #4ade80; font-size: .88rem; margin-top: 10px; }
.b3d-checkout__error { color: #f87171; font-size: .88rem; margin-top: 10px; }
.b3d-account__tabs { display: flex; gap: 10px; margin-bottom: 20px; }
.b3d-account__tabs button {
  flex: 1;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(245,158,11,.25);
  color: rgba(255,255,255,.7);
  padding: 10px;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 700;
}
.b3d-account__tabs button[aria-pressed="true"] { background: var(--clr-accent); color: #1a1a1a; border-color: var(--clr-accent); }
.b3d-account__error { color: #f87171; font-size: .82rem; }
.b3d-account__success { color: var(--clr-cta-light); font-size: .82rem; }
.b3d-account__hint { color: rgba(255,255,255,.55); font-size: .82rem; line-height: 1.6; margin: 0; }
.b3d-account__verify { color: var(--clr-accent); font-size: .82rem; margin-bottom: 14px; }
.b3d-account__link-btn {
  background: none;
  border: none;
  color: var(--clr-accent);
  font-size: .8rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  align-self: flex-start;
}
.b3d-account__panels { display: flex; flex-direction: column; gap: 20px; margin-top: 30px; }
.b3d-account__panel { background: rgba(255,255,255,.03); border: 1px solid rgba(245,158,11,.15); border-radius: var(--radius-lg); padding: 20px; }
.b3d-account__panel h2 { color: #fff; font-size: 1rem; margin-bottom: 8px; }
.b3d-account__panel p { color: rgba(255,255,255,.55); font-size: .85rem; }

/* Blog listing + article pages */
.b3d-blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; margin-top: 28px; }
.b3d-blog-card {
  position: relative;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(245,158,11,.18);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}
.b3d-blog-card:hover { border-color: var(--clr-accent); transform: translateY(-2px); }
.b3d-blog-card__meta { color: rgba(255,255,255,.45); font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }
.b3d-blog-card__title { color: #fff; font-size: 1.15rem; font-weight: 700; line-height: 1.35; margin: 0; }
.b3d-blog-card__excerpt { color: rgba(255,255,255,.65); font-size: .88rem; line-height: 1.6; }
.b3d-blog-card__read { color: var(--clr-accent); font-size: .82rem; font-weight: 700; margin-top: auto; }

.b3d-article { max-width: 760px; margin: 0 auto; }

/* Bilingual static pages (legal documents): whole-document blocks swapped
   by the existing html[lang] toggle instead of per-string data-i18n keys —
   legal copy stays as one auditable block per language, not scattered
   across a JS strings file. */
[data-lang-block="ar"] { display: none; }
html[lang="ar"] [data-lang-block="en"] { display: none; }
html[lang="ar"] [data-lang-block="ar"] { display: block; }
.b3d-legal h2 { color: var(--clr-accent); font-size: 1.2rem; margin: 32px 0 12px; }
.b3d-legal ol.b3d-legal__list { padding-inline-start: 22px; margin: 0 0 18px; }
.b3d-legal ol.b3d-legal__list li { margin-bottom: 8px; }
.b3d-legal__updated { color: rgba(255,255,255,.5); font-size: .85rem; margin-bottom: 24px; }
.b3d-article__meta { color: rgba(255,255,255,.45); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.b3d-article h1 { color: #fff; font-size: 2.1rem; line-height: 1.25; text-wrap: balance; margin-bottom: 18px; }
.b3d-article .b3d-legal__h1 { color: #fff; font-size: 2.1rem; line-height: 1.25; text-wrap: balance; margin: 0 0 18px; }
.b3d-article__lead { color: rgba(255,255,255,.75); font-size: 1.1rem; line-height: 1.7; margin-bottom: 28px; }
.b3d-article h2 { color: #fff; font-size: 1.4rem; margin: 36px 0 14px; }
.b3d-article h3 { color: #fff; font-size: 1.12rem; margin: 26px 0 10px; }
.b3d-article p { color: rgba(255,255,255,.8); font-size: 1rem; line-height: 1.85; margin-bottom: 18px; }
.b3d-article ul, .b3d-article ol { color: rgba(255,255,255,.8); font-size: 1rem; line-height: 1.85; margin: 0 0 18px 22px; }
.b3d-article li { margin-bottom: 6px; }
.b3d-article a { color: var(--clr-accent); text-decoration: underline; }
.b3d-article table { width: 100%; border-collapse: collapse; margin: 20px 0 28px; font-size: .9rem; }
.b3d-article table th, .b3d-article table td { border: 1px solid rgba(245,158,11,.2); padding: 10px 12px; text-align: left; color: rgba(255,255,255,.85); }
.b3d-article table th { background: rgba(245,158,11,.08); color: #fff; }
.b3d-article__cta {
  background: rgba(245,158,11,.08);
  border: 1px solid var(--clr-accent);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  margin: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.b3d-article__cta p { margin: 0; color: #fff; font-weight: 600; }
.b3d-article__related { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; margin: 16px 0 32px; }
.b3d-article__related a { text-decoration: none; color: rgba(255,255,255,.85); background: rgba(255,255,255,.03); border: 1px solid rgba(245,158,11,.18); border-radius: var(--radius-md); padding: 12px; font-size: .85rem; font-weight: 600; text-align: center; display: block; }
.b3d-article__related a:hover { border-color: var(--clr-accent); }

/* The shared styles.css hides a.wa-float below 768px because the main
   site pairs it with a mobile-only sticky Call/WhatsApp bar instead.
   The /3d/ pages don't have that sticky bar, so without this override
   mobile visitors here would lose WhatsApp access entirely. Loaded
   after styles.css, so equal specificity is enough to win. */
@media (max-width: 768px) {
  a.wa-float { display: flex; }
}

/* ===== Homepage additions: trust bar, brand grid, services, business
   banner, blog teaser, FAQ, slider pause/play ===== */

.b3d-partners { text-align: center; }
.b3d-partners__desc {
  max-width: 620px;
  margin: 0 auto 26px;
  color: rgba(255,255,255,.72);
}
.b3d-partners__hub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
}
.b3d-partners__oto {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-accent);
  color: #1a1a1a;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .04em;
  padding: 10px 24px;
  border-radius: 999px;
}
.b3d-partners__hub svg {
  width: 26px;
  height: 26px;
  color: rgba(255,255,255,.4);
}
.b3d-partners__marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.b3d-partners__track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  animation: b3d-partners-scroll 30s linear infinite;
}
.b3d-partners__marquee:hover .b3d-partners__track { animation-play-state: paused; }
.b3d-partners__tile {
  flex: 0 0 auto;
  width: 132px;
  height: 72px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
}
.b3d-partners__tile img { max-width: 100%; max-height: 100%; object-fit: contain; }
@keyframes b3d-partners-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .b3d-partners__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .b3d-partners__track .b3d-partners__tile[aria-hidden="true"] { display: none; }
}
html[data-b3d-motion="off"] .b3d-partners__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
html[data-b3d-motion="off"] .b3d-partners__track .b3d-partners__tile[aria-hidden="true"] { display: none; }
.b3d-band--light .b3d-partners__desc { color: #555; }
.b3d-band--light .b3d-partners__hub svg { color: rgba(26,26,26,.3); }

.b3d-trustbar {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 32px;
  margin: 20px 0 0;
  padding: 18px 0;
  border-top: 1px solid rgba(245,158,11,.15);
  border-bottom: 1px solid rgba(245,158,11,.15);
}
.b3d-trustbar li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.8);
  font-size: .88rem;
  font-weight: 600;
}
.b3d-trustbar svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--clr-accent);
}

.b3d-brands {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.b3d-brand-tile {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(245,158,11,.2);
  border-radius: var(--radius-lg);
  padding: 26px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  text-decoration: none;
  transition: var(--transition);
}
.b3d-brand-tile:hover {
  background: rgba(245,158,11,.08);
  border-color: var(--clr-accent);
  transform: translateY(-4px);
}
.b3d-brand-tile img { height: 28px; width: auto; max-width: 160px; }

.b3d-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
  min-height: 360px;
}
[data-b3d-featured-grid] { min-height: 360px; }
.b3d-picker-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(245,158,11,.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.b3d-picker-card:hover { border-color: var(--clr-accent); transform: translateY(-4px); }
.b3d-picker-card__visual {
  aspect-ratio: 4 / 3;
  background: #f4f3f0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.b3d-picker-card__visual img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.b3d-picker-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.b3d-picker-card__tag {
  display: inline-block;
  align-self: flex-start;
  background: rgba(245,158,11,.12);
  color: var(--clr-accent);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  padding: 5px 12px;
  border-radius: 999px;
}
.b3d-picker-card h3 { color: #fff; font-size: 1.1rem; margin: 4px 0 0; }
.b3d-picker-card p { color: rgba(255,255,255,.72); font-size: .88rem; line-height: 1.6; margin: 0; flex: 1; }
.b3d-picker-card__meta { color: #fff; font-weight: 700; }
.b3d-picker-card .btn { align-self: flex-start; padding: 8px 16px; font-size: .85rem; }

.b3d-faq {
  max-width: 780px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.b3d-faq__item {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(245,158,11,.18);
  border-radius: var(--radius-md);
  padding: 4px 20px;
}
.b3d-faq__item summary {
  color: #fff;
  font-weight: 600;
  font-size: .96rem;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
}
.b3d-faq__item summary::-webkit-details-marker { display: none; }
.b3d-faq__item summary::before { content: '+'; color: var(--clr-accent); font-weight: 700; margin-inline-end: 10px; }
.b3d-faq__item[open] summary::before { content: '−'; }
.b3d-faq__item p { color: rgba(255,255,255,.7); font-size: .9rem; line-height: 1.7; margin: 0 0 16px; }

.b3d-slider__playpause {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: .7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: none;
}
.b3d-slider__playpause:hover { background: rgba(255,255,255,.24); }

.b3d-article {
  background: var(--clr-navy);
}

/* Cart payment methods: a small green tag distinguishing the 3 real,
   working methods from the 6 "Coming Soon" ones next to them. */
.b3d-pm__note--active {
  background: rgba(4,120,87,.18);
  color: var(--clr-cta-light);
  font-size: .68rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  margin-inline-start: 8px;
}

/* Thin, crawlable category landing pages at /3d/shop/<slug>/ — link into
   the live filterable /3d/shop/?cat=... grid for the real interactive
   browsing experience; these exist mainly so search engines have a
   direct, indexable URL per category with real product links in it. */
.b3d-cat-landing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.b3d-cat-landing__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  color: inherit;
  text-decoration: none;
}
.b3d-cat-landing__card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  background: #111;
}
.b3d-cat-landing__card .b3d-corner-badge { top: 22px; left: 22px; }
html[dir="rtl"] .b3d-cat-landing__card .b3d-corner-badge { left: auto; right: 22px; }
.b3d-cat-landing__name {
  font-weight: 600;
  font-size: .95rem;
}

/* Order confirmation ("thank you") view on the cart page */
.b3d-thanks { max-width: 640px; margin: 12px auto 48px; padding: 40px 28px; text-align: center; border: 1px solid rgba(245,158,11,.3); border-radius: 22px; background: rgba(255,255,255,.04); color: rgba(255,255,255,.85); }
.b3d-thanks[hidden] { display: none; }
.b3d-thanks__icon { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; background: var(--clr-cta); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 8px rgba(16,185,129,.18); }
.b3d-thanks__icon svg { width: 38px; height: 38px; }
.b3d-thanks h2 { color: #fff; font-size: clamp(1.5rem, 4vw, 2rem); margin: 0 0 10px; }
.b3d-thanks h3 { color: #fff; font-size: 1rem; margin: 0 0 12px; }
.b3d-thanks__lead { margin: 0 0 26px; line-height: 1.6; }
.b3d-thanks__lead strong { color: var(--clr-accent-light); word-break: break-all; }
.b3d-thanks__card { text-align: start; padding: 20px; border-radius: 16px; background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.08); margin-bottom: 22px; }
.b3d-thanks__lines > div { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .92rem; }
.b3d-thanks__meta { margin: 12px 0 0; display: grid; gap: 6px; font-size: .9rem; }
.b3d-thanks__meta > div { display: flex; justify-content: space-between; gap: 16px; }
.b3d-thanks__meta dt { color: rgba(255,255,255,.6); }
.b3d-thanks__meta dd { margin: 0; text-align: end; }
.b3d-thanks__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.15); font-size: 1.05rem; }
.b3d-thanks__total strong { color: var(--clr-accent-light); font-size: 1.25rem; }
.b3d-thanks__next { text-align: start; margin-bottom: 26px; }
.b3d-thanks__next ol { margin: 0; padding-inline-start: 22px; display: grid; gap: 6px; font-size: .92rem; }
.b3d-thanks__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ==============================================
   AUDIT FIXES (22 Sep 2026): contrast + small text
   ============================================== */
.navbar__links a.active { color: #b45309; }
.navbar__brand-text .sub { color: #666; font-size: 12px; }
.b3d-blog-card__meta,
.b3d-article__meta { color: rgba(255,255,255,.7); }
.b3d-article__cta .btn-primary { color: #fff; }
.b3d-card__meta-line span,
.b3d-card__cat,
.b3d-picker-card__tag,
.b3d-cat-tile__soon,
.b3d-slider__playpause,
.b3d-corner-badge,
.b3d-stock-badge { font-size: 12px; }

/* AUDIT ROUND 3: readable riyal symbol and currency label, 44px touch targets on phones */
.b3d-riyal svg { width: .8em; height: .86em; }
.b3d-price small { color: rgba(255,255,255,.78); font-size: .75rem; }
@media (max-width: 768px) {
  .b3d-card__whatsapp,
  .b3d-btn-compare,
  .b3d-btn-wishlist,
  .b3d-btn-add,
  .b3d-page-btn,
  .b3d-quick-pill,
  .b3d-filter-toggle,
  .b3d-shop-search,
  .b3d-select,
  .navbar__pill,
  .navbar__brand { min-height: 44px; min-width: 44px; }
  .b3d-card__whatsapp,
  .b3d-btn-compare,
  .b3d-btn-wishlist { display: inline-flex; align-items: center; justify-content: center; }
}

/* AUDIT ROUND 3b: bigger hit areas without changing the look */
.b3d-slider__dot { position: relative; }
.b3d-slider__dot::after { content: ""; position: absolute; inset: -18px -8px; }
@media (max-width: 768px) {
  [data-cat], .b3d-trust-strip a, .footer__links a, .b3d-footer a { min-height: 44px; display: inline-flex; align-items: center; }
}

/* AUDIT ROUND 3c: card footer wraps instead of clipping the main button */
.b3d-card__footer { flex-wrap: wrap; }
.b3d-card__actions { flex-wrap: wrap; min-width: 0; flex: 1 1 auto; justify-content: flex-end; }
.b3d-card__actions .b3d-btn-add { flex: 1 1 120px; min-width: 0; text-align: center; white-space: normal; }

/* Colour chips on filament cards: every colour by name, out-of-stock marked */
.b3d-card__colors { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 4px; }
.b3d-color-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 10px 4px 6px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: #fff; font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit; }
.b3d-color-chip:hover { border-color: rgba(255,255,255,.6); }
.b3d-color-chip[aria-pressed="true"] { border-color: var(--clr-accent); box-shadow: 0 0 0 1px var(--clr-accent); }
.b3d-color-chip__dot { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(255,255,255,.55); flex: none; }
.b3d-color-chip.is-out { color: rgba(255,255,255,.6); }
.b3d-color-chip.is-out .b3d-color-chip__name { text-decoration: line-through; }
.b3d-color-chip.is-out .b3d-color-chip__name em { text-decoration: none; display: inline-block; font-style: normal; color: #fca5a5; margin-inline-start: 4px; }
.b3d-color-chip.is-out .b3d-color-chip__dot { opacity: .5; }

/* Header logo: the artwork is gold/white on black, so it sits on its own
   black plate against the white navbar. */
.navbar__brand-logo {
  display: block;
  height: 54px;
  width: auto;
  background: #000;
  border-radius: 8px;
}
@media (max-width: 640px) { .navbar__brand-logo { height: 40px; } }

/* Black header: the logo artwork is on black, so the navbar itself is black
   and the logo blends in with no plate. */
header .navbar { background: #000; }
.navbar__brand-logo { border-radius: 0; }
header .navbar__links > li > a { color: #fff; }
header .navbar__links > li > a:hover,
header .navbar__links a.active { color: var(--clr-accent); }
header .navbar__dropdown summary { color: #fff; border-color: rgba(255,255,255,.35); }
header .navbar__dropdown summary::after { color: var(--clr-accent); }
header .navbar__pill { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
header .navbar__pill:hover { background: rgba(255,255,255,.12); border-color: var(--clr-accent); }

/* Coupon / redeem code */
.b3d-cart-summary__row--discount { color: #6ee7a8; }
.b3d-coupon { margin: 6px 0 14px; }
.b3d-coupon label { display: block; color: rgba(255,255,255,.75); font-size: .85rem; margin-bottom: 6px; }
.b3d-coupon__row { display: flex; gap: 8px; }
.b3d-coupon__row input {
  flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff;
  text-transform: uppercase; letter-spacing: .04em;
}
.b3d-coupon__row .btn { min-height: 44px; padding: 0 18px; }
.b3d-coupon__msg { font-size: .82rem; margin-top: 6px; min-height: 1em; }
.b3d-coupon__msg.is-err { color: #ff8a8a; }
.b3d-coupon__remove { background: none; border: 0; color: rgba(255,255,255,.7); text-decoration: underline; cursor: pointer; font-size: .8rem; padding: 4px; }
.b3d-cart-summary__row[hidden], .b3d-coupon[hidden] { display: none; }

/* Guide sections under a category landing grid */
.b3d-cat-guide { margin-top: 44px; display: grid; gap: 28px; max-width: 900px; }
.b3d-cat-guide h2 { font-size: 1.35rem; margin: 0 0 8px; }
.b3d-cat-guide p { color: rgba(255,255,255,.8); margin: 0 0 10px; }
.b3d-cat-guide ul { margin: 0; padding-inline-start: 20px; display: grid; gap: 6px; color: rgba(255,255,255,.85); }
.b3d-cat-guide a:not(.btn) { color: var(--clr-accent); text-decoration: underline; text-underline-offset: 2px; }
.b3d-shop-head__intro + .b3d-shop-head__intro { margin-top: 12px; }
main > .section > .container > .b3d-shop-head__intro { text-align: start; max-width: 760px; }
main > .section > .container > .b3d-shop-head__intro + p { margin-top: 20px; }

/* Homepage: two journeys (buy equipment / get something printed) */
.b3d-journeys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.b3d-journey {
  display: flex; flex-direction: column; gap: 14px; padding: 28px;
  border: 1px solid rgba(245,158,11,.3); border-radius: var(--radius-lg, 16px);
  background: rgba(255,255,255,.03);
}
.b3d-journey h3 { font-size: 1.35rem; margin: 0; color: #fff; }
.b3d-journey p { margin: 0; color: rgba(255,255,255,.8); }
.b3d-journey ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: rgba(255,255,255,.92); }
.b3d-journey li { padding-inline-start: 22px; position: relative; }
.b3d-journey li::before { content: '\2192'; position: absolute; inset-inline-start: 0; color: var(--clr-accent); }
html[dir="rtl"] .b3d-journey li::before { content: '\2190'; }
.b3d-journey__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 6px; }
@media (max-width: 760px) { .b3d-journeys { grid-template-columns: 1fr; } .b3d-journey { padding: 22px; } }

/* Standalone content pages (service, shipping) */
.b3d-page { max-width: 820px; }
.b3d-page h2 { margin: 28px 0 8px; font-size: 1.35rem; }
.b3d-page p, .b3d-page li { color: rgba(255,255,255,.85); }
.b3d-page ul, .b3d-page ol { margin: 0 0 12px; padding-inline-start: 22px; display: grid; gap: 6px; }
.b3d-page a:not(.btn) { color: var(--clr-accent); text-decoration: underline; text-underline-offset: 2px; }
.b3d-page .b3d-faq { margin-top: 8px; }
.b3d-journey p a { color: var(--clr-accent); text-decoration: underline; text-underline-offset: 2px; }
.b3d-page ul { list-style: disc; }
.b3d-page ol { list-style: decimal; }
.b3d-page a.btn { color: #fff; text-decoration: none; }
.b3d-page a.btn.btn-outline { color: #fff; }

/* Category guide: product cards instead of plain text lists */
.b3d-cat-guide { max-width: none; gap: 20px; }
.b3d-guide-sec { background: rgba(255,255,255,.04); border: 1px solid rgba(245,158,11,.22); border-radius: 14px; padding: 22px; }
.b3d-guide-sec h2 { font-size: 1.4rem; }
.b3d-cat-guide .b3d-guide-sec > p { max-width: 70ch; margin-bottom: 16px; }
.b3d-cat-guide .b3d-guide-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.b3d-guide-card { display: flex; flex-direction: column; gap: 4px; height: 100%; background: #fff; color: #111; border-radius: 10px; padding: 10px 10px 14px; text-decoration: none !important; transition: transform .15s, box-shadow .15s; }
.b3d-guide-card:hover, .b3d-guide-card:focus-visible { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,.35); }
.b3d-guide-card__img { display: block; aspect-ratio: 1; background: #f4f3f0; border-radius: 8px; overflow: hidden; margin-bottom: 8px; }
.b3d-guide-card__img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.b3d-guide-card__name { font-weight: 700; font-size: .98rem; line-height: 1.25; color: #111; }
.b3d-guide-card__spec { font-size: .82rem; color: #555; }
.b3d-guide-card__price { margin-top: auto; padding-top: 6px; font-weight: 800; color: #047857; }
@media (max-width: 480px) { .b3d-guide-sec { padding: 16px; } .b3d-cat-guide .b3d-guide-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* Homepage: breathing room between sections, and a centred, evenly filled guides grid */
.b3d-hub-section { padding-block: 40px; }
.b3d-hub-blog .b3d-blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1200px; margin-inline: auto; }
.b3d-hub-blog .b3d-blog-card { height: 100%; }
@media (max-width: 900px) { .b3d-hub-blog .b3d-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .b3d-hub-blog .b3d-blog-grid { grid-template-columns: 1fr; } }

/* Customer reviews (product pages) */
.b3d-reviews { margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.1); }
.b3d-reviews__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.b3d-reviews__top h2 { color: #fff; font-size: 1.4rem; margin: 0; }
.b3d-reviews__summary { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.b3d-reviews__avg { color: #fff; font-size: 2rem; font-weight: 700; line-height: 1; }
.b3d-reviews__count, .b3d-reviews__none { color: rgba(255,255,255,.65); font-size: .92rem; }
.b3d-reviews__none { margin-bottom: 22px; }
.b3d-stars { display: inline-flex; gap: 2px; letter-spacing: 0; }
.b3d-star { color: rgba(255,255,255,.22); font-size: 1.05rem; line-height: 1; }
.b3d-star.is-on { color: var(--clr-accent); }
.b3d-reviews__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.b3d-review { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-md); padding: 16px 18px; }
.b3d-review__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.b3d-review__name { color: #fff; font-size: .95rem; }
.b3d-review__date { color: rgba(255,255,255,.5); font-size: .8rem; margin-inline-start: auto; }
.b3d-review__text { color: rgba(255,255,255,.85); font-size: .93rem; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.b3d-review__tag { display: inline-block; margin-top: 10px; font-size: .74rem; color: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.15); border-radius: 999px; padding: 2px 10px; }
.b3d-reviews__form { display: grid; gap: 16px; max-width: 640px; background: rgba(255,255,255,.03); border: 1px solid rgba(245,158,11,.25); border-radius: var(--radius-md); padding: 20px; margin-bottom: 26px; }
.b3d-reviews__form[hidden] { display: none; }
.b3d-rv-field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.b3d-rv-field > label, .b3d-rv-label, .b3d-rv-lang legend { color: #fff; font-size: .9rem; font-weight: 600; padding: 0; }
.b3d-rv-field small { color: rgba(255,255,255,.55); font-size: .78rem; }
.b3d-rv-field input[type="text"], .b3d-rv-field textarea { width: 100%; background: rgba(255,255,255,.05); border: 1px solid rgba(245,158,11,.3); color: #fff; padding: 11px 14px; border-radius: var(--radius-md); font-size: .95rem; font-family: inherit; }
.b3d-rv-field textarea { resize: vertical; min-height: 96px; }
.b3d-rv-rating { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; direction: ltr; gap: 4px; width: fit-content; }
.b3d-rv-rating input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.b3d-rv-rating label { font-size: 2rem; line-height: 1; color: rgba(255,255,255,.25); cursor: pointer; padding: 2px; }
.b3d-rv-rating input:checked ~ label, .b3d-rv-rating label:hover, .b3d-rv-rating label:hover ~ label { color: var(--clr-accent); }
.b3d-rv-rating input:focus-visible + label { outline: 2px solid var(--clr-accent); outline-offset: 2px; border-radius: 4px; }
.b3d-rv-lang { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.b3d-rv-lang legend { flex-basis: 100%; }
.b3d-rv-lang label { color: rgba(255,255,255,.85); font-size: .92rem; display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.b3d-rv-lang small { flex-basis: 100%; }
.b3d-rv-hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.b3d-rv-msg { font-size: .9rem; border-radius: var(--radius-md); padding: 10px 14px; }
.b3d-rv-msg[hidden] { display: none; }
.b3d-rv-msg.is-ok { background: rgba(4,120,87,.2); color: #6ee7b7; }
.b3d-rv-msg.is-err { background: rgba(220,38,38,.15); color: #fca5a5; }
.b3d-rv-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.b3d-rv-note { color: rgba(255,255,255,.55); font-size: .8rem; }
@media (max-width: 720px) { .b3d-reviews__list { grid-template-columns: 1fr; } }
.b3d-review__photos { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.b3d-review__photos img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; border: 1px solid rgba(255,255,255,.15); display: block; }
.b3d-rv-field input[type="file"] { color: rgba(255,255,255,.8); font-size: .88rem; max-width: 100%; }
.b3d-rv-previews { display: flex; gap: 8px; flex-wrap: wrap; }
.b3d-rv-previews img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid rgba(255,255,255,.15); }
.b3d-reviews__list--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .b3d-reviews__list--three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .b3d-reviews__list--three { grid-template-columns: 1fr; } }
.b3d-hub-reviews { margin-top: 0; border-top: 0; padding-top: 40px; }
.b3d-page .b3d-reviews { margin-top: 24px; padding-top: 0; border-top: 0; }
.b3d-hub-reviews .b3d-reviews__summary { justify-content: center; }
/* Homepage review teaser: white cards that auto-scroll, same pattern as the delivery-partner marquee */
.b3d-reviews__marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  margin: 0 -4px;
}
.b3d-reviews__track { display: flex; align-items: stretch; gap: 16px; width: max-content; animation: b3d-reviews-scroll 46s linear infinite; }
.b3d-reviews__marquee:hover .b3d-reviews__track { animation-play-state: paused; }
.b3d-hub-reviews .b3d-review {
  flex: 0 0 auto;
  width: 320px;
  background: #fff;
  border: 1px solid #e6e3dc;
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
}
.b3d-hub-reviews .b3d-review__name, .b3d-hub-reviews .b3d-reviews__top h2 { color: #111; }
.b3d-hub-reviews .b3d-review__text { color: #333; }
.b3d-hub-reviews .b3d-review__date, .b3d-hub-reviews .b3d-review__tag { color: #777; }
.b3d-hub-reviews .b3d-review__tag { border-color: #d9d3c3; }
.b3d-hub-reviews .b3d-star { color: #d8d5cc; }
.b3d-hub-reviews .b3d-star.is-on { color: #D97706; }
@keyframes b3d-reviews-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .b3d-reviews__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .b3d-reviews__track .b3d-review[aria-hidden="true"] { display: none; }
}
html[data-b3d-motion="off"] .b3d-reviews__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
html[data-b3d-motion="off"] .b3d-reviews__track .b3d-review[aria-hidden="true"] { display: none; }
@media (max-width: 480px) { .b3d-hub-reviews .b3d-review { width: 260px; } }
.b3d-ra-tr { margin-top: 12px; color: rgba(255,255,255,.75); font-size: .88rem; }
.b3d-ra-tr label { display: grid; gap: 4px; margin-top: 10px; }
.b3d-ra-tr textarea { width: 100%; background: rgba(255,255,255,.05); border: 1px solid rgba(245,158,11,.3); color: #fff; padding: 8px 10px; border-radius: var(--radius-md); font-family: inherit; }
.navbar__dropdown-menu a { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
/* The logo files are white on transparent, so each sits on a dark chip on the white menu */
.navbar__dropdown-menu .navbar__brand-logo { height: 28px; width: auto; max-width: 104px; padding: 6px 9px; background: #141414; border-radius: 6px; box-sizing: border-box; object-fit: contain; flex: none; }

/* ---- Storefront look: light shopping areas under a dark brand header and hero ---- */
.b3d-searchbar { background: #000; padding: 12px 16px 12px; display: flex; justify-content: center; }
.b3d-searchbar form { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 4px 4px 4px 16px; width: min(640px, 100%); box-sizing: border-box; }
.b3d-searchbar svg { width: 18px; height: 18px; color: #777; flex: none; }
.b3d-searchbar input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: .95rem; padding: 8px 4px; background: transparent; color: #111; }
.b3d-searchbar button { background: var(--clr-cta); color: #fff; border: 0; border-radius: 999px; padding: 9px 20px; font: inherit; font-weight: 600; cursor: pointer; }
.b3d-searchbar button:focus-visible, .b3d-searchbar input:focus-visible { outline: 2px solid var(--clr-accent); outline-offset: 2px; }
html[dir="rtl"] .b3d-searchbar form { padding: 4px 16px 4px 4px; }

.b3d-band .section-header h2 { font-family: 'Noto Sans', 'Segoe UI', sans-serif; font-weight: 700; font-style: normal; letter-spacing: -.01em; }
.b3d-band .section-header h2::after { content: ""; display: block; width: 56px; height: 3px; background: var(--clr-accent); border-radius: 2px; margin: 10px auto 0; }

.b3d-cat-tile__photo { width: 100% !important; height: auto !important; aspect-ratio: 4 / 3; margin: 0 0 12px !important; border-radius: 10px; background: #f1f1ee; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.b3d-cat-tile__photo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; box-sizing: border-box; }

.b3d-band--light { background: #f5f4f0 !important; color: #1a1a1a; border-color: #e6e3dc; }
.b3d-band--light .section-header h2 { color: #1a1a1a !important; }
.b3d-band--light .section-header p { color: #555 !important; }
.b3d-band--light .b3d-cat-tile { background: #fff; border: 1px solid #e6e3dc; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.b3d-band--light .b3d-cat-tile h3 { color: #1a1a1a; }
.b3d-band--light .b3d-cat-tile p { color: #666; }
.b3d-band--light .b3d-grid > * { background: #fff !important; border: 1px solid #e6e3dc !important; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.b3d-band--light .b3d-grid > * * { color: #222 !important; }
.b3d-band--light .b3d-grid > * [class*="__brand"], .b3d-band--light .b3d-grid > * [class*="__cat"], .b3d-band--light .b3d-grid > * [class*="eyebrow"] { color: #b45309 !important; }
.b3d-band--light .b3d-grid > * .btn, .b3d-band--light .b3d-grid > * a[class*="btn"], .b3d-band--light .b3d-grid > * [class*="btn-add"] { color: #fff !important; }
.b3d-band--light .b3d-grid > * [class*="badge"] { color: #1a1a1a !important; }
.b3d-band--light .b3d-grid > * [class*="spec"], .b3d-band--light .b3d-grid > * [class*="meta"] { color: #555 !important; }
.b3d-band--light .b3d-grid > * button:not([class*="btn"]) { background: #f1f1ee !important; border-color: #d8d5cc !important; }
.b3d-band--light .btn-outline { color: #1a1a1a; border-color: #1a1a1a; }
.b3d-band--light .btn-outline:hover { background: #1a1a1a; color: #fff; }
.b3d-band--light .b3d-brand-tile { background: #141414; border-color: #141414; }
.b3d-band--light .b3d-picker-card { background: #fff; border: 1px solid #e6e3dc; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.b3d-band--light .b3d-picker-card * { color: #222; }
/* the search strip already sits under the header rule, so category pages drop their own gold top edge */
.b3d-searchbar + main > section:first-child { border-top: 0 !important; }

/* ---- Shop, category and product pages: light content area under the dark brand header ---- */
main.b3d-light { background: #f5f4f0; color: #1a1a1a; }
main.b3d-light :is(h1, h2, h3, h4, h5, p, li, span, label, small, strong, em, dt, dd, td, th, summary, bdi, div) { color: #1a1a1a; }
main.b3d-light a:not([class*="btn"]) { color: #1a1a1a; }
main.b3d-light .breadcrumb, main.b3d-light .breadcrumb * { color: #555; }
main.b3d-light .breadcrumb > span:last-child, main.b3d-light .breadcrumb [data-b3d-crumb] { color: #b45309; }
main.b3d-light .btn-primary, main.b3d-light .btn-primary * { color: #fff !important; }
main.b3d-light .btn-outline { color: #1a1a1a !important; border-color: #1a1a1a; background: transparent; }
main.b3d-light .btn-outline:hover { background: #1a1a1a; color: #fff !important; }
main.b3d-light :is(.b3d-pd__cat, legend, [class*="__brand"], [class*="eyebrow"], .overline) { color: #b45309 !important; }
main.b3d-light .b3d-price--sale, main.b3d-light .b3d-pd__price .b3d-price--sale { color: #b91c1c !important; }
main.b3d-light .b3d-price-was, main.b3d-light [class*="was"] { color: #777 !important; }
main.b3d-light :is(input, select, textarea) { background: #fff !important; color: #111 !important; border: 1px solid #d8d5cc !important; }
main.b3d-light :is(.b3d-filter-panel, .b3d-shop-toolbar, .b3d-trust-strip) { background: #fff; border-color: #e6e3dc; }
main.b3d-light .b3d-trust-strip__item, main.b3d-light .b3d-trust-strip__item * { color: #333; }
main.b3d-light .b3d-trust-strip__icon, main.b3d-light svg { color: #b45309; }
main.b3d-light .b3d-filter-toggle, main.b3d-light .b3d-filter-toggle * { color: #1a1a1a; border-color: #cfcbc0; background: #fff; }
main.b3d-light .b3d-filter-toggle.has-active-filters, main.b3d-light .b3d-filter-toggle.has-active-filters * { color: #b45309; border-color: #b45309; }
main.b3d-light .b3d-cat-tabs a, main.b3d-light .b3d-filter-pills button, main.b3d-light .b3d-pd__variants button { background: #fff; border: 1px solid #cfcbc0; color: #1a1a1a; }
main.b3d-light .b3d-cat-tabs a[aria-current], main.b3d-light .b3d-cat-tabs a.is-active, main.b3d-light .b3d-pd__variants button.is-active, main.b3d-light .b3d-pd__variants button[aria-pressed="true"] { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
main.b3d-light .b3d-pd__variants button.is-active *, main.b3d-light .b3d-pd__variants button[aria-pressed="true"] * { color: #fff; }
main.b3d-light .b3d-pagination :is(a, button) { background: #fff; border: 1px solid #cfcbc0; color: #1a1a1a; }
main.b3d-light .b3d-cat-landing__card, main.b3d-light .b3d-guide-card { background: #fff; border: 1px solid #e6e3dc; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
main.b3d-light .b3d-cat-landing__card *, main.b3d-light .b3d-guide-card * { color: #222; }
main.b3d-light .b3d-cat-landing__card .b3d-price, main.b3d-light .b3d-guide-card__price, main.b3d-light .b3d-guide-card__price * { color: #111; font-weight: 700; }
main.b3d-light .b3d-guide-card__spec, main.b3d-light .b3d-guide-card__spec * { color: #666; }
main.b3d-light .b3d-grid > * { background: #fff !important; border: 1px solid #e6e3dc !important; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
main.b3d-light .b3d-grid > * * { color: #222 !important; }
main.b3d-light .b3d-grid > * [class*="__brand"], main.b3d-light .b3d-grid > * [class*="__cat"] { color: #b45309 !important; }
main.b3d-light .b3d-grid > * :is(.btn, a[class*="btn"], [class*="btn-add"], .btn *) { color: #fff !important; }
main.b3d-light .b3d-grid > * [class*="badge"] { color: #1a1a1a !important; }
main.b3d-light .b3d-grid > * [class*="spec"], main.b3d-light .b3d-grid > * [class*="meta"] { color: #555 !important; }
main.b3d-light .b3d-grid > * button:not([class*="btn"]) { background: #f1f1ee !important; border-color: #d8d5cc !important; }
main.b3d-light .b3d-corner-badge--sale, main.b3d-light .b3d-corner-badge--sale * { color: #fff !important; }
/* product detail */
main.b3d-light .b3d-pd__title, main.b3d-light .b3d-pd__price { color: #111; }
main.b3d-light .b3d-pd__desc { color: #333; }
main.b3d-light .b3d-pd__visual { background: #fff; border: 1px solid #e6e3dc; }
main.b3d-light .b3d-pd__thumb { background: #fff; border: 1px solid #cfcbc0; }
main.b3d-light .b3d-pd__thumb.is-active { border-color: #b45309; }
main.b3d-light .b3d-pd__shipreturn { border-top-color: #e6e3dc; }
main.b3d-light .b3d-pd__shipreturn strong { color: #111; }
main.b3d-light .b3d-pd__shipreturn p, main.b3d-light .b3d-pd__warranty p { color: #555; }
main.b3d-light .b3d-pd__guides a { color: #b45309; }
main.b3d-light .b3d-pd__guides a:hover { color: #111; }
main.b3d-light :is(table, tr, td, th, dl, dt, dd, ul.b3d-pd__specs li, .b3d-pd__spec-row) { border-color: #e6e3dc !important; }
main.b3d-light .b3d-pd__qty, main.b3d-light .b3d-pd__qty * { background: #fff; border-color: #cfcbc0; color: #111; }
main.b3d-light .b3d-stock-badge, main.b3d-light .b3d-stock-badge * { color: #fff; }
main.b3d-light .b3d-empty { color: #555; }
main.b3d-light > section, main.b3d-light .section { background: transparent !important; }
main.b3d-light .b3d-spec-table td { color: #222 !important; border-bottom-color: #e6e3dc !important; }
main.b3d-light .b3d-bundle-pick h2 { color: #111; }
main.b3d-light .b3d-bundle-pick__hint { color: #666; }
main.b3d-light .b3d-bundle-pick__item { background: #fff; border-color: #e6e3dc; }
main.b3d-light .b3d-bundle-pick__name { color: #222; }
main.b3d-light .b3d-spec-table td:first-child { color: #666 !important; }
main.b3d-light .b3d-qty, main.b3d-light .b3d-qty button, main.b3d-light .b3d-qty input { background: #fff !important; color: #111 !important; border-color: #cfcbc0 !important; }
main.b3d-light .b3d-qty button:hover { background: #f1f1ee !important; }
main.b3d-light .b3d-pd__swatch-label { color: #555 !important; }

/* ---- Stronger section-title divider: thick gold bar on a fading hairline ---- */
.b3d-band .section-header h2::after {
  width: min(280px, 70%); height: 5px; margin: 14px auto 0; border-radius: 0; background:
    linear-gradient(#F59E0B, #F59E0B) center / 88px 5px no-repeat,
    linear-gradient(90deg, transparent, rgba(245,158,11,.75) 22%, rgba(245,158,11,.75) 78%, transparent) center / 100% 1px no-repeat;
}
.b3d-band--light .section-header h2::after {
  background:
    linear-gradient(#D97706, #D97706) center / 88px 5px no-repeat,
    linear-gradient(90deg, transparent, rgba(217,119,6,.6) 22%, rgba(217,119,6,.6) 78%, transparent) center / 100% 1px no-repeat;
}

/* ---- Prices: bold sans figures with the official riyal symbol ---- */
.b3d-price, .b3d-guide-card__price { font-family: 'Noto Sans', 'Segoe UI', Arial, sans-serif; font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; font-variant-numeric: tabular-nums lining-nums; line-height: 1.2; }
.b3d-price .b3d-riyal, .b3d-guide-card__price .b3d-riyal { font-size: 1em; margin-inline-start: 4px; color: inherit; opacity: .9; vertical-align: -.08em; }
.b3d-price .b3d-riyal svg, .b3d-guide-card__price .b3d-riyal svg { width: .78em; height: .84em; }
.b3d-price-was { font-family: 'Noto Sans', 'Segoe UI', Arial, sans-serif; font-weight: 500; }
.b3d-price-was .b3d-riyal svg { width: .8em; height: .86em; }
.b3d-price-was + .b3d-price, .b3d-price + .b3d-price-was { margin-inline-start: 0; }
main.b3d-light .b3d-grid > * .b3d-price { color: #111 !important; }
main.b3d-light .b3d-grid > * .b3d-price--sale { color: #b91c1c !important; }
.b3d-band--light .b3d-grid > * .b3d-price { color: #111 !important; }

/* ---- Light pages: guide panels become real cards with a visible border and gold top edge ---- */
main.b3d-light .b3d-guide-sec { background: #fff; border: 1px solid #d9d3c3; border-top: 4px solid #D97706; box-shadow: 0 4px 16px rgba(0,0,0,.07); border-radius: 12px; }
main.b3d-light .b3d-guide-sec h2 { color: #111; }
main.b3d-light .b3d-guide-sec > p { color: #444; }
main.b3d-light .b3d-guide-card { background: #fff; border: 1px solid #e3dfd3; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
main.b3d-light .b3d-guide-card:hover, main.b3d-light .b3d-guide-card:focus-visible { box-shadow: 0 8px 22px rgba(0,0,0,.14); border-color: #D97706; }

/* ---- All pages: boxed panels get a clear border and amber top edge (dark pages) ---- */
.b3d-guide-sec, .b3d-account__panel, .b3d-pm-detail, .b3d-reviews__form, .b3d-thanks { border-color: rgba(245,158,11,.5); border-top: 3px solid var(--clr-accent); box-shadow: 0 6px 20px rgba(0,0,0,.28); }
.b3d-article__related a { border-color: rgba(245,158,11,.4); }
.b3d-article table th, .b3d-article table td { border-color: rgba(245,158,11,.4); }
/* light pages: reviews */
main.b3d-light .b3d-reviews { border-top: 1px solid #d9d3c3; }
main.b3d-light .b3d-reviews__form, main.b3d-light .b3d-review { background: #fff; border: 1px solid #d9d3c3; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
main.b3d-light .b3d-reviews__form { border-top: 4px solid #D97706; }
main.b3d-light .b3d-review__name, main.b3d-light .b3d-reviews__top h2, main.b3d-light .b3d-reviews__avg { color: #111; }
main.b3d-light .b3d-review__text { color: #333; }
main.b3d-light .b3d-review__date, main.b3d-light .b3d-reviews__count, main.b3d-light .b3d-reviews__none { color: #666; }
main.b3d-light .b3d-review__tag { color: #555; border-color: #cfcbc0; }
main.b3d-light .b3d-star { color: #d8d5cc; }
main.b3d-light .b3d-star.is-on { color: #D97706; }

/* ---- Account page: admin panel "copy review link" row ---- */
.b3d-admin-link-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.b3d-admin-link-row span { font-weight: 600; min-width: 56px; color: var(--clr-accent); font-size: .85rem; }
.b3d-admin-link-row code { background: rgba(255,255,255,.06); border: 1px solid rgba(245,158,11,.2); border-radius: 6px; padding: 4px 8px; font-size: .82rem; color: rgba(255,255,255,.8); overflow-wrap: anywhere; }
.b3d-admin-link-row .btn { padding: 6px 14px; font-size: .85rem; }

/* ---- Product page: one clear buy action, trust facts and real savings next to the price ---- */
.b3d-stock-badge--in { background: rgba(4,120,87,.92); color: #fff; }
main.b3d-light .b3d-grid > * .b3d-stock-badge--out { color: #fff !important; }
.b3d-pd__price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.b3d-pd__save { background: rgba(4,120,87,.14); color: #059669; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
main.b3d-light .b3d-pd__save { background: rgba(4,120,87,.12); color: #047857; }
.b3d-pd__trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 20px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); font-size: .82rem; color: rgba(255,255,255,.75); }
main.b3d-light .b3d-pd__trust { border-color: #e6e3dc; color: #444; }
.b3d-pd__buy { width: 100%; padding: 16px; font-size: 1.05rem; font-weight: 700; box-shadow: 0 8px 18px rgba(4,120,87,.28); }
.b3d-pd__buy:disabled { background: #8a9096 !important; border-color: #8a9096 !important; color: #fff !important; box-shadow: none; cursor: not-allowed; }
.b3d-pd__actions { flex-direction: column; align-items: stretch; }
.b3d-pd__actions .b3d-qty { align-self: flex-start; }
.b3d-pd__contact-actions { gap: 18px; align-items: center; }
.b3d-pd__contact-actions a, .b3d-pd__contact-actions button { background: none; border: none; padding: 0; font: inherit; font-size: .88rem; font-weight: 600; color: var(--clr-accent); text-decoration: underline; cursor: pointer; }
main.b3d-light .b3d-pd__contact-actions a, main.b3d-light .b3d-pd__contact-actions button { color: #b45309; }

/* ---- Card option pills (non-colour variants, e.g. printer Standalone/Combo) ---- */
.b3d-card__pills { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 4px; }
.b3d-card__pills .b3d-quick-pill { font-size: 12px; padding: 6px 12px; }
main.b3d-light .b3d-card__pills .b3d-quick-pill { background: #fff !important; border-color: #cfcbc0 !important; color: #1a1a1a !important; }
main.b3d-light .b3d-card__pills .b3d-quick-pill[aria-pressed="true"] { background: #1a1a1a !important; border-color: #1a1a1a !important; color: #fff !important; }
.b3d-band--light .b3d-card__pills .b3d-quick-pill { background: #fff !important; border-color: #cfcbc0 !important; color: #1a1a1a !important; }
.b3d-band--light .b3d-card__pills .b3d-quick-pill[aria-pressed="true"] { background: #1a1a1a !important; border-color: #1a1a1a !important; color: #fff !important; }

/* ---- Out-of-stock Add to Cart: the translucent-white disabled style only reads on a dark
   card; on the white cards used on category/brand/home pages it was invisible against
   the white background. Give it real contrast on both. ---- */
.b3d-btn-add:disabled { background: rgba(120,120,120,.35); color: rgba(255,255,255,.85); }
main.b3d-light .b3d-grid > * .b3d-btn-add:disabled,
.b3d-band--light .b3d-grid > * .b3d-btn-add:disabled { background: #e2e0d8 !important; color: #777 !important; }

.b3d-art-cats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 40px;
}

@media (min-width: 640px) {
  .b3d-art-cats { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
}

.b3d-art-cat {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e6e3da;
  border-radius: var(--radius-md);
  overflow: hidden;
  color: #1a1a1a;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.b3d-art-cat:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(0,0,0,.12); }

.b3d-art-cat__art {
  height: 130px;
  background: var(--tile-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b2f52;
}

.b3d-art-cat__art svg { width: 76px; height: 76px; }

@media (min-width: 640px) {
  .b3d-art-cat__art { height: 170px; }
  .b3d-art-cat__art svg { width: 96px; height: 96px; }
}

.b3d-art-cat__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.35;
}

.b3d-art-cat__arrow { width: 22px; height: 22px; flex-shrink: 0; color: #6b6b6b; }
html[dir="rtl"] .b3d-art-cat__arrow { transform: scaleX(-1); }

.b3d-art-sec { margin-bottom: 48px; scroll-margin-top: 90px; }
.b3d-art-sec h2 { margin-bottom: 16px; }

main.b3d-light .b3d-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 9px 18px;
  box-shadow: 0 1px 2px rgba(26,26,26,.06);
  transition: border-color .2s ease, box-shadow .2s ease;
}
main.b3d-light .b3d-filter-toggle:hover { border-color: #b45309; box-shadow: 0 4px 12px rgba(26,26,26,.08); }

main.b3d-light .b3d-filter-panel {
  background: #fff;
  border: 1px solid #ebe8e0;
  border-radius: 18px;
  padding: 26px 26px 22px;
  margin-bottom: 28px;
  box-shadow: 0 12px 32px rgba(26,26,26,.07);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px 28px;
}

main.b3d-light .b3d-filter-panel fieldset {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
}

main.b3d-light .b3d-filter-panel legend {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1a1a1a;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 4px;
  padding: 0;
}
main.b3d-light .b3d-filter-panel legend::before {
  content: "";
  width: 14px;
  height: 3px;
  border-radius: 2px;
  background: #b45309;
}

main.b3d-light .b3d-filter-panel label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid #dcd8cd;
  border-radius: 999px;
  background: #faf9f6;
  color: #1a1a1a;
  font-size: .84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
  width: fit-content;
}
main.b3d-light .b3d-filter-panel label:hover { border-color: #b45309; }
main.b3d-light .b3d-filter-panel label:has(input:checked) {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
}
main.b3d-light .b3d-filter-panel input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #b45309;
  margin: 0;
}

main.b3d-light .b3d-filter-panel input[type="number"] {
  width: 100%;
  background: #fff;
  border: 1px solid #dcd8cd;
  color: #1a1a1a;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: .9rem;
}
main.b3d-light .b3d-filter-panel input[type="number"]:focus,
main.b3d-light .b3d-filter-panel .b3d-select:focus {
  outline: none;
  border-color: #b45309;
  box-shadow: 0 0 0 3px rgba(180,83,9,.15);
}
main.b3d-light .b3d-filter-panel .b3d-select { border-radius: 10px; padding: 9px 12px; border-color: #dcd8cd; background: #fff; color: #1a1a1a; }

main.b3d-light .b3d-filter-panel label:has(> span[data-i18n="filter_min"]),
main.b3d-light .b3d-filter-panel label:has(> span[data-i18n="filter_max"]) {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  border: none;
  background: none;
  padding: 0;
  color: #6b6b6b;
  font-size: .76rem;
  font-weight: 600;
  width: auto;
}

main.b3d-light .b3d-filter-panel__actions {
  border-top: 1px solid #ebe8e0;
  padding-top: 18px;
  gap: 12px;
}
main.b3d-light .b3d-filter-panel__actions .btn { border-radius: 999px; padding: 10px 22px; }
main.b3d-light .b3d-filter-panel__actions .btn { flex: 0 0 auto !important; width: auto !important; min-width: 160px; justify-content: center; }
@media (max-width: 640px) {
  main.b3d-light .b3d-filter-panel__actions .btn { flex: 1 1 0; min-width: 0; }
}

/* Tabby / payment logos: larger Tabby in the cart option and a "We accept" strip in the footer */
.b3d-footer-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 24px; padding-block: 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.b3d-footer-pay__label { font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-inline-end: 4px; }

/* Cart payment options: one consistent card layout (logos row, name, status tag) */
.b3d-pm { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 124px; padding: 16px 14px; line-height: 1.3; }
.b3d-pm > span:not(.b3d-pm__brands):not(.b3d-pm__note) { font-size: .9rem; font-weight: 700; color: #fff; }
.b3d-pm__note { margin-top: 0; }

/* Payment logos: every logo sits in the same fixed box, so the row lines up in the cart and the footer */
.b3d-pm__brands { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; min-height: 48px; max-width: 100%; margin: 0; }
.b3d-pm__brands img { width: 72px; height: 48px; padding: 4px; background: #fff; border-radius: 8px; object-fit: contain; box-sizing: border-box; display: block; }
.b3d-footer-pay__chip { display: inline-flex; align-items: center; justify-content: center; height: 48px; min-width: 72px; padding: 4px 10px; background: #fff; border-radius: 8px; box-sizing: border-box; }
.b3d-footer-pay__chip img { display: block; width: auto; height: auto; max-width: 64px; max-height: 32px; object-fit: contain; }
.b3d-footer-pay__chip--tabby img { max-width: 32px; max-height: 32px; width: 32px; height: 32px; }
.footer .b3d-footer-pay .b3d-footer-pay__chip.b3d-footer-pay__chip--text { height: 48px; padding: 0 14px; font-size: .8rem; font-weight: 800; line-height: 1; white-space: nowrap; color: #F59E0B !important; background: #000; border: 1px solid #F59E0B; }

/* ---- Product page: store rating next to the title ---- */
.b3d-pd__rating { display: inline-flex; align-items: center; gap: 6px; margin: -4px 0 12px; font-size: .88rem; color: #555; text-decoration: none; }
.b3d-pd__rating:hover { color: #111; text-decoration: underline; }
.b3d-pd__stars { color: #f5a623; letter-spacing: 1px; font-size: 1rem; }
.b3d-pd__stars span { color: #d6d3cc; }
.b3d-pd__rating b { color: #111; }

/* ---- Product page: back-in-stock alert ---- */
.b3d-restock { margin: 14px 0 6px; padding: 14px 16px; border: 1px dashed #c9c5bb; border-radius: 12px; background: #faf8f3; }
.b3d-restock__open { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: #047857; cursor: pointer; }
.b3d-restock__open:hover { text-decoration: underline; }
.b3d-restock__form label { display: block; font-weight: 600; color: #222; margin-bottom: 8px; font-size: .92rem; }
.b3d-restock__row { display: flex; gap: 8px; flex-wrap: wrap; }
.b3d-restock__row input { flex: 1 1 200px; min-width: 0; padding: 11px 12px; border: 1px solid #c9c5bb; border-radius: 8px; font: inherit; background: #fff; color: #111; }
.b3d-restock__row .btn { padding: 11px 18px; }
.b3d-restock__msg { margin: 8px 0 0; font-size: .86rem; color: #b42318; }
.b3d-restock__msg:empty { display: none; }
.b3d-restock__msg.is-done { color: #047857; font-weight: 600; margin: 0; }

/* ---- Product page: frequently bought together ---- */
.b3d-fbt { margin: 22px 0; padding: 16px; border: 1px solid #e2dfd6; border-radius: 14px; background: #fff; }
.b3d-fbt h2 { font-size: 1.05rem; margin: 0 0 10px; color: #111; }
.b3d-fbt__list { list-style: none; margin: 0; padding: 0; }
.b3d-fbt__item { display: grid; grid-template-columns: auto 56px 1fr auto; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid #f0ede6; cursor: pointer; }
.b3d-fbt__list li:first-child .b3d-fbt__item { border-top: 0; }
.b3d-fbt__item input { width: 18px; height: 18px; accent-color: #047857; }
.b3d-fbt__item img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; background: #f4f3f0; }
.b3d-fbt__name { font-size: .88rem; color: #222; line-height: 1.3; min-width: 0; }
.b3d-fbt__name a { color: inherit; text-decoration: none; }
.b3d-fbt__name a:hover { text-decoration: underline; }
.b3d-fbt__name small { display: block; color: #777; font-size: .75rem; }
.b3d-fbt__price { font-weight: 700; color: #111; white-space: nowrap; font-size: .9rem; }
.b3d-fbt__item:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.b3d-fbt__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid #e2dfd6; color: #333; }
.b3d-fbt__foot b { color: #111; font-size: 1.1rem; }
.b3d-fbt__foot .btn:disabled { background: #8a9096 !important; border-color: #8a9096 !important; cursor: not-allowed; }

/* ---- Instant quote page ---- */
.b3d-quote { margin: 18px 0 8px; }
.b3d-quote__drop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 36px 20px; border: 2px dashed rgba(255,255,255,.3); border-radius: 16px; text-align: center; cursor: pointer; background: rgba(255,255,255,.03); transition: border-color .15s, background .15s; }
.b3d-quote__drop:hover, .b3d-quote__drop.is-over { border-color: var(--clr-accent); background: rgba(255,255,255,.06); }
.b3d-quote__drop[hidden] { display: none; }
.b3d-quote__drop-icon { font-size: 2rem; color: var(--clr-accent); line-height: 1; }
.b3d-quote__drop strong { color: #fff; font-size: 1.05rem; }
.b3d-quote__drop small { color: rgba(255,255,255,.6); }
.b3d-quote__status { color: rgba(255,255,255,.75); min-height: 1em; }
.b3d-quote__result { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.b3d-quote__result[hidden] { display: none; }
@media (max-width: 720px) { .b3d-quote__result { grid-template-columns: 1fr; } }
.b3d-quote__preview { background: radial-gradient(circle at 50% 40%, #2b2f33, #15181b); border-radius: 16px; padding: 10px; }
.b3d-quote__preview canvas { display: block; width: 100%; height: 280px; }
.b3d-quote__file { color: rgba(255,255,255,.6); font-size: .8rem; text-align: center; padding-top: 6px; overflow-wrap: anywhere; }
.b3d-quote__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 14px; }
.b3d-quote__stats div { background: rgba(255,255,255,.06); border-radius: 10px; padding: 8px 10px; }
.b3d-quote__stats dt { color: rgba(255,255,255,.55); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.b3d-quote__stats dd { margin: 2px 0 0; color: #fff; font-weight: 600; font-size: .88rem; }
.b3d-quote__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.b3d-quote__form label { display: flex; flex-direction: column; gap: 4px; color: rgba(255,255,255,.75); font-size: .8rem; }
.b3d-quote__form label:first-child { grid-column: 1 / -1; }
.b3d-quote__form select, .b3d-quote__form input { padding: 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,.2); background: #1d2023; color: #fff; font: inherit; font-size: .9rem; }
.b3d-quote__price { margin: 16px 0 6px; padding: 14px; border-radius: 12px; background: rgba(4,120,87,.18); border: 1px solid rgba(4,120,87,.5); }
.b3d-quote__price span { display: block; color: rgba(255,255,255,.7); font-size: .8rem; }
.b3d-quote__price strong { color: #fff; font-size: 1.5rem; }
.b3d-quote__price small { color: rgba(255,255,255,.7); }
.b3d-quote__price em { display: block; font-style: normal; color: rgba(255,255,255,.85); margin-top: 4px; font-size: .9rem; }
.b3d-quote__warn { color: #fbbf24; font-size: .88rem; }
.b3d-quote__note { color: rgba(255,255,255,.6); font-size: .82rem; }
.b3d-quote__send { display: block; width: 100%; text-align: center; margin-top: 8px; }
.b3d-quote__attach { color: rgba(255,255,255,.6); font-size: .8rem; text-align: center; margin: 6px 0 0; }
.b3d-quote__again { background: none; border: 0; color: var(--clr-accent); font: inherit; font-size: .85rem; cursor: pointer; padding: 8px 0; text-decoration: underline; }

/* ---- Tabby "pay in 4" line (product page + printer cards) ---- */
.b3d-bnpl { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 6px 0 14px; font-size: .9rem; color: #333; }
.b3d-bnpl b { color: #111; }
.b3d-bnpl__tabby { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px 2px 3px; border-radius: 999px; background: #3effa8; color: #111; font-weight: 800; font-size: .8rem; letter-spacing: -.01em; line-height: 1.4; }
.b3d-bnpl__tabby img { width: 16px; height: 16px; border-radius: 50%; }
.b3d-bnpl__alt { flex-basis: 100%; font-size: .78rem; color: #6b6b6b; }
.b3d-bnpl-card { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 4px; font-size: .74rem; color: #555; }
.b3d-bnpl-card .b3d-bnpl__tabby { font-size: .7rem; padding: 1px 6px 1px 2px; }
.b3d-bnpl-card .b3d-bnpl__tabby img { width: 13px; height: 13px; }
.b3d-bnpl-card .b3d-riyal svg, .b3d-bnpl .b3d-riyal svg { vertical-align: -1px; }

/* ---- Cart: free-delivery progress bar ---- */
.b3d-ship-bar { height: 8px; border-radius: 999px; background: #e7e4dc; overflow: hidden; margin: 6px 0 14px; }
.b3d-ship-bar__fill { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #f59e0b, #10b981); transition: width .4s ease; }
.b3d-ship-bar.is-full .b3d-ship-bar__fill { background: #047857; }
@media (prefers-reduced-motion: reduce) { .b3d-ship-bar__fill { transition: none; } }

/* ---- Product page: delivery estimate ---- */
.b3d-eta { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 16px; padding: 10px 12px; border-radius: 10px; background: #eef7f2; color: #1f3d31; font-size: .88rem; line-height: 1.5; }
.b3d-eta b { color: #0b5a40; white-space: nowrap; }

/* ---- Product page: WhatsApp question button ---- */
.b3d-pd__wa { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin: 12px 0 4px; padding: 13px 16px; border-radius: 10px; border: 2px solid #25d366; color: #0f6b3a; background: #f1fcf5; font-weight: 700; text-decoration: none; transition: background .15s; }
.b3d-pd__wa:hover { background: #dcf8e7; }
.b3d-pd__wa:focus-visible { outline: 3px solid #25d366; outline-offset: 2px; }
.b3d-pd__wa svg { color: #25d366; flex: none; }

/* ---- Gift collections: "Shop gifts by occasion" links ---- */
.b3d-gift-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 22px; }
.b3d-gift-links__label { font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #6b6458; margin-inline-end: 4px; }
.b3d-gift-links__item { padding: 8px 14px; border-radius: 999px; border: 1px solid #d9d4c8; background: #fff; color: #1a1a1a; font-size: .88rem; font-weight: 600; text-decoration: none; transition: border-color .15s, background .15s; }
.b3d-gift-links__item:hover { border-color: #047857; background: #eef7f2; }
.b3d-gift-links__item.is-current { background: #1a1a1a; border-color: #1a1a1a; color: #fff; }
.b3d-ship-progress { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.35); }
.b3d-ship-progress p { margin: 0 0 8px; font-size: .88rem; font-weight: 600; }
.b3d-ship-progress .b3d-ship-bar { margin: 0; background: rgba(127,127,127,.25); }
.b3d-ship-progress.is-unlocked { background: rgba(4,120,87,.12); border-color: rgba(4,120,87,.4); }
.b3d-pd .b3d-pd__wa, main.b3d-light .b3d-pd .b3d-pd__wa { color: #0f6b3a !important; text-decoration: none !important; }
.b3d-pd .b3d-pd__wa svg { color: #25d366 !important; fill: currentColor; width: 22px; height: 22px; }
.b3d-pd .b3d-pd__wa span { color: inherit !important; }

/* ---- Kits & deals ---- */
.b3d-kit { margin: 4px 0 20px; padding: 16px; border-radius: 14px; border: 1px solid #cfe6da; background: #f3faf6; }
.b3d-kit h2 { font-size: 1.05rem; margin: 0 0 10px; color: #111; }
.b3d-kit__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.b3d-kit__list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.b3d-kit__list a { display: flex; align-items: center; gap: 10px; min-width: 0; color: #222; text-decoration: none; }
.b3d-kit__list a:hover b { text-decoration: underline; }
.b3d-kit__list img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; background: #fff; flex: none; }
.b3d-kit__list b { display: block; font-size: .88rem; line-height: 1.3; }
.b3d-kit__list small { color: #666; font-size: .75rem; }
.b3d-kit__unit { color: #555; font-size: .85rem; white-space: nowrap; }
.b3d-kit__sum { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid #cfe6da; display: grid; gap: 4px; }
.b3d-kit__sum div { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; }
.b3d-kit__sum dt { color: #444; }
.b3d-kit__sum dd { margin: 0; font-weight: 700; color: #111; }
.b3d-kit__sum s { color: #888; font-weight: 500; }
.b3d-kit__sum .is-save dt, .b3d-kit__sum .is-save dd { color: #047857; }
.b3d-kit__note { margin: 10px 0 0; font-size: .8rem; color: #555; }
.b3d-kit-upsell { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; border: 1px dashed #047857; background: #f3faf6; color: #12372a !important; text-decoration: none !important; font-size: .9rem; }
.b3d-kit-upsell:hover { background: #e4f4ec; }
.b3d-kit-upsell span:nth-child(2) { flex: 1; }
.b3d-deals-link { display: inline-block; padding: 10px 16px; border-radius: 999px; background: #fff4e0; color: #7a4a00 !important; font-weight: 700; text-decoration: none !important; border: 1px solid #f3d19c; }
.b3d-deals-link:hover { background: #ffe9c2; }

/* Pay-later service fee: note under Tabby/Tamara, "Save" chip on card/bank */
.b3d-bnpl-note { margin-top: 10px; padding: 10px 12px; border-radius: 8px; background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.35); font-size: .85rem; line-height: 1.5; }
.b3d-save-chip { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 999px; background: #15803d; color: #fff; font-size: .7rem; font-weight: 700; }
.b3d-save-chip[hidden], .b3d-bnpl-note[hidden] { display: none; }

/* Arrowhead Rewards — tier cards + live account panel (3d/rewards/). */
.b3d-rwd-hero { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.b3d-rwd-hero p { color: rgba(255,255,255,.72); font-size: 1rem; line-height: 1.7; margin-top: 10px; }

.b3d-rwd-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0 0 40px; }
@media (max-width: 860px) { .b3d-rwd-cards { grid-template-columns: 1fr; } }

/* Each tier is a panel: a real card face (metal, chip, contactless) on top, benefits below.
   Tier tokens: --rw-ink (text on the face), --rw-soft (small labels), --rw-edge (panel border), --rw-tick. */
.b3d-rwd-tier {
  --rw-edge: rgba(203,210,219,.22); --rw-tick: #cbd2db; --rw-panel: rgba(203,210,219,.05);
  position: relative;
  display: flex; flex-direction: column; gap: 20px;
  padding: 16px 16px 22px;
  border-radius: 22px;
  border: 1px solid var(--rw-edge);
  background: linear-gradient(180deg, var(--rw-panel), rgba(255,255,255,.015));
}
.b3d-rwd-tier--gold { --rw-edge: rgba(245,158,11,.45); --rw-tick: #f5b942; --rw-panel: rgba(245,158,11,.08); box-shadow: 0 20px 50px -28px rgba(245,158,11,.45); }
.b3d-rwd-tier--platinum {
  --rw-edge: transparent; --rw-tick: #c9d8ff; --rw-panel: rgba(150,170,255,.07);
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, #1b1c22, #141417) padding-box,
    conic-gradient(from 200deg, rgba(233,238,247,.7), rgba(169,196,255,.8), rgba(217,184,255,.8), rgba(255,226,184,.7), rgba(184,240,224,.7), rgba(169,196,255,.8), rgba(233,238,247,.7)) border-box;
  box-shadow: 0 24px 60px -28px rgba(140,160,255,.5);
}
.b3d-rwd-tier__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%); z-index: 3;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
  font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #121318;
  background: linear-gradient(100deg, #ffffff, #c9d8ff 35%, #e6d2ff 60%, #ffe9cc 90%);
  box-shadow: 0 6px 18px -6px rgba(169,196,255,.7);
}

/* --- Card face --- */
.b3d-rwd-card {
  --rw-ink: #ffffff; --rw-soft: rgba(255,255,255,.75);
  --rx: 0deg; --ry: 0deg; --gx: 30%; --gy: 20%;
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 1.586; max-width: 100%;
  border-radius: 16px;
  padding: 18px 20px;
  display: grid; grid-template-rows: auto 1fr auto;
  color: var(--rw-ink);
  box-shadow: 0 18px 34px -16px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.25), inset 0 -1px 0 rgba(0,0,0,.35);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease;
}
.b3d-rwd-card.is-tilting { transition: transform .08s linear; }
/* Light that follows the pointer while the card tilts. */
.b3d-rwd-card__glare {
  position: absolute; inset: 0; pointer-events: none; z-index: 2; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(circle at var(--gx) var(--gy), rgba(255,255,255,.28), rgba(255,255,255,0) 45%);
  mix-blend-mode: soft-light;
}
.b3d-rwd-card.is-tilting .b3d-rwd-card__glare { opacity: 1; }

/* Silver: brushed steel. */
.b3d-rwd-card--silver {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, rgba(0,0,0,.03) 1px 2px, transparent 2px 4px),
    linear-gradient(125deg, #4c5158 0%, #8b9199 26%, #555a61 48%, #7b8189 70%, #3a3e44 100%);
  --rw-soft: rgba(240,244,248,.82);
}
/* Gold: polished gold foil with dark engraved lettering. */
.b3d-rwd-card--gold {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, rgba(0,0,0,.03) 1px 2px, transparent 2px 4px),
    radial-gradient(120% 90% at 15% 0%, rgba(255,240,190,.55), transparent 50%),
    linear-gradient(125deg, #7a5410 0%, #d6a23e 28%, #9a6c1c 52%, #e3b552 74%, #6a480d 100%);
  --rw-ink: #2a1a04; --rw-soft: rgba(42,26,4,.78);
}
.b3d-rwd-card--gold .b3d-rwd-card__tier { text-shadow: 0 1px 0 rgba(255,236,180,.55); }
/* Platinum: black card with an iridescent edge and a slow holographic sweep. */
.b3d-rwd-card--platinum {
  border: 1.5px solid transparent;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(150,170,255,.16), transparent 55%) padding-box,
    radial-gradient(90% 70% at 100% 100%, rgba(255,214,170,.1), transparent 60%) padding-box,
    linear-gradient(155deg, #18191f, #050506 70%) padding-box,
    conic-gradient(from 210deg, #e9eef7, #a9c4ff, #d9b8ff, #ffe2b8, #b8f0e0, #a9c4ff, #e9eef7) border-box;
  --rw-soft: #c5d3f0;
  box-shadow: 0 20px 44px -16px rgba(140,160,255,.45), inset 0 1px 0 rgba(255,255,255,.1);
}
.b3d-rwd-card--platinum::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(169,196,255,.16) 42%, rgba(217,184,255,.13) 50%, rgba(255,226,184,.1) 58%, transparent 70%);
  background-size: 260% 100%; background-position: 100% 0;
}
@media (prefers-reduced-motion: no-preference) {
  .b3d-rwd-card--platinum::before { animation: b3d-rwd-holo 7s ease-in-out infinite; }
}
@keyframes b3d-rwd-holo { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0% 0; } }
.b3d-rwd-card--platinum .b3d-rwd-card__tier {
  background: linear-gradient(100deg, #ffffff 0%, #c9d8ff 35%, #e6d2ff 60%, #ffe9cc 85%, #ffffff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Face rows */
.b3d-rwd-face__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.b3d-rwd-card__logo { width: 112px; height: auto; mix-blend-mode: screen; }
.b3d-rwd-card--gold .b3d-rwd-card__logo { filter: invert(1) grayscale(1) contrast(1.3); mix-blend-mode: multiply; opacity: .85; }
.b3d-rwd-card__nfc { width: 22px; height: 22px; color: var(--rw-soft); flex: none; }
[dir="rtl"] .b3d-rwd-card__nfc { transform: scaleX(-1); }
.b3d-rwd-card__chip {
  --chip-metal: linear-gradient(135deg, #f6e3a4 0%, #d6ab4f 38%, #f3d98b 58%, #b98a2e 100%);
  align-self: center; width: 44px; height: 33px; border-radius: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 33' fill='none' stroke='%23000' stroke-opacity='.38' stroke-width='1'%3E%3Crect x='15.5' y='9.5' width='13' height='14' rx='3'/%3E%3Cpath d='M0 11.5h15.5M0 21.5h15.5M28.5 11.5H44M28.5 21.5H44M22 0v9.5M22 23.5V33'/%3E%3C/svg%3E") center / 100% 100% no-repeat, var(--chip-metal);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.45), 0 1px 2px rgba(0,0,0,.35);
}
.b3d-rwd-card--platinum .b3d-rwd-card__chip { --chip-metal: linear-gradient(135deg, #f7f9ff 0%, #b9c3da 38%, #eef2fb 58%, #949fbb 100%); }
.b3d-rwd-face__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.b3d-rwd-card__tier { font-family: var(--font-display, inherit); font-size: 1.55rem; font-weight: 800; line-height: 1.05; letter-spacing: .01em; color: var(--rw-ink); }
.b3d-rwd-card__status { margin-top: 4px; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--rw-soft); }
.b3d-rwd-face__arrow { width: 34px; height: 34px; flex: none; fill: var(--rw-ink); opacity: .55; }
[dir="rtl"] .b3d-rwd-face__arrow { transform: scaleX(-1); }

/* --- Benefits under the face --- */
.b3d-rwd-tier__body { display: flex; flex-direction: column; gap: 16px; padding: 0 6px; }
.b3d-rwd-card__unlock {
  align-self: flex-start; padding: 4px 11px; border-radius: 999px;
  font-size: .76rem; font-weight: 600; color: #fff;
  background: rgba(255,255,255,.05); border: 1px solid var(--rw-edge);
}
.b3d-rwd-tier--platinum .b3d-rwd-card__unlock { border-color: rgba(197,211,240,.45); }
.b3d-rwd-card__perks { list-style: none; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.b3d-rwd-card__perks li { font-size: .88rem; line-height: 1.45; color: rgba(255,255,255,.86); padding-inline-start: 24px; position: relative; }
.b3d-rwd-card__perks li::before {
  content: ''; position: absolute; left: 3px; top: .38em; width: 10px; height: 6px;
  border-left: 2px solid var(--rw-tick); border-bottom: 2px solid var(--rw-tick); transform: rotate(-45deg);
}
[dir="rtl"] .b3d-rwd-card__perks li::before { left: auto; right: 3px; }

/* --- Live member card --- */
.b3d-rwd-live { max-width: 440px; margin: 0 auto 40px; }
.b3d-rwd-live .b3d-rwd-card { padding: 20px 22px; grid-template-rows: auto auto 1fr auto; }
.b3d-rwd-live .b3d-rwd-card__tier { font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; }
.b3d-rwd-live .b3d-rwd-card__chip { align-self: start; margin-top: 12px; }
.b3d-rwd-live__balance { align-self: end; display: flex; flex-direction: column; gap: 2px; font-variant-numeric: tabular-nums; }
.b3d-rwd-live__balance > span:first-child { font-size: 2.2rem; font-weight: 800; line-height: 1; color: var(--rw-ink); letter-spacing: .01em; }
.b3d-rwd-live__balance > span + span { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--rw-soft); }
.b3d-rwd-live__meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; }
.b3d-rwd-live__row { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.b3d-rwd-live__row:last-child { text-align: end; }
.b3d-rwd-live__row span { font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--rw-soft); }
.b3d-rwd-live__row strong { font-size: .95rem; font-weight: 700; color: var(--rw-ink); letter-spacing: .03em; overflow-wrap: anywhere; }
.b3d-rwd-progress { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.b3d-rwd-progress__text { font-size: .86rem; color: rgba(255,255,255,.8); text-align: center; }
.b3d-rwd-progress__text strong { color: #fff; }
.b3d-rwd-progress__bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.b3d-rwd-progress__bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #b45309, #F59E0B, #fde68a); transition: width .8s ease; }
[dir="rtl"] .b3d-rwd-progress__bar span { margin-inline-start: auto; background: linear-gradient(270deg, #b45309, #F59E0B, #fde68a); }
.b3d-rwd-progress--gold .b3d-rwd-progress__bar span,
.b3d-rwd-progress--platinum .b3d-rwd-progress__bar span { background: linear-gradient(90deg, #a9c4ff, #d9b8ff, #ffe2b8); }
@media (max-width: 420px) {
  .b3d-rwd-live .b3d-rwd-card { padding: 16px 18px; }
  .b3d-rwd-live__balance > span:first-child { font-size: 1.8rem; }
  .b3d-rwd-live .b3d-rwd-card__chip { margin-top: 8px; width: 40px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) { .b3d-rwd-card { transition: none; } }
.b3d-rwd-cards { padding-top: 12px; }

.b3d-rwd-panel { max-width: 480px; margin: 0 auto 40px; background: rgba(255,255,255,.03); border: 1px solid rgba(245,158,11,.18); border-radius: var(--radius-md); padding: 24px; text-align: center; }
.b3d-rwd-panel p { color: rgba(255,255,255,.72); font-size: .92rem; margin-bottom: 14px; line-height: 1.6; }
.b3d-rwd-panel .b3d-account__form { text-align: left; }
[dir="rtl"] .b3d-rwd-panel .b3d-account__form { text-align: right; }
.b3d-rwd-panel[hidden] { display: none; }

.b3d-rwd-how { max-width: 760px; margin: 0 auto 40px; }
.b3d-rwd-how ol { counter-reset: rwd; list-style: none; display: grid; gap: 14px; }
.b3d-rwd-how li { counter-increment: rwd; position: relative; padding-inline-start: 40px; color: rgba(255,255,255,.78); font-size: .92rem; line-height: 1.6; }
.b3d-rwd-how li::before { content: counter(rwd); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--clr-accent); color: #1a1a1a; font-weight: 800; font-size: .85rem; display: flex; align-items: center; justify-content: center; }
[dir="rtl"] .b3d-rwd-how li { padding-inline-start: 0; padding-inline-end: 40px; }
[dir="rtl"] .b3d-rwd-how li::before { left: auto; right: 0; }

/* Home: delivery across Saudi Arabia + store facts */
.b3d-cities__list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 18px 0 26px; }
.b3d-city-chip { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid #cfcbc0; background: #fff; color: #1a1a1a; font-weight: 600; font-size: .9rem; text-decoration: none; }
.b3d-city-chip:hover, .b3d-city-chip:focus-visible { border-color: #1a1a1a; }
.b3d-glance { max-width: 760px; margin: 0 auto; padding: 18px 20px; border: 1px solid #e3dfd4; border-radius: 12px; background: #fff; color: #1a1a1a; }
.b3d-glance h3 { margin: 0 0 10px; font-size: 1.05rem; }
.b3d-glance dl { margin: 0; display: grid; gap: 8px; }
.b3d-glance dl > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; }
.b3d-glance dt { font-weight: 700; color: #555; }
.b3d-glance dd { margin: 0; }
@media (max-width: 520px) { .b3d-glance dl > div { grid-template-columns: 1fr; gap: 2px; } }

/* Arrowhead Rewards row in the cart summary */
.b3d-rewards-row { align-items: center; gap: 10px; color: #fde68a; }
.b3d-rewards-row__label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.b3d-rewards-row__label input { width: 16px; height: 16px; accent-color: var(--clr-accent); flex: none; }
.b3d-rewards-row__label input[hidden] { display: none; }
.b3d-rewards-row__label a { color: var(--clr-accent); text-decoration: underline; }
.b3d-rewards-row [data-b3d-rewards-amount] { color: #6ee7a8; white-space: nowrap; }

/* Blog index: topic filter + grouped sections (built by 3d-blog-index.js). */
.b3d-blog-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.b3d-blog-filter__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: .88rem; font-weight: 600; color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.b3d-blog-filter__btn:hover { border-color: rgba(245,158,11,.6); color: #fff; }
.b3d-blog-filter__btn[aria-pressed="true"] { background: var(--clr-accent); border-color: var(--clr-accent); color: #1a1a1a; }
.b3d-blog-filter__count { font-size: .74rem; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: rgba(255,255,255,.1); }
.b3d-blog-filter__btn[aria-pressed="true"] .b3d-blog-filter__count { background: rgba(0,0,0,.15); }
.b3d-blog-topic { margin-top: 36px; }
.b3d-blog-topic[hidden] { display: none; }
.b3d-blog-topic__title {
  color: #fff; font-size: 1.3rem; margin: 0; padding-bottom: 10px;
  border-bottom: 1px solid rgba(245,158,11,.35);
}
.b3d-blog-topic .b3d-blog-grid { margin-top: 18px; }
@media (max-width: 600px) {
  .b3d-blog-filter { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .b3d-blog-filter__btn { flex: none; }
}

/* Category landing pages: the "Filters →" button gets its own row, clear of the material
   tabs and the product grid below it (it used to overlap them on phones). */
main.b3d-light .container > p:has(> a.btn) { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 18px; }

/* Checkout: order summary repeated right above "Place Order". */
.b3d-checkout .b3d-account__form > .b3d-checkout-recap { grid-column: 1 / -1; }
.b3d-checkout-recap { display: grid; gap: 6px; margin-top: 6px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(255,255,255,.04); font-size: .92rem; font-variant-numeric: tabular-nums; }
.b3d-checkout-recap__title { margin: 0 0 4px; font-size: .95rem; color: #fff; }
.b3d-checkout-recap__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: rgba(255,255,255,.8); }
.b3d-checkout-recap__total { margin-top: 4px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.16); color: #fff; font-size: 1.08rem; font-weight: 800; }
