/* =========================================================================
   Jimmy's Superstore — stylesheet
   Palette: warm paper + ink navy + amber. Retail-warm, high contrast, fast.
   ========================================================================= */

:root {
  --ink: #14100a;
  --ink-soft: #3d3529;
  --muted: #6b6054;
  --paper: #f8f3ea;
  --paper-2: #f1e9db;
  --white: #fffdf9;
  --line: #e6dbc9;
  --line-strong: #d6c7ae;

  --amber: #e8891a;
  --amber-lt: #ffb347;
  --amber-deep: #9a5308;
  --amber-wash: #fdf1e0;

  --navy: #131c2b;
  --navy-2: #1e2b40;
  --navy-3: #2b3c57;

  --deal: #cf3b2b;
  --good: #17795a;
  --good-wash: #e6f4ee;
  --warn: #a86412;

  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 30px;

  --shadow-sm: 0 2px 8px rgba(20, 16, 10, 0.06);
  --shadow: 0 14px 40px rgba(19, 28, 43, 0.1);
  --shadow-lg: 0 30px 70px rgba(19, 28, 43, 0.18);

  --max: 1200px;
  --ease: cubic-bezier(0.22, 0.8, 0.28, 1);
}

/* ------------------------------------------------------------------ base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* Class-based display rules would otherwise beat the UA [hidden] rule. */
[hidden] {
  display: none !important;
}

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

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

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
}

h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1rem;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 6px;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

.dim {
  opacity: 0.28;
}

.good {
  color: var(--good);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 60;
}

.skip:focus {
  left: 12px;
  top: 12px;
  background: var(--white);
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.wrap-narrow {
  max-width: 720px;
}

/* ------------------------------------------------ utility bar + header */

.utility {
  background: var(--ink);
  color: rgba(255, 253, 249, 0.82);
  font-size: 0.82rem;
}

.utility-inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.42rem 0;
}

.utility-phone {
  font-weight: 600;
  color: #ffca6b;
  white-space: nowrap;
}

.utility-phone:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ------------------------------------------------------------ announcement */

.announcement {
  background: linear-gradient(90deg, var(--navy), var(--navy-2));
  color: #f7ead1;
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

.announcement a {
  color: #ffca6b;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 253, 249, 0.86);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 0;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.02rem;
  line-height: 1.15;
}

.logo-img {
  height: 68px;
  width: auto;
  display: block;
  border-radius: 12px;
  flex: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.5rem;
}

.header-search {
  flex: 1;
  max-width: 22rem;
  margin-left: 0.5rem;
}

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

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

.badge-saved {
  background: var(--amber);
  color: #24160a;
}

.saved-btn:hover {
  color: var(--deal);
}

.cart-label {
  font-weight: 600;
  font-size: 0.9rem;
}

.nav {
  display: flex;
  gap: 0.25rem;
  font-weight: 500;
}

.nav a {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}

.nav a:hover {
  background: var(--paper-2);
}

.nav a[aria-current="page"] {
  background: var(--navy);
  color: #fff;
}

.icon-btn {
  position: relative;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 0.5rem 0.7rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}

.icon-btn:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.icon-btn:active {
  transform: scale(0.95);
}

.cart-btn {
  margin-left: 0.5rem;
}

.badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: var(--deal);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 0.28rem;
  border: 2px solid var(--white);
}

.menu-btn {
  display: none;
  margin-left: auto;
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60rem 40rem at 12% -10%, rgba(255, 179, 71, 0.28), transparent 62%),
    radial-gradient(50rem 34rem at 96% 8%, rgba(19, 28, 43, 0.1), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  padding: 4rem 0 3.5rem;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--amber-deep);
  margin-bottom: 0.8rem;
}

.kicker.light {
  color: var(--amber-lt);
}

.lead {
  color: var(--muted);
  font-size: 1.09rem;
  max-width: 40rem;
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.9rem);
  margin-bottom: 0.45em;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.3rem 0 1.6rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 0.85rem;
  font-size: 0.87rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

.pill.good {
  background: var(--good-wash);
  border-color: #bfe3d3;
  color: #0f5f46;
}

.pill.warn {
  background: #fdf0dc;
  border-color: #f0d3a4;
  color: var(--warn);
}

.pill.info {
  color: var(--ink-soft);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.16s var(--ease), box-shadow 0.2s var(--ease),
    background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}

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

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-primary {
  background: linear-gradient(160deg, var(--amber-lt), var(--amber));
  color: #24160a;
  box-shadow: 0 10px 24px rgba(232, 137, 26, 0.32);
}

.btn-primary:hover {
  box-shadow: 0 16px 32px rgba(232, 137, 26, 0.42);
}

.btn-primary.in-basket {
  background: linear-gradient(160deg, #35a97d, var(--good));
  color: #fff;
  box-shadow: 0 10px 24px rgba(23, 121, 90, 0.3);
}

.btn-ghost {
  background: var(--white);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-ghost-inv {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-ghost-inv:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-lg {
  padding: 0.9rem 1.5rem;
  font-size: 1.02rem;
}

.btn-block {
  width: 100%;
}

.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  padding: 0;
  margin: 1.6rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-trust .icon {
  color: var(--good);
}

.hero-card {
  position: relative;
  background: var(--navy);
  color: #f6efe3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  opacity: 0.9;
}

.hero-card .card-copy {
  padding: 1.3rem 1.5rem 1.6rem;
}

.hero-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.muted-light {
  color: rgba(246, 239, 227, 0.72);
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

.hero-card .price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  color: #ffca6b;
  font-weight: 600;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 0.9rem;
}

.hero-card .price-row a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------- marquee */

.marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  padding: 0.85rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 46s linear infinite;
}

.marquee-track span {
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.marquee-track span::after {
  content: "◆";
  color: var(--amber);
  font-size: 0.6rem;
}

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

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* -------------------------------------------------------------- sections */

.section {
  padding: 2.6rem 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.section-head h2 {
  margin-bottom: 0;
}

.section-head .kicker {
  margin-bottom: 0.3rem;
}

.link-arrow {
  font-weight: 600;
  color: var(--amber-deep);
  white-space: nowrap;
}

.link-arrow:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------------------------------------------------------- category grid */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0.9rem;
}

.cat-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: transform 0.2s var(--ease), box-shadow 0.24s var(--ease),
    border-color 0.2s var(--ease);
  overflow: hidden;
}

.cat-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber-lt), var(--amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}

.cat-card:hover::after {
  transform: scaleX(1);
}

.cat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--amber-wash);
  color: var(--amber-deep);
  display: grid;
  place-items: center;
  margin-bottom: 0.55rem;
}

.cat-icon .icon {
  width: 1.3rem;
  height: 1.3rem;
}

.cat-sub {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.cat-count {
  margin-top: auto;
  padding-top: 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--amber-deep);
}

/* ----------------------------------------------------------------- deals */

.deals-section {
  padding-top: 0.5rem;
}

.deal-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.9rem;
}

.deal {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.24s var(--ease),
    border-color 0.2s var(--ease);
}

.deal:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}

.deal-media {
  position: relative;
  background: var(--paper-2);
  aspect-ratio: 5 / 3;
  overflow: hidden;
}

.deal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.deal:hover .deal-media img {
  transform: scale(1.06);
}

.deal-media .badge-save {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
}

.deal-copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.85rem 1rem 1rem;
}

.deal-copy strong {
  font-size: 0.95rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.deal-price {
  font-weight: 700;
  color: var(--deal);
  font-size: 1.05rem;
}

.deal-price s {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.85rem;
  margin-left: 0.2rem;
}

/* --------------------------------------------------------- trust strip */

.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.9rem;
  padding: 0.4rem 0 0.6rem;
}

.trust-strip article {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.05rem;
  transition: transform 0.2s var(--ease), box-shadow 0.24s var(--ease);
}

.trust-strip article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.trust-icon {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  background: var(--navy);
  color: var(--amber-lt);
  display: grid;
  place-items: center;
}

.trust-icon .icon {
  width: 1.2rem;
  height: 1.2rem;
}

.trust-strip div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.trust-strip strong {
  font-size: 0.95rem;
}

.trust-strip span:last-child {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

.badge-save {
  align-self: flex-start;
  background: var(--deal);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
}

/* --------------------------------------------------------------- product */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: 1.1rem;
}

.product {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s var(--ease), box-shadow 0.26s var(--ease),
    border-color 0.22s var(--ease);
}

.product:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}

.product-media {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
  aspect-ratio: 4 / 3;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.product:hover .product-media img {
  transform: scale(1.06);
}

.badges {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  align-items: flex-start;
}

.badge-note {
  background: rgba(19, 28, 43, 0.9);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.save-btn {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.94);
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.18s var(--ease), color 0.18s var(--ease),
    background 0.18s var(--ease);
}

.save-btn .icon,
.save-btn svg {
  width: 1.1rem;
  height: 1.1rem;
}

.save-btn:hover {
  transform: scale(1.08);
  color: var(--deal);
}

.save-btn.on {
  background: var(--deal);
  border-color: var(--deal);
  color: #fff;
}

.save-btn.on svg path {
  fill: currentColor;
}

.product-body {
  padding: 0.95rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--amber-deep);
}

.product-name {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.product-name:hover {
  color: var(--amber-deep);
}

.rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.rating .stars {
  color: var(--amber);
  letter-spacing: -0.05em;
}

.rating-num {
  font-weight: 700;
  color: var(--ink);
}

.price {
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.price-lg {
  font-size: 1.9rem;
  margin: 0.6rem 0 0.9rem;
}

.compare {
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 400;
  font-size: 0.88rem;
}

.save-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--deal);
  background: #fdeceb;
  border-radius: 999px;
  padding: 0.12rem 0.5rem;
}

.product-foot {
  margin-top: auto;
  padding-top: 0.5rem;
}

.product-foot .btn {
  width: 100%;
  font-size: 0.92rem;
  padding: 0.7rem 1rem;
}

/* img fallback */
.img-broken img {
  display: none;
}

.img-broken::after {
  content: "🛒";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  background: repeating-linear-gradient(
    45deg,
    var(--paper-2),
    var(--paper-2) 12px,
    var(--paper) 12px,
    var(--paper) 24px
  );
}

/* ------------------------------------------------------------------ why */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.why-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.2rem;
  transition: transform 0.2s var(--ease), box-shadow 0.24s var(--ease);
}

.why-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.why-grid .icon {
  width: 1.7rem;
  height: 1.7rem;
  color: var(--amber-deep);
  margin-bottom: 0.6rem;
}

.why-grid h3 {
  margin-bottom: 0.3rem;
}

.why-grid p {
  color: var(--muted);
  font-size: 0.93rem;
  margin: 0;
}

/* -------------------------------------------------------------- reviews */

.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 0.2s var(--ease), box-shadow 0.24s var(--ease);
}

.quote:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.quote-stars {
  color: var(--amber);
  letter-spacing: -0.05em;
}

.quote h3 {
  font-size: 1.02rem;
  margin: 0;
}

.quote p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
  flex: 1;
}

.quote-foot {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}

.quote-avatar {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--navy), var(--navy-2));
  color: #ffca6b;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.quote-who {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
  flex: 1;
}

.quote-who strong {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quote-who span {
  font-size: 0.76rem;
  letter-spacing: 0.02em;
}

.quote-src {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: var(--amber-deep);
  background: var(--amber-wash);
  border: 1px solid rgba(232, 137, 26, 0.26);
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
}

.quote-src .icon {
  width: 0.8rem;
  height: 0.8rem;
}

/* ----------------------------------------------------------- visit band */

.visit-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.2rem;
  align-items: center;
  background:
    radial-gradient(40rem 24rem at 88% 10%, rgba(232, 137, 26, 0.28), transparent 65%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #f6efe3;
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: var(--shadow-lg);
}

.visit-band h2 {
  color: #fff;
  margin-bottom: 0.4rem;
}

.visit-band .actions {
  margin-top: 1.3rem;
}

.visit-hours {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
}

.visit-hours h3 {
  color: #ffca6b;
  font-size: 1.05rem;
}

/* --------------------------------------------------------------- hours */

.hours {
  display: grid;
  gap: 0.1rem;
  font-size: 0.92rem;
}

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.42rem 0.55rem;
  border-radius: 8px;
  border-bottom: 1px dashed var(--line);
}

.visit-hours .hours div {
  border-bottom-color: rgba(255, 255, 255, 0.12);
  color: rgba(246, 239, 227, 0.9);
}

.hours div.today {
  background: var(--amber-wash);
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: transparent;
}

.visit-hours .hours div.today {
  background: rgba(255, 179, 71, 0.16);
  color: #ffd694;
  font-weight: 600;
}

.hours em {
  font-style: normal;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber-deep);
  margin-left: 0.35rem;
}

/* ----------------------------------------------------------- page hero */

.page-hero {
  padding: 3rem 0 1.4rem;
}

.page-hero h1 {
  margin-bottom: 0.3em;
}

/* ------------------------------------------------------------- toolbar */

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 0.44rem 0.85rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.18s var(--ease), color 0.18s var(--ease),
    border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.chip .icon {
  width: 1rem;
  height: 1rem;
}

.chip:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.chip.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.chip.active .icon {
  color: var(--amber-lt);
}

.chip-n {
  font-size: 0.72rem;
  opacity: 0.6;
  font-weight: 600;
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.search-field:focus-within {
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(232, 137, 26, 0.15);
}

.search-field .icon {
  color: var(--muted);
}

.search-field input {
  border: 0;
  background: none;
  outline: none;
  min-width: 11rem;
  padding: 0.15rem 0;
}

.sort {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}

.toggle input {
  accent-color: var(--amber);
  width: 1.05rem;
  height: 1.05rem;
}

.results-line {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.1rem;
}

/* -------------------------------------------------------------- product detail */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
  padding-top: 1.8rem;
}

.breadcrumb a:hover {
  color: var(--amber-deep);
  text-decoration: underline;
}

.breadcrumb span[aria-current] {
  color: var(--ink);
  font-weight: 600;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.6rem;
  align-items: start;
}

.detail-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.78rem;
  padding: 0.3rem 0.7rem;
}

.detail-copy h1 {
  margin-bottom: 0.3em;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.9rem 0;
}

.stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
  background: var(--paper-2);
  color: var(--ink-soft);
}

.stock-pill.ok {
  background: var(--good-wash);
  color: #0f5f46;
}

.stock-pill.mid {
  background: #fdf3e3;
  color: var(--warn);
}

.stock-pill.low {
  background: #fdeceb;
  color: var(--deal);
}

.detail-buy {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin: 1.4rem 0 0.6rem;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
}

.qty button {
  border: 0;
  background: none;
  width: 38px;
  height: 38px;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  transition: background 0.16s var(--ease);
}

.qty button:hover {
  background: var(--paper-2);
}

.qty span {
  min-width: 2rem;
  text-align: center;
  font-weight: 600;
}

.qty-lg button {
  width: 46px;
  height: 46px;
  font-size: 1.25rem;
}

.save-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line-strong);
  background: var(--white);
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.save-inline:hover {
  border-color: var(--deal);
  color: var(--deal);
}

.save-inline.on {
  background: var(--deal);
  border-color: var(--deal);
  color: #fff;
}

.detail-notes {
  list-style: none;
  padding: 0;
  margin: 1.3rem 0 0;
  display: grid;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.detail-notes li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.detail-notes .icon {
  color: var(--amber-deep);
}

.detail-notes a {
  color: var(--amber-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ------------------------------------------------------------- split/panel */

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.8rem;
  align-items: start;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow-sm);
}

.panel + .panel {
  margin-top: 1.1rem;
}

.panel h2 {
  font-size: 1.25rem;
}

.summary {
  position: sticky;
  top: 6.5rem;
}

.summary-rows {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0;
  font-size: 0.93rem;
}

.summary-rows div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.summary-rows .total {
  border-top: 1px solid var(--line-strong);
  padding-top: 0.7rem;
  margin-top: 0.3rem;
  font-weight: 700;
  font-size: 1.15rem;
  font-family: "Fraunces", serif;
}

.summary .btn {
  margin-top: 0.4rem;
}

.fineprint {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0.8rem 0 0;
  display: block;
}

.fineprint .icon {
  vertical-align: -0.15em;
}

/* ---------------------------------------------------------------- cart */

.cart-line {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.cart-line img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 14px;
  background: var(--paper-2);
}

.cart-line-copy {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cart-line-price {
  font-size: 0.88rem;
  color: var(--muted);
}

.cart-line-price s {
  opacity: 0.7;
}

.cart-line-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.cart-line-total {
  font-size: 1.05rem;
  white-space: nowrap;
}

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

.linkish {
  background: none;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.88rem;
}

.linkish:hover {
  color: var(--deal);
}

.empty-block {
  text-align: center;
  padding: 2.5rem 1rem;
}

.empty-emoji {
  font-size: 2.6rem;
  margin: 0 0 0.4rem;
}

.empty-block h2 {
  margin-bottom: 0.3rem;
}

.empty-block p {
  color: var(--muted);
}

.empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
}

/* ---------------------------------------------------------------- forms */

.form {
  display: grid;
  gap: 0.9rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.form input,
.form textarea,
.form select {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.72rem 0.85rem;
  background: var(--paper);
  font-weight: 400;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background 0.18s var(--ease);
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  background: var(--white);
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(232, 137, 26, 0.15);
}

.checkline {
  display: flex !important;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 400 !important;
  font-size: 0.86rem;
  color: var(--muted);
}

.checkline input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  accent-color: var(--amber);
  flex: none;
}

/* --------------------------------------------------------------- receipt */

.receipt {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  margin: 1.4rem 0;
  box-shadow: var(--shadow);
}

.receipt-head {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 1rem;
  border-bottom: 2px dashed var(--line-strong);
  font-size: 0.85rem;
  color: var(--muted);
}

.receipt-head strong {
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
  color: var(--ink);
}

.receipt-rows {
  display: grid;
  gap: 0.45rem;
  padding: 1rem 0;
  font-size: 0.93rem;
}

.receipt-rows div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.receipt-total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-top: 2px dashed var(--line-strong);
  font-weight: 700;
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
}

.receipt-foot {
  display: grid;
  gap: 0.4rem;
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
}

.receipt-foot div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.receipt-foot span {
  color: var(--muted);
}

/* --------------------------------------------------------------- facts */

.facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.93rem;
}

.facts li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--ink-soft);
}

.facts .icon {
  color: var(--amber-deep);
  margin-top: 0.2rem;
}

.facts a {
  color: var(--amber-deep);
  font-weight: 600;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.9rem;
}

.contact-list li {
  display: flex;
  gap: 0.7rem;
}

.contact-list .icon {
  color: var(--amber-deep);
  margin-top: 0.25rem;
}

.contact-list div {
  display: grid;
  gap: 0.1rem;
}

.contact-list span {
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-list a {
  color: var(--amber-deep);
  font-weight: 600;
}

/* ------------------------------------------------------------ busy chart */

.busy-chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 120px;
  padding: 0.8rem 0 0;
}

.busy-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem;
  height: 100%;
}

.busy-bar {
  width: 100%;
  border-radius: 4px 4px 0 0;
  background: var(--line-strong);
  min-height: 4px;
  transition: height 0.5s var(--ease), background 0.2s var(--ease);
}

.busy-bar.calm {
  background: linear-gradient(180deg, #7fc4a6, #4fae87);
}

.busy-bar.warm {
  background: linear-gradient(180deg, var(--amber-lt), var(--amber));
}

.busy-bar.hot {
  background: linear-gradient(180deg, #e8695a, var(--deal));
}

.busy-col span {
  font-size: 0.65rem;
  color: var(--muted);
}

/* ------------------------------------------------------------------ map */

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 0.9rem;
  background: var(--paper-2);
}

.map-wrap iframe {
  width: 100%;
  height: 240px;
  border: 0;
  display: block;
  filter: saturate(0.9);
}

/* ------------------------------------------------------------------ faq */

.faq {
  display: grid;
  gap: 0.6rem;
  max-width: 60rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  transition: border-color 0.18s var(--ease);
}

.faq-item[open] {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--amber-deep);
  line-height: 1;
  flex: none;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* --------------------------------------------------------------- footer */

footer {
  background: var(--navy);
  color: #efe6d6;
  padding: 3rem 0 1.6rem;
  margin-top: 3rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
}

footer strong {
  display: block;
  margin-bottom: 0.5rem;
  font-family: "Fraunces", serif;
  font-size: 1.05rem;
  color: #fff;
}

footer p {
  font-size: 0.9rem;
  color: rgba(239, 230, 214, 0.78);
  margin-bottom: 0.6rem;
}

footer a {
  color: #ffca6b;
}

footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tiny {
  opacity: 0.85;
  font-size: 0.82rem;
  margin: 0;
}

/* ---------------------------------------------------------- newsletter */

.newsletter {
  margin-top: 1.2rem;
}

.newsletter label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(239, 230, 214, 0.7);
  margin-bottom: 0.5rem;
}

.newsletter-row {
  display: flex;
  gap: 0.5rem;
}

.newsletter-row input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border-radius: 999px;
  padding: 0.62rem 0.95rem;
  outline: none;
}

.newsletter-row input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.newsletter-row input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(232, 137, 26, 0.18);
}

.newsletter-row .btn {
  padding: 0.62rem 1.1rem;
}

.newsletter small {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: rgba(239, 230, 214, 0.55);
}

.foot-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.foot-badges span {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(239, 230, 214, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.3rem;
}

.foot-nav {
  display: flex;
  gap: 1.1rem;
  font-size: 0.82rem;
}

/* ---------------------------------------------------------------- toast */

.toast {
  position: fixed;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%) translateY(24px);
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.92rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.3s var(--ease);
  z-index: 60;
  box-shadow: var(--shadow-lg);
  max-width: calc(100% - 2rem);
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast.good {
  background: linear-gradient(160deg, #35a97d, var(--good));
}

.toast.warn {
  background: linear-gradient(160deg, #d08630, var(--warn));
}

/* --------------------------------------------------------- reveal anim */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 1000px) {
  .hero-inner,
  .split,
  .product-detail,
  .visit-band {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding: 2.8rem 0 2.4rem;
    gap: 2rem;
  }

  .visit-band {
    padding: 1.8rem;
    gap: 1.5rem;
  }

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

  .summary {
    position: static;
  }

  .nav {
    display: none;
  }

  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 0.8rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    gap: 0.2rem;
  }

  .nav.open a {
    padding: 0.7rem 1rem;
  }

  .menu-btn {
    display: inline-flex;
  }

  .header-search {
    max-width: none;
  }

  .utility-left {
    display: none;
  }
}

@media (max-width: 760px) {
  .header-search {
    display: none;
  }

  .cart-label {
    display: none;
  }
}

@media (max-width: 640px) {
  .wrap,
  .header-inner {
    width: calc(100% - 1.6rem);
  }

  .logo-img {
    height: 52px;
    border-radius: 10px;
  }

  .quote-foot {
    padding-top: 0.75rem;
  }

  .quote-avatar {
    width: 30px;
    height: 30px;
  }

  .quote-src {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
  }

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

  .product-body {
    padding: 0.75rem 0.75rem 0.85rem;
  }

  .product-name {
    font-size: 0.9rem;
  }

  .price {
    font-size: 0.98rem;
  }

  .form-row,
  .foot-grid {
    grid-template-columns: 1fr;
  }

  .cart-line {
    grid-template-columns: 64px 1fr;
  }

  .cart-line img {
    width: 64px;
    height: 64px;
  }

  .cart-line-total {
    grid-column: 2;
    justify-self: start;
  }

  .section {
    padding: 1.8rem 0;
  }

  .deal-media img {
    width: 100%;
    height: 100%;
  }

  .detail-buy {
    flex-direction: column;
    align-items: stretch;
  }

  .detail-buy .btn,
  .detail-buy .save-inline {
    width: 100%;
  }

  .qty-lg {
    align-self: flex-start;
  }
}

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

  .logo-img {
    height: 44px;
    border-radius: 8px;
  }

  .quote-foot {
    gap: 0.5rem;
  }

  .quote-avatar {
    width: 28px;
    height: 28px;
  }
}

/* ------------------------------------------------------------ motion pref */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------- print */

@media print {
  .site-header,
  .announcement,
  footer,
  .toast,
  .actions,
  .fineprint {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .receipt {
    box-shadow: none;
    border: 1px solid #ccc;
  }

  .page-hero {
    padding: 0;
  }
}
