/* =========================================================
   PDX Electronics Store — Custom Stylesheet
   Follows rawafed/ conventions: camelCase class names,
   component-based, mobile-first
   ========================================================= */

/* ─── Base ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:        #D90018;
  --red-dark:   #BF2126;
  --red-muted:  rgba(191,33,38,0.07);
  --gray:       #F6F6F6;
  --border:     rgba(0,0,0,0.1);
  --text-muted: rgba(0,0,0,0.6);
  --text-light: rgba(85,85,85,0.8);
  --shadow-card: 4px 20px 40px 0px rgba(0,0,0,0.05);
  --shadow-red:  4px 20px 40px 0px rgba(217,0,24,0.05);
  --radius-card: 15px;
  --radius-hero: 30px;
  --radius-pill: 50px;
}

/* Store commerce drawer and Buy Now modal */
.commerceForm{display:flex;flex-direction:column;gap:12px;padding:16px;direction:rtl}.commerceForm h3{font-size:18px;font-weight:700}.commerceForm .kt-input,.commerceCoupon input{width:100%;border:1px solid rgba(0,0,0,.14);border-radius:10px;padding:11px 13px;background:#fff;outline:none}.commerceForm textarea{min-height:88px;resize:vertical}.commerceForm .kt-input:focus,.commerceCoupon input:focus{border-color:#d90018;box-shadow:0 0 0 3px rgba(217,0,24,.08)}.commerceCoupon{display:flex;gap:8px;margin-bottom:12px;direction:rtl}.commerceCoupon button,.commerceCouponApplied button{border:0;border-radius:9px;background:#111;color:#fff;padding:9px 14px;font-weight:600}.commerceCouponApplied{display:flex;align-items:center;justify-content:space-between;border-radius:10px;background:#f5f5f5;padding:10px 12px;margin-bottom:12px}.commerceError{display:block;color:#d90018;margin:4px 0}.cartItem.is-disabled{opacity:.65}.btnBuyNow{width:100%;border:1px solid #d90018;color:#d90018;background:#fff;border-radius:8px;padding:10px;font-weight:600}.commerceModal{position:fixed;inset:0;z-index:1000;background:rgba(0,0,0,.55);display:grid;place-items:center;padding:20px}.commerceModal[hidden]{display:none}.commerceModalCard{position:relative;width:min(520px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:18px;padding:24px;box-shadow:0 24px 80px rgba(0,0,0,.28)}.commerceModalCard h2{font-size:24px;font-weight:700;margin-bottom:14px}.commerceModalClose{position:absolute;right:16px;top:16px;width:36px;height:36px;border:0;border-radius:50%;background:#f2f2f2}.commerceModalCard #buyNowProduct{padding:12px;border-radius:10px;background:#f7f7f7;margin-bottom:8px}.btnCheckout:disabled{opacity:.55;cursor:not-allowed}

html { scroll-behavior: smooth; }

[hidden] { display: none !important; }
button { font-family: inherit; cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

body { font-family: var(--font-sans, 'Figtree', 'Alexandria', sans-serif); color: #000; background: #fff; }

/* ─── Container ───────────────────────────────────────── */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1rem;
  padding-left: 1rem;
}
@media (min-width: 640px)  { .container { padding-right: 1.5rem; padding-left: 1.5rem; max-width: 100% !important; } }
@media (min-width: 1024px) { .container { padding-right: 2rem;   padding-left: 2rem; max-width: 1520px !important; } }

/* ─── Top Bar ─────────────────────────────────────────── */
.topBar { background: #1a1a1a; }
.topBarItem { transition: opacity .2s; }

/* ─── Main Header ─────────────────────────────────────── */
.mainHeader { transition: box-shadow .3s; }
.mainHeader.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

/* ─── Search Bar ──────────────────────────────────────── */
.searchBar { position: relative; transition: border-color .2s, background .2s, box-shadow .2s; }
.searchBar:focus-within,
.searchBar.active { border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(217,0,24,0.08); }
#searchInput:focus-visible { outline: none; }
#searchInput::-webkit-search-cancel-button,
#searchInput::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }


.searchClear {
  width: 30px; height: 30px; margin-left: 6px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; color: rgba(0,0,0,0.45); transition: background .15s, color .15s;
}
.searchClear:hover { background: rgba(0,0,0,0.06); color: #000; }

/* scope select (inside search bar) */
.scopeWrap { position: relative; }
.scopeBtn {
  display: flex; align-items: center; gap: 6px; height: 100%;
  padding: 0 20px 0 14px; border-left: 1px solid var(--border);
  font-size: 14px; font-weight: 500; color: rgba(0,0,0,0.7); white-space: nowrap;
  border-radius: 0 50px 50px 0; transition: color .15s;
}
.scopeBtn:hover, .scopeBtn[aria-expanded="true"], .scopeBtn.scoped { color: var(--red); }
.scopeLabel { max-width: 130px; overflow: hidden; text-overflow: ellipsis; }
.scopeChevron { font-size: 10px; transition: transform .2s; }
.scopeBtn[aria-expanded="true"] .scopeChevron { transform: rotate(-180deg); }

.scopeList {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 6;
  width: 270px; max-height: min(460px, 70vh); overflow-y: auto; overscroll-behavior: contain;
  padding: 6px; list-style: none; outline: none;
  background: #fff; border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.14), 0 0 0 1px var(--border);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility 0s linear .15s;
}
.scopeList.open { opacity: 1; visibility: visible; transform: none; transition: opacity .15s, transform .15s; }
.scopeOption {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px;
  border-radius: 8px; font-size: 13px; color: rgba(0,0,0,0.8); cursor: pointer;
}
.scopeOption > i:first-child { width: 16px; text-align: center; color: rgba(0,0,0,0.4); }
.scopeOption.kbd { background: var(--gray); }
.scopeOption[aria-selected="true"] { color: var(--red); font-weight: 500; }
.scopeOption[aria-selected="true"] > i:first-child { color: var(--red); }
.scopeCheck { margin-right: auto; font-size: 11px; opacity: 0; }
.scopeOption[aria-selected="true"] .scopeCheck { opacity: 1; }

/* suggestions panel */
.searchPanel {
  position: absolute; top: calc(100% + 10px); right: 0; left: 0; z-index: 5;
  max-height: min(72vh, 580px); overflow-y: auto; overscroll-behavior: contain;
  padding: 18px 20px; background: #fff; border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.16), 0 0 0 1px var(--border);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility 0s linear .15s;
}
.searchPanel.open { opacity: 1; visibility: visible; transform: none; transition: opacity .15s, transform .15s; }
@media (max-width: 639px)  { .searchPanel { padding: 14px; border-radius: 14px; max-height: calc(100dvh - 140px); } }

.searchPanel mark { background: none; color: var(--red); font-weight: 600; }
.spSection + .spSection { margin-top: 18px; }
.spHead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.spTitle {
  margin-bottom: 8px; font-size: 11px; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase; color: rgba(0,0,0,0.45);
}
.spHead .spTitle { margin-bottom: 0; }
.spTitle span { margin-right: 4px; padding: 1px 7px; border-radius: 50px; background: var(--gray); color: #000; font-size: 10px; }
.spLink { font-size: 12px; font-weight: 500; color: var(--red); }
.spLink:hover { text-decoration: underline; }
.spList { list-style: none; }

.spRecent { display: flex; align-items: center; }
.spRow {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px;
  padding: 8px 10px; border-radius: 10px; font-size: 14px; color: rgba(0,0,0,0.85);
}
.spRow > i { width: 16px; text-align: center; font-size: 13px; color: rgba(0,0,0,0.35); }
.spRow > span { display: flex; flex-direction: column; min-width: 0; }
.spRow small { font-size: 11px; color: rgba(0,0,0,0.45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spRemove {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%;
  font-size: 12px; color: rgba(0,0,0,0.35); transition: background .15s, color .15s;
}
.spRemove:hover { background: var(--gray); color: #000; }

.spChips { display: flex; flex-wrap: wrap; gap: 8px; }
.spChip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px;
  border: 1px solid var(--border); border-radius: 50px; font-size: 13px;
  transition: border-color .15s, color .15s, background .15s;
}
.spChip i { font-size: 11px; color: var(--red); }

.spCats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (max-width: 639px) { .spCats { grid-template-columns: repeat(2, 1fr); } }
.spCat {
  display: flex; align-items: center; gap: 10px; padding: 8px;
  border: 1px solid var(--border); border-radius: 12px;
  font-size: 12px; font-weight: 500; line-height: 1.3; transition: border-color .15s, color .15s;
}
.spCat img { width: 44px; height: 44px; flex-shrink: 0; padding: 4px; object-fit: contain; background: var(--gray); border-radius: 8px; }

.spGrid { display: grid; gap: 18px; }
@media (min-width: 768px) {
  .spGrid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .spGrid .spSection + .spSection { margin-top: 0; }
}
.spProduct { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; }
.spProduct img { width: 52px; height: 52px; flex-shrink: 0; padding: 4px; object-fit: contain; background: var(--gray); border-radius: 10px; }
.spProductInfo { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.spProductName {
  font-size: 13px; font-weight: 500; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.spProductPrice { font-size: 13px; font-weight: 600; color: var(--red); }
.spProductPrice s { margin-right: 6px; font-size: 12px; font-weight: 400; color: var(--text-muted); }

.spRow:hover, .spRow.kbd,
.spProduct:hover, .spProduct.kbd { background: var(--gray); }
.spChip:hover, .spChip.kbd { border-color: var(--red); color: var(--red); background: var(--red-muted); }
.spCat:hover, .spCat.kbd { border-color: var(--red); color: var(--red); }

.spAll {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 14px; padding: 11px; border-radius: 50px;
  background: var(--gray); font-size: 13px; font-weight: 600; transition: background .15s, color .15s;
}
.spAll:hover, .spAll.kbd { background: var(--red); color: #fff; }

.spScope {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 14px;
  padding: 8px 12px; border-radius: 10px; background: var(--red-muted);
  font-size: 12px; color: var(--text-muted);
}
.spScope strong { color: var(--red); font-weight: 600; }
.spScope button { margin-right: auto; font-size: 12px; font-weight: 500; text-decoration: underline; }

.spNoResults { display: flex; flex-direction: column; align-items: center; padding: 14px 0 22px; text-align: center; }
.spNoResults i {
  width: 52px; height: 52px; margin-bottom: 12px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--gray); color: rgba(0,0,0,0.35); font-size: 18px;
}
.spNoResults p { font-size: 15px; font-weight: 600; }
.spNoResults span { margin-top: 2px; font-size: 13px; color: var(--text-muted); }

/* thin, quiet scrollbars inside menus and drawers
   (Firefox uses the standard props; Chrome/Safari the webkit ones) */
.scopeList, .searchPanel, .megaRail, .megaPanel, .drillLevel, .cartBody {
  scrollbar-width: thin; scrollbar-color: rgba(0,0,0,0.14) transparent;
}
@supports selector(::-webkit-scrollbar) {
  .scopeList, .searchPanel, .megaRail, .megaPanel, .drillLevel, .cartBody { scrollbar-width: auto; scrollbar-color: auto; }
  :is(.scopeList, .searchPanel, .megaRail, .megaPanel, .drillLevel, .cartBody)::-webkit-scrollbar { width: 6px; }
  :is(.scopeList, .searchPanel, .megaRail, .megaPanel, .drillLevel, .cartBody)::-webkit-scrollbar-track { margin: 10px 0; background: transparent; }
  :is(.scopeList, .searchPanel, .megaRail, .megaPanel, .drillLevel, .cartBody)::-webkit-scrollbar-thumb { border-radius: 6px; background: rgba(0,0,0,0.1); }
  :is(.scopeList, .searchPanel, .megaRail, .megaPanel, .drillLevel, .cartBody):hover::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.2); }
  :is(.scopeList, .searchPanel, .megaRail, .megaPanel, .drillLevel, .cartBody)::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.32); }
}

/* page scrim behind mega menu / search */
.pageScrim {
  position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,0.35);
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s linear .2s;
}
.pageScrim.active { opacity: 1; visibility: visible; transition: opacity .2s; }

/* ─── Cart button + badge ─────────────────────────────── */
.cartBtn { transition: opacity .2s; }
.cartBtn:hover { opacity: .8; }
.cartBadge {
  position: absolute; top: -7px; left: -8px;
  min-width: 18px; height: 18px; padding: 0 4px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff; border-radius: 50px; background: var(--red);
  color: #fff; font-size: 10px; font-weight: 700; line-height: 1;
}
.cartBadge.bump { animation: badgeBump .45s cubic-bezier(.36,1.6,.5,1); }
@keyframes badgeBump { 40% { transform: scale(1.45); } }

/* ─── Navigation ──────────────────────────────────────── */
.navLink { transition: color .2s; position: relative; }
.navLink:hover { color: var(--red); }
.navLink.active { color: var(--red); font-weight: 600; }
.navLink.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

/* ─── Mega Menu ───────────────────────────────────────── */
.navBar { position: relative; z-index: 30; }
.navBar.megaOpen { z-index: 45; }
.allCatsChevron { transition: transform .2s; }
.allCatsBtn[aria-expanded="true"] { color: var(--red); }
.allCatsBtn[aria-expanded="true"] .allCatsChevron { transform: rotate(-180deg); }

.megaMenu {
  position: absolute; top: 100%; right: 0; left: 0;
  background: #fff; border-top: 1px solid var(--border);
  box-shadow: 0 30px 50px -20px rgba(0,0,0,0.25);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.megaMenu.open { opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .18s ease; }

.megaInner {
  display: grid; grid-template-columns: 270px minmax(0, 1fr);
  height: min(500px, calc(100vh - 210px)); min-height: 380px;
}

.megaRail {
  list-style: none; padding: 14px 0 14px 14px;
  border-left: 1px solid var(--border);
  overflow-y: auto; overscroll-behavior: contain;
}
.megaRailItem {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  border-radius: 10px; font-size: 14px; font-weight: 500; color: rgba(0,0,0,0.75);
  transition: background .15s, color .15s;
}
.megaRailIcon { width: 18px; text-align: center; color: rgba(0,0,0,0.4); transition: color .15s; }
.megaRailArrow { margin-right: auto; font-size: 10px; opacity: 0; transform: translateX(4px); transition: opacity .15s, transform .15s; }
.megaRailItem.active { background: var(--red-muted); color: var(--red); }
.megaRailItem.active .megaRailIcon { color: var(--red); }
.megaRailItem.active .megaRailArrow { opacity: 1; transform: none; }

.megaPanel { display: flex; flex-direction: column; min-width: 0; padding: 20px 32px 0 0; overflow-y: auto; overscroll-behavior: contain; }
.megaPanel.swap { animation: megaSwap .22s ease both; }
@keyframes megaSwap { from { opacity: 0; transform: translateX(-8px); } }

.megaPanelHead {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.megaPanelTitle { font-size: 20px; font-weight: 600; line-height: 1.2; }
.megaPanelSub { margin-top: 3px; font-size: 12px; color: var(--text-muted); }
.megaShopAll {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  padding: 8px 18px; border: 1.5px solid var(--red); border-radius: 50px;
  font-size: 13px; font-weight: 600; color: var(--red); transition: background .15s, color .15s;
}
.megaShopAll:hover { background: var(--red); color: #fff; }

.megaPanelBody { display: flex; gap: 32px; flex: 1 0 auto; min-height: 300px; padding: 18px 0 6px; }
.megaGroups { flex: 1; align-self: flex-start; min-width: 0; columns: 3 170px; column-gap: 32px; }
.megaGroup { break-inside: avoid; margin-bottom: 20px; }
.megaGroupTitle { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; transition: color .15s; }
.megaGroupTitle:hover { color: var(--red); }
.megaGroup ul { list-style: none; }
.megaGroup li a {
  display: inline-block; padding: 3px 0; font-size: 13px; color: var(--text-muted);
  transition: color .15s, transform .15s;
}
.megaGroup li a:hover { color: var(--red); transform: translateX(-3px); }
.megaGroup li a.megaMore { color: var(--red); font-weight: 500; }
.megaMore i { font-size: 10px; margin-right: 2px; }

.megaPromo {
  position: relative; display: flex; flex-direction: column; flex-shrink: 0;
  width: 240px; padding: 18px; overflow: hidden; border-radius: 16px;
  background: linear-gradient(-160deg, #fff1f2 0%, var(--gray) 70%);
}
.megaPromoEyebrow { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.megaPromoTitle { margin-top: 4px; font-size: 17px; font-weight: 600; line-height: 1.3; }
.megaPromo img { flex: 1 1 0; height: 0; min-height: 0; width: 100%; margin: 10px 0; object-fit: contain; transition: transform .35s ease; }
.megaPromo:hover img { transform: scale(1.06); }
.megaPromoCta { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.megaPromoCta i { color: var(--red); transition: transform .2s; }
.megaPromo:hover .megaPromoCta i { transform: translateX(-4px); }

.megaBrands { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 12px 0 16px; border-top: 1px solid var(--border); }
.megaBrands > span { margin-left: 6px; font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: rgba(0,0,0,0.45); }
.megaBrand { padding: 5px 12px; border: 1px solid var(--border); border-radius: 50px; font-size: 12px; font-weight: 500; transition: border-color .15s, color .15s; }
.megaBrand:hover { border-color: var(--red); color: var(--red); }

@media (max-width: 1279px) {
  .megaPromo { display: none; }
  .megaInner { grid-template-columns: 240px minmax(0, 1fr); }
}

/* ─── Drawers (sidebar + cart) ────────────────────────── */
.overlay {
  position: fixed; inset: 0; z-index: 150; background: rgba(0,0,0,0.5);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s;
}
.overlay.active { opacity: 1; visibility: visible; transition: opacity .3s; }

.drawer {
  position: fixed; top: 0; bottom: 0; z-index: 216;
  display: flex; flex-direction: column; width: min(420px, 100vw);
  background: #fff; box-shadow: 0 0 60px rgba(0,0,0,0.15);
  visibility: hidden; transition: transform .35s cubic-bezier(.32,.72,0,1), visibility 0s linear .35s;
}
.drawer:focus { outline: none; }
.drawerLeft  { right: 0;  transform: translateX(100%); }
.drawerRight { left: 0; transform: translateX(-100%); }
.drawer.active { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.32,.72,0,1); }
.drawerClose {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 10px; font-size: 16px; transition: background .15s;
}
.drawerClose:hover { background: var(--gray); }

/* ─── Mobile Sidebar ──────────────────────────────────── */
.sidebar { width: min(340px, 88vw); }

.sideTabs { display: flex; gap: 4px; margin: 12px 16px 6px; padding: 4px; border-radius: 50px; background: var(--gray); }
.sideTabs button {
  flex: 1; height: 36px; border-radius: 50px;
  font-size: 13px; font-weight: 500; color: rgba(0,0,0,0.6); transition: background .2s, color .2s;
}
.sideTabs button[aria-selected="true"] { background: #fff; color: var(--red); font-weight: 600; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.sidePanel { flex: 1; min-height: 0; }

.drillView { position: relative; height: 100%; overflow: hidden; }
.drillLevel {
  position: absolute; inset: 0; padding: 4px 12px 24px; list-style: none;
  overflow-y: auto; overscroll-behavior: contain;
  transition: transform .3s cubic-bezier(.32,.72,0,1), opacity .3s;
}
.drillSub { transform: translateX(-100%); }
.drillView.drilled .drillMain { transform: translateX(25%); opacity: 0; }
.drillView.drilled .drillSub { transform: none; }

.drillItem {
  width: 100%; display: flex; align-items: center; gap: 12px; padding: 8px;
  border-radius: 12px; font-size: 14px; font-weight: 500; text-align: right; transition: background .15s;
}
.drillItem:hover, .drillItem:active { background: var(--gray); }
.drillIcon {
  width: 38px; height: 38px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; background: var(--red-muted); color: var(--red); font-size: 15px;
}
.drillArrow { margin-right: auto; font-size: 11px; color: rgba(0,0,0,0.35); }

.drillBack { display: flex; align-items: center; gap: 10px; padding: 10px 8px; font-size: 13px; font-weight: 600; color: rgba(0,0,0,0.7); }
.drillHero { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; padding: 10px 12px; border-radius: 14px; background: var(--gray); }
.drillHero img { width: 56px; height: 56px; padding: 4px; object-fit: contain; background: #fff; border-radius: 10px; }
.drillHero span { flex: 1; display: flex; flex-direction: column; }
.drillHero strong { font-size: 15px; font-weight: 600; line-height: 1.3; }
.drillHero small { font-size: 12px; font-weight: 500; color: var(--red); }
.drillHero > i { color: var(--red); }

.drillGroup { border-bottom: 1px solid var(--border); }
.drillGroup summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 8px; list-style: none; font-size: 14px; font-weight: 600; cursor: pointer;
}
.drillGroup summary::-webkit-details-marker { display: none; }
.drillGroup summary i { font-size: 11px; color: rgba(0,0,0,0.4); transition: transform .2s; }
.drillGroup[open] summary i { transform: rotate(-180deg); }
.drillGroup ul { display: grid; gap: 2px; padding: 0 4px 12px; list-style: none; }
.drillGroup ul a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 13px; color: rgba(0,0,0,0.7); }
.drillGroup ul a:hover { background: var(--gray); color: var(--red); }
.drillGroup ul a.drillAll { color: var(--red); font-weight: 500; }
.drillBrands { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 8px 0; }
.drillBrands a { padding: 5px 12px; border: 1px solid var(--border); border-radius: 50px; font-size: 12px; }

/* ─── Cart Drawer ─────────────────────────────────────── */
.cartHead { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.cartHead h2 { font-size: 18px; font-weight: 600; }
#cartDrawerCount { font-weight: 400; color: var(--text-muted); }

.cartShipping { padding: 14px 20px; border-bottom: 1px solid var(--border); background: #fafafa; font-size: 13px; }
.cartShipping strong { color: var(--red); font-weight: 600; }
.cartShipping.done p, .cartShipping.done strong { color: #15803d; }
.shipBar { height: 6px; margin-top: 8px; overflow: hidden; border-radius: 6px; background: rgba(0,0,0,0.08); }
.shipBar span { display: block; height: 100%; transform-origin: right; background: linear-gradient(-90deg, var(--red-dark), var(--red)); transition: transform .5s ease; }
.cartShipping.done .shipBar span { background: #16a34a; }

/* removed item: a slim row in its place with Undo */
.cartRemoved {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0; padding: 12px 14px;
  border-radius: 12px; background: var(--gray); font-size: 13px; color: var(--text-muted); animation: noticeIn .25s ease;
}
.cartRemoved span { min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cartRemoved strong { font-weight: 500; color: #000; }
.cartRemoved button {
  flex-shrink: 0; height: 32px; padding: 0 14px; border: 1.5px solid var(--border); border-radius: 50px; background: #fff;
  font-size: 12px; font-weight: 600; color: #000; transition: border-color .15s, color .15s;
}
.cartRemoved button:hover { border-color: var(--red); color: var(--red); }
@keyframes noticeIn { from { opacity: 0; transform: translateY(-6px); } }

.cartBody { flex: 1; padding: 0 20px; overflow-y: auto; overscroll-behavior: contain; }
.cartList { list-style: none; }
.cartItem { display: flex; gap: 14px; margin: 0 -20px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.cartItem:last-child { border-bottom: 0; }
.cartItem.flash { animation: cartFlash 1.4s ease; }
@keyframes cartFlash { from { background: rgba(217,0,24,0.08); } }
.cartItemImg { width: 80px; height: 80px; flex-shrink: 0; border-radius: 12px; background: var(--gray); }
.cartItemImg img { width: 100%; height: 100%; padding: 6px; object-fit: contain; }
.cartItemBody { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cartItemTop { display: flex; align-items: flex-start; gap: 8px; }
.cartItemName {
  flex: 1; font-size: 14px; font-weight: 500; line-height: 1.4; transition: color .15s;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cartItemName:hover { color: var(--red); }
.cartItemRemove { width: 30px; height: 30px; flex-shrink: 0; margin: -4px 0 0 -6px; border-radius: 8px; color: rgba(0,0,0,0.4); transition: background .15s, color .15s; }
.cartItemRemove:hover { background: var(--red-muted); color: var(--red); }
.cartItemMeta { margin-top: 2px; font-size: 12px; color: var(--text-muted); }
.cartItemBottom { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; }

.qtyStepper { display: inline-flex; align-items: center; height: 34px; border: 1px solid var(--border); border-radius: 50px; }
.qtyStepper button {
  width: 34px; height: 100%; display: flex; align-items: center; justify-content: center;
  border-radius: 50px; font-size: 11px; color: rgba(0,0,0,0.6); transition: color .15s;
}
.qtyStepper button:hover:not(:disabled) { color: var(--red); }
.qtyStepper button:disabled { opacity: .3; cursor: not-allowed; }
.qtyStepper span { min-width: 22px; text-align: center; font-size: 14px; font-weight: 600; }

.cartItemPrice { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; }
.cartItemPrice strong { font-size: 15px; font-weight: 600; color: var(--red); }
.cartItemPrice s { font-size: 12px; color: var(--text-muted); }

.cartEmpty { display: flex; flex-direction: column; align-items: center; padding: 56px 12px; text-align: center; }
.cartEmptyIcon {
  width: 84px; height: 84px; margin-bottom: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--red-muted); color: var(--red); font-size: 30px;
}
.cartEmpty h3 { font-size: 17px; font-weight: 600; }
.cartEmpty p { max-width: 260px; margin: 6px 0 22px; font-size: 13px; color: var(--text-muted); }
.cartEmpty .btnCheckout { width: auto; padding: 0 32px; }

.cartFooter { padding: 16px 20px 20px; border-top: 1px solid var(--border); box-shadow: 0 -8px 24px rgba(0,0,0,0.04); }
.cartRow { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; font-size: 14px; }
.cartSavingsRow { font-size: 13px; font-weight: 500; color: #15803d; }
.cartTotal strong { font-size: 19px; font-weight: 600; }
.cartNote { margin-bottom: 14px; font-size: 12px; color: var(--text-muted); }
.btnCheckout {
  width: 100%; height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 50px; background: var(--red); color: #fff; font-size: 14px; font-weight: 600; transition: background .2s;
}
.btnCheckout:hover { background: var(--red-dark); }
.btnViewCart {
  height: 44px; margin-top: 8px; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border); border-radius: 50px; font-size: 14px; font-weight: 500; transition: border-color .2s, color .2s;
}
.btnViewCart:hover { border-color: var(--red); color: var(--red); }
.cartTrust { display: flex; justify-content: center; gap: 16px; margin-top: 12px; font-size: 11px; color: var(--text-muted); }
.cartTrust i { margin-left: 4px; color: #16a34a; }

/* ─── Hero Section ────────────────────────────────────── */

.heroSwiper {
  width: 100%;
  border-radius: var(--radius-hero);
  overflow: hidden;
  /* aspect-ratio: 2.96; (2680/904) */
  aspect-ratio: 2680 / 904;
  height: auto;
  max-height: 500px;
}

@media (max-width: 1023px) {
  .heroSwiper {
    aspect-ratio: auto;
    height: 250px;
    background-color: #b10006; /* Darker red matching the images edges */
  }
}

@media (max-width: 639px) {
  .heroSwiper {
    height: 150px;
  }
}

.heroImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1023px) {
  .heroImg {
    object-fit: contain;
  }
}

/* Hero pagination */
.heroPagination {
  position: absolute;
  bottom: 0px !important;
  background-color: #fff;
  width: max-content !important;
  display: flex;
  align-items: center;
  justify-content: center;
  right: 50% !important;
  transform: translateX(50%) !important;
  padding: 2px 32px !important;
  border-radius: 20px 20px 0 0;
  z-index: 10;
}
.heroPagination .swiper-pagination-bullet {
  background: #D9D9D9CC;
  opacity: 1;
  width: 8px;
  height: 8px;
}
.heroPagination .swiper-pagination-bullet-active {
  background: #D90018;
  width: 24px;
  border-radius: 4px;
}

/* ─── Section gutters ─────────────────────────────────── */
/* these sections already pad themselves; the inner .container
   adding its own padding doubled the gutter and misaligned
   them with the header / hero */
.categoriesSection > .container,
.offersSection > .container,
.bestSellersSection > .container { padding-right: 0; padding-left: 0; }

/* ─── Category Card ───────────────────────────────────── */
.catCard {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: #fff;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  text-decoration: none;
  color: inherit;
}
.catCard:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-red);
  transform: translateY(-2px);
}
.catCard img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}
.catCard span {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

/* cats swiper slide */
.catsSwiper .swiper-slide { width: auto !important; min-width: 160px; max-width: 200px; }

/* ─── Product Card ────────────────────────────────────── */
.productCard {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 10px;
  transition: transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.productCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}

/* image area */
.productImgWrap {
  background: var(--gray);
  border-radius: 12px;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  margin-bottom: 12px;
}
.productImgWrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .3s;
  padding: 8px;
}
/* image link fills the frame so the image keeps its original size */
.productImgWrap > a { display: block; width: 100%; height: 100%; }
.productCard:hover .productImgWrap img { transform: scale(1.05); }

/* wishlist button */
.wishlistBtn {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 34px;
  height: 34px;
  background: #fff;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: border-color .2s, box-shadow .2s;
}
.wishlistBtn:hover { border-color: var(--red); box-shadow: 0 2px 8px rgba(217,0,24,0.15); }
.wishlistBtn.active .heartIcon { fill: var(--red); stroke: var(--red); }
.wishlistBtn svg { width: 16px; height: 16px; stroke: #666; transition: fill .2s, stroke .2s; }

/* product info */
.productInfo { flex: 1; display: flex; flex-direction: column; padding: 0 4px; }
.productPriceRow { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.productPrice { font-size: 18px; font-weight: 600; color: var(--red); }
.productOldPrice { font-size: 13px; font-weight: 400; color: var(--text-muted); text-decoration: line-through; }
.productName {
  font-size: 14px; font-weight: 500; margin-bottom: 6px; line-height: 1.4; transition: color .15s;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.productName:hover { color: var(--red); }
.productBadge {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  padding: 3px 9px; border-radius: 50px; background: #111;
  color: #fff; font-size: 11px; font-weight: 600;
}
.productRating { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.productRating .stars { display: flex; gap: 1px; }
.productRating svg { width: 13px; height: 13px; fill: #F5A623; stroke: #F5A623; }

/* product buttons row */
.productBtns { display: flex; gap: 8px; margin-top: auto; padding-top: 2px; }
.btnAddCart {
  flex: 1;
  height: 42px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-sans, 'Figtree', 'Alexandria', sans-serif);
}
/* outlined like the product page button; red only on hover so the
   grid isn't a wall of red */
.btnAddCart { border-color: #111; background: #fff; color: #111; }
.btnAddCart:hover { border-color: var(--red); background: var(--red); color: #fff; }
.btnAddCart.added { border-color: #16a34a; background: #16a34a; color: #fff; }


/* phones: two products per row, so the card gets more compact */
@media (max-width: 639px) {
  .productCard { padding: 8px; border-radius: 14px; }
  .productImgWrap { height: 140px; margin-bottom: 10px; border-radius: 10px; }
  .productImgWrap img { padding: 6px; }
  .productInfo { padding: 0 2px; }
  .productPriceRow { flex-wrap: wrap; gap: 0 6px; margin-bottom: 4px; }
  .productPrice { font-size: 16px; }
  .productOldPrice { font-size: 12px; }
  .productName { font-size: 13px; }
  .productRating { margin-bottom: 8px; font-size: 11px; }
  .productRating svg { width: 11px; height: 11px; }
  .reviewsWord { display: none; }
  .btnAddCart { height: 38px; font-size: 12.5px; }
  .wishlistBtn { top: 6px; left: 6px; width: 30px; height: 30px; }
  .productBadge { top: 6px; right: 6px; padding: 2px 7px; font-size: 10.5px; }
}
@media (max-width: 359px) { .productImgWrap { height: 115px; } .btnAddCart i { display: none; } }

/* in-page targets from the nav (Categories / Offers) clear the sticky header */
#categories, #offers { scroll-margin-top: 140px; }
@media (min-width: 1024px) { #categories, #offers { scroll-margin-top: 90px; } }
.countdownText { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ─── Filter Buttons ──────────────────────────────────── */
.filter-btn {
  background: #fff;
  border: 1.5px solid var(--border);
  color: rgba(0,0,0,0.7);
  font-family: var(--font-sans, 'Figtree', 'Alexandria', sans-serif);
  cursor: pointer;
  transition: all .2s;
}
.filter-btn:hover { border-color: var(--red); color: var(--red); }
.filter-btn.active { background: var(--red); border-color: var(--red); color: #fff; }

/* product card fade-out */
.productCard.hidden-by-filter {
  display: none;
}

/* ─── Brand Card ──────────────────────────────────────── */
.brandCard {
  background: #fff;
  border-radius: 20px;
  box-shadow: -4px 20px 40px 0px rgba(0,0,0,0.04);
  height: 247px;
  display: flex;
  overflow: hidden;
}
.brandCardImg {
  width: 187px;
  min-width: 140px;
  background: var(--gray);
  border-radius: 0 20px 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.brandCardImg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}
.brandCardBody {
  flex: 1;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}
.brandCardTitle { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.brandFeature {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 5px;
}
.brandFeature svg { width: 14px; height: 14px; flex-shrink: 0; }
.brandFeature.ok svg  { stroke: #16a34a; }
.brandFeature.bad svg { stroke: #ef4444; }
.brandFeature.bad     { opacity: .6; }

.brandPriceRow { display: flex; align-items: baseline; gap: 8px; margin: 8px 0; }
.brandPrice    { font-size: 15px; font-weight: 600; color: #000; }
.brandOldPrice { font-size: 12px; font-weight: 400; color: var(--text-muted); text-decoration: line-through; }

.btnBrandBuy {
  width: 100%;
  height: 40px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s;
  font-family: var(--font-sans, 'Figtree', 'Alexandria', sans-serif);
}
.btnBrandBuy:hover { background: var(--red); }
a.btnBrandBuy { display: flex; align-items: center; justify-content: center; }

/* brands pagination */
.brandsPagination { text-align: center; margin-top: 12px !important; position: relative !important; bottom: unset !important; }
.brandsPagination .swiper-pagination-bullet {
  width: 8px; height: 8px;
  background: rgba(0,0,0,0.2);
  opacity: 1;
}
.brandsPagination .swiper-pagination-bullet-active {
  background: var(--red);
  width: 20px;
  border-radius: 4px;
}

/* ─── Partners ────────────────────────────────────────── */
.partnerLogo {
  filter: grayscale(40%);
  opacity: 0.8;
  transition: filter .2s, opacity .2s;
}
.partnerLogo:hover { filter: grayscale(0%); opacity: 1; }
.partnersGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; align-items: center; justify-items: center; max-width: 900px; margin: 0 auto; }
@media (min-width: 640px) { .partnersGrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; } }
.partnersGrid img { width: 100%; max-width: 170px; height: auto; }

/* ─── Footer ──────────────────────────────────────────── */
/* compact: brand line, pages, contact — then the dark bar */
.siteFooter { background: rgba(246,246,246,0.7); }
.footerMain { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 24px 0; }
@media (min-width: 480px) {
  .footerMain { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px 32px; }
  .footerBrand { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .footerMain { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; padding: 36px 0; }
  .footerBrand { grid-column: auto; }
}
.footerLogo { width: auto; height: 40px; object-fit: contain; }
.footerBrand p { max-width: 36ch; margin-top: 10px; font-size: 13px; line-height: 1.6; color: var(--text-muted); }

.footerTitle { position: relative; margin-bottom: 12px; padding-bottom: 8px; font-size: 15px; font-weight: 600; color: #000; }
.footerTitle::after {
  content: ''; position: absolute; bottom: 0; right: 0;
  width: 25px; height: 2px; border-radius: 2px; background: var(--red);
}

.footerNav ul { display: grid; grid-template-columns: repeat(3, max-content); gap: 8px 28px; list-style: none; }
@media (max-width: 359px) { .footerNav ul { grid-template-columns: repeat(2, max-content); } }
.footerNav a, .footerContact a { font-size: 13px; color: var(--text-muted); transition: color .15s; }
.footerNav a:hover, .footerContact a:hover { color: var(--red); }

.footerContact ul { display: grid; gap: 9px; list-style: none; }
.footerContact li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; color: var(--text-muted); }
.footerContact i { width: 14px; flex-shrink: 0; margin-top: 3px; text-align: center; font-size: 12px; color: var(--red); }

.footerBar { background: #1a1a1a; }
.footerBarInner { min-height: 52px; padding-top: 10px; padding-bottom: 10px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.footerBarInner p { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.85); }
@media (max-width: 479px) { .footerBarInner { justify-content: center; text-align: center; } }

/* ─── Toast ───────────────────────────────────────────── */
.toast {
  transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .3s;
}
.toast.show {
  transform: translateY(0) !important;
  opacity: 1 !important;
  pointer-events: all !important;
}

/* ─── Scroll Animations ───────────────────────────────── */
.fadeInUp {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.fadeInUp.visible {
  opacity: 1;
  transform: translateY(0);
}
.productCard.fadeInUp { transition: opacity .5s ease, transform .3s ease, box-shadow .25s; }

/* ─── Reduced motion ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .fadeInUp { opacity: 1; transform: none; }
}

/* Responsive tweaks */
/* brand card stacks vertically on small phones */
@media (max-width: 479px) {
  .brandCard { flex-direction: column; height: auto; }
  .brandCardImg { width: 100% !important; min-width: 0 !important; height: 170px; border-radius: 20px 20px 0 0; }
  .brandCardBody { gap: 12px; }
}

@media (max-width: 479px) {
  .heroSwiper { height: 180px !important; }
  .catCard    { min-width: 130px; }
  .catCard img { width: 56px; height: 56px; }
  .catCard span { font-size: 12px; }
  .brandCardImg { min-width: 110px; width: 130px; }
  .brandCardTitle { font-size: 14px; }
}

@media (max-width: 639px) {
  .topBar { display: none !important; }
  .offersSection .flex-col { gap: 1rem; }
  .filterSwiper { width: 100%; margin: 0 -1rem; padding: 0 1rem; }
}

/* ─── Swiper overrides ────────────────────────────────── */
.swiper { width: 100%; }
.brandsSwiper .swiper-wrapper { align-items: stretch; }
.brandsSwiper .swiper-slide  { height: auto !important; }

/* =========================================================
   PRODUCT PAGE (product.html)
   ========================================================= */
.pdp { padding-bottom: 48px; }

/* ─── Breadcrumb ──────────────────────────────────────── */
.breadcrumb { padding: 18px 0 16px; }
.breadcrumb ol { min-height: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; list-style: none; font-size: 13px; color: var(--text-muted); }
.breadcrumb li { display: flex; align-items: center; min-width: 0; }
.breadcrumb a { transition: color .15s; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb li i { margin: 0 10px; font-size: 9px; color: rgba(0,0,0,0.3); }
.breadcrumb [aria-current] span { display: block; max-width: 320px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #000; font-weight: 500; }
@media (max-width: 639px) {
  .breadcrumb [aria-current] { display: none; }
  .breadcrumb li:nth-last-child(2) i { display: none; }
}

/* ─── Layout ──────────────────────────────────────────── */
.pdpMain { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 1024px) {
  .pdpMain { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 36px; align-items: start; }
  .pdpGallery { position: sticky; top: 96px; }
}
@media (min-width: 1280px) { .pdpMain { gap: 56px; } }

/* ─── Gallery ─────────────────────────────────────────── */
.pdpGalleryInner { display: flex; flex-direction: column-reverse; gap: 12px; }
@media (min-width: 1024px) { .pdpGalleryInner { flex-direction: row; gap: 16px; } }

.pdpThumbs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.pdpThumbs::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .pdpThumbs { flex-direction: column; overflow: visible; } }
.pdpThumb {
  width: 76px; height: 76px; flex-shrink: 0; padding: 6px;
  border: 2px solid transparent; border-radius: 16px; background: var(--gray);
  transition: border-color .2s;
}
.pdpThumb img { width: 100%; height: 100%; object-fit: contain; }
.pdpThumb:hover { border-color: rgba(0,0,0,0.15); }
.pdpThumb.active { border-color: var(--red); }

.pdpStage { position: relative; flex: 1; min-width: 0; overflow: hidden; border-radius: var(--radius-hero); background: var(--gray); }
.pdpSwiper { aspect-ratio: 1 / 1; max-height: 620px; }
/* laptops: cap the frame by screen height (header + breadcrumb ≈ 240px),
   so the whole image sits above the fold on 720px–1080px tall screens */
@media (min-width: 1024px) { .pdpSwiper { max-height: clamp(400px, calc(100vh - 250px), 640px); } }
/* tablets: single column, so a wider frame keeps the info in view */
@media (min-width: 640px) and (max-width: 1023px) { .pdpSwiper { aspect-ratio: 4 / 3; } }
.pdpZoom { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 9%; overflow: hidden; cursor: zoom-in; }
.pdpZoom img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.pdpZoom.zooming img { transform: scale(2); }

.pdpDots { bottom: 8px !important; }
.pdpDots .swiper-pagination-bullet { width: 8px; height: 8px; background: rgba(0,0,0,0.2); opacity: 1; transition: width .2s; }
.pdpDots .swiper-pagination-bullet-active { width: 22px; border-radius: 4px; background: var(--red); }

.pdpBadges { position: absolute; top: 18px; right: 18px; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.pdpBadge { padding: 5px 12px; border-radius: 50px; background: var(--red); color: #fff; font-size: 12px; font-weight: 600; }
.pdpBadgeDark { background: #111; }
.pdpBadgeDark i { margin-left: 4px; color: #ffb020; }

.pdpStageActions { position: absolute; top: 16px; left: 16px; z-index: 2; display: flex; flex-direction: column; gap: 8px; }
.pdpIconBtn, .pdpExpand {
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  font-size: 16px; color: rgba(0,0,0,0.7); transition: color .2s, transform .2s;
}
.pdpIconBtn:hover, .pdpExpand:hover { color: var(--red); transform: scale(1.06); }
.pdpIconBtn.active { color: var(--red); }
.pdpExpand { position: absolute; left: 16px; bottom: 16px; z-index: 2; font-size: 14px; }

.pdpZoomHint { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
  .pdpZoomHint {
    position: absolute; right: 18px; bottom: 20px; z-index: 2; pointer-events: none;
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
    border-radius: 50px; background: rgba(255,255,255,0.85);
    font-size: 12px; color: rgba(0,0,0,0.55); transition: opacity .2s;
  }
  .pdpStage:hover .pdpZoomHint { opacity: 0; }
}

/* ─── Info column ─────────────────────────────────────── */
.pdpInfo { container-type: inline-size; }
.pdpBrandRow { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.pdpBrand {
  padding: 4px 12px; border-radius: 50px; background: var(--red-muted);
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red-dark);
}
.pdpSku { font-size: 12px; color: var(--text-muted); }
.pdpTitle { font-size: clamp(22px, 1.1rem + 0.8vw, 30px); font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }

.pdpMeta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 12px; font-size: 13px; color: var(--text-muted); }
.pdpRating { display: inline-flex; align-items: center; gap: 6px; }
.pdpRating .stars, .revSummary .stars, .revHead .stars { display: flex; gap: 1px; }
.pdpRating svg { width: 15px; height: 15px; }
.pdpRating strong { font-weight: 600; color: #000; }
.pdpRating:hover span { color: var(--red); text-decoration: underline; }
.pdpDot { width: 4px; height: 4px; border-radius: 50%; background: rgba(0,0,0,0.25); }
@media (max-width: 479px) { .pdpDot { display: none; } }
.pdpSold i { margin-left: 4px; color: var(--red); }
.pdpTagline { margin-top: 14px; font-size: 14px; line-height: 1.7; color: var(--text-muted); }

.pdpPriceBox {
  margin-top: 20px; padding: 16px 20px; border-radius: 18px;
  border: 1px solid rgba(217,0,24,0.1);
  background: linear-gradient(-135deg, rgba(217,0,24,0.06), rgba(217,0,24,0.02));
}
.pdpPriceRow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.pdpPrice { font-size: clamp(26px, 1rem + 1vw, 32px); font-weight: 700; line-height: 1; color: var(--red); }
.pdpOldPrice { font-size: 17px; color: var(--text-muted); }
/* wide column: stock sits on the price line, right-aligned */
@container (min-width: 480px) {
  .pdpPriceBox { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
  .pdpPriceBox .pdpStock { margin-top: 0; }
}
.pdpSave { align-self: center; padding: 4px 10px; border-radius: 50px; background: rgba(22,163,74,0.1); font-size: 12px; font-weight: 600; color: #15803d; }

/* options */
.pdpOption { margin-top: 20px; }
.pdpOptionHead { margin-bottom: 10px; font-size: 14px; color: var(--text-muted); }
.pdpOptionHead strong { font-weight: 600; color: #000; }
.pdpOptionValues { display: flex; flex-wrap: wrap; gap: 10px; }
.optPill {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px;
  border: 1.5px solid var(--border); border-radius: 50px; background: #fff;
  font-size: 14px; font-weight: 500; transition: border-color .15s, color .15s, background .15s;
}
.optPill small { font-size: 12px; font-weight: 500; color: var(--text-muted); }
.optPill:hover { border-color: rgba(0,0,0,0.35); }
.optPill[aria-checked="true"] { border-color: var(--red); background: var(--red-muted); color: var(--red); }
.optPill[aria-checked="true"] small { color: var(--red); opacity: .75; }
.optSwatch {
  width: 38px; height: 38px; margin: 3px; border-radius: 50%;
  background: var(--swatch); border: 1px solid rgba(0,0,0,0.15);
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px transparent; transition: box-shadow .15s;
}
.optSwatch:hover { box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(0,0,0,0.2); }
.optSwatch[aria-checked="true"] { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--red); }

/* stock */
.pdpStock { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 13px; font-weight: 500; color: #15803d; }
.pdpStock strong { font-weight: 700; }
.pdpStock.low { color: #c2410c; }
.pdpStockDot { width: 8px; height: 8px; flex-shrink: 0; border-radius: 50%; background: currentColor; animation: stockPulse 2s infinite; }
@keyframes stockPulse {
  0%   { box-shadow: 0 0 0 0 currentColor; }
  70%  { box-shadow: 0 0 0 7px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* actions */
.pdpActions { display: grid; grid-template-columns: auto 1fr; gap: 12px; margin-top: 22px; }
.pdpActions .pdpBuyNow { grid-column: 1 / -1; }
@container (min-width: 420px) {
  .pdpActions { grid-template-columns: auto 1fr 1fr; }
  .pdpActions .pdpBuyNow { grid-column: auto; }
}
/* narrow column (1024px laptops): slightly smaller labels so both fit */
@container (min-width: 420px) and (max-width: 499px) {
  .pdpAddCart, .pdpBuyNow { font-size: 14px; gap: 8px; }
}
.pdpQty { height: 52px; }
.pdpQty button { width: 44px; font-size: 12px; }
.pdpQty span { min-width: 28px; font-size: 16px; }

.pdpAddCart, .pdpBuyNow {
  height: 52px; display: flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 50px; font-size: 15px; font-weight: 600;
  transition: border-color .2s, color .2s, background .2s, box-shadow .2s;
}
.pdpAddCart { border: 1.5px solid #111; background: #fff; color: #111; }
.pdpAddCart:hover { border-color: var(--red); color: var(--red); }
.pdpAddCart.added { border-color: #15803d; color: #15803d; }
.pdpBuyNow { border: 1.5px solid var(--red); background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(217,0,24,0.6); }
.pdpBuyNow:hover { border-color: var(--red-dark); background: var(--red-dark); }

/* short laptop screens (≤ 900px tall): tighten the column so title,
   price, options and both buttons fit above the fold */
@media (min-width: 1024px) and (max-height: 900px) {
  .pdp .breadcrumb { padding: 12px 0; }
  .pdpBrandRow { margin-bottom: 8px; }
  .pdpMeta { margin-top: 8px; }
  .pdpTagline { margin-top: 10px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .pdpPriceBox { margin-top: 14px; padding: 12px 18px; }
  .pdpStock { margin-top: 8px; }
  .pdpOption { margin-top: 14px; }
  .pdpOptionHead { margin-bottom: 8px; }
  .optPill { height: 40px; padding: 0 16px; }
  .optSwatch { width: 34px; height: 34px; }
  .pdpActions { margin-top: 18px; }
  .pdpQty, .pdpAddCart, .pdpBuyNow { height: 48px; }
}
/* very short screens (1280×720, 1366×768): one-line tagline, slimmer pills */
@media (min-width: 1024px) and (max-height: 800px) {
  .pdpTagline { -webkit-line-clamp: 1; }
  .optPill { height: 38px; }
  .optSwatch { width: 32px; height: 32px; }
  .pdpOption { margin-top: 12px; }
}

/* highlights */
.pdpHighlights { display: grid; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); list-style: none; }
.pdpHighlights li { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; }
.pdpHighlights i { margin-top: 3px; color: #16a34a; }

/* delivery */

.pdpFootRow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; font-size: 12px; color: var(--text-muted); }
.pdpShare { display: flex; align-items: center; gap: 8px; }
.pdpShare span { margin-left: 4px; }
.pdpShare a, .pdpShare button {
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 50%; font-size: 13px; color: rgba(0,0,0,0.65);
  transition: border-color .15s, color .15s;
}
.pdpShare a:hover, .pdpShare button:hover { border-color: var(--red); color: var(--red); }

/* ─── Perks strip ─────────────────────────────────────── */
.featureIcon {
  width: 46px; height: 46px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  border-radius: 14px; background: var(--red-muted); color: var(--red); font-size: 18px;
}
.pdpPerks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 40px; }
@media (min-width: 1024px) { .pdpPerks { grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; } }
.pdpPerk { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: var(--gray); }
.pdpPerk .featureIcon { background: #fff; }
.pdpPerk strong { display: block; font-size: 14px; font-weight: 600; }
.pdpPerk div span { font-size: 12px; color: var(--text-muted); }
@media (max-width: 639px) { .pdpPerk { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; } }

/* ─── Tabs ────────────────────────────────────────────── */
.pdpTabsWrap { margin-top: 48px; scroll-margin-top: 140px; }
@media (min-width: 1024px) { .pdpTabsWrap { scroll-margin-top: 90px; } }
.pdpTabList { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--border); }
.pdpTabList::-webkit-scrollbar { display: none; }
/* small screens: fade the edge so it's clear the tabs scroll */
@media (max-width: 639px) {
  .pdpTabList { mask-image: linear-gradient(90deg, #000 82%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); }
  .pdpTab { padding: 12px 14px; font-size: 14px; }
}
.pdpTab {
  position: relative; flex-shrink: 0; padding: 14px 20px; white-space: nowrap;
  font-size: 15px; font-weight: 500; color: rgba(0,0,0,0.55); transition: color .2s;
}
.pdpTab::after {
  content: ''; position: absolute; right: 12px; left: 12px; bottom: -1px; height: 3px;
  border-radius: 3px 3px 0 0; background: var(--red); transform: scaleX(0); transition: transform .25s;
}
.pdpTab:hover { color: #000; }
.pdpTab[aria-selected="true"] { color: var(--red); font-weight: 600; }
.pdpTab[aria-selected="true"]::after { transform: scaleX(1); }
.pdpTab span { margin-right: 6px; padding: 2px 8px; border-radius: 50px; background: var(--gray); font-size: 11px; color: rgba(0,0,0,0.7); }
.pdpTab[aria-selected="true"] span { background: var(--red-muted); color: var(--red); }
.pdpPanel { padding-top: 28px; animation: panelIn .3s ease both; }
.pdpPanel:focus-visible { outline-offset: 6px; border-radius: 8px; }
@keyframes panelIn { from { opacity: 0; transform: translateY(6px); } }

/* description */
.descGrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 1024px) { .descGrid { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; } }
.descText h2 { margin-bottom: 12px; font-size: 20px; font-weight: 600; }
.descText h3 { margin: 22px 0 12px; font-size: 16px; font-weight: 600; }
.descText p { max-width: 72ch; margin-bottom: 12px; font-size: 15px; line-height: 1.8; color: rgba(0,0,0,0.7); }
.checkList { display: grid; gap: 10px; list-style: none; }
@media (min-width: 640px) { .checkList { grid-template-columns: 1fr 1fr; } }
.checkList li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; }
.checkList i {
  width: 22px; height: 22px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(22,163,74,0.1); color: #16a34a; font-size: 10px;
}
.inBox { align-self: start; padding: 22px; border-radius: 20px; background: var(--gray); }
.inBox h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 15px; font-weight: 600; }
.inBox h3 i { color: var(--red); }
.inBox ul, .shipCard ul { display: grid; gap: 10px; list-style: none; }
.inBox li, .shipCard li { position: relative; padding-right: 18px; font-size: 14px; line-height: 1.5; color: rgba(0,0,0,0.72); }
.inBox li::before, .shipCard li::before {
  content: ''; position: absolute; right: 2px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--red);
}
.featureGrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 32px; }
@media (min-width: 640px)  { .featureGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .featureGrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.featureCard { padding: 22px; border: 1px solid var(--border); border-radius: 20px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.featureCard:hover { border-color: rgba(217,0,24,0.3); box-shadow: var(--shadow-red); transform: translateY(-2px); }
.featureCard h4 { margin: 14px 0 6px; font-size: 15px; font-weight: 600; }
.featureCard p { font-size: 13px; line-height: 1.6; color: var(--text-muted); }

/* specifications */
.specGrid { columns: 2 380px; column-gap: 32px; }
.specGroup { break-inside: avoid; margin-bottom: 24px; }
.specGroup h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 15px; font-weight: 600; }
.specGroup h3::before { content: ''; width: 4px; height: 16px; border-radius: 2px; background: var(--red); }
.specTable { width: 100%; overflow: hidden; border: 1px solid var(--border); border-radius: 14px; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.specTable th, .specTable td { padding: 12px 16px; text-align: right; vertical-align: top; }
.specTable th { width: 40%; background: #fafafa; font-weight: 500; color: var(--text-muted); }
.specTable tr + tr th, .specTable tr + tr td { border-top: 1px solid var(--border); }
@media (max-width: 479px) { .specTable { font-size: 13px; } .specTable th, .specTable td { padding: 10px 12px; } }

/* reviews */
.revLayout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 1024px) {
  .revLayout { grid-template-columns: 320px minmax(0, 1fr); gap: 48px; align-items: start; }
  .revSummary { position: sticky; top: 96px; }
}
.revSummary { padding: 24px; border-radius: 20px; background: var(--gray); }
.revScore { display: flex; align-items: center; gap: 16px; }
.revScore > strong { font-size: 52px; font-weight: 700; line-height: 1; }
.revScore > div { display: flex; flex-direction: column; gap: 4px; }
.revScore span { font-size: 13px; color: var(--text-muted); }
.revScore svg { width: 18px; height: 18px; }
.revBars { display: grid; gap: 4px; margin-top: 20px; list-style: none; }
.revBars button {
  width: 100%; display: grid; grid-template-columns: 34px 1fr 38px; align-items: center; gap: 10px;
  padding: 5px 6px; border-radius: 8px; font-size: 13px; transition: background .15s;
}
.revBars button:hover { background: #fff; }
.revBarLabel { display: flex; align-items: center; gap: 4px; font-weight: 500; }
.revBarLabel i, .revChip i { font-size: 10px; color: #F5A623; }
.revBar { height: 8px; overflow: hidden; border-radius: 8px; background: rgba(0,0,0,0.08); }
.revBar span { display: block; height: 100%; border-radius: 8px; background: #F5A623; transform-origin: right; }
.revBarPct { text-align: left; color: var(--text-muted); }
.revRecommend { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-muted); }
.revRecommend i { margin-left: 4px; color: #16a34a; }
.revRecommend strong { color: #000; }
.revWrite {
  width: 100%; height: 46px; margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 8px;
  border: 1.5px solid #111; border-radius: 50px; font-size: 14px; font-weight: 600; transition: background .2s, color .2s;
}
.revWrite:hover { background: #111; color: #fff; }

.revToolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.revChips { display: flex; flex-wrap: wrap; gap: 8px; }
.revChip {
  height: 36px; padding: 0 14px; display: inline-flex; align-items: center; gap: 5px;
  border: 1.5px solid var(--border); border-radius: 50px; font-size: 13px; font-weight: 500;
  transition: border-color .15s, color .15s, background .15s;
}
.revChip:hover { border-color: var(--red); color: var(--red); }
.revChip.active { border-color: var(--red); background: var(--red); color: #fff; }
.revChip.active i { color: #fff; }
.revSort { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); }
.revSort select {
  height: 36px; padding: 0 14px 0 34px; appearance: none; cursor: pointer;
  border: 1.5px solid var(--border); border-radius: 50px; color: #000;
  font: 500 13px var(--font-sans, 'Figtree', 'Alexandria', sans-serif);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat left 13px center / 11px;
}

.revList { list-style: none; }
.revItem { padding: 22px 0; border-bottom: 1px solid var(--border); }
.revHead { display: flex; align-items: center; gap: 12px; }
.revAvatar {
  width: 42px; height: 42px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: hsl(var(--hue) 70% 93%); color: hsl(var(--hue) 55% 32%);
  font-size: 14px; font-weight: 600;
}
.revWho { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.revWho strong { font-size: 14px; font-weight: 600; }
.revWho > span { font-size: 12px; color: var(--text-muted); }
.revVerified { font-weight: 500; color: #15803d; }
.revHead svg { width: 14px; height: 14px; }
.revItem h4 { margin-top: 14px; font-size: 15px; font-weight: 600; }
.revItem p { margin-top: 6px; font-size: 14px; line-height: 1.7; color: rgba(0,0,0,0.72); }
.revVariant { display: inline-block; margin-top: 10px; padding: 3px 10px; border-radius: 50px; background: var(--gray); font-size: 12px; color: var(--text-muted); }
.revHelpful {
  display: flex; align-items: center; gap: 8px; height: 32px; margin-top: 12px; padding: 0 14px;
  border: 1px solid var(--border); border-radius: 50px; font-size: 12px; color: rgba(0,0,0,0.65);
  transition: border-color .15s, color .15s, background .15s;
}
.revHelpful:hover { border-color: #000; color: #000; }
.revHelpful.active { border-color: var(--red); background: var(--red-muted); color: var(--red); }
@media (max-width: 479px) { .revHead { flex-wrap: wrap; } .revHead .stars { width: 100%; padding-right: 54px; } }
.revEmpty { padding: 40px 0; text-align: center; color: var(--text-muted); }
.revEmpty i { margin-bottom: 8px; font-size: 28px; }
.revMore {
  height: 46px; margin: 22px auto 0; padding: 0 28px; display: flex; align-items: center;
  border: 1.5px solid var(--border); border-radius: 50px; font-size: 14px; font-weight: 500;
  transition: border-color .2s, color .2s;
}
.revMore:hover { border-color: var(--red); color: var(--red); }

/* shipping */
.shipGrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.shipCard { padding: 24px; border: 1px solid var(--border); border-radius: 20px; }
.shipCard h3 { margin: 14px 0 12px; font-size: 16px; font-weight: 600; }

/* ─── Related / recently viewed ───────────────────────── */
.pdpSection { margin-top: 56px; }
.pdpSectionHead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.sliderNav { display: flex; gap: 8px; }
.sliderNav button {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border); border-radius: 50%; font-size: 13px; transition: border-color .2s, color .2s, opacity .2s;
}
.sliderNav button:hover:not(.swiper-button-disabled) { border-color: var(--red); color: var(--red); }
.sliderNav .swiper-button-disabled { opacity: .35; cursor: default; }
.relatedSwiper { margin: -10px -8px 0; padding: 10px 8px 30px; }
.relatedSwiper .swiper-slide { height: auto; }
.relatedSwiper .productCard { height: 100%; }
/* slides off-screen sideways never 'scroll into view', so skip the fade */
.relatedSwiper .fadeInUp { opacity: 1; transform: none; }

.recentList { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.miniCard { display: flex; align-items: center; gap: 14px; padding: 10px; border: 1px solid var(--border); border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
.miniCard:hover { border-color: var(--red); box-shadow: var(--shadow-red); }
.miniCardImg { width: 72px; height: 72px; flex-shrink: 0; padding: 6px; border-radius: 12px; background: var(--gray); }
.miniCardImg img { width: 100%; height: 100%; object-fit: contain; }
.miniCardInfo { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.miniCardName { font-size: 13px; font-weight: 500; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.miniCardPrice { font-size: 14px; font-weight: 600; color: var(--red); }
.miniCardPrice s { margin-right: 6px; font-size: 12px; font-weight: 400; color: var(--text-muted); }

/* ─── Sticky buy bar ──────────────────────────────────── */
.stickyBuy {
  position: fixed; right: 0; left: 0; bottom: 0; z-index: 60;
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border); background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px); box-shadow: 0 -10px 30px rgba(0,0,0,0.08);
  transform: translateY(110%); transition: transform .3s cubic-bezier(.32,.72,0,1);
}
.stickyBuy.show { transform: none; }
.stickyBuyInner { display: flex; align-items: center; gap: 14px; }
.sbImg { width: 52px; height: 52px; flex-shrink: 0; padding: 4px; border-radius: 12px; background: var(--gray); object-fit: contain; }
.sbInfo { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sbInfo strong, .sbInfo span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sbInfo strong { font-size: 14px; font-weight: 600; }
.sbInfo span { font-size: 12px; color: var(--text-muted); }
.sbPrice { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.sbPrice strong { font-size: 18px; font-weight: 700; color: var(--red); }
.sbPrice s { font-size: 12px; color: var(--text-muted); }
.sbAdd, .sbBuy { height: 46px; padding: 0 26px; flex-shrink: 0; }
@media (max-width: 639px) {
  .sbImg, .sbInfo span { display: none; }
  .sbInfo strong { font-size: 13px; }
  .sbBuy { display: none; }
  .sbAdd { padding: 0 18px; font-size: 14px; border-color: var(--red); background: var(--red); color: #fff; }
}
.hasStickyBuy .toast { bottom: 96px; }

/* ─── Lightbox ────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 230; display: flex; align-items: center; justify-content: center;
  padding: 64px 80px; background: rgba(255,255,255,0.98);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s linear .25s;
}
.lightbox.active { opacity: 1; visibility: visible; transition: opacity .25s; }
.lightbox:focus { outline: none; }
.lbImg { max-width: 100%; max-height: 100%; object-fit: contain; transform: scale(.96); transition: transform .3s ease; }
.lightbox.active .lbImg { transform: none; }
.lbBtn {
  position: absolute; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--gray); font-size: 16px; transition: background .2s, color .2s;
}
.lbBtn:hover { background: var(--red); color: #fff; }
.lbClose { top: 20px; left: 20px; }
.lbPrev, .lbNext { top: 50%; transform: translateY(-50%); }
.lbPrev { right: 20px; }
.lbNext { left: 20px; }
.lbCounter {
  position: absolute; bottom: 24px; right: 50%; transform: translateX(50%);
  padding: 6px 14px; border-radius: 50px; background: var(--gray); font-size: 13px; font-weight: 500; color: var(--text-muted);
}
@media (max-width: 639px) {
  .lightbox { padding: 72px 12px 90px; }
  .lbPrev, .lbNext { top: auto; bottom: 16px; transform: none; }
}


/* =========================================================
   ABOUT PAGE v1 (about-v1.html)
   Editorial layout: heading on the left, content on the
   right, hairline dividers; red kept to small accents.
   ========================================================= */
.aboutPage { padding-bottom: 80px; }
/* two-item trail: keep the current page visible on phones too */
.aboutPage .breadcrumb [aria-current] { display: flex; }
.aboutPage .breadcrumb li:nth-last-child(2) i { display: inline-block; }

/* ─── Intro ───────────────────────────────────────────── */
.aboutIntro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px 64px; padding: 20px 0 36px; }
@media (min-width: 1024px) { .aboutIntro { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: end; padding: 36px 0 52px; } }
.aboutTitle span { color: var(--red); }
.aboutTitle { max-width: 17ch; font-size: clamp(30px, 1.1rem + 2.5vw, 56px); font-weight: 600; line-height: 1.1; letter-spacing: -.025em; }
.aboutIntroSide p { max-width: 52ch; font-size: 16px; line-height: 1.75; color: rgba(0,0,0,0.65); }
.aboutLinks { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 24px; }
.aboutBtn {
  height: 48px; padding: 0 28px; display: inline-flex; align-items: center;
  border-radius: 50px; background: var(--red); color: #fff; font-size: 14px; font-weight: 600; transition: background .2s;
}
.aboutBtn:hover { background: var(--red-dark); }
.aboutTextLink {
  display: inline-flex; align-items: center; gap: 8px; padding-bottom: 2px;
  border-bottom: 1px solid currentColor; font-size: 14px; font-weight: 600; transition: color .2s;
}
.aboutTextLink i { font-size: 11px; transition: transform .2s; }
.aboutTextLink:hover { color: var(--red); }
.aboutTextLink:hover .fa-arrow-right { transform: translateX(-3px); }

/* key facts strip */
.aboutFacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--border); }
.aboutFacts div { display: flex; flex-direction: column; gap: 4px; padding: 20px 0 20px 16px; }
.aboutFacts div:nth-child(even) { padding-right: 20px; border-right: 1px solid var(--border); }
.aboutFacts div:nth-child(n+3) { border-top: 1px solid var(--border); }
@media (min-width: 768px) {
  .aboutFacts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .aboutFacts div { padding: 26px 0 26px 24px; }
  .aboutFacts div + div { padding-right: 24px; border-right: 1px solid var(--border); }
  .aboutFacts div:nth-child(n+3) { border-top: 0; }
}
.aboutFacts dt { order: 2; font-size: 13px; color: var(--text-muted); }
.aboutFacts dd { font-size: clamp(20px, 0.9rem + 0.9vw, 30px); font-weight: 600; color: var(--red); line-height: 1.2; letter-spacing: -.01em; }

/* ─── Blocks: heading left, content right ─────────────── */
.aboutBlock {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px;
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border); scroll-margin-top: 150px;
}
@media (min-width: 1024px) {
  .aboutBlock { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 64px; margin-top: 88px; padding-top: 36px; scroll-margin-top: 110px; }
  .aboutBlockHead { position: sticky; top: 110px; align-self: start; }
}
.aboutBlockHead h2 { font-size: clamp(22px, 1rem + 0.7vw, 28px); font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
/* short red bar, same accent as the footer titles */
.aboutBlockHead h2::after { content: ''; display: block; width: 32px; height: 3px; margin-top: 12px; border-radius: 3px; background: var(--red); }
.aboutBlockHead h2 + p { margin-top: 14px; }
.aboutBlockHead p { max-width: 36ch; margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--text-muted); }

/* company profile */
.profileList > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.profileList > div:first-child { padding-top: 0; }
.profileList > div:last-child { padding-bottom: 0; border-bottom: 0; }
@media (min-width: 640px) { .profileList > div { grid-template-columns: 170px minmax(0, 1fr); gap: 24px; } }
.profileList dt { font-size: 14px; font-weight: 600; }
.profileList dd { max-width: 64ch; font-size: 15px; line-height: 1.7; color: rgba(0,0,0,0.7); }

/* goals */
.goalList { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px 40px; list-style: none; counter-reset: goal; }
@media (min-width: 640px) { .goalList { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.goalList li { counter-increment: goal; }
.goalList li::before { content: counter(goal, decimal-leading-zero); display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--red); }
.goalList h3 { font-size: 16px; font-weight: 600; line-height: 1.4; }
.goalList p { max-width: 52ch; margin-top: 8px; font-size: 14px; line-height: 1.7; color: var(--text-muted); }

/* clients: hairline logo table (35 logos → 5 or 7 full rows) */
.clientGrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; border-top: 1px solid var(--border); border-right: 1px solid var(--border); }
@media (min-width: 480px)  { .clientGrid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 1440px) { .clientGrid { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.clientGrid li {
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; padding: 14px;
  border-left: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff;
}
.clientGrid img { max-width: 100%; max-height: min(100%, 80px); width: auto; height: auto; object-fit: contain; transition: transform .2s; }
.clientGrid li:hover img { transform: scale(1.06); }

/* certifications */
.certList { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; list-style: none; }
@media (min-width: 640px) { .certList { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.certList li { display: flex; align-items: center; gap: 16px; padding: 12px 8px 12px 20px; border: 1px solid var(--border); border-radius: 16px; }
.certList img { width: 130px; height: auto; flex-shrink: 0; }
.certList span { font-size: 14px; color: var(--text-muted); }
.certList strong { display: block; font-size: 16px; font-weight: 600; color: #000; }

/* contact */
.swal2-popup.contact-success-popup { direction: ltr; border-radius: 24px; font-family: var(--font-sans); }
.contact-success-popup .swal2-title { font-size: 26px; font-weight: 600; }
.contact-success-popup .swal2-html-container { font-size: 16px; line-height: 1.8; }
.contactLayout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 768px) { .contactLayout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; } }
.contactAddress > span, .contactList dt { font-size: 13px; color: var(--text-muted); }
.contactAddress address { margin: 6px 0 18px; font-size: 18px; font-style: normal; font-weight: 500; line-height: 1.55; }
.contactList > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.contactList > div:first-child { padding-top: 0; }
.contactList > div:last-child { border-bottom: 0; }
.contactList dd { font-size: 16px; font-weight: 600; }
.contactList a { transition: color .15s; }
.contactList a:hover { color: var(--red); }

/* =========================================================
   ABOUT PAGE (about.html)
   Built from the home / product page components:
   gray hero panel, perks strip, feature cards, gray band.
   ========================================================= */
.companyPage .breadcrumb [aria-current] { display: flex; }
.companyPage .breadcrumb li:nth-last-child(2) i { display: inline-block; }

/* ─── Hero ────────────────────────────────────────────── */
.companyHero {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center;
  padding: 28px 22px; border-radius: var(--radius-hero); background: var(--gray);
}
@media (min-width: 768px)  { .companyHero { padding: 40px; } }
@media (min-width: 1024px) { .companyHero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; padding: 48px 56px; } }
.companyHero .pdpBrand { display: inline-block; }
.companyTitle { margin-top: 14px; font-size: clamp(26px, 1rem + 1.7vw, 42px); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.companyTitle span { display: block; color: var(--red); }
.companyLead { max-width: 54ch; margin-top: 14px; font-size: 15px; line-height: 1.75; color: var(--text-muted); }

.companyHeroImgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .companyHeroImgs { gap: 16px; } }
.companyHeroImgs span {
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; padding: 14px;
  border-radius: 20px; background: #fff; box-shadow: var(--shadow-card); transition: transform .25s;
}
.companyHeroImgs span:hover { transform: translateY(-4px); }
.companyHeroImgs img { max-width: 100%; max-height: 100%; object-fit: contain; }
/* phones + tablets: one row of four so the panel fits on one screen */
@media (max-width: 1023px) { .companyHeroImgs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 639px) {
  .companyHeroImgs { gap: 8px; }
  .companyHeroImgs span { aspect-ratio: 1 / 1; padding: 8px; border-radius: 14px; }
  .companyCtas a { flex: 1 1 0; justify-content: center; padding: 0 16px; }
  .companyHero { padding: 22px 18px; gap: 22px; }
  .companyLead { font-size: 14px; line-height: 1.65; }
  .companyCtas { margin-top: 20px; }
}
/* very narrow phones: the product tiles are decorative, drop them */
@media (max-width: 359px) { .companyHeroImgs { display: none; } }
/* short laptop screens (≤ 900px tall): tighten the hero so the
   perks strip under it is visible without scrolling */
@media (min-width: 1024px) and (max-height: 900px) {
  .companyPage .breadcrumb { padding: 12px 0; }
  .companyHero { padding: 32px 48px; }
  .companyHeroImgs span { aspect-ratio: 16 / 10; }
  .companyPage .pdpPerks { margin-top: 24px; }
}

/* shared product-page strips: four columns only once there is room */
@media (min-width: 1024px) and (max-width: 1279px) {
  .companyPage .pdpPerks, .companyPage .featureGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 419px) {
  .companyPage .pdpPerks { grid-template-columns: minmax(0, 1fr); }
  .companyPage .pdpPerk { flex-direction: row; align-items: center; }
}

/* ─── Goals band ──────────────────────────────────────── */
.companyPage { padding-bottom: 0; }
.companyPage > .container { padding-bottom: 56px; }
.companyBand { background: rgba(246,246,246,0.7); }
.companyGoals { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 640px)  { .companyGoals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .companyGoals { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.companyCard { padding: 24px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-card); transition: transform .25s, box-shadow .25s; }
.companyCard:hover { transform: translateY(-4px); box-shadow: 0 8px 40px rgba(0,0,0,0.1); }
.companyCard h3 { margin: 16px 0 6px; font-size: 16px; font-weight: 600; }
.companyCard p { font-size: 13px; line-height: 1.65; color: var(--text-muted); }

/* ─── Clients + certifications ────────────────────────── */
.companyClients { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; }
@media (min-width: 640px)  { .companyClients { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1024px) { .companyClients { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 16px; } }
.companyClients li {
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; padding: 12px;
  border: 1px solid var(--border); border-radius: var(--radius-card); background: #fff;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.companyClients li:hover { border-color: var(--red); box-shadow: var(--shadow-red); transform: translateY(-2px); }
.companyClients img { max-width: 100%; max-height: min(100%, 76px); width: auto; height: auto; object-fit: contain; }

/* the partner images already carry their label, so the tile shows the logo only.
   Side by side and centred: 5 per row on desktop, 3 on tablets, 2 on phones; equal tiles, logos fitted inside. */
.companyCerts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0 auto; list-style: none; }
.companyCerts li {
  flex: 0 1 calc((100% - 12px) / 2); aspect-ratio: 2 / 1; display: flex; align-items: center; justify-content: center; padding: 14px 18px;
  border: 1px solid var(--border); border-radius: var(--radius-card); background: #fff;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.companyCerts li:hover { border-color: var(--red); box-shadow: var(--shadow-red); transform: translateY(-2px); }
.companyCerts a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.companyCerts img { width: 100%; height: 100%; max-height: 64px; object-fit: contain; } /* scales small logo files up to the tile */
@media (min-width: 640px) { .companyCerts { gap: 16px; } .companyCerts li { flex-basis: calc((100% - 32px) / 3); } }
@media (min-width: 1024px) { .companyCerts { gap: 20px; } .companyCerts li { flex-basis: calc((100% - 80px) / 5); max-width: 250px; padding: 18px 24px; } .companyCerts img { max-height: 80px; } }

/* ─── Contact + map ───────────────────────────────────── */
.companyContactWrap { scroll-margin-top: 140px; }
@media (min-width: 1024px) { .companyContactWrap { scroll-margin-top: 110px; } }
.companyContact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 1024px) { .companyContact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; } }
.companyContactCard { padding: 24px; border-radius: 20px; background: var(--gray); }
@media (min-width: 640px) { .companyContactCard { padding: 28px; } }
.companyMap { min-height: 320px; overflow: hidden; border-radius: var(--radius-hero); background: var(--gray); }
@media (min-width: 1024px) { .companyMap { min-height: 420px; } }
.companyMap iframe { display: block; width: 100%; height: 100%; min-height: inherit; border: 0; }

/* =========================================================
   CONTACT PAGE (contact.html)
   Reuses the about page hero type, map frame and feature icons.
   ========================================================= */
.contactPage > .container { padding-bottom: 64px; }
.contactTop { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 8px; }
@media (min-width: 1024px) { .contactTop { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; padding-top: 16px; } }
.contactHead .pdpBrand { display: inline-block; }
/* keep the red word on the same line here (the about hero puts it on its own line) */
.contactHead .companyTitle span { display: inline; }

/* info cards */
.contactCards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; list-style: none; }
@media (min-width: 480px)  { .contactCards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .contactCards { gap: 16px; } }
.contactCardItem {
  height: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 20px;
  border-radius: 18px; background: var(--gray); transition: box-shadow .2s, transform .2s;
}
.contactCardItem:hover { box-shadow: var(--shadow-red); transform: translateY(-2px); }
.contactCardItem .featureIcon { margin-bottom: 10px; background: #fff; }
.contactCardItem strong { font-size: 15px; font-weight: 600; }
.contactCardItem > span:last-child { font-size: 13px; line-height: 1.5; color: var(--text-muted); transition: color .2s; }
.contactCardItem:hover > span:last-child { color: var(--red); }
@media (max-width: 479px) {
  .contactCardItem { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 0; align-items: center; padding: 14px 16px; }
  .contactCardItem .featureIcon { grid-row: span 2; margin-bottom: 0; }
}

/* form + map */
.contactMain { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 40px; }
@media (min-width: 1024px) { .contactMain { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; margin-top: 48px; } }
.contactFormCard { padding: 24px; border: 1px solid var(--border); border-radius: 24px; background: #fff; }
@media (min-width: 640px) { .contactFormCard { padding: 32px; } }

.contactForm { display: grid; gap: 16px; margin-top: 24px; }
.formRow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 640px) { .formRow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.formField { display: flex; flex-direction: column; gap: 6px; }
.formField label { font-size: 13px; font-weight: 600; }
.formField label span { color: var(--red); }
.formField input, .formField select, .formField textarea {
  width: 100%; padding: 0 16px; border: 1px solid transparent; border-radius: 14px; background: var(--gray);
  font: 400 14px var(--font-sans, 'Figtree', 'Alexandria', sans-serif); color: #000; outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.formField input, .formField select { height: 48px; }
.formField textarea { min-height: 140px; padding: 12px 16px; resize: vertical; line-height: 1.6; }
.formField select {
  appearance: none; cursor: pointer; padding-left: 40px;
  background: var(--gray) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat left 16px center / 11px;
}
.formField ::placeholder { color: rgba(0,0,0,0.4); }
.formField input:focus, .formField select:focus, .formField textarea:focus {
  border-color: var(--red); background-color: #fff; box-shadow: 0 0 0 4px rgba(217,0,24,0.08);
}
/* only flag fields after the visitor has touched them */
.formField input:user-invalid, .formField textarea:user-invalid { border-color: var(--red); background-color: #fff; }

.formSubmit {
  justify-self: start; height: 50px; padding: 0 30px; display: inline-flex; align-items: center; gap: 10px;
  border-radius: 50px; background: var(--red); color: #fff; font-size: 14px; font-weight: 600; transition: background .2s;
}
.formSubmit:hover { background: var(--red-dark); }
@media (max-width: 479px) { .formSubmit { justify-self: stretch; justify-content: center; } }
.formStatus { font-size: 13px; color: #15803d; }
.formStatus:empty { display: none; }

.contactMapCard { display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: var(--gray); scroll-margin-top: 140px; }
@media (min-width: 1024px) { .contactMapCard { scroll-margin-top: 110px; } }
.contactMapCard .companyMap { flex: 1; min-height: 300px; border-radius: 0; }
@media (min-width: 1024px) { .contactMapCard .companyMap { min-height: 380px; } }
.contactMapFoot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 24px; }
.contactMapFoot h2 { font-size: 16px; font-weight: 600; }
.contactMapFoot p { margin-top: 2px; font-size: 13px; line-height: 1.5; color: var(--text-muted); }
@media (max-width: 479px) { .contactMapFoot a { flex: 1 1 100%; } }

/* =========================================================
   CATEGORY / LISTING PAGE (category.html)
   Same parts as the rest of the store: gray rounded panels,
   pill buttons, red only for the active state.
   ========================================================= */
.plp > .container { padding-bottom: 64px; }

/* ─── Header ──────────────────────────────────────────── */
.plpHead { margin-bottom: 24px; }
.plpTitle { font-size: clamp(24px, 1rem + 1vw, 30px); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.plpSub { margin-top: 4px; font-size: 14px; color: var(--text-muted); }

/* title panel (with the category promo when there is one) */
.plpBanner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 24px; border-radius: 24px; background: var(--gray);
}
@media (min-width: 1024px) { .plpBanner { padding: 22px 28px; } }
.plpEyebrow { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.plpPromo {
  display: none; align-items: center; gap: 12px; flex-shrink: 0; padding: 10px 18px 10px 10px;
  border-radius: 18px; background: #fff; box-shadow: var(--shadow-card);
}
@media (min-width: 768px) { .plpPromo { display: flex; } }
.plpPromoText { max-width: 170px; font-size: 14px; font-weight: 600; line-height: 1.35; }
.plpPromoText small { display: block; margin-bottom: 2px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.plpPromo img { width: 96px; height: 72px; object-fit: contain; }

.plpChipRow { display: flex; gap: 8px; margin-top: 16px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.plpChipRow::-webkit-scrollbar { display: none; }
/* below 1024 the row scrolls sideways (one predictable line); desktop has room to wrap */
@media (min-width: 1024px) { .plpChipRow { flex-wrap: wrap; overflow: visible; } }
/* desktop: the sidebar already lists every category, so the top row would only repeat it */
@media (min-width: 1024px) { .plpChipRowCats { display: none; } }
.plpChip {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; height: 40px; padding: 0 16px 0 8px;
  border: 1.5px solid var(--border); border-radius: 50px; background: #fff;
  font-size: 13px; font-weight: 500; white-space: nowrap; transition: border-color .15s, color .15s, background .15s;
}
.plpChip span { min-width: 24px; padding: 2px 8px; border-radius: 50px; background: var(--gray); font-size: 11px; text-align: center; color: rgba(0,0,0,0.6); }
.plpChip:hover { border-color: var(--red); color: var(--red); }
.plpChip.active { border-color: var(--red); background: var(--red-muted); color: var(--red); font-weight: 600; }
.plpChip.active span { background: #fff; color: var(--red); }
.plpChip > i { margin-left: -2px; font-size: 12px; color: rgba(0,0,0,0.45); }
.plpChip.active > i, .plpChip:hover > i { color: var(--red); }
.plpChip.empty:not(.active) { color: rgba(0,0,0,0.56); }

/* ─── Layout ──────────────────────────────────────────── */
.plpLayout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
@media (min-width: 1024px) { .plpLayout { grid-template-columns: 250px minmax(0, 1fr); } }
@media (min-width: 1280px) { .plpLayout { grid-template-columns: 270px minmax(0, 1fr); gap: 40px; } }

/* ─── Filters ─────────────────────────────────────────── */
.plpFiltersHead, .plpFiltersFoot { display: none; }
@media (min-width: 1024px) {
  .plpFilters {
    position: sticky; top: 90px; max-height: calc(100vh - 110px); overflow-y: auto; overscroll-behavior: contain;
    padding-left: 6px; scrollbar-width: thin; scrollbar-color: rgba(0,0,0,0.14) transparent;
  }
  .plpFilters:focus { outline: none; }
}
@media (max-width: 1023px) {
  .plpFilters {
    position: fixed; top: 0; bottom: 0; right: 0; z-index: 216; width: min(360px, 88vw);
    display: flex; flex-direction: column; background: #fff; box-shadow: 0 0 60px rgba(0,0,0,0.15);
    transform: translateX(100%); visibility: hidden;
    transition: transform .35s cubic-bezier(.32,.72,0,1), visibility 0s linear .35s;
  }
  .plpFilters.active { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.32,.72,0,1); }
  .plpFilters:focus { outline: none; }
  .plpFiltersHead { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--border); }
  .plpFiltersHead h2 { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 600; }
  .plpFilterBody { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 20px; }
  .plpFiltersFoot { display: flex; gap: 10px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); }
}
.plpFootClear {
  height: 46px; padding: 0 20px; border: 1.5px solid var(--border); border-radius: 50px;
  font-size: 14px; font-weight: 500; transition: border-color .2s, color .2s;
}
.plpFootClear:hover { border-color: var(--red); color: var(--red); }
.plpFootApply { flex: 1; height: 46px; border-radius: 50px; background: var(--red); color: #fff; font-size: 14px; font-weight: 600; transition: background .2s; }
.plpFootApply:hover { background: var(--red-dark); }

.plpFilter { border-bottom: 1px solid var(--border); }
.plpFilter:first-child summary { padding-top: 4px; }
@media (max-width: 1023px) { .plpFilter:first-child summary { padding-top: 16px; } }
.plpFilter summary {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 0 14px;
  list-style: none; cursor: pointer; font-size: 15px; font-weight: 600;
}
.plpFilter summary::-webkit-details-marker { display: none; }
.plpFilter summary i { font-size: 11px; color: rgba(0,0,0,0.4); transition: transform .2s; }
.plpFilter[open] summary i { transform: rotate(-180deg); }
.plpFilterInner { display: grid; gap: 2px; padding-bottom: 16px; }

.plpN { flex-shrink: 0; min-width: 26px; padding: 1px 8px; border-radius: 50px; background: var(--gray); font-size: 11px; text-align: center; color: rgba(0,0,0,0.55); }

.plpCatList { list-style: none; display: grid; gap: 2px; }
.plpCatLink {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 10px;
  border-radius: 10px; font-size: 14px; color: rgba(0,0,0,0.75); transition: background .15s, color .15s;
}
.plpCatLink:hover { background: var(--gray); color: #000; }
.plpCatLink.active { background: var(--red-muted); color: var(--red); font-weight: 600; }
.plpCatLink.active .plpN { background: #fff; color: var(--red); }
.plpCatLink.sub { padding-right: 24px; font-size: 13px; }
.plpCatLink.empty:not(.active) { color: rgba(0,0,0,0.56); }

/* custom checkbox / radio, real input stays focusable */
.plpCheck { position: relative; display: flex; align-items: center; gap: 10px; padding: 7px 2px; cursor: pointer; font-size: 14px; }
.plpCheck input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.plpBox {
  position: relative; width: 18px; height: 18px; flex-shrink: 0; border: 1.5px solid rgba(0,0,0,0.25); border-radius: 5px;
  background: #fff; transition: border-color .15s, background .15s;
}
.plpBox.round { border-radius: 50%; }
.plpCheck:hover .plpBox { border-color: var(--red); }
.plpCheck input:checked + .plpBox { border-color: var(--red); background: var(--red); }
.plpCheck input:checked + .plpBox::after {
  content: ''; position: absolute; right: 5px; top: 1.5px; width: 5px; height: 9px;
  border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg);
}
.plpCheck input:checked + .plpBox.round::after { right: 4px; top: 4px; width: 7px; height: 7px; border: 0; border-radius: 50%; background: #fff; transform: none; }
.plpCheck input:focus-visible + .plpBox { outline: 2px solid var(--red); outline-offset: 2px; }
.plpLabel { flex: 1; min-width: 0; color: rgba(0,0,0,0.8); }
.plpCheck input:checked ~ .plpLabel { color: #000; font-weight: 500; }
.plpCheck.empty { opacity: .45; }
.plpStars { display: flex; align-items: center; gap: 8px; }
.plpStars .stars { display: flex; gap: 1px; }
.plpStars .stars svg { width: 13px; height: 13px; }

.plpPriceInputs { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.plpPriceInputs label {
  flex: 1; min-width: 0; height: 42px; display: flex; align-items: center; gap: 4px; padding: 0 12px;
  border: 1px solid transparent; border-radius: 12px; background: var(--gray); font-size: 13px; color: var(--text-muted);
  transition: border-color .2s, background .2s;
}
.plpPriceInputs label:focus-within { border-color: var(--red); background: #fff; }
.plpPriceInputs input { width: 100%; border: 0; outline: none; background: transparent; font: 500 14px var(--font-sans, 'Figtree', 'Alexandria', sans-serif); color: #000; -moz-appearance: textfield; }
.plpPriceInputs input::-webkit-outer-spin-button, .plpPriceInputs input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.plpDash { color: rgba(0,0,0,0.35); }

.plpMiniSearch {
  height: 38px; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; padding: 0 12px;
  border: 1px solid transparent; border-radius: 10px; background: var(--gray); font-size: 12px; color: rgba(0,0,0,0.4);
  transition: border-color .2s, background .2s;
}
.plpMiniSearch:focus-within { border-color: var(--red); background: #fff; }
.plpMiniSearch input { width: 100%; border: 0; outline: none; background: transparent; font: 400 13px var(--font-sans, 'Figtree', 'Alexandria', sans-serif); color: #000; }
.plpNoMatch { padding: 6px 2px; font-size: 13px; color: var(--text-muted); }

/* ─── Toolbar ─────────────────────────────────────────── */
.plpToolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.plpSearch {
  position: relative; flex: 1 1 200px; max-width: 340px; min-width: 0; height: 42px; display: flex; align-items: center;
  border: 1.5px solid var(--border); border-radius: 50px; background: #fff; transition: border-color .2s, box-shadow .2s;
}
.plpSearch:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px rgba(217,0,24,0.08); }
.plpSearch > i { position: absolute; right: 16px; font-size: 13px; color: rgba(0,0,0,0.4); pointer-events: none; }
.plpSearch input { width: 100%; height: 100%; padding: 0 40px 0 16px; border: 0; outline: none; border-radius: 50px; background: transparent; font: 400 14px var(--font-sans, 'Figtree', 'Alexandria', sans-serif); color: #000; }
.plpSearch input::placeholder { color: rgba(0,0,0,0.45); }
@media (max-width: 1023px) { .plpSearch { order: -1; flex-basis: 100%; max-width: none; } }
.plpFilterBtn {
  height: 42px; padding: 0 18px; display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--border); border-radius: 50px; font-size: 14px; font-weight: 600; transition: border-color .2s, color .2s;
}
.plpFilterBtn:hover { border-color: var(--red); color: var(--red); }
@media (min-width: 1024px) { .plpFilterBtn { display: none; } }
.plpBadge {
  min-width: 20px; height: 20px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700;
}
.plpCount { flex: 1; font-size: 14px; color: var(--text-muted); }
.plpCount strong { font-weight: 600; color: #000; }
.plpSort { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); }
.plpSort select {
  height: 42px; padding: 0 16px 0 38px; appearance: none; cursor: pointer;
  border: 1.5px solid var(--border); border-radius: 50px; color: #000; font: 500 13px var(--font-sans, 'Figtree', 'Alexandria', sans-serif);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat left 15px center / 11px;
  transition: border-color .2s;
}
.plpSort select:hover, .plpSort select:focus-visible { border-color: var(--red); }
/* phones: Filters + Sort on one line, the count below */
@media (max-width: 639px) {
  .plpToolbar { gap: 10px; }
  .plpFilterBtn { flex: 1; justify-content: center; }
  .plpSort { flex: 1; }
  .plpSort span { display: none; }
  .plpSort select { width: 100%; }
  .plpCount { order: 3; flex-basis: 100%; }
}

.plpChips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.plpActive {
  height: 34px; padding: 0 14px 0 12px; display: inline-flex; align-items: center; gap: 8px;
  border-radius: 50px; background: var(--red-muted); color: var(--red); font-size: 13px; font-weight: 500; transition: background .15s;
}
.plpActive i { font-size: 11px; }
.plpActive:hover { background: rgba(217,0,24,0.14); }
.plpClearAll { margin-right: 4px; font-size: 13px; font-weight: 500; text-decoration: underline; color: var(--text-muted); }
.plpClearAll:hover { color: var(--red); }

/* ─── Empty + load more ───────────────────────────────── */
.plpEmpty { display: flex; flex-direction: column; align-items: center; padding: 56px 16px; border-radius: 24px; background: var(--gray); text-align: center; }
.plpEmptyIcon {
  width: 76px; height: 76px; margin-bottom: 16px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #fff; color: var(--red); font-size: 26px;
}
.plpEmpty h2 { font-size: 18px; font-weight: 600; }
.plpEmpty p { max-width: 380px; margin: 6px 0 20px; font-size: 14px; line-height: 1.6; color: var(--text-muted); }
.plpEmptyBtn { height: 46px; padding: 0 26px; display: inline-flex; align-items: center; border-radius: 50px; background: var(--red); color: #fff; font-size: 14px; font-weight: 600; transition: background .2s; }
.plpEmptyBtn:hover { background: var(--red-dark); }

.plpMore { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 36px; }
.plpMore p { font-size: 13px; color: var(--text-muted); }
.plpMoreTrack { width: 200px; height: 4px; overflow: hidden; border-radius: 4px; background: rgba(0,0,0,0.08); }
.plpMoreTrack span { display: block; height: 100%; transform-origin: right; background: var(--red); transition: transform .4s ease; }
.plpMoreBtn {
  height: 46px; margin-top: 6px; padding: 0 32px; border: 1.5px solid #111; border-radius: 50px;
  font-size: 14px; font-weight: 600; transition: background .2s, color .2s, border-color .2s;
}
.plpMoreBtn:hover { border-color: var(--red); background: var(--red); color: #fff; }

/* ─── Loading skeletons ───────────────────────────────── */
.skelCard { display: flex; flex-direction: column; gap: 10px; padding: 10px; border-radius: var(--radius-card); background: #fff; box-shadow: var(--shadow-card); }
.skelImg { height: 190px; border-radius: 12px; }
.skelLine { display: block; height: 12px; border-radius: 6px; }
.skelTitle { height: 26px; }
.skelBtn { height: 42px; margin-top: 6px; border-radius: 50px; }
.w20 { width: 20%; } .w30 { width: 30%; } .w40 { width: 40%; } .w60 { width: 60%; } .w90 { width: 90%; }
.skelImg, .skelLine, .skelBtn {
  background: linear-gradient(-90deg, #eeeeee 25%, #f7f7f7 50%, #eeeeee 75%) 0 0 / 200% 100%;
  animation: skelShimmer 1.3s ease-in-out infinite;
}
.skelBanner { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 8px; min-height: 112px; }
.skelBanner .skelLine { background-color: #e9e9e9; }
@keyframes skelShimmer { to { background-position: 300% 0; } }
@media (max-width: 639px) { .skelImg { height: 140px; } .skelBtn { height: 38px; } }

/* product page placeholders: same box as the real gallery stage / info */
.skelStage {
  display: block; width: 100%; aspect-ratio: 1 / 1; max-height: 620px; border-radius: var(--radius-hero);
  background: linear-gradient(-90deg, #eeeeee 25%, #f7f7f7 50%, #eeeeee 75%) 0 0 / 200% 100%; animation: skelShimmer 1.3s ease-in-out infinite;
}
@media (min-width: 640px) and (max-width: 1023px) { .skelStage { aspect-ratio: 4 / 3; } }
@media (min-width: 1024px) { .skelStage { max-height: clamp(400px, calc(100vh - 250px), 640px); } }
.pdpInfoSkel { display: flex; flex-direction: column; gap: 14px; min-height: 560px; }
@media (min-width: 1024px) { .pdpInfoSkel { min-height: 500px; } }
.pdpInfoSkel .skelBlock { display: block; height: 76px; border-radius: 18px; }
.pdpInfoSkel .skelPills { display: flex; gap: 10px; }
.pdpInfoSkel .skelPills .skelBtn { width: 120px; margin: 0; }
.pdpInfoSkel > .skelBtn { height: 52px; margin: 6px 0; }
.skelBlock { background: linear-gradient(-90deg, #eeeeee 25%, #f7f7f7 50%, #eeeeee 75%) 0 0 / 200% 100%; animation: skelShimmer 1.3s ease-in-out infinite; }

/* shimmer shared by the placeholder pieces below */
.skelText, .skelChip, .skelBox {
  background: linear-gradient(-90deg, #eeeeee 25%, #f7f7f7 50%, #eeeeee 75%) 0 0 / 200% 100%;
  animation: skelShimmer 1.3s ease-in-out infinite;
}
/* text placeholders keep the real element's line height, just hide the glyphs */
.skelText { display: block !important; color: transparent !important; border-radius: 8px; }
.skelHead .plpBanner .skelText + .skelText { margin-top: 6px; }
.skelHead .plpBanner { background: var(--gray); }
.skelHead .plpBannerText { flex: 1; }
.skelCrumb .skelText { width: 220px; height: 16px; }
.skelCrumb { list-style: none; }
.skelChips { margin-top: 16px; }
.skelChip { height: 40px; flex-shrink: 0; border-radius: 50px; }
/* inside a category the real row has "All" + its 4 sub-categories */
html[data-plp-view="cat"] .skelChip:nth-child(n+6) { display: none; }
/* sub-category names are shorter than category names */
html[data-plp-view="cat"] .skelChip:nth-child(1) { width: 76px !important; }
html[data-plp-view="cat"] .skelChip:nth-child(n+2) { width: 132px !important; }
/* a category's panel also holds its promo card (a little taller than the text) */
@media (min-width: 768px) { html[data-plp-view="cat"] .skelHead .plpBanner { min-height: 136px; } }
/* on desktop the chip row only exists inside a category */
@media (min-width: 1024px) { html:not([data-plp-view="cat"]) .skelChips { display: none; } }

/* product card placeholder: line heights follow the real card */
.skelCard .skelPrice { height: 22px; }
.skelCard .skelName { height: 18px; }
.skelCard .skelRate { height: 14px; }

/* homepage category / brand placeholders reuse the real card boxes */
.catSkel, .brandSkel { pointer-events: none; }
.catSkel .skelBox { width: 72px; height: 72px; flex-shrink: 0; border-radius: 12px; }
.catSkel .skelLine { flex: 1; }
@media (max-width: 479px) { .catSkel .skelBox { width: 56px; height: 56px; } }
.brandSkel .skelBox { width: 70%; height: 60%; border-radius: 14px; }
.brandSkel .skelLine + .skelLine { margin-top: 10px; }
.brandSkel .skelBtn { height: 40px; margin-top: 12px; }

/* brands slider before Swiper starts: no dot space on desktop (3 fit, no dots), dots row below that */
.brandsSwiper:not(.swiper-initialized) .brandsPagination { height: 24px; }
@media (min-width: 1024px) { .brandsSwiper:not(.swiper-initialized) .brandsPagination { display: none; } }
@media (max-width: 479px) { .brandSkel .brandCardBody { min-height: 236px; justify-content: space-between; } }


/* =========================================================
   ACCOUNT PAGES (login.html, register.html)
   One white card centered on the site's gray panel colour.
   The page fills the screen, so the footer stays at the
   bottom on tall monitors and the card sits in the middle.
   ========================================================= */
.authBody { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.authPage { flex: 1; display: flex; background: var(--gray); }
.authPage > .container {
  display: flex; align-items: center; justify-content: center;
  padding-top: clamp(32px, 7vh, 88px); padding-bottom: clamp(40px, 9vh, 104px);
}
/* the footer is gray too: make it white here so the two don't merge */
.authBody .siteFooter { background: #fff; border-top: 1px solid var(--border); }

.authCard {
  width: 100%; max-width: 448px; padding: 36px;
  border-radius: 24px; background: #fff; box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}
@media (min-width: 1536px) { .authCard { max-width: 476px; padding: 44px; } }

/* red icon tile above the title, same as the site's feature icons */
.authIcon { width: 52px; height: 52px; margin-bottom: 20px; border-radius: 16px; font-size: 20px; }

/* short laptop screens (1366×768, 1280×720): less air so the whole form shows */
@media (min-width: 640px) and (max-height: 820px) {
  .authPage > .container { padding-top: 24px; padding-bottom: 32px; }
  .authCard { padding: 28px 32px; }
  .authIcon { width: 44px; height: 44px; margin-bottom: 14px; border-radius: 14px; font-size: 17px; }
}
/* phones: card starts near the top, slimmer padding */
@media (max-width: 479px) {
  .authPage > .container { align-items: flex-start; padding-top: 20px; padding-bottom: 40px; }
  .authCard { padding: 26px 20px; border-radius: 20px; }
  .authIcon { width: 46px; height: 46px; margin-bottom: 16px; border-radius: 14px; font-size: 18px; }
}
@media (max-width: 359px) {
  .authCard { padding: 22px 16px; }
}

.authTitle { font-size: clamp(24px, 1.1rem + 0.8vw, 30px); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.authTitle span { color: var(--red); }
.authTitle:focus { outline: none; }
.authLead { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--text-muted); }

.authForm { display: grid; gap: 18px; margin-top: 28px; }
@media (max-height: 820px) and (min-width: 640px) { .authForm { gap: 16px; margin-top: 22px; } }
.authLabelRow { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.authSmallLink { font-size: 13px; font-weight: 500; color: var(--red); }
.authPassField { position: relative; }
.authForgot { position: absolute; top: 0; left: 0; line-height: 19px; }
.authSmallLink:hover { text-decoration: underline; }
/* iOS zooms into inputs under 16px; keep phones at 16px */
@media (max-width: 639px) { .authForm .formField input { font-size: 16px; } }

/* password + show/hide */
.authPass { position: relative; }
.formField .authPass input { padding-left: 52px; }
.formField input::-ms-reveal { display: none; }
.authEye {
  position: absolute; top: 50%; left: 6px; width: 40px; height: 36px; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center; border-radius: 10px;
  font-size: 15px; color: rgba(0,0,0,0.45); transition: color .15s, background .15s;
}
.authEye:hover { color: #000; background: rgba(0,0,0,0.05); }

/* field messages: shown after a submit or once the field was left */
.fieldHint { font-size: 12px; color: var(--text-muted); }
.fieldError { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--red); }
.fieldError:empty { display: none; }
.fieldError::before { content: '\f06a'; font: var(--fa-font-solid); font-size: 11px; }
.formField.invalid input { border-color: var(--red); background-color: #fff; }
.formField.invalid .fieldHint { display: none; }
/* the script shows its own messages, so drop the native :user-invalid flag here */
.authForm .formField input:user-invalid:not(:focus) { border-color: transparent; background-color: var(--gray); }
.authForm .formField.invalid input:user-invalid { border-color: var(--red); background-color: #fff; }

.authRemember { padding: 0 2px; }

/* submit: the site's red pill, full width; spinner while sending */
.authSubmit {
  width: 100%; height: 50px; display: flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 50px; background: var(--red); color: #fff; font-size: 15px; font-weight: 600; transition: background .2s, opacity .2s;
}
.authSubmit:hover { background: var(--red-dark); }
.authSubmit[aria-busy="true"] { pointer-events: none; opacity: .8; }
.authSubmit[aria-busy="true"] i { display: none; }
.authSubmit[aria-busy="true"]::after {
  content: ''; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff;
  border-radius: 50%; animation: authSpin .7s linear infinite;
}
@keyframes authSpin { to { transform: rotate(-360deg); } }
.authStatus { margin-top: -6px; text-align: center; }

.authTerms { font-size: 12px; line-height: 1.6; text-align: center; text-wrap: balance; color: var(--text-muted); }
.authTerms a { text-decoration: underline; text-underline-offset: 2px; }
.authTerms a:hover { color: var(--red); }

.authSwap { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 14px; text-align: center; color: var(--text-muted); }
.authSwap a { font-weight: 600; color: var(--red); }
.authSwap a:hover { text-decoration: underline; }

/* forgot password */
.authBack { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 13px; font-weight: 500; color: var(--text-muted); transition: color .15s; }
.authBack:hover { color: var(--red); }
.authBack i { font-size: 11px; }

/* =========================================================
   CART, CHECKOUT, ORDER PAGES (cart.html, checkout.html,
   order.html). Same parts as the drawer and the contact
   form: bordered white card for the items / fields, gray
   summary panel on the right that stays in view.
   ========================================================= */
.shopPage > .container { padding-bottom: 64px; }
.shopHead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin: 8px 0 20px; }
.shopHead .aboutTextLink i { font-size: 11px; }
.shopHead .aboutTextLink:hover .fa-arrow-left { transform: translateX(3px); }
.shopCount { font-size: .6em; font-weight: 400; letter-spacing: 0; color: var(--text-muted); }

.shopLayout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
@media (min-width: 1024px) { .shopLayout { grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; } }
@media (min-width: 1280px) { .shopLayout { grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; } }

/* ─── Summary panel ───────────────────────────────────── */
.shopSummary { display: grid; gap: 14px; padding: 24px; border-radius: 24px; background: var(--gray); }
@media (min-width: 1024px) { .shopSummary { position: sticky; top: 90px; } }
.shopSummaryTitle { font-size: 18px; font-weight: 600; }
.shopShipping { padding: 12px 14px; border: 0; border-radius: 14px; background: #fff; }
.sumRows { display: grid; gap: 8px; }
.sumRows > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 14px; }
.sumRows dt { color: var(--text-muted); }
.sumRows dd { font-weight: 500; }
.sumRows .sumSave dt, .sumRows .sumSave dd { color: #15803d; }
.sumRows .sumTotal { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--border); }
.sumRows .sumTotal dt { font-weight: 600; color: #000; }
.sumRows .sumTotal dd { font-size: 22px; font-weight: 600; }
.sumNote { font-size: 12px; line-height: 1.55; text-align: center; color: var(--text-muted); }
.sumNote a { text-decoration: underline; text-underline-offset: 2px; }
.sumNote a:hover { color: var(--red); }
.shopSummary .cartTrust { margin-top: 0; }
.shopSummary .formStatus { text-align: center; }
.shopSummary .formStatus:empty { display: none; }

.shopEmpty { margin-top: 8px; }
.plpEmptyTitle { font-size: 18px; font-weight: 600; }

/* ─── Cart items ──────────────────────────────────────── */
/* removed item: a slim row in its place with Undo */
.cpRemoved, .cpEmptyUndo {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 14px; color: var(--text-muted); animation: noticeIn .25s ease;
}
.cpRemoved { margin: 12px 0; padding: 14px 18px; border-radius: 14px; background: var(--gray); }
.cpRemoved strong, .cpEmptyUndo strong { font-weight: 500; color: #000; }
.cpRemoved button, .cpEmptyUndo button {
  flex-shrink: 0; height: 34px; padding: 0 16px; border: 1.5px solid var(--border); border-radius: 50px; background: #fff;
  font-size: 13px; font-weight: 600; color: #000; transition: border-color .15s, color .15s;
}
.cpRemoved button:hover, .cpEmptyUndo button:hover { border-color: var(--red); color: var(--red); }
.cpEmptyUndo { max-width: 460px; margin-bottom: 24px; padding: 10px 18px 10px 10px; border-radius: 50px; background: #fff; text-align: right; }
@media (max-width: 479px) {
  .cpRemoved { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cpEmptyUndo { flex-direction: column; gap: 10px; padding: 14px; border-radius: 16px; text-align: center; }
}
.cpItems { container: cpitems / inline-size; padding: 0 24px; border: 1px solid var(--border); border-radius: 24px; background: #fff; }
@media (max-width: 639px) { .cpItems { padding: 0 16px; border-radius: 20px; } }
.cpCols, .cpItem {
  display: grid; align-items: center; column-gap: 20px;
  grid-template-columns: 104px minmax(0, 1fr) 122px 96px 40px;
  grid-template-areas: "img info qty price remove";
}
.cpCols { padding: 16px 0 12px; border-bottom: 1px solid var(--border); font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); }
.cpCols span:first-child { grid-column: img / info; }
.cpCols span:nth-child(3) { text-align: left; }
.cpList { list-style: none; }
.cpItem { padding: 20px 0; border-bottom: 1px solid var(--border); }
.cpItem:last-child { border-bottom: 0; }
.cpItem.flash { animation: cartFlash 1.4s ease; }
.cpImg { grid-area: img; width: 104px; height: 104px; border-radius: 16px; background: var(--gray); }
.cpImg img { width: 100%; height: 100%; padding: 10px; object-fit: contain; transition: transform .25s; }
.cpImg:hover img { transform: scale(1.05); }
.cpInfo { grid-area: info; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cpName { font-size: 15px; font-weight: 500; line-height: 1.4; transition: color .15s; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cpName:hover { color: var(--red); }
.cpMeta { font-size: 12px; color: var(--text-muted); }
.cpUnit { font-size: 13px; color: rgba(0,0,0,0.7); }
.cpUnit s { margin-right: 4px; font-size: 12px; color: var(--text-muted); }
.cpQty { grid-area: qty; justify-self: start; height: 40px; }
.cpQty button { width: 38px; }
.cpQty span { min-width: 28px; }
.cpPrice { grid-area: price; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; }
.cpPrice strong { font-size: 16px; font-weight: 600; color: var(--red); }
.cpPrice s { font-size: 12px; color: var(--text-muted); }
.cpRemove {
  grid-area: remove; justify-self: end; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; color: rgba(0,0,0,0.4); transition: background .15s, color .15s;
}
.cpRemove:hover { background: var(--red-muted); color: var(--red); }
.cpRemove span { display: none; }

/* narrow list (phones, and 1024px laptops where the summary sits beside it):
   info on top, controls on a second row */
@container cpitems (max-width: 640px) {
  .cpCols { display: none; }
  .cpItem {
    grid-template-columns: 88px minmax(0, 1fr) auto; row-gap: 12px; column-gap: 14px; align-items: start; padding: 16px 0;
    grid-template-areas: "img info info" "img qty price";
  }
  .cpImg { width: 88px; height: 88px; border-radius: 14px; }
  .cpQty { height: 36px; align-self: end; }
  .cpPrice { align-self: end; }
  /* remove sits under the name as a small text button */
  .cpRemove {
    grid-area: info; align-self: end; justify-self: start; width: auto; height: auto; margin: 0 0 -6px;
    gap: 6px; padding: 4px 0; font-size: 12px; color: var(--text-muted); background: none !important;
  }
  .cpRemove span { display: inline; }
  .cpInfo { padding-bottom: 24px; }
  .cpUnit { display: none; }
}
@container cpitems (max-width: 300px) {
  .cpItem { grid-template-columns: 72px minmax(0, 1fr) auto; }
  .cpImg { width: 72px; height: 72px; }
}

/* placeholder rows before the script runs */
.cpSkel .cpImg { display: block; }
.cpSkel .cpInfo { grid-column: info / remove; gap: 10px; }

/* ─── Checkout header + footer ────────────────────────── */
.coHeader { border-bottom: 1px solid var(--border); background: #fff; }
.coHeaderInner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
/* steps: Cart (done, links back) — Details — Done */
.coProgress { display: flex; align-items: center; list-style: none; }
.coProgress li { display: flex; align-items: center; }
.coProgress li + li::before { content: ''; width: clamp(16px, 4vw, 56px); height: 2px; margin: 0 12px; border-radius: 2px; background: rgba(0,0,0,0.12); }
.coProgress li.done + li::before { background: var(--red); }
.coProgress a, .coProgress li:not(.done) { display: flex; align-items: center; gap: 8px; }
.coProgress span {
  width: 28px; height: 28px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(0,0,0,0.15); border-radius: 50%; font-size: 12px; font-weight: 600; color: var(--text-muted);
}
.coProgress b { font-size: 14px; font-weight: 500; color: var(--text-muted); }
.coProgress .done span { border-color: var(--red); background: var(--red); color: #fff; font-size: 11px; }
.coProgress .done b { color: #000; }
.coProgress a:hover b { color: var(--red); text-decoration: underline; }
.coProgress [aria-current] span { border-color: var(--red); color: var(--red); }
.coProgress [aria-current] b { font-weight: 600; color: #000; }
/* phones: logo + help on top, the steps get their own row below */
@media (max-width: 639px) {
  .coHeaderInner { flex-wrap: wrap; row-gap: 0; min-height: 0; padding-top: 10px; }
  .coProgress { order: 3; width: 100%; justify-content: center; margin-top: 10px; padding: 10px 0 12px; border-top: 1px solid var(--border); }
  .coProgress li + li::before { width: 28px; margin: 0 8px; }
  .coProgress b { font-size: 13px; }
  .coProgress span { width: 26px; height: 26px; }
}
/* very narrow phones: circles only, the current step keeps its label */
@media (max-width: 359px) {
  .coProgress li:not([aria-current]) b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.coHelp { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.coHelp img { flex-shrink: 0; }
.coHelp strong { display: block; font-size: 13px; font-weight: 600; }
.coHelp span span { display: block; font-size: 12px; color: var(--text-muted); transition: color .15s; }
.coHelp:hover span span { color: var(--red); }
@media (min-width: 640px) and (max-width: 767px) { .coHelp > span { display: none; } }
@media (max-width: 419px) { .coHelp img { width: 36px; height: 36px; } }
.coPage { flex: 1; background: var(--gray); }
.coHead { margin: 24px 0 20px; }
.coHead .authBack { margin-bottom: 8px; }
.coFooter { border-top: 0; }
.coFooterLinks { display: flex; gap: 20px; }
.coFooterLinks a { transition: color .15s; }
.coFooterLinks a:hover { color: #fff; text-decoration: underline; }

/* on the gray checkout page the summary turns white */
.coPage .shopSummary { background: #fff; box-shadow: 0 10px 40px rgba(0,0,0,0.05); }

/* ─── Checkout steps ──────────────────────────────────── */
.coSteps { display: grid; gap: 16px; }
.coLogin { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: #fff; font-size: 14px; color: var(--text-muted); }
.coLogin i { color: var(--red); }
.coLogin a { font-weight: 600; color: var(--red); }
.coLogin a:hover { text-decoration: underline; }
.coCard { padding: 24px; border-radius: 24px; background: #fff; }
@media (min-width: 640px) { .coCard { padding: 28px 32px; } }
@media (max-width: 479px) { .coCard { padding: 20px 16px; border-radius: 20px; } }
.coCardTitle { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 600; }
.coCardTitle span {
  width: 30px; height: 30px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--red); color: #fff; font-size: 13px;
}
.coFields { display: grid; gap: 16px; margin-top: 20px; }
.formField label small { font-size: 12px; font-weight: 400; color: var(--text-muted); }
.coNotes { margin-top: 16px; }
.coNotes textarea { min-height: 88px; }
/* iOS zooms into inputs under 16px; keep phones at 16px */
@media (max-width: 639px) { .coCard .formField input, .coCard .formField select, .coCard .formField textarea { font-size: 16px; } }

/* delivery options: radio cards */
.coOptions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 20px; border: 0; }
@media (min-width: 768px) { .coOptions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.coOption {
  position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 16px;
  border: 1.5px solid var(--border); border-radius: 16px; cursor: pointer; transition: border-color .15s, background .15s;
}
.coOption:hover { border-color: rgba(217,0,24,0.5); }
.coOption input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.coOption:has(input:checked) { border-color: var(--red); background: var(--red-muted); }
.coOption:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 2px; }
.coRadio { position: relative; width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; border: 1.5px solid rgba(0,0,0,0.25); border-radius: 50%; background: #fff; transition: border-color .15s; }
.coOption input:checked + .coRadio { border-color: var(--red); }
.coOption input:checked + .coRadio::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--red); }
.coOptionText { flex: 1; min-width: 0; }
.coOptionText strong { display: block; font-size: 14px; font-weight: 600; }
.coOptionText small { display: block; margin-top: 2px; font-size: 12px; line-height: 1.45; color: var(--text-muted); }
.coOptionPrice { flex-shrink: 0; font-size: 14px; font-weight: 600; }

.coPay { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 16px; border: 1.5px solid var(--red); border-radius: 16px; background: var(--red-muted); }
.coPay .featureIcon { background: #fff; }
.coPay div { flex: 1; min-width: 0; }
.coPay strong { display: block; font-size: 14px; font-weight: 600; }
.coPay div span { display: block; font-size: 12px; line-height: 1.45; color: var(--text-muted); }
.coPayCheck { font-size: 20px; color: var(--red); }

/* compact item rows (checkout summary + confirmation) */
/* top padding leaves room for the quantity badge */
.coItems { display: grid; gap: 12px; max-height: 320px; padding-top: 6px; overflow-y: auto; list-style: none; scrollbar-width: thin; scrollbar-color: rgba(0,0,0,0.14) transparent; }
.coItems li { display: flex; align-items: center; gap: 12px; }
.coItemImg { position: relative; width: 60px; height: 60px; flex-shrink: 0; border-radius: 12px; background: var(--gray); }
.coItemImg img { width: 100%; height: 100%; padding: 6px; object-fit: contain; }
.coItemImg b {
  position: absolute; top: -6px; left: -6px; min-width: 20px; height: 20px; padding: 0 5px;
  display: flex; align-items: center; justify-content: center; border-radius: 50px;
  background: #111; color: #fff; font-size: 11px; font-weight: 600;
}
.coItemName { flex: 1; min-width: 0; font-size: 13px; font-weight: 500; line-height: 1.4; }
.coItemName small { display: block; font-size: 11px; font-weight: 400; color: var(--text-muted); }
.coItemPrice { font-size: 14px; font-weight: 600; }

/* ─── Order confirmation ──────────────────────────────── */
.orderPage { flex: 1; display: flex; background: var(--gray); }
.orderPage > .container { display: flex; align-items: center; justify-content: center; padding-top: clamp(28px, 6vh, 72px); padding-bottom: clamp(40px, 8vh, 96px); }
.orderPage .shopEmpty { max-width: 560px; background: #fff; }
.orderCard { width: 100%; max-width: 620px; padding: 40px; border-radius: 24px; background: #fff; box-shadow: 0 10px 40px rgba(0,0,0,0.06); }
@media (max-width: 639px) { .orderCard { padding: 28px 20px; border-radius: 20px; } }
.orderCheck {
  width: 60px; height: 60px; margin-bottom: 18px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #16a34a; color: #fff; font-size: 24px; box-shadow: 0 0 0 8px rgba(22,163,74,0.12);
}
.orderCard .authLead { max-width: none; }
.orderCard .authLead strong { font-weight: 600; color: #000; }
.orderNext { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 24px; list-style: none; counter-reset: none; }
.orderNext li { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 16px; background: var(--gray); font-size: 13px; font-weight: 500; line-height: 1.4; }
.orderNext span { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--red); color: #fff; font-size: 12px; font-weight: 600; }
@media (max-width: 479px) { .orderNext { grid-template-columns: minmax(0, 1fr); } .orderNext li { flex-direction: row; align-items: center; padding: 12px 14px; } }
.orderInfo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 24px; padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
@media (min-width: 480px) { .orderInfo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.orderInfo h2 { font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); }
.orderInfo p { margin-top: 4px; font-size: 14px; font-weight: 500; line-height: 1.55; }
.orderItems { margin-top: 20px; max-height: none; }
.orderRows { margin-top: 18px; }
.orderActions { display: grid; gap: 4px; margin-top: 24px; }
@media (min-width: 480px) { .orderActions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .orderActions .btnViewCart { margin-top: 0; height: 48px; } }
.coLogin strong { font-weight: 600; color: #000; }

/* =========================================================
   MY ACCOUNT (account.html)
   Side card with the user + sections (a sideways row of
   pills on phones), content on the right. Same parts as
   the rest of the store: gray panels, bordered white cards,
   pill buttons, featureIcon tiles.
   ========================================================= */
.accPage > .container { padding-bottom: 64px; }
.accLayout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; padding-top: 4px; }
@media (min-width: 1024px) { .accLayout { grid-template-columns: 264px minmax(0, 1fr); gap: 32px; padding-top: 8px; } }
@media (min-width: 1280px) { .accLayout { grid-template-columns: 290px minmax(0, 1fr); gap: 40px; } }
.accMain { min-width: 0; }

/* ─── Side ────────────────────────────────────────────── */
.accUser { display: flex; align-items: center; gap: 14px; min-width: 0; }
.accUser > div { min-width: 0; }
.accUser strong { display: block; font-size: 15px; font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.accUser div span { display: block; font-size: 13px; color: var(--text-muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.accAvatar {
  width: 52px; height: 52px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--red); color: #fff; font-size: 18px; font-weight: 600; letter-spacing: .02em;
}
.accNav a, .accNav button { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; transition: background .15s, color .15s, border-color .15s; }
.accNav i { width: 18px; text-align: center; font-size: 14px; }
.accNav em {
  min-width: 24px; margin-right: auto; padding: 1px 8px; border-radius: 50px; background: #fff;
  font-size: 11px; font-style: normal; font-weight: 600; text-align: center; color: var(--text-muted);
}
.accNav em:empty { display: none; }

@media (min-width: 1024px) {
  .accSide { position: sticky; top: 90px; padding: 20px; border-radius: 24px; background: var(--gray); }
  .accUser { padding: 4px 4px 18px; border-bottom: 1px solid var(--border); }
  .accNav { display: grid; gap: 4px; margin-top: 14px; }
  .accNav a, .accNav button { width: 100%; padding: 11px 14px; border-radius: 12px; color: rgba(0,0,0,0.75); }
  .accNav i { color: rgba(0,0,0,0.45); }
  .accNav a:hover { background: #fff; color: #000; }
  .accNav a[aria-current] { background: #fff; color: var(--red); font-weight: 600; box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
  .accNav a[aria-current] i { color: var(--red); }
  .accNav a[aria-current] em { background: var(--red-muted); color: var(--red); }
  .accLogout { margin-top: 8px; padding-top: 14px !important; border-top: 1px solid var(--border); border-radius: 0 !important; color: var(--text-muted) !important; }
  .accLogout:hover { color: var(--red) !important; }
  .accLogout:hover i { color: var(--red); }
}
/* phones + tablets: user card, then the sections as a sideways row of pills */
@media (max-width: 1023px) {
  .accUser { padding: 14px 16px; border-radius: 18px; background: var(--gray); }
  .accAvatar { width: 44px; height: 44px; font-size: 16px; }
  .accNav { display: flex; gap: 8px; margin: 12px -16px 0; padding: 0 16px 2px; overflow-x: auto; scrollbar-width: none; }
  .accNav::-webkit-scrollbar { display: none; }
  .accNav a, .accNav button {
    flex-shrink: 0; gap: 8px; height: 40px; padding: 0 16px; border: 1.5px solid var(--border); border-radius: 50px;
    background: #fff; font-size: 13px; white-space: nowrap;
  }
  .accNav i { width: auto; font-size: 12px; color: rgba(0,0,0,0.45); }
  .accNav em { margin-right: 0; background: var(--gray); }
  .accNav a:hover { border-color: var(--red); color: var(--red); }
  .accNav a[aria-current] { border-color: var(--red); background: var(--red-muted); color: var(--red); font-weight: 600; }
  .accNav a[aria-current] i { color: var(--red); }
  .accNav a[aria-current] em { background: #fff; color: var(--red); }
  .accLogout { color: var(--text-muted); }
  .accLogout:hover { border-color: var(--red); color: var(--red); }
}
@media (min-width: 640px) and (max-width: 1023px) { .accNav { margin: 12px -24px 0; padding: 0 24px 2px; } }

/* ─── Panels ──────────────────────────────────────────── */
.accPanel { display: grid; gap: 20px; }
.accTitle { font-size: clamp(24px, 1.1rem + 0.8vw, 30px); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.accTitle span { color: var(--red); }
.accTitle:focus { outline: none; }
.accLead { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--text-muted); }
.accPanelHead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; }

.accBlockHead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.accBlockHead h2 { font-size: 17px; font-weight: 600; }

.accHelp { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border: 1px solid var(--border); border-radius: 18px; transition: border-color .2s; }
.accHelp:hover { border-color: var(--red); }
.accHelp > span { flex: 1; min-width: 0; }
.accHelp strong { display: block; font-size: 14px; font-weight: 600; }
.accHelp span span { display: block; font-size: 13px; color: var(--text-muted); }
.accHelp > i { font-size: 12px; color: rgba(0,0,0,0.35); transition: transform .2s, color .2s; }
.accHelp:hover > i { color: var(--red); transform: translateX(-3px); }

/* ─── Buttons ─────────────────────────────────────────── */
.accBtn {
  height: 40px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1.5px solid var(--border); border-radius: 50px; background: #fff;
  font-size: 13px; font-weight: 600; white-space: nowrap; transition: border-color .15s, color .15s, background .15s;
}
.accBtn:hover { border-color: var(--red); color: var(--red); }
.accBtn i { font-size: 11px; transition: transform .2s; }
.accBtnQuiet { border-color: transparent; color: var(--text-muted); }
.accBtnQuiet[data-confirm] { border-color: var(--red); background: var(--red-muted); color: var(--red); }
.accBtnRed {
  height: 44px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 50px; background: var(--red); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .2s, opacity .2s;
}
.accBtnRed:hover { background: var(--red-dark); }
.accBtnRed i { font-size: 12px; }
.accBtnRed[aria-busy="true"] { pointer-events: none; opacity: .8; }
.accBtnRed[aria-busy="true"]::after {
  content: ''; width: 15px; height: 15px; border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff;
  border-radius: 50%; animation: authSpin .7s linear infinite;
}

/* ─── Orders ──────────────────────────────────────────── */
.accOrders { display: grid; gap: 14px; }
.accOrder { padding: 20px; border: 1px solid var(--border); border-radius: 20px; background: #fff; scroll-margin-top: 150px; transition: box-shadow .2s; }
@media (min-width: 640px) { .accOrder { padding: 22px 24px; } }
@media (min-width: 1024px) { .accOrder { scroll-margin-top: 100px; } }
.accOrder.open { box-shadow: var(--shadow-card); }
.accOrderHead { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 12px; }
.accOrderHead h2 { font-size: 15px; font-weight: 600; }
.accOrderHead div span { display: block; margin-top: 2px; font-size: 13px; color: var(--text-muted); }

.accStatus { flex-shrink: 0; padding: 5px 12px; border-radius: 50px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.accStatus.s0 { background: #fef3c7; color: #a16207; }
.accStatus.s1 { background: #dbeafe; color: #1d4ed8; }
.accStatus.s2 { background: #e0e7ff; color: #4338ca; }
.accStatus.s3 { background: #dcfce7; color: #15803d; }
.accStatus.s-1 { background: var(--gray); color: var(--text-muted); }

/* progress: 4 steps with a line between them */
.accTrack { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 20px 0 4px; list-style: none; }
.accTrack li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 4px; font-size: 12px; line-height: 1.35; text-align: center; color: var(--text-muted); }
.accTrack li + li::before { content: ''; position: absolute; top: 13px; left: calc(50% + 18px); width: calc(100% - 36px); height: 2px; border-radius: 2px; background: rgba(0,0,0,0.1); }
.accTrack span {
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(0,0,0,0.12); border-radius: 50%; background: #fff; font-size: 11px; font-weight: 600;
}
.accTrack .done span, .accTrack .now span { border-color: var(--red); background: var(--red); color: #fff; }
.accTrack .now span { box-shadow: 0 0 0 5px rgba(217,0,24,0.12); }
.accTrack .done::before, .accTrack .now::before { background: var(--red) !important; }
.accTrack .done, .accTrack .now { color: #000; }
.accTrack .now { font-weight: 600; }
.accCancelled { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: var(--gray); font-size: 13px; color: var(--text-muted); }

.accOrderBody { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.accThumbs { display: flex; flex-shrink: 0; }
.accThumbs span {
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff; border-radius: 14px; background: var(--gray);
}
.accThumbs span + span { margin-right: -12px; }
.accThumbs img { width: 100%; height: 100%; padding: 6px; object-fit: contain; }
.accMore { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.accOrderNames { flex: 1; min-width: 0; font-size: 14px; font-weight: 500; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.accOrderNames span { font-weight: 400; color: var(--text-muted); }
.accOrderTotal { flex-shrink: 0; text-align: left; }
.accOrderTotal span { display: block; font-size: 12px; color: var(--text-muted); }
.accOrderTotal strong { font-size: 17px; font-weight: 600; }
@media (max-width: 559px) {
  .accOrderBody { flex-wrap: wrap; gap: 12px; }
  .accOrderTotal { margin-right: auto; }
  .accOrderNames { order: 3; flex-basis: 100%; }
}
.accOrderActions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.accOrder.open [data-toggle-order] i { transform: rotate(-180deg); }
@media (max-width: 479px) { .accOrderActions .accBtn { flex: 1 1 auto; } }

.accOrderDetails { margin-top: 18px; padding-top: 4px; border-top: 1px solid var(--border); animation: noticeIn .25s ease; }
.accOrderInfo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 18px 0; padding: 16px; border-radius: 16px; background: var(--gray); }
@media (min-width: 560px) { .accOrderInfo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.accOrderInfo h3 { font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); }
.accOrderInfo p { margin-top: 4px; font-size: 14px; font-weight: 500; line-height: 1.5; }
.accOrderItems { max-height: none; }
.accOrderItems a.coItemName:hover { color: var(--red); }
.accOrderRows { margin-top: 16px; }
@media (min-width: 768px) { .accOrderRows { max-width: 360px; margin-right: auto; } }

/* ─── Saved items ─────────────────────────────────────── */
.accPanel .plpEmpty { padding: 48px 16px; }

/* ─── Addresses ───────────────────────────────────────── */
.accAddrGrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 640px) { .accAddrGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.accAddrEmpty { grid-column: 1 / -1; }
.accAddr { display: flex; flex-direction: column; padding: 18px 20px; border: 1.5px solid var(--border); border-radius: 18px; background: #fff; }
.accAddr.isDefault { border-color: var(--red); }
.accAddrHead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.accAddrHead strong { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.accAddrHead i { font-size: 12px; color: var(--red); }
.accDefault { padding: 3px 10px; border-radius: 50px; background: var(--red-muted); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--red); }
.accAddr p { font-size: 13px; line-height: 1.6; color: var(--text-muted); }
.accAddr .accAddrName { font-size: 14px; font-weight: 500; color: #000; }
.accAddr p:last-of-type { margin-bottom: 14px; }
.accAddrActions { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); }
.accAddrActions button { font-size: 13px; font-weight: 600; transition: color .15s; }
.accAddrActions button:hover { color: var(--red); }
.accAddrActions .danger { color: var(--text-muted); }
.accAddrActions .danger[data-confirm] { color: var(--red); }

/* ─── Forms (address, details, password) ──────────────── */
.accCard { padding: 22px 20px; border: 1px solid var(--border); border-radius: 22px; background: #fff; }
@media (min-width: 640px) { .accCard { padding: 28px 32px; border-radius: 24px; } }
.accCardTitle { font-size: 17px; font-weight: 600; }
.accCardTitle:focus { outline: none; }
.accForm { display: grid; gap: 16px; }
.accFieldLabel { font-size: 13px; font-weight: 600; }
.accFormActions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
@media (max-width: 479px) { .accFormActions > * { flex: 1 1 auto; } }
.accForm .formStatus:empty { display: none; }
@media (max-width: 639px) { .accForm .formField input, .accForm .formField select { font-size: 16px; } }

.accChips { display: flex; flex-wrap: wrap; gap: 8px; }
.accChips label { position: relative; cursor: pointer; }
.accChips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.accChips span {
  height: 40px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--border); border-radius: 50px; font-size: 13px; font-weight: 500; transition: border-color .15s, background .15s, color .15s;
}
.accChips i { font-size: 12px; color: rgba(0,0,0,0.45); }
.accChips label:hover span { border-color: var(--red); }
.accChips input:checked + span { border-color: var(--red); background: var(--red-muted); color: var(--red); font-weight: 600; }
.accChips input:checked + span i { color: var(--red); }
.accChips input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }

/* ─── Product page: write a review ────────────────────── */
.revForm { display: grid; gap: 16px; margin-bottom: 24px; padding: 22px 20px; border: 1px solid var(--border); border-radius: 20px; background: #fff; box-shadow: var(--shadow-card); animation: noticeIn .25s ease; }
@media (min-width: 640px) { .revForm { padding: 26px 28px; } }
.revFormTitle { font-size: 17px; font-weight: 600; }
.revFormTitle:focus { outline: none; }
.revRate { border: 0; }
.revRate legend { margin-bottom: 6px; font-size: 13px; font-weight: 600; }
.revRate legend span { color: var(--red); }
/* stars sit in reverse order so hovering one lights it and the ones before it */
.revRateStars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.revRateStars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.revRateStars label { cursor: pointer; padding: 2px; font-size: 26px; line-height: 1; color: rgba(0,0,0,0.15); transition: color .12s, transform .12s; }
.revRateStars label:hover, .revRateStars label:hover ~ label,
.revRateStars input:checked ~ label { color: #F5A623; }
.revRateStars label:hover { transform: scale(1.12); }
.revRateStars input:focus-visible + label { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 6px; }
.revForm textarea { min-height: 110px; }
@media (max-width: 639px) { .revForm .formField input, .revForm .formField textarea { font-size: 16px; } }
.revItem.flash { animation: cartFlash 1.6s ease; }

/* =========================================================
   OFFERS PAGE (offers.html)
   The listing page's banner, chips, toolbar and grid,
   without the filter sidebar.
   ========================================================= */
.offersPage > .container { padding-bottom: 64px; }
.offBanner { margin-bottom: 4px; }
.offBanner .plpTitle span { color: var(--red); }
.offBanner .plpSub strong { font-weight: 600; color: var(--red); }
.offTimer {
  width: max-content; max-width: 100%; height: 40px; margin-top: 14px; padding: 0 16px; display: flex; align-items: center; gap: 8px;
  border-radius: 50px; background: #fff; font-size: 13px; font-weight: 600; color: var(--red);
}
.offTimer i { font-size: 12px; }
.offTop { transition: box-shadow .2s, transform .2s; }
.offTop:hover { box-shadow: var(--shadow-red); transform: translateY(-2px); }
.offTop .plpPromoText span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* height reserved before the script fills the row, so the page doesn't jump */
.offChips { position: relative; min-height: 42px; }
.offChips .plpChip { padding-left: 8px; }
.offToolbar { margin-top: 16px; }
/* phones: count left, sort right on one line */
@media (max-width: 639px) {
  .offToolbar .plpCount { order: 0; flex-basis: auto; }
  .offToolbar .plpSort { flex: 0 1 auto; }
  .offToolbar .plpSort select { width: auto; }
}
.offMore { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 40px; }
.offMore p { font-size: 14px; color: var(--text-muted); }

/* homepage offers section → full offers page */
.offersMore { display: flex; justify-content: center; margin-top: 28px; }

/* =========================================================
   404 PAGE (404.html)
   Account page layout: one centered card on the gray band.
   ========================================================= */
.nfCard {
  width: 100%; max-width: 560px; padding: 40px 36px; border-radius: 24px; background: #fff;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06); text-align: center;
}
@media (max-width: 479px) { .nfCard { padding: 28px 20px; border-radius: 20px; } }
.nfCode {
  display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 14px;
  font-size: clamp(64px, 12vw, 104px); font-weight: 700; line-height: 1; letter-spacing: -.04em; color: #111;
}
.nfCode span {
  width: .82em; height: .82em; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--red-muted); color: var(--red); font-size: .42em;
}
.nfCard .authLead { max-width: 42ch; margin: 8px auto 0; }
.nfSearch {
  position: relative; height: 50px; margin-top: 24px; display: flex; align-items: center;
  border: 1.5px solid var(--border); border-radius: 50px; transition: border-color .2s, box-shadow .2s;
}
.nfSearch:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px rgba(217,0,24,0.08); }
.nfSearch > i { position: absolute; right: 18px; font-size: 13px; color: rgba(0,0,0,0.4); pointer-events: none; }
.nfSearch input { flex: 1; min-width: 0; height: 100%; padding: 0 44px 0 12px; border: 0; outline: none; border-radius: 50px; background: transparent; font: 400 14px var(--font-sans, 'Figtree', 'Alexandria', sans-serif); }
.nfSearch button { height: 40px; margin-left: 4px; padding: 0 20px; border-radius: 50px; background: var(--red); color: #fff; font-size: 13px; font-weight: 600; transition: background .2s; }
.nfSearch button:hover { background: var(--red-dark); }
@media (max-width: 639px) { .nfSearch input { font-size: 16px; } }
.nfActions { display: grid; gap: 4px; margin-top: 16px; }
@media (min-width: 480px) { .nfActions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .nfActions .btnViewCart { margin-top: 0; height: 48px; } }
.nfLinks { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; }
.nfLinks span { color: var(--text-muted); }
.nfLinks a { font-weight: 500; transition: color .15s; }
.nfLinks a:hover { color: var(--red); text-decoration: underline; }

/* footer bar: terms link next to the copyright */
.footerBarLink { color: inherit; text-decoration: underline; text-underline-offset: 3px; opacity: .8; transition: opacity .15s; }
.footerBarLink:hover { opacity: 1; }

/* =========================================================
   TERMS & PRIVACY (terms.html)
   About page hero type; contents on the left that stay in
   view, readable column of text on the right.
   ========================================================= */
.legalPage > .container { padding-bottom: 72px; }
.legalHead { max-width: 720px; padding: 8px 0 28px; }
.legalHead .pdpBrand { display: inline-block; }
.legalHead .companyTitle span { display: inline; }
.legalUpdated { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--text-muted); }

.legalLayout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; padding-top: 28px; border-top: 1px solid var(--border); }
@media (min-width: 1024px) { .legalLayout { grid-template-columns: 240px minmax(0, 1fr); gap: 64px; } }
.legalToc { padding: 18px 20px; border-radius: 20px; background: var(--gray); }
@media (min-width: 1024px) { .legalToc { position: sticky; top: 90px; } }
.legalToc p { margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.legalToc ol { display: grid; gap: 2px; list-style: none; }
.legalToc a { display: block; padding: 7px 10px; border-radius: 10px; font-size: 14px; color: rgba(0,0,0,0.75); transition: background .15s, color .15s; }
.legalToc a:hover { background: #fff; color: var(--red); }
/* phones + tablets: contents as two short columns */
@media (min-width: 480px) and (max-width: 1023px) { .legalToc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.legalDoc { max-width: 760px; }
.legalDoc section { scroll-margin-top: 150px; }
@media (min-width: 1024px) { .legalDoc section { scroll-margin-top: 110px; } }
.legalDoc section + section { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--border); }
.legalDoc h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(19px, 1rem + 0.4vw, 22px); font-weight: 600; line-height: 1.3; }
.legalDoc h2 span {
  width: 30px; height: 30px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--red-muted); color: var(--red); font-size: 13px;
}
.legalDoc h3 { margin-top: 20px; font-size: 15px; font-weight: 600; }
.legalDoc p, .legalDoc li { font-size: 15px; line-height: 1.75; color: rgba(0,0,0,0.72); }
.legalDoc p { margin-top: 12px; }
.legalDoc ul { display: grid; gap: 8px; margin-top: 12px; list-style: none; }
.legalDoc ul li { position: relative; padding-right: 22px; }
.legalDoc ul li::before { content: ''; position: absolute; right: 4px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.legalDoc strong { font-weight: 600; color: #000; }
.legalDoc a { font-weight: 500; color: var(--red); }
.legalDoc a:hover { text-decoration: underline; }
.legalDoc .legalContact li { display: flex; align-items: center; gap: 12px; padding-right: 0; }
.legalDoc .legalContact li::before { display: none; }
.legalDoc .legalContact i { width: 16px; text-align: center; font-size: 13px; color: var(--red); }
.legalDoc .legalContact a { color: #000; }

/* ─── Accessibility pass ──────────────────────────────── */
/* slider dots: the visible dot stays 8px, the tap area is 24px */
.heroPagination .swiper-pagination-bullet,
.brandsPagination .swiper-pagination-bullet,
.pdpDots .swiper-pagination-bullet { box-sizing: content-box; padding: 8px; margin: 0 !important; background-clip: content-box; }
.heroPagination .swiper-pagination-bullet-active,
.brandsPagination .swiper-pagination-bullet-active,
.pdpDots .swiper-pagination-bullet-active { border-radius: 12px; }

/* phones: small text links get a taller tap area without moving anything */
@media (max-width: 767px) {
  .breadcrumb a, .footerNav a, .footerContact a, .authSmallLink, .authBack, .nfLinks a, .legalContact a, .footerBarLink,
  .companyContactCard a, .accAddrActions button {
    display: inline-block; padding-top: 4px; padding-bottom: 4px; margin-top: -4px; margin-bottom: -4px;
  }
  .authBack { display: inline-flex; }
}

/* keyboard: first Tab shows a link straight to the page content */
.skipLink {
  position: fixed; top: 10px; right: 10px; z-index: 1000; padding: 10px 18px; border-radius: 50px;
  background: #111; color: #fff; font-size: 14px; font-weight: 600; transform: translateY(-160%); transition: transform .15s;
}
.skipLink:focus { transform: none; }
main:focus { outline: none; }
#toast.toastError { border-color: #dc2626; }
#toast.toastError #toastMessage { color: #b91c1c; }

/* Formatting saved by the product text editor. */
.productRichText { min-width: 0; max-width: 100%; overflow-x: auto; overflow-wrap: anywhere; }
.productRichText p { margin: 0 0 .75em; }
.productRichText ul { list-style: disc; padding-inline-start: 1.5em; margin-block: .75em; }
.productRichText ol { list-style: decimal; padding-inline-start: 1.5em; margin-block: .75em; }
.productRichText li { margin-block: .25em; }
.productRichText h2 { font-size: 1.4em; font-weight: 700; margin-block: .8em .4em; }
.productRichText h3 { font-size: 1.2em; font-weight: 700; margin-block: .8em .4em; }
.productRichText h4 { font-size: 1.1em; font-weight: 600; margin-block: .8em .4em; }
.productRichText strong, .productRichText b { font-weight: 700; }
.productRichText em, .productRichText i { font-style: italic; }
.productRichText a { color: var(--red, #e60012); text-decoration: underline; }
.productRichText table { width: 100%; border-collapse: collapse; margin-block: .75em; }
.productRichText th, .productRichText td { border: 1px solid #e5e7eb; padding: 8px 12px; text-align: start; }
.productRichText th { font-weight: 600; background: #f9fafb; }
.productRichText blockquote { border-inline-start: 3px solid #e5e7eb; padding-inline-start: 1em; margin-block: .75em; }

/* Inventory colors use the storefront's existing round swatch treatment. */
.productColors { display:flex; align-items:center; flex-wrap:wrap; gap:7px; margin:8px 0; }
.productColors:empty { display:none; }
.productColorDot { display:inline-block; width:15px; height:15px; flex-shrink:0; border:1px solid rgba(0,0,0,.18); border-radius:50%; box-shadow:0 0 0 2px #fff; }
.productColorLabel { font-size:10px; line-height:1.6; padding:2px 7px; border:1px solid rgba(0,0,0,.12); border-radius:20px; color:var(--text-muted, #666); }

.commerceForm[hidden],.commerceCoupon[hidden],.commerceCouponApplied[hidden]{display:none}.commerceModalClose{right:auto;left:16px}.commerceForm input,.commerceForm textarea,.commerceCoupon input{font:inherit}.commerceForm input:focus-visible,.commerceForm textarea:focus-visible{outline:2px solid #d90018;outline-offset:2px}
/* Compact product actions and delivery selection follow the storefront controls. */
/* Card actions: two equal pills — outlined black "Add to cart", solid red "Buy now" — in the page font. */
.productBtns{flex-wrap:nowrap;gap:6px}
.productBtns .btnAddCart,.productBtns .btnBuyNow{flex:1 1 0;min-width:0;width:auto;height:38px;padding:0 10px;border-radius:999px;font-family:inherit;font-size:12.5px;font-weight:600;line-height:1;display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;transition:background .2s,border-color .2s,color .2s}
.productBtns .btnAddCart{border:1.5px solid #111;background:#fff;color:#111}
.productBtns .btnAddCart:hover{border-color:#111;background:#111;color:#fff}
.productBtns .btnAddCart.added{border-color:#16a34a;background:#16a34a;color:#fff}
.productBtns .btnBuyNow{border:1.5px solid var(--red);background:var(--red);color:#fff}
.productBtns .btnBuyNow:hover{border-color:var(--red-dark,#b80016);background:var(--red-dark,#b80016)}
@media(max-width:639px){.productBtns .btnAddCart,.productBtns .btnBuyNow{height:34px;padding:0 8px;font-size:11.5px;gap:4px}}
@media(max-width:480px){.productBtns .btnAddCart i{display:none}}
.couponLabel{display:block;margin:16px 0 8px;font-size:13px;font-weight:500}
.shopSummary .commerceCoupon input{min-width:0;font:inherit;font-size:13px}
.shopSummary .commerceCoupon button{flex-shrink:0;font-size:12px;background:var(--red)}
.deliveryAddress{display:flex;flex-direction:column;gap:12px;font-size:13px}
.deliveryAddress label{display:flex;flex-direction:column;gap:6px}
.deliveryAddress select{width:100%;font:inherit}
.deliveryAddress [data-address-editor]{display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid var(--border);border-radius:12px}
.deliveryAddress [data-address-editor][hidden],.commerceForm .kt-input[hidden]{display:none}
.addressAddToggle{align-self:flex-start;color:var(--red);font:inherit;font-weight:500;text-decoration:underline;background:none;border:0;cursor:pointer}
@media(max-width:380px){.productBtns{flex-wrap:wrap}.productBtns .btnAddCart,.productBtns .btnBuyNow{flex-basis:100%}}
/* Product page actions: quantity, Add to cart and Buy now share one height and split the row evenly. */
.pdpActions{grid-template-columns:auto minmax(0,1fr) minmax(0,1fr);gap:10px;align-items:center}
.pdpActions .pdpQty,.pdpActions .pdpAddCart,.pdpActions .pdpBuyNow{height:48px;min-height:48px}
.pdpActions .pdpAddCart,.pdpActions .pdpBuyNow{grid-column:auto;padding:0 16px;font-family:inherit;font-size:14px;font-weight:600;gap:8px;white-space:nowrap;box-shadow:none}
.pdpActions .pdpAddCart:hover{border-color:#111;background:#111;color:#fff}
@media(max-width:420px){.pdpActions{grid-template-columns:auto minmax(0,1fr)}.pdpActions .pdpBuyNow{grid-column:1/-1}}
/* Cart drawer footer: space between View cart / Checkout, and a black Request a quotation button. */
.cartFooter .btnCheckout{margin-top:10px}
.cartFooter .btnQuote{margin-top:10px;gap:8px;border-color:#111;background:#111;color:#fff;font-weight:600}
.cartFooter .btnQuote:hover{border-color:#2b2b2b;background:#2b2b2b;color:#fff}
/* My orders: pay an unpaid order with any available method. */
.accPayChoices{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px;padding-top:14px;border-top:1px dashed var(--border)}
.accPayLabel{font-size:13px;font-weight:600;color:#111;margin-inline-end:4px}
.accPayChoice{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:0 14px;border:1.5px solid var(--border);border-radius:50px;background:#fff;color:#111;font:inherit;font-size:13px;font-weight:500;cursor:pointer;transition:border-color .2s,color .2s,background .2s}
.accPayChoice:hover{border-color:#111}
.accPayChoice img{width:20px;height:20px;border-radius:5px}
.accPayChoice i{font-size:15px}
.accPayChoice small{padding:1px 8px;border-radius:999px;background:rgba(217,0,24,.08);color:var(--red);font-size:11px;font-weight:600}
.accPayChoice.is-current{border-color:var(--red);box-shadow:0 0 0 3px rgba(217,0,24,.08)}
.accPayChoice.is-current:hover{background:rgba(217,0,24,.04)}
.accPayChoice:disabled{opacity:.55;cursor:progress}
@media(max-width:480px){.accPayChoices{gap:6px}.accPayLabel{flex-basis:100%}.accPayChoice{min-height:36px;padding:0 12px;font-size:12px}}
/* Out of stock: faded image, a dark badge and one disabled button (card); grey stock line and disabled buttons (product page). */
.productStockBadge{position:absolute;inset-inline-start:10px;bottom:10px;z-index:2;display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;background:#111;color:#fff;font-size:11px;font-weight:600;line-height:1.4;pointer-events:none}
.productStockBadge i{font-size:11px}
.productCard.is-out .productImgWrap img{opacity:.45;filter:grayscale(1)}
.productCard.is-out .productPrice{color:#777}
.productBtns .btnOutOfStock{flex:1 1 auto;display:inline-flex;align-items:center;justify-content:center;gap:6px;height:38px;padding:0 10px;border:1.5px dashed #c4c4c4;border-radius:999px;background:#f5f5f5;color:#777;font-family:inherit;font-size:12.5px;font-weight:600;white-space:nowrap;cursor:not-allowed}
@media(max-width:639px){.productBtns .btnOutOfStock{height:34px;font-size:11.5px}.productStockBadge{inset-inline-start:6px;bottom:6px;padding:3px 8px;font-size:10px}}
.pdpStock.out{color:#555}
.pdpStock.out i{font-size:14px;color:#777}
.pdpActions .pdpAddCart:disabled,.pdpActions .pdpBuyNow:disabled,.stickyBuy button:disabled{border-color:#d4d4d4;background:#f5f5f5;color:#888;box-shadow:none;cursor:not-allowed}
/* Payment brand logos (Visa / Mastercard, PalPay) next to the payment methods. */
.payLogos{display:inline-flex;flex:none;align-items:center;gap:6px}
.payLogos img{display:block;width:auto;height:14px}
.payLogos img + img{height:20px}
.payMethods .payCard .payLogos{min-width:28px}
.payLogo{flex:none;width:28px;height:28px;border-radius:7px;object-fit:contain}
.payLogosLg img{height:18px}
.payLogosLg img + img{height:28px}
.accPayChoice .payLogos img{height:11px}
.accPayChoice .payLogos img + img{height:17px}
.cardPaySecure .payLogos img{height:12px}
.cardPaySecure .payLogos img + img{height:18px}

/* Home software products use the existing product cards in three desktop columns. */
@media (min-width: 1024px) {
  #software-products .productGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Footer newsletter (docs/newsletter.md) */
.footerNewsletter > p { font-size: 13px; line-height: 1.6; color: var(--text-muted); margin-bottom: 10px; }
.footerNewsletterForm { display: flex; gap: 8px; }
.footerNewsletterForm input[type=email] { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid #d9dce1; border-radius: 10px; background: #fff; font-size: 13px; color: #000; }
.footerNewsletterForm input[type=email]:focus { outline: 2px solid rgba(217,0,24,.25); border-color: var(--red); }
.footerNewsletterForm input[aria-invalid=true] { border-color: var(--red); }
.footerNewsletterForm button { flex-shrink: 0; height: 42px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--red); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; transition: opacity .15s; }
.footerNewsletterForm button:hover { opacity: .9; }
.footerNewsletterForm button:disabled { opacity: .6; cursor: wait; }
.footerNewsletterTrap { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.footerNewsletterStatus { min-height: 1em; margin-top: 6px; font-size: 12px; color: var(--text-muted); }
.footerNewsletterStatus.is-error { color: var(--red); }
.footerNewsletterStatus.is-success { color: #15803d; }
@media (min-width: 480px) { .footerNewsletter { grid-column: 1 / -1; max-width: 520px; } }
@media (min-width: 1024px) {
  .footerMain { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.3fr); gap: 40px; }
  .footerNewsletter { grid-column: auto; max-width: none; }
}
.footerNewsletterForm input[type=email]:placeholder-shown { direction: rtl; }

/* Hero video slides: loading spinner until the video plays */
.heroVideoWrap { position: relative; width: 100%; height: 100%; background-color: #b10006; }
.heroVideoSpinner {
  position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border: 4px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
  animation: heroVideoSpin .8s linear infinite;
}
.heroVideoWrap.is-loading .heroVideoSpinner { opacity: 1; }
@keyframes heroVideoSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .heroVideoSpinner { animation-duration: 2s; } }
