/* Rahim Online Store — Style A ("fresh green"). Loaded after store.css; everything is scoped to .ros-shell.v3 */
.ros-shell.v3 {
  --ros-navy: #064e3b;
  --ros-navy-2: #0f9f68;
  --ros-orange: #12b779;
  --ros-orange-2: #12b779;
  --ros-yellow: #12b779;
  --ros-bg: #f3f5f7;
  --ros-ink: #0f172a;
  --ros-muted: #64748b;
  --ros-link: #0f9f68;
  --ros-line: #e8edf3;
  --ros-danger: #dc2626;
  --ros-ok: #15803d;
  --ros-radius: 18px;
  --v3-g: #12b779;
  --v3-gd: #0f9f68;
  --v3-gk: #064e3b;
  --v3-gb: #ecfdf5;
  background: #f3f5f7;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}
body.public-body { background: #f3f5f7 !important; }
.ros-shell.v3 a { -webkit-tap-highlight-color: transparent; }

/* ── Header ── */
.ros-shell.v3 .ros-top {
  background: linear-gradient(140deg, #064e3b 0%, #0f9f68 70%, #12b779 100%);
  border-radius: 0 0 24px 24px;
  box-shadow: 0 10px 30px -18px rgba(6, 78, 59, .7);
}
.ros-shell.v3 .ros-top-row {
  grid-template-columns: 1fr auto;
  grid-template-areas: "brand actions" "search search";
  gap: 12px;
  padding: 12px 14px 6px;
}
.ros-shell.v3 .ros-brand { grid-area: brand; }
.ros-shell.v3 .ros-top-actions { grid-area: actions; }
.ros-shell.v3 .ros-search { grid-area: search; }
.ros-shell.v3 .ros-brand-mark { width: 38px; height: 38px; border-radius: 12px; box-shadow: none; }
.ros-shell.v3 .ros-brand-text strong { font-size: 1.12rem; }
.ros-shell.v3 .ros-brand-text small { font-size: .62rem; opacity: .8; letter-spacing: .08em; }
.ros-shell.v3 .ros-cart-btn {
  width: 44px; height: 44px; padding: 0; border: 0;
  border-radius: 14px; background: rgba(255, 255, 255, .16);
  align-items: center; justify-content: center;
}
.ros-shell.v3 .ros-cart-label { display: none; }
.ros-shell.v3 .ros-cart-ico { font-size: 1.15rem; }
.ros-shell.v3 .ros-cart-badge, .ros-shell.v3 .ros-mobile-nav a em {
  background: #f59e0b; color: #111; border: 2px solid #0f9f68;
}
.ros-shell.v3 .ros-mobile-nav a em { border-color: #fff; }
.ros-shell.v3 .ros-search {
  align-items: center;
  height: 48px;
  border-radius: 16px;
  border: 0;
  padding: 0 6px 0 14px;
  gap: 8px;
}
.ros-shell.v3 .ros-search-ic { color: #94a3b8; font-size: .95rem; }
.ros-shell.v3 .ros-search input { padding: 0; font-size: 15px; color: #0f172a; background: transparent; }
.ros-shell.v3 .ros-search button {
  width: 36px; height: 36px; padding: 0;
  border-radius: 11px; background: var(--v3-gb); color: var(--v3-gd);
}
.ros-shell.v3 .ros-search:focus-within { box-shadow: 0 0 0 3px rgba(255, 255, 255, .45); }

.ros-shell.v3 .ros-top-trust { display: flex; gap: 6px; padding: 4px 14px 10px; max-width: 1400px; margin: 0 auto; }
.ros-shell.v3 .ros-top-trust span {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 4px; border-radius: 11px; background: rgba(255, 255, 255, .14);
  color: #fff; font-size: .72rem; font-weight: 700; white-space: nowrap;
}

.ros-shell.v3 .ros-catbar { background: transparent; padding: 2px 10px 12px; gap: 6px; }
.ros-shell.v3 .ros-catbar a,
.ros-shell.v3 .ros-dept-toggle {
  border: 0; border-radius: 999px;
  padding: 7px 13px; font-size: .78rem; font-weight: 700;
  background: rgba(255, 255, 255, .14); color: #fff;
}
.ros-shell.v3 .ros-catbar a.on, .ros-shell.v3 .ros-catbar a:hover { background: #fff; color: var(--v3-gk); border: 0; }
.ros-shell.v3 .ros-dept-toggle { background: #fff; color: var(--v3-gk); flex-shrink: 0; }
.ros-shell.v3.ros-pg-home .ros-catbar { display: none; }

.ros-shell.v3 .ros-main { padding: 14px 12px 28px; }
.ros-shell.v3 .ros-flash { border-radius: 14px; margin: 10px 12px 0; }
.ros-shell.v3 .ros-flash.ok { background: var(--v3-gb); color: var(--v3-gk); }

/* ── Sections ── */
.ros-shell.v3 .ros-section { margin-bottom: 20px; }
.ros-shell.v3 .ros-section-head h2 { font-size: 1.08rem; font-weight: 800; color: #0f172a; }
.ros-shell.v3 .ros-section-head a, .ros-shell.v3 .ros-section-head span { color: var(--v3-gd); font-weight: 700; font-size: .82rem; }
.ros-shell.v3 .ros-crumbs { font-size: .8rem; }
.ros-shell.v3 .ros-crumbs a { color: var(--v3-gd); }

/* ── Buttons ── */
.ros-shell.v3 .ros-btn {
  background: #fff; border: 1.5px solid var(--ros-line);
  color: #0f172a !important; border-radius: 14px; box-shadow: none;
  font-weight: 800; padding: 12px 16px;
}
.ros-shell.v3 .ros-btn.buy, .ros-shell.v3 .ros-btn.primary { background: var(--v3-g); border-color: var(--v3-g); color: #fff !important; }
.ros-shell.v3 .ros-btn.buy:hover { background: var(--v3-gd); }
.ros-shell.v3 .ros-btn.ghost { background: #fff; border-color: var(--v3-g); color: var(--v3-gd) !important; }
.ros-shell.v3 .ros-btn.soft { background: #f8fafc; border-color: var(--ros-line); color: var(--v3-gd) !important; }
.ros-shell.v3 .ros-btn.wa { background: #25d366; border-color: #25d366; color: #fff !important; }
.ros-shell.v3 .ros-btn.sm { border-radius: 12px; padding: 9px 10px; }

/* ── Home: banner slider ── */
.ros-v3-banner { margin: 2px 0 18px; }
.ros-v3-slides {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  border-radius: 22px; scrollbar-width: none; background: #0b1220;
}
.ros-v3-slides::-webkit-scrollbar { display: none; }
.ros-v3-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; height: 180px; color: #fff; text-decoration: none; }
.ros-v3-slide img { width: 100%; height: 100%; object-fit: cover; opacity: .62; display: block; }
.ros-v3-slide-txt { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; flex-direction: column; gap: 5px; }
.ros-v3-slide-txt small { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: #f59e0b; color: #111; font-weight: 800; font-size: .7rem; }
.ros-v3-slide-txt strong { font-size: 1.15rem; font-weight: 800; line-height: 1.2; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; unicode-bidi: plaintext; }
.ros-v3-slide-txt em { font-style: normal; font-weight: 800; font-size: .85rem; }
.ros-v3-dots { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.ros-v3-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 4px; background: #cbd5e1; cursor: pointer; transition: width .2s; }
.ros-v3-dots button.on { width: 20px; background: var(--v3-g); }

/* ── Home: categories ── */
.ros-v3-cats { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.ros-v3-cats::-webkit-scrollbar { display: none; }
.ros-v3-cat { flex: 0 0 72px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: .72rem; font-weight: 700; color: #334155; text-decoration: none; line-height: 1.2; }
.ros-v3-cat span { width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center; font-size: 1.3rem; background: var(--c-bg, #ecfdf5); color: var(--c-fg, #0f9f68); transition: transform .15s; }
.ros-v3-cat:active span { transform: scale(.94); }

/* ── Home: deal + track boxes ── */
.ros-v3-deal, .ros-v3-track {
  display: flex; align-items: center; gap: 12px; margin: 0 0 20px; padding: 12px 14px;
  border-radius: 18px; text-decoration: none;
}
.ros-v3-deal { background: #fff7ed; border: 1px solid #fed7aa; }
.ros-v3-deal > i { width: 42px; height: 42px; flex-shrink: 0; border-radius: 13px; background: #ffedd5; color: #c2410c; display: grid; place-items: center; }
.ros-v3-deal span, .ros-v3-track span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ros-v3-deal b { font-size: .86rem; color: #9a3412; }
.ros-v3-deal small { font-size: .74rem; color: #c2410c; }
.ros-v3-deal em { font-style: normal; font-weight: 800; font-size: .78rem; color: #9a3412; background: #fff; padding: 6px 11px; border-radius: 10px; }
.ros-v3-track { background: #fff; border: 1px solid var(--ros-line); }
.ros-v3-track > i:first-child { width: 42px; height: 42px; flex-shrink: 0; border-radius: 13px; background: var(--v3-gb); color: var(--v3-gd); display: grid; place-items: center; }
.ros-v3-track b { font-size: .88rem; color: #0f172a; }
.ros-v3-track small { font-size: .76rem; color: #64748b; }
.ros-v3-track > i:last-child { color: #94a3b8; font-size: .8rem; }

/* ── Product cards ── */
.ros-shell.v3 .ros-grid { gap: 10px; }
.ros-shell.v3 .ros-card { border-radius: 18px; border-color: var(--ros-line); transition: transform .15s, box-shadow .15s; }
.ros-shell.v3 .ros-card:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -18px rgba(15, 23, 42, .35); }
.ros-shell.v3 .ros-card-media { background: #f1f5f9; }
.ros-shell.v3 .ros-badge { border-radius: 999px; padding: 3px 8px; background: #ef4444; font-size: .66rem; }
.ros-shell.v3 .ros-card-body { padding: 10px; gap: 4px; }
.ros-shell.v3 .ros-card-cat { font-size: .62rem; color: #94a3b8; }
.ros-shell.v3 .ros-card-body h3 { font-size: .84rem; font-weight: 700; }
.ros-shell.v3 .ros-card-body h3 a { color: #0f172a; }
.ros-shell.v3 .ros-price strong { font-weight: 800; color: #0f172a; }
.ros-shell.v3 .ros-price s { color: #94a3b8; }
.ros-shell.v3 .ros-prime { font-size: .68rem; color: var(--ros-ok); }
.ros-shell.v3 .ros-card-actions { margin-top: 6px; }
.ros-shell.v3 .ros-add { height: 38px; padding: 0; font-size: .84rem; gap: 6px; }
.ros-shell.v3 .ros-card-compact .ros-card-body h3 { font-size: .76rem; }

/* listing toolbar / filters */
.ros-shell.v3 .ros-filter-btn, .ros-shell.v3 .ros-sortbar button, .ros-shell.v3 .ros-filters-toggle { border-radius: 14px !important; }
.ros-shell.v3 .ros-subcat { border-radius: 999px; background: #fff; border: 1px solid var(--ros-line); color: #334155; font-weight: 700; }

/* ── Product page ── */
.ros-shell.v3 .ros-pdp-gallery, .ros-shell.v3 .ros-pdp-info, .ros-shell.v3 .ros-buybox { border-radius: 22px; border-color: var(--ros-line); padding: 14px; }
.ros-shell.v3 .ros-pdp-main { border-radius: 16px; }
.ros-shell.v3 .ros-thumb { border-radius: 12px; }
.ros-shell.v3 .ros-thumb:hover, .ros-shell.v3 .ros-thumb:focus { border-color: var(--v3-g); }
.ros-shell.v3 .ros-pdp-cat { color: var(--v3-gd); text-transform: uppercase; letter-spacing: .05em; font-size: .7rem; font-weight: 800; }
.ros-shell.v3 .ros-pdp-info h1 { font-weight: 800; font-size: clamp(1.15rem, 4.6vw, 1.55rem); color: #0f172a; }
.ros-shell.v3 .ros-price.lg strong { font-size: 1.8rem; font-weight: 800; }
.ros-shell.v3 .ros-price.lg .ros-badge { background: #fee2e2; color: #b91c1c; border-radius: 8px; }
.ros-shell.v3 .ros-deal { color: #b91c1c; }
.ros-shell.v3 .ros-trust-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 14px 0 4px; }
.ros-shell.v3 .ros-trust-chips span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 14px; background: var(--v3-gb); color: var(--v3-gk); font-size: .7rem; font-weight: 700; text-align: center; }
.ros-shell.v3 .ros-trust-chips i { color: var(--v3-gd); font-size: 1rem; }
.ros-shell.v3 .ros-stepper { border-radius: 12px; border-color: #e2e8f0; }
.ros-shell.v3 .ros-step-btn { background: #fff; color: var(--v3-gd); font-weight: 800; }
.ros-shell.v3 .ros-pdp-tabs { border-radius: 16px; }
.ros-shell.v3 .ros-desc-card, .ros-shell.v3 .ros-reviews, .ros-shell.v3 .ros-review-block { border-radius: 20px; }
.ros-shell.v3 .ros-min-note { border-radius: 14px; }

/* sticky buy bar (phones) */
.ros-shell.v3 .ros-v3-buybar { gap: 8px; padding: 10px 12px calc(12px + var(--ros-safe-bottom)); border-top: 1px solid var(--ros-line); box-shadow: 0 -10px 24px -14px rgba(15, 23, 42, .25); }
.ros-v3-buybar > * { height: 50px; border-radius: 15px; display: flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 800; font-size: .92rem; cursor: pointer; text-decoration: none; }
.ros-v3-bb-wa { flex: 0 0 52px; background: #dcfce7; color: #15803d; font-size: 1.4rem; border: 0; }
.ros-v3-bb-cart { flex: 1; background: #fff; border: 1.5px solid var(--v3-g); color: var(--v3-gd); }
.ros-v3-bb-buy { flex: 1.25; background: var(--v3-g); border: 0; color: #fff; }
.ros-v3-bb-buy:disabled, .ros-v3-bb-cart:disabled { opacity: .5; }
@media (max-width: 899px) {
  .ros-shell.v3.ros-shell-pdp .ros-wa-float { display: none; }
}

/* ── Cart ── */
.ros-v3-prog { margin: 0 0 12px; padding: 14px 16px; border-radius: 20px; color: #fff; background: linear-gradient(140deg, #064e3b, #0f9f68); }
.ros-v3-prog b { font-size: .95rem; }
.ros-v3-prog p { margin: 3px 0 10px; font-size: .78rem; opacity: .85; }
.ros-v3-prog-bar { height: 9px; border-radius: 5px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.ros-v3-prog-bar span { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #a7f3d0, #fff); }
.ros-v3-prog-row { display: flex; justify-content: space-between; margin-top: 6px; font-size: .72rem; opacity: .9; }
.ros-v3-prog.is-met { padding: 12px 16px; }
.ros-shell.v3 .ros-cart-table, .ros-shell.v3 .ros-cart-side { border-radius: 20px; border-color: var(--ros-line); }
.ros-shell.v3 .ros-cart-row > img { border-radius: 14px; border: 0; }
.ros-shell.v3 .ros-cart-meta strong { font-weight: 700; font-size: .9rem; }
.ros-shell.v3 .ros-cart-x { background: #f1f5f9; color: #64748b; }
.ros-shell.v3 .ros-cart-side .total { border-top: 1px dashed #e2e8f0; font-weight: 800; }
.ros-shell.v3 .ros-free { color: var(--ros-ok); }
.ros-shell.v3 .ros-upsell { border-radius: 20px; border-color: var(--ros-line); }
.ros-shell.v3 .ros-upsell-add { background: var(--v3-gb); color: var(--v3-gd); }
.ros-shell.v3 .ros-upsell-add:hover { background: #d1fae5; }
.ros-shell.v3 .ros-upsell-img em { background: rgba(6, 78, 59, .9); }

/* ── Checkout ── */
.ros-shell.v3 .ros-check-form, .ros-shell.v3 .ros-check-sum, .ros-shell.v3 .ros-panel { border-radius: 20px; border-color: var(--ros-line); }
.ros-shell.v3 .ros-check-form h2 { font-weight: 800; }
.ros-shell.v3 .ros-fields input, .ros-shell.v3 .ros-fields textarea, .ros-shell.v3 .ros-track-form input { border-radius: 12px; border-color: #e2e8f0; background: #f8fafc; }
.ros-shell.v3 .ros-fields input:focus, .ros-shell.v3 .ros-fields textarea:focus { outline: 0; border-color: var(--v3-g); background: #fff; box-shadow: 0 0 0 3px var(--v3-gb); }
.ros-shell.v3 .ros-fields label.ros-v3-same { flex-direction: row; align-items: center; gap: 8px; font-weight: 600; color: #475569; }
.ros-shell.v3 .ros-fields label.ros-v3-same input { width: 18px; height: 18px; accent-color: var(--v3-g); }
.ros-shell.v3 .ros-fields label[hidden] { display: none; }
.ros-shell.v3 .ros-pay { border-radius: 14px; border-color: var(--ros-line); }
.ros-shell.v3 .ros-pay input { accent-color: var(--v3-g); }
.ros-shell.v3 .ros-min { border-radius: 14px; }

/* ── Track / orders ── */
.ros-shell.v3 .ros-myord-head, .ros-shell.v3 .ros-myord-search, .ros-shell.v3 .ros-mcard, .ros-shell.v3 .ros-myord-empty { border-radius: 20px; }
.ros-shell.v3 .ros-myord-inwrap { border-radius: 14px; }

/* ── Footer + bottom nav ── */
.ros-shell.v3 .ros-foot { background: #064e3b; }
.ros-shell.v3 .ros-back-top { background: #0f9f68; }
.ros-shell.v3 .ros-copy { border-top-color: rgba(255, 255, 255, .12); }
.ros-shell.v3 .ros-mobile-nav { border-top-color: var(--ros-line); box-shadow: 0 -10px 24px -16px rgba(15, 23, 42, .3); }
.ros-shell.v3 .ros-mobile-nav a.on { color: var(--v3-gd); }
.ros-shell.v3 .ros-wa-float { box-shadow: 0 10px 22px -8px rgba(37, 211, 102, .7); }

/* ── Tablet / PC ── */
@media (min-width: 640px) {
  .ros-v3-slide { height: 240px; }
  .ros-v3-slide-txt strong { font-size: 1.5rem; }
}
@media (min-width: 900px) {
  .ros-shell.v3 .ros-top { border-radius: 0; }
  .ros-shell.v3 .ros-top-row {
    grid-template-columns: auto minmax(0, 640px) 1fr;
    grid-template-areas: "brand search actions";
    padding: 14px 24px 10px;
  }
  .ros-shell.v3 .ros-top-actions { justify-content: flex-end; }
  .ros-shell.v3 .ros-top-trust { justify-content: center; }
  .ros-shell.v3 .ros-top-trust span { flex: 0 0 auto; padding: 7px 16px; }
  .ros-shell.v3.ros-pg-home .ros-catbar { display: flex; }
  .ros-shell.v3 .ros-catbar { padding: 0 24px 12px; }
  .ros-shell.v3 .ros-main { padding: 20px 24px 36px; }
  .ros-v3-slide { height: 320px; }
  .ros-v3-slide-txt { left: 32px; bottom: 28px; max-width: 560px; }
  .ros-v3-slide-txt strong { font-size: 2rem; }
  .ros-v3-cats { flex-wrap: wrap; gap: 16px; }
  .ros-v3-cat { flex-basis: 88px; font-size: .8rem; }
  .ros-v3-cat span { width: 72px; height: 72px; }
  .ros-shell.v3 .ros-grid { gap: 14px; }
}

/* ── Sticky header that stays on top (overflow:clip keeps sticky working, hidden broke it) ── */
html:has(.ros-shell.v3),
html:has(.ros-shell.v3) body.public-body {
  overflow-x: hidden !important;
  overflow-x: clip !important;
  overflow-y: visible !important;
}
.ros-shell.v3,
.ros-shell.v3 .ros-main {
  overflow-x: hidden !important;
  overflow-x: clip !important;
  overflow-y: visible !important;
}
.ros-shell.v3 .ros-top {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 60;
  transition: border-radius .2s ease, box-shadow .2s ease;
}
/* Logo: mark + "Rahim / ONLINE STORE" always, like before */
.ros-shell.v3 .ros-brand { gap: 10px; }
.ros-shell.v3 .ros-brand-mark { width: 42px; height: 42px; border-radius: 13px; background: #fff; padding: 3px; }
.ros-shell.v3 .ros-brand-text small { display: block !important; font-size: .6rem; opacity: .85; letter-spacing: .12em; margin-top: 2px; }
.ros-shell.v3 .ros-brand-text strong { font-size: 1.2rem; letter-spacing: -.02em; }
/* Compact once the page is scrolled: keep logo + search + cart, drop the extra rows */
.ros-shell.v3.ros-scrolled .ros-top { border-radius: 0 0 18px 18px; box-shadow: 0 8px 24px -12px rgba(6, 78, 59, .55); }
.ros-shell.v3.ros-scrolled .ros-top-trust,
.ros-shell.v3.ros-scrolled .ros-catbar { display: none !important; }
.ros-shell.v3.ros-scrolled .ros-top-row { padding-bottom: 10px; }
@media (max-width: 899px) {
  .ros-shell.v3.ros-scrolled .ros-top-row { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand search actions"; gap: 8px; padding-top: 8px; padding-bottom: 8px; }
  .ros-shell.v3.ros-scrolled .ros-brand-text { display: none; }
  .ros-shell.v3.ros-scrolled .ros-brand-mark { width: 40px; height: 40px; }
  .ros-shell.v3.ros-scrolled .ros-search { height: 42px; border-radius: 13px; }
  .ros-shell.v3.ros-scrolled .ros-cart-btn { width: 42px; height: 42px; }
}

/* ═══ Header v4: same look as the partner portal top bar (white, thin line, green/gold wordmark) ═══ */
.ros-shell.v3 .ros-top {
  background: #ffffff;
  color: #0f172a;
  border-radius: 0 !important;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: none;
}
.ros-shell.v3.ros-scrolled .ros-top { box-shadow: 0 6px 18px -12px rgba(15, 23, 42, .25); }
.ros-shell.v3 .ros-top-row { padding: 10px 14px; gap: 10px; }
.ros-shell.v3 .ros-brand { color: #0f172a; gap: 8px; }
.ros-shell.v3 .ros-brand-mark { width: 40px; height: 40px; border-radius: 0; padding: 0; background: transparent; box-shadow: none; }
.ros-shell.v3 .ros-brand-mark img { background: transparent; object-fit: contain; }
.ros-shell.v3 .ros-brand-text strong {
  font-size: 1.28rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase;
  color: #0b5d3b; line-height: 1;
}
.ros-shell.v3 .ros-brand-text small {
  display: block !important; margin-top: 3px; opacity: 1;
  font-size: .62rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: #a8894f;
}
.ros-shell.v3 .ros-top-actions { gap: 8px; }
.ros-shell.v3 .ros-top-ic,
.ros-shell.v3 .ros-cart-btn {
  width: 40px; height: 40px; padding: 0;
  display: grid; place-items: center;
  border-radius: 12px; border: 1px solid #e2e8f0; background: #f8fafc;
  color: #334155; font-size: 1rem; text-decoration: none;
}
.ros-shell.v3 .ros-top-ic:hover, .ros-shell.v3 .ros-cart-btn:hover { background: #f1f5f9; border-color: #e2e8f0; }
.ros-shell.v3 .ros-cart-ico { font-size: 1rem; color: #334155; }
.ros-shell.v3 .ros-cart-badge { border-color: #fff; background: #12b779; color: #fff; top: -12px; right: -14px; }
.ros-shell.v3 .ros-search {
  height: 44px; border-radius: 12px;
  background: #f1f5f9; border: 1px solid #e2e8f0;
}
.ros-shell.v3 .ros-search input { background: transparent; }
.ros-shell.v3 .ros-search button { background: #12b779; color: #fff; width: 34px; height: 34px; border-radius: 10px; }
.ros-shell.v3 .ros-search:focus-within { background: #fff; border-color: #12b779; box-shadow: 0 0 0 3px #ecfdf5; }
.ros-shell.v3 .ros-top-trust { display: none !important; }
.ros-shell.v3 .ros-catbar { padding: 0 12px 10px; }
.ros-shell.v3 .ros-catbar a { background: #f1f5f9; color: #334155; }
.ros-shell.v3 .ros-catbar a.on, .ros-shell.v3 .ros-catbar a:hover { background: #ecfdf5; color: #0f9f68; }
.ros-shell.v3 .ros-dept-toggle { background: #12b779; color: #fff; }

/* trust chips now live on the home page, under the banner */
.ros-v3-trust { display: flex; gap: 6px; margin: -6px 0 18px; overflow-x: auto; scrollbar-width: none; }
.ros-v3-trust::-webkit-scrollbar { display: none; }
.ros-v3-trust span { flex: 1 0 auto; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 12px; border-radius: 12px; background: #ecfdf5; color: #065f46; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.ros-v3-trust i { color: #0f9f68; }

@media (max-width: 899px) {
  .ros-shell.v3.ros-scrolled .ros-top-row { padding-top: 8px; padding-bottom: 8px; }
  .ros-shell.v3.ros-scrolled .ros-top-ic { display: none; }
  .ros-shell.v3.ros-scrolled .ros-brand-mark { width: 36px; height: 36px; }
  .ros-shell.v3.ros-scrolled .ros-search { height: 40px; }
}
@media (min-width: 900px) {
  .ros-shell.v3 .ros-top-row { padding: 12px 24px; height: 68px; }
  .ros-shell.v3 .ros-catbar { padding: 0 24px 10px; }
  .ros-v3-trust span { flex: 0 0 auto; }
}

/* ═══ Header v5: no search in the header (logo + track + cart only); search lives on the Shop page ═══ */
.ros-shell.v3 .ros-top-row,
.ros-shell.v3.ros-scrolled .ros-top-row {
  grid-template-columns: 1fr auto !important;
  grid-template-areas: "brand actions" !important;
}
.ros-shell.v3.ros-scrolled .ros-brand-text { display: flex !important; }
.ros-shell.v3.ros-scrolled .ros-top-ic { display: grid !important; }
.ros-shell.v3.ros-scrolled .ros-brand-mark { width: 40px; height: 40px; }
@media (min-width: 900px) {
  .ros-shell.v3 .ros-top-row { max-width: 1400px; }
}
.ros-v3-search {
  display: flex; align-items: center; gap: 8px;
  height: 48px; margin: 0 0 14px; padding: 0 6px 0 14px;
  border-radius: 14px; background: #fff; border: 1px solid #e2e8f0; color: #94a3b8;
}
.ros-v3-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; color: #0f172a; }
.ros-v3-search a { color: #94a3b8; font-size: 1.4rem; line-height: 1; text-decoration: none; padding: 0 4px; }
.ros-v3-search button { width: 36px; height: 36px; flex-shrink: 0; border: 0; border-radius: 10px; background: #12b779; color: #fff; cursor: pointer; }
.ros-v3-search:focus-within { border-color: #12b779; box-shadow: 0 0 0 3px #ecfdf5; }

/* Thank-you message on the order page */
.ros-thanks { margin: 0 auto 14px; max-width: 720px; padding: 20px 18px; border-radius: 22px; text-align: center; color: #fff; background: linear-gradient(140deg, #064e3b, #0f9f68 70%, #12b779); box-shadow: 0 18px 40px -22px rgba(6, 78, 59, .7); }
.ros-thanks.is-new { animation: rosThanksIn .5s ease; }
@keyframes rosThanksIn { from { transform: translateY(10px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.ros-thanks-ic { display: block; font-size: 2.4rem; line-height: 1; margin-bottom: 8px; }
.ros-thanks h2 { margin: 0 0 6px; font-size: 1.35rem; font-weight: 800; color: #fff; }
.ros-thanks p { margin: 0 auto 14px; max-width: 520px; font-size: .9rem; line-height: 1.5; color: rgba(255, 255, 255, .9); }
.ros-thanks ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; text-align: left; max-width: 460px; margin-left: auto; margin-right: auto; }
.ros-thanks li { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, .13); font-size: .84rem; font-weight: 600; }
.ros-thanks li i { width: 18px; text-align: center; color: #a7f3d0; }
.ros-thanks a { color: #fff; text-decoration: underline; font-weight: 800; }
