/* Rahim Online Store — Amazon-style mobile-first shopping UI */
:root {
  --ros-navy: #131921;
  --ros-navy-2: #232f3e;
  --ros-orange: #ff9900;
  --ros-orange-2: #f0c14b;
  --ros-yellow: #fea41d;
  --ros-bg: #eaeded;
  --ros-card: #ffffff;
  --ros-ink: #0f1111;
  --ros-muted: #565959;
  --ros-link: #007185;
  --ros-line: #d5d9d9;
  --ros-danger: #b12704;
  --ros-ok: #007600;
  --ros-radius: 8px;
  --ros-safe-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: auto;
  max-width: 100%;
  width: 100%;
}
body.public-body {
  background: var(--ros-bg) !important;
  margin: 0;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  overflow-y: auto;
  max-width: 100%;
  width: 100%;
  position: relative;
}
body.public-body .public-nav { display: none !important; }

.ros-shell {
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--ros-ink);
  font-family: "Amazon Ember", "Plus Jakarta Sans", Arial, sans-serif;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: visible;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}
.ros-shell-pdp { padding-bottom: 0; }
.ros-shell > .ros-main {
  flex: 1 0 auto;
}
.ros-shell > .ros-foot {
  flex-shrink: 0;
  margin-top: auto;
}

/* ── Header (Amazon-like) ── */
.ros-top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ros-navy);
  color: #fff;
}
.ros-top-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  max-width: 1400px;
  margin: 0 auto;
}
.ros-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  min-width: 0;
}
.ros-brand-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: #ffffff;
  display: grid; place-items: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,.35);
}
.ros-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
}
.ros-brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.ros-brand-text strong {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -.03em;
  font-family: "Plus Jakarta Sans", "Amazon Ember", Arial, sans-serif;
}
.ros-brand-text small {
  font-size: .7rem;
  opacity: .9;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ros-search {
  display: flex;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  min-width: 0;
  border: 2px solid transparent;
}
.ros-search:focus-within { border-color: var(--ros-orange); }
.ros-search input {
  flex: 1;
  border: 0;
  padding: 10px 12px;
  font: inherit;
  font-size: 15px;
  min-width: 0;
  outline: none;
  color: #111;
}
.ros-search button {
  border: 0;
  background: var(--ros-yellow);
  color: #111;
  padding: 0 14px;
  cursor: pointer;
  font-size: 1rem;
}

.ros-top-actions { display: flex; align-items: center; gap: 8px; }
.ros-top-link {
  color: #fff;
  text-decoration: none;
  line-height: 1.1;
  padding: 4px 6px;
  border: 1px solid transparent;
  border-radius: 3px;
  white-space: nowrap;
}
.ros-top-link:hover { border-color: #fff; }
.ros-top-link small { display: block; font-size: .68rem; opacity: .85; }
.ros-top-link span { font-size: .82rem; font-weight: 700; }

.ros-cart-btn {
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
  color: #fff;
  text-decoration: none;
  padding: 4px 6px;
  border: 1px solid transparent;
  border-radius: 3px;
}
.ros-cart-btn:hover { border-color: #fff; }
.ros-cart-ico { position: relative; font-size: 1.35rem; line-height: 1; }
.ros-cart-badge, .ros-mobile-nav a em {
  position: absolute;
  top: -8px; right: -10px;
  background: var(--ros-orange);
  color: #111;
  font-style: normal;
  font-size: .7rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: grid; place-items: center;
  padding: 0 4px;
}
.ros-cart-label { font-size: .82rem; font-weight: 700; }

.ros-catbar {
  background: var(--ros-navy-2);
  display: flex;
  gap: 2px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 8px;
  max-width: 1400px;
  margin: 0 auto;
}
.ros-catbar::-webkit-scrollbar { display: none; }
.ros-catbar a {
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  padding: 10px 12px;
  font-size: .84rem;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  flex-shrink: 0;
}
.ros-catbar a.on, .ros-catbar a:hover { border-bottom-color: var(--ros-orange); }

.ros-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 8px 28px;
}
.ros-flash {
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 14px;
  font-size: .9rem;
  font-weight: 600;
}
.ros-flash.ok { background: #e7f6ec; color: var(--ros-ok); }
.ros-flash.err { background: #fce8e6; color: var(--ros-danger); }

/* ── Home hero (brand-first, full-bleed) ── */
.ros-home-hero {
  position: relative;
  margin: -12px -10px 14px;
  min-height: auto;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 70% at 85% 10%, rgba(255,153,0,.28), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(55,71,90,.55), transparent 50%),
    linear-gradient(135deg, #131921 0%, #232f3e 48%, #1a2330 100%);
}
.ros-home-hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  padding: 28px 18px 26px;
}
.ros-home-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.ros-home-mark {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #ffffff;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 39, 68, .12);
}
.ros-home-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
}
.ros-home-wordmark-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.ros-home-wordmark-text strong {
  font-family: "Plus Jakarta Sans", "Amazon Ember", Arial, sans-serif;
  font-size: clamp(1.85rem, 7vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.04em;
}
.ros-home-wordmark-text span {
  margin-top: 4px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ros-orange-2);
}
.ros-home-hero h1 {
  margin: 0 0 8px;
  font-family: "Plus Jakarta Sans", "Amazon Ember", Arial, sans-serif;
  font-size: clamp(1.35rem, 4.6vw, 1.85rem);
  font-weight: 600;
  line-height: 1.25;
  max-width: 16ch;
}
.ros-home-lead {
  margin: 0 0 18px;
  font-size: .95rem;
  line-height: 1.5;
  opacity: .92;
  max-width: 32rem;
}
.ros-hero-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.ros-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}
.ros-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--ros-card);
  border: 1px solid var(--ros-line);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--ros-ink);
}
.ros-trust-item i {
  color: var(--ros-navy-2);
  width: 1.1rem;
  text-align: center;
}
.ros-trust-item .fa-whatsapp { color: #25d366; }

/* legacy hero (other pages if any) */
.ros-hero {
  background: linear-gradient(110deg, #232f3e 0%, #37475a 55%, #131921 100%);
  color: #fff;
  border-radius: 10px;
  padding: 22px 18px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}
.ros-eyebrow {
  margin: 0 0 6px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ros-orange-2);
}
.ros-hero h1 {
  margin: 0 0 6px;
  font-size: clamp(1.35rem, 5vw, 2rem);
  line-height: 1.2;
}
.ros-lead { margin: 0 0 14px; opacity: .9; font-size: .95rem; max-width: 34rem; }

/* ── Buttons ── */
.ros-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, #f7dfa5, var(--ros-orange-2));
  color: #0f1111 !important;
  text-decoration: none;
  border: 1px solid #a88734;
  border-radius: 20px;
  padding: 11px 16px;
  font-weight: 700;
  font-size: .92rem;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset;
}
.ros-btn:active { transform: translateY(1px); }
.ros-btn.primary, .ros-btn.buy {
  background: linear-gradient(180deg, #f7ca00, var(--ros-orange));
  border-color: #c45500;
}
.ros-btn.ghost {
  background: linear-gradient(180deg, #fff, #f0f2f2);
  border-color: #d5d9d9;
}
.ros-btn.soft {
  background: #fff;
  border-color: #d5d9d9;
  color: var(--ros-link) !important;
}
.ros-btn.sm { width: 100%; padding: 8px 10px; font-size: .82rem; border-radius: 16px; }
.ros-btn.block { width: 100%; }
.ros-link-btn {
  background: none; border: 0; color: var(--ros-link);
  cursor: pointer; font-size: .85rem; padding: 0; text-decoration: underline;
}

/* ── Sections / categories ── */
.ros-section { margin-bottom: 16px; }
.ros-section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 10px; margin-bottom: 10px; padding: 0 2px;
}
.ros-section-head h2 { margin: 0; font-size: 1.15rem; }
.ros-section-head a, .ros-section-head span { color: var(--ros-link); font-size: .88rem; font-weight: 600; text-decoration: none; }

.ros-cats {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.ros-cats::-webkit-scrollbar { display: none; }
.ros-cat {
  flex: 0 0 auto;
  min-width: 108px;
  background: var(--ros-card);
  border: 1px solid var(--ros-line);
  border-radius: var(--ros-radius);
  padding: 14px 12px;
  text-decoration: none;
  color: var(--ros-ink);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  font-weight: 700;
  font-size: .8rem;
  box-shadow: 0 1px 2px rgba(15,17,17,.06);
}
.ros-cat i { color: var(--ros-navy-2); font-size: 1.15rem; }

/* ── Product grid (Amazon cards) ── */
.ros-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
  width: 100%;
}
/* Sirf 1 product ho to mobile/tablet par poori width — side khali na rahe */
.ros-grid > .ros-card:only-child {
  grid-column: 1 / -1;
  max-width: 420px;
  width: 100%;
  justify-self: stretch;
}
.ros-card {
  background: var(--ros-card);
  border: 1px solid var(--ros-line);
  border-radius: var(--ros-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  height: 100%;
}
.ros-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
  background: #f7f8f8;
  display: block;
  overflow: hidden;
}
.ros-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #fff;
}
.ros-card-ph {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  display: grid; place-items: center;
  color: #adb1b8; font-size: 1.8rem;
  background: #f7f8f8;
}
.ros-card-ph.big { position: relative; min-height: 240px; }
.ros-badge {
  position: absolute; top: 8px; left: 8px;
  background: #cc0c39; color: #fff;
  font-size: .68rem; font-weight: 800;
  padding: 3px 6px; border-radius: 3px;
}
.ros-badge.soft {
  background: #232f3e; left: auto; right: 8px;
}
.ros-card-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1 1 auto;
}
.ros-card-actions { margin-top: auto; display: grid; gap: 6px; }
.ros-card-form { display: grid; gap: 6px; }
.ros-card-actions .ros-btn.sm { width: 100%; }
.ros-card-cat {
  margin: 0;
  font-size: .68rem;
  color: var(--ros-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ros-card-body h3 {
  margin: 0;
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.ros-card-body h3 a { color: var(--ros-ink); text-decoration: none; }
.ros-card-body h3 a:hover { color: var(--ros-link); }
/* Compact cards for "More products" — no Buy/COD buttons, denser grid */
.ros-grid-more {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.ros-card-compact .ros-card-body { padding: 8px; gap: 3px; }
.ros-card-compact .ros-card-body h3 { font-size: .78rem; -webkit-line-clamp: 2; }
.ros-card-compact .ros-price strong { font-size: .92rem; }
.ros-card-compact .ros-deal { font-size: .7rem; }
.ros-card-compact .ros-card-cat { font-size: .65rem; }
.ros-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.ros-price strong {
  color: var(--ros-ink);
  font-size: 1.05rem;
  font-weight: 700;
}
.ros-price s { color: var(--ros-muted); font-size: .8rem; }
.ros-price.lg strong { font-size: 1.55rem; }
.ros-price-whole { font-size: 1.35em; }
.ros-deal { color: var(--ros-danger); font-size: .78rem; font-weight: 700; }
.ros-prime {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .72rem; color: var(--ros-ok); font-weight: 700;
}

/* category chip row (legacy class reused carefully — listing filters override below) */
.ros-chip-row {
  display: flex; gap: 8px; overflow-x: auto;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  margin-bottom: 12px; padding-bottom: 2px;
}
.ros-chip-row::-webkit-scrollbar { display: none; }
.ros-chip {
  flex: 0 0 auto;
  text-decoration: none;
  border: 1px solid var(--ros-line);
  background: #fff;
  color: var(--ros-ink);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
}
.ros-chip.on { background: var(--ros-navy); border-color: var(--ros-navy); color: #fff; }

/* ── PDP (mobile = original; modern look only on PC) ── */
.ros-pdp {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  background: transparent;
  border: 0;
  padding: 0;
}
.ros-pdp-gallery, .ros-pdp-info, .ros-buybox {
  background: var(--ros-card);
  border: 1px solid var(--ros-line);
  border-radius: var(--ros-radius);
  padding: 12px;
}
.ros-pdp-main {
  position: relative;
  aspect-ratio: 1;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
}
.ros-pdp-disc { display: none; }
.ros-zoom-btn {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #fff;
  cursor: zoom-in;
}
.ros-pdp-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #fff;
}
.ros-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.ros-lightbox[hidden] { display: none !important; }
.ros-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
}
.ros-lightbox-close {
  position: absolute;
  top: 10px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.ros-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.ros-lightbox-nav.prev { left: 10px; }
.ros-lightbox-nav.next { right: 10px; }
.ros-lightbox-count {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  font-size: .9rem;
  background: rgba(0, 0, 0, .45);
  padding: 4px 12px;
  border-radius: 999px;
}
.ros-thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.ros-thumb {
  border: 1px solid var(--ros-line);
  border-radius: 6px;
  padding: 0; overflow: hidden;
  width: 56px; height: 56px;
  cursor: pointer; background: #fff;
}
.ros-thumb:hover, .ros-thumb:focus { border-color: var(--ros-orange); }
.ros-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ros-pdp-cat {
  margin: 0 0 6px;
  color: var(--ros-muted);
  font-size: .8rem;
  font-weight: 700;
}
.ros-pdp-info h1 {
  margin: 0 0 8px;
  font-size: clamp(1.15rem, 4vw, 1.55rem);
  font-weight: 500;
  line-height: 1.3;
}
.ros-short { color: var(--ros-muted); line-height: 1.55; font-size: .92rem; }
.ros-trust-chips,
.ros-buybox-head,
.ros-buybox-trust { display: none; }
.ros-buybox-stock {
  margin: 6px 0 10px;
  font-size: .9rem;
}
.ros-meta-list { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; }
.ros-meta-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px;
  font-size: .9rem;
  border-bottom: 1px solid #f0f2f2;
  padding-bottom: 8px;
}
.ros-meta-list span { color: var(--ros-muted); }
.ros-stock-ok { color: var(--ros-ok); font-weight: 700; }
.ros-buy-row {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
}
.ros-qty {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.ros-qty > span { min-width: 2rem; }
.ros-buy-row .ros-stepper { flex: 0 0 auto; }
.ros-share {
  margin-top: 8px; border: 0; background: transparent;
  color: var(--ros-link); font-weight: 600; cursor: pointer; padding: 0;
}
.ros-desc,
.ros-desc-card {
  margin-top: 12px;
  background: var(--ros-card);
  border: 1px solid var(--ros-line);
  border-radius: var(--ros-radius);
  padding: 14px;
  grid-column: 1 / -1;
}
.ros-desc h2,
.ros-desc-card h2 { font-size: 1.05rem; margin: 0 0 8px; }
.ros-overview {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
.ros-rich { color: #0f1111; line-height: 1.65; font-size: .94rem; }
/* Description editor output: per-line direction, bullets, numbers */
.ros-rich p { margin: 0 0 .55rem; }
.ros-rich p:last-child { margin-bottom: 0; }
.ros-rich [dir="auto"] { text-align: start; unicode-bidi: plaintext; }
.ros-rich ul, .ros-rich ol { margin: 0 0 .6rem; padding-inline-start: 1.5em; }
.ros-rich ul { list-style: disc; }
.ros-rich ol { list-style: decimal; }
.ros-rich li { margin: 0 0 .25rem; display: list-item; }

.ros-btn.wa {
  background: #25d366;
  color: #fff;
  border-color: #1ebe57;
}
.ros-btn.wa:hover { background: #1ebe57; color: #fff; }

.ros-wa-float {
  position: fixed;
  right: 14px;
  bottom: calc(72px + var(--ros-safe-bottom));
  z-index: 95;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 8px 20px rgba(37, 211, 102, .4);
  text-decoration: none;
}
.ros-wa-float:hover { background: #1ebe57; color: #fff; }
.ros-shell-pdp .ros-wa-float {
  bottom: calc(86px + var(--ros-safe-bottom));
}
@media (min-width: 900px) {
  .ros-wa-float,
  .ros-shell-pdp .ros-wa-float {
    bottom: 24px;
    right: 22px;
  }
}

/* Sticky mobile buy bar */
.ros-sticky-buy {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: #fff;
  border-top: 1px solid var(--ros-line);
  padding: 10px 12px calc(10px + var(--ros-safe-bottom));
  box-shadow: 0 -6px 20px rgba(15,17,17,.08);
  gap: 8px;
  align-items: center;
}
.ros-sticky-buy .ros-price { flex: 1; min-width: 0; }
.ros-sticky-buy .ros-price strong { font-size: 1.1rem; }
.ros-sticky-buy .ros-btn { flex: 1.2; }

.ros-panel {
  background: var(--ros-card);
  border: 1px solid var(--ros-line);
  border-radius: var(--ros-radius);
  padding: 16px;
}
.ros-empty { color: var(--ros-muted); grid-column: 1 / -1; padding: 20px 8px; }

/* ── Cart ── */
.ros-cart { display: grid; gap: 12px; }
.ros-cart-table, .ros-cart-side {
  background: var(--ros-card);
  border: 1px solid var(--ros-line);
  border-radius: var(--ros-radius);
  padding: 12px;
}
.ros-cart-table { display: flex; flex-direction: column; gap: 0; }
.ros-cart-row {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  align-items: start;
  border-bottom: 1px solid var(--ros-line);
  padding: 14px 36px 14px 0;
}
.ros-cart-row:last-of-type { border-bottom: 0; }
.ros-cart-x {
  position: absolute;
  top: 8px;
  right: 0;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #f0f2f2;
  color: #555;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.ros-cart-x:hover { background: #e3e6e6; color: #111; }
.ros-cart-prod { display: contents; }
.ros-cart-row > img,
.ros-cart-prod img {
  width: 72px; height: 72px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--ros-line);
  border-radius: 6px;
  background: #fff;
}
.ros-cart-meta { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ros-cart-meta strong {
  font-weight: 500; font-size: .95rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  padding-right: 8px;
}
.ros-cart-meta .ros-price strong { font-weight: 700; }
.ros-cart-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
}
.ros-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--ros-line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.ros-step-btn {
  width: 36px;
  height: 36px;
  border: 0;
  background: #f0f2f2;
  color: #111;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}
.ros-step-btn:hover { background: #e3e6e6; }
.ros-stepper input[type="number"] {
  width: 46px;
  height: 36px;
  border: 0;
  border-left: 1px solid var(--ros-line);
  border-right: 1px solid var(--ros-line);
  text-align: center;
  font: inherit;
  font-size: 15px;
  background: #fff;
  -moz-appearance: textfield;
}
.ros-stepper input[type="number"]::-webkit-outer-spin-button,
.ros-stepper input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.ros-cart-side { display: grid; gap: 8px; height: fit-content; }
.ros-cart-side h3 { margin: 0 0 4px; font-size: 1.05rem; }
.ros-cart-side p, .ros-check-sum p, .ros-order-items p {
  display: flex; justify-content: space-between; margin: 0; gap: 10px; font-size: .92rem;
}
.ros-cart-side .total, .ros-check-sum .total, .ros-order-items .total {
  font-size: 1.1rem; font-weight: 700;
  border-top: 1px solid var(--ros-line);
  padding-top: 8px; margin-top: 4px;
}

/* ── Minimum order progress ── */
.ros-min {
  display: grid;
  gap: 8px;
  margin: 4px 0 10px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #f0d9a8;
  background: linear-gradient(180deg, #fff9ef 0%, #fff 100%);
}
.ros-min.is-met {
  border-color: #b7e0c2;
  background: linear-gradient(180deg, #f1faf4 0%, #fff 100%);
}
.ros-min-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: .86rem;
  font-weight: 700;
  color: var(--ros-ink);
}
.ros-min-label i { color: #c45500; margin-right: 4px; }
.ros-min.is-met .ros-min-label i { color: var(--ros-ok, #067d62); }
.ros-min-pct {
  font-variant-numeric: tabular-nums;
  color: #c45500;
  background: #fff3e0;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: .78rem;
}
.ros-min.is-met .ros-min-pct {
  color: #067d62;
  background: #e7f6ee;
}
.ros-min-track {
  height: 10px;
  border-radius: 999px;
  background: #efe6d6;
  overflow: hidden;
}
.ros-min.is-met .ros-min-track { background: #d9eee2; }
.ros-min-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff9900, #ff6a00);
  transition: width .35s ease;
}
.ros-min.is-met .ros-min-fill {
  background: linear-gradient(90deg, #1f9d6a, #067d62);
}
.ros-min-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  font-size: .82rem;
  color: var(--ros-muted, #565959);
}
.ros-min-meta b { color: var(--ros-ink); }
.ros-min-ok { color: #067d62; font-weight: 700; }
.ros-min-msg {
  margin: 2px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #f3d5a0;
  color: #5a3b12;
  font-size: .86rem;
  line-height: 1.45;
  font-weight: 500;
}
.ros-min-msg-pulse {
  animation: rosMinPulse .9s ease;
}
@keyframes rosMinPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 153, 0, 0); }
  40% { box-shadow: 0 0 0 4px rgba(255, 153, 0, .35); }
}
.ros-min-hint {
  margin: 0 !important;
  display: block !important;
  font-size: .8rem !important;
  color: #8a5a12;
  font-weight: 600;
}
.ros-btn.is-min-blocked,
.ros-btn[aria-disabled="true"] {
  opacity: .72;
  cursor: not-allowed;
  filter: grayscale(.15);
}
.ros-check-form .ros-min { margin-bottom: 14px; }

/* ── Checkout ── */
.ros-checkout { display: grid; gap: 12px; }
.ros-check-form, .ros-check-sum {
  background: var(--ros-card);
  border: 1px solid var(--ros-line);
  border-radius: var(--ros-radius);
  padding: 14px;
}
.ros-fields { display: grid; grid-template-columns: 1fr; gap: 10px; }
.ros-fields label {
  display: flex; flex-direction: column; gap: 4px;
  font-size: .8rem; font-weight: 700; color: var(--ros-ink);
}
.ros-fields label.full { grid-column: 1 / -1; }
.ros-fields input, .ros-fields textarea, .ros-track-form input {
  border: 1px solid var(--ros-line);
  border-radius: 6px;
  padding: 11px 12px;
  font: inherit;
  font-size: 16px; /* prevent iOS zoom */
  background: #fff;
}
.ros-fields input:focus, .ros-fields textarea:focus, .ros-track-form input:focus,
.ros-qty input:focus, .ros-cart-actions input:focus {
  outline: 2px solid var(--ros-orange);
  border-color: var(--ros-orange);
}
.ros-pay {
  border: 1px solid var(--ros-line);
  border-radius: 8px;
  padding: 10px 12px;
  margin: 12px 0;
  display: grid; gap: 8px;
}
.ros-pay label { font-weight: 600; font-size: .9rem; display: flex; gap: 8px; align-items: center; }
.ros-ref-note { color: var(--ros-ok); font-size: .85rem; font-weight: 700; }
.ros-track-form { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.ros-track-form input { flex: 1; min-width: 160px; }

/* ── Footer + mobile nav ── */
.ros-foot {
  background: var(--ros-navy-2);
  color: #ddd;
  margin-top: 8px;
  padding-bottom: 0;
}
/* Cart / Order / list: footer ends at © — no extra dark under it */
@media (max-width: 899px) {
  .ros-shell:not(.ros-shell-pdp) .ros-foot {
    padding-bottom: 0;
  }
  .ros-shell:not(.ros-shell-pdp) .ros-copy {
    padding: 10px 14px;
  }
}
.ros-back-top {
  display: block;
  text-align: center;
  background: #37475a;
  color: #fff;
  text-decoration: none;
  padding: 12px;
  font-weight: 700;
  font-size: .9rem;
}
.ros-foot-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 16px;
  display: grid;
  gap: 16px;
}
.ros-foot-grid a {
  display: block;
  color: #ddd;
  text-decoration: none;
  font-size: .9rem;
  margin: 4px 0;
}
.ros-foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.ros-foot-brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: contain;
  background: #fff;
  flex-shrink: 0;
}
.ros-foot-grid strong { color: #fff; display: block; margin-bottom: 6px; }
.ros-foot-brand strong { margin-bottom: 0; }
.ros-foot-grid p { margin: 0; font-size: .88rem; opacity: .85; }
.ros-copy {
  text-align: center;
  margin: 0;
  padding: 12px 14px;
  border-top: 1px solid #3a4553;
  font-size: .8rem;
  opacity: .75;
}

.ros-mobile-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 55;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-top: 1px solid var(--ros-line);
  padding: 6px 0 calc(6px + var(--ros-safe-bottom));
  box-shadow: 0 -4px 16px rgba(15,17,17,.08);
}
.ros-mobile-nav a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--ros-muted);
  text-decoration: none;
  font-size: .68rem;
  font-weight: 700;
  padding: 4px;
}
.ros-mobile-nav a i { font-size: 1.1rem; }
.ros-mobile-nav a.on { color: var(--ros-navy); }
.ros-mobile-nav a em {
  top: 0; right: calc(50% - 18px);
}

.ros-hide-sm { display: none; }
.ros-hide-md { display: inline; }

@media (min-width: 640px) {
  .ros-home-hero {
    margin: -16px -16px 18px;
    min-height: 280px;
  }
  .ros-home-hero-copy { padding: 36px 28px; }
  .ros-trust { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .ros-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .ros-grid-more { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .ros-grid > .ros-card:only-child { max-width: 360px; }
  .ros-fields { grid-template-columns: 1fr 1fr; }
  .ros-hide-sm { display: block; }
  .ros-main { padding: 16px; }
  .ros-cart-row { grid-template-columns: 90px 1fr; align-items: center; }
  .ros-cart-row > img { width: 90px; height: 90px; }
}

@media (min-width: 900px) {
  .ros-shell, .ros-shell-pdp { padding-bottom: 0; }
  .ros-shell:not(.ros-shell-pdp) .ros-foot { padding-bottom: 0; }
  .ros-mobile-nav { display: none; }
  .ros-sticky-buy { display: none !important; }
  .ros-hide-md { display: none; }
  .ros-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .ros-grid-more { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
  .ros-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); overflow: visible; }
  /* Amazon-style desktop PDP only */
  .ros-shell-pdp .ros-main {
    max-width: 1480px;
    margin: 0 auto;
    background: #fff;
    padding: 14px 20px 28px;
  }
  .ros-shell-pdp .ros-crumbs {
    margin: 0 0 10px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #565959;
    font-size: .78rem;
  }
  .ros-shell-pdp .ros-crumbs a {
    color: #007185;
    font-weight: 500;
  }
  .ros-shell-pdp .ros-crumbs a:hover {
    color: #c7511f;
    text-decoration: underline;
  }
  .ros-pdp {
    grid-template-columns: minmax(260px, 380px) minmax(280px, 1fr) 300px;
    gap: 18px 24px;
    align-items: start;
    background: #fff;
  }
  .ros-pdp-gallery,
  .ros-pdp-info,
  .ros-buybox {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    min-width: 0;
  }
  .ros-pdp-gallery {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    max-width: 380px;
    width: 100%;
    overflow: hidden;
  }
  .ros-pdp-gallery:not(:has(.ros-thumbs)) {
    grid-template-columns: minmax(0, 1fr);
  }
  .ros-pdp-main {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1;
    height: auto;
    min-height: 0;
    max-height: 320px;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 2px;
    overflow: hidden;
  }
  .ros-pdp-gallery:not(:has(.ros-thumbs)) .ros-pdp-main {
    grid-column: 1;
  }
  .ros-pdp-main img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    background: #fff;
  }
  .ros-zoom-btn {
    max-width: 100%;
    overflow: hidden;
  }
  .ros-zoom-btn { background: #fff; cursor: zoom-in; }
  .ros-zoom-btn:hover img { transform: none; }
  .ros-pdp-disc {
    display: inline-flex;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    align-items: center;
    padding: 4px 8px;
    border-radius: 2px;
    background: #cc0c39;
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 0;
    box-shadow: none;
  }
  .ros-pdp-disc.soft { background: #067d62; box-shadow: none; }
  .ros-thumbs {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 0;
    max-height: 320px;
    overflow: auto;
  }
  .ros-thumb {
    width: 48px;
    height: 48px;
    border: 1px solid #a2a6a0;
    border-radius: 2px;
    flex: 0 0 auto;
  }
  .ros-thumb:hover,
  .ros-thumb:focus {
    border-color: #e77600;
    box-shadow: 0 0 0 2px rgba(228, 121, 17, .35);
    transform: none;
  }
  .ros-thumb img { object-fit: contain; background: #fff; }
  .ros-pdp-info {
    padding-right: 8px;
    border-right: 1px solid #e7e7e7;
  }
  .ros-pdp-cat {
    margin: 0 0 4px;
    color: #007185;
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
  }
  .ros-pdp-info h1 {
    margin: 0 0 6px;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0;
    color: #0f1111;
  }
  .ros-pdp-rating {
    margin: 0 0 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e7e7e7;
    color: #007185;
  }
  .ros-shell-pdp .ros-price.lg {
    margin-top: 8px;
    align-items: baseline;
  }
  .ros-shell-pdp .ros-price.lg strong {
    font-size: 1.75rem;
    font-weight: 400;
    color: #0f1111;
    letter-spacing: 0;
  }
  .ros-shell-pdp .ros-price.lg s {
    color: #565959;
    font-size: .95rem;
  }
  .ros-shell-pdp .ros-deal {
    color: #cc0c39;
    font-size: .85rem;
    margin: 4px 0 8px;
  }
  .ros-short {
    color: #0f1111;
    line-height: 1.5;
    font-size: .92rem;
    margin: 8px 0 12px;
  }
  .ros-trust-chips {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 14px;
    padding: 12px 0;
    border-top: 1px solid #e7e7e7;
    border-bottom: 1px solid #e7e7e7;
  }
  .ros-trust-chips span {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 6px;
    border-radius: 0;
    background: transparent;
    color: #0f1111;
    border: 0;
    font-size: .72rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.25;
  }
  .ros-trust-chips i {
    color: #007185;
    font-size: 1.15rem;
  }
  .ros-meta-list {
    margin: 10px 0 0;
    gap: 0;
  }
  .ros-meta-list li {
    grid-template-columns: 120px 1fr;
    border-bottom: 0;
    padding: 5px 0;
    font-size: .88rem;
  }
  .ros-meta-list span {
    color: #565959;
    font-weight: 400;
  }
  .ros-meta-list b {
    font-weight: 500;
    color: #0f1111;
  }
  .ros-buybox {
    position: sticky;
    top: 112px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    border: 1px solid #d5d9d9;
    border-radius: 8px;
    padding: 16px 18px 18px;
  }
  .ros-buybox-head {
    display: none;
  }
  .ros-buybox .ros-price.lg strong {
    font-size: 1.55rem;
    font-weight: 400;
    color: #0f1111;
  }
  .ros-buybox-stock {
    margin: 0;
    font-size: .95rem;
    font-weight: 500;
    color: #007600;
  }
  .ros-buy-row {
    gap: 10px;
    margin: 4px 0 0;
  }
  .ros-buybox .ros-qty {
    width: 100%;
    justify-content: flex-start;
    margin-bottom: 2px;
  }
  .ros-buybox .ros-stepper {
    border-radius: 8px;
    border-color: #888c8c;
    background: #f0f2f2;
  }
  .ros-buybox .ros-btn {
    border-radius: 20px;
    font-weight: 500;
    padding: 10px 12px;
    font-size: .9rem;
  }
  .ros-shell-pdp .ros-buybox .ros-btn.buy {
    background: linear-gradient(180deg, #f7ca00 0%, #f0b800 100%);
    border: 1px solid #fcd200;
    color: #0f1111;
    box-shadow: none;
  }
  .ros-shell-pdp .ros-buybox .ros-btn.buy:hover {
    background: linear-gradient(180deg, #f5d78e 0%, #eeb933 100%);
    color: #0f1111;
  }
  .ros-shell-pdp .ros-buybox .ros-btn.ghost {
    background: linear-gradient(180deg, #f7d998 0%, #f0c14b 100%);
    border: 1px solid #f0c14b;
    color: #0f1111;
  }
  .ros-shell-pdp .ros-buybox .ros-btn.soft {
    background: #fff;
    border: 1px solid #d5d9d9;
    color: #0f1111;
  }
  .ros-shell-pdp .ros-buybox .ros-btn.wa {
    border-radius: 20px;
  }
  .ros-buybox-trust {
    display: grid;
    list-style: none;
    margin: 4px 0 0;
    padding: 10px 0 0;
    border-top: 1px solid #e7e7e7;
    gap: 8px;
  }
  .ros-buybox-trust li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: .8rem;
    font-weight: 400;
    color: #0f1111;
    line-height: 1.35;
  }
  .ros-buybox-trust i {
    color: #007185;
    font-size: .85rem;
    margin-top: 2px;
  }
  .ros-shell-pdp .ros-pdp-tabs {
    margin: 22px 0 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #bbb;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    top: 96px;
    gap: 0;
  }
  .ros-shell-pdp .ros-pdp-tab {
    padding: 10px 16px 12px;
    font-size: .9rem;
    font-weight: 700;
    color: #565959;
    border-radius: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
  }
  .ros-shell-pdp .ros-pdp-tab.is-on,
  .ros-shell-pdp .ros-pdp-tab:hover {
    color: #0f1111;
    background: transparent;
    border-bottom-color: #e47911;
    box-shadow: none;
  }
  .ros-shell-pdp .ros-overview {
    gap: 14px;
    margin-top: 16px;
  }
  .ros-shell-pdp .ros-desc,
  .ros-shell-pdp .ros-desc-card,
  .ros-shell-pdp .ros-reviews {
    margin-top: 0;
    border: 1px solid #d5d9d9;
    border-radius: 8px;
    padding: 18px 20px;
    box-shadow: none;
    background: #fff;
  }
  .ros-shell-pdp .ros-desc h2,
  .ros-shell-pdp .ros-desc-card h2 {
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e7e7e7;
    color: #0f1111;
    font-size: 1.2rem;
    font-weight: 700;
  }
  .ros-shell-pdp .ros-rich {
    line-height: 1.6;
    font-size: .95rem;
    color: #0f1111;
  }
  .ros-shell-pdp .ros-recommended {
    margin-top: 20px !important;
  }
  .ros-cart { grid-template-columns: 1.5fr .7fr; }
  .ros-checkout { grid-template-columns: 1.25fr .75fr; align-items: start; }
  .ros-foot-grid { grid-template-columns: 1.4fr 1fr; }
  .ros-top-row { padding: 10px 16px; }
  .ros-brand-text strong { font-size: 1.2rem; }
}

@media (min-width: 1200px) {
  .ros-shell-pdp .ros-pdp {
    grid-template-columns: minmax(280px, 420px) minmax(340px, 1fr) 320px;
    gap: 22px 28px;
  }
  .ros-shell-pdp .ros-pdp-gallery {
    max-width: 420px;
  }
  .ros-shell-pdp .ros-pdp-main {
    max-width: 360px;
    max-height: 360px;
    min-height: 0;
  }
}

@media (max-width: 899px) {
  .ros-shell-pdp .ros-mobile-nav { display: none; }
  .ros-shell-pdp .ros-sticky-buy { display: flex; }
  .ros-cart-label { display: none; }
  .ros-brand-text small { display: none; }
}

/* --- Departments, variations, filters --- */
.ros-crumbs {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  font-size: .82rem; color: var(--ros-muted); margin: 0 0 12px;
}
.ros-crumbs a { color: var(--ros-navy); text-decoration: none; font-weight: 600; }
.ros-deptbar { gap: 0; align-items: stretch; }
.ros-dept-toggle {
  appearance: none; border: 0; background: transparent; flex: 0 0 auto;
  color: #fff; font: inherit; font-size: .84rem; font-weight: 800; cursor: pointer;
  padding: 10px 12px; white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.ros-dept-toggle:hover, .ros-dept-toggle[aria-expanded="true"] {
  border-bottom-color: var(--ros-orange);
}
/* ---- Shop by Department drawer / mega menu ---- */
html.ros-dept-lock, html.ros-dept-lock body { overflow: hidden; }
html.ros-dept-lock .ros-top { z-index: 1001; }
.ros-dept-panel[hidden], .ros-dept-backdrop[hidden], .ros-dept-pane[hidden] { display: none !important; }
.ros-dept-backdrop {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(15,17,17,.55); backdrop-filter: blur(2px);
  animation: rosDeptFade .2s ease;
}
.ros-dept-panel {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 1002;
  width: min(400px, 90vw);
  display: flex; flex-direction: column;
  background: #f4f6f8; color: var(--ros-ink);
  box-shadow: 12px 0 40px rgba(15,17,17,.3);
  animation: rosDeptIn .24s cubic-bezier(.2,.8,.2,1);
}
@keyframes rosDeptIn { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes rosDeptFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rosDeptPaneIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

.ros-dept-head {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(120deg, var(--ros-navy) 0%, var(--ros-navy-2) 100%);
  color: #fff; border-bottom: 3px solid var(--ros-orange);
}
.ros-dept-hello { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ros-dept-hello-ico {
  width: 40px; height: 40px; border-radius: 12px; flex: 0 0 auto;
  display: grid; place-items: center; font-size: 1.05rem;
  background: rgba(255,153,0,.16); color: var(--ros-orange);
}
.ros-dept-hello small { display: block; font-size: .72rem; color: #c7ced6; font-weight: 600; letter-spacing: .02em; }
.ros-dept-hello strong { display: block; font-size: 1.08rem; font-weight: 800; }
.ros-dept-close {
  appearance: none; border: 0; cursor: pointer; flex: 0 0 auto;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff; font-size: 1rem;
  transition: background .15s;
}
.ros-dept-close:hover { background: rgba(255,255,255,.22); }

.ros-dept-body {
  flex: 1 1 auto; min-height: 0; position: relative;
  overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
}
.ros-dept-nav { padding: 12px 12px 24px; }
.ros-dept-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.ros-dept-quick a {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  padding: 10px 6px; border-radius: 12px; background: #fff; border: 1px solid #e3e7eb;
  color: var(--ros-navy-2); text-decoration: none; font-size: .74rem; font-weight: 700;
  transition: border-color .15s, transform .15s;
}
.ros-dept-quick a i { font-size: 1.05rem; color: var(--ros-orange); }
.ros-dept-quick a:hover { border-color: var(--ros-orange); transform: translateY(-1px); }
.ros-dept-label {
  display: flex; align-items: center; justify-content: space-between;
  margin: 0 4px 8px; font-size: .74rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ros-muted);
}
.ros-dept-label span {
  background: #e3e7eb; color: var(--ros-navy-2); border-radius: 999px; padding: 1px 8px; letter-spacing: 0;
}
.ros-dept-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ros-dept-item {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 10px; border-radius: 12px; background: #fff; border: 1px solid transparent;
  color: var(--ros-ink); text-decoration: none;
  transition: background .15s, border-color .15s, box-shadow .15s;
}
.ros-dept-item:hover, .ros-dept-item:focus-visible { border-color: #e3e7eb; box-shadow: 0 2px 8px rgba(15,17,17,.06); outline: none; }
.ros-dept-ico {
  width: 38px; height: 38px; border-radius: 10px; flex: 0 0 auto;
  display: grid; place-items: center; font-size: .98rem;
  background: var(--d-bg, #eef1f3); color: var(--d-fg, var(--ros-navy-2));
}
.ros-dept-name { flex: 1; min-width: 0; font-weight: 700; font-size: .92rem; line-height: 1.25; }
.ros-dept-name small { display: block; font-weight: 500; font-size: .74rem; color: var(--ros-muted); margin-top: 1px; }
.ros-dept-arrow { color: #b6bec6; font-size: .78rem; transition: transform .15s, color .15s; }
.ros-dept-item:hover .ros-dept-arrow { color: var(--ros-navy-2); transform: translateX(2px); }
.ros-dept-item.on { background: var(--ros-navy-2); color: #fff; border-color: var(--ros-navy-2); }
.ros-dept-item.on .ros-dept-name small { color: #c7ced6; }
.ros-dept-item.on .ros-dept-arrow { color: var(--ros-orange); }

/* Mobile: panes slide over the list (drill-down) */
.ros-dept-panes { display: none; }
.ros-dept-body.is-drill .ros-dept-nav { display: none; }
.ros-dept-body.is-drill .ros-dept-panes { display: block; padding: 12px 12px 28px; animation: rosDeptPaneIn .2s ease; }
.ros-dept-back {
  appearance: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 12px; padding: 8px 12px; border-radius: 999px;
  background: #fff; border: 1px solid #e3e7eb; color: var(--ros-navy-2);
  font: inherit; font-size: .82rem; font-weight: 700;
}
.ros-dept-back:hover { border-color: var(--ros-navy-2); }

.ros-dept-pane-head {
  display: flex; align-items: center; gap: 14px;
  padding: 16px; border-radius: 16px; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--d-bg, #eef1f3) 0%, #fff 100%);
  border: 1px solid #e3e7eb;
}
.ros-dept-pane-ico {
  width: 54px; height: 54px; border-radius: 14px; flex: 0 0 auto; overflow: hidden;
  display: grid; place-items: center; font-size: 1.4rem;
  background: #fff; color: var(--d-fg, var(--ros-navy-2));
  box-shadow: 0 4px 12px rgba(15,17,17,.08);
}
.ros-dept-pane-ico img, .ros-dept-card-ico img { width: 100%; height: 100%; object-fit: cover; }
.ros-dept-pane-title { flex: 1; min-width: 0; }
.ros-dept-pane-title h3 { margin: 0; font-size: 1.1rem; font-weight: 800; color: var(--ros-ink); }
.ros-dept-pane-title p { margin: 3px 0 0; font-size: .8rem; color: var(--ros-muted); line-height: 1.4; }
.ros-dept-seeall {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--ros-yellow); color: var(--ros-ink);
  text-decoration: none; font-size: .8rem; font-weight: 800;
  transition: filter .15s;
}
.ros-dept-seeall:hover { filter: brightness(.95); }

.ros-dept-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ros-dept-card {
  background: #fff; border: 1px solid #e3e7eb; border-radius: 14px; padding: 12px;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.ros-dept-card:hover { border-color: var(--d-fg, var(--ros-orange)); box-shadow: 0 6px 16px rgba(15,17,17,.08); transform: translateY(-2px); }
.ros-dept-card-main {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  color: var(--ros-ink); text-decoration: none;
}
.ros-dept-card-ico {
  width: 40px; height: 40px; border-radius: 10px; overflow: hidden;
  display: grid; place-items: center; font-size: 1rem;
  background: var(--d-bg, #eef1f3); color: var(--d-fg, var(--ros-navy-2));
}
.ros-dept-card-name { font-weight: 700; font-size: .86rem; line-height: 1.3; }
.ros-dept-gkids { list-style: none; margin: 8px 0 0; padding: 8px 0 0; border-top: 1px dashed #e3e7eb; display: grid; gap: 3px; }
.ros-dept-gkids a { color: var(--ros-muted); text-decoration: none; font-size: .78rem; }
.ros-dept-gkids a:hover { color: var(--ros-link); text-decoration: underline; }
.ros-dept-gkids a.more { color: var(--d-fg, var(--ros-link)); font-weight: 700; }
.ros-dept-empty {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  padding: 34px 18px; border-radius: 16px; background: #fff; border: 2px dashed #dfe4e8;
  color: var(--ros-ink); text-decoration: none;
}
.ros-dept-empty > i { font-size: 2rem; color: var(--d-fg, var(--ros-navy-2)); }
.ros-dept-empty strong { font-size: 1rem; }
.ros-dept-empty span { font-size: .84rem; color: var(--ros-link); font-weight: 600; }
.ros-dept-empty:hover { border-color: var(--d-fg, var(--ros-orange)); }

@media (min-width: 900px) {
  .ros-dept-panel { width: min(1040px, 94vw); }
  .ros-dept-body { display: grid; grid-template-columns: 320px 1fr; overflow: hidden; }
  .ros-dept-nav { overflow-y: auto; border-right: 1px solid #e3e7eb; background: #f4f6f8; }
  .ros-dept-panes, .ros-dept-body.is-drill .ros-dept-panes {
    display: block; overflow-y: auto; padding: 20px 22px 32px; background: #fff; animation: none;
  }
  .ros-dept-body.is-drill .ros-dept-nav { display: block; }
  .ros-dept-pane { animation: rosDeptPaneIn .18s ease; }
  .ros-dept-back { display: none; }
  .ros-dept-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
}
.ros-dept-top { display: none; }
.ros-subcats {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px;
}
.ros-subcat {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border: 1px solid var(--ros-line); border-radius: 8px;
  text-decoration: none; color: var(--ros-navy); font-weight: 700; font-size: .86rem;
  background: #fff;
}
.ros-subcat:hover { border-color: var(--ros-orange); }
.ros-cat-desc { color: var(--ros-muted); margin: -4px 0 12px; font-size: .92rem; }

.ros-var-opts { margin: 12px 0; display: grid; gap: 12px; }
.ros-var-label { font-size: .9rem; margin-bottom: 6px; }
.ros-var-label b { font-weight: 800; }
.ros-var-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.ros-var-choice {
  appearance: none; border: 1.5px solid #c8d0d6; background: #fff;
  border-radius: 8px; padding: 8px 12px; font-weight: 700; cursor: pointer;
  color: var(--ros-navy); font-size: .88rem;
}
.ros-var-choice.is-on { border-color: var(--ros-navy); box-shadow: inset 0 0 0 1px var(--ros-navy); }
.ros-var-choice.is-off, .ros-var-choice:disabled {
  opacity: .38; cursor: not-allowed; text-decoration: line-through;
}
.ros-var-choice.is-swatch { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; }
.ros-swatch {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,.2); display: inline-block;
}
.ros-swatch.sm { width: 14px; height: 14px; }
.ros-var-status { margin: 0; font-size: .86rem; color: var(--ros-muted); }
.ros-stock-out { color: #b42318; font-weight: 700; }

.ros-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.ros-btn:disabled, .ros-btn[disabled] { opacity: .45; cursor: not-allowed; }

/* Sort & Price — button only by default; form opens on click */
.ros-filters {
  display: block !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  overflow: visible !important;
}
.ros-filter-toggle {
  appearance: none; width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 12px; border: 1px solid var(--ros-line); border-radius: 8px;
  background: #fff; color: var(--ros-navy);
  font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer;
}
.ros-filter-toggle i { color: var(--ros-muted); }
.ros-filter-toggle[aria-expanded="true"] {
  border-color: var(--ros-navy); background: #f7f9fb;
}
.ros-filter-drawer {
  margin-top: 8px; padding: 10px; border: 1px solid var(--ros-line);
  border-radius: 10px; background: #fff; display: grid; gap: 8px;
}
.ros-filter-drawer[hidden] { display: none !important; }
.ros-filter-group label {
  display: block; font-weight: 700; font-size: .78rem; margin-bottom: 4px; color: var(--ros-muted);
}
.ros-filter-group select,
.ros-filter-group input[type=number] {
  width: 100%; padding: 7px 9px; border: 1px solid var(--ros-line);
  border-radius: 8px; font: inherit; font-size: .9rem; background: #fff;
}
.ros-filter-price-row {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px; align-items: center;
}
.ros-filter-price-row span { color: var(--ros-muted); font-weight: 700; }
.ros-filter-actions { display: flex; gap: 6px; flex-wrap: wrap; }

@media (min-width: 900px) {
  .ros-dept-top { display: inline-flex; }
  .ros-filter-toggle { width: auto; min-width: 160px; }
}

/* ── Product reviews + recommended (trust UI) ── */
.ros-pdp-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  text-decoration: none;
  color: var(--ros-ink);
  font-size: .86rem;
  font-weight: 700;
}
.ros-pdp-rating span { color: var(--ros-muted); font-weight: 600; }
.ros-stars {
  display: inline-flex;
  gap: 2px;
  color: #f59e0b;
  font-size: .82rem;
  line-height: 1;
}
.ros-stars .far { color: #cbd5e1; }

.ros-pdp-tabs {
  display: flex;
  gap: 0;
  margin: 16px 0 0;
  border-bottom: 1px solid var(--ros-line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 40;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.ros-pdp-tab {
  flex: 0 0 auto;
  padding: 12px 14px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--ros-muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.ros-pdp-tab.is-on,
.ros-pdp-tab:hover {
  color: var(--ros-ink);
  border-bottom-color: var(--ros-ink);
}

.ros-verified-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #ecfdf5;
  color: #047857;
  font-size: .84rem;
  font-weight: 700;
  border: 1px solid #a7f3d0;
}
.ros-verified-banner i { color: #12b779; }

.ros-reviews {
  margin-top: 14px;
  background: #fff;
  border: 1px solid var(--ros-line);
  border-radius: 14px;
  padding: 14px;
}
.ros-reviews-avg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .9rem;
  font-weight: 800;
  color: var(--ros-ink);
}
.ros-reviews-empty {
  text-align: center;
  padding: 28px 12px;
  color: var(--ros-muted);
}
.ros-reviews-empty i {
  font-size: 1.6rem;
  margin-bottom: 8px;
  display: block;
  color: #94a3b8;
}
.ros-review-list { display: grid; gap: 0; }
.ros-review {
  padding: 14px 0;
  border-top: 1px solid var(--ros-line);
}
.ros-review:first-child { border-top: 0; padding-top: 4px; }
.ros-review-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.ros-review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #0f766e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 800;
  flex-shrink: 0;
}
.ros-review-who { flex: 1; min-width: 0; }
.ros-review-who strong {
  display: block;
  font-size: .9rem;
  color: var(--ros-ink);
}
.ros-review-who span {
  font-size: .75rem;
  color: var(--ros-muted);
}
.ros-review-verified {
  font-style: normal;
  font-size: .68rem;
  font-weight: 800;
  color: #047857;
  background: #ecfdf5;
  border-radius: 999px;
  padding: 4px 8px;
  white-space: nowrap;
}
.ros-review-buy {
  margin: 6px 0 0;
  font-size: .78rem;
  color: var(--ros-muted);
}
.ros-review-body {
  margin: 8px 0 0;
  font-size: .92rem;
  line-height: 1.55;
  color: var(--ros-ink);
  white-space: pre-wrap;
}
.ros-review-acts {
  margin-top: 10px;
  font-size: .78rem;
  color: var(--ros-muted);
  font-weight: 600;
}
.ros-recommended { margin-bottom: 20px; }

.ros-review-block {
  margin: 16px 0;
  padding: 14px;
  border: 1px solid var(--ros-line);
  border-radius: 14px;
  background: #fff;
}
.ros-review-block h2 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}
.ros-review-block-pdp {
  margin: 0 0 16px;
  background: #f8fafc;
}
.ros-review-wrap {
  margin-bottom: 12px;
}
.ros-review-wrap:last-child { margin-bottom: 0; }
.ros-review-toggle {
  width: 100%;
  justify-content: center;
}
.ros-review-panel {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--ros-line);
  border-radius: 12px;
  background: #fff;
}
.ros-review-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.ros-review-panel-head h3 {
  margin: 0;
  font-size: .95rem;
}
.ros-review-close {
  border: 0;
  background: #f1f5f9;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  color: #64748b;
}
.ros-review-form {
  margin: 0;
  padding: 0;
  border: 0;
}
.ros-review-form h3 {
  margin: 0 0 4px;
  font-size: .95rem;
}
.ros-review-form-sub {
  margin: 0 0 10px;
  font-size: .8rem;
  color: var(--ros-muted);
}
.ros-review-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}
.ros-review-form label,
.ros-review-form-body {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--ros-muted);
}
.ros-review-form input,
.ros-review-form select,
.ros-review-form textarea {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 9px 10px;
  border: 1px solid var(--ros-line);
  border-radius: 10px;
  font: inherit;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ros-ink);
  background: #fff;
  box-sizing: border-box;
}
.ros-review-form input[readonly] { background: #f1f5f9; color: #475569; }
.ros-review-form-body { margin-bottom: 10px; }
.ros-review-form .ros-btn { width: 100%; margin-top: 4px; }
.ros-review-hint {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: .84rem;
  line-height: 1.45;
}
.ros-review-hint.ok {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}
@media (max-width: 520px) {
  .ros-review-form-grid { grid-template-columns: 1fr; }
}

@media (min-width: 900px) {
  .ros-pdp-tabs { position: static; }
}

/* ── Modern Order Confirmation (compact receipt) ── */
.ros-ord {
  max-width: 560px;
  margin: 0 auto 14px;
}
.ros-ord-card {
  background: #fff;
  border: 1px solid #e6eaef;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 6px 24px rgba(15, 23, 42, .05);
  display: grid;
  gap: 12px;
}
.ros-ord-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #e2e8f0;
}
.ros-ord-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(16, 185, 129, .28);
}
.ros-ord-hero-txt { min-width: 0; flex: 1; }
.ros-ord-kicker {
  display: inline-block;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #059669;
  margin-bottom: 2px;
}
.ros-ord-no-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ros-ord-no {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
  word-break: break-all;
}
.ros-ord-copy {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  border-radius: 999px;
  padding: 3px 9px;
  font: inherit;
  font-size: .7rem;
  font-weight: 700;
  cursor: pointer;
}
.ros-ord-copy:hover { background: #f1f5f9; color: #0f172a; }
.ros-ord-copy.is-copied {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}
.ros-ord-date {
  margin: 3px 0 0;
  font-size: .74rem;
  color: #64748b;
}

.ros-ord-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ros-ord-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: .73rem;
  font-weight: 700;
}
.ros-ord-pill i { font-size: .66rem; color: #64748b; }
.ros-ord-pill.st-new,
.ros-ord-pill.st-confirmed,
.ros-ord-pill.st-processing {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}
.ros-ord-pill.st-new i,
.ros-ord-pill.st-confirmed i,
.ros-ord-pill.st-processing i { color: #2563eb; font-size: .5rem; }
.ros-ord-pill.st-shipped {
  background: #fef3c7;
  border-color: #fde68a;
  color: #b45309;
}
.ros-ord-pill.st-shipped i { color: #d97706; font-size: .5rem; }
.ros-ord-pill.st-delivered {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}
.ros-ord-pill.st-delivered i { color: #10b981; font-size: .5rem; }
.ros-ord-pill.st-cancelled,
.ros-ord-pill.st-returned {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}
.ros-ord-pill.st-cancelled i,
.ros-ord-pill.st-returned i { color: #dc2626; font-size: .5rem; }

.ros-ord-box {
  border: 1px solid #eef1f5;
  background: #fbfcfd;
  border-radius: 12px;
  padding: 11px 12px;
}
.ros-ord-box-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #64748b;
  margin-bottom: 8px;
}
.ros-ord-box-head i { color: #f59e0b; font-size: .76rem; }

.ros-ord-ship {
  display: grid;
  gap: 2px;
  font-size: .82rem;
  color: #334155;
}
.ros-ord-ship strong {
  font-size: .86rem;
  font-weight: 700;
  color: #0f172a;
}
.ros-ord-ship span {
  font-size: .78rem;
  color: #475569;
  font-variant-numeric: tabular-nums;
}
.ros-ord-ship p {
  margin: 2px 0 0;
  font-size: .79rem;
  line-height: 1.4;
  color: #64748b;
}

.ros-ord-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.ros-ord-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #eef1f5;
}
.ros-ord-item:first-child { padding-top: 2px; }
.ros-ord-item:last-child { border-bottom: 0; padding-bottom: 4px; }
.ros-ord-item-main {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.ros-ord-item-name {
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.35;
  color: #0f172a;
}
.ros-ord-item-var {
  font-size: .72rem;
  color: #64748b;
}
.ros-ord-item-sub {
  font-size: .72rem;
  color: #64748b;
  font-variant-numeric: tabular-nums;
}
.ros-ord-item-amt {
  font-size: .84rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.ros-ord-totals {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px dashed #dde3ea;
  display: grid;
  gap: 5px;
}
.ros-ord-trow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .79rem;
  color: #475569;
  font-variant-numeric: tabular-nums;
}
.ros-ord-free {
  color: #059669;
  font-weight: 700;
  font-size: .74rem;
}
.ros-ord-trow.is-grand {
  margin-top: 3px;
  padding-top: 7px;
  border-top: 1px solid #e2e8f0;
  font-size: .92rem;
  font-weight: 800;
  color: #0f172a;
}
.ros-ord-trow.is-grand b {
  font-size: 1rem;
  color: #0f172a;
  white-space: nowrap;
}

.ros-ord-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 10px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: .76rem;
  line-height: 1.4;
}
.ros-ord-note i { color: #f59e0b; margin-top: 2px; font-size: .78rem; }
.ros-ord-note.is-ok {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}
.ros-ord-note.is-ok i { color: #10b981; }

.ros-ord-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 2px;
}
.ros-ord-actions .ros-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  font-size: .82rem;
  font-weight: 700;
  border-radius: 10px;
  white-space: nowrap;
}
@media (max-width: 360px) {
  .ros-ord-actions { grid-template-columns: 1fr; }
}

/* ── My Orders & Tracking (/store/track) ── */
.ros-myord {
  max-width: 620px;
  margin: 0 auto 16px;
  display: grid;
  gap: 12px;
}
.ros-myord-head {
  background: #fff;
  border: 1px solid #e6eaef;
  border-radius: 14px;
  padding: 14px 16px;
}
.ros-myord-head h1 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 800;
  color: #0f172a;
}
.ros-myord-head p {
  margin: 4px 0 0;
  font-size: .79rem;
  color: #64748b;
  line-height: 1.4;
}

.ros-myord-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  background: #fff;
  border: 1px solid #e6eaef;
  border-radius: 14px;
  padding: 8px;
}
.ros-myord-inwrap {
  position: relative;
  display: flex;
  align-items: center;
}
.ros-myord-inwrap > i {
  position: absolute;
  left: 11px;
  color: #94a3b8;
  font-size: .84rem;
  pointer-events: none;
}
.ros-myord-inwrap input {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 32px 10px 33px;
  font: inherit;
  font-size: 15px;
  color: #0f172a;
  background: #f8fafc;
}
.ros-myord-inwrap input:focus {
  outline: 2px solid var(--ros-orange);
  border-color: var(--ros-orange);
  background: #fff;
}
.ros-myord-clear {
  position: absolute;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #475569;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
}
.ros-myord-search .ros-btn {
  padding: 10px 14px;
  font-size: .82rem;
  font-weight: 700;
  border-radius: 10px;
  white-space: nowrap;
}
@media (max-width: 420px) {
  .ros-myord-search { grid-template-columns: 1fr; }
}

.ros-myord-empty {
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 6px;
}
.ros-myord-empty > i {
  font-size: 1.6rem;
  color: #94a3b8;
  margin-bottom: 2px;
}
.ros-myord-empty.is-warn > i { color: #f59e0b; }
.ros-myord-empty strong { font-size: .92rem; color: #0f172a; }
.ros-myord-empty p {
  margin: 0 0 6px;
  font-size: .8rem;
  color: #64748b;
  max-width: 360px;
  line-height: 1.45;
}

.ros-myord-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 0 4px;
  font-size: .78rem;
  color: #64748b;
}
.ros-myord-bar b { color: #0f172a; }
.ros-myord-bar a {
  color: #c45500;
  font-weight: 700;
  text-decoration: none;
}

.ros-myord-list { display: grid; gap: 10px; }
.ros-mcard {
  background: #fff;
  border: 1px solid #e6eaef;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(15, 23, 42, .03);
}
.ros-mcard-sum {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
}
.ros-mcard-sum::-webkit-details-marker { display: none; }
.ros-mcard-left { min-width: 0; display: grid; gap: 4px; }
.ros-mcard-top {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.ros-mcard-no {
  font-size: .88rem;
  font-weight: 800;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}
.ros-mcard-sub {
  font-size: .73rem;
  color: #64748b;
}
.ros-mcard-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.ros-mcard-right b {
  font-size: .9rem;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.ros-mcard-chev {
  font-size: .72rem;
  color: #94a3b8;
  transition: transform .2s ease;
}
.ros-mcard[open] .ros-mcard-chev { transform: rotate(180deg); }
.ros-mcard-body {
  border-top: 1px solid #eef1f5;
  padding: 12px 14px 14px;
  background: #fbfcfd;
  display: grid;
  gap: 10px;
}

/* 4-step delivery tracker */
.ros-msteps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 10px 8px;
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: 10px;
}
.ros-mstep {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.ros-mstep:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 11px;
  left: calc(50% + 13px);
  right: calc(-50% + 13px);
  height: 2px;
  background: #e2e8f0;
}
.ros-mstep.is-done:not(:last-child)::after { background: #10b981; }
.ros-mstep-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  color: #64748b;
  font-size: .68rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.ros-mstep small {
  font-size: .68rem;
  font-weight: 700;
  color: #94a3b8;
}
.ros-mstep.is-done .ros-mstep-dot {
  background: #10b981;
  border-color: #10b981;
  color: #fff;
}
.ros-mstep.is-done small { color: #047857; }
.ros-mstep.is-now .ros-mstep-dot {
  background: #fff7ed;
  border-color: #f59e0b;
  color: #d97706;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, .18);
}
.ros-mstep.is-now small { color: #b45309; font-weight: 800; }

.ros-mstep-cancel {
  padding: 8px 10px;
  border-radius: 8px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: .78rem;
}
.ros-mtrack-code {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  font-size: .76rem;
  color: #1e40af;
}
.ros-mtrack-code code {
  font-weight: 800;
  color: #0f172a;
  background: #fff;
  padding: 2px 7px;
  border-radius: 6px;
}
.ros-mcard-items {
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: 10px;
  padding: 4px 10px !important;
}
.ros-mcard-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: .75rem;
  color: #64748b;
}
.ros-mcard-link {
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ros-mcard-link:hover { color: #c45500; }

/* ── Mobile: kill horizontal scroll only (vertical stays) ── */
@media (max-width: 768px) {
  html,
  body.public-body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    max-width: 100% !important;
    width: 100% !important;
    overscroll-behavior-x: none;
  }

  .ros-shell,
  .ros-main,
  .ros-top,
  .ros-foot,
  .ros-panel,
  .ros-grid,
  .ros-pdp,
  .ros-cart,
  .ros-checkout,
  .ros-order,
  .ros-track {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .ros-shell,
  .ros-main {
    overflow-x: hidden !important;
    overflow-y: visible !important;
    width: 100% !important;
  }

  img, video, iframe, svg, table {
    max-width: 100%;
  }
}

/* ── Store v3: product page cleanup, min-order note, cart upsell, sub-category counts ── */
.ros-pdp-stock { margin: 10px 0 0; font-size: .88rem; font-weight: 700; }
.ros-min-note { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0 12px; padding: 10px 12px; border-radius: 12px; background: #fffbeb; border: 1px solid #fde68a; color: #92400e; font-size: .82rem; line-height: 1.45; }
.ros-min-note i { margin-top: 3px; color: #d97706; }
.ros-min-note b { display: block; color: #78350f; }
@media (max-width: 899px) {
  /* Price + stock already shown right above on phones — don't repeat them in the buy box */
  .ros-buybox .ros-buybox-head,
  .ros-buybox > .ros-price,
  .ros-buybox > .ros-buybox-stock { display: none !important; }
}
.ros-subcat-n { margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: rgba(15, 23, 42, .08); font-size: .72rem; font-weight: 800; }

.ros-upsell { margin-top: 16px; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid #e5e7eb; }
.ros-upsell-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.ros-upsell-head h3 { margin: 0; font-size: 1rem; font-weight: 800; color: #0f172a; }
.ros-upsell-head h3 i { color: #16a34a; }
.ros-upsell-head span { font-size: .8rem; font-weight: 700; color: #b45309; white-space: nowrap; }
.ros-upsell-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x mandatory; }
.ros-upsell-card { flex: 0 0 150px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; }
.ros-upsell-img { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #f1f5f9; color: #cbd5e1; }
.ros-upsell-img img { width: 100%; height: 100%; object-fit: cover; }
.ros-upsell-img em { position: absolute; left: 6px; right: 6px; bottom: 6px; padding: 3px 6px; border-radius: 8px; background: rgba(22, 163, 74, .92); color: #fff; font-style: normal; font-size: .66rem; font-weight: 800; text-align: center; }
.ros-upsell-card strong { font-size: .8rem; line-height: 1.3; color: #0f172a; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.ros-upsell-price b { font-size: .9rem; color: #0f172a; }
.ros-upsell-price s { margin-left: 4px; font-size: .74rem; color: #94a3b8; }
.ros-upsell-add { width: 100%; height: 36px; border: 0; border-radius: 10px; background: #f59e0b; color: #111827; font: inherit; font-size: .84rem; font-weight: 800; cursor: pointer; }
.ros-upsell-add:hover { background: #d97706; }
@media (min-width: 900px) {
  .ros-upsell-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); overflow: visible; }
  .ros-upsell-card { flex: none; }
}
