:root {
  --bg: #f5f1ea;
  --surface: #ffffff;
  --surface-soft: #f8f5ef;
  --ink: #151618;
  --muted: #6b7078;
  --line: #ded8cd;
  --brand: #1d2f6f;
  --brand-dark: #162655;
  --footer: #162655;
  --shadow: 0 18px 40px rgba(21, 22, 24, 0.06);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --max-width: 1260px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
}

body {
  font-family: "Inter", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  border: 0;
}

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

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(245, 241, 234, 0.96);
  border-bottom: 1px solid rgba(21, 22, 24, 0.06);
  backdrop-filter: blur(12px);
}

.header-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(220px, 300px) auto;
  align-items: center;
  gap: 1rem;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.brand-copy strong {
  font-size: 0.95rem;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.7rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 1.15rem;
  font-size: 0.92rem;
  font-weight: 600;
  min-width: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.site-nav a:hover,
.text-link:hover,
.footer-links a:hover,
.product-footer a:hover {
  color: var(--brand);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.95rem;
}

.header-search {
  position: relative;
  width: 100%;
}

.header-search input {
  width: 100%;
  min-height: 44px;
  padding: 0 0.95rem 0 2.45rem;
  border-radius: 999px;
  border: 1px solid rgba(21, 22, 24, 0.1);
  background: rgba(255, 255, 255, 0.9);
  outline: none;
  font-size: 0.88rem;
}

.header-search .search-icon {
  left: 0.9rem;
  font-size: 0.92rem;
}

.text-link {
  font-size: 0.92rem;
  font-weight: 600;
}

.button {
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-dark {
  background: var(--brand);
  color: #fff;
}

.button-light {
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(21, 22, 24, 0.12);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: transparent;
  border: 1px solid rgba(21, 22, 24, 0.12);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 6px auto;
  background: var(--ink);
}

.search-strip {
  padding: 1rem 0 0;
}

.search-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}

.search-row strong {
  font-size: 0.95rem;
  font-weight: 700;
}

.search-box {
  position: relative;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 1rem;
}

.search-box input {
  width: 100%;
  min-height: 52px;
  padding: 0 1rem 0 2.75rem;
  border-radius: 999px;
  border: 1px solid rgba(21, 22, 24, 0.1);
  background: rgba(255, 255, 255, 0.92);
  outline: none;
}

.hero-section {
  padding: 1rem 0 2rem;
}

.hero-card {
  background: var(--surface);
  border: 1px solid rgba(21, 22, 24, 0.08);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: 1.6rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 1.5rem;
  align-items: center;
}

.hero-copy {
  padding: 0.7rem 0.55rem 0.7rem 0.5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--muted);
}

.hero-copy h1,
.section-head h2,
.feature-panel-large h2,
.footer-copy h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(2.45rem, 4.2vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.section-head h2,
.feature-panel-large h2,
.footer-copy h2 {
  font-family: "Inter", sans-serif;
  font-size: clamp(2rem, 3.2vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.hero-text,
.section-copy,
.feature-panel p,
.product-body p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

.hero-text {
  max-width: 58ch;
  margin: 1.15rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.hero-visual {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-frame {
  width: min(100%, 540px);
  border-radius: 26px;
  overflow: hidden;
  background: #f8f5ef;
  border: 1px solid rgba(21, 22, 24, 0.08);
  box-shadow: 0 22px 34px rgba(21, 22, 24, 0.08);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.15rem;
}

.hero-stats article {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(21, 22, 24, 0.08);
  border-radius: 18px;
  background: #fbfaf7;
}

.hero-stats strong {
  display: block;
  color: var(--brand);
  font-size: 1.95rem;
  line-height: 1;
  font-weight: 800;
}

.hero-stats span {
  display: block;
  margin-top: 0.45rem;
  color: #555d66;
  font-size: 0.94rem;
}

.section {
  padding: 2.75rem 0 4.25rem;
}

.section-soft {
  background: rgba(255, 255, 255, 0.46);
  border-top: 1px solid rgba(21, 22, 24, 0.06);
  border-bottom: 1px solid rgba(21, 22, 24, 0.06);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.6rem;
}

.section-copy {
  margin: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.product-card,
.feature-panel {
  background: var(--surface);
  border: 1px solid rgba(21, 22, 24, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.product-card {
  overflow: hidden;
}

.product-image {
  height: 170px;
  border-bottom: 1px solid rgba(21, 22, 24, 0.08);
  background: #f7f4ee;
}

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

.product-body {
  padding: 1rem;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.product-meta span,
.product-meta strong {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.68rem;
  font-weight: 800;
}

.product-meta span {
  color: var(--muted);
}

.product-meta strong {
  color: var(--brand);
}

.product-card h3 {
  margin: 0.8rem 0 0;
  font-size: 1.08rem;
  line-height: 1.35;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.95rem;
}

.product-footer p {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
}

.product-footer a {
  color: var(--muted);
  font-weight: 600;
}

.feature-layout,
.errands-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1rem;
}

.feature-panel {
  padding: 1.4rem;
}

.feature-panel-large {
  padding: 2rem;
}

.feature-panel-large p {
  margin: 1rem 0 0;
}

.stacked-panels {
  display: grid;
  gap: 1rem;
}

.panel-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: #f1f4fa;
  color: var(--brand);
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.feature-panel h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
}

.feature-panel p {
  margin: 0;
}

.trust-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.9rem;
  align-items: start;
  margin-top: 1.4rem;
  padding: 1.1rem;
  border: 1px solid rgba(21, 22, 24, 0.07);
  border-radius: 16px;
  background: var(--surface-soft);
}

.trust-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #eef2fb;
  color: var(--brand);
  font-weight: 800;
}

.trust-card strong {
  display: block;
  margin-bottom: 0.3rem;
}

.errands-stack {
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.site-footer {
  background: var(--footer);
  color: #fff;
  padding: 3rem 0 1.4rem;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-intro {
  max-width: 38rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}

.footer-eyebrow {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
}

.footer-copy h2 {
  color: #fff;
  max-width: 12ch;
}

.footer-intro h2 {
  color: #fff;
  max-width: 13ch;
}

.footer-summary {
  margin: 1rem 0 0;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.75;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-label {
  margin: 0 0 0.25rem;
  color: rgba(255, 255, 255, 0.52);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 800;
}

.footer-column a,
.footer-column span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.95rem;
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
}

.footer-bottom p,
.footer-meta span {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.9rem;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

@media (max-width: 1120px) {
  .site-nav,
  .header-actions {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
    justify-self: end;
  }

  .header-row {
    grid-template-columns: auto auto;
  }

  .site-nav.is-open {
    position: absolute;
    top: 84px;
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0.45rem;
    padding: 1rem;
    background: var(--surface);
    border: 1px solid rgba(21, 22, 24, 0.08);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open a {
    padding: 0.9rem 1rem;
    border-radius: 12px;
  }

  .site-nav.is-open a:hover {
    background: var(--surface-soft);
  }

  .hero-grid,
  .section-head,
  .feature-layout,
  .errands-layout,
  .footer-top,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

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

@media (max-width: 720px) {
  .search-row,
  .hero-grid,
  .hero-stats,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .feature-panel,
  .feature-panel-large,
  .product-body {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-card {
    padding-top: 1.15rem;
  }

  .hero-copy h1 {
    font-size: 2.3rem;
  }

  .section-head h2,
  .feature-panel-large h2,
  .footer-copy h2 {
    font-size: 2.1rem;
  }

  .hero-actions,
  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .hero-visual {
    min-height: 320px;
  }
}

/* Mobile app-style public navigation and spacing */
.mobile-header-actions,
.mobile-visitor-nav {
  display: none;
}

@media (max-width: 1120px) {
  html,
  body {
    overflow-x: hidden;
  }

  body {
    padding-bottom: 4.85rem;
  }

  .container {
    width: min(calc(100% - 1.5rem), var(--max-width));
  }

  .site-header {
    position: relative;
    top: auto;
    background: rgba(245, 241, 234, 0.98);
  }

  .header-row {
    min-height: 66px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
  }

  .brand {
    min-width: 0;
  }

  .brand-copy {
    min-width: 0;
  }

  .brand-copy strong,
  .brand-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand-copy small {
    max-width: 11rem;
  }

  .header-search,
  .header-actions {
    display: none !important;
  }

  .mobile-header-actions {
    display: inline-flex;
    align-items: center;
    justify-self: end;
    gap: 0.45rem;
  }

  .mobile-login-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(21, 22, 24, 0.12);
    background: #fff;
    padding: 0 0.9rem;
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(21, 22, 24, 0.05);
  }

  .nav-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    border-radius: 15px;
    background: var(--brand);
    color: #fff;
    border: 0;
    box-shadow: 0 10px 22px rgba(29, 47, 111, 0.18);
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    margin: 0;
    border-radius: 99px;
    background: currentColor;
  }

  .site-nav.is-open {
    top: 74px;
    left: 0.75rem;
    right: 0.75rem;
    z-index: 40;
    border-radius: 20px;
  }

  .hero-section {
    padding: 0.75rem 0 1.25rem;
  }

  .hero-card {
    border-radius: 24px;
    padding: 1rem;
  }

  .hero-copy {
    padding: 0.2rem;
  }

  .section {
    padding: 2rem 0 2.5rem;
  }

  .mobile-visitor-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.2rem;
    border-top: 1px solid rgba(222, 216, 205, 0.95);
    background: rgba(255, 255, 255, 0.96);
    padding: 0.45rem 0.35rem calc(0.45rem + env(safe-area-inset-bottom));
    box-shadow: 0 -14px 34px rgba(21, 22, 24, 0.12);
    backdrop-filter: blur(14px);
  }

  .mobile-visitor-nav__item {
    min-width: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.18rem;
    border-radius: 1rem;
    padding: 0.25rem 0.1rem;
    color: #6b7078;
    font-size: 0.68rem;
    font-weight: 800;
  }

  .mobile-visitor-nav__item span {
    display: grid;
    width: 2.2rem;
    height: 1.9rem;
    place-items: center;
    border-radius: 999px;
    font-size: 0.9rem;
  }

  .mobile-visitor-nav__item small {
    width: 100%;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.68rem;
  }

  .mobile-visitor-nav__item.is-active {
    color: #1d2f6f;
  }

  .mobile-visitor-nav__item.is-active span {
    background: var(--brand);
    color: #fff;
  }
}

@media (max-width: 720px) {
  .hero-copy h1 {
    font-size: clamp(2rem, 10vw, 2.45rem);
    line-height: 1.02;
  }

  .hero-text,
  .section-copy,
  .feature-panel p,
  .product-body p {
    font-size: 0.92rem;
    line-height: 1.7;
  }

  .button {
    width: 100%;
    min-height: 46px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-visual {
    min-height: 260px;
  }

  .product-card,
  .feature-panel {
    border-radius: 20px;
  }

  .footer-bottom {
    padding-bottom: 0.5rem;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(calc(100% - 1.15rem), var(--max-width));
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-copy small {
    max-width: 8.75rem;
  }

  .hero-card,
  .feature-panel,
  .feature-panel-large,
  .product-body {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
}


/* Public action pages: shop, delivery, errand, track */
.public-page-shell .site-header { position: static; }
@media (min-width: 1024px) { .public-page-shell .site-header { position: sticky; top: 0; z-index: 50; } }
.public-hero-mini { padding-top: 1.4rem; }
.public-search-form,
.public-action-form,
.public-track-card {
  border: 1px solid rgba(21, 22, 24, 0.08);
  background: rgba(255,255,255,.94);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 1rem;
}
.public-search-form { display: grid; grid-template-columns: minmax(0,1fr) minmax(180px,.35fr) auto; gap: .75rem; margin: 1rem 0 1.25rem; }
.public-search-form input,
.public-search-form select,
.public-action-form input,
.public-action-form textarea,
.public-track-form input {
  width: 100%; border: 1px solid rgba(21,22,24,.12); border-radius: 18px; background: #fff; padding: .9rem 1rem; outline: none;
}
.public-form-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 1rem; align-items: start; }
.public-action-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem; }
.public-action-form label { display: grid; gap: .45rem; font-size: .86rem; font-weight: 800; color: #444a53; }
.public-action-form .full { grid-column: 1 / -1; }
.public-note,
.public-alert { margin-top: 1rem; border-radius: 18px; background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; padding: .9rem; font-size: .9rem; font-weight: 700; }
.public-track-form { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .75rem; }
.track-result { margin-top: 1rem; border-radius: 22px; background: #f8f5ef; padding: 1rem; border: 1px solid rgba(21,22,24,.08); }
.track-result h3 { margin: 0 0 .4rem; font-size: 1.35rem; }
.track-status-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; margin-top: 1rem; }
.track-status-grid span { border-radius: 18px; background: #fff; padding: .85rem; font-size: .9rem; text-transform: capitalize; }
.track-status-grid strong { display:block; font-size:.7rem; text-transform:uppercase; letter-spacing:.14em; color:#777; margin-bottom:.35rem; }
@media (max-width: 900px) {
  .public-search-form,
  .public-form-layout,
  .public-action-form,
  .public-track-form,
  .track-status-grid { grid-template-columns: 1fr; }
  .public-search-form, .public-action-form, .public-track-card { border-radius: 22px; padding: .85rem; }
  .public-product-grid { grid-template-columns: 1fr; }
  .public-page-shell .button { width: 100%; }
}

/* =========================================================
   UNIVERSAL PUBLIC HEADER PATCH - v0.13 mobile/header fix
   Applies the same desktop and mobile behavior to homepage
   (.site-nav) and inner public pages (.main-nav).
   ========================================================= */

.site-nav,
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.05rem;
  min-width: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
  font-size: 0.88rem;
  font-weight: 700;
}

.site-nav a,
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--ink);
}

.site-nav a:hover,
.main-nav a:hover {
  color: var(--brand);
}

.header-search {
  width: 100%;
  max-width: 340px;
  justify-self: center;
}

.header-search input {
  width: 100%;
}

.header-actions {
  flex-shrink: 0;
  white-space: nowrap;
}

.header-actions .button {
  min-height: 42px;
  padding: 0.7rem 1rem;
}

.mobile-header-actions {
  display: none;
}

@media (min-width: 1121px) {
  .page-shell:not(.public-page-shell) .header-row {
    grid-template-columns: auto minmax(0, 1fr) minmax(220px, 340px) auto;
  }

  .page-shell:not(.public-page-shell) .site-nav {
    justify-self: center;
  }

  .public-page-shell .header-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .public-page-shell .main-nav {
    justify-self: center;
  }

  .public-page-shell .header-actions,
  .page-shell:not(.public-page-shell) .header-actions {
    justify-self: end;
  }
}

@media (max-width: 1180px) and (min-width: 1121px) {
  .site-nav,
  .main-nav {
    gap: 0.72rem;
    font-size: 0.81rem;
  }

  .header-search {
    max-width: 250px;
  }

  .brand-copy small {
    display: none;
  }

  .header-actions {
    gap: 0.55rem;
  }

  .header-actions .button {
    padding-left: 0.78rem;
    padding-right: 0.78rem;
  }
}

@media (max-width: 1120px) {
  .site-nav,
  .main-nav,
  .header-search,
  .header-actions {
    display: none !important;
  }

  .site-header {
    position: relative;
    top: auto;
  }

  .header-row {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto !important;
    min-height: 66px;
    gap: 0.75rem;
  }

  .brand,
  .brand-copy {
    min-width: 0;
  }

  .brand-copy strong,
  .brand-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand-copy small {
    max-width: 11rem;
  }

  .mobile-header-actions {
    display: inline-flex !important;
    align-items: center;
    justify-self: end;
    gap: 0.45rem;
  }

  .mobile-login-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(21, 22, 24, 0.12);
    background: #fff;
    padding: 0 0.9rem;
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(21, 22, 24, 0.05);
  }

  .nav-toggle {
    display: inline-flex !important;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    border-radius: 15px;
    background: var(--brand);
    color: #fff;
    border: 0;
    box-shadow: 0 10px 22px rgba(29, 47, 111, 0.18);
    cursor: pointer;
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    margin: 0;
    border-radius: 99px;
    background: currentColor;
  }

  .site-nav.is-open,
  .main-nav.is-open {
    position: absolute;
    top: 74px;
    left: 0.75rem;
    right: 0.75rem;
    z-index: 90;
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 0.85rem;
    background: var(--surface);
    border: 1px solid rgba(21, 22, 24, 0.08);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open a,
  .main-nav.is-open a {
    min-height: 44px;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    color: var(--ink);
  }

  .site-nav.is-open a:hover,
  .main-nav.is-open a:hover {
    background: var(--surface-soft);
  }
}

/* =========================
   CMS PUBLIC + ADMIN EXTENSIONS
   ========================= */
.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  overflow: hidden;
  display: inline-grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(21, 22, 24, 0.08);
}
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.cms-banner-stack { margin-top: 1rem; display: grid; gap: .75rem; }
.cms-public-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  background: #151618;
  color: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.cms-public-banner p { margin: .25rem 0 0; color: rgba(255,255,255,.76); }
.cms-public-page { max-width: 920px; margin: 0 auto; padding: clamp(1.25rem, 3vw, 2.25rem); }
.cms-public-page h1 { font-size: clamp(2rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -.05em; margin-bottom: 1rem; }
.cms-page-content { color: #374151; line-height: 1.8; font-size: 1rem; }
.cms-page-content p, .cms-page-content ul, .cms-page-content ol { margin: 0 0 1rem; }
.cms-page-content h2, .cms-page-content h3 { color: #151618; margin: 1.4rem 0 .6rem; font-weight: 800; }
.mobile-bottom-nav { display: none; }
@media (max-width: 768px) {
  .mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: .2rem;
    padding: .55rem .45rem .65rem;
    background: rgba(255,255,255,.96);
    border-top: 1px solid rgba(21,22,24,.08);
    box-shadow: 0 -16px 34px rgba(15,23,42,.12);
  }
  .mobile-bottom-nav a {
    display: grid;
    justify-items: center;
    gap: .15rem;
    color: #6b7280;
    font-size: .68rem;
    font-weight: 800;
  }
  .mobile-bottom-nav span {
    display: grid;
    place-items: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: .8rem;
    background: #f3f4f6;
    color: #f97316;
  }
  .page-shell { padding-bottom: 4.8rem; }
  .cms-public-banner { align-items: flex-start; flex-direction: column; }
}


/* Public navigation font size controlled from CMS settings */
.site-header .main-nav,
.site-header .site-nav {
  font-size: var(--public-nav-font-size, 14px) !important;
}

/* =========================
   v0.17.4 MOBILE HEADER / CMS BRANDING PATCH
   ========================= */
:root {
  --brand: var(--cms-primary, #f97316);
  --brand-dark: var(--cms-secondary, #151618);
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(21, 22, 24, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 46px;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

@media (max-width: 1120px) {
  .container {
    width: min(calc(100% - 2rem), var(--max-width));
  }

  .site-header {
    position: relative;
    z-index: 80;
    overflow: visible;
  }

  .header-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 72px;
    gap: 0.75rem;
    padding-left: 0.1rem;
    padding-right: 0.1rem;
    position: relative;
  }

  .brand {
    min-width: 0;
    max-width: 100%;
    gap: 0.65rem;
  }

  .brand-copy {
    min-width: 0;
  }

  .brand-copy strong,
  .brand-copy small {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .brand-logo,
  .brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 14px;
  }

  .header-search,
  .header-actions,
  .main-nav,
  .site-nav {
    display: none !important;
  }

  .mobile-header-actions {
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    justify-self: end;
  }

  .mobile-login-link {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0 0.8rem;
    font-size: 0.78rem;
    font-weight: 800;
    background: #fff;
    border: 1px solid rgba(21, 22, 24, 0.1);
    box-shadow: 0 10px 24px rgba(21, 22, 24, 0.05);
  }

  .nav-toggle {
    display: inline-flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(21, 22, 24, 0.1);
    box-shadow: 0 10px 24px rgba(21, 22, 24, 0.05);
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    margin: 2px 0;
    border-radius: 999px;
    background: var(--ink);
  }

  .main-nav.is-open,
  .site-nav.is-open {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    z-index: 100;
    display: grid !important;
    gap: 0.35rem;
    padding: 0.85rem;
    background: #fff;
    border: 1px solid rgba(21, 22, 24, 0.08);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(21, 22, 24, 0.16);
  }

  .main-nav.is-open a,
  .site-nav.is-open a {
    min-height: 44px;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    color: var(--ink);
    font-weight: 800;
  }

  .main-nav.is-open a:hover,
  .site-nav.is-open a:hover {
    background: var(--surface-soft);
  }
}

@media (max-width: 420px) {
  .container {
    width: min(calc(100% - 1.5rem), var(--max-width));
  }

  .brand-copy small {
    display: none;
  }
}

/* =========================
   GLOBAL MOBILE GUTTER FIX v0.17.5
   Keeps logos, text, images, forms and dropdown menus away from screen edges.
   ========================= */
@media (max-width: 768px) {
  :root {
    --qs-mobile-gutter: 1.25rem;
  }

  html,
  body,
  .page-shell,
  .public-page-shell {
    max-width: 100%;
    overflow-x: hidden;
  }

  .container {
    width: calc(100% - (var(--qs-mobile-gutter) * 2)) !important;
    max-width: calc(100% - (var(--qs-mobile-gutter) * 2)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .site-header {
    overflow: visible !important;
  }

  .header-row {
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    gap: 0.85rem !important;
  }

  .brand {
    min-width: 0 !important;
    max-width: calc(100vw - 10.5rem) !important;
  }

  .brand-copy,
  .brand-copy strong,
  .brand-copy small {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .mobile-header-actions {
    flex-shrink: 0 !important;
  }

  .main-nav.is-open,
  .site-nav.is-open {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  main,
  section,
  article,
  form,
  .card,
  .panel,
  .product-card,
  .product-detail,
  .product-gallery,
  .checkout-card,
  .auth-card,
  .settings-card,
  .cms-card {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  img,
  video,
  canvas,
  svg {
    max-width: 100% !important;
    height: auto;
  }

  input,
  select,
  textarea,
  button {
    max-width: 100% !important;
  }
}

@media (max-width: 420px) {
  :root {
    --qs-mobile-gutter: 1.1rem;
  }

  .container {
    width: calc(100% - (var(--qs-mobile-gutter) * 2)) !important;
    max-width: calc(100% - (var(--qs-mobile-gutter) * 2)) !important;
  }
}

/* v0.18 public tracking map */
.public-track-map {
  position: relative;
  min-height: 240px;
  margin-top: 1rem;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(21,22,24,.1);
  background:
    linear-gradient(90deg, rgba(15,23,42,.055) 1px, transparent 1px),
    linear-gradient(rgba(15,23,42,.055) 1px, transparent 1px),
    radial-gradient(circle at 18% 30%, rgba(249,115,22,.16), transparent 24%),
    radial-gradient(circle at 82% 68%, rgba(22,163,74,.14), transparent 25%),
    #f8fafc;
  background-size: 34px 34px, 34px 34px, auto, auto, auto;
}
.public-track-route {
  position: absolute;
  left: 20%;
  top: 35%;
  width: 60%;
  height: 35%;
  border-top: 6px dashed rgba(249,115,22,.8);
  border-right: 6px dashed rgba(249,115,22,.8);
  border-radius: 0 90px 0 0;
  transform: rotate(-8deg);
}
.public-track-pin {
  position: absolute;
  min-width: 86px;
  padding: .6rem .85rem;
  border-radius: 999px;
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 16px 34px rgba(15,23,42,.2);
}
.public-track-pin--pickup { left: 8%; top: 24%; background: #0f172a; }
.public-track-pin--dropoff { right: 7%; bottom: 20%; background: #f97316; }
.track-payment-pill {
  display: inline-flex;
  margin-top: .75rem;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  padding: .55rem .85rem;
  font-weight: 800;
  font-size: .78rem;
}

/* =========================================================
   QuickSalone v1.3 Professional UI polish
   Public pages + shop/product presentation refinement
   Added as a non-breaking override layer.
   ========================================================= */
:root {
  --qs-public-bg: #f6f3ed;
  --qs-public-surface: #ffffff;
  --qs-public-ink: #111827;
  --qs-public-muted: #64748b;
  --qs-public-border: rgba(15, 23, 42, .09);
  --qs-public-soft-border: rgba(15, 23, 42, .065);
  --qs-public-shadow: 0 10px 30px rgba(15, 23, 42, .055);
  --qs-public-shadow-hover: 0 18px 45px rgba(15, 23, 42, .09);
  --qs-public-radius: 20px;
  --qs-public-gutter: clamp(1rem, 2.4vw, 1.75rem);
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; background: var(--qs-public-bg); }
.container {
  width: min(1180px, calc(100% - (var(--qs-public-gutter) * 2))) !important;
  max-width: min(1180px, calc(100% - (var(--qs-public-gutter) * 2))) !important;
}

.site-header {
  border-bottom: 1px solid var(--qs-public-soft-border) !important;
  background: rgba(255,255,255,.92) !important;
  backdrop-filter: blur(14px);
}
.header-row {
  min-height: 70px !important;
  gap: 1rem !important;
}
.brand { min-width: 0; gap: .65rem !important; }
.brand-mark,
.brand-logo {
  width: 40px !important;
  height: 40px !important;
  border-radius: 14px !important;
  flex: 0 0 40px;
}
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-copy strong { font-size: .98rem !important; letter-spacing: -.015em; }
.brand-copy small { font-size: .7rem !important; color: #64748b !important; }
.main-nav,
.site-nav { gap: 1rem !important; font-size: var(--public-nav-font-size, 13px) !important; }
.main-nav a,
.site-nav a { min-height: 38px !important; font-weight: 700 !important; }
.header-search { max-width: 310px !important; }
.header-search input { min-height: 42px !important; border-radius: 14px !important; font-size: .84rem !important; }
.header-actions .button,
.header-actions .text-link,
.mobile-login-link { font-size: .82rem !important; }
.button, button, input, select, textarea { font-family: inherit; }
.button { border-radius: 14px !important; font-size: .84rem !important; }

.section { padding: clamp(2.5rem, 5vw, 4.75rem) 0 !important; }
.section-head { gap: 1rem !important; margin-bottom: 1.2rem !important; }
.section-head h2,
.public-hero-mini h2,
.hero h1 {
  letter-spacing: -.035em !important;
  line-height: 1.06 !important;
}
.section-head h2 { font-size: clamp(1.75rem, 3vw, 2.7rem) !important; }
.section-copy,
.public-hero-mini p,
.product-body p,
.public-product-copy { font-size: .9rem !important; line-height: 1.65 !important; color: var(--qs-public-muted) !important; }
.eyebrow { font-size: .68rem !important; letter-spacing: .15em !important; }

.public-search-form {
  border: 1px solid var(--qs-public-soft-border);
  background: rgba(255,255,255,.72);
  border-radius: 18px !important;
  padding: .65rem !important;
  box-shadow: var(--qs-public-shadow);
  align-items: center;
}
.public-search-form input,
.public-search-form select {
  min-height: 42px !important;
  border-radius: 13px !important;
  border: 1px solid rgba(15,23,42,.11) !important;
  background: #fff !important;
  font-size: .86rem !important;
}
.public-search-form .button { min-height: 42px !important; padding: 0 1rem !important; }

.product-grid,
.public-product-grid {
  gap: 1rem !important;
  align-items: stretch;
}
@media (min-width: 760px) {
  .public-product-grid,
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (min-width: 1180px) {
  .public-product-grid,
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
.product-card,
.product-card-link {
  border-radius: 18px !important;
  border: 1px solid var(--qs-public-soft-border) !important;
  box-shadow: var(--qs-public-shadow) !important;
  overflow: hidden !important;
  background: #fff !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.product-card:hover,
.product-card-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--qs-public-shadow-hover) !important;
  border-color: rgba(249,115,22,.22) !important;
}
.product-image {
  aspect-ratio: 4/3 !important;
  min-height: auto !important;
  background: #f8fafc !important;
  overflow: hidden !important;
}
.product-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
  transition: transform .22s ease;
}
.product-card:hover .product-image img { transform: scale(1.035); }
.product-body { padding: 1rem !important; display: flex; flex-direction: column; min-height: 205px; }
.product-meta { gap: .55rem !important; margin-bottom: .55rem !important; }
.product-meta span,
.product-meta strong {
  font-size: .66rem !important;
  letter-spacing: .1em !important;
  line-height: 1.1 !important;
}
.product-card h3,
.product-body h3 {
  font-size: .98rem !important;
  line-height: 1.32 !important;
  letter-spacing: -.015em !important;
  margin-top: .5rem !important;
}
.product-body > p { margin-top: .45rem !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-footer { margin-top: auto !important; padding-top: .85rem !important; gap: .75rem !important; }
.product-footer p { font-size: .98rem !important; font-weight: 800 !important; color: #111827 !important; }
.product-footer span { font-size: .78rem !important; font-weight: 800 !important; color: #f97316 !important; white-space: nowrap; }

/* Product detail page */
.public-product-section { padding-top: 2.2rem !important; }
.public-product-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .56fr) !important;
  gap: 1.3rem !important;
  align-items: start !important;
}
.public-product-gallery,
.public-product-summary,
.public-product-description-card,
.public-related-products {
  border-radius: 22px !important;
  border: 1px solid var(--qs-public-soft-border) !important;
  box-shadow: var(--qs-public-shadow) !important;
  background: #fff !important;
}
.public-product-gallery { padding: .85rem !important; }
.public-product-image-main {
  border-radius: 18px !important;
  background: #f8fafc !important;
  aspect-ratio: 1 / .78 !important;
  overflow: hidden !important;
}
.public-product-image-main img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block;
}
.public-product-gallery-strip {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)) !important;
  gap: .65rem !important;
  margin-top: .75rem !important;
}
.public-product-thumb {
  border-radius: 14px !important;
  aspect-ratio: 1 !important;
  border: 1px solid rgba(15,23,42,.11) !important;
  overflow: hidden !important;
}
.public-product-thumb.is-active { border-color: #f97316 !important; box-shadow: 0 0 0 3px rgba(249,115,22,.16); }
.public-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.public-product-sidebar { position: sticky; top: 92px; }
.public-product-summary { padding: 1.15rem !important; }
.public-product-summary h1,
.public-product-summary h2 {
  font-size: clamp(1.4rem, 2vw, 2rem) !important;
  line-height: 1.1 !important;
  letter-spacing: -.03em !important;
  margin-top: .45rem !important;
}
.public-product-price-row {
  display: flex !important;
  align-items: baseline !important;
  gap: .6rem !important;
  margin-top: 1rem !important;
}
.public-product-price-row strong,
.public-product-price {
  font-size: clamp(1.45rem, 2.6vw, 2rem) !important;
  line-height: 1 !important;
  color: #111827 !important;
}
.public-product-actions { margin-top: 1rem !important; }
.public-product-buy-form { gap: .65rem !important; }
.public-product-buy-form input[type="number"] { width: 5rem !important; border-radius: 14px !important; min-height: 44px !important; }
.public-product-buy-form button,
.public-product-cta-stack .button { min-height: 44px !important; border-radius: 14px !important; }
.public-product-points { margin-top: 1rem !important; gap: .55rem !important; }
.public-product-points li,
.public-product-points p { font-size: .82rem !important; line-height: 1.5 !important; }
.public-product-description-card { margin-top: 1.25rem !important; padding: 1.25rem !important; }
.public-product-description-card h2,
.public-related-products h2 { font-size: 1.25rem !important; letter-spacing: -.02em !important; }
.public-product-description { font-size: .92rem !important; line-height: 1.75 !important; color: #475569 !important; }
.public-related-products { margin-top: 1.25rem !important; padding: 1.15rem !important; }

.public-action-form,
.public-track-card,
.cms-public-page,
.public-hero-mini .section-head {
  border-radius: 22px !important;
  box-shadow: var(--qs-public-shadow) !important;
}

@media (max-width: 1023px) {
  :root { --qs-public-gutter: 1rem; }
  .site-header { position: static !important; }
  .header-row { min-height: 64px !important; }
  .brand-copy small { display: none !important; }
  .main-nav.is-open,
  .site-nav.is-open { left: 1rem !important; right: 1rem !important; top: 68px !important; border-radius: 18px !important; }
  .section { padding: 2rem 0 !important; }
  .section-head { align-items: flex-start !important; }
  .section-head h2 { font-size: 1.7rem !important; }
  .public-search-form { grid-template-columns: 1fr !important; padding: .75rem !important; }
  .product-grid,
  .public-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: .85rem !important; }
  .product-body { min-height: 190px; padding: .85rem !important; }
  .product-card h3,
  .product-body h3 { font-size: .92rem !important; }
  .product-footer { flex-direction: column !important; align-items: flex-start !important; gap: .35rem !important; }
  .public-product-layout { grid-template-columns: 1fr !important; gap: 1rem !important; }
  .public-product-sidebar { position: static !important; }
  .public-product-image-main { aspect-ratio: 1 / .82 !important; }
}

@media (max-width: 520px) {
  :root { --qs-public-gutter: 1rem; }
  .container { width: calc(100% - 2rem) !important; max-width: calc(100% - 2rem) !important; }
  .product-grid,
  .public-product-grid { grid-template-columns: 1fr !important; }
  .product-body { min-height: auto; }
  .public-product-gallery,
  .public-product-summary,
  .public-product-description-card,
  .public-related-products { border-radius: 18px !important; }
  .public-product-gallery-strip { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}


/* =========================================================
   QuickSalone v1.5.1 product grid, gallery, zoom and breadcrumbs
   ========================================================= */
.qs-public-breadcrumb-wrap { margin-top: .75rem; }
.qs-dashboard-breadcrumb-wrap { padding: .75rem clamp(1rem, 2vw, 1.5rem) 0; }
.qs-breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; color: #64748b; font-size: .78rem; font-weight: 800; line-height: 1.4; }
.qs-breadcrumbs a { color: #475569; text-decoration: none; }
.qs-breadcrumbs a:hover { color: #f97316; }
.qs-breadcrumbs em { color: #cbd5e1; font-style: normal; }
.qs-breadcrumbs span { color: #0f172a; }
.product-grid, .public-product-grid, .qs-product-grid { display: grid !important; }
.product-image { display: block !important; padding: 0 !important; }
.product-image img, .qs-product-grid article > img, .qs-product-grid .product-card img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center center !important; display: block !important; background: #f8fafc !important; }
.product-card .product-image img, .product-card-link .product-image img { transform: scale(1.04); }
.product-card:hover .product-image img, .product-card-link:hover .product-image img { transform: scale(1.09); }
.public-product-gallery { position: relative; }
.public-product-image-main { position: relative; cursor: zoom-in; }
.public-product-image-main img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center center !important; display: block !important; transform: scale(1.01); }
.public-product-gallery-strip { align-items: stretch; }
.public-product-thumb { cursor: pointer; background: #f8fafc !important; padding: 0 !important; }
.public-product-thumb img { object-fit: cover !important; object-position: center !important; transform: scale(1.04); }
.product-gallery-arrow, .product-gallery-zoom { position: absolute; z-index: 5; border: 0; background: rgba(15,23,42,.76); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 12px 28px rgba(15,23,42,.22); cursor: pointer; backdrop-filter: blur(8px); }
.product-gallery-arrow { top: 50%; width: 42px; height: 42px; border-radius: 999px; font-size: 1.65rem; transform: translateY(-50%); }
.product-gallery-arrow--prev { left: .8rem; }
.product-gallery-arrow--next { right: .8rem; }
.product-gallery-zoom { right: .85rem; top: .85rem; width: 38px; height: 38px; border-radius: 14px; font-size: 1.1rem; }
.product-gallery-arrow:hover, .product-gallery-zoom:hover { background: rgba(249,115,22,.92); }
.qs-product-lightbox { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: rgba(2,6,23,.88); padding: 1.25rem; }
.qs-product-lightbox[hidden] { display: none !important; }
.qs-product-lightbox__image { max-width: min(96vw, 1120px); max-height: 84vh; object-fit: contain; border-radius: 18px; background: #fff; box-shadow: 0 28px 90px rgba(0,0,0,.4); }
.qs-product-lightbox__close, .qs-product-lightbox__prev, .qs-product-lightbox__next { position: absolute; border: 0; color: #fff; background: rgba(255,255,255,.14); backdrop-filter: blur(10px); cursor: pointer; }
.qs-product-lightbox__close { top: 1rem; right: 1rem; width: 42px; height: 42px; border-radius: 14px; font-size: 1.5rem; }
.qs-product-lightbox__prev, .qs-product-lightbox__next { top: 50%; width: 48px; height: 48px; border-radius: 999px; font-size: 2rem; transform: translateY(-50%); }
.qs-product-lightbox__prev { left: 1rem; }
.qs-product-lightbox__next { right: 1rem; }
.qs-product-lightbox__close:hover, .qs-product-lightbox__prev:hover, .qs-product-lightbox__next:hover { background: #f97316; }
.qs-product-detail-shell { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .58fr); gap: 1.25rem; align-items: start; }
.qs-dashboard-product-gallery, .qs-dashboard-product-summary { border-radius: 22px !important; border: 1px solid rgba(15,23,42,.09) !important; background: #fff !important; box-shadow: 0 16px 40px rgba(15,23,42,.07) !important; }
.qs-dashboard-product-gallery { padding: .85rem !important; }
.qs-dashboard-product-summary { padding: 1.15rem !important; }
@media (max-width: 760px) { .product-grid, .public-product-grid, .qs-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: .75rem !important; } .product-image { aspect-ratio: 1 / .82 !important; } .product-body { min-height: 174px !important; padding: .78rem !important; } .product-meta { gap: .35rem !important; } .product-meta span, .product-meta strong { font-size: .58rem !important; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .product-card h3, .product-body h3 { font-size: .86rem !important; line-height: 1.25 !important; } .product-body > p { font-size: .76rem !important; line-height: 1.45 !important; -webkit-line-clamp: 2; } .product-footer p { font-size: .86rem !important; } .product-footer span { font-size: .68rem !important; } .public-product-layout, .qs-product-detail-shell { grid-template-columns: 1fr !important; } .public-product-image-main { aspect-ratio: 1 / .82 !important; } .product-gallery-arrow { width: 36px; height: 36px; font-size: 1.35rem; } .product-gallery-arrow--prev { left: .55rem; } .product-gallery-arrow--next { right: .55rem; } .product-gallery-zoom { width: 34px; height: 34px; top: .55rem; right: .55rem; } .qs-breadcrumbs { font-size: .72rem; } }
@media (max-width: 520px) { .product-grid, .public-product-grid, .qs-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: .65rem !important; } .public-product-gallery-strip { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: .5rem !important; } .qs-product-lightbox__prev { left: .5rem; } .qs-product-lightbox__next { right: .5rem; } }

/* v1.5.2 product listing image/card cleanup */
.product-card .product-image,
.product-card-link .product-image,
.product-image.product-image--fill {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  display: block !important;
  background: #f8fafc !important;
  border-bottom: 1px solid rgba(15, 23, 42, .08) !important;
}

.product-card .product-image > img,
.product-card-link .product-image > img,
.product-image.product-image--fill > img,
.product-image__media {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 100% !important;
  min-height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #f8fafc !important;
  transform: scale(1.14) !important;
  transform-origin: center center !important;
}

.product-card:hover .product-image > img,
.product-card-link:hover .product-image > img,
.product-card:hover .product-image__media,
.product-card-link:hover .product-image__media {
  transform: scale(1.2) !important;
}

@media (max-width: 760px) {
  .product-card .product-image,
  .product-card-link .product-image,
  .product-image.product-image--fill {
    aspect-ratio: 1 / .9 !important;
  }
}

/* =========================================================
   QuickSalone v1.5.3 cart header, sharper product media
   ========================================================= */
.qs-header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 40px;
  padding: .55rem .78rem;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.1);
  background: #fff;
  color: #0f172a;
  font-weight: 900;
  font-size: .82rem;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15,23,42,.07);
  white-space: nowrap;
}
.qs-header-cart:hover { border-color: rgba(249,115,22,.32); color: #f97316; }
.qs-header-cart__icon { line-height: 1; font-size: 1rem; }
.qs-header-cart__count {
  display: inline-grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 .35rem;
  border-radius: 999px;
  background: #f97316;
  color: #fff;
  font-size: .68rem;
  font-weight: 950;
  line-height: 1;
}
.qs-header-cart__count.is-empty { background: #94a3b8; }
.qs-header-cart--mobile { min-height: 36px; padding: .45rem .58rem; }
.qs-header-cart--mobile .qs-header-cart__label { display: none; }

.qs-cart-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 99999;
  max-width: min(92vw, 340px);
  padding: .85rem 1rem;
  border-radius: 16px;
  background: #0f172a;
  color: #fff;
  box-shadow: 0 20px 48px rgba(15,23,42,.24);
  font-size: .88rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .18s ease, transform .18s ease;
}
.qs-cart-toast.is-visible { opacity: 1; transform: translateY(0); }
.qs-cart-toast.is-error { background: #b91c1c; }

.product-card .product-image img,
.product-card-link .product-image img,
.product-card:hover .product-image img,
.product-card-link:hover .product-image img,
.product-card .product-image__media,
.product-card-link .product-image__media,
.product-card:hover .product-image__media,
.product-card-link:hover .product-image__media {
  transform: none !important;
  filter: none !important;
  backface-visibility: hidden;
  image-rendering: auto;
}
.product-image,
.product-image.product-image--fill {
  background: #f8fafc !important;
}
.product-image > img,
.product-image__media {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}
.public-product-image-main img {
  transform: none !important;
  filter: none !important;
  image-rendering: auto;
}
.qs-product-lightbox {
  padding: clamp(.75rem, 2vw, 1.5rem) !important;
}
.qs-product-lightbox__image {
  width: auto !important;
  height: auto !important;
  max-width: min(96vw, 1280px) !important;
  max-height: 88vh !important;
  object-fit: contain !important;
  image-rendering: auto;
}

@media (max-width: 760px) {
  .header-actions .qs-header-cart { display: none; }
  .mobile-header-actions { gap: .35rem !important; }
  .qs-header-cart--mobile { display: inline-flex; }
  .qs-cart-toast { right: .75rem; bottom: 5.2rem; }
}

/* === QuickSalone v1.6 polish: active menus, dropdown layering, quantity controls === */
.site-header {
    position: relative;
    z-index: 5000;
}
.site-nav.is-open,
.main-nav.is-open,
[data-nav-panel].is-open {
    z-index: 6000 !important;
}
.site-nav a.is-active,
.main-nav a.is-active,
.mobile-bottom-nav a.is-active {
    color: var(--brand, #f97316) !important;
    font-weight: 900;
}
.mobile-bottom-nav a.is-active span {
    background: var(--brand, #f97316);
    color: #fff;
}
.public-product-gallery,
.public-product-image-main,
.product-image,
.product-card {
    z-index: 1;
}
.public-product-buy-form .qs-quantity-label {
    display: grid;
    gap: .45rem;
    min-width: 150px;
}
.qs-quantity-control {
    display: inline-grid;
    grid-template-columns: 40px minmax(64px, 90px) 40px;
    align-items: center;
    width: fit-content;
    border: 1px solid rgba(15, 23, 42, .15);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}
.qs-quantity-control button {
    width: 40px;
    height: 44px;
    border: 0;
    background: #f8fafc;
    font-weight: 900;
    font-size: 18px;
    cursor: pointer;
}
.qs-quantity-control input {
    width: 100%;
    height: 44px;
    border: 0 !important;
    text-align: center;
    font-weight: 800;
    outline: none;
    padding: 0 !important;
}
.qs-live-location-card,
.qs-note {
    margin-top: 1rem;
    border: 1px solid rgba(15, 23, 42, .1);
    background: #fff7ed;
    color: #7c2d12;
    border-radius: 18px;
    padding: 1rem;
    font-size: .9rem;
    line-height: 1.55;
}
.qs-live-location-card a { color: #c2410c; font-weight: 800; }
@media (max-width: 760px) {
    .public-product-buy-form { align-items: stretch; }
    .public-product-buy-form .qs-quantity-label,
    .qs-quantity-control { width: 100%; }
    .qs-quantity-control { grid-template-columns: 48px 1fr 48px; }
}

/* =========================
   v1.7 Homepage UX sections
   ========================= */
.hero-card--modern {
  overflow: hidden;
}

.hero-image-frame--modern img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.section-tight {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.section-head--slim,
.section-head--balanced {
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: .55rem .95rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(21,22,24,.1);
  color: var(--brand);
  font-size: .82rem;
  font-weight: 800;
  white-space: nowrap;
}

.home-product-strip {
  padding: 1.25rem 0 2.25rem;
  background: linear-gradient(180deg, rgba(255,255,255,.64), rgba(245,241,234,.2));
}

.thumbnail-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(172px, 220px);
  gap: .9rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  padding: .2rem .15rem 1rem;
  scrollbar-width: thin;
}

.thumb-product-card {
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: .72rem;
  align-items: center;
  min-height: 92px;
  padding: .62rem;
  border-radius: 20px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(21,22,24,.08);
  box-shadow: 0 14px 28px rgba(21,22,24,.045);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.thumb-product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(29,47,111,.22);
  box-shadow: 0 18px 34px rgba(21,22,24,.075);
}

.thumb-product-card__image {
  width: 70px;
  height: 70px;
  overflow: hidden;
  border-radius: 16px;
  background: #f2eee7;
}

.thumb-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-product-card__copy {
  min-width: 0;
  display: grid;
  gap: .35rem;
}

.thumb-product-card__copy strong {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: .86rem;
  line-height: 1.2;
}

.thumb-product-card__copy small {
  color: var(--brand);
  font-size: .78rem;
  font-weight: 900;
}

.deals-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, .875fr));
  gap: 1rem;
}

.deal-card {
  display: grid;
  overflow: hidden;
  min-height: 260px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(21,22,24,.08);
  box-shadow: 0 18px 42px rgba(21,22,24,.055);
}

.deal-card--hero {
  grid-row: span 2;
  min-height: 540px;
}

.deal-card__media {
  height: 170px;
  background: #f3efe8;
  overflow: hidden;
}

.deal-card--hero .deal-card__media {
  height: 380px;
}

.deal-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deal-card__body {
  display: grid;
  align-content: start;
  gap: .45rem;
  padding: 1rem;
}

.deal-card__body span {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.deal-card__body h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
}

.deal-card--hero .deal-card__body h3 {
  font-size: 1.35rem;
}

.deal-card__body p {
  margin: 0;
  color: var(--brand);
  font-weight: 950;
}

.category-showcase-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .9rem;
}

.category-showcase-card {
  display: grid;
  align-content: end;
  min-height: 150px;
  padding: 1rem;
  overflow: hidden;
  position: relative;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #1d2f6f, #162655);
  box-shadow: 0 18px 38px rgba(21,22,24,.08);
}

.category-showcase-card::before {
  content: "";
  position: absolute;
  inset: auto -30px -45px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
}

.category-showcase-card--2 { background: linear-gradient(135deg, #f97316, #c2410c); }
.category-showcase-card--3 { background: linear-gradient(135deg, #0f766e, #134e4a); }

.category-showcase-card span,
.category-showcase-card strong {
  position: relative;
  z-index: 1;
}

.category-showcase-card span {
  font-size: .74rem;
  font-weight: 800;
  opacity: .85;
}

.category-showcase-card strong {
  margin-top: .25rem;
  font-size: 1rem;
  line-height: 1.18;
}

.service-modern-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, .9fr));
  gap: 1rem;
  align-items: stretch;
}

.service-card-primary,
.service-card-secondary {
  min-height: 280px;
}

.service-card-primary {
  background: var(--brand);
  color: #fff;
}

.service-card-primary .eyebrow,
.service-card-primary p {
  color: rgba(255,255,255,.78);
}

.testimonial-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.testimonial-card,
.blog-card,
.faq-item {
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(21,22,24,.08);
  box-shadow: 0 16px 34px rgba(21,22,24,.045);
}

.testimonial-card {
  display: grid;
  gap: 1.2rem;
  padding: 1.25rem;
}

.testimonial-card p {
  margin: 0;
  color: #374151;
  line-height: 1.65;
  font-size: .94rem;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card strong { font-size: .94rem; }
.testimonial-card span { color: var(--muted); font-size: .8rem; margin-top: .15rem; }

.blog-card {
  padding: 1.25rem;
}

.blog-card span {
  color: var(--brand);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.blog-card h3 {
  margin: .55rem 0 .55rem;
  font-size: 1.05rem;
  line-height: 1.3;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.62;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 2rem;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: .75rem;
}

.faq-item {
  padding: .95rem 1.1rem;
}

.faq-item summary {
  cursor: pointer;
  font-size: .95rem;
  font-weight: 900;
}

.faq-item p {
  margin: .75rem 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: .9rem;
}

@media (max-width: 1100px) {
  .deals-grid,
  .service-modern-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .deal-card--hero {
    grid-row: span 1;
  }
  .deal-card--hero .deal-card__media,
  .deal-card__media {
    height: 210px;
  }
  .category-showcase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .section-tight,
  .section {
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
  }
  .section-head--slim,
  .section-head--balanced {
    align-items: start;
  }
  .thumbnail-carousel {
    grid-auto-columns: minmax(152px, 72vw);
    margin-right: -1rem;
    padding-right: 1rem;
  }
  .thumb-product-card {
    grid-template-columns: 62px minmax(0, 1fr);
    min-height: 82px;
    border-radius: 18px;
  }
  .thumb-product-card__image {
    width: 62px;
    height: 62px;
  }
  .deals-grid,
  .service-modern-grid,
  .testimonial-grid,
  .blog-grid,
  .faq-layout {
    grid-template-columns: 1fr;
  }
  .deal-card,
  .deal-card--hero {
    min-height: unset;
  }
  .deal-card__media,
  .deal-card--hero .deal-card__media {
    height: 210px;
  }
  .category-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .category-showcase-card {
    min-height: 118px;
    border-radius: 20px;
  }
}

.qs-warning-text { color:#dc2626; font-size:.75rem; font-weight:800; }
.qs-muted-small { color:#64748b; font-size:.75rem; line-height:1.5; }

/* v1.8.4 responsive tracking maps */
.qs-live-map-card {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}
.qs-responsive-map,
.qs-mini-map-embed {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 22px;
  background: #f8fafc;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}
.qs-responsive-map { min-height: 320px; }
.qs-mini-map-embed { min-height: 160px; margin: .65rem 0; }
.qs-responsive-map iframe,
.qs-mini-map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.qs-live-location-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, .08);
}
.qs-live-location-summary p { margin: .25rem 0 0; color: #475569; font-size: .9rem; }
.qs-live-location-summary a,
.qs-track-map-button { white-space: nowrap; }
.qs-live-source {
  display: inline-flex;
  margin-left: .35rem;
  padding: .15rem .45rem;
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  font-size: .68rem;
  font-weight: 900;
}
.qs-live-location-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}
.qs-live-location-meta span {
  display: grid;
  gap: .2rem;
  padding: .8rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  color: #475569;
  font-size: .82rem;
}
.qs-live-location-meta strong { color: #0f172a; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 640px) {
  .qs-responsive-map { min-height: 260px; border-radius: 18px; }
  .qs-live-location-summary { flex-direction: column; }
  .qs-live-location-meta { grid-template-columns: 1fr; }
}

/* =========================
   v1.9.1 Product detail beauty + live pricing
   ========================= */
.qs-product-page-modern {
  background:
    radial-gradient(circle at 12% 6%, rgba(249, 115, 22, .12), transparent 28rem),
    radial-gradient(circle at 92% 12%, rgba(16, 185, 129, .10), transparent 24rem),
    linear-gradient(180deg, #fff7ed 0%, #ffffff 38%, #f8fafc 100%);
}
.qs-product-hero-card {
  border: 1px solid rgba(249, 115, 22, .12);
  border-radius: 28px;
  padding: clamp(.75rem, 1.5vw, 1.25rem);
  background: rgba(255,255,255,.82);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .10);
  backdrop-filter: blur(14px);
}
.qs-product-gallery-modern {
  position: relative;
  border: 0 !important;
  background: linear-gradient(135deg, #fff, #fff7ed) !important;
  box-shadow: none !important;
}
.qs-product-gallery-modern .public-product-image-main {
  background: linear-gradient(135deg, #fff, #f8fafc) !important;
  border: 1px solid rgba(15,23,42,.07);
}
.qs-sale-ribbon,
.product-sale-pill {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(239,68,68,.22);
}
.qs-sale-ribbon { top: 1rem; left: 1rem; padding: .45rem .8rem; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.product-sale-pill { top: .65rem; left: .65rem; padding: .3rem .55rem; font-size: .68rem; }
.qs-product-purchase-card {
  border: 1px solid rgba(15,23,42,.08) !important;
  background: linear-gradient(180deg, #fff, #fffaf5) !important;
  box-shadow: 0 24px 70px rgba(15,23,42,.12) !important;
}
.qs-product-kicker-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  margin-bottom: .45rem;
}
.qs-price-row-modern {
  flex-wrap: wrap;
  padding: .9rem 1rem;
  border: 1px solid rgba(249,115,22,.14);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(249,115,22,.10), rgba(255,255,255,.92));
}
.qs-price-row-modern strong { color: #ea580c !important; }
.qs-old-price,
.qs-card-old-price {
  color: #94a3b8 !important;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  font-weight: 800;
}
.qs-card-old-price { display: inline-block; margin-left: .25rem; font-size: .72rem; }
.qs-save-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .32rem .6rem;
  background: #dcfce7;
  color: #166534;
  font-size: .72rem;
  font-style: normal;
  font-weight: 900;
}
.qs-product-purchase-form {
  display: grid !important;
  gap: .85rem !important;
}
.qs-purchase-row {
  display: grid;
  grid-template-columns: minmax(160px, auto) minmax(150px, 1fr);
  gap: .75rem;
  align-items: end;
}
.qs-live-total-card {
  display: grid;
  gap: .28rem;
  min-height: 68px;
  padding: .78rem .9rem;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.08);
  background: #0f172a;
  color: #fff;
}
.qs-live-total-card span { color: rgba(255,255,255,.66); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.qs-live-total-card strong { font-size: 1.25rem; line-height: 1; }
.qs-product-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
}
.qs-product-points-modern {
  display: grid;
  gap: .55rem;
}
.qs-product-points-modern > div {
  border: 1px solid rgba(15,23,42,.07);
  border-radius: 16px;
  background: rgba(255,255,255,.7);
  padding: .75rem;
}
.public-product-gallery-strip {
  grid-auto-flow: column;
  grid-auto-columns: minmax(72px, 92px);
  grid-template-columns: none !important;
  overflow-x: auto;
  padding-bottom: .25rem;
}
.public-product-thumb {
  background: #fff !important;
  cursor: pointer;
}
.public-product-thumb:hover { transform: translateY(-1px); border-color: rgba(249,115,22,.5) !important; }
.public-product-buy-form .button,
.qs-product-action-grid .button { width: 100%; text-align: center; justify-content: center; }

@media (max-width: 760px) {
  .qs-product-hero-card { padding: .65rem; border-radius: 22px; }
  .qs-purchase-row { grid-template-columns: 1fr; }
  .qs-product-action-grid { grid-template-columns: 1fr; }
  .qs-live-total-card { min-height: 62px; }
  .qs-price-row-modern { padding: .78rem; }
  .qs-product-kicker-row { align-items: flex-start; flex-direction: column; gap: .45rem; }
}

/* === QuickSalone v1.9.2 mobile header CTA polish === */
@media (max-width: 760px) {
  .mobile-get-started-link {
    background: #0f172a !important;
    color: #fff !important;
    border-color: #0f172a !important;
  }
  .mobile-login-link--plain {
    background: #fff !important;
  }
}
