/* Madar Electronics — Premium storefront (Build: win5)
   Fixed header — never scrolls away (sticky was failing due to CSS conflicts). */

.header.sf-header,
.sf-header.header,
.sf-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  z-index: 400 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  overflow: visible !important;
}

html {
  overflow-x: hidden;
  overflow-y: scroll;
}

body,
body.page-inner,
body.page-home {
  padding-top: var(--sf-header-h, 56px) !important;
  margin: 0;
  background: #f4f6fa !important;
  color: #0b1220;
  font-family: Manrope, "Plus Jakarta Sans", system-ui, sans-serif !important;
  overflow-x: hidden;
  overflow-y: visible;
}

:root {
  --rt-ink: #0b1220;
  --rt-muted: #64748b;
  --rt-line: rgba(15, 23, 42, 0.1);
  --rt-blue: #1d4ed8;
  --rt-radius: 16px;
  --header-h: var(--sf-header-h, 56px);
  --sf-header-h: 56px;
}

.container {
  width: min(1320px, calc(100% - 24px));
  box-sizing: border-box;
  padding-inline: 0;
  margin-inline: auto;
}
@media (max-width: 900px) {
  .container {
    width: min(100%, calc(100% - 12px));
    max-width: 100%;
    box-sizing: border-box;
    padding-inline: 0;
  }
}

/* Top bar */
.sf-topbar {
  background: #0b1220;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.76rem;
}
.sf-topbar a { color: #fff; text-decoration: none; font-weight: 650; }
.sf-topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
}

.sf-mainbar-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
}

.sf-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--rt-ink);
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.sf-logo img { border-radius: 0; display: block; }
.sf-logo-mark {
  display: inline-grid;
  place-items: center;
  line-height: 0;
  overflow: visible;
  background: transparent;
}

.sf-search {
  display: flex;
  width: min(100%, 560px);
  margin: 0 auto;
  border: 1px solid var(--rt-line);
  border-radius: 999px;
  overflow: hidden;
  background: #f8fafc;
}
.sf-search input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 11px 16px;
  font: inherit;
  font-size: 0.92rem;
  outline: none;
}
.sf-search button {
  border: 0;
  background: #0b1220;
  color: #fff;
  padding: 0 18px;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
}

.sf-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sf-link {
  color: #334155;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 650;
}
.sf-contact,
.sf-wa,
.sf-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}
.sf-contact { background: var(--rt-brand-dark, #101b2e); color: #fff !important; }
.sf-wa { background: #128c7e; color: #fff !important; }
.sf-cart-btn {
  background: #f1f5f9;
  color: var(--rt-ink);
  position: relative;
}
.sf-cart-btn [data-cart-count] {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--rt-attention, #c026d3);
  color: var(--rt-attention-ink, #fff);
  font-size: 0.68rem;
  display: grid;
  place-items: center;
}

.sf-catbar {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  background: #fff;
}
.sf-cats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  overflow: visible;
  justify-content: center;
}
.sf-nav-item { position: relative; flex: 0 0 auto; }
.sf-nav-item > a {
  display: block;
  padding: 12px 11px;
  color: #334155;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 650;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.sf-nav-item.is-active > a,
.sf-nav-item > a:hover {
  color: #0b1220;
  border-bottom-color: #0b1220;
}
.sf-nav-used > a { font-weight: 800; }

.sf-flyout {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--rt-line);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  z-index: 50;
}
.sf-has-flyout:hover .sf-flyout,
.sf-has-flyout:focus-within .sf-flyout { display: grid; gap: 2px; }
.sf-flyout a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 10px;
  border-radius: 8px;
  color: #0b1220;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
}
.sf-flyout a span { font-size: 0.74rem; font-weight: 550; color: #64748b; }
.sf-flyout a:hover { background: #f1f5f9; }

.sf-wholesale > a {
  border: 1px solid rgba(15, 23, 42, 0.16) !important;
  border-radius: 999px !important;
  margin: 6px 0 6px 8px;
  padding: 8px 12px !important;
  font-weight: 750 !important;
}

/* USP — premium continuous marquee (fashion-style ticker) */
.sf-usp {
  background: #111827;
  color: #fff;
  overflow: hidden;
}
.sf-usp-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  justify-content: center;
  align-items: center;
  padding: 11px 0;
  font-size: 0.84rem;
  font-weight: 650;
}
.sf-usp a { color: #fff; text-decoration: none; }
/* USP — continuous non-stop ticker (all viewports) */
.sf-usp-marquee {
  position: relative;
  padding: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  overflow: hidden;
}
.sf-usp-track {
  display: flex;
  width: max-content;
  align-items: center;
  flex-wrap: nowrap;
  animation: sf-usp-run 28s linear infinite;
  will-change: transform;
}
.sf-usp-marquee:hover .sf-usp-track {
  animation-play-state: running;
}
.sf-usp-marquee.is-paused .sf-usp-track,
.sf-usp-marquee.is-paused:hover .sf-usp-track {
  animation-play-state: paused;
}
.sf-usp-marquee .sf-usp-group[aria-hidden="true"] {
  display: flex !important;
}
.sf-usp-marquee .sf-usp-group {
  justify-content: flex-start;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.sf-usp-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0;
  padding: 6px 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.sf-usp-group > span,
.sf-usp-group > a {
  padding: 0 4px;
}
.sf-usp-dot {
  width: 4px;
  height: 4px;
  margin: 0 1.35rem;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
  flex-shrink: 0;
}
.sf-usp-gap {
  width: 4.5rem;
  flex-shrink: 0;
}
@keyframes sf-usp-run {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .sf-usp-track {
    animation: sf-usp-run 38s linear infinite;
  }
}

/* Hero — premium full-bleed shop stage */
.sf-hero {
  position: relative;
  margin: 0;
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  isolation: isolate;
  z-index: 1;
  background: #07101f;
}
.sf-hero:not(.sf-hero-bleed) {
  margin: 16px auto 0;
  width: min(1160px, calc(100% - 24px));
  border-radius: 22px;
  box-shadow: 0 22px 60px rgba(7, 16, 31, 0.28);
}
.sf-hero-split:not(.sf-hero-cinema) .sf-hero-stage {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: clamp(420px, 58vh, 620px);
  height: clamp(420px, 58vh, 620px);
  max-height: none;
  aspect-ratio: auto;
  padding: clamp(24px, 4vw, 56px);
  box-sizing: border-box;
}
.sf-hero-cinema.sf-hero-split .sf-hero-stage {
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  padding: 0;
  box-sizing: border-box;
}
.sf-hero-cinema .sf-hero-shot img {
  display: block;
  width: 100%;
  height: auto;
}
.sf-hero-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0a1428;
  z-index: 0;
}
.sf-hero-cinema .sf-hero-visual {
  position: relative;
  inset: auto;
  height: auto;
  overflow: hidden;
}
.sf-hero-visual::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 70% at 12% 50%, rgba(192, 38, 211, 0.28), transparent 70%),
    radial-gradient(ellipse 40% 50% at 88% 18%, rgba(124, 58, 237, 0.16), transparent 65%);
  mix-blend-mode: screen;
  opacity: 0.85;
}
.sf-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(5, 10, 22, 0.55) 0%, rgba(5, 10, 22, 0.28) 24%, rgba(5, 10, 22, 0.08) 48%, transparent 70%),
    linear-gradient(180deg, rgba(5, 10, 22, 0.18) 0%, transparent 24%, transparent 72%, rgba(5, 10, 22, 0.28) 100%);
}
.sf-hero-shot {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease;
  background-image: var(--hero);
  background-position: var(--hero-pos, center center);
  background-size: cover;
  background-repeat: no-repeat;
  transform: none;
}
/* Cinema homepage hero uses real <img> — no background-size crop/stretch */
.sf-hero-cinema .sf-hero-shot {
  background: none;
  background-image: none;
}
.sf-hero-shot.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  transform: none;
  transition: opacity 0.45s ease;
}
.sf-hero-shot.is-flip {
  transform: none;
}
.sf-hero-shot.is-flip.is-active {
  transform: none;
}
.sf-hero-copy-panel {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100%, 340px);
  max-width: 340px;
  padding: 20px 20px 18px;
  border-radius: 18px;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.04) 42%, transparent 70%),
    rgba(9, 16, 32, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
}
.sf-hero-copy-panel::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.85), transparent);
  box-shadow: 0 0 16px rgba(125, 211, 252, 0.35);
}
.sf-hero-copy-panel::after { display: none; }
.sf-hero-copy-panel.is-swap .sf-hero-kicker,
.sf-hero-copy-panel.is-swap .sf-hero-title,
.sf-hero-copy-panel.is-swap .sf-hero-text {
  animation: sfHeroTextIn 0.45s ease;
}
@keyframes sfHeroTextIn {
  from { opacity: 0.3; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
.sf-hero-brand { display: none !important; }
.sf-hero-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 10px;
  min-height: 0;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #dff3ff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.sf-hero-title {
  margin: 0 0 8px;
  min-height: 0;
  color: #fff !important;
  letter-spacing: -0.035em;
  line-height: 1.12;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  font-weight: 800;
  font-family: "Plus Jakarta Sans", Manrope, system-ui, sans-serif;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}
.sf-hero-text {
  margin: 0 0 16px;
  min-height: 0;
  max-width: 22rem;
  color: #d5e2f2;
  font-size: clamp(0.9rem, 1.15vw, 0.98rem);
  line-height: 1.4;
  font-weight: 500;
}
.sf-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
  width: auto;
  max-width: none;
}
.sf-hero .btn {
  min-height: 38px;
  width: auto;
  min-width: 0;
  padding: 0 14px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 999px !important;
  font-weight: 700 !important;
  font-size: 0.84rem !important;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease !important;
}
.sf-hero .btn:hover {
  transform: translateY(-1px);
}
.sf-hero .btn-primary {
  background: #fff !important;
  color: #0b1220 !important;
  border: 1px solid #fff !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18) !important;
}
.sf-hero .btn-ghost {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.32) !important;
  backdrop-filter: blur(8px);
}
.sf-hero-dots {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  z-index: 4;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
.sf-hero-dots button {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}
.sf-hero-dots button.is-active {
  background: #fff;
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25), 0 1px 6px rgba(0, 0, 0, 0.3);
  transform: scale(1.15);
}
.sf-hero-slides,
.sf-hero-slide,
.sf-hero-copy { display: none !important; }
.sf-hero-slot-tag { display: none !important; }

@media (max-width: 820px) {
  .sf-hero-split:not(.sf-hero-cinema) .sf-hero-stage {
    display: block;
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 0 0 18px;
  }
  .sf-hero:not(.sf-hero-cinema) .sf-hero-visual {
    position: relative;
    min-height: 240px;
    height: min(46vw, 280px);
    aspect-ratio: auto;
    max-height: none;
  }
  .sf-hero-visual::before {
    opacity: 0.55;
  }
  .sf-hero-visual::after {
    background:
      linear-gradient(180deg, rgba(5, 10, 22, 0.15) 0%, transparent 35%, rgba(5, 10, 22, 0.72) 100%);
  }
  .sf-hero-copy-panel {
    width: auto;
    max-width: none;
    margin: -36px 14px 0;
    padding: 16px 16px 15px;
    border-radius: 16px;
  }
  .sf-hero-copy-panel::after { display: none; }
  .sf-hero-title {
    min-height: 0;
    font-size: clamp(1.4rem, 6vw, 1.75rem);
  }
  .sf-hero-text {
    min-height: 0;
    margin-bottom: 14px;
    font-size: 0.9rem;
  }
  .sf-hero-actions {
    display: flex;
    gap: 8px;
  }
  .sf-hero .btn {
    min-height: 36px;
    font-size: 0.82rem !important;
    padding: 0 12px !important;
  }
  .sf-hero-dots {
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: 10px !important;
    transform: translateX(-50%) !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    gap: 6px !important;
  }
  .sf-hero-dots button {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
  }
  .sf-hero-dots button.is-active {
    width: 6px !important;
    height: 6px !important;
    background: #fff !important;
  }
}

/* Trust row — compact, optional */
.sf-trust {
  display: none;
}

/* Sections */
.section-supplier {
  padding: 32px 0 !important;
  background: transparent !important;
}
.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.section-title-row h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  letter-spacing: -0.03em;
  font-weight: 800;
}
.section-title-row a {
  color: #1d4ed8;
  font-weight: 750;
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
}

/* Category tiles */
.cat-tiles {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.cat-tiles a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 10px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  text-decoration: none;
  color: #0b1220;
  text-align: center;
  font-weight: 700;
  font-size: 0.84rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.cat-tiles a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}
.cat-tiles a strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
}
.cat-tiles a > span:not(.tile-ico) {
  font-size: 0.74rem;
  font-weight: 600;
  color: #64748b;
}
.rt-cat-badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 2;
  padding: 3px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
  color: #64748b;
  border: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  max-width: 46%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rt-card-media { position: relative; }
.rt-cat-block {
  margin-bottom: 28px;
}
.rt-cat-block .rt-grid {
  margin-top: 12px;
}
.rt-cat-block .section-title-row {
  margin-bottom: 4px;
}
.rt-cat-block h2 {
  margin: 0;
  font-size: 1.15rem;
}
.cat-tiles .tile-ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #f1f5f9;
  display: grid;
  place-items: center;
  color: #1e3a8a;
}
.cat-tiles .tile-ico svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cat-tiles a.tile-used {
  background: #0b1220;
  color: #fff;
  border-color: transparent;
}
.cat-tiles a.tile-used .tile-ico {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.cat-tiles .tile-ico-lens { color: #0f766e; }
.cat-tiles .tile-ico-gaming { color: #7c3aed; }
.cat-tiles .tile-ico-tv { color: #1d4ed8; }
.cat-tiles .tile-ico-monitor { color: #0f172a; }

.footer-trust {
  margin: 10px 0 0 !important;
  font-size: 0.82rem !important;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.72) !important;
}
.footer-grid-store {
  grid-template-columns: 1.4fr repeat(4, 1fr) !important;
  gap: 22px !important;
}
.footer-grid-store.footer-grid-slim {
  grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
  margin-bottom: 28px !important;
}
.footer-grid-slim .footer-brand p {
  margin: 12px 0 0 !important;
  max-width: 280px;
  font-size: 0.88rem !important;
  line-height: 1.5;
  color: rgba(226, 232, 240, 0.78) !important;
}
.footer-grid-slim .footer-links h4 {
  margin: 0 0 12px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.footer-grid-slim .footer-links ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-grid-slim .footer-links a {
  font-size: 0.9rem;
  font-weight: 550;
  text-decoration: none;
}
.footer-bottom-slim {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  padding-top: 18px !important;
}
.footer-bottom-slim p {
  margin: 0;
  font-size: 0.82rem;
}
.footer-legal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-legal a {
  text-decoration: none;
  font-weight: 550;
}

/* Product grids — no horizontal sliding */
.home-grid,
.home-rail {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  overflow: visible !important;
  padding: 2px 0 4px;
  scroll-snap-type: none !important;
  grid-auto-flow: row !important;
  grid-auto-columns: unset !important;
}
.home-grid .rt-card,
.home-rail .rt-card {
  scroll-snap-align: unset;
  min-width: 0 !important;
  max-width: none !important;
  width: 100%;
}

.rt-card {
  background: #fff !important;
  border: 1px solid rgba(15, 23, 42, 0.09) !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.rt-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08) !important;
  border-color: rgba(15, 23, 42, 0.14) !important;
}
.rt-card-media-wrap {
  position: relative;
  background: #f5f6f8;
}
.rt-card-media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: #f5f6f8 !important;
  overflow: hidden;
}
.rt-card-new .rt-card-media,
.rt-card-used .rt-card-media {
  background: #f5f6f8 !important;
}
.rt-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center center !important;
  padding: 14px;
  box-sizing: border-box;
  display: block;
  transition: transform 0.25s ease;
  transform: none !important;
}
.rt-card:hover .rt-card-media img {
  transform: scale(1.03) !important;
}

/* Used-only condition ribbon (Brand New stock has no stamp) */
.rt-line-badge {
  position: absolute;
  left: 0;
  top: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px 7px 10px;
  border-radius: 0 8px 8px 0;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  border: 0;
  box-shadow: 4px 8px 18px rgba(47, 41, 36, 0.28);
}
.rt-line-badge > span { white-space: nowrap; }
.rt-line-seal {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  font-style: normal;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.rt-line-badge.used {
  display: none !important;
}
.rt-line-badge.used .rt-line-seal {
  display: none !important;
}
.rt-line-badge.brand-new { display: none !important; }

/* Soft glass merchandising labels — light, premium, not dark blocks */
.rt-merch-badge {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px 5px 8px;
  max-width: calc(100% - 56px);
  box-sizing: border-box;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  color: #475569;
  border: 1px solid rgba(255, 255, 255, 0.75);
  overflow: hidden;
  isolation: isolate;
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}
.rt-merch-badge > span { position: relative; z-index: 1; white-space: nowrap; }
.rt-merch-shine {
  position: relative;
  z-index: 1;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  display: inline-block;
  font-style: normal;
  background: rgba(100, 116, 139, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.65);
}
.rt-merch-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.55) 46%, transparent 70%);
  transform: translateX(-130%);
  animation: rtMerchShine 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes rtMerchShine {
  0%, 60% { transform: translateX(-130%); }
  80%, 100% { transform: translateX(130%); }
}
@media (prefers-reduced-motion: reduce) {
  .rt-merch-badge::before { animation: none; opacity: 0.35; transform: none; }
}
.rt-merch-badge.is-new {
  color: #0f766e;
  background: linear-gradient(165deg, rgba(240, 253, 250, 0.92) 0%, rgba(204, 251, 241, 0.55) 100%);
  border-color: rgba(153, 246, 228, 0.65);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 6px 16px rgba(15, 118, 110, 0.1),
    0 0 20px rgba(45, 212, 191, 0.18);
}
.rt-merch-badge.is-new .rt-merch-shine {
  background: #2dd4bf;
  box-shadow: 0 0 8px rgba(45, 212, 191, 0.55);
}
.rt-merch-badge.is-offer {
  color: #1e3a8a;
  background: linear-gradient(165deg, rgba(239, 246, 255, 0.96) 0%, rgba(219, 234, 254, 0.8) 100%);
  border-color: rgba(37, 99, 235, 0.35);
  border-radius: 8px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 6px 16px rgba(30, 64, 175, 0.12),
    0 0 18px rgba(37, 99, 235, 0.12);
}
.rt-merch-badge.is-offer .rt-merch-shine {
  background: #3b82f6;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}
.rt-merch-badge.is-hot {
  color: #1e40af;
  background: linear-gradient(165deg, rgba(239, 246, 255, 0.96) 0%, rgba(191, 219, 254, 0.65) 100%);
  border-color: rgba(59, 130, 246, 0.4);
  border-radius: 8px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 6px 16px rgba(30, 64, 175, 0.1),
    0 0 16px rgba(59, 130, 246, 0.12);
}
.rt-merch-badge.is-hot .rt-merch-shine {
  background: #2563eb;
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.5);
}
.rt-merch-badge.is-featured {
  color: #44403c;
  background: linear-gradient(165deg, rgba(255, 251, 235, 0.94) 0%, rgba(253, 230, 138, 0.35) 100%);
  border-color: rgba(252, 211, 77, 0.55);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 6px 16px rgba(146, 64, 14, 0.08),
    0 0 18px rgba(198, 161, 91, 0.2);
}
.rt-merch-badge.is-featured .rt-merch-shine {
  background: #c6a15b;
  box-shadow: 0 0 8px rgba(198, 161, 91, 0.5);
}

/* Soft premium card shells — light glow, not heavy color */
.rt-card-glow {
  border-color: rgba(148, 163, 184, 0.28) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.98) inset,
    0 12px 28px rgba(15, 23, 42, 0.07),
    0 0 24px rgba(148, 163, 184, 0.12) !important;
}
.rt-card-glow:hover {
  border-color: rgba(148, 163, 184, 0.4) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 18px 36px rgba(15, 23, 42, 0.1),
    0 0 28px rgba(148, 163, 184, 0.16) !important;
}
.rt-card-offer {
  border-color: rgba(253, 186, 116, 0.45) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.98) inset,
    0 12px 28px rgba(15, 23, 42, 0.07),
    0 0 26px rgba(251, 146, 60, 0.12) !important;
}
.rt-card-arrival {
  border-color: rgba(153, 246, 228, 0.5) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.98) inset,
    0 12px 28px rgba(15, 23, 42, 0.07),
    0 0 26px rgba(45, 212, 191, 0.12) !important;
}
.rt-card-lift {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 12px 28px rgba(15, 23, 42, 0.07) !important;
}
.rt-card-glow .rt-card-media::after,
.rt-card-offer .rt-card-media::after,
.rt-card-arrival .rt-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.45) 0%, transparent 38%, transparent 100%);
  mix-blend-mode: soft-light;
  opacity: 0.7;
}

.rt-card-body {
  padding: 14px 14px 16px !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
  background: #fff !important;
  border-top: 0;
  min-height: 0;
}
.rt-card-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.rt-card-brand {
  margin: 0 !important;
  font-size: 0.6rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8 !important;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rt-card-title {
  margin: 0 !important;
  font-size: 0.86rem !important;
  line-height: 1.28 !important;
  letter-spacing: -0.015em;
  min-width: 0;
}
.rt-card-title a {
  color: #0f172a;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: anywhere;
  min-height: calc(1.28em * 2);
  max-height: calc(1.28em * 2);
  font-weight: 650;
}
.rt-card-title a:hover {
  color: #1d4ed8;
}
.rt-card-meta,
.rt-card-condition {
  margin: 0 !important;
  color: #64748b !important;
  font-size: 0.66rem !important;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
.rt-card-colors {
  display: none !important;
}
.rt-card[data-show-colors="1"] .rt-card-colors.is-enabled {
  display: inline-flex !important;
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 4;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 5px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.1);
  pointer-events: auto;
  max-width: calc(100% - 48px);
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.rt-card-colors.is-enabled::-webkit-scrollbar {
  display: none;
}
.rt-card-swatch-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border-radius: 999px;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #475569;
  line-height: 1;
  flex-shrink: 0;
}
.rt-card-buyzone {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  padding-top: 8px;
}
.rt-price {
  margin-top: 0 !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  color: #0b1220 !important;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.rt-price-note {
  margin: 0 !important;
  color: #64748b !important;
  font-size: 0.75rem !important;
  font-weight: 550;
  line-height: 1.35;
}
.rt-price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 1px;
  margin-top: 0;
  width: 100%;
  min-height: 2.35rem;
}
.rt-price-block .rt-price { margin-top: 0 !important; line-height: 1.1; }
.rt-price-was {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  min-height: 0.9rem;
  line-height: 1;
}
.rt-price-was.is-empty {
  visibility: hidden;
  min-height: 0.9rem;
}
.rt-price-official-label {
  font-size: 0.56rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8 !important;
  line-height: 1;
}
.rt-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  padding-top: 0;
  font-size: 0.68rem;
  font-weight: 650;
  min-height: 1.1em;
}
.rt-used-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin: 4px 0 0;
  min-width: 0;
}
.rt-used-pill {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rt-used-condition {
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #334155;
}
.rt-used-warranty {
  background: #f0fdf4;
  border: 1px solid rgba(22, 101, 52, 0.16);
  color: #166534;
}
.rt-card-used .rt-line-badge.used {
  letter-spacing: 0.04em;
}
.rt-stock.in { color: #15803d; }
.rt-stock.low { color: #b45309; }
.rt-stock.out { color: #b91c1c; }
.rt-stock {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.rt-price-compare {
  font-size: 0.74rem !important;
  font-weight: 600 !important;
  color: #94a3b8 !important;
  text-decoration: line-through;
  line-height: 1.2;
}
.rt-price-save,
.rt-price-off {
  display: none !important;
}
.rt-card-saving {
  margin: 0;
  min-height: 0;
}
.rt-card-saving-media {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 3;
  margin: 0;
  pointer-events: none;
}
.rt-card-saving-media .rt-vs-official {
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.16);
  font-size: 0.6rem !important;
  padding: 4px 8px !important;
}
.rt-vs-official {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--rt-save-pill, linear-gradient(90deg, #f472b6 0%, #e879f9 42%, #a78bfa 100%));
  color: #fff !important;
  font-size: 0.66rem !important;
  font-weight: 750 !important;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  border: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 6px 14px rgba(232, 121, 249, 0.32);
}
.rt-offer-note,
.ix-offers-section-kicker {
  display: block !important;
  margin: 0 0 12px;
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: #334155;
  line-height: 1.35;
}
.ix-offers-banner .ix-offers-kicker {
  display: none !important;
}
.rt-card-foot .rt-moq {
  display: none !important;
}
.rt-card-swatch {
  width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 999px;
  border: 1.5px solid rgba(15, 23, 42, 0.14);
  background: #fff;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  flex-shrink: 0;
}
.rt-card-swatch-core {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--swatch, transparent);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.1);
}
.rt-card-swatch[data-light="1"] {
  border-color: rgba(15, 23, 42, 0.26);
}
.rt-card-swatch[data-light="1"] .rt-card-swatch-core {
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.30);
}
.rt-card-swatch:hover {
  transform: translateY(-1px);
  border-color: rgba(16, 27, 46, 0.28);
}
.rt-card-swatch.is-active {
  border-color: #fff;
  box-shadow: 0 0 0 1px #fff, 0 0 0 2.5px #0b1220;
}
.rt-card-media img.is-color-fading {
  opacity: 0.4 !important;
  transition: opacity 0.16s ease !important;
}
.rt-price-ask { color: #1d4ed8 !important; font-size: 0.95rem !important; }
.rt-price-quote {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.35;
}
.rt-price-quote strong {
  display: block;
  color: #1d4ed8;
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.rt-moq { color: #64748b; }

.rt-card-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 6px !important;
  margin-top: 0 !important;
}
.rt-card-actions .btn {
  justify-content: center;
  text-align: center;
  border-radius: 8px !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  padding: 8px 6px !important;
  min-height: 34px;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.rt-card-actions .btn-primary {
  box-shadow: none !important;
}
.rt-card-actions .btn.is-added {
  background: #047857 !important;
  border-color: #047857 !important;
  color: #fff !important;
}

/* Fly-to-cart (premium) */
.rt-cart-flyer {
  position: fixed;
  z-index: 12000;
  pointer-events: none;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 22px 48px rgba(15, 23, 42, 0.28),
    0 2px 0 rgba(255, 255, 255, 0.55) inset;
  transform: perspective(900px) rotateY(-10deg) rotateX(8deg) scale(1);
  opacity: 1;
  will-change: transform, opacity;
  transition:
    transform 0.72s cubic-bezier(0.18, 0.82, 0.18, 1),
    opacity 0.72s ease;
}
.rt-cart-flyer img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rt-cart-flyer.is-launch {
  transition:
    transform 0.12s ease-out,
    opacity 0.12s ease;
}
.rt-cart-flyer.is-flying {
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(29, 78, 216, 0.35);
}
.sf-cart-btn.is-cart-catch,
[data-cart-open].is-cart-catch {
  animation: rtCartCatch 0.48s cubic-bezier(0.2, 0.9, 0.2, 1);
}
@keyframes rtCartCatch {
  0% { transform: scale(1); }
  35% { transform: scale(1.16); }
  70% { transform: scale(0.96); }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .rt-cart-flyer { display: none !important; }
  .sf-cart-btn.is-cart-catch,
  [data-cart-open].is-cart-catch { animation: none; }
}

.rt-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
.rt-grid .rt-card {
  min-width: 0;
  width: 100%;
  max-width: none;
}
.rt-brand-chips,
.rt-cat-nav {
  display: none !important;
}

.rt-pay-quiet {
  margin: 0 0 14px;
  padding: 0;
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 550;
  line-height: 1.45;
}

.rt-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin: 0 0 18px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
}
.rt-filter-bar-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  white-space: nowrap;
}
.rt-filters-compact {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
  margin: 0 !important;
}
.rt-filters-compact .rt-filter {
  margin: 0 !important;
  min-width: 0;
  flex: 1 1 140px;
}
.rt-filters-compact .rt-filter span:not(.sr-only) { display: none; }
.rt-filters-compact input,
.rt-filters-compact select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 10px;
  padding: 0 12px;
  font: inherit;
  font-size: 0.88rem;
  background: #f8fafc;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.rt-shop-hero-slim {
  padding: 10px 0 6px !important;
}
.rt-shop-hero-slim h1 {
  display: none !important;
}
.rt-shop-hero-lead {
  display: none !important;
}
.rt-hero-sub,
.rt-line-switch-slim,
.rt-pay-quiet,
.rt-used-links {
  display: none !important;
}
.rt-breadcrumbs {
  margin: 0;
  font-size: 0.78rem;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.rt-breadcrumbs a {
  color: #64748b;
  text-decoration: none;
}
.rt-breadcrumbs a:hover { color: var(--rt-brand-dark, #101b2e); }

.rt-pay-strip { display: none !important; }

.brand-row a.is-active {
  background: var(--rt-brand-dark, #101b2e);
  color: #fff;
  border-color: var(--rt-brand-dark, #101b2e);
}
.brand-row-compact {
  margin-top: 12px;
  gap: 6px !important;
}
.brand-row-compact a,
.brand-row-compact .rt-brand-chip {
  min-width: auto !important;
  padding: 7px 12px !important;
  font-size: 0.8rem !important;
}

.rt-brand-rail {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 6px;
  margin: 0 0 16px;
}
.rt-brand-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  touch-action: pan-x pan-y;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 2px 2px 8px;
  margin: 0;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}
.rt-brand-track::-webkit-scrollbar {
  height: 5px;
}
.rt-brand-track::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}
.rt-brand-rail-btn {
  appearance: none;
  -webkit-appearance: none;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #0b1220;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  z-index: 2;
}
.rt-brand-rail-btn:hover:not(:disabled) {
  border-color: #94a3b8;
  background: #f8fafc;
}
.rt-brand-rail-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.rt-brand-rail-btn[hidden] {
  display: none !important;
}

.rt-brand-nav {
  display: contents;
}
.rt-brand-hero {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 112px;
  width: 112px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  color: #0b1220;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  font: inherit;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  scroll-snap-align: start;
}
.rt-brand-hero:hover {
  border-color: #94a3b8;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}
.rt-brand-hero.is-active {
  border-color: #0b1220;
  box-shadow: inset 0 0 0 1px #0b1220, 0 8px 18px rgba(15, 23, 42, 0.08);
}
.rt-brand-hero-media {
  display: block;
  height: 84px;
  background: #ffffff;
  overflow: hidden;
}
.rt-brand-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 8px;
  display: block;
}
.rt-brand-hero-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 7px 8px 8px;
  border-top: 1px solid #eef2f7;
  min-height: 44px;
}
.rt-brand-hero-meta strong {
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  color: #0b1220;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rt-brand-hero-meta em {
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rt-brand-hero-mosaic,
.rt-brand-hero-all-mark,
.rt-brand-hero-all-label,
.rt-brand-hero-all {
  display: none !important;
}
.rt-brand-chip {
  display: none;
}
@media (max-width: 640px) {
  .rt-brand-rail {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .rt-brand-rail-btn {
    display: none !important;
  }
  .rt-brand-hero {
    flex-basis: 100px;
    width: 100px;
  }
  .rt-brand-hero-media {
    height: 76px;
  }
  .rt-brand-track {
    padding-bottom: 6px;
  }
}

.rt-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 0 0 12px;
  font-size: 0.82rem;
  color: #64748b;
}
.rt-breadcrumbs a {
  color: #1d4ed8;
  text-decoration: none;
  font-weight: 650;
}
.rt-used-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 14px 0 0;
}
.rt-used-links a {
  color: #1d4ed8;
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
}
.rt-used-links a:hover { text-decoration: underline; }

.rt-shop-hero {
  padding: 28px 0 8px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f4f6fa 100%) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.rt-shop-hero h1 {
  letter-spacing: -0.03em;
  font-weight: 800;
}
.rt-shop-section {
  padding: 20px 0 48px !important;
}

.brand-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.brand-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid var(--rt-line);
  background: #fff;
  color: #0b1220;
  text-decoration: none;
  font-weight: 750;
  font-size: 0.86rem;
}

.sf-trade {
  margin: 12px auto 36px;
  width: min(1160px, calc(100% - 24px));
  border-radius: 20px;
  background: linear-gradient(135deg, #0b1220, #1e3a8a);
  color: #fff;
  padding: 32px 26px;
}
.sf-trade-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.sf-trade-kicker {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.sf-trade h2 { margin: 0 0 6px; color: #fff; }
.sf-trade p { margin: 0; color: rgba(255, 255, 255, 0.82); max-width: 34rem; line-height: 1.45; }
.sf-trade-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-trade .btn-outline {
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: #fff !important;
}

/* Cart — must sit above welcome strip (10050) and fixed header (1200) */
#rtCartRoot {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 11000 !important;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  /* No transition while closed — avoids reload flash when node mounts */
  transition: none;
}
#rtCartRoot.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease, visibility 0s;
}

/* FOUC / reload flash guard (also covers async CSS on PDP) */
.sf-catbar-pro .sf-mega[hidden],
.sf-profile-panel[hidden] {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: none !important;
}
.rt-cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 14, 28, 0.45);
}
.rt-cart-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(380px, 100%);
  height: 100%;
  max-height: 100%;
  box-sizing: border-box;
  background: #fff;
  box-shadow: -16px 0 40px rgba(15, 23, 42, 0.16);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.rt-cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--rt-line);
  flex-shrink: 0;
}
.rt-cart-head h3 { margin: 0; font-size: 1.05rem; }
.rt-cart-x { border: 0; background: transparent; font-size: 1.4rem; cursor: pointer; }
/* min-height:0 so the product list scrolls inside the flex column instead of pushing the foot off-screen */
.rt-cart-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 10px 16px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.rt-cart-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.rt-cart-row strong { display: block; font-size: 0.86rem; }
.rt-cart-row span { color: #64748b; font-size: 0.76rem; }
.rt-cart-row button {
  border: 0;
  background: transparent;
  color: #b91c1c;
  font-weight: 700;
  cursor: pointer;
}
.rt-cart-empty { color: #64748b; }
.rt-cart-drawer-empty {
  height: auto;
  max-height: min(360px, 100%);
  max-height: min(360px, 100dvh);
  top: auto;
  bottom: 0;
  border-radius: 16px 0 0 0;
}
.rt-cart-body-empty {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 28px 20px 12px;
  text-align: center;
}
.rt-cart-body-empty .rt-cart-empty {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 650;
  color: #64748b;
}
.rt-cart-drawer-empty .rt-cart-foot {
  padding-top: 4px;
}
.rt-cart-foot {
  flex-shrink: 0;
  padding: 12px 16px max(16px, calc(12px + env(safe-area-inset-bottom, 0px)));
  border-top: 1px solid var(--rt-line);
  display: grid;
  gap: 8px;
  background: #fff;
}
.rt-cart-note { margin: 0; font-size: 0.78rem; color: #64748b; }
.rt-cart-total {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0b1220;
  letter-spacing: -0.02em;
}
.rt-cart-drawer-added {
  height: auto;
  max-height: min(640px, 100%);
  max-height: min(640px, 100dvh);
  top: auto;
  bottom: 0;
  border-radius: 16px 0 0 0;
}
.rt-cart-added-body {
  padding-top: 14px;
}
.rt-cart-added-row {
  display: flex;
  gap: 12px;
  align-items: center;
}
.rt-cart-added-row img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  flex: 0 0 auto;
}
.rt-cart-added-row strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.3;
  color: #0b1220;
}
.rt-cart-added-row span {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 650;
  white-space: nowrap;
}
.rt-cart-added-row .rt-dec,
.rt-cart-fbt-price .rt-dec {
  display: inline;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  opacity: 1;
  margin: 0;
  line-height: inherit;
  vertical-align: baseline;
}
.rt-cart-added-note {
  margin: 14px 0 0;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.45;
}
.rt-cart-fbt {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.rt-cart-fbt-label {
  margin: 0 0 10px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}
.rt-cart-fbt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.rt-cart-fbt-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  padding: 0 10px 10px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}
.rt-cart-fbt-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 88px;
  margin: 0 -10px 8px;
  background: #fff;
  border: 0;
  border-radius: 0;
}
.rt-cart-fbt-media img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #fff;
}
.rt-cart-fbt-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0b1220;
  text-decoration: none;
}
.rt-cart-fbt-price {
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 750;
  color: #0b1220;
  white-space: nowrap;
}
.rt-cart-fbt-price .rt-amt {
  font-size: inherit;
}
.rt-cart-fbt-add {
  margin-top: auto;
  padding: 7px 8px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 8px;
  background: #fff;
  color: #1e3a5f;
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
}
.rt-cart-fbt-add:disabled {
  color: #64748b;
  cursor: default;
}
.rt-cart-added-foot {
  grid-template-columns: 1fr;
}
.rt-cart-added-foot .btn {
  text-align: center;
  justify-content: center;
}
@media (max-width: 640px) {
  /* Fill the visible frame; do not use bottom:auto (that left the sheet oversized). */
  #rtCartRoot {
    inset: 0;
    width: 100%;
    height: auto;
    max-height: none;
    bottom: 0;
  }
  /*
    Mobile cart = bottom sheet sized to content (not a stretched full-height column).
    Footer stays under the items; long lists scroll inside .rt-cart-body.
  */
  .rt-cart-drawer {
    width: 100%;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    height: auto;
    max-height: min(88vh, 100%);
    max-height: min(88dvh, 100%);
    max-height: min(88svh, 100%);
    border-radius: 16px 16px 0 0;
    box-sizing: border-box;
  }
  .rt-cart-head {
    padding: 14px 14px 12px;
  }
  .rt-cart-body {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    padding: 8px 14px;
  }
  .rt-cart-foot {
    padding: 10px 14px max(22px, calc(16px + env(safe-area-inset-bottom, 0px)));
    gap: 7px;
  }
  .rt-cart-drawer-empty,
  .rt-cart-drawer-added {
    width: 100%;
    max-height: min(88svh, 100%);
    border-radius: 16px 16px 0 0;
  }
}

/* Keep floating WA from visually covering cart foot actions while the drawer is open */
body.rt-cart-open .whatsapp-float {
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

.whatsapp-float {
  bottom: 18px !important;
  right: 14px !important;
  z-index: 60 !important;
  width: 52px !important;
  height: 52px !important;
}

.rt-shop-hero {
  background: transparent !important;
  padding-top: 24px !important;
}
.wa-chooser[hidden] { display: none !important; }

@media (max-width: 1100px) {
  .rt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .sf-contact, .sf-link { display: none; }
  .cat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sf-trust { grid-template-columns: 1fr 1fr; }
  .sf-hero:not(.sf-hero-bleed) { width: calc(100% - 16px); border-radius: 16px; }
  .sf-hero-bleed .sf-hero-copy-panel { padding: 20px 18px 24px; }
  .rt-grid,
  .home-grid,
  .home-rail { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  .footer-grid-store { grid-template-columns: 1fr 1fr !important; }
  .footer-grid-store.footer-grid-slim { grid-template-columns: 1fr 1fr !important; gap: 22px !important; }
}

@media (max-width: 640px) {
  .footer-grid-store.footer-grid-slim {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .footer-bottom-slim {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  .sf-mainbar-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo actions"
      "search search";
    gap: 10px;
  }
  .sf-logo { grid-area: logo; }
  .sf-actions { grid-area: actions; }
  .sf-search { grid-area: search; width: 100%; }
  .sf-cats {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid var(--rt-line);
    padding: 8px 12px 16px;
    max-height: 70vh;
    overflow: auto;
    z-index: 120;
  }
  .sf-cats.open { display: flex; }
  .sf-has-flyout .sf-flyout {
    position: static;
    display: grid;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 10px;
  }
}
/* —— Product detail page (premium PDP) —— */
.rt-pdp-section { padding-top: 12px !important; }
.pdp-usp {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: center;
  margin: 0 0 16px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #0b1220;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.pdp-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: start;
}
.pdp-gallery { display: grid; gap: 10px; }
.pdp-main-media {
  position: relative;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.pdp-main-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 28px;
  display: block;
}
.pdp-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 8px;
}
.pdp-thumb {
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  border-radius: 10px;
  padding: 4px;
  cursor: pointer;
  aspect-ratio: 1;
}
.pdp-thumb.is-active { border-color: #0b1220; box-shadow: 0 0 0 1px #0b1220; }
.pdp-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }

.pdp-buybox {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 22px 22px 24px;
}
.pdp-brand {
  display: inline-block;
  margin-bottom: 6px;
  color: #64748b;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pdp-identity {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.45rem;
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  color: #64748b;
  line-height: 1.35;
  text-transform: uppercase;
}
.pdp-identity .pdp-brand {
  margin-bottom: 0;
  color: #64748b;
  font-weight: 800;
}
.pdp-identity-sep {
  color: #94a3b8;
  font-weight: 600;
}
.pdp-model {
  color: #334155;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pdp-model-label {
  font-weight: 750;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-right: 0.2rem;
}
.pdp-identity--brand-only .pdp-brand {
  color: #64748b;
}
.pdp-buybox h1 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-family: "Plus Jakarta Sans", Manrope, system-ui, sans-serif;
}
.pdp-condition {
  margin: 0 0 14px;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 600;
}
.pdp-option-line {
  margin: 0 0 14px;
  font-size: 0.92rem;
  color: #334155;
}
.pdp-variants { margin-bottom: 16px; }
.pdp-variants-label {
  margin: 0 0 8px;
  font-size: 0.88rem;
  color: #334155;
  font-weight: 650;
}
.pdp-variant-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.pdp-variant {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  text-decoration: none;
  color: #0b1220;
  background: #f8fafc;
  font-size: 0.78rem;
  font-weight: 650;
}
.pdp-variant strong { font-size: 0.86rem; }
.pdp-variant.is-active {
  border-color: #0b1220;
  background: #fff;
  box-shadow: 0 0 0 1px #0b1220;
}

.pdp-price {
  margin: 4px 0 2px;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0b1220;
  line-height: 1.1;
}
.pdp-price-ask { color: #1d4ed8; font-size: 1.6rem; }
.pdp-price-note {
  margin: 2px 0 14px;
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.pdp-purchase {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.pdp-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.pdp-qty button {
  width: 42px;
  height: 48px;
  border: 0;
  background: #f8fafc;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  color: #0b1220;
}
.pdp-qty input {
  width: 52px;
  height: 48px;
  border: 0;
  text-align: center;
  font: inherit;
  font-weight: 750;
  outline: none;
}
.btn-dark:not(.pdp-add) {
  min-height: 48px !important;
  border-radius: 12px !important;
  background: var(--rt-brand-dark, #101b2e) !important;
  border-color: var(--rt-brand-dark, #101b2e) !important;
  color: #fff !important;
  font-weight: 750 !important;
}
.pdp-add:not(:disabled),
.btn-dark.pdp-add:not(:disabled) {
  min-height: 48px !important;
  border-radius: 12px !important;
  background: var(--rt-cta-soft, linear-gradient(90deg, #fdf2f8 0%, #faf5ff 48%, #f5f3ff 100%)) !important;
  border: 1.5px solid var(--rt-cta-soft-border, rgba(192, 38, 211, 0.32)) !important;
  color: var(--rt-cta-soft-ink, #9d174d) !important;
  font-weight: 750 !important;
  box-shadow: none !important;
}
.btn-buy,
.pdp-buy {
  width: 100%;
  min-height: 52px !important;
  border-radius: 12px !important;
  background: var(--rt-cta-grad, linear-gradient(90deg, #db2777 0%, #c026d3 48%, #7c3aed 100%)) !important;
  border: 1px solid transparent !important;
  color: #fff !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
  margin-bottom: 16px;
  box-shadow: var(--rt-cta-shadow, 0 8px 18px rgba(192, 38, 211, 0.28));
}

.pdp-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}
.pdp-trust-pills span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 10px;
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.78rem;
  font-weight: 700;
  color: #0b1220;
}
.pdp-info-cards {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.pdp-info-cards div {
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.pdp-info-cards strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.86rem;
}
.pdp-info-cards p {
  margin: 0;
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.35;
  font-weight: 550;
}

.rt-cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.rt-cart-qty button {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #fff;
  cursor: pointer;
  font-weight: 700;
}
.rt-cart-qty em { font-style: normal; font-weight: 800; min-width: 18px; text-align: center; }
.rt-cart-row-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.rt-cart-row-side strong { font-size: 0.88rem; }
.rt-back-cart {
  border: 0;
  background: transparent;
  color: #1d4ed8;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 12px;
  padding: 0;
}
.rt-checkout-totals {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  padding: 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.rt-checkout-totals div {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
}
.rt-checkout-form {
  display: grid;
  gap: 10px;
}
.rt-checkout-form label {
  display: grid;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
}
.rt-checkout-form input,
.rt-checkout-form textarea {
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  font-weight: 550;
  background: #fff;
}
.rt-checkout-form .btn-full { width: 100%; min-height: 48px; margin-top: 4px; }
.rt-checkout-success { text-align: left; }
.rt-order-id {
  margin: 0 0 12px;
  padding: 14px;
  border-radius: 12px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.9rem;
}
.rt-order-id strong {
  display: block;
  margin-top: 4px;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: #0b1220;
}
.rt-order-summary {
  list-style: none;
  margin: 12px 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.rt-order-summary li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafc;
  font-size: 0.88rem;
}

.pdp-trust { display: none; }
.pdp-ship {
  padding: 14px;
  border-radius: 12px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}
.pdp-ship strong {
  display: block;
  margin-bottom: 4px;
  color: #065f46;
  font-size: 0.9rem;
}
.pdp-ship p {
  margin: 0;
  color: #047857;
  font-size: 0.82rem;
  line-height: 1.4;
  font-weight: 550;
}

.pdp-details {
  margin: 28px 0 8px;
  display: grid;
  gap: 8px;
}
.pdp-details details {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 4px 16px 12px;
}
.pdp-details summary {
  cursor: pointer;
  font-weight: 800;
  padding: 12px 0;
  list-style: none;
}
.pdp-details summary::-webkit-details-marker { display: none; }
.pdp-details p {
  margin: 0 0 10px;
  color: #475569;
  line-height: 1.5;
  font-size: 0.92rem;
}
.pdp-specs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.pdp-specs li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafc;
  font-size: 0.86rem;
}
.pdp-specs span { color: #64748b; font-weight: 650; }
.pdp-specs a { color: #1d4ed8; text-decoration: none; }

@media (max-width: 900px) {
  .pdp-layout { grid-template-columns: 1fr; gap: 18px; }
  .pdp-trust { grid-template-columns: 1fr; }
  .pdp-variant-grid { grid-template-columns: 1fr; }
  .pdp-specs { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .pdp-usp { display: none; }
  .pdp-purchase { grid-template-columns: 1fr; }

  /* Premium product cards — readable titles & clean pricing */
  .rt-grid,
  .home-grid,
  .home-rail,
  .ix-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .rt-card {
    border-radius: 14px !important;
  }
  .rt-card-body {
    padding: 10px 10px 12px !important;
    gap: 4px;
  }
  .rt-card-brand {
    font-size: 0.64rem !important;
    letter-spacing: 0.05em;
  }
  .rt-card-title {
    font-size: 0.84rem !important;
    line-height: 1.3 !important;
  }
  .rt-card-title a {
    -webkit-line-clamp: 3;
  }
  .rt-card-meta {
    font-size: 0.72rem !important;
  }
  .rt-price-note {
    font-size: 0.68rem !important;
    color: #94a3b8 !important;
  }
  .rt-price {
    font-size: 0.98rem !important;
  }
  .rt-cat-badge {
    display: none;
  }
  .rt-line-badge,
  .rt-merch-badge {
    font-size: 0.56rem;
    padding: 6px 10px 6px 8px;
    max-width: calc(100% - 52px);
    letter-spacing: 0.05em;
  }
  .rt-line-badge > span,
  .rt-merch-badge > span {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .rt-card-tools {
    top: 8px;
    right: 8px;
    gap: 4px;
  }
  .rt-tool {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 0.78rem;
  }
  .rt-chip {
    font-size: 0.62rem;
    padding: 3px 6px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .rt-card-foot {
    font-size: 0.68rem;
    flex-wrap: wrap;
    gap: 4px;
  }
  .rt-moq { display: none; }
  .rt-card-actions {
    grid-template-columns: 1fr 1fr !important;
    gap: 5px !important;
  }
  .rt-card-actions .btn-outline {
    display: inline-flex !important;
  }
  .rt-card-actions .btn {
    font-size: 0.68rem !important;
    padding: 8px 4px !important;
    min-height: 36px;
  }
  .rt-card-media img {
    padding: 12px;
  }
}

/* Madar Electronics — Premium storefront (Build: win6) */
