/* OK Furniture - normal brand look, no prices (from 2 Dec 2026).
   Shared by every OK Furniture build. A page opts in with
   <body class="theme-okn"> and <link rel="stylesheet" href="../brand.css">.
   Brand colours from okfurniture.co.za: OK red and white.
   Prices, savings, credit, deal badges and validity lines are all hidden:
   the experience shows the product, its features and Buy Now only. */

body.theme-okn {
  --ok-red: #e2231a;
  --ok-red-deep: #b5130c;
  --bf-green: #ffffff; --bf-glow: 255, 255, 255; --bf-ring: #ffffff; --bf-red: #e2231a; --bf-green-deep: #b5130c;
}

/* ---- No prices, savings, credit or deal wording ---- */
body.theme-okn #price-row, body.theme-okn #price-tag, body.theme-okn #price-now, body.theme-okn #price-save,
body.theme-okn #off-badge, body.theme-okn #float-badge, body.theme-okn #credit-terms-btn, body.theme-okn #credit-terms-modal,
body.theme-okn #valid-line, body.theme-okn .bf-lockup, body.theme-okn .xm-lockup, body.theme-okn .hx-lockup,
body.theme-okn #product-banner em, body.theme-okn #splash-ring,
body.theme-okn .price, body.theme-okn .price-pill, body.theme-okn .deal-badge, body.theme-okn .holiday-badge,
body.theme-okn #credit-btn, body.theme-okn #apply-credit-btn, body.theme-okn .valid, body.theme-okn .validity { display: none !important; }

/* ---- Intro screen ---- */
body.theme-okn #custom-splash {
  background:
    radial-gradient(circle at 50% 38%, #ec3a31 0%, #d81e18 55%, #a80f0c 100%) !important;
}
body.theme-okn #splash-logo { background: #fff; border-radius: 14px; padding: 8px 12px; box-sizing: border-box; }
body.theme-okn #custom-splash h2 { color: #fff; }
body.theme-okn .ro-btn { background: #fff; color: var(--ok-red); border-color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); }

/* ---- Product name bar and buttons ---- */
body.theme-okn #product-banner { background: rgba(214, 22, 18, 0.92); border: 1.5px solid #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); }
body.theme-okn #product-banner b { color: #fff; }
body.theme-okn #product-banner small { color: #ffe9e6; }
body.theme-okn #sidebar { background: rgba(150, 10, 8, 0.6); }
body.theme-okn #buy-now-btn { background: #fff; color: var(--ok-red); border: 1.5px solid var(--ok-red);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4); min-width: 170px; }
body.theme-okn #bottom-stack { gap: 6px; }

/* Buy Now centred along the bottom (portrait); bottom-left in landscape */
@media (orientation: portrait) {
  body.theme-okn #bottom-stack { left: 50%; right: auto; transform: translateX(-50%); align-items: center; }
}
body.theme-okn #buy-now-btn { font-size: 0.95rem; padding: 11px 30px; }

/* Other page types (lounge 360 rooms, original builds, PS5): same rule -
   no price chip, deal badge, deal tag, validity or small print. */
body.theme-okn #price-chip, body.theme-okn .price-block, body.theme-okn .price-now, body.theme-okn .price-was, body.theme-okn .price-save,
body.theme-okn #price-note, body.theme-okn #holiday-badge, body.theme-okn #deal-tag, body.theme-okn #deal-valid,
body.theme-okn #small-print { display: none !important; }

/* ---- Small OK Furniture logo, top right (2 Dec 2026) ---- */
body.theme-okn::after {
  content: ''; position: fixed; z-index: 99990; pointer-events: none;
  top: calc(10px + env(safe-area-inset-top, 0px)); right: calc(10px + env(safe-area-inset-right, 0px));
  width: 62px; height: 36px; border-radius: 9px;
  background: url('store-logo.png') center / 50px auto no-repeat, #ffffff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}
@media (orientation: portrait) {
  body.theme-okn #product-banner { left: calc(50% - 36px); max-width: calc(100vw - 104px); }
}
/* sideways: the button bar sits top right, so it moves down below the logo */
@media (orientation: landscape) {
  body.theme-okn #sidebar { margin-top: 46px; }
}

/* deal tags inside name bars (360 builds) */
body.theme-okn .bf-tag, body.theme-okn .xm-tag, body.theme-okn .hx-tag { display: none !important; }
