:root {
  --paper: oklch(97% .012 86);
  --paper-2: oklch(94.5% .018 86);
  --soft: oklch(94.5% .018 86);
  --ink: oklch(22% .018 70);
  --muted: oklch(51% .025 70);
  --line: oklch(84% .03 80);
  --lime: oklch(86% .19 112);
  --lime-deep: oklch(49% .15 111);
  --orange: #c2410c;
  --blue: oklch(58% .16 246);
  --cream: oklch(92% .045 84);
  --ease: cubic-bezier(.16,1,.3,1);
  --mono: 'DM Mono', monospace;
  --sans: 'Manrope', system-ui, sans-serif;
}

/* Keep route changes deterministic. The router swaps the document cleanly;
   keeping both old and new page snapshots animated can leave stale dashboard
   content ghosted over public pages during navigation. */
@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root),
::view-transition-group(*) {
  animation:none !important;
}

/* Shared chrome gets its own snapshot so it remains visually anchored while
   the route-specific content changes underneath it. These selectors cover
   the public, customer, and admin layouts. */
.announce { view-transition-name: buyrc-announcement; }
.nav { view-transition-name: buyrc-site-header; }
.footer { view-transition-name: buyrc-site-footer; }
.sidebar { view-transition-name: buyrc-admin-sidebar; }
.topbar { view-transition-name: buyrc-admin-topbar; }
.layout > .side { view-transition-name: buyrc-customer-sidebar; }
.layout > .content { view-transition-name: buyrc-customer-content; }

::view-transition-group(buyrc-announcement),
::view-transition-group(buyrc-site-header),
::view-transition-group(buyrc-site-footer),
::view-transition-group(buyrc-admin-sidebar),
::view-transition-group(buyrc-admin-topbar),
::view-transition-group(buyrc-customer-sidebar) {
  animation:none !important;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  font-optical-sizing: auto;
}

button, a, input, select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  cursor: pointer;
  background: transparent;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.wrap {
  width: min(1240px, calc(100% - 48px));
  margin: auto;
}

.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.announce {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 16px;
}

.announce b {
  color: var(--lime);
  font-weight: 500;
}

/* Header & Navigation */
.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  overflow: visible;
  position: relative;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -.06em;
}

.logo-mark, .mark {
  width: 30px;
  height: 30px;
  background: var(--lime);
  border-radius: 8px 12px 8px 12px;
  display: grid;
  place-items: center;
  transform: rotate(-7deg);
}

.logo-mark:before, .mark:before {
  content: '';
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 12px 0 0 var(--ink);
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: .9rem;
  color: var(--muted);
}

.navlinks a {
  transition: color .2s ease;
}

.navlinks a:hover {
  color: var(--ink);
}

.nav-actions, .navtools, .tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn, .circle {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background .2s ease, transform .2s var(--ease);
}

.icon-btn:hover, .circle:hover {
  background: var(--paper-2);
  transform: translateY(-2px);
}

.cart-btn, .bag {
  position: relative;
}

.cart-dot, .count {
  position: absolute;
  top: -2px;
  right: -1px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--orange);
  color: var(--paper);
  font: 500 .65rem var(--mono);
  display: grid;
  place-items: center;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: .8rem;
}

.nav-right a {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--ink);
}

.secure-top {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: .76rem;
}

.secure-top svg {
  color: var(--blue);
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: .74rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer a {
  transition: color .2s ease;
}

.footer a:hover {
  color: var(--ink);
}

/* Toast Notifications */
.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: var(--ink);
  color: var(--paper);
  padding: 14px 17px;
  border-radius: 14px;
  transform: translateY(120px);
  opacity: 0;
  transition: .3s var(--ease);
  z-index: 7;
  font-size: .8rem;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive Shared Rules */
@media (max-width: 980px) {
  .navlinks {
    display: none;
  }
}

@media (max-width: 620px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .nav {
    height: 68px;
  }

  .navtools .circle:first-child, .tools .circle:first-child {
    display: none;
  }

  .footer {
    display: block;
  }

  .footer-links {
    margin-top: 14px;
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none !important;
  }
}

/* ==========================================================================
   Page: buyrc-account-dashboard
   ========================================================================== */
.hello {
  font-size:.8rem;
  color:var(--muted);
}

.hello b {
  color:var(--ink);
}

.layout {
  display:grid;
  grid-template-columns:236px 1fr;
  gap:58px;
  padding:62px 0 92px;
}

.layout > .content {
  min-height:560px;
}

.customer-skeleton {
  display:grid;
  gap:12px;
  min-height:165px;
}

.customer-skeleton-row,
.customer-skeleton-card {
  position:relative;
  overflow:hidden;
  background:var(--soft);
  border-radius:12px;
}

.customer-skeleton-row {
  height:62px;
  border-top:1px solid var(--line);
}

.customer-skeleton-card {
  min-height:165px;
  border:1px solid var(--line);
}

.customer-skeleton-row::after,
.customer-skeleton-card::after {
  content:'';
  position:absolute;
  inset:0;
  transform:translateX(-100%);
  background:linear-gradient(90deg,transparent,oklch(100% 0 0 / .45),transparent);
  animation:customer-skeleton-shimmer 1.2s ease-in-out infinite;
}

@keyframes customer-skeleton-shimmer {
  to { transform:translateX(100%); }
}

.addresses > .customer-skeleton {
  grid-column:1 / -1;
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.customer-detail-skeleton {
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:20px;
  margin-top:20px;
  min-height:420px;
}

.customer-detail-skeleton .customer-skeleton-card:first-child {
  min-height:420px;
}

@media (max-width: 760px) {
  .layout > .content { min-height:460px; }
  .addresses > .customer-skeleton,
  .customer-detail-skeleton { grid-template-columns:1fr; }
  .customer-detail-skeleton .customer-skeleton-card:first-child { min-height:260px; }
}

.side {
  position: sticky;
  top: 40px;
  align-self: start;
}

.side h1 {
  font-size:2.5rem;
  line-height:.94;
  letter-spacing:-.08em;
  margin:16px 0 14px;
}

.side p {
  color:var(--muted);
  font-size:.8rem;
  max-width:23ch;
}

.avatar {
  width:58px;
  height:58px;
  border-radius:50%;
  background:var(--orange);
  display:grid;
  place-items:center;
  font-size:1.3rem;
  font-weight:800;
  margin-bottom:24px;
}

.menu {
  margin-top:43px;
  display:grid;
  gap:5px;
}

.menu button, .menu a {
  background:transparent;
  text-align:left;
  padding:12px 13px;
  border-radius:10px;
  color:var(--muted);
  font-size:.82rem;
  display:flex;
  align-items:center;
  gap:10px;
  transition:.2s;
  text-decoration:none;
}

.menu button:hover, .menu a:hover {
  background:var(--soft);
  color:var(--ink);
}

.menu button.active, .menu a.active {
  background:var(--ink);
  color:var(--paper);
}

.menu i, .menu svg {
  width:16px;
  height:16px;
  display:inline-block;
  flex-shrink:0;
}

.signout {
  margin-top:32px;
  color:var(--muted);
  background:none;
  font-size:.75rem;
  padding:0 13px;
  text-decoration:underline;
  text-underline-offset:4px;
}

.content h2 {
  font-size:clamp(2.5rem,5vw,4.6rem);
  line-height:.9;
  letter-spacing:-.09em;
  margin:0 0 12px;
}

.content-lede {
  color:var(--muted);
  font-size:.9rem;
  margin:0 0 35px;
}

.overview {
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:17px;
  margin-bottom:44px;
}

.welcome {
  background:var(--cream);
  border-radius:24px;
  padding:28px 30px;
  position:relative;
  overflow:hidden;
  min-height:205px;
}

.welcome:before {
  content:'RC';
  position:absolute;
  right:-14px;
  bottom:-50px;
  font-size:11rem;
  font-weight:800;
  letter-spacing:-.14em;
  line-height:1;
  color:var(--lime);
}

.welcome>* {
  position:relative;
  z-index:1;
}

.welcome h3 {
  font-size:1.55rem;
  line-height:1;
  letter-spacing:-.07em;
  margin:12px 0 10px;
  max-width:12ch;
}

.welcome p {
  font-size:.78rem;
  color:var(--muted);
  max-width:31ch;
  margin:0;
}

.welcome a {
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:22px;
  font-size:.76rem;
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:4px;
}

.stat {
  border-radius:24px;
  background:var(--blue);
  color:var(--paper);
  padding:28px 30px;
  min-height:205px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.stat .eyebrow {
  color:oklch(90% .02 245);
}

.stat strong {
  font-size:3.8rem;
  line-height:.9;
  letter-spacing:-.1em;
}

.stat small {
  font-size:.75rem;
  color:oklch(90% .02 245);
}

.section-head {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:19px;
}

.section-head h3 {
  font-size:1.55rem;
  line-height:1;
  letter-spacing:-.07em;
  margin:0;
}

.section-link {
  font-size:.76rem;
  text-decoration:underline;
  text-underline-offset:4px;
}

.orders {
  border-top:1px solid var(--line);
  margin-bottom:48px;
  min-height:190px;
}

.order {
  display:grid;
  grid-template-columns:1.2fr .65fr .62fr auto;
  gap:18px;
  align-items:center;
  padding:19px 0;
  border-bottom:1px solid var(--line);
  font-size:.78rem;
}

.order-name {
  font-weight:800;
}

.order-meta {
  display:block;
  color:var(--muted);
  font-size:.7rem;
  margin-top:3px;
}

.status {
  justify-self:start;
  border-radius:99px;
  padding:6px 9px;
  background:var(--lime);
  font:500 .65rem var(--mono);
  text-transform:uppercase;
  letter-spacing:.04em;
}

.status.transit, .status.blue {
  background:var(--blue);
  color:var(--paper);
}

.status.delivered, .status.green {
  background:var(--lime);
  color:var(--ink);
}

.status.pending, .status.orange {
  background:var(--orange);
  color:var(--paper);
}

.status.refunded, .status.gray {
  background:var(--soft);
  color:var(--muted);
}

.status.red {
  background:oklch(58% 0.22 27);
  color:var(--paper);
}

.order-date {
  color:var(--muted);
  font-size:.88rem;
  line-height:1.45;
}

.order-actions {
  background:none;
  text-decoration:underline;
  text-underline-offset:4px;
  font-size:.72rem;
  white-space:nowrap;
}

.address-area {
  border-top:1px solid var(--line);
  padding-top:25px;
}

.addresses {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:17px;
  min-height:165px;
}

.address {
  border:1px solid var(--line);
  border-radius:18px;
  padding:21px;
  min-height:165px;
  position:relative;
}

.address.default {
  background:var(--soft);
  border-color:var(--ink);
}

.address-tag {
  font:500 .64rem var(--mono);
  letter-spacing:.09em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:12px;
}

.default .address-tag {
  color:var(--orange);
}

.address h4 {
  margin:0 0 8px;
  font-size:.9rem;
}

.address p {
  font-size:.76rem;
  color:var(--muted);
  line-height:1.55;
  margin:0;
  max-width:24ch;
}

.address-tools {
  position:absolute;
  right:17px;
  top:17px;
  display:flex;
  gap:5px;
}

.mini-btn {
  background:var(--paper);
  border:1px solid var(--line);
  width:30px;
  height:30px;
  border-radius:50%;
  display:grid;
  place-items:center;
  transition:.2s;
}

.mini-btn:hover {
  background:var(--ink);
  color:var(--paper);
}

.add-address {
  border:1px dashed var(--line);
  border-radius:18px;
  background:transparent;
  min-height:165px;
  display:grid;
  place-items:center;
  color:var(--muted);
  font-size:.78rem;
  transition:.2s;
}

.add-address:hover {
  border-color:var(--ink);
  background:var(--soft);
  color:var(--ink);
}

.add-address span {
  display:grid;
  place-items:center;
  gap:8px;
}

.dialog {
  border:0;
  border-radius:22px;
  padding:0;
  width:min(500px,calc(100% - 32px));
  background:var(--paper);
  color:var(--ink);
  box-shadow:0 20px 60px oklch(22% .018 70 / .25);
}

.dialog::backdrop {
  background:oklch(22% .018 70 / .35);
}

.dialog-inner {
  padding:28px;
}

.dialog h3 {
  font-size:1.8rem;
  letter-spacing:-.08em;
  margin:0 0 7px;
}

.dialog p {
  color:var(--muted);
  font-size:.8rem;
  margin:0 0 22px;
}

.dialog-form {
  display:grid;
  gap:14px;
}

.dialog-form label {
  font:500 .65rem var(--mono);
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
}

.dialog-form input {
  width:100%;
  height:46px;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--soft);
  padding:0 12px;
  color:var(--ink);
}

.dialog-actions {
  display:flex;
  gap:10px;
  justify-content:flex-end;
  margin-top:8px;
}

.dialog-actions button {
  padding:11px 17px;
  border-radius:99px;
  font-size:.78rem;
  font-weight:700;
}

.cancel {
  background:var(--soft);
  color:var(--muted);
}

.save {
  background:var(--ink);
  color:var(--paper);
}

@media(max-width:900px) {
  .layout {
    grid-template-columns:1fr;
    gap:38px;
  }

  .side {
    display:grid;
    grid-template-columns:auto 1fr;
    column-gap:18px;
    align-items:center;
  }

  .side .avatar {
    grid-row:span 2;
    margin:0;
  }

  .side h1 {
    margin:0;
  }

  .side p {
    margin:5px 0;
  }

  .menu {
    grid-column:1/-1;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    margin-top:26px;
  }

  .menu button, .menu a {
    white-space:nowrap;
    justify-content:center;
    text-align:center;
  }

  .signout {
    grid-column:1/-1;
    margin-top:16px;
    text-align:center;
  }

  .overview {
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:620px) {
  .navlinks,.hello {
    display:none;
  }

  .layout {
    padding:42px 0 70px;
  }

  .content h2 {
    font-size:3.4rem;
  }

  .overview {
    grid-template-columns:1fr;
  }

  .welcome,.stat {
    min-height:180px;
  }

  .order {
    grid-template-columns:1fr auto;
    gap:8px 14px;
  }

  .order .order-date {
    grid-column:1;
  }

  .order .status {
    grid-column:2;
    grid-row:1;
    justify-self:end;
  }

  .order-actions {
    grid-column:2;
    grid-row:2;
  }

  .addresses {
    grid-template-columns:1fr;
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    transition:none!important;
  }
}

/* ==========================================================================
   Page: buyrc-admin-panel
   ========================================================================== */
.app {
  min-height:100vh;
  display:grid;
  grid-template-columns:248px 1fr;
}

.sidebar {
  background:var(--ink);
  color:var(--paper);
  padding:26px 16px;
  display:flex;
  flex-direction:column;
  position:sticky;
  top:0;
  height:100vh;
}

.brand {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:1.35rem;
  font-weight:800;
  letter-spacing:-.07em;
  padding:0 12px 33px;
}

.admin-tag {
  font:500 .63rem var(--mono);
  letter-spacing:.12em;
  text-transform:uppercase;
  color:oklch(72% .03 70);
  padding:0 12px 12px;
}

.admin-nav {
  display:flex;
  flex-direction:column;
  gap:2px;
}

.admin-nav a,
.admin-nav button {
  color:oklch(76% .025 70);
  background:transparent;
  padding:11px 12px;
  border-radius:9px;
  text-align:left;
  display:flex;
  align-items:center;
  gap:11px;
  font-size:.78rem;
  transition:.2s;
  text-decoration:none;
}

.admin-nav a:hover,
.admin-nav button:hover {
  background:oklch(30% .02 70);
  color:var(--paper);
}

.admin-nav a.active,
.admin-nav button.active {
  background:var(--lime);
  color:var(--ink);
  font-weight:800;
}

.admin-nav i, .admin-nav svg {
  width:16px;
  height:16px;
  display:inline-block;
  flex-shrink:0;
}

.nav-section {
  font:500 .62rem var(--mono);
  letter-spacing:.1em;
  text-transform:uppercase;
  color:oklch(58% .03 70);
  padding:22px 12px 7px;
}

.side-footer {
  margin-top:auto;
  border-top:1px solid okLCH(36% .02 70);
  padding:18px 12px 0;
  display:flex;
  align-items:center;
  gap:10px;
}

.avatar {
  width:32px;
  height:32px;
  border-radius:50%;
  background:var(--orange);
  color:var(--paper);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
  text-align:center;
  font-weight:800;
  flex-shrink:0;
  letter-spacing:normal;
  text-indent:0;
  padding:0;
  margin:0;
}

.side-footer b {
  font-size:.75rem;
}

.side-footer span {
  display:block;
  color:oklch(68% .03 70);
  font-size:.65rem;
}

.admin-main {
  min-width:0;
  background:#ffffff;
}

.topbar {
  position:sticky;
  top:0;
  z-index:100;
  height:77px;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 38px;
  background:var(--paper);
}

.crumb {
  font:500 .68rem var(--mono);
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
}

.top-actions {
  display:flex;
  align-items:center;
  gap:10px;
}

.search {
  height:38px;
  width:220px;
  border:1px solid var(--line);
  border-radius:9px;
  background:var(--paper);
  padding:0 12px 0 35px;
  color:var(--ink);
  font-size:.75rem;
}

.search-wrap {
  position:relative;
}

.search-wrap svg {
  position:absolute;
  left:12px;
  top:11px;
  color:var(--muted);
}

.dot {
  position:absolute;
  right:5px;
  top:5px;
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--orange);
}

.profile {
  display:flex;
  align-items:center;
  gap:8px;
  padding-left:11px;
  border-left:1px solid var(--line);
}

.profile .avatar {
  width:30px;
  height:30px;
  font-size:.72rem;
}

.profile span {
  font-size:.72rem;
  font-weight:800;
}

.content {
  padding:39px 38px 70px;
  max-width:1540px;
  margin:0 auto;
}

.page-head {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:25px;
  margin-bottom:29px;
}

.page-head h1 {
  font-size:2.6rem;
  line-height:.92;
  letter-spacing:-.03em;
  margin:11px 0 6px;
  white-space:nowrap;
}

.page-head p {
  color:var(--muted);
  font-size:.78rem;
  margin:0;
}

.head-actions {
  display:flex;
  gap:9px;
}

.btn {
  height:40px;
  border-radius:9px;
  padding:0 14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  font-weight:800;
  font-size:.74rem;
}

.btn-primary {
  background:var(--ink);
  color:var(--paper);
}

.btn-primary:hover {
  background:var(--blue);
}

.btn-quiet {
  background:var(--soft);
  color:var(--ink);
}

.btn-quiet:hover {
  background:var(--line);
}

.metrics {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:13px;
  margin-bottom:27px;
}

.metric {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:15px;
  padding:20px 19px;
  position:relative;
  overflow:hidden;
}

.metric:first-child {
  background:var(--lime);
  border-color:var(--lime);
}

.metric:nth-child(3) {
  background:var(--blue);
  color:var(--paper);
  border-color:var(--blue);
}

.metric .label {
  font:500 .65rem var(--mono);
  letter-spacing:.08em;
  text-transform:uppercase;
  opacity:.7;
}

.metric strong {
  display:block;
  font-size:1.82rem;
  letter-spacing:-.07em;
  line-height:1;
  margin:14px 0 8px;
  font-variant-numeric:tabular-nums;
}

.metric small {
  font-size:.68rem;
  color:var(--muted);
}

.metric:first-child small,.metric:nth-child(3) small {
  color:inherit;
  opacity:.75;
}

.trend {
  font:500 .65rem var(--mono);
  color:var(--blue);
}

.trend.down {
  color:var(--red);
}

.grid-main {
  display:grid;
  grid-template-columns:1.3fr .7fr;
  gap:15px;
  margin-bottom:15px;
}

.panel {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:15px;
  padding:22px;
}

.panel-head {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:19px;
}

.panel-head h2 {
  font-size:1.04rem;
  letter-spacing:-.04em;
  margin:0;
}

.panel-head p {
  font-size:.68rem;
  color:var(--muted);
  margin:4px 0 0;
}

.select {
  height:32px;
  border:1px solid var(--line);
  background:var(--paper);
  border-radius:7px;
  padding:0 8px;
  font-size:.68rem;
  color:var(--ink);
}

.chart {
  height:230px;
  display:flex;
  align-items:end;
  gap:13px;
  padding:15px 4px 0;
  border-bottom:1px solid var(--line);
  background:repeating-linear-gradient(to bottom,transparent 0,transparent 56px,oklch(86% .025 80 / .55) 57px);
}

.bar-col {
  flex:1;
  height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:end;
  gap:9px;
}

.bar {
  width:min(36px,68%);
  height:var(--h);
  border-radius:5px 5px 0 0;
  background:var(--blue);
  transition:transform .2s var(--ease);
  position:relative;
}

.bar:hover {
  transform:translateY(-4px);
  background:var(--orange);
}

.bar:nth-child(3n) {
  background:var(--lime);
}

.bar-label {
  font:500 .6rem var(--mono);
  color:var(--muted);
}

.chart-legend {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:14px;
  font-size:.68rem;
  color:var(--muted);
}

.legend-dot {
  display:inline-block;
  width:8px;
  height:8px;
  background:var(--blue);
  border-radius:2px;
  margin-right:5px;
}

.legend-dot.lime {
  background:var(--lime);
}

.category-list {
  display:grid;
  gap:14px;
}

.cat-row {
  display:grid;
  grid-template-columns:1fr auto;
  gap:8px;
  font-size:.74rem;
}

.cat-row strong {
  font:500 .72rem var(--mono);
}

.meter {
  height:7px;
  border-radius:9px;
  background:var(--soft);
  grid-column:1/-1;
  overflow:hidden;
}

.meter span {
  display:block;
  height:100%;
  background:var(--orange);
  border-radius:9px;
}

.cat-row:nth-child(2) .meter span {
  background:var(--blue);
}

.cat-row:nth-child(3) .meter span {
  background:var(--lime);
}

.cat-row:nth-child(4) .meter span {
  background:var(--ink);
}

.lower {
  display:grid;
  grid-template-columns:1.3fr .7fr;
  gap:15px;
}

.table {
  width:100%;
  border-collapse:collapse;
}

.table th {
  text-align:left;
  color:var(--muted);
  font:500 .62rem var(--mono);
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:0 8px 12px 0;
}

.table td {
  border-top:1px solid var(--line);
  padding:13px 8px 13px 0;
  font-size:.72rem;
  vertical-align:middle;
}

.table td:last-child,.table th:last-child {
  text-align:right;
  padding-right:0;
}

.order-id {
  font:500 .68rem var(--mono);
}

.customer {
  display:flex;
  align-items:center;
  gap:8px;
}

.customer .avatar {
  width:25px;
  height:25px;
  font-size:.58rem;
  background:var(--soft);
  color:var(--ink);
}

.customer b {
  font-size:.72rem;
}

.customer span {
  display:block;
  color:var(--muted);
  font-size:.63rem;
}

.status {
  display:inline-block;
  border-radius:99px;
  padding:5px 8px;
  background:var(--lime);
  font:500 .59rem var(--mono);
  text-transform:uppercase;
  letter-spacing:.04em;
}

.status.orange {
  background:var(--orange);
  color:var(--paper);
}

.status.gray {
  background:var(--soft);
  color:var(--muted);
}

.status.blue {
  background:var(--blue);
  color:var(--paper);
}

.status.red {
  background:oklch(58% 0.22 27);
  color:var(--paper);
}

.status.green {
  background:var(--lime);
  color:var(--ink);
}

.activity {
  display:grid;
  gap:19px;
}

.activity-item {
  display:grid;
  grid-template-columns:27px 1fr;
  gap:10px;
  position:relative;
  font-size:.71rem;
}

.activity-item:not(:last-child):after {
  content:'';
  position:absolute;
  left:13px;
  top:27px;
  height:27px;
  width:1px;
  background:var(--line);
}

.activity-icon {
  width:27px;
  height:27px;
  border-radius:50%;
  background:var(--soft);
  display:grid;
  place-items:center;
}

.activity-item:nth-child(2) .activity-icon {
  background:var(--lime);
}

.activity-item:nth-child(3) .activity-icon {
  background:var(--orange);
}

.activity-item p {
  margin:1px 0 3px;
}

.activity-item small {
  color:var(--muted);
  font:500 .6rem var(--mono);
}

.module-strip {
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:11px;
  margin-top:15px;
}

.module {
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:12px;
  padding:14px 13px;
  display:flex;
  align-items:center;
  gap:9px;
  font-size:.71rem;
  transition:.2s;
}

.module:hover {
  background:var(--soft);
  transform:translateY(-2px);
}

.module svg {
  color:var(--blue);
}

.drawer {
  position:fixed;
  inset:0;
  background:oklch(22% .018 70 / .35);
  display:none;
  align-items:flex-start;
  justify-content:flex-end;
  z-index:4;
}

.drawer.open {
  display:flex;
}

.drawer-card {
  width:min(430px,100%);
  height:100%;
  background:var(--paper);
  padding:27px;
  box-shadow:-20px 0 50px oklch(22% .018 70 / .18);
}

.drawer-head {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:28px;
}

.drawer-head h2 {
  font-size:1.7rem;
  letter-spacing:-.07em;
  margin:0;
}

.close {
  background:var(--soft);
  border-radius:50%;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
}

.drawer-form {
  display:grid;
  gap:14px;
}

.drawer-form label {
  font:500 .64rem var(--mono);
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.08em;
}

.drawer-form input,.drawer-form select {
  height:45px;
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:8px;
  padding:0 11px;
  color:var(--ink);
}

.drawer-form button {
  height:46px;
  border-radius:9px;
  background:var(--ink);
  color:var(--paper);
  font-weight:800;
  margin-top:8px;
}

@media(max-width:1100px) {
  .metrics {
    grid-template-columns:repeat(2,1fr);
  }

  .grid-main,.lower {
    grid-template-columns:1fr;
  }

  .module-strip {
    grid-template-columns:repeat(3,1fr);
  }
}

@media(max-width:760px) {
  .app {
    display:block;
  }

  .sidebar {
    height:100vh;
    overflow-y:auto;
  }

  .brand {
    padding:0 8px 15px;
  }

  .admin-tag {
    display:block;
  }

  .side-footer {
    display:flex;
  }

  .nav-section {
    display:block;
  }

  .admin-nav {
    flex-direction:column;
    overflow:visible;
    gap:2px;
  }

  .topbar {
    height:66px;
    padding:0 16px 0 64px;
  }

  .crumb {
    display:none;
  }

  .search {
    width:130px;
  }

  .profile span {
    display:none;
  }

  .top-actions {
    margin-left:auto;
  }

  .content {
    padding:27px 12px 50px;
  }

  .page-head {
    display:block;
  }

  .page-head h1 {
    font-size:2.35rem;
    white-space:normal;
  }

  .head-actions {
    margin-top:19px;
  }

  .metrics {
    gap:9px;
  }

  .metric {
    padding:16px 14px;
  }

  .metric strong {
    font-size:1.45rem;
  }

  .module-strip {
    grid-template-columns:repeat(2,1fr);
  }

  /* --- Table responsive: horizontal scroll wrapper --- */
  .panel {
    padding:16px;
    overflow:hidden;
  }
  .panel-table {
    display:block;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    white-space:nowrap;
  }
  .panel-table thead, .panel-table tbody {
    display:table;
    width:100%;
    table-layout:auto;
  }

  /* --- Grid: single column on mobile --- */
  .grid-main {
    grid-template-columns:1fr !important;
  }

  /* --- Drawer: full width on mobile --- */
  .drawer-card {
    width:100%;
    padding:20px;
  }

  /* --- Search: hide on very small screens, show icon --- */
  .search-wrap {
    display:none;
  }

  /* --- Panel head: stack vertically --- */
  .panel-head {
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
  }

  /* --- Two-column grids in pages: stack --- */
  .content > [style*="grid-template-columns"] {
    grid-template-columns:1fr !important;
  }

  /* --- Forms inside panels: stack --- */
  .drawer-form [style*="grid-template-columns"] {
    grid-template-columns:1fr !important;
  }

  /* --- Overview chart: smaller bars --- */
  .chart {
    gap:4px;
    overflow-x:auto;
  }
  .bar {
    width:60%;
  }

  /* --- Settings: stack the two columns --- */
  .grid-main > div[style*="repeat(2, 1fr)"] {
    grid-template-columns:1fr !important;
  }
}

@media(max-width:480px) {
  .metrics {
    grid-template-columns:1fr 1fr;
  }

  .metric small {
    font-size:.6rem;
  }

  .panel {
    padding:14px;
  }

  .chart {
    gap:7px;
  }

  .bar {
    width:65%;
  }

  /* Hide less critical table columns on very small screens */
  .table th:nth-child(3),.table td:nth-child(3) {
    display:none;
  }

  .module-strip {
    grid-template-columns:1fr 1fr;
  }

  .top-actions .icon-btn {
    display:none;
  }

  /* Hide even more columns at 480px for 7-col tables */
  .table th:nth-child(4),.table td:nth-child(4) {
    display:none;
  }
}

/* ==========================================================================
   Page: buyrc-cart-page
   ========================================================================== */
.main {
  padding:58px 0 90px;
}

.crumb {
  color:var(--muted);
  font-size:.75rem;
  margin-bottom:23px;
}

.crumb a {
  text-decoration:underline;
  text-underline-offset:4px;
}

.head {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:20px;
  margin-bottom:38px;
}

.head h1 {
  font-size:clamp(3rem,6vw,5.6rem);
  line-height:1.2;
  letter-spacing:-.03em;
  margin:13px 0 0;
}

.head p {
  color:var(--muted);
  max-width:27ch;
  font-size:.82rem;
  margin:0;
}

.cart-layout {
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:72px;
}

.cart-list {
  border-top:1px solid var(--line);
}

.cart-item {
  display:grid;
  grid-template-columns:120px 1fr auto;
  gap:18px;
  align-items:center;
  padding:22px 0;
  border-bottom:1px solid var(--line);
  transition:opacity .3s,transform .3s;
}

.cart-item.removing {
  opacity:0;
  transform:translateX(-12px);
}

.product-image {
  width:120px;
  height:116px;
  border-radius:18px;
  background:var(--item-bg);
  display:grid;
  place-items:center;
  position:relative;
  overflow:hidden;
}

.product-image:before {
  content:'';
  position:absolute;
  width:92px;
  height:92px;
  border-radius:50%;
  background:var(--item-accent);
}

.mini-car {
  width:82px;
  height:41px;
  background:var(--item-car);
  border:4px solid var(--ink);
  border-radius:20px 28px 9px 9px;
  transform:rotate(-7deg);
  position:relative;
  z-index:1;
}

.mini-car:before {
  content:'';
  position:absolute;
  left:27px;
  top:-22px;
  width:43px;
  height:27px;
  border-radius:23px 23px 3px 3px;
  background:var(--ink);
  transform:skewX(-12deg);
}

.mini-car:after {
  content:'';
  position:absolute;
  left:7px;
  right:7px;
  bottom:-18px;
  height:26px;
  border-radius:50%;
  border:5px solid var(--paper);
  background:var(--ink);
  box-shadow:52px 0 0 -5px var(--ink),52px 0 0 0 var(--paper);
}

.item-info h3 {
  font-size:1rem;
  letter-spacing:-.04em;
  margin:0 0 5px;
}

.item-info p {
  color:var(--muted);
  font-size:.75rem;
  margin:0 0 13px;
}

.item-meta {
  font:500 .75rem var(--mono);
}

.old {
  text-decoration:line-through;
  color:var(--muted);
  font-size:.68rem;
  margin-right:8px;
}

.quantity {
  display:flex;
  align-items:center;
  border:1px solid var(--line);
  border-radius:99px;
  width:max-content;
  height:37px;
  margin-top:14px;
}

.quantity button {
  width:34px;
  height:100%;
  background:transparent;
  font-size:1rem;
}

.quantity span {
  width:24px;
  text-align:center;
  font:500 .75rem var(--mono);
}

.item-total {
  text-align:right;
  align-self:start;
  padding-top:4px;
}

.item-total strong {
  display:block;
  font:500 .84rem var(--mono);
}

.remove {
  background:none;
  color:var(--muted);
  font-size:.7rem;
  text-decoration:underline;
  text-underline-offset:4px;
  margin-top:14px;
}

.remove:hover {
  color:var(--orange);
}

.continue {
  display:inline-flex;
  gap:8px;
  margin-top:25px;
  font-size:.78rem;
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:4px;
}

.summary {
  background:#ffffff;
  border-radius:24px;
  padding:30px;
  align-self:start;
  position:sticky;
  top:20px;
}

.summary h2 {
  font-size:1.8rem;
  line-height:1.25;
  letter-spacing:-.03em;
  margin:0 0 24px;
}

.summary-row {
  display:flex;
  justify-content:space-between;
  gap:15px;
  font-size:.8rem;
  padding:9px 0;
}

.summary-row span:last-child {
  font-family:var(--mono);
  font-size:.75rem;
}

.shipping {
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  margin:12px 0;
  padding:12px 0;
}

.shipping label {
  display:flex;
  gap:10px;
  align-items:flex-start;
  font-size:.76rem;
}

.shipping input {
  accent-color:var(--ink);
  margin-top:3px;
}

.shipping small {
  display:block;
  color:var(--muted);
  font-size:.68rem;
  margin-top:3px;
}

.total {
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  padding:16px 0 20px;
}

.total span:first-child {
  font-weight:800;
}

.total span:last-child {
  font:500 1.25rem var(--mono);
}

.checkout {
  width:100%;
  height:54px;
  border-radius:99px;
  background:var(--ink);
  color:var(--paper);
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  box-shadow:0 7px 0 var(--lime);
  transition:.25s var(--ease);
}

.checkout:hover {
  transform:translateY(-3px);
  box-shadow:0 10px 0 var(--lime);
}

.secure {
  display:flex;
  justify-content:center;
  gap:7px;
  color:var(--muted);
  font-size:.68rem;
  margin-top:17px;
}

.coupon {
  display:flex;
  gap:8px;
  margin-top:22px;
}

.coupon input {
  min-width:0;
  flex:1;
  height:42px;
  border:1px solid var(--line);
  border-radius:9px;
  background:var(--paper);
  padding:0 12px;
  color:var(--ink);
}

.coupon button {
  height:42px;
  border:1px solid var(--line);
  border-radius:9px;
  background:var(--paper);
  padding:0 14px;
  font-size:.74rem;
  font-weight:800;
}

.coupon button:hover {
  background:var(--ink);
  color:var(--paper);
}

.empty {
  display:none;
  text-align:center;
  padding:70px 20px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.empty h2 {
  font-size:2rem;
  letter-spacing:-.07em;
  margin:14px 0 8px;
}

.empty p {
  color:var(--muted);
  font-size:.82rem;
}

.shop-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  margin-top:17px;
  min-height:53px;
  padding:0 20px;
  background:var(--ink);
  color:var(--paper);
  border-radius:99px;
  font-weight:800;
  font-size:1rem;
  box-shadow:0 7px 0 var(--lime);
  transition:.25s var(--ease);
}

.shop-btn:hover {
  transform:translateY(-3px);
  box-shadow:0 10px 0 var(--lime);
}

.trust {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
  border-top:1px solid var(--line);
  margin-top:70px;
  padding-top:25px;
}

.trust-item {
  display:flex;
  gap:10px;
  padding-right:22px;
  border-right:1px solid var(--line);
}

.trust-item:not(:first-child) {
  padding-left:22px;
}

.trust-item:last-child {
  border:0;
}

.trust-icon {
  width:32px;
  height:32px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--lime);
  flex:0 0 32px;
}

.trust-item:nth-child(2) .trust-icon {
  background:var(--orange);
}

.trust-item:nth-child(3) .trust-icon {
  background:var(--blue);
  color:var(--paper);
}

.trust b {
  display:block;
  font-size:.78rem;
}

.trust span {
  display:block;
  color:var(--muted);
  font-size:.7rem;
  margin-top:2px;
}

@media(max-width:900px) {
  .cart-layout {
    grid-template-columns:1fr;
    gap:46px;
  }

  .summary {
    position:static;
  }

  .head {
    display:block;
  }

  .head p {
    margin-top:16px;
  }
}

@media(max-width:560px) {
  .navtools .circle:first-child {
    display:none;
  }

  .main {
    padding-top:42px;
  }

  .cart-item {
    grid-template-columns:82px 1fr auto;
    gap:12px;
  }

  .product-image {
    width:82px;
    height:88px;
    border-radius:13px;
  }

  .product-image:before {
    width:68px;
    height:68px;
  }

  .mini-car {
    transform:scale(.72) rotate(-7deg);
  }

  .item-info h3 {
    font-size:.88rem;
  }

  .item-info p {
    font-size:.68rem;
  }

  .item-total strong {
    font-size:.72rem;
  }

  .summary {
    padding:24px 20px;
  }

  .trust {
    grid-template-columns:1fr;
    gap:17px;
  }

  .trust-item,.trust-item:not(:first-child) {
    padding:0;
    border:0;
  }
}

/* ==========================================================================
   Page: buyrc-category-shop-page
   ========================================================================== */
.main {
  padding:54px 0 90px;
}

.hero {
  display:grid;
  grid-template-columns:1fr .7fr;
  align-items:end;
  gap:30px;
  padding:14px 0 48px;
}

.hero h1 {
  font-size:clamp(3.5rem,7vw,7rem);
  line-height:.86;
  letter-spacing:-.1em;
  margin:16px 0 0;
  max-width:8ch;
}

.hero h1 em {
  font-style:normal;
  color:var(--orange);
}

.hero p {
  color:var(--muted);
  font-size:.9rem;
  max-width:35ch;
  margin:0 0 4px;
}

.category-rail {
  display:grid;
  grid-template-columns:1.15fr repeat(3,1fr);
  gap:14px;
  padding-bottom:54px;
}

.category {
  height:170px;
  border-radius:21px;
  padding:21px;
  position:relative;
  overflow:hidden;
  background:var(--card-bg);
  transition:transform .3s var(--ease);
}

.category:hover {
  transform:translateY(-5px);
}

.category h3 {
  position:relative;
  z-index:2;
  font-size:1.3rem;
  line-height:.95;
  letter-spacing:-.07em;
  margin:6px 0;
}

.category p {
  position:relative;
  z-index:2;
  color:oklch(22% .018 70 / .7);
  font-size:.7rem;
  max-width:18ch;
  margin:0;
}

.category .circle-art {
  position:absolute;
  width:150px;
  height:150px;
  border-radius:50%;
  right:-34px;
  bottom:-48px;
  object-fit:cover;
  z-index:0;
}

.category:first-child {
  --card-bg:var(--lime);
  --art:var(--orange);
  --toy:var(--ink);
}

.category:nth-child(2) {
  --card-bg:var(--lime);
  --art:var(--orange);
  --toy:var(--ink);
}

.category:nth-child(3) {
  --card-bg:var(--lime);
  --art:var(--orange);
  --toy:var(--ink);
}

.category:nth-child(4) {
  --card-bg:var(--lime);
  --art:var(--orange);
  --toy:var(--ink);
}

.category:nth-child(5) {
  --card-bg:var(--lime);
  --art:var(--orange);
  --toy:var(--ink);
}

.catalog-head {
  border-top:1px solid var(--line);
  padding-top:29px;
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:23px;
}

.catalog-head h2 {
  font-size:clamp(2rem,4vw,3.6rem);
  line-height:.94;
  letter-spacing:-.08em;
  margin:11px 0 0;
}

.catalog-head p {
  color:var(--muted);
  font-size:.8rem;
  max-width:29ch;
  margin:0;
}

.catalog-tools {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:26px;
}

.filters {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.filter {
  padding:9px 14px;
  border:1px solid var(--line);
  border-radius:99px;
  background:transparent;
  color:var(--muted);
  font-size:.75rem;
  transition:.2s;
}

.filter:hover,.filter.active {
  background:var(--ink);
  border-color:var(--ink);
  color:var(--paper);
}

.sort {
  height:39px;
  border:1px solid var(--line);
  border-radius:9px;
  background:var(--paper);
  padding:0 10px;
  color:var(--ink);
  font-size:.75rem;
}

.catalog {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:26px 17px;
}

.product {
  position:relative;
  min-width:0;
  animation:rise .45s var(--ease) both;
}

.product-media {
  height:270px;
  border-radius:20px;
  background:var(--media-bg);
  position:relative;
  display:grid;
  place-items:center;
  overflow:hidden;
  transition:transform .3s var(--ease);
}

.product:hover .product-media {
  transform:translateY(-5px);
}

.product-media:before {
  content:'';
  position:absolute;
  width:185px;
  height:185px;
  border-radius:50%;
  background:var(--disc);
}

.toy {
  width:70%;
  height:78px;
  background:var(--toy);
  border:5px solid var(--ink);
  border-radius:34px 48px 15px 15px;
  transform:rotate(-7deg);
  position:relative;
  z-index:1;
  filter:drop-shadow(0 14px 8px oklch(22% .018 70 / .18));
}

.toy:before {
  content:'';
  position:absolute;
  width:100px;
  height:48px;
  background:var(--ink);
  border-radius:46px 46px 4px 4px;
  left:31%;
  top:-37px;
  transform:skewX(-12deg);
}

.toy:after {
  content:'';
  position:absolute;
  width:79px;
  height:29px;
  background:var(--glass);
  border-radius:38px 38px 3px 3px;
  left:37%;
  top:-31px;
  transform:skewX(-12deg);
}

.tire {
  position:absolute;
  width:43px;
  height:43px;
  border-radius:50%;
  background:var(--ink);
  border:7px solid var(--paper);
  bottom:-28px;
}

.tire:after {
  content:'';
  position:absolute;
  inset:11px;
  border-radius:50%;
  background:var(--lime);
}

.tire:first-child {
  left:20px;
}

.tire:last-child {
  right:20px;
}

.badge {
  position:absolute;
  left:12px;
  top:12px;
  background:var(--paper);
  border-radius:99px;
  padding:6px 9px;
  font:500 .61rem var(--mono);
  letter-spacing:.06em;
  text-transform:uppercase;
  z-index:2;
}

.heart {
  position:absolute;
  right:12px;
  top:12px;
  width:32px;
  height:32px;
  background:var(--paper);
  border-radius:50%;
  display:grid;
  place-items:center;
  z-index:2;
  transition:.2s;
}

.heart:hover {
  background:var(--orange);
  color:var(--paper);
}

.product-meta {
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:14px 2px 0;
}

.product-name {
  font-weight:800;
  line-height:1.1;
  font-size:.89rem;
}

.product-sub {
  font-size:.7rem;
  color:var(--muted);
  margin-top:5px;
}

.price {
  text-align:right;
  white-space:nowrap;
  font:500 .77rem var(--mono);
}

.old {
  display:block;
  color:var(--muted);
  font-size:.65rem;
  text-decoration:line-through;
  margin-bottom:3px;
}

.quick {
  position:absolute;
  left:50%;
  bottom:13px;
  transform:translate(-50%,12px);
  opacity:0;
  background:var(--ink);
  color:var(--paper);
  border-radius:99px;
  padding:8px 11px;
  font:500 .6rem var(--mono);
  letter-spacing:.09em;
  transition:.25s var(--ease);
  z-index:2;
}

.product:hover .quick {
  transform:translate(-50%,0);
  opacity:1;
}

@keyframes rise {
  from {
    opacity:0;
    transform:translateY(10px);
  }

  to {
    opacity:1;
    transform:translateY(0);
  }
}

@media(max-width:980px) {
  .catalog {
    grid-template-columns:repeat(3,1fr);
  }

  .category-rail {
    grid-template-columns:repeat(2,1fr);
  }

  .category:first-child {
    grid-column:span 2;
  }
}

@media(max-width:620px) {
  .tools .circle:first-child {
    display:none;
  }

  .main {
    padding-top:38px;
  }

  .hero {
    grid-template-columns:1fr;
    padding-bottom:35px;
  }

  .hero h1 {
    font-size:4.2rem;
  }

  .hero p {
    margin-top:19px;
  }

  .category-rail {
    grid-template-columns:1fr 1fr;
    gap:10px;
    padding-bottom:38px;
  }

  .category:first-child {
    grid-column:span 2;
    height:150px;
  }

  .category {
    height:140px;
    padding:16px;
  }

  .category h3 {
    font-size:1rem;
  }

  .category p {
    font-size:.65rem;
  }

  .category .circle-art {
    width:115px;
    height:115px;
    right:-31px;
    bottom:-39px;
  }

  .catalog-head {
    display:block;
  }

  .catalog-head p {
    margin-top:15px;
  }

  .catalog-tools {
    align-items:flex-start;
    flex-direction:column;
  }

  .sort {
    width:100%;
  }

  .catalog {
    grid-template-columns:1fr 1fr;
    gap:22px 11px;
  }

  .product-media {
    height:185px;
    border-radius:15px;
  }

  .product-media:before {
    width:126px;
    height:126px;
  }

  .toy {
    height:55px;
    border-width:4px;
  }

  .toy:before {
    width:68px;
    height:34px;
    top:-27px;
  }

  .toy:after {
    width:54px;
    height:21px;
    top:-22px;
  }

  .tire {
    width:32px;
    height:32px;
    border-width:5px;
    bottom:-21px;
  }

  .tire:after {
    inset:8px;
  }

  .tire:first-child {
    left:12px;
  }

  .tire:last-child {
    right:12px;
  }

  .product-meta {
    display:block;
  }

  .price {
    text-align:left;
    margin-top:8px;
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation:none!important;
    transition:none!important;
  }
}

/* ==========================================================================
   Page: buyrc-checkout-page
   ========================================================================== */
.secure-top svg {
  color:var(--blue);
}

.main {
  padding:48px 0 90px;
}

.steps {
  display:flex;
  gap:27px;
  align-items:center;
  margin-bottom:43px;
  color:var(--muted);
  font:500 .68rem var(--mono);
  letter-spacing:.07em;
  text-transform:uppercase;
}

.step {
  display:flex;
  align-items:center;
  gap:8px;
}

.step b {
  width:25px;
  height:25px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--soft);
  font-size:.65rem;
  color:var(--muted);
}

.step.active {
  color:var(--ink);
}

.step.active b {
  background:var(--lime);
  color:var(--ink);
}

.step.done b {
  background:var(--ink);
  color:var(--paper);
}

.step-line {
  height:1px;
  width:42px;
  background:var(--line);
}

.checkout-grid {
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:48px;
}

.headline h1 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin: 4px 0 6px;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .headline h1 {
    white-space: normal;
  }
}

.headline p {
  font-size: .88rem;
  color: var(--muted);
  margin: 0 0 24px;
}

.section {
  border-top:1px solid var(--line);
  padding:25px 0 30px;
}

.section-head {
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  margin-bottom:20px;
}

.section-head h2 {
  font-size:1.38rem;
  letter-spacing:-.06em;
  line-height:1;
  margin:0;
}

.section-head span {
  font-size:.7rem;
  color:var(--muted);
}

.form-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px 13px;
}

.field {
  display:grid;
  gap:7px;
}

.field.full {
  grid-column:1/-1;
}

.field label {
  font:500 .66rem var(--mono);
  letter-spacing:.09em;
  text-transform:uppercase;
  color:var(--muted);
}

.field input,.field select {
  height:48px;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--paper);
  color:var(--ink);
  padding:0 13px;
  width:100%;
  transition:border .2s,box-shadow .2s;
}

.field input:hover,.field select:hover {
  border-color:var(--muted);
}

.field input:focus,.field select:focus {
  border-color:var(--ink);
  box-shadow:0 0 0 3px var(--lime);
  outline:0;
}

.checkline {
  display:flex;
  align-items:flex-start;
  gap:9px;
  font-size:.76rem;
  color:var(--muted);
  margin-top:17px;
}

.checkline input {
  accent-color:var(--ink);
  margin-top:3px;
}

.payment-options {
  display:grid;
  gap:9px;
}

.payment-option {
  border:1px solid var(--line);
  border-radius:12px;
  padding:15px;
  display:flex;
  align-items:center;
  gap:11px;
  cursor:pointer;
  transition:.2s;
}

.payment-option:hover {
  background:var(--soft);
}

.payment-option.selected {
  border-color:var(--ink);
  background:var(--soft);
}

.payment-option input {
  accent-color:var(--ink);
}

.payment-icon {
  width:28px;
  height:28px;
  border-radius:7px;
  background:var(--ink);
  color:var(--paper);
  display:grid;
  place-items:center;
  font:500 .68rem var(--mono);
}

.payment-option:nth-child(2) .payment-icon {
  background:var(--orange);
}

.payment-option:nth-child(3) .payment-icon {
  background:var(--blue);
}

.payment-copy {
  font-size:.79rem;
  font-weight:800;
}

.payment-copy small {
  display:block;
  font-size:.68rem;
  color:var(--muted);
  font-weight:400;
  margin-top:2px;
}

.card-fields {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:13px;
  margin-top:16px;
}

.card-fields .full {
  grid-column:1/-1;
}

.security-note {
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-size:.7rem;
  margin-top:16px;
}

.order-card {
  background:var(--cream);
  border-radius:24px;
  background:#FFFFFF;
  border:1px solid rgba(0,0,0,0.08);
  box-shadow:0 16px 40px -8px rgba(0,0,0,0.05), 0 4px 12px rgba(0,0,0,0.02);
  border-radius:20px;
  padding:24px;
  align-self:start;
  position:sticky;
  top:24px;
}

.order-card h2 {
  font-size:1.25rem;
  font-weight:800;
  line-height:1.2;
  letter-spacing:-.02em;
  margin:0 0 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:var(--ink);
}

.order-product {
  display:flex;
  gap:12px;
  align-items:center;
  padding:12px 0;
  border-bottom:1px solid var(--line);
}

.order-product:last-child {
  border-bottom:none;
}

.product-art {
  width:56px;
  height:56px;
  border-radius:12px;
  background:#FAF9F5;
  border:1px solid var(--line);
  display:grid;
  place-items:center;
  position:relative;
  overflow:hidden;
  flex-shrink:0;
}

/* The decorative orange disc (.product-art:before) was removed so real
   product image thumbnails show cleanly without an orange circle
   bleeding through behind them. */

.mini-car {
  width:53px;
  height:27px;
  background:var(--blue);
  border:3px solid var(--ink);
  border-radius:14px 20px 6px 6px;
  transform:rotate(-7deg);
  position:relative;
  z-index:1;
}

.mini-car:before {
  content:'';
  position:absolute;
  width:28px;
  height:18px;
  background:var(--ink);
  border-radius:15px 15px 2px 2px;
  left:15px;
  top:-15px;
}

.product-copy {
  flex:1;
  min-width:0;
}

.product-copy b {
  font-size:.85rem;
  font-weight:700;
  color:var(--ink);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  display:block;
}

.product-copy span {
  display:inline-block;
  color:var(--muted);
  font-size:.72rem;
  margin-top:3px;
  font-weight:600;
}

.product-price {
  font-size:.92rem;
  font-weight:700;
  color:var(--ink);
}

.order-card .summary {
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:12px 0;
  margin:14px 0 6px;
}

.sum-row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:.82rem;
  padding:6px 0;
  color:var(--muted);
  font-weight:500;
}

.sum-row span:last-child {
  font-size:.85rem;
  font-weight:700;
  color:var(--ink);
}

.discount {
  color:#16a34a;
}

.discount span:last-child {
  color:#16a34a;
}

.total {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 0 18px;
}

.total b {
  font-size:.95rem;
  font-weight:800;
  color:var(--ink);
}

.total strong {
  font-size:1.45rem;
  font-weight:900;
  color:var(--ink);
  letter-spacing:-.02em;
}

.place-order {
  width:100%;
  height:54px;
  border-radius:99px;
  background:var(--ink);
  color:var(--paper);
  font-weight:800;
  box-shadow:0 7px 0 var(--lime);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  transition:.25s var(--ease);
}

.place-order:hover {
  transform:translateY(-3px);
  box-shadow:0 10px 0 var(--lime);
}

.place-order:disabled {
  opacity:.55;
  cursor:not-allowed;
  transform:none;
  box-shadow:none;
}

.safe {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  color:var(--muted);
  font-size:.73rem;
  font-weight:600;
  margin-top:14px;
  padding:10px;
  background:#FAF9F5;
  border-radius:10px;
  border:1px solid var(--line);
}

.coupon {
  display:flex;
  gap:6px;
  background:#FAF9F5;
  border:1px solid var(--line);
  border-radius:12px;
  padding:4px 4px 4px 12px;
  transition:border-color 0.2s;
}

.coupon:focus-within {
  border-color:var(--ink);
}

.coupon input {
  min-width:0;
  flex:1;
  height:38px;
  border:none;
  background:transparent;
  padding:0;
  color:var(--ink);
  font-size:.82rem;
  font-weight:600;
  outline:none;
}

.coupon button {
  height:38px;
  border:none;
  border-radius:8px;
  background:var(--ink);
  color:#FFFFFF;
  padding:0 16px;
  font-size:.78rem;
  font-weight:700;
  cursor:pointer;
  transition:opacity 0.2s, transform 0.1s;
}

.coupon button:hover {
  opacity:0.9;
}

.success {
  display:none;
  text-align:center;
  padding:55px 20px;
}

.success.show {
  display:block;
}

.success-icon {
  width:70px;
  height:70px;
  border-radius:50%;
  background:var(--lime);
  display:grid;
  place-items:center;
  margin:0 auto 23px;
}

.success h2 {
  font-size:2.5rem;
  line-height:.95;
  letter-spacing:-.08em;
  margin:0 0 11px;
}

.success p {
  color:var(--muted);
  font-size:.84rem;
  max-width:36ch;
  margin:0 auto 23px;
}

.back-shop {
  display:inline-flex;
  background:var(--ink);
  color:var(--paper);
  border-radius:99px;
  padding:13px 18px;
  font-size:.78rem;
  font-weight:800;
}

@media(max-width:900px) {
  .checkout-grid {
    grid-template-columns:1fr;
    gap:45px;
  }

  .order-card {
    position:static;
  }
}

@media(max-width:560px) {
  .steps {
    gap:8px;
    margin-bottom:33px;
  }

  .step-line {
    width:16px;
  }

  .step span {
    display:none;
  }

  .form-grid,.card-fields {
    grid-template-columns:1fr;
  }

  .field.full,.card-fields .full {
    grid-column:auto;
  }

  .main {
    padding-top:35px;
  }

  .headline h1 {
    font-size:3.5rem;
  }

  .order-card {
    padding:23px;
  }
}

/* ==========================================================================
   Page: index
   ========================================================================== */
.hero {
  padding:74px 0 50px;
  display:grid;
  grid-template-columns:1.02fr .98fr;
  gap:52px;
  align-items:center;
}

.hero-copy {
  padding-left: 0;
}

.hero h1 {
  font-size:clamp(3.6rem,7.2vw,7rem);
  line-height:.88;
  letter-spacing:-.085em;
  margin:18px 0 28px;
  max-width:720px;
  text-wrap:balance;
}

.hero .hero-lede {
  color:var(--muted);
  font-size:1.05rem;
  max-width:48ch;
  margin:0 0 32px;
}

.hero-actions {
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
}

.btn {
  min-height:53px;
  padding:0 20px;
  border-radius:99px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  font-weight:800;
  font-size:1rem;
  transition:transform .25s var(--ease),background .2s ease,box-shadow .2s ease;
}

.btn:hover {
  transform:translateY(-3px);
}

.btn-primary {
  background:var(--ink);
  color:var(--paper);
  box-shadow:0 7px 0 var(--lime);
}

.btn-primary:hover {
  box-shadow:0 10px 0 var(--lime);
}

.btn-quiet {
  background:transparent;
  color:var(--ink);
  border:1px solid var(--line);
  box-shadow:none;
}

.btn-quiet:hover {
  background:var(--paper-2);
  box-shadow:none;
}

.hero-note {
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:34px;
  color:var(--muted);
  font-size:.82rem;
}

.note-avatars {
  display:flex;
}

.note-avatars span {
  width:24px;
  height:24px;
  border-radius:50%;
  border:2px solid var(--paper);
  margin-left:-6px;
  display:grid;
  place-items:center;
  font-size:.65rem;
  font-weight:800;
}

.note-avatars span:first-child {
  margin-left:0;
  background:var(--blue);
  color:var(--paper);
}

.note-avatars span:nth-child(2) {
  background:var(--orange);
  color:var(--paper);
}

.note-avatars span:nth-child(3) {
  background:var(--lime);
  color:var(--ink);
}

.hero-art {
  position:relative;
  min-height:470px;
  background:var(--cream);
  overflow:hidden;
  border-radius:32px;
  display:grid;
  place-items:center;
  isolation:isolate;
}

.hero-art img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.hero-art:before {
  content:'RACE / PLAY / REPEAT';
  position:absolute;
  right:26px;
  top:25px;
  font:500 .68rem var(--mono);
  letter-spacing:.1em;
  color:var(--muted);
  writing-mode:vertical-rl;
  z-index:1;
}

.sun {
  position:absolute;
  width:270px;
  height:270px;
  border-radius:50%;
  background:var(--lime);
  top:-68px;
  right:3%;
  z-index:-1;
}

.marquee {
  border-top:1px solid var(--ink);
  border-bottom:1px solid var(--ink);
  padding:13px 0;
  overflow:hidden;
  white-space:nowrap;
  font:500 .74rem var(--mono);
  letter-spacing:.12em;
  text-transform:uppercase;
}

.marquee-track {
  display:inline-flex;
  gap:26px;
  animation:marquee 24s linear infinite;
}

.marquee i {
  font-style:normal;
  color:var(--orange);
}

@keyframes marquee {
  to {
    transform:translateX(-50%);
  }
}

.section {
  padding:88px 0;
}

.section-head {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:20px;
  margin-bottom:30px;
}

.section-head h2 {
  font-size:clamp(2rem,4vw,3.5rem);
  line-height:.98;
  letter-spacing:-.07em;
  margin:11px 0 0;
  text-wrap:balance;
}

.section-head p {
  max-width:33ch;
  color:var(--muted);
  font-size:.9rem;
  margin:0;
}

.category-row {
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  margin-bottom:34px;
}

.filter {
  padding:10px 15px;
  border:1px solid var(--line);
  border-radius:999px;
  background:transparent;
  color:var(--muted);
  font-size:.82rem;
  transition:all .2s ease;
}

.products {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.product {
  min-width:0;
  position:relative;
}

.product-media {
  height:280px;
  border-radius:22px;
  background:var(--paper-2);
  display:grid;
  place-items:center;
  position:relative;
  overflow:hidden;
  transition:transform .35s var(--ease);
}

.product:hover .product-media {
  transform:translateY(-6px);
}

.product-media:before {
  content:'';
  position:absolute;
  width:190px;
  height:190px;
  border-radius:50%;
  background:var(--accent);
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
}

.product-media:after {
  content:'QUICK VIEW';
  position:absolute;
  bottom:14px;
  left:50%;
  transform:translate(-50%,14px);
  opacity:0;
  font:500 .64rem var(--mono);
  letter-spacing:.1em;
  background:var(--ink);
  color:var(--paper);
  padding:8px 11px;
  border-radius:99px;
  transition:all .25s var(--ease);
}

.product:hover .product-media:after {
  transform:translate(-50%,0);
  opacity:1;
}

.toy {
  width:72%;
  height:88px;
  background:var(--toy);
  border:5px solid var(--ink);
  border-radius:34px 44px 18px 17px;
  position:relative;
  transform:rotate(-7deg);
  filter:drop-shadow(0 15px 8px oklch(22% .018 70 / .18));
}

.toy:before {
  content:'';
  position:absolute;
  width:92px;
  height:47px;
  background:var(--ink);
  border-radius:40px 42px 4px 4px;
  left:52px;
  top:-32px;
  transform:skewX(-12deg);
}

.toy:after {
  content:'';
  position:absolute;
  width:71px;
  height:29px;
  background:var(--glass);
  border-radius:30px 30px 2px 2px;
  left:64px;
  top:-25px;
  transform:skewX(-12deg);
}

.toy .tire {
  position:absolute;
  width:42px;
  height:42px;
  border:7px solid var(--paper);
  background:var(--ink);
  border-radius:50%;
  bottom:-27px;
  box-shadow:inset 0 0 0 6px var(--ink);
}

.toy .tire:after {
  content:'';
  position:absolute;
  inset:11px;
  border-radius:50%;
  background:var(--lime);
}

.toy .tire:first-child {
  left:19px;
}

.toy .tire:last-child {
  right:18px;
}

.product-meta {
  padding:15px 2px 0;
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:start;
}

.product-name {
  font-weight:800;
  letter-spacing:-.03em;
  line-height:1.15;
}

.product-sub {
  color:var(--muted);
  font-size:.78rem;
  margin-top:5px;
}

.price {
  text-align:right;
  white-space:nowrap;
  font:500 .82rem var(--mono);
}

.old-price {
  display:block;
  color:var(--muted);
  font-size:.68rem;
  text-decoration:line-through;
  margin-bottom:3px;
}

.badge {
  position:absolute;
  left:13px;
  top:13px;
  background:var(--paper);
  border-radius:99px;
  padding:6px 9px;
  font:500 .62rem var(--mono);
  letter-spacing:.06em;
  text-transform:uppercase;
  z-index:1;
}

.editorial {
  display:grid;
  grid-template-columns:.86fr 1.14fr;
  gap:18px;
  align-items:stretch;
}

.editorial-main {
  background:var(--ink);
  color:var(--paper);
  border-radius:28px;
  padding:42px;
  min-height:420px;
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.editorial-main:after {
  content:'02';
  position:absolute;
  right:-20px;
  bottom:-67px;
  font-size:16rem;
  font-weight:800;
  line-height:1;
  letter-spacing:-.1em;
  color:oklch(37% .03 70);
}

.editorial-main h3 {
  font-size:clamp(2.1rem,4vw,4rem);
  line-height:.95;
  letter-spacing:-.08em;
  max-width:7ch;
  margin:15px 0 0;
  position:relative;
  z-index:1;
}

.editorial-main p {
  color:oklch(83% .02 70);
  max-width:31ch;
  margin:0;
  position:relative;
  z-index:1;
}

.editorial-main .btn {
  align-self:flex-start;
  position:relative;
  z-index:1;
  background:var(--lime);
  color:var(--ink);
  box-shadow:none;
}

.editorial-side {
  border-radius:28px;
  background:var(--blue);
  color:var(--paper);
  padding:36px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
  align-items:end;
  min-height:420px;
  position:relative;
  overflow:hidden;
}

.editorial-side:before {
  content:'';
  position:absolute;
  width:270px;
  height:270px;
  border-radius:50%;
  background:var(--lime);
  right:-70px;
  top:-85px;
}

.editorial-side h3 {
  font-size:clamp(2rem,3.8vw,3.4rem);
  line-height:1.2;
  letter-spacing:-.03em;
  margin:14px 0 0;
  max-width:7ch;
  position:relative;
  z-index:1;
}

.editorial-side p {
  max-width:24ch;
  color:oklch(91% .02 245);
  font-size:.9rem;
  position:relative;
  z-index:1;
}

.side-car {
  width:200px;
  height:72px;
  background:var(--orange);
  border:5px solid var(--ink);
  border-radius:30px 50px 16px 16px;
  position:absolute;
  right:42px;
  bottom:71px;
  transform:rotate(-12deg);
  z-index:1;
}

.side-car:before {
  content:'';
  position:absolute;
  width:82px;
  height:38px;
  background:var(--ink);
  border-radius:35px 35px 4px 4px;
  left:51px;
  top:-28px;
  transform:skewX(-13deg);
}

.side-car:after {
  content:'';
  position:absolute;
  width:61px;
  height:23px;
  background:var(--blue);
  border-radius:24px 24px 2px 2px;
  left:63px;
  top:-22px;
  transform:skewX(-13deg);
}

.side-car i {
  position:absolute;
  width:35px;
  height:35px;
  border-radius:50%;
  background:var(--ink);
  border:6px solid var(--paper);
  bottom:-22px;
}

.side-car i:first-child {
  left:18px;
}

.side-car i:last-child {
  right:18px;
}

.features {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.feature {
  padding:28px 24px 28px 0;
  border-right:1px solid var(--line);
  display:flex;
  gap:15px;
  align-items:start;
}

.feature:not(:first-child) {
  padding-left:24px;
}

.feature:last-child {
  border-right:0;
}

.feature-icon {
  width:40px;
  height:40px;
  flex:0 0 40px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--lime);
  color:var(--ink);
}

.feature:nth-child(2) .feature-icon {
  background:var(--orange);
}

.feature:nth-child(3) .feature-icon {
  background:var(--blue);
  color:var(--paper);
}

.feature h4 {
  margin:0 0 5px;
  font-size:.92rem;
}

.feature p {
  color:var(--muted);
  font-size:.78rem;
  margin:0;
  max-width:28ch;
}

.testimonials {
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:18px;
  align-items:stretch;
}

.quote {
  background:var(--lime);
  border-radius:28px;
  padding:38px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:310px;
}

.quote blockquote {
  font-size:clamp(1.55rem,3vw,2.6rem);
  line-height:1.08;
  letter-spacing:-.06em;
  margin:0;
  max-width:20ch;
}

.quote footer {
  display:flex;
  justify-content:space-between;
  align-items:end;
  font-size:.8rem;
}

.stars {
  letter-spacing:.14em;
  color:var(--orange);
}

.join {
  background:var(--orange);
  border-radius:28px;
  padding:38px;
  min-height:310px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.join .eyebrow {
  color: var(--paper);
}

.join h3 {
  font-size:2.35rem;
  line-height:.95;
  letter-spacing:-.075em;
  max-width:8ch;
  margin:14px 0 0;
}

.join p {
  font-size:.85rem;
  max-width:28ch;
}

.signup {
  display:flex;
  border-bottom:1px solid var(--ink);
  padding:7px 0;
}

.signup input {
  border:0;
  background:transparent;
  min-width:0;
  flex:1;
  outline:0;
  color:var(--ink);
}

.signup input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.signup button {
  background:var(--ink);
  color:var(--paper);
  border-radius:50%;
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  transition:transform .2s var(--ease);
}

.signup button:hover {
  transform:translateX(3px);
}

@media(max-width:900px) {
  .hero {
    grid-template-columns:1fr;
    gap:42px;
  }

  .hero-copy {
    padding-left:0;
  }

  .hero-art {
    min-height:400px;
  }

  .products {
    grid-template-columns:repeat(2,1fr);
  }

  .editorial {
    grid-template-columns:1fr;
  }

  .testimonials {
    grid-template-columns:1fr;
  }
}

@media(max-width:640px) {
  .nav-actions .icon-btn:first-child {
    display:none;
  }

  .hero {
    padding:52px 0 40px;
  }

  .hero h1 {
    font-size:clamp(3.2rem,18vw,5rem);
  }

  .hero-art {
    min-height:330px;
    border-radius:24px;
  }

  .rc-car {
    width:82%;
  }

  .section {
    padding:62px 0;
  }

  .section-head {
    display:block;
  }

  .section-head p {
    margin-top:14px;
  }

  .products {
    gap:22px 12px;
  }

  .product-media {
    height:190px;
    border-radius:16px;
  }

  .product-media:before {
    width:125px;
    height:125px;
  }

  .toy {
    height:59px;
    border-width:4px;
  }

  .toy:before {
    width:66px;
    height:34px;
    left:38px;
    top:-24px;
  }

  .toy:after {
    width:49px;
    height:22px;
    left:48px;
    top:-19px;
  }

  .toy .tire {
    width:31px;
    height:31px;
    border-width:5px;
    bottom:-19px;
  }

  .toy .tire:after {
    inset:8px;
  }

  .toy .tire:first-child {
    left:12px;
  }

  .toy .tire:last-child {
    right:11px;
  }

  .product-meta {
    display:block;
  }

  .price {
    text-align:left;
    margin-top:8px;
  }

  .editorial-main,.editorial-side,.quote,.join {
    border-radius:22px;
    padding:28px;
    min-height:340px;
  }

  .editorial-side {
    display:block;
  }

  .side-car {
    right:24px;
    bottom:50px;
  }

  .features {
    display:block;
    border-bottom:0;
  }

  .feature,.feature:not(:first-child) {
    padding:20px 0;
    border-right:0;
    border-bottom:1px solid var(--line);
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation:none!important;
    scroll-behavior:auto!important;
    transition:none!important;
  }
}

/* ==========================================================================
   Page: buyrc-login-page
   ========================================================================== */
.page {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  align-items:center;
  min-height:calc(100vh - 134px);
  padding:72px 0;
}

.page .eyebrow {
  font-size:.84rem;
}

.login-page {
  grid-template-columns:minmax(0,1fr) minmax(460px,560px);
  gap:96px;
}

.login-page .intro {
  max-width:560px;
}

.login-page .form-shell {
  width:100%;
  max-width:560px;
  justify-self:end;
}

.login-page .options {
  font-size:.9rem;
  line-height:1.4;
}

.login-page .register {
  font-size:.95rem;
  line-height:1.4;
}

.intro {
  padding-left:clamp(0px,4vw,54px);
}

h1 {
  font-size:clamp(3.5rem,7vw,6.9rem);
  line-height:1.15;
  letter-spacing:-.03em;
  margin:17px 0 24px;
  max-width:7ch;
  text-wrap:balance;
}

h1 em {
  font-style:normal;
  color:var(--orange);
}

.lead {
  color:var(--muted);
  font-size:.96rem;
  max-width:38ch;
  margin:0;
}

.visual {
  position:relative;
  margin-top:52px;
  width:230px;
  height:87px;
  background:var(--orange);
  border:7px solid var(--ink);
  border-radius:40px 84px 24px 20px;
  transform:rotate(-8deg);
  filter:drop-shadow(0 17px 10px oklch(22% .018 70 / .18));
}

.visual:before {
  content:'';
  position:absolute;
  width:105px;
  height:50px;
  background:var(--ink);
  border-radius:48px 48px 5px 5px;
  left:57px;
  top:-43px;
  transform:skewX(-12deg);
}

.visual:after {
  content:'';
  position:absolute;
  width:84px;
  height:33px;
  background:var(--blue);
  border-radius:40px 40px 3px 3px;
  left:70px;
  top:-35px;
  transform:skewX(-12deg);
}

.visual span {
  position:absolute;
  width:43px;
  height:43px;
  border-radius:50%;
  background:var(--ink);
  border:6px solid var(--paper);
  bottom:-27px;
}

.visual span:first-child {
  left:27px;
}

.visual span:last-child {
  right:27px;
}

.visual-wrap {
  position:relative;
  width:max-content;
}

.visual-wrap:before {
  content:'WELCOME BACK';
  position:absolute;
  left:160px;
  top:-48px;
  color:var(--muted);
  font:500 .65rem var(--mono);
  letter-spacing:.12em;
  transform:rotate(9deg);
  white-space:nowrap;
}

.visual-wrap:after {
  content:'DRIVE\A SOMETHING\A FUN';
  white-space:pre;
  position:absolute;
  left:-25px;
  bottom:-53px;
  background:var(--lime);
  padding:12px 14px;
  border-radius:50%;
  font:800 .66rem/1.1 var(--sans);
  letter-spacing:-.04em;
  transform:rotate(-12deg);
  text-align:center;
}

.form-shell {
  background:var(--cream);
  border-radius:30px;
  padding:43px;
  position:relative;
  overflow:hidden;
}

.form-shell:before {
  content:'';
  position:absolute;
  width:235px;
  height:235px;
  border-radius:50%;
  background:var(--lime);
  right:-96px;
  top:-99px;
}

.form-head {
  position:relative;
}

.form-head h2 {
  font-size:2.25rem;
  line-height:1.25;
  letter-spacing:-.03em;
  margin:12px 0 9px;
}

.form-head p {
  color:var(--muted);
  font-size:1rem;
  line-height:1.5;
  margin:0 0 29px;
}

.form {
  position:relative;
  display:grid;
  gap:17px;
}

.field label {
  font:500 .82rem var(--mono);
  letter-spacing:.09em;
  text-transform:uppercase;
  color:var(--muted);
}

.field input {
  height:50px;
  width:100%;
  border:1px solid var(--line);
  border-radius:11px;
  background:var(--paper);
  padding:0 14px;
  color:var(--ink);
  font-size:1rem;
  transition:border .2s,box-shadow .2s;
}

.field input::placeholder {
  color:#9a938a;
  opacity:1;
}

.field input:hover {
  border-color:var(--muted);
}

.field input:focus {
  border-color:var(--ink);
  box-shadow:0 0 0 3px var(--lime);
  outline:0;
}

.password-wrap {
  position:relative;
}

.password-wrap input {
  padding-right:48px;
}

.show-password {
  position:absolute;
  right:10px;
  top:8px;
  width:34px;
  height:34px;
  border-radius:50%;
  background:transparent;
  color:var(--muted);
  display:grid;
  place-items:center;
}

.show-password:hover {
  background:var(--soft);
  color:var(--ink);
}

.options {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  font-size:.72rem;
  color:var(--muted);
}

.remember {
  display:flex;
  align-items:center;
  gap:8px;
}

.remember input {
  accent-color:var(--ink);
  width:16px;
  height:16px;
}

.options a {
  text-decoration:underline;
  text-underline-offset:3px;
  color:var(--ink);
}

.submit {
  height:53px;
  border-radius:99px;
  background:var(--ink);
  color:var(--paper);
  font-weight:800;
  font-size:1rem;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:9px;
  box-shadow:0 7px 0 var(--lime);
  transition:.25s var(--ease);
}

.submit:hover {
  transform:translateY(-3px);
  box-shadow:0 10px 0 var(--lime);
}

.submit:disabled {
  opacity:.65;
  cursor:not-allowed;
  transform:none;
  box-shadow:none;
}

.divider {
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--muted);
  font:500 .66rem var(--mono);
  text-transform:uppercase;
  letter-spacing:.1em;
  margin:4px 0;
}

.divider:before,.divider:after {
  content:'';
  height:1px;
  background:var(--line);
  flex:1;
}

.social {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.social button {
  height:46px;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--paper);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:.77rem;
  font-weight:700;
  transition:.2s;
}

.social button:hover {
  background:var(--soft);
  transform:translateY(-2px);
}

.register {
  text-align:center;
  color:var(--muted);
  font-size:.78rem;
  margin:4px 0 0;
}

.register a {
  color:var(--ink);
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:4px;
}

.form-message {
  display:none;
  padding:12px 14px;
  border-radius:10px;
  background:var(--lime);
  font-size:.9rem;
  line-height:1.4;
}

.form-message.show {
  display:block;
}

@media(max-width:820px) {
  .page {
    grid-template-columns:1fr;
    gap:50px;
    padding:58px 0 70px;
  }

  .intro {
    padding-left:0;
  }

  .visual {
    margin-top:37px;
  }

  .form-shell {
    max-width:620px;
  }
}

@media(max-width:560px) {
  .nav-right span {
    display:none;
  }

  .page {
    padding-top:42px;
  }

  h1 {
    font-size:4.2rem;
  }

  .form-shell {
    padding:28px 22px;
    border-radius:23px;
  }

  .social {
    grid-template-columns:1fr;
  }
}

/* ==========================================================================
   Page: buyrc-product-detail-page
   ========================================================================== */
.breadcrumb {
  padding:25px 0 22px;
  color:var(--muted);
  font-size:.76rem;
}

.breadcrumb a {
  text-decoration:underline;
  text-underline-offset:3px;
}

.product-grid {
  display:grid;
  grid-template-columns:1.06fr .94fr;
  gap:72px;
  padding:8px 0 86px;
}

.gallery {
  display:grid;
  grid-template-columns:78px 1fr;
  gap:16px;
  align-items:start;
}

.thumbs {
  display:grid;
  gap:12px;
}

.thumb {
  height:76px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--soft);
  display:grid;
  place-items:center;
  overflow:hidden;
  transition:.2s;
}

.thumb.active,.thumb:hover {
  border:2px solid var(--ink);
}

.thumb svg {
  width:58px;
}

.main-visual {
  height:570px;
  border-radius:30px;
  background:var(--cream);
  position:relative;
  overflow:hidden;
  display:grid;
  place-items:center;
}

.main-visual:before {
  content:'DRIFT / R8';
  position:absolute;
  top:26px;
  left:28px;
  font:500 .68rem var(--mono);
  letter-spacing:.12em;
  color:var(--muted);
}

.sun {
  position:absolute;
  width:330px;
  height:330px;
  background:var(--lime);
  border-radius:50%;
  right:-80px;
  top:-80px;
}

.road {
  position:absolute;
  width:130%;
  height:190px;
  background:var(--ink);
  bottom:45px;
  transform:rotate(-10deg);
  box-shadow:0 -13px 0 var(--orange);
}

.road:after {
  content:'';
  position:absolute;
  top:80px;
  left:-20px;
  width:110%;
  height:4px;
  background:var(--paper);
  box-shadow:100px 0 var(--paper),200px 0 var(--paper),300px 0 var(--paper),400px 0 var(--paper),500px 0 var(--paper),600px 0 var(--paper);
}

.car {
  width:72%;
  height:140px;
  background:var(--orange);
  border:8px solid var(--ink);
  border-radius:44px 86px 25px 22px;
  position:relative;
  transform:rotate(-8deg) translateY(-14px);
  filter:drop-shadow(0 25px 12px oklch(22% .018 70 / .24));
  animation:float 5s ease-in-out infinite;
  z-index:1;
}

.car:before {
  content:'';
  position:absolute;
  width:190px;
  height:84px;
  background:var(--ink);
  border-radius:78px 78px 10px 10px;
  left:22%;
  top:-63px;
  transform:skewX(-12deg);
}

.car:after {
  content:'';
  position:absolute;
  width:150px;
  height:54px;
  background:var(--blue);
  border-radius:58px 58px 4px 4px;
  left:27%;
  top:-52px;
  transform:skewX(-12deg);
}

.stripe {
  position:absolute;
  left:30px;
  right:25px;
  top:48px;
  height:8px;
  border-radius:10px;
  background:var(--ink);
  box-shadow:0 48px oklch(22% .018 70 / .18);
}

.headlight {
  position:absolute;
  right:18px;
  top:23px;
  width:18px;
  height:28px;
  background:var(--lime);
  border:4px solid var(--ink);
  border-radius:7px;
}

.wheel {
  position:absolute;
  width:72px;
  height:72px;
  background:var(--ink);
  border:9px solid var(--paper);
  border-radius:50%;
  bottom:-42px;
  box-shadow:inset 0 0 0 7px var(--ink);
}

.wheel:after {
  content:'';
  position:absolute;
  inset:19px;
  background:var(--lime);
  border-radius:50%;
}

.wheel.left {
  left:45px;
}

.wheel.right {
  right:48px;
}

.visual-label {
  position:absolute;
  bottom:30px;
  right:28px;
  background:var(--blue);
  color:var(--paper);
  width:84px;
  height:84px;
  border-radius:50%;
  display:grid;
  place-items:center;
  text-align:center;
  font:500 .6rem/1.3 var(--mono);
  letter-spacing:.05em;
  transform:rotate(12deg);
  z-index:2;
}

.visual-label b {
  font:800 1.4rem var(--sans);
  letter-spacing:-.08em;
  display:block;
}

.product-info {
  padding-top:8px;
}

.product-info h1 {
  font-size: 50px !important;
}

.rating {
  display:flex;
  align-items:center;
  gap:10px;
  margin:17px 0 18px;
  font-size:.82rem;
}

.stars {
  color:var(--orange);
  letter-spacing:.12em;
}

.rating a {
  text-decoration:underline;
  text-underline-offset:3px;
  color:var(--muted);
}

h1 {
  font-size:clamp(2.7rem,5vw,5rem);
  line-height:.92;
  letter-spacing:-.085em;
  margin:0 0 18px;
  max-width:8ch;
  text-wrap:balance;
}

.intro {
  color:var(--muted);
  max-width:42ch;
  font-size:.95rem;
  margin:0 0 25px;
  text-align:left;
  padding-left:0 !important;
}

.price-row {
  display:flex;
  align-items:baseline;
  gap:12px;
  padding:20px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.price {
  font:500 1.55rem var(--mono);
}

.mrp {
  color:var(--muted);
  text-decoration:line-through;
  font:400 .8rem var(--mono);
}

.save {
  background:var(--lime);
  border-radius:99px;
  padding:5px 9px;
  font:500 .65rem var(--mono);
  letter-spacing:.04em;
}

.option {
  padding:22px 0 0;
}

.option-head {
  display:flex;
  justify-content:space-between;
  font-size:.82rem;
  font-weight:700;
}

.option-head span {
  font-weight:400;
  color:var(--muted);
}

.swatches {
  display:flex;
  gap:10px;
  margin-top:13px;
}

.swatch {
  width:42px;
  height:42px;
  border-radius:50%;
  border:3px solid var(--paper);
  outline:1px solid var(--line);
  position:relative;
}

.swatch.active {
  outline:2px solid var(--ink);
  outline-offset:2px;
}

.swatch.orange {
  background:var(--orange);
}

.swatch.blue {
  background:var(--blue);
}

.swatch.lime {
  background:var(--lime);
}

.quantity {
  display:flex;
  align-items:center;
  border:1px solid var(--line);
  border-radius:99px;
  width:max-content;
  height:48px;
  margin-top:13px;
}

.quantity button {
  width:42px;
  height:100%;
  background:transparent;
  font-size:1.2rem;
}

.quantity span {
  width:30px;
  text-align:center;
  font:500 .8rem var(--mono);
}

.actions {
  display:grid;
  grid-template-columns:1fr 54px;
  gap:10px;
  margin-top:25px;
}

.primary {
  min-height:53px;
  border-radius:99px;
  background:var(--ink);
  color:var(--paper);
  font-weight:800;
  font-size:1rem;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:9px;
  box-shadow:0 7px 0 var(--lime);
  transition:.25s var(--ease);
}

.primary:hover {
  transform:translateY(-3px);
  box-shadow:0 10px 0 var(--lime);
}

.primary:disabled {
  opacity:.65;
  cursor:not-allowed;
  transform:none;
  box-shadow:none;
}

.wish { display: none !important; }

.wish.active {
  background:var(--orange);
  border-color:var(--orange);
  color:var(--paper);
}

.delivery {
  margin-top:26px;
  padding:18px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.delivery div {
  display:flex;
  gap:10px;
  font-size:.75rem;
  color:var(--muted);
}

.delivery strong {
  display:block;
  color:var(--ink);
  font-size:.78rem;
  margin-bottom:2px;
}

.detail-note {
  font-size:.73rem;
  color:var(--muted);
  margin-top:15px;
}

.detail-note b {
  color:var(--ink);
}

.info-section {
  border-top:1px solid var(--line);
  padding:54px 0 84px;
}

.info-tabs {
  display:flex;
  gap:26px;
  border-bottom:1px solid var(--line);
  margin-bottom:36px;
}

.tab {
  background:none;
  padding:0 0 14px;
  color:var(--muted);
  font-weight:700;
  font-size:.86rem;
  position:relative;
}

.tab.active {
  color:var(--ink);
}

.tab.active:after {
  content:'';
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  height:3px;
  background:var(--orange);
  border-radius:4px;
}

.info-content {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:72px;
}

.info-content h2 {
  font-size:clamp(1.8rem,3vw,3rem);
  line-height:.98;
  letter-spacing:-.07em;
  margin:0 0 16px;
}

.info-content p {
  color:var(--muted);
  max-width:54ch;
}

.specs {
  display:grid;
  grid-template-columns:1fr 1fr;
  border-top:1px solid var(--line);
}

.spec {
  padding:14px 0;
  border-bottom:1px solid var(--line);
  font-size:.78rem;
}

.spec label {
  display:block;
  color:var(--muted);
  font:500 .65rem var(--mono);
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:3px;
}

.review-head {
  display:flex;
  align-items:end;
  justify-content:space-between;
  margin-bottom:22px;
}

.review-head h2 {
  margin:0;
}

.review-head .rating {
  margin:0;
}

.review {
  padding:20px 0;
  border-top:1px solid var(--line);
  font-size:.85rem;
}

.review:last-child {
  border-bottom:1px solid var(--line);
}

.review p {
  margin:8px 0;
  color:var(--muted);
}

.review small {
  font:500 .68rem var(--mono);
  color:var(--muted);
}

.related {
  padding:0 0 90px;
}

.related-head {
  display:flex;
  justify-content:space-between;
  align-items:end;
  margin-bottom:25px;
}

.related h2 {
  font-size:clamp(2rem,4vw,3.4rem);
  line-height:.95;
  letter-spacing:-.08em;
  margin:10px 0 0;
}

.related-link {
  text-decoration:underline;
  text-underline-offset:4px;
  font-size:.82rem;
}

.related-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.related-card {
  min-width:0;
}

.related-img {
  height:250px;
  border-radius:22px;
  background:var(--soft);
  position:relative;
  display:grid;
  place-items:center;
  overflow:hidden;
}

.related-img:before {
  content:'';
  position:absolute;
  width:170px;
  height:170px;
  border-radius:50%;
  background:var(--accent);
}

.mini-car {
  width:63%;
  height:65px;
  background:var(--toy);
  border:5px solid var(--ink);
  border-radius:28px 42px 13px 12px;
  position:relative;
  transform:rotate(-8deg);
  z-index:1;
}

.mini-car:before {
  content:'';
  position:absolute;
  width:77px;
  height:36px;
  background:var(--ink);
  border-radius:35px 35px 3px 3px;
  left:30%;
  top:-27px;
  transform:skewX(-12deg);
}

.related-meta {
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:14px 2px;
}

.related-meta b {
  font-size:.9rem;
}

.related-meta small {
  display:block;
  color:var(--muted);
  margin-top:4px;
}

.related-price {
  font:500 .78rem var(--mono);
  white-space:nowrap;
}

@keyframes float {
  0%,100% {
    transform:rotate(-8deg) translateY(-14px);
  }

  50% {
    transform:rotate(-8deg) translateY(-24px);
  }
}

@media(max-width:900px) {
  .product-grid {
    grid-template-columns:1fr;
    gap:42px;
  }

  .main-visual {
    height:480px;
  }

  .info-content {
    grid-template-columns:1fr;
    gap:42px;
  }
}

@media(max-width:620px) {
  .navtools .circle:first-child {
    display:none;
  }

  .breadcrumb {
    padding-top:19px;
  }

  .gallery {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:16px;
  }

  .thumbs {
    display:flex;
    order:2;
    margin-top:0;
    gap:12px;
  }

  .thumb {
    width:68px;
    height:60px;
  }

  .main-visual {
    order:1;
    width:100%;
    height:340px;
    border-radius:22px;
  }

  .car {
    width:78%;
    height:94px;
    border-width:6px;
  }

  .car:before {
    width:125px;
    height:55px;
    top:-44px;
  }

  .car:after {
    width:101px;
    height:38px;
    top:-36px;
  }

  .wheel {
    width:52px;
    height:52px;
    border-width:7px;
    bottom:-30px;
  }

  .wheel:after {
    inset:14px;
  }

  .wheel.left {
    left:30px;
  }

  .wheel.right {
    right:30px;
  }

  .stripe {
    left:18px;
    right:16px;
    top:32px;
    height:5px;
  }

  .headlight {
    width:12px;
    height:19px;
    top:15px;
    right:12px;
    border-width:3px;
  }

  .visual-label {
    width:68px;
    height:68px;
    bottom:20px;
    right:16px;
  }

  .visual-label b {
    font-size:1.1rem;
  }

  h1 {
    font-size:3.5rem;
  }

  .delivery {
    grid-template-columns:1fr;
  }

  .info-tabs {
    gap:18px;
    overflow:auto;
  }

  .info-content {
    gap:30px;
  }

  .related-grid {
    grid-template-columns:1fr 1fr;
    gap:12px;
  }

  .related-img {
    height:160px;
    border-radius:16px;
  }

  .mini-car {
    width:70%;
    height:45px;
    border-width:4px;
  }

  .mini-car:before {
    width:55px;
    height:26px;
    top:-20px;
  }

  .related-meta {
    display:block;
  }

  .related-price {
    display:block;
    margin-top:8px;
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
}

/* ==========================================================================
   Page: buyrc-register-page (1)
   ========================================================================== */
.page {
  display:grid;
  grid-template-columns:1fr 1fr;
  min-height:calc(100vh - 134px);
  align-items:center;
  gap:74px;
  padding:72px 0;
}

h1 {
  font-size:clamp(3rem,6vw,5.8rem);
  line-height:.9;
  letter-spacing:-.09em;
  margin:18px 0 24px;
  max-width:8ch;
  text-wrap:balance;
}

.lead {
  color:var(--muted);
  max-width:38ch;
  margin:0;
  font-size:1.08rem;
  line-height:1.6;
}

.benefits {
  display:grid;
  gap:19px;
  margin-top:48px;
}

.benefit {
  display:flex;
  gap:13px;
  align-items:flex-start;
  font-size:.96rem;
}

.benefit-icon {
  width:34px;
  height:34px;
  flex:0 0 34px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--lime);
}

.benefit:nth-child(2) .benefit-icon {
  background:var(--orange);
}

.benefit:nth-child(3) .benefit-icon {
  background:var(--blue);
  color:var(--paper);
}

.benefit b {
  display:block;
  font-size:1rem;
  margin-bottom:4px;
}

.benefit span {
  display:block;
  color:var(--muted);
  font-size:.9rem;
  line-height:1.4;
}

.form-shell {
  background:var(--cream);
  border-radius:30px;
  padding:42px;
  position:relative;
  overflow:hidden;
}

.form-shell:before {
  content:'';
  position:absolute;
  width:220px;
  height:220px;
  border-radius:50%;
  background:var(--lime);
  right:-76px;
  top:-85px;
}

.form-head p {
  color:var(--muted);
  font-size:1rem;
  line-height:1.5;
  margin:0 0 28px;
  max-width:35ch;
}

.row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:13px;
}

.terms {
  display:flex;
  gap:10px;
  align-items:flex-start;
  color:var(--muted);
  font-size:.88rem;
  line-height:1.45;
  margin-top:2px;
}

.terms input {
  accent-color:var(--ink);
  margin-top:3px;
  width:16px;
  height:16px;
}

.terms a {
  text-decoration:underline;
  text-underline-offset:3px;
  color:var(--ink);
}

.submit:disabled {
  opacity:.6;
  cursor:not-allowed;
  transform:none;
  box-shadow:none;
}

.login {
  text-align:center;
  color:var(--muted);
  font-size:.95rem;
  margin:4px 0 0;
}

.login a {
  color:var(--ink);
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:4px;
}

@media(max-width:820px) {
  .page {
    grid-template-columns:1fr;
    gap:46px;
    padding:58px 0 70px;
  }

  .benefits {
    margin-top:32px;
  }
}

@media(max-width:560px) {
  .row {
    grid-template-columns:1fr;
    gap:17px;
  }

  h1 {
    font-size:3.65rem;
  }
}

/* ==========================================================================
   Page: index
   ========================================================================== */
.font-display {
  font-family: 'Manrope', sans-serif;
  letter-spacing: -0.02em;
}

/* Hero subtle grain overlay for cinematic feel */
.hero-overlay {
  background: linear-gradient(90deg, rgba(14,14,16,0.8) 0%, rgba(14,14,16,0.4) 50%, rgba(14,14,16,0) 100%);
}

/* Custom accordion transitions */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.accordion-active .accordion-content {
  max-height: 200px;
  padding-bottom: 1.5rem;
}

.accordion-active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-icon {
  transition: transform 0.3s ease;
}

/* Card hover effect */
.product-card:hover img {
  transform: scale(1.05);
}

.product-card img {
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Mobile Hamburger Menu */
.menu-toggle {
  display: none !important;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--paper);
  z-index: 9999;
  padding: 24px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

.mobile-navlinks {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.mobile-navlinks a {
  color: var(--ink);
  transition: color 0.2s ease;
}

.mobile-navlinks a:hover {
  color: var(--orange);
}

@media(max-width:640px) {
  .menu-toggle {
    display: inline-flex !important;
  }
}

/* Remove background accent circles for product thumbnails (now using real images/SVGs) */
.product-media:before {
  display: none !important;
}

/* ==========================================================================
   Admin loading skeletons
   ========================================================================== */
.skeleton-row {
  animation: skeletonPulse 1.5s ease-in-out infinite;
}
.skeleton-row td {
  background: var(--soft);
  border-radius: 6px;
  color: transparent;
  user-select: none;
}
@keyframes skeletonPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.skeleton-bar {
  display: inline-block;
  height: 12px;
  border-radius: 4px;
  background: var(--soft);
  animation: skeletonPulse 1.5s ease-in-out infinite;
}
.skeleton-bar.w-100 { width: 100%; }
.skeleton-bar.w-75 { width: 75%; }
.skeleton-bar.w-50 { width: 50%; }
.skeleton-bar.w-25 { width: 25%; }

/* Reverted shop catalogue redesign — retained inertly to avoid touching prior stylesheet history. */
@supports not (display: grid) {
.shop-page { padding: 42px 0 82px; }
.shop-hero { min-height: 330px; display:grid; grid-template-columns:.92fr 1.08fr; align-items:center; gap:18px; padding:34px 0 30px; }
.shop-hero-copy { position:relative; z-index:1; }
.shop-hero h1 { max-width:none; margin:13px 0 17px; font-size:clamp(4rem, 7vw, 7.6rem); line-height:.83; letter-spacing:-.105em; }
.shop-hero h1 span { color:var(--lime); }
.shop-hero-rule { display:block; width:40px; height:2px; background:var(--lime); margin:22px 0; }
.shop-hero-lede { max-width:28ch; margin:0; color:var(--muted); font-size:.92rem; line-height:1.65; }
.shop-hero-art { min-height:310px; display:flex; align-items:center; justify-content:flex-end; overflow:visible; }
.shop-hero-art img { display:block; width:min(100%, 690px); max-height:390px; object-fit:contain; object-position:center; filter:drop-shadow(0 20px 18px rgb(42 34 22 / .13)); }

.shop-categories { display:grid; grid-template-columns:repeat(4, 1fr); gap:12px; padding:18px 0 44px; }
.shop-category { position:relative; isolation:isolate; height:154px; overflow:hidden; padding:21px 16px; border:1px solid var(--line); border-radius:16px; background:#fcfaf5; text-align:left; color:var(--ink); transition:transform .2s var(--ease), border-color .2s ease, box-shadow .2s ease; }
.shop-category:hover { transform:translateY(-3px); border-color:oklch(72% .06 92); box-shadow:0 12px 24px rgb(35 30 20 / .06); }
.shop-category .eyebrow { display:block; position:relative; z-index:2; font-size:.56rem; letter-spacing:.11em; }
.shop-category .eyebrow b { color:var(--lime-deep); }
.shop-category strong, .shop-category > span:not(.eyebrow) { display:block; position:relative; z-index:2; }
.shop-category strong { margin:7px 0 5px; font-size:1.08rem; line-height:1; letter-spacing:-.055em; }
.shop-category > span:not(.eyebrow) { color:var(--muted); font-size:.65rem; line-height:1.45; }
.shop-category svg { position:absolute; left:16px; bottom:16px; z-index:2; width:16px; height:16px; transition:transform .2s var(--ease); }
.shop-category:hover svg { transform:translateX(4px); }
.shop-category img { position:absolute; z-index:1; right:-14px; bottom:-30px; width:65%; height:82%; object-fit:contain; object-position:right bottom; transition:transform .24s var(--ease); }
.shop-category:hover img { transform:scale(1.06); }
.shop-category-all img { right:-37px; bottom:-27px; width:72%; }
.shop-category-trucks { grid-column:1 / span 1; }

.shop-collection { border-top:1px solid var(--line); padding-top:23px; }
.shop-collection-head { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:19px; }
.shop-collection-head h2 { margin:8px 0 0; font-size:clamp(2rem, 3.3vw, 3.25rem); line-height:.92; letter-spacing:-.085em; }
.shop-collection-head > p { max-width:31ch; margin:0 0 4px; color:var(--muted); font-size:.72rem; line-height:1.45; }
.shop-catalog-tools { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:16px; }
.shop-catalog-tools .filter { font-size:.67rem; padding:8px 13px; }
.shop-catalog-tools .sort { min-width:150px; height:36px; border-radius:8px; font-size:.67rem; }
.shop-catalog { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:12px; }
.shop-loading { grid-column:1 / -1; padding:48px 0; color:var(--muted); font-size:.82rem; }
.shop-product { min-width:0; position:relative; overflow:hidden; border:1px solid var(--line); border-radius:15px; background:#fcfaf5; animation:rise .45s var(--ease) both; transition:transform .2s var(--ease), box-shadow .2s ease, border-color .2s ease; }
.shop-product:hover { transform:translateY(-3px); border-color:oklch(72% .06 92); box-shadow:0 14px 24px rgb(35 30 20 / .06); }
.shop-product-image { display:grid; place-items:center; position:relative; height:218px; padding:18px; overflow:hidden; }
.shop-product-image img { width:100%; height:100%; object-fit:contain; transition:transform .24s var(--ease); }
.shop-product:hover .shop-product-image img { transform:scale(1.045); }
.shop-image-fallback { display:grid; place-items:center; width:72px; height:72px; border-radius:50%; background:var(--paper-2); font:500 .7rem var(--mono); color:var(--muted); }
.shop-sale { position:absolute; z-index:2; left:12px; top:12px; padding:5px 7px; border-radius:99px; background:var(--paper); font:500 .57rem var(--mono); letter-spacing:.07em; text-transform:uppercase; }
.shop-heart { display:grid; place-items:center; position:absolute; z-index:3; right:11px; top:11px; width:29px; height:29px; border-radius:50%; background:var(--paper); color:var(--ink); transition:color .2s, background .2s, transform .2s var(--ease); }
.shop-heart svg { width:15px; height:15px; }
.shop-heart:hover, .shop-heart.saved { color:var(--paper); background:var(--ink); transform:scale(1.05); }
.shop-heart.saved svg { fill:currentColor; }
.shop-product-copy { display:flex; justify-content:space-between; gap:8px; min-height:79px; padding:4px 12px 13px; }
.shop-product-copy h3 { margin:0; max-width:19ch; font-size:.68rem; line-height:1.25; letter-spacing:-.025em; }
.shop-product-copy h3 a:hover { text-decoration:underline; text-underline-offset:3px; }
.shop-product-copy p { margin:5px 0 0; color:var(--muted); font-size:.59rem; line-height:1.3; }
.shop-product-price { display:flex; flex-direction:column; align-items:end; white-space:nowrap; font:.58rem var(--mono); color:var(--muted); }
.shop-product-price b { margin-top:auto; color:var(--ink); font:500 .88rem var(--mono); }
.shop-product-price s { margin-top:2px; }
.shop-add { display:flex; align-items:center; justify-content:center; gap:5px; width:calc(100% - 24px); margin:0 12px 12px; border:1px solid var(--line); border-radius:8px; padding:8px; color:var(--ink); font:500 .58rem var(--mono); letter-spacing:.05em; text-transform:uppercase; transition:background .2s ease, color .2s ease, border-color .2s ease; }
.shop-add svg { width:12px; height:12px; }
.shop-add:hover { color:var(--paper); background:var(--ink); border-color:var(--ink); }
.shop-benefits { border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.shop-benefits > .wrap { display:grid; grid-template-columns:repeat(4, 1fr); }
.shop-benefits > .wrap > div { display:flex; align-items:center; gap:12px; min-height:78px; padding:15px 12px; }
.shop-benefits > .wrap > div + div { border-left:1px solid var(--line); }
.shop-benefits svg { width:22px; height:22px; color:var(--muted); stroke-width:1.55; flex:0 0 auto; }
.shop-benefits p { margin:0; font-size:.59rem; line-height:1.45; }
.shop-benefits b, .shop-benefits span { display:block; }
.shop-benefits b { color:var(--ink); font-size:.65rem; }
.shop-benefits span { color:var(--muted); }

@media (max-width:980px) {
  .shop-hero { grid-template-columns:1fr 1fr; }
  .shop-hero-art { min-height:260px; }
  .shop-categories { grid-template-columns:repeat(2, 1fr); }
  .shop-category { height:175px; }
  .shop-category-trucks { grid-column:auto; }
  .shop-catalog { grid-template-columns:repeat(3, minmax(0, 1fr)); }
}
@media (max-width:680px) {
  .shop-page { padding-top:20px; }
  .shop-hero { grid-template-columns:1fr; gap:0; padding:28px 0 20px; }
  .shop-hero h1 { font-size:clamp(3.8rem, 17vw, 5.8rem); }
  .shop-hero-art { min-height:auto; margin-top:-7px; }
  .shop-hero-art img { width:100%; max-height:275px; }
  .shop-categories { grid-template-columns:1fr; padding-bottom:32px; }
  .shop-category { height:152px; }
  .shop-category img { width:57%; }
  .shop-collection-head, .shop-catalog-tools { align-items:flex-start; flex-direction:column; }
  .shop-collection-head > p { margin:0; }
  .shop-catalog-tools { gap:14px; }
  .shop-catalog-tools .sort { width:100%; }
  .shop-catalog { grid-template-columns:repeat(2, minmax(0, 1fr)); gap:10px; }
  .shop-product-image { height:178px; padding:12px; }
  .shop-product-copy { padding-left:10px; padding-right:10px; }
  .shop-product-copy h3 { font-size:.64rem; }
  .shop-product-price b { font-size:.76rem; }
  .shop-add { width:calc(100% - 20px); margin:0 10px 10px; }
  .shop-benefits > .wrap { grid-template-columns:1fr 1fr; }
  .shop-benefits > .wrap > div:nth-child(3) { border-left:0; border-top:1px solid var(--line); }
  .shop-benefits > .wrap > div:nth-child(4) { border-top:1px solid var(--line); }
}
@media (max-width:390px) { .shop-catalog { grid-template-columns:1fr; } .shop-product-image { height:220px; } }
}

/* Shop reference design v2 */
.shop-shell { --paper:#ffffff; --paper-2:#f2eee5; --ink:#171512; --muted:#746f67; --line:#ded8cc; --lime:#c8e600; --lime-deep:#93aa00; background:#ffffff; }
.shop-shell .wrap { width:min(1180px, calc(100% - 48px)); }
.shop-announce { display:block; min-height:42px; padding:11px 48px; background:#1a1815; color:#fff; font-family:var(--sans); font-size:.85rem; letter-spacing:.08em; text-transform:none; text-align:center; }
.shop-announce b { color:#d5ed00; }
.shop-shell .nav { height:82px; background:#ffffff; }
.shop-shell .nav .logo { font-size:1.35rem; text-transform:uppercase; }
.shop-shell .nav .logo-mark { width:32px; height:32px; border-radius:50%; }
.shop-shell .shop-navlinks { position:absolute; left:50%; transform:translateX(-50%); gap:36px; color:#34302b; font-size:.95rem; white-space:nowrap; }
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--paper);
  z-index: 9999;
  padding: 24px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

.mobile-navlinks {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.mobile-navlinks a {
  color: var(--ink);
  transition: color 0.2s ease;
}

.mobile-navlinks a:hover {
  color: var(--orange);
}

@media(max-width:640px) {
  .menu-toggle {
    display: inline-flex !important;
  }
}

/* Remove background accent circles for product thumbnails (now using real images/SVGs) */
.product-media:before {
  display: none !important;
}

/* ==========================================================================
   Admin loading skeletons
   ========================================================================== */
.skeleton-row {
  animation: skeletonPulse 1.5s ease-in-out infinite;
}
.skeleton-row td {
  background: var(--soft);
  border-radius: 6px;
  color: transparent;
  user-select: none;
}
@keyframes skeletonPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.skeleton-bar {
  display: inline-block;
  height: 12px;
  border-radius: 4px;
  background: var(--soft);
  animation: skeletonPulse 1.5s ease-in-out infinite;
}
.skeleton-bar.w-100 { width: 100%; }
.skeleton-bar.w-75 { width: 75%; }
.skeleton-bar.w-50 { width: 50%; }
.skeleton-bar.w-25 { width: 25%; }

/* Reverted shop catalogue redesign — retained inertly to avoid touching prior stylesheet history. */
@supports not (display: grid) {
.shop-page { padding: 42px 0 82px; }
.shop-hero { min-height: 330px; display:grid; grid-template-columns:.92fr 1.08fr; align-items:center; gap:18px; padding:34px 0 30px; }
.shop-hero-copy { position:relative; z-index:1; }
.shop-hero h1 { max-width:none; margin:13px 0 17px; font-size:clamp(4rem, 7vw, 7.6rem); line-height:.83; letter-spacing:-.105em; }
.shop-hero h1 span { color:var(--lime); }
.shop-hero-rule { display:block; width:40px; height:2px; background:var(--lime); margin:22px 0; }
.shop-hero-lede { max-width:28ch; margin:0; color:var(--muted); font-size:.92rem; line-height:1.65; }
.shop-hero-art { min-height:310px; display:flex; align-items:center; justify-content:flex-end; overflow:visible; }
.shop-hero-art img { display:block; width:min(100%, 690px); max-height:390px; object-fit:contain; object-position:center; filter:drop-shadow(0 20px 18px rgb(42 34 22 / .13)); }

.shop-categories { display:grid; grid-template-columns:repeat(4, 1fr); gap:12px; padding:18px 0 44px; }
.shop-category { position:relative; isolation:isolate; height:154px; overflow:hidden; padding:21px 16px; border:1px solid var(--line); border-radius:16px; background:#fcfaf5; text-align:left; color:var(--ink); transition:transform .2s var(--ease), border-color .2s ease, box-shadow .2s ease; }
.shop-category:hover { transform:translateY(-3px); border-color:oklch(72% .06 92); box-shadow:0 12px 24px rgb(35 30 20 / .06); }
.shop-category .eyebrow { display:block; position:relative; z-index:2; font-size:.56rem; letter-spacing:.11em; }
.shop-category .eyebrow b { color:var(--lime-deep); }
.shop-category strong, .shop-category > span:not(.eyebrow) { display:block; position:relative; z-index:2; }
.shop-category strong { margin:7px 0 5px; font-size:1.08rem; line-height:1; letter-spacing:-.055em; }
.shop-category > span:not(.eyebrow) { color:var(--muted); font-size:.65rem; line-height:1.45; }
.shop-category svg { position:absolute; left:16px; bottom:16px; z-index:2; width:16px; height:16px; transition:transform .2s var(--ease); }
.shop-category:hover svg { transform:translateX(4px); }
.shop-category img { position:absolute; z-index:1; right:-14px; bottom:-30px; width:65%; height:82%; object-fit:contain; object-position:right bottom; transition:transform .24s var(--ease); }
.shop-category:hover img { transform:scale(1.06); }
.shop-category-all img { right:-37px; bottom:-27px; width:72%; }
.shop-category-trucks { grid-column:1 / span 1; }

.shop-collection { border-top:1px solid var(--line); padding-top:23px; }
.shop-collection-head { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:19px; }
.shop-collection-head h2 { margin:8px 0 0; font-size:clamp(2rem, 3.3vw, 3.25rem); line-height:.92; letter-spacing:-.085em; }
.shop-collection-head > p { max-width:31ch; margin:0 0 4px; color:var(--muted); font-size:.72rem; line-height:1.45; }
.shop-catalog-tools { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:16px; }
.shop-catalog-tools .filter { font-size:.67rem; padding:8px 13px; }
.shop-catalog-tools .sort { min-width:150px; height:36px; border-radius:8px; font-size:.67rem; }
.shop-catalog { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:12px; }
.shop-loading { grid-column:1 / -1; padding:48px 0; color:var(--muted); font-size:.82rem; }
.shop-product { min-width:0; position:relative; overflow:hidden; border:1px solid var(--line); border-radius:15px; background:#fcfaf5; animation:rise .45s var(--ease) both; transition:transform .2s var(--ease), box-shadow .2s ease, border-color .2s ease; }
.shop-product:hover { transform:translateY(-3px); border-color:oklch(72% .06 92); box-shadow:0 14px 24px rgb(35 30 20 / .06); }
.shop-product-image { display:grid; place-items:center; position:relative; height:218px; padding:18px; overflow:hidden; }
.shop-product-image img { width:100%; height:100%; object-fit:contain; transition:transform .24s var(--ease); }
.shop-product:hover .shop-product-image img { transform:scale(1.045); }
.shop-image-fallback { display:grid; place-items:center; width:72px; height:72px; border-radius:50%; background:var(--paper-2); font:500 .7rem var(--mono); color:var(--muted); }
.shop-sale { position:absolute; z-index:2; left:12px; top:12px; padding:5px 7px; border-radius:99px; background:var(--paper); font:500 .57rem var(--mono); letter-spacing:.07em; text-transform:uppercase; }
.shop-heart { display:grid; place-items:center; position:absolute; z-index:3; right:11px; top:11px; width:29px; height:29px; border-radius:50%; background:var(--paper); color:var(--ink); transition:color .2s, background .2s, transform .2s var(--ease); }
.shop-heart svg { width:15px; height:15px; }
.shop-heart:hover, .shop-heart.saved { color:var(--paper); background:var(--ink); transform:scale(1.05); }
.shop-heart.saved svg { fill:currentColor; }
.shop-product-copy { display:flex; justify-content:space-between; gap:8px; min-height:79px; padding:4px 12px 13px; }
.shop-product-copy h3 { margin:0; max-width:19ch; font-size:.68rem; line-height:1.25; letter-spacing:-.025em; }
.shop-product-copy h3 a:hover { text-decoration:underline; text-underline-offset:3px; }
.shop-product-copy p { margin:5px 0 0; color:var(--muted); font-size:.59rem; line-height:1.3; }
.shop-product-price { display:flex; flex-direction:column; align-items:end; white-space:nowrap; font:.58rem var(--mono); color:var(--muted); }
.shop-product-price b { margin-top:auto; color:var(--ink); font:500 .88rem var(--mono); }
.shop-product-price s { margin-top:2px; }
.shop-add { display:flex; align-items:center; justify-content:center; gap:5px; width:calc(100% - 24px); margin:0 12px 12px; border:1px solid var(--line); border-radius:8px; padding:8px; color:var(--ink); font:500 .58rem var(--mono); letter-spacing:.05em; text-transform:uppercase; transition:background .2s ease, color .2s ease, border-color .2s ease; }
.shop-add svg { width:12px; height:12px; }
.shop-add:hover { color:var(--paper); background:var(--ink); border-color:var(--ink); }
.shop-benefits { border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.shop-benefits > .wrap { display:grid; grid-template-columns:repeat(4, 1fr); }
.shop-benefits > .wrap > div { display:flex; align-items:center; gap:12px; min-height:78px; padding:15px 12px; }
.shop-benefits > .wrap > div + div { border-left:1px solid var(--line); }
.shop-benefits svg { width:22px; height:22px; color:var(--muted); stroke-width:1.55; flex:0 0 auto; }
.shop-benefits p { margin:0; font-size:.59rem; line-height:1.45; }
.shop-benefits b, .shop-benefits span { display:block; }
.shop-benefits b { color:var(--ink); font-size:.65rem; }
.shop-benefits span { color:var(--muted); }

@media (max-width:980px) {
  .shop-hero { grid-template-columns:1fr 1fr; }
  .shop-hero-art { min-height:260px; }
  .shop-categories { grid-template-columns:repeat(2, 1fr); }
  .shop-category { height:175px; }
  .shop-category-trucks { grid-column:auto; }
  .shop-catalog { grid-template-columns:repeat(3, minmax(0, 1fr)); }
}
@media (max-width:680px) {
  .shop-page { padding-top:20px; }
  .shop-hero { grid-template-columns:1fr; gap:0; padding:28px 0 20px; }
  .shop-hero h1 { font-size:clamp(3.8rem, 17vw, 5.8rem); }
  .shop-hero-art { min-height:auto; margin-top:-7px; }
  .shop-hero-art img { width:100%; max-height:275px; }
  .shop-categories { grid-template-columns:1fr; padding-bottom:32px; }
  .shop-category { height:152px; }
  .shop-category img { width:57%; }
  .shop-collection-head, .shop-catalog-tools { align-items:flex-start; flex-direction:column; }
  .shop-collection-head > p { margin:0; }
  .shop-catalog-tools { gap:14px; }
  .shop-catalog-tools .sort { width:100%; }
  .shop-catalog { grid-template-columns:1fr; gap:20px; }
  .shop-product-image { height:260px; padding:20px; }
  .shop-product-copy { padding:16px 18px; }
  .shop-product-copy h3 { font-size:1.08rem; max-width:100%; }
  .shop-product-price b { font-size:1.15rem; }
  .shop-add { width:calc(100% - 20px); margin:0 10px 10px; }
  .shop-benefits > .wrap { grid-template-columns:1fr 1fr; }
  .shop-benefits > .wrap > div:nth-child(3) { border-left:0; border-top:1px solid var(--line); }
  .shop-benefits > .wrap > div:nth-child(4) { border-top:1px solid var(--line); }
}
@media (max-width:390px) { .shop-catalog { grid-template-columns:1fr; } .shop-product-image { height:220px; } }
}

/* Shop reference design v2 */
.shop-shell { --paper:#ffffff; --paper-2:#f2eee5; --ink:#171512; --muted:#746f67; --line:#ded8cc; --lime:#c8e600; --lime-deep:#93aa00; background:#ffffff; }
.shop-shell .wrap { width:min(1180px, calc(100% - 48px)); }
.shop-announce { display:block; min-height:42px; padding:11px 48px; background:#1a1815; color:#fff; font-family:var(--sans); font-size:.85rem; letter-spacing:.08em; text-transform:none; text-align:center; }
.shop-announce b { color:#d5ed00; }
.shop-shell .nav { height:82px; background:#ffffff; }
.shop-shell .nav .logo { font-size:1.35rem; text-transform:uppercase; }
.shop-shell .nav .logo-mark { width:32px; height:32px; border-radius:50%; }
.shop-shell .shop-navlinks { position:absolute; left:50%; transform:translateX(-50%); gap:36px; color:#34302b; font-size:.95rem; white-space:nowrap; }
.shop-shell #navGuestDropdown,.shop-shell #navAccountDropdown,.shop-shell #navAdmin { display:none !important; }
.shop-shell .nav-actions { gap:7px; }
.shop-shell .nav-actions .icon-btn { width:40px; height:40px; border:0; border-radius:8px; color:#171512; }
.shop-shell .nav-actions .icon-btn:hover { background:#efeae1; transform:none; }
.shop-shell .cart-dot { top:0; right:-1px; background:#171512; color:#fff; }
.rc-shop { padding:0 0 96px; }
.rc-hero { display:grid; grid-template-columns:.78fr 1.22fr; align-items:center; min-height:420px; padding:64px 0 44px; }
.rc-hero-copy { position:relative; z-index:2; padding-top:5px; }
.rc-hero-copy .eyebrow { color:#8c7e71; font-size:.8rem; letter-spacing:.15em; }
.rc-hero h1 { max-width:none; margin:14px 0 0; font-size:clamp(4.4rem,6.8vw,6.45rem); line-height:.84; letter-spacing:-.088em; }
.rc-hero h1 em { color:#c8e600; font-style:normal; }
.rc-accent-line { display:block; width:42px; height:2px; margin:32px 0 28px; background:#c8e600; }
.rc-hero-copy > p:last-child { margin:0; color:#4e4a45; font-size:1.05rem; line-height:1.6; }
.rc-hero-media { align-self:stretch; min-width:0; display:flex; align-items:center; justify-content:flex-end; overflow:hidden; }
.rc-hero-media img { display:block; width:118%; max-width:780px; height:385px; object-fit:cover; object-position:center; mix-blend-mode:multiply; }

.rc-category-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:16px; padding:16px 0 44px; }
.rc-category-card { position:relative; min-width:0; height:175px; overflow:hidden; padding:20px 18px; border:1px solid #e4dfd4; border-radius:16px; background:#fbf9f4; text-align:left; transition:transform .25s var(--ease),border-color .25s ease,box-shadow .25s ease; cursor:pointer; isolation:isolate; display:flex; flex-direction:column; justify-content:flex-start; }
.rc-category-card:hover { transform:translateY(-3px); border-color:#c4bdae; box-shadow:0 12px 28px rgb(37 32 23 / .06); }
.rc-category-card.active { border-color:#b8cf00; background:#ffffff; box-shadow:0 0 0 2px rgb(200 230 0 / .25),0 12px 28px rgb(37 32 23 / .06); }
.rc-category-card:focus-visible { outline:3px solid rgb(200 230 0 / .55); outline-offset:3px; }
.rc-category-card .eyebrow { position:relative; z-index:2; display:inline-flex; align-items:center; gap:4px; width:fit-content; color:#787268; font-size:.65rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; background:rgba(0,0,0,0.04); padding:3px 8px; border-radius:6px; margin-bottom:8px; }
.rc-category-card .eyebrow b { color:#829600; font-weight:700; }
.rc-category-card h2 { position:relative; z-index:2; margin:0 0 4px; font-size:1.2rem; font-weight:800; line-height:1.15; letter-spacing:-.03em; color:#171512; }
.rc-category-card p { position:relative; z-index:2; margin:0; color:#8a847b; font-size:.76rem; line-height:1.35; max-width:62%; }
.rc-category-card svg { position:absolute; z-index:2; left:18px; bottom:18px; width:16px; height:16px; color:#829600; transition:transform .25s var(--ease); }
.rc-category-card:hover svg { transform:translateX(5px); }
.rc-category-card img { position:absolute; z-index:1; right:-4px; bottom:-4px; width:54%; height:78%; object-fit:contain; object-position:right bottom; mix-blend-mode:multiply; opacity:.92; transition:transform .3s var(--ease),opacity .3s ease; }
.rc-category-card:hover img { transform:scale(1.06); opacity:1; }
.rc-category-card:first-child img { right:-4px; bottom:-4px; width:56%; }

.rc-collection { margin-top:16px; padding-top:56px; border-top:1px solid #ded8cc; }
.rc-collection-head { display:flex; justify-content:space-between; align-items:end; gap:24px; }
.rc-collection-head .eyebrow { color:#8c7e71; font-size:.76rem; }
.rc-collection-head h2 { margin:9px 0 0; font-size:2.85rem; line-height:.92; letter-spacing:-.07em; }
.rc-collection-head > p { margin:0 8px 1px 0; color:#716c65; font-size:.92rem; line-height:1.5; }
.rc-catalog-tools { display:flex; align-items:center; justify-content:space-between; gap:20px; margin:28px 0 24px; }
.rc-filters { display:flex; flex-wrap:wrap; gap:8px; }
.rc-filters button { min-height:44px; padding:10px 20px; border:1px solid #ded8cc; border-radius:99px; color:#756f67; font-size:.9rem; transition:background .18s,color .18s,border-color .18s; }
.rc-filters button:hover,.rc-filters button.active { background:#171512; border-color:#171512; color:#fff; }
.rc-catalog-tools select { min-width:180px; height:44px; padding:0 15px; border:1px solid #ded8cc; border-radius:8px; background:#ffffff; color:#5f5a53; font-size:.88rem; }
.rc-filter-header { display:flex; align-items:center; gap:14px; margin:-8px 0 22px; padding:14px 0; border-top:1px solid #e7e1d6; border-bottom:1px solid #e7e1d6; }
.rc-filter-toggle,.rc-filter-reset { display:inline-flex; min-height:42px; align-items:center; justify-content:center; gap:8px; border-radius:9px; font-size:.9rem; font-weight:700; }
.rc-filter-toggle { padding:9px 15px; border:1px solid #cbc4b8; background:#fff; color:#171512; }
.rc-filter-toggle:hover,.rc-filter-toggle.active { border-color:#171512; background:#171512; color:#fff; }
.rc-filter-toggle span { display:grid; min-width:21px; height:21px; place-items:center; padding:0 5px; border-radius:99px; background:var(--lime); color:#171512; font-size:.7rem; }
.rc-filter-toggle span[hidden] { display:none; }
.rc-filter-header > p { margin:0 0 0 auto; color:#746f67; font-size:.9rem; text-align:right; }
.rc-filter-reset { padding:8px 2px; color:#5e5850; text-decoration:underline; text-underline-offset:4px; }
.rc-filter-reset[hidden] { display:none; }
.rc-advanced-filters { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:17px 14px; margin:-8px 0 28px; padding:22px; border:1px solid #ded8cc; border-radius:16px; background:#f8f5ef; box-shadow:0 12px 32px rgb(38 32 22 / .05); }
.rc-advanced-filters[hidden] { display:none; }
.rc-filter-field { display:flex; min-width:0; flex-direction:column; gap:7px; color:#554f47; font-size:.76rem; font-weight:700; }
.rc-filter-field > span,.rc-price-filter legend { font:500 .68rem var(--mono); letter-spacing:.07em; text-transform:uppercase; }
.rc-filter-field select,.rc-filter-field input { width:100%; height:44px; border:1px solid #d8d0c3; border-radius:8px; outline:0; background:#fff; color:#171512; font:500 .88rem var(--sans); }
.rc-filter-field select { padding:0 35px 0 12px; }
.rc-filter-field input { padding:0 12px; }
.rc-filter-field select:focus,.rc-filter-field input:focus { border-color:#171512; box-shadow:0 0 0 3px rgb(200 230 0 / .22); }
.rc-filter-search { grid-column:span 2; }
.rc-filter-search > div { position:relative; }
.rc-filter-search svg { position:absolute; top:13px; left:12px; color:#77716a; pointer-events:none; }
.rc-filter-search input { padding-left:40px; }
.rc-price-filter { grid-column:span 2; min-width:0; margin:0; padding:0; border:0; }
.rc-price-filter > div { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.rc-price-filter label { display:flex; min-width:0; flex-direction:column; gap:5px; }
.rc-price-filter label span { color:#77716a; font-size:.68rem; font-weight:600; }
.rc-filter-check { display:flex; min-height:44px; align-items:center; align-self:end; gap:10px; padding:0 13px; border:1px solid #d8d0c3; border-radius:8px; background:#fff; color:#332f2a; font-size:.86rem; font-weight:700; cursor:pointer; }
.rc-filter-check input { width:17px; height:17px; accent-color:#171512; }
.rc-product-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }
.rc-loading { grid-column:1/-1; padding:48px 0; color:#77716a; font-size:.95rem; }
.rc-product-card { position:relative; display:flex; min-width:0; height:100%; overflow:hidden; flex-direction:column; border:1px solid #ded8cc; border-radius:16px; background:#ffffff; animation:rise .4s var(--ease) both; transition:transform .2s var(--ease),box-shadow .2s ease,border-color .2s ease; }
.rc-product-card:hover { transform:translateY(-3px); border-color:#c4bdae; box-shadow:0 12px 22px rgb(37 32 23 / .055); }
.rc-product-image { display:grid; place-items:center; width:100%; height:245px; overflow:hidden; flex:0 0 auto; padding:20px; border-bottom:1px solid #eae4d8; background:#fff; }
.rc-product-image img { display:block; width:100%; height:100%; object-fit:contain; transition:none !important; transform:none !important; }
.rc-product-card:hover .rc-product-image img { transform:none !important; }

.rc-sale { position:absolute; top:12px; left:12px; z-index:2; padding:5px 9px; border-radius:99px; background:#ffffff; color:#4e4942; font:500 .62rem var(--mono); letter-spacing:.06em; text-transform:uppercase; }
.rc-heart { display:grid; place-items:center; position:absolute; top:11px; right:11px; z-index:3; width:30px; height:30px; border-radius:50%; background:#ffffff; color:#27241f; }
.rc-heart svg { width:15px; height:15px; }
.rc-heart.saved { background:#171512; color:#fff; }
.rc-heart.saved svg { fill:currentColor; }
.rc-product-info { display:flex; align-items:stretch; justify-content:space-between; gap:14px; min-height:120px; padding:18px 20px; flex:1; }
.rc-product-title { min-width:0; }
.rc-product-title h3 { display:-webkit-box; min-height:2.7em; max-width:22ch; margin:0; overflow:hidden; font-size:1.02rem; line-height:1.35; letter-spacing:-.02em; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.rc-product-title h3 a:hover { text-decoration:underline; text-underline-offset:3px; }
.rc-product-title p { margin:7px 0 0; overflow:hidden; color:#746f67; font-size:.875rem; line-height:1.35; text-overflow:ellipsis; white-space:nowrap; }
.rc-product-side { display:flex; align-self:stretch; flex:0 0 auto; flex-direction:column; align-items:end; justify-content:flex-end; white-space:nowrap; }
.rc-rating { min-height:1.35em; margin-bottom:auto; color:#57524c; font-size:.78rem; }
.rc-product-side b { color:#171512; font:600 1.125rem var(--mono); }
.rc-product-side s { margin-top:4px; color:#918a81; font:400 .76rem var(--mono); }
.rc-benefits { border-top:1px solid #ded8cc; border-bottom:1px solid #ded8cc; background:#ffffff; }
.rc-benefits > .wrap { display:grid; grid-template-columns:repeat(4,1fr); }
.rc-benefits > .wrap > div { display:flex; align-items:center; justify-content:center; gap:15px; min-height:104px; padding:24px 0; }
.rc-benefits svg { width:28px; height:28px; color:#77716a; stroke-width:1.5; }
.rc-benefits p { margin:0; font-size:.86rem; line-height:1.4; }
.rc-benefits b,.rc-benefits span { display:block; }
.rc-benefits b { font-size:.94rem; }
.rc-benefits span { margin-top:3px; color:#827c74; }

@media(max-width:980px) {
  .shop-shell .shop-navlinks { gap:22px; }
  .rc-hero { grid-template-columns:.9fr 1.1fr; }
  .rc-hero-media img { width:125%; }
  .rc-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }  .rc-product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .rc-advanced-filters { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:700px) {
  .shop-shell .wrap { width:min(100% - 30px,1180px); }
  .shop-shell .shop-navlinks { display:none; }
  .shop-shell .menu-toggle { display:grid !important; }
  .rc-shop { padding-bottom:44px; }
  .rc-hero { grid-template-columns:1fr; min-height:0; padding:48px 0 18px; }
  .rc-hero h1 { font-size:clamp(3.7rem,17.5vw,5.8rem); }
  .rc-hero-media { margin-top:10px; }
  .rc-hero-media img { width:100%; height:auto; max-height:300px; object-fit:contain; }
  .rc-category-grid { grid-template-columns:1fr; }
}
@media(max-width:700px) {
  .shop-shell .wrap { width:min(100% - 30px,1180px); }
  .shop-shell .shop-navlinks { display:none; }
  .shop-shell .menu-toggle { display:grid !important; }
  .rc-shop { padding-bottom:44px; }
  .rc-hero { grid-template-columns:1fr; min-height:0; padding:48px 0 18px; }
  .rc-hero h1 { font-size:clamp(3.7rem,17.5vw,5.8rem); }
  .rc-hero-media { margin-top:10px; }
  .rc-hero-media img { width:100%; height:auto; max-height:300px; object-fit:contain; }
  .rc-category-grid { grid-template-columns:1fr; }
  .rc-category-card { height:185px; }
  .rc-category-card img { width:48%; }
  .rc-collection-head,.rc-catalog-tools { align-items:flex-start; flex-direction:column; }
  .rc-collection-head > p { margin-top:3px; }
  .rc-catalog-tools { gap:14px; }
  .rc-catalog-tools select { width:100%; }
  .rc-filter-header { flex-wrap:wrap; }
  .rc-filter-header > p { order:3; width:100%; }
  .rc-filter-reset { margin-left:auto; }
  .rc-advanced-filters { grid-template-columns:1fr; padding:17px; }
  .rc-filter-search,.rc-price-filter { grid-column:auto; }
  .rc-product-grid { grid-template-columns:1fr; gap:20px; }
  .rc-product-image { height:260px; padding:20px; }
  .rc-product-image img { width:100%; height:100%; object-fit:contain !important; }
  .rc-product-info { min-height:auto; padding:16px 20px; }
  .rc-product-title h3 { font-size:1.08rem; max-width:100%; }
  .rc-product-side b { font-size:1.15rem; }
  .rc-benefits > .wrap { grid-template-columns:1fr 1fr; }
  .rc-benefits > .wrap > div { justify-content:flex-start; min-height:68px; padding-left:12px; }
  .rc-benefits > .wrap > div:nth-child(n+3) { border-top:1px solid #ded8cc; }
  .home-heart, .rc-heart { display: none !important; }
}
@media(max-width:410px) { .rc-product-grid { grid-template-columns:1fr; } .rc-product-image { height:260px; } }

/* Product detail reference design */
.product-shell { --paper:#ffffff; --paper-2:#f2eee5; --soft:#f3efe7; --cream:#ffffff; --ink:#171512; --muted:#746f67; --line:#ded8cc; --lime:#c8e600; --orange:#c2410c; background:#ffffff; }
.product-shell .wrap { width:min(1180px,calc(100% - 48px)); }
.product-shell .nav { height:82px; background:#ffffff; }
.product-shell .nav .logo { font-size:1.35rem; text-transform:uppercase; }
.product-shell .nav .logo-mark { width:32px; height:32px; border-radius:50%; }
.product-shell .navlinks { position:absolute; left:50%; transform:translateX(-50%); gap:36px; color:#34302b; font-size:.95rem; white-space:nowrap; }
.product-shell .nav-actions { gap:7px; }
.product-shell .nav-actions .icon-btn { width:40px; height:40px; border:0; border-radius:8px; color:#171512; }
.product-shell .nav-actions .icon-btn svg { stroke:#171512; }
.product-shell .nav-actions .icon-btn:hover { background:#efeae1; transform:none; }
.product-shell .cart-dot { top:0; right:-1px; background:#171512; color:#fff; }
.product-shell .breadcrumb { padding:36px 0 32px; font-size:.82rem; }
.product-shell .breadcrumb span { margin:0 7px; }
.product-shell .product-grid { grid-template-columns:minmax(0,1.25fr) minmax(360px,.82fr); gap:52px; padding:20px 0 92px; align-items:start; }
.product-shell .gallery { display:flex; flex-direction:column; gap:16px; width:100%; }
.product-shell .thumbs { display:flex; flex-direction:row; flex-wrap:wrap; gap:12px; width:100%; order:2; }
.product-shell .thumb { width:82px; height:82px; flex:0 0 82px; border-radius:12px; background:#faf8f3; border:1px solid #ded8cc; cursor:pointer; overflow:hidden; padding:4px; }
.product-shell .thumb.active,.product-shell .thumb:hover { border:2px solid #171512; }
.product-shell .main-visual { width:100%; height:690px; min-height:540px; border:1px solid #ded8cc; border-radius:16px; background:#fbfaf7; position:relative; overflow:hidden; order:1; padding:0; }
.product-shell .main-visual:before { z-index:2; top:20px; left:21px; padding:7px 10px; border-radius:99px; background:#fff; color:#5e5851; font-size:.7rem; }
.product-shell .main-visual #mainImg { padding:0 !important; border-radius:16px !important; width:100%; height:100%; object-fit:contain; }
.gallery-dots { display:flex; gap:12px; position:absolute; z-index:3; left:50%; bottom:28px; transform:translateX(-50%); }
.gallery-dots span { width:7px; height:7px; border-radius:50%; background:#d2cec7; }
.gallery-dots span.active { background:#171512; }
.gallery-arrows { display:flex; gap:10px; position:absolute; z-index:3; right:18px; bottom:18px; }
.gallery-arrows button { display:grid; place-items:center; width:34px; height:34px; border:1px solid #ded8cc; border-radius:50%; background:#fbfaf7; }
.gallery-arrows button:hover { background:#171512; color:#fff; }
.gallery-arrows svg { width:14px; height:14px; }
.product-shell .product-info { padding-top:0; }
.product-shell .product-info > .eyebrow { color:#514c45; font-size:.72rem; letter-spacing:.13em; }
.product-shell .product-info h1 { max-width:18ch; margin:23px 0 19px; font-size:50px !important; line-height:.93; letter-spacing:-.072em; }
.product-shell .product-info .intro { max-width:48ch; margin-bottom:17px; color:#625d56; font-size:.95rem; line-height:1.55; }
.product-shell .price-row { padding:16px 0 19px; border-top:0; border-bottom:1px solid #ded8cc; }
.product-shell .price-row .price { font:500 1.5rem var(--sans); letter-spacing:-.04em; }
.product-shell .mrp { font-size:.82rem; }
.product-shell .save { padding:5px 9px; color:#354000; background:#c8e600; font-size:.7rem; }
.product-shell .option { padding-top:15px; }
.product-shell .option-head { align-items:end; font-size:.78rem; }
.product-shell .option-head span:last-child { color:#7b9500; }
.product-shell .quantity { height:46px; margin-top:9px; border-radius:10px; }
.product-shell .quantity button { width:38px; font-size:1rem; }
.product-shell .quantity span { width:28px; font-size:.8rem; }
.product-shell .actions { grid-template-columns:1fr 1fr !important; gap:10px; margin-top:19px; }
.product-shell .fomo-trust-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; margin:14px 0 16px; align-items:stretch; }
.product-shell .fomo-trust-card { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; min-height:78px; height:100%; box-sizing:border-box; padding:8px 6px; background:#f9fafb; border:1px solid var(--line); border-radius:8px; color:var(--ink); font-size:.72rem; font-weight:600; text-align:center; }
.product-shell .fomo-trust-card > span { display:flex; align-items:center; justify-content:center; min-height:2.4em; line-height:1.2; }
.product-shell .delivery { display:grid; grid-template-columns:1fr 1fr; margin-top:19px; padding:14px 0; border-top:1px solid #ded8cc; border-bottom:1px solid #ded8cc; gap:12px; align-items:center; }
.product-shell .delivery > div { display:flex; align-items:center; gap:8px; padding:0; font-size:.75rem; }
.product-shell .delivery > div:first-child { border-right:1px solid #ded8cc; padding-right:8px; }
.product-shell .delivery > div:last-child { padding-left:4px; }
.product-shell .delivery strong { display:block; font-size:.78rem; color:var(--ink); line-height:1.2; }
.product-shell .detail-note { margin-top:13px; font-size:.74rem; line-height:1.5; }
.product-shell .info-section { padding:64px 0 88px; }
.product-shell .info-tabs { gap:34px; margin-bottom:44px; }
.product-shell .tab { padding-bottom:13px; font-size:.82rem; }
.product-shell .tab.active:after { height:2px; background:#c8e600; }
.product-shell .info-content { display:flex; flex-direction:column; align-items:center; text-align:center; max-width:880px; margin:0 auto; gap:36px; }
.product-shell .tab-panel[hidden] { display:none !important; }
.product-shell .info-content h2,
.product-shell .description-content h2 { margin-bottom:8px; font-size:2.2rem; letter-spacing:-0.03em; }
.product-shell .info-content p { color:var(--muted); font-size:1rem; line-height:1.6; margin-bottom:0; }
.product-shell .description-content { max-width:780px; }
.product-shell #descText { display:block; color:#404040; font-size:1rem; line-height:1.75; text-align:left; }
.product-shell #descText h1,
.product-shell #descText h2,
.product-shell #descText h3,
.product-shell #descText h4 { color:var(--ink); font-weight:800; line-height:1.3; margin:22px 0 10px 0; letter-spacing:-0.02em; }
.product-shell #descText h1 { font-size:1.75rem; }
.product-shell #descText h2 { font-size:1.45rem; border-bottom:1px solid var(--line); padding-bottom:8px; margin-top:28px; }
.product-shell #descText h3 { font-size:1.2rem; }
.product-shell #descText h4 { font-size:1.05rem; }
.product-shell #descText p { max-width:75ch; margin:0 0 14px 0; color:#525252; }
.product-shell #descText p:last-child { margin-bottom:0; }
.product-shell #descText ul,
.product-shell #descText ol { margin:0 0 16px 20px; padding-left:12px; color:#525252; }
.product-shell #descText li { margin-bottom:6px; line-height:1.6; }
.product-shell #descText strong,
.product-shell #descText b { color:var(--ink); font-weight:700; }
.product-shell #descText blockquote { border-left:3px solid var(--orange); margin:16px 0; padding:10px 16px; background:#fafafa; color:#525252; font-style:italic; border-radius:0 8px 8px 0; }
.product-shell #descText a { color:var(--orange); text-decoration:underline; font-weight:600; }
.product-shell #descText a:hover { color:var(--ink); }
.product-shell .specs { display:grid; grid-template-columns:repeat(2, 1fr); gap:12px 48px; width:100%; text-align:left; }
.product-shell .spec { display:flex; justify-content:space-between; align-items:center; min-height:46px; padding:12px 0; border-bottom:1px solid var(--line); font-size:.92rem; }
.product-shell .spec label { margin:0; color:var(--muted); font-size:.82rem; font-weight:600; text-transform:uppercase; letter-spacing:.04em; }
.product-shell .spec span { color:var(--ink); font-size:.92rem; font-weight:600; text-align:right; }
.product-shell .related { padding:48px 0 92px; }
.product-shell .related-head { margin-bottom:14px; }
.product-shell .related h2 { margin-top:5px; font-size:2.2rem; }
.product-shell .related-link { font-size:.74rem; }
.product-shell .related-grid { gap:26px; }

@media(max-width:980px) {
  .product-shell .navlinks { gap:22px; }
  .product-shell .product-grid { grid-template-columns:1fr; gap:38px; }
  .product-shell .main-visual { height:590px; }
  .product-shell .product-info { max-width:650px; }
}
@media(max-width:700px) {
  .product-shell .wrap { width:min(100% - 30px,1180px); }
  .product-shell .navlinks { display:none; }
  .product-shell .menu-toggle { display:grid !important; }
  .product-shell .breadcrumb { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
  .product-shell .gallery { display:flex; flex-direction:column; }
  .product-shell .main-visual { order:1; height:390px; }
  .product-shell .thumbs { order:2; display:flex; overflow-x:auto; }
  .product-shell .thumb { flex:0 0 70px; }
  .product-shell .product-info h1 { font-size:50px !important; }
  .product-shell .actions { grid-template-columns:1fr 1fr 46px !important; }
  .product-shell .info-content { gap:24px; }
  .product-shell .specs { grid-template-columns:1fr; gap:0; }
  .product-shell .related-grid { grid-template-columns:1fr !important; gap:20px !important; }
}
@media(max-width:420px) {
  .product-shell .main-visual { height:340px; }
  .product-shell .actions { grid-template-columns:1fr 48px !important; }
  .product-shell #buyBtn { grid-column:1/-1; }
  .product-shell .fomo-trust-grid { grid-template-columns:1fr; }
  .product-shell .fomo-trust-card { min-height:58px; flex-direction:row; justify-content:flex-start; text-align:left; padding:10px 12px; }
  .product-shell .fomo-trust-card > span { min-height:0; justify-content:flex-start; }
  .product-shell .delivery { grid-template-columns:1fr; gap:12px; }
  .product-shell .delivery > div:first-child { border-right:0; }
  .product-shell .related-grid { grid-template-columns:1fr; }
}

/* Landing page reference design */
.landing-shell { --paper:#ffffff;--paper-2:#f1ece3;--soft:#f4f0e8;--ink:#171512;--muted:#716b63;--line:#dfd8cc;--lime:#d5ed00;--orange:#c2410c;background:#ffffff; }
.landing-shell .wrap { width:min(1180px,calc(100% - 48px)); }
.landing-shell .nav { height:82px;background:#ffffff; }
.landing-shell .nav .logo { font-size:1.35rem;text-transform:uppercase; }
.landing-shell .nav .logo-mark { width:32px;height:32px;border-radius:50%; }
.landing-shell .navlinks { position:absolute;left:50%;transform:translateX(-50%); }
.landing-shell .navlinks > :not(.landing-nav-links),
.shop-shell .navlinks > :not(.landing-nav-links),
.product-shell .navlinks > :not(.landing-nav-links) { display:none !important; }
.landing-nav-links { display:flex;align-items:center;gap:36px;white-space:nowrap;color:#34302b;font-size:.95rem; }
.public-navlinks { position:absolute;left:50%;transform:translateX(-50%);gap:36px;color:#34302b;font-size:.95rem;white-space:nowrap; }
.public-navlinks > :not(.landing-nav-links) { display:none !important; }
.landing-shell .nav-actions { gap:7px; }
.landing-shell .nav-actions .icon-btn { width:40px;height:40px;border:0;border-radius:8px;color:#171512; }
.landing-shell .nav-actions .icon-btn:hover { background:#efeae1;transform:none; }
.landing-shell .cart-dot { background:#171512;color:#fff;top:0;right:-1px; }
.home-page { background:#ffffff; }
.home-hero { display:grid;grid-template-columns:1fr 1.08fr;gap:70px;align-items:center;padding:64px 0 52px; }
.home-hero-copy .eyebrow { color:#413c36;font-size:.78rem;letter-spacing:.14em; }
.home-hero h1 { max-width:none;margin:28px 0 22px;font-size:clamp(3.8rem,5vw,4.65rem);line-height:.92;letter-spacing:-.075em;white-space:nowrap; }
.home-hero h1 em { color:#ff6428;font-style:normal; }
.home-hero-copy > p:not(.eyebrow) { margin:0;color:#4d4842;font-size:1.05rem;line-height:1.6; }
.home-hero-actions { display:flex;gap:16px;margin-top:32px; }
.home-hero-actions a { display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:52px;padding:0 24px;border:1px solid #cfc7ba;border-radius:99px;font-size:.92rem; }
.home-hero-actions a:first-child { background:#171512;border-color:#171512;color:#fff; }
.home-hero-actions svg { width:15px;height:15px; }
.home-rating { display:flex;align-items:center;gap:9px;margin-top:28px;color:#4c4741;font-size:.84rem; }
.home-avatars { display:flex; }
.home-avatars i { display:grid;place-items:center;width:26px;height:26px;margin-left:-5px;border:2px solid #ffffff;border-radius:50%;background:#79bde8;color:#fff;font-size:.65rem;font-style:normal; }
.home-avatars i:first-child { margin-left:0;background:#377ca7; }.home-avatars i:nth-child(2){background:#e49b5d}.home-avatars i:nth-child(3){background:#2b2019}
.home-stars { color:#c4d900;letter-spacing:.08em; }
.home-hero-image { height:460px;overflow:hidden;border-radius:30px; }
.home-hero-image img { width:100%;height:100%;object-fit:cover; }
.home-section { padding:64px 0 52px;border-top:1px solid #dfd8cc; }
.home-section-head { display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:34px; }
.home-section-head .eyebrow,.home-featured-head .eyebrow { font-size:.76rem;color:#4c4640; }
.home-section h2 { margin:8px 0 0;font-size:2.4rem;line-height:1.03;letter-spacing:-.06em; }
.home-filters { display:flex;gap:12px;flex-wrap:wrap; }
.home-filters button { min-width:76px;height:44px;padding:0 20px;border:1px solid #d7d0c4;border-radius:99px;color:#4c4741;font-size:.9rem; }
.home-filters button.active,.home-filters button:hover { background:#171512;border-color:#171512;color:#fff; }
.home-products { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px; }
.home-loading { grid-column:1/-1;padding:48px 0;color:#716b63; }
.home-product-card { position:relative;display:flex;min-width:0;height:100%;overflow:hidden;flex-direction:column;border:1px solid #ded8cc;border-radius:16px;background:#ffffff;transition:transform .2s var(--ease),box-shadow .2s ease,border-color .2s ease; }
.home-product-card[hidden] { display:none !important; }
.home-product-card:hover { transform:translateY(-3px);border-color:#c9c1b5;box-shadow:0 12px 24px rgb(35 30 20 / .07); }
.home-product-image { display:grid;place-items:center;width:100%;height:245px;padding:20px;overflow:hidden;border-bottom:1px solid #eae4d8;background:#fff; }
.home-product-image img { display:block;width:100%;height:100%;object-fit:contain;transition:none !important;transform:none !important; }
.home-product-card:hover img { transform:none !important; }
.home-product-image:focus-visible,.home-product-info a:focus-visible,.home-heart:focus-visible { outline:2px solid #171512;outline-offset:-2px; }
.home-heart { display:grid;place-items:center;position:absolute;right:14px;top:14px;width:34px;height:34px;border:1px solid #ded8cc;border-radius:50%;background:#ffffff;color:#171512;z-index:2;cursor:pointer; }.home-heart svg{width:16px;height:16px}.home-heart.saved{background:#171512;color:#fff;border-color:#171512}.home-heart.saved svg{fill:currentColor}
.home-product-info { display:flex;justify-content:space-between;align-items:flex-end;gap:14px;min-height:120px;padding:18px 20px;flex:1; }
.home-product-info > div { min-width:0; }
.home-product-info h3 { display:-webkit-box;min-height:2.7em;max-width:22ch;margin:0;overflow:hidden;font-size:1.02rem;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2; }
.home-product-info h3 a{color:#171512;text-decoration:none}.home-product-info span{display:block;margin-top:7px;overflow:hidden;color:#746f67;font-size:.875rem;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.home-product-price{flex:0 0 auto;white-space:nowrap;font:600 1.125rem var(--mono);color:#171512}
.home-featured { padding:64px 0 52px; border-top:1px solid #dfd8cc; }
.home-featured-head { display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:34px; }.home-featured-head h2{margin:7px 0 0;font-size:2.45rem;line-height:1.04;letter-spacing:-.06em}.home-featured-head>a{display:flex;align-items:center;gap:10px;font-size:.9rem;color:#171512;text-decoration:none}.home-featured-head svg{width:15px}
.home-featured-grid { grid-template-columns:repeat(3,1fr); gap:26px; }
.home-featured-grid .home-product-card { min-height:0; }
.home-promos { display:grid;grid-template-columns:1fr 1fr;gap:26px;padding:52px 0 60px; }
.home-promo { position:relative;min-height:280px;overflow:hidden;border-radius:20px;padding:36px 40px; }.home-promo>div{position:relative;z-index:3}.home-promo .eyebrow{font-size:.78rem;color:#d5ed00}.home-promo h2{margin:10px 0 16px;font-size:2.4rem;line-height:1;letter-spacing:-.06em}.home-promo span{display:block;font-size:.96rem;line-height:1.5}.home-promo a{display:inline-flex;align-items:center;gap:13px;margin-top:20px;padding:12px 20px;border-radius:99px;font-size:.88rem}.home-promo a svg{width:14px}
.home-promo-dark { background:#211d19;color:#fff; }.home-promo-dark a{background:#d5ed00;color:#171512}.home-promo-dark>b{position:absolute;right:40px;bottom:-38px;color:rgb(255 255 255 / .14);font-size:8rem}.home-controller{position:absolute;right:60px;top:42px;width:120px;height:120px;color:#635b52;z-index:2}
.home-promo-orange { background:#ff6428;color:#fff; }.home-promo-orange:after{content:'';position:absolute;right:-23px;top:-55px;width:180px;height:180px;border-radius:50%;background:#d9ef00}.home-promo-orange a{background:#171512;color:#fff}.home-promo-orange img{position:absolute;z-index:2;right:-8px;bottom:-25px;width:57%;height:91%;object-fit:contain;object-position:right bottom}
.home-benefits { display:grid;grid-template-columns:repeat(4,1fr);padding:44px 0;border-top:1px solid #dfd8cc;border-bottom:1px solid #dfd8cc; }
.home-benefits>div{display:flex;gap:15px;padding:0 24px}.home-benefits>div+div{border-left:1px solid #dfd8cc}.home-benefits>div:first-child{padding-left:10px}.home-benefits>div>svg{flex:0 0 auto;width:38px;height:38px;padding:8px;border-radius:50%;background:#d5ed00}.home-benefits>div:nth-child(2)>svg{background:#ff7139}.home-benefits>div:nth-child(3)>svg{background:#75bce5}.home-benefits>div:nth-child(4)>svg{background:#eee6d7}.home-benefits p{margin:0;font-size:.88rem;line-height:1.45}.home-benefits b,.home-benefits span{display:block}.home-benefits b{font-size:.96rem}.home-benefits span{margin-top:4px;color:#716b63}
.home-community { display:grid;grid-template-columns:1fr;gap:26px;padding:56px 0; }
.home-community article{position:relative;min-height:220px;overflow:hidden;border:1px solid #dfd8cc;border-radius:20px;background:#ffffff;padding:40px 48px}.home-quote{position:absolute;left:26px;top:8px;color:#d5ed00;font-size:5.2rem}.home-testimonial>.home-stars{margin-left:66px;font-size:.9rem}.home-testimonial blockquote{margin:20px 0 18px 66px;font-size:1.22rem;line-height:1.4;font-weight:600;min-height:3.6em;max-width:85ch;transition:opacity 0.2s ease}.home-testimonial footer{display:flex;align-items:center;gap:12px;margin-left:66px}.home-person{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#745544;color:#fff;font-size:.78rem;font-weight:700}.home-testimonial footer b,.home-testimonial footer small{display:block;font-size:.86rem}.home-testimonial footer small{margin-top:2px;color:#817b73}.home-quote-arrows{display:flex;gap:7px;position:absolute;right:28px;top:26px}.home-quote-arrows button{display:grid;place-items:center;width:36px;height:36px;border:1px solid #dfd8cc;border-radius:50%;cursor:pointer;background:#fff;transition:background 0.2s}.home-quote-arrows button:hover{background:#171512;color:#fff;border-color:#171512}.home-quote-arrows svg{width:14px}.testi-dots{display:flex;gap:8px;margin-top:16px;margin-left:66px}.testi-dot{width:8px;height:8px;border-radius:50%;background:#d8d2c6;cursor:pointer;transition:background 0.2s,transform 0.2s}.testi-dot.active{background:#171512;transform:scale(1.25)}
.home-newsletter>div{position:relative;z-index:2;width:64%}.home-newsletter h2{margin:0 0 10px;font-size:2.15rem;line-height:1.05;letter-spacing:-.05em}.home-newsletter p{margin:0;color:#5f5952;font-size:.96rem;line-height:1.5}.home-newsletter form{display:flex;width:360px;margin-top:20px}.home-newsletter input{min-width:0;flex:1;height:46px;padding:0 18px;border:1px solid #d8d1c5;border-radius:99px 0 0 99px;background:#fff;font-size:.88rem}.home-newsletter button{display:flex;align-items:center;gap:8px;height:46px;padding:0 20px;border-radius:99px;background:#171512;color:#fff;font-size:.85rem}.home-newsletter button svg{width:14px}.home-newsletter small{display:block;margin-top:10px;color:#817a71;font-size:.76rem}.home-newsletter>img{position:absolute;z-index:1;right:-8px;bottom:-28px;width:56%;height:124%;object-fit:contain;object-position:right bottom;opacity:1}
.home-footer { display:grid;grid-template-columns:2fr repeat(4,1fr) 1.5fr;gap:32px;padding:48px 0 60px;border-top:1px solid #dfd8cc;color:#5d5750;font-size:.86rem; }.home-footer>div{display:flex;flex-direction:column;gap:8px}.home-footer b{color:#171512;margin-bottom:6px;font-size:.92rem}.home-footer-brand{justify-content:space-between}.home-footer-brand .logo{font-size:1.35rem}.home-footer-brand .logo>span:last-child>span{color:#ff6428}.home-footer-brand small{font-size:.75rem}.home-follow>span{display:flex;gap:12px}.home-follow svg{width:18px;height:18px}.home-follow strong{margin-top:auto;color:#171512;font-size:.74rem}
.footer-payments { margin-top:auto; padding-top:4px; }
.footer-payments img { max-width:175px; width:100%; height:auto; display:block; object-fit:contain; }
@media(max-width:980px){.landing-nav-links{gap:18px}.home-hero{gap:35px}.home-products{grid-template-columns:repeat(3,1fr)}.home-benefits{grid-template-columns:1fr 1fr;row-gap:20px}.home-benefits>div:nth-child(3){border-left:0}.home-footer{grid-template-columns:repeat(3,1fr)} }
@media(max-width:700px){.landing-shell .wrap{width:min(100% - 30px,1180px)}.landing-shell .navlinks{display:none}.landing-shell .menu-toggle{display:grid!important}.home-hero{grid-template-columns:1fr;padding-top:40px}.home-hero h1{font-size:clamp(3.6rem,16vw,5.4rem);white-space:normal}.home-hero-image{height:330px}.home-section-head{align-items:flex-start;flex-direction:column}.home-products{grid-template-columns:1fr;gap:20px}.home-product-image{height:260px;padding:20px}.home-product-image img{width:100%;height:100%;object-fit:contain!important}.home-product-info{min-height:auto;padding:16px 20px}.home-product-info h3{font-size:1.08rem;max-width:100%}.home-product-price{font-size:1.15rem}.home-featured-grid{grid-template-columns:1fr}.home-featured-grid .home-product-image{height:260px}.home-promos,.home-community{grid-template-columns:1fr}.home-benefits{grid-template-columns:1fr}.home-benefits>div{padding:10px}.home-benefits>div+div{border-left:0;border-top:1px solid #dfd8cc}.home-newsletter>div{width:68%}.home-newsletter form{width:min(100%,330px)}.home-newsletter>img{right:-22px;width:56%;height:112%;opacity:.94}.home-footer{grid-template-columns:1fr 1fr}.home-footer-brand,.home-follow{grid-column:1/-1}.home-controller{right:20px}.home-promo-orange img{right:-24px;width:58%}}


/* Header Search Modal */
.search-modal-overlay { position: fixed; inset: 0; z-index: 10000; background: rgba(18, 16, 14, 0.65); backdrop-filter: blur(8px); display: flex; align-items: flex-start; justify-content: center; padding-top: max(40px, 8vh); opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease); }
.search-modal-overlay.active { opacity: 1; pointer-events: auto; }
.search-modal-container { width: min(680px, calc(100vw - 32px)); background: #fbf9f4; border: 1px solid #ded8cc; border-radius: 20px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22); overflow: hidden; display: flex; flex-direction: column; transform: translateY(-12px) scale(0.98); transition: transform 0.25s var(--ease); }
.search-modal-overlay.active .search-modal-container { transform: translateY(0) scale(1); }
.search-modal-header { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #ded8cc; background: #fff; }
.search-modal-header .search-icon { color: #8c7e71; flex-shrink: 0; }
.search-modal-header input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font-family: var(--sans); font-size: 1.1rem; font-weight: 500; color: #171512; }
.search-modal-header input::placeholder { color: #9a9288; }
.search-kbd { padding: 3px 7px; border: 1px solid #ded8cc; border-radius: 6px; font: 500 0.68rem var(--mono); color: #8c7e71; background: #f8f5ee; }
.search-close-btn { display: grid; place-items: center; width: 32px; height: 32px; border: none; border-radius: 8px; background: transparent; color: #746f67; cursor: pointer; transition: background 0.15s, color 0.15s; }
.search-close-btn:hover { background: #efeae1; color: #171512; }
.search-categories { display: flex; gap: 8px; padding: 12px 20px; border-bottom: 1px solid #eae4d8; background: #fbf9f4; overflow-x: auto; }
.search-chip { padding: 6px 14px; border: 1px solid #ded8cc; border-radius: 99px; font-size: 0.8rem; font-weight: 500; color: #746f67; cursor: pointer; white-space: nowrap; transition: background 0.18s, color 0.18s, border-color 0.18s; }
.search-chip.active, .search-chip:hover { background: #171512; border-color: #171512; color: #fff; }
.search-results-area { max-height: 420px; overflow-y: auto; padding: 12px; }
.search-placeholder-msg, .search-no-results { padding: 36px 20px; text-align: center; color: #8a847b; font-size: 0.92rem; margin: 0; }
.search-item { display: flex; align-items: center; gap: 16px; padding: 10px 14px; border-radius: 12px; text-decoration: none; color: inherit; transition: background 0.18s; }
.search-item:hover, .search-item.selected { background: #efeae1; }
.search-item-img { width: 54px; height: 54px; border-radius: 8px; background: #fff; border: 1px solid #eae4d8; display: grid; place-items: center; padding: 4px; flex-shrink: 0; }
.search-item-img img { width: 100%; height: 100%; object-fit: contain; }
.search-item-info { flex: 1; min-width: 0; }
.search-item-info h4 { margin: 0 0 3px; font-size: 0.92rem; font-weight: 600; color: #171512; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-item-info p { margin: 0; font-size: 0.76rem; color: #827c74; }
.search-item-price { font: 600 0.95rem var(--mono); color: #171512; white-space: nowrap; }
.search-modal-footer { padding: 10px 20px; background: #f8f5ee; border-top: 1px solid #ded8cc; font-size: 0.74rem; color: #8c7e71; display: flex; align-items: center; justify-content: space-between; }
.search-modal-footer kbd { display: inline-block; padding: 1px 5px; border: 1px solid #ded8cc; border-radius: 4px; background: #fff; font: 500 0.68rem var(--mono); color: #57524c; }

/* Global Loading Spinner Animation */
@keyframes buyrc-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.lucide-loader, .lucide-loader-2, .spin, [data-lucide="loader"], [data-lucide="loader-2"] {
  animation: buyrc-spin 0.85s linear infinite !important;
  display: inline-block;
  transform-origin: center center;
}

/* Card CTA Action Buttons */
.card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px 14px;
  border-top: 1px solid #ded8cc;
  background: #fbf9f4;
  margin-top: auto;
}

.card-btn-buy {
  flex: 1;
  height: 38px;
  border-radius: 99px;
  background: #171512;
  color: #fff;
  border: 1px solid #171512;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}

.card-btn-buy:hover {
  background: #ff6428;
  border-color: #ff6428;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 100, 40, 0.25);
}

.card-btn-bag {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #ded8cc;
  color: #171512;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.card-btn-bag:hover {
  background: #171512;
  border-color: #171512;
  color: #fff;
  transform: translateY(-1px);
}

.card-out-of-stock {
  width: 100%;
  height: 38px;
  border-radius: 99px;
  background: #dc2626;
  color: #ffffff;
  border: none;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: not-allowed;
  user-select: none;
}

.product-out-of-stock {
  width: 100%;
  height: 48px;
  border-radius: 99px;
  background: #dc2626;
  color: #ffffff;
  border: none;
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: not-allowed;
  user-select: none;
}

/* =============================================================================
   GLOBAL MOBILE PRODUCT GRID & WISHLIST PURGE OVERRIDES
   ============================================================================= */
@media (max-width: 768px) {
  .home-products,
  .rc-product-grid,
  .shop-catalog,
  .related-grid,
  .home-featured-grid,
  .product-shell .related-grid,
  #catalog,
  #productsGrid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .home-product-image,
  .rc-product-image,
  .shop-product-image,
  .product-shell .related-grid .home-product-image {
    height: 270px !important;
    padding: 20px !important;
    background: #ffffff !important;
    display: grid !important;
    place-items: center !important;
  }

  .home-product-image img,
  .rc-product-image img,
  .shop-product-image img,
  .product-shell .related-grid img {
    width: 100% !important;
    height: 100% !important;
    max-height: 230px !important;
    object-fit: contain !important;
  }

  .home-product-info,
  .rc-product-info,
  .shop-product-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    min-height: auto !important;
    padding: 16px 18px !important;
  }

  .rc-product-title {
    width: 100% !important;
  }

  .home-product-info h3,
  .rc-product-title h3,
  .shop-product-copy h3 {
    font-size: 1.1rem !important;
    max-width: 100% !important;
    line-height: 1.35 !important;
    -webkit-line-clamp: 2 !important;
    margin-bottom: 2px !important;
  }

  .home-product-info span,
  .rc-product-title p,
  .shop-product-copy p {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    font-size: 0.84rem !important;
    color: #746f67 !important;
    margin-top: 4px !important;
  }

  .rc-product-side {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin-top: 6px !important;
    white-space: nowrap !important;
  }

  .home-product-price,
  .rc-product-side b,
  .shop-product-price b {
    font-size: 1.2rem !important;
    color: #171512 !important;
  }

  .card-actions {
    padding: 14px 18px 16px !important;
  }

  .card-btn-buy {
    height: 42px !important;
    font-size: 0.88rem !important;
  }

  .card-btn-bag {
    width: 42px !important;
    height: 42px !important;
  }
}

.home-heart,
.rc-heart,
.shop-heart,
.wish {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ==========================================================================
   Responsive hardening: public storefront + customer account
   Admin layout is intentionally excluded.
   ========================================================================== */
@media (max-width: 768px) {
  :is(.public-shell,.landing-shell,.shop-shell,.product-shell,.customer-shell) {
    overflow-x: clip;
  }

  :is(.public-shell,.landing-shell,.shop-shell,.product-shell,.customer-shell) .wrap {
    width: min(100% - 30px, 1180px) !important;
  }

  :is(.public-shell,.landing-shell,.shop-shell,.product-shell,.customer-shell) .announce {
    min-height: 34px;
    padding: 8px 12px;
    font-size: .65rem;
    line-height: 1.35;
    white-space: normal;
  }

  :is(.public-shell,.landing-shell,.shop-shell,.product-shell,.customer-shell) .nav {
    height: 68px;
  }

  :is(.public-shell,.landing-shell,.shop-shell,.product-shell,.customer-shell) .nav .logo {
    gap: 8px;
    font-size: 1.05rem;
  }

  :is(.public-shell,.landing-shell,.shop-shell,.product-shell,.customer-shell) .nav .logo-mark {
    width: 28px;
    height: 28px;
  }

  :is(.public-shell,.landing-shell,.shop-shell,.product-shell,.customer-shell) .nav-actions {
    gap: 2px;
  }

  :is(.public-shell,.landing-shell,.shop-shell,.product-shell,.customer-shell) .nav-actions .icon-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  :is(.public-shell,.landing-shell,.shop-shell,.product-shell,.customer-shell) .mobile-menu {
    width: min(88vw, 360px);
    max-width: 100%;
  }

  .search-modal-overlay {
    padding: 16px;
    align-items: flex-start;
  }

  .search-modal-container {
    width: 100%;
    max-height: calc(100dvh - 32px);
  }

  .search-modal-header {
    gap: 8px;
    padding: 13px 14px;
  }

  .search-kbd,
  .search-modal-footer {
    display: none;
  }

  .search-results-area {
    max-height: calc(100dvh - 190px);
  }

  .search-item {
    gap: 10px;
    padding: 10px 8px;
  }

  .search-item-price {
    font-size: .82rem;
  }

  .home-hero {
    gap: 28px;
    padding: 36px 0 42px;
  }

  .home-hero h1 {
    margin: 20px 0 18px;
    font-size: clamp(2.8rem, 14vw, 4.25rem);
    line-height: .95;
  }

  .home-hero-copy > p:not(.eyebrow) {
    font-size: .96rem;
  }

  .home-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .home-hero-actions a {
    width: 100%;
    min-height: 48px;
  }

  .home-rating {
    flex-wrap: wrap;
    line-height: 1.45;
  }

  .home-hero-image {
    height: min(78vw, 330px);
    border-radius: 20px;
  }

  .home-section,
  .home-featured {
    padding: 44px 0 38px;
  }

  .home-section h2,
  .home-featured-head h2 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .home-filters,
  .rc-filters {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .home-filters::-webkit-scrollbar,
  .rc-filters::-webkit-scrollbar {
    display: none;
  }

  .home-filters button,
  .rc-filters button {
    flex: 0 0 auto;
    min-height: 44px;
  }

  .home-promo {
    min-height: 260px;
    padding: 28px 24px;
  }

  .home-promo h2 {
    font-size: 2rem;
  }

  .home-community article {
    min-height: 0;
    padding: 28px 22px;
  }

  .home-testimonial > .home-stars,
  .home-testimonial blockquote,
  .home-testimonial footer,
  .testi-dots {
    margin-left: 0;
  }

  .home-testimonial blockquote {
    margin-top: 46px;
    font-size: 1.05rem;
  }

  .home-newsletter > div {
    width: 100%;
    padding-bottom: 145px;
  }

  .home-newsletter > img {
    width: 64%;
    height: 58%;
    right: -12px;
    bottom: -12px;
  }

  .home-newsletter form {
    width: 100%;
  }

  .home-footer {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px 20px;
    padding: 38px 0 44px;
  }

  .home-footer-brand,
  .home-follow {
    grid-column: 1 / -1;
  }

  .rc-hero {
    grid-template-columns: 1fr !important;
  }

  .rc-hero-copy h1 {
    font-size: clamp(2.8rem, 14vw, 4rem) !important;
  }

  .rc-category-grid {
    grid-template-columns: 1fr !important;
  }

  .rc-category-card {
    min-height: 180px;
  }

  .rc-collection-head,
  .rc-catalog-tools,
  .home-featured-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .rc-catalog-tools select {
    width: 100%;
    min-height: 44px;
  }

  .product-shell .product-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .product-shell .product-title,
  .product-shell .details h1 {
    font-size: clamp(2.25rem, 11vw, 3.4rem) !important;
    overflow-wrap: anywhere;
  }

  .product-shell .thumbs {
    max-width: 100%;
    overflow-x: auto;
  }

  .product-shell .actions {
    width: 100%;
  }

  .product-shell .info-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .product-shell .info-tabs button {
    flex: 0 0 auto;
    min-height: 44px;
  }

  .cart-hero {
    align-items: flex-start !important;
    flex-direction: column;
  }

  .cart-layout,
  .checkout-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .cart-item {
    grid-template-columns: 72px minmax(0,1fr) !important;
    gap: 12px !important;
  }

  .cart-item > :is(.qty,.price,.remove) {
    grid-column: 2;
    justify-self: start;
  }

  .order-card {
    position: static !important;
    width: 100%;
  }

  .headline h1 {
    white-space: normal !important;
    font-size: clamp(1.85rem, 9vw, 2.5rem) !important;
  }

  .checkout-grid .section,
  .checkout-grid .order-card {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }

  .checkout-grid .form-grid {
    grid-template-columns: 1fr !important;
  }

  .checkout-grid .field.full {
    grid-column: auto !important;
  }

  .checkout-grid .section-head {
    align-items: flex-start !important;
    flex-direction: column;
    gap: 8px;
  }

  .payment-option {
    align-items: flex-start;
  }

  .payment-copy {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .page,
  .login-page,
  .about-hero,
  .story-grid,
  .contact-main,
  .contact-grid {
    grid-template-columns: 1fr !important;
  }

  .page {
    gap: 32px !important;
    padding-top: 38px !important;
  }

  .page .intro h1,
  .login-page .intro h1 {
    font-size: clamp(2.8rem, 14vw, 4.4rem) !important;
    overflow-wrap: anywhere;
  }

  .page .form-shell,
  .login-page .form-shell,
  .contact-main .form-shell {
    width: 100%;
    padding: 24px 18px !important;
    border-radius: 18px !important;
  }

  .page .row {
    grid-template-columns: 1fr !important;
  }

  .policy-main,
  .about-main,
  .contact-main {
    padding-top: 38px !important;
    padding-bottom: 50px !important;
  }

  .policy-head h1,
  .about-hero h1,
  .contact-main h1 {
    font-size: clamp(2.6rem, 13vw, 4rem) !important;
    overflow-wrap: anywhere;
  }

  .policy-content,
  .story-card,
  .about-cta {
    max-width: 100%;
  }

  .dialog {
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
  }

  .dialog-inner {
    padding: 22px 16px;
  }

  .dialog-form > [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  .dialog-actions {
    position: sticky;
    bottom: 0;
    padding-top: 10px;
    background: var(--paper);
  }

  .toast {
    left: 15px;
    right: 15px;
    bottom: 15px;
    text-align: center;
  }

  /* Customer pages: compact non-sticky account navigation on phones. */
  .customer-shell .layout {
    display: block !important;
    padding: 26px 0 56px !important;
  }

  .customer-shell .layout > .side {
    display: block !important;
    position: static !important;
    width: 100%;
    margin-bottom: 30px;
  }

  .customer-shell .side > div:first-child,
  .customer-shell .side > .signout {
    display: none;
  }

  .customer-shell .menu {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 2px 0 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .customer-shell .menu::-webkit-scrollbar {
    display: none;
  }

  .customer-shell .menu a,
  .customer-shell .menu button {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 11px 14px;
    white-space: nowrap;
  }

  .customer-shell .content {
    min-width: 0;
  }

  .customer-shell .content h2 {
    font-size: clamp(2.5rem, 13vw, 3.6rem);
    overflow-wrap: anywhere;
  }

  .customer-shell .overview,
  .customer-shell .addresses,
  .customer-shell .customer-detail-skeleton,
  .customer-shell .content [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  .customer-shell .welcome,
  .customer-shell .stat {
    min-height: 170px;
    padding: 24px 22px;
  }

  .customer-shell .order {
    grid-template-columns: minmax(0,1fr) auto !important;
    gap: 8px 12px;
  }

  .customer-shell .order > div:first-child {
    min-width: 0;
  }

  .customer-shell .order-name,
  .customer-shell .order-meta {
    overflow-wrap: anywhere;
  }

  .customer-shell .panel {
    max-width: 100%;
    overflow-x: auto;
  }

  .customer-shell .panel-table {
    min-width: 620px;
  }

  .customer-shell #orderRef {
    width: 100%;
    margin-left: 0 !important;
    overflow-wrap: anywhere;
  }

  .customer-shell #downloadInvoiceBtn {
    width: 100%;
    justify-content: center;
  }

  .customer-shell .btn[type="submit"] {
    width: 100% !important;
    min-height: 44px;
  }
}

@media (max-width: 420px) {
  :is(.public-shell,.landing-shell,.shop-shell,.product-shell,.customer-shell) .wrap {
    width: min(100% - 24px, 1180px) !important;
  }

  :is(.public-shell,.landing-shell,.shop-shell,.product-shell,.customer-shell) .nav-actions .icon-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .home-footer {
    grid-template-columns: 1fr !important;
  }

  .home-footer-brand,
  .home-follow {
    grid-column: auto;
  }

  .home-newsletter form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .home-newsletter input,
  .home-newsletter button {
    width: 100%;
    border-radius: 99px;
  }

  .checkout-grid .order-product {
    align-items: flex-start !important;
    flex-wrap: wrap;
  }

  .checkout-grid .product-copy {
    width: calc(100% - 66px);
  }

  .checkout-grid .product-price {
    margin-left: 66px;
  }

  .customer-shell .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}





