:root {
  --gold: #b5863d;
  --gold-dark: #8f6828;
  --gold-soft: #c9a45c;
  --gold-pale: #f3c5ce;
  --tan: #f7d6de;
  --tan-bar: #f8d5de;
  --blush: #fff0f4;
  --blush-deep: #fde4ec;
  --cream: #fff6f8;
  --ink: #3b242c;
  --muted: #7a5b66;
  --line: #f3d0d8;
  --white: #fff9fb;
  --shadow: 0 18px 40px rgba(180, 90, 110, 0.1);
  --radius: 16px;
  --container: 1220px;
  --header-serif: "Cormorant Garamond", "Times New Roman", serif;
  --ui: "Montserrat", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--ui);
  color: var(--ink);
  background: var(--blush);
  line-height: 1.6;
  font-size: 15px;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

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

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}

.skip-link:focus {
  top: 8px;
}

/* Top announcement */
.announce {
  background: var(--tan-bar);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.04em;
  overflow: hidden;
}

.announce-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.announce:hover .announce-track,
.announce:focus-within .announce-track {
  animation-play-state: paused;
}

.announce-group {
  display: flex;
  align-items: center;
  gap: 42px;
  padding: 10px 42px;
  flex-shrink: 0;
}

.announce-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.announce-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold-dark);
  fill: none;
  flex-shrink: 0;
}

/* Header */
.site-header {
  background: rgba(255, 249, 251, 0.94);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 92px;
  gap: 16px;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-main a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding: 8px 0;
}

.nav-main a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav-main a:hover::after,
.nav-main a.active::after {
  width: 100%;
}

.logo {
  display: grid;
  place-items: center;
}

.logo img {
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  position: relative;
  transition: background 0.2s ease;
}

.icon-btn:hover,
.icon-btn:focus-visible {
  background: var(--blush);
  outline: none;
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

.badge {
  position: absolute;
  top: 6px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  display: grid;
  place-items: center;
  padding: 0 4px;
}

.menu-toggle {
  display: none;
}

/* Hero — full artwork, never cropped */
.hero {
  background: #f8e8ec;
  overflow: visible;
  line-height: 0;
}

.hero-banner {
  display: block;
  width: 100%;
}

.hero-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center top;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  background: var(--gold);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--gold-dark);
}

.btn:focus-visible {
  outline: 3px solid var(--gold-pale);
  outline-offset: 2px;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: #fff;
}

/* Sections */
.section {
  padding: 84px 0;
}

.section-blush {
  background: var(--blush);
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head h2 {
  font-family: var(--header-serif);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head p {
  color: var(--muted);
  margin-top: 8px;
}

.section-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 36px;
}

.section-row h2 {
  font-family: var(--header-serif);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-row p {
  color: var(--muted);
}

.link-arrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.link-arrow:hover {
  color: var(--ink);
}

/* Categories */
.cat-section {
  position: relative;
  overflow: hidden;
  background:
    url("../images/cat-floral-left.svg") left -36px top 8px / 210px no-repeat,
    url("../images/cat-floral-right.svg") right -28px bottom -8px / 210px no-repeat,
    var(--blush);
}

.cat-head h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-weight: 600;
}

.cat-head h2::before,
.cat-head h2::after {
  content: "";
  width: 78px;
  height: 1px;
  background: var(--gold);
}

.cat-head p {
  font-family: var(--header-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.cats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

.cat-card {
  text-align: center;
  background: #fff;
  border: 1px solid #e8cbb8;
  border-radius: 50% 50% 10px 10px / 22% 22% 10px 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.cat-frame {
  width: 100%;
  aspect-ratio: 3 / 3.7;
  overflow: hidden;
  background: #f7e4ea;
}

.cat-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.cat-body {
  background: #fff;
  padding: 18px 10px 22px;
}

.cat-card h3 {
  font-family: var(--header-serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.cat-body span {
  font-family: var(--header-serif);
  font-size: 15px;
  font-weight: 500;
  color: #8a6a55;
}

/* Products */
.product-wrap {
  position: relative;
}

.product-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 12px 12px 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.product-media {
  position: relative;
  background: var(--blush);
  aspect-ratio: 1;
  margin-bottom: 14px;
  overflow: hidden;
}

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

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

.wish {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.wish svg {
  width: 18px;
  height: 18px;
  stroke: var(--ink);
  fill: none;
}

.wish.is-on svg {
  fill: #c45c5c;
  stroke: #c45c5c;
}

.product-card h3 {
  font-size: 14px;
  font-weight: 500;
  min-height: 42px;
}

.price {
  color: var(--gold-dark);
  font-weight: 600;
  margin: 8px 0 12px;
  font-size: 15px;
}

.product-card .btn {
  width: 100%;
}

.carousel-btn {
  position: absolute;
  top: 42%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  z-index: 2;
  box-shadow: var(--shadow);
}

.carousel-btn.prev { left: -12px; }
.carousel-btn.next { right: -12px; }
.carousel-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--ink);
  fill: none;
}

/* Legacy */
.legacy {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 520px;
  background: #1f1915;
  color: #f7efe6;
  overflow: hidden;
}

.legacy-copy {
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(201, 164, 92, 0.18), transparent 40%),
    #241d18;
}

.legacy-copy h2 {
  font-family: var(--header-serif);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: 0.06em;
  margin: 12px 0 18px;
}

.legacy-copy p {
  color: #d8cbbd;
  max-width: 460px;
  margin-bottom: 28px;
}

.legacy-media {
  position: relative;
}

.legacy-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 520px;
}

.legacy-vert {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  letter-spacing: 0.32em;
  font-size: 12px;
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

/* Testimonials */
.quotes-marquee {
  overflow: hidden;
}

.quotes-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
  padding: 8px 0 12px;
}

.quotes-marquee:hover .quotes-track,
.quotes-marquee:focus-within .quotes-track {
  animation-play-state: paused;
}

.quotes-group {
  display: flex;
  gap: 24px;
  padding-right: 24px;
  flex-shrink: 0;
}

.quote-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px 28px;
  box-shadow: 0 10px 24px rgba(180, 90, 110, 0.06);
  width: min(360px, 82vw);
  flex: 0 0 min(360px, 82vw);
}

.quote-mark {
  font-family: var(--header-serif);
  font-size: 56px;
  line-height: 0.6;
  color: var(--gold);
}

.stars {
  color: var(--gold);
  letter-spacing: 2px;
  margin: 12px 0;
  font-size: 13px;
}

.quote-card blockquote {
  font-size: 15px;
  color: var(--muted);
  min-height: 96px;
}

.quote-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--tan-bar);
  color: var(--gold-dark);
  font-weight: 600;
  border: 1px solid var(--gold-pale);
}

.quote-user strong {
  display: block;
  font-size: 14px;
}

.quote-user span {
  font-size: 12px;
  color: var(--muted);
}

/* Trust strip */
.trust-bar {
  background: var(--tan-bar);
  padding: 28px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  text-align: center;
}

.trust-grid article {
  display: grid;
  justify-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.trust-grid svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold-dark);
  fill: none;
}

/* Newsletter */
.newsletter {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter::before,
.newsletter::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 180px;
  height: 180px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none' stroke='%23b5863d' stroke-width='1'%3E%3Cpath d='M60 8c6 22 22 36 40 40-18 6-32 22-36 42-6-22-22-36-40-40 18-6 32-22 36-42z'/%3E%3Ccircle cx='60' cy='60' r='6'/%3E%3C/svg%3E")
    no-repeat center / contain;
  opacity: 0.45;
  pointer-events: none;
}

.newsletter::before { left: 6%; }
.newsletter::after { right: 6%; }

.newsletter h2 {
  font-family: var(--header-serif);
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.newsletter p {
  color: var(--muted);
  margin: 10px 0 28px;
}

.news-form {
  display: flex;
  justify-content: center;
  max-width: 520px;
  margin: 0 auto;
  border: 1px solid var(--line);
  background: #fff;
}

.news-form input {
  flex: 1;
  border: 0;
  padding: 14px 16px;
  min-height: 52px;
  outline: none;
  font-size: 14px;
}

.news-form .btn {
  border-radius: 0;
}

.form-note {
  margin-top: 12px;
  font-size: 13px;
  min-height: 20px;
}

.form-note.ok { color: #2f7a46; }
.form-note.err { color: #b42318; }

/* Footer */
.site-footer {
  background: #1c1713;
  color: #efe7dc;
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr 0.8fr;
  gap: 32px;
  padding-bottom: 40px;
}

.footer-brand img {
  width: 92px;
  height: 92px;
  background: #fff;
  border-radius: 50%;
  margin-bottom: 14px;
}

.footer-brand p {
  color: #cfc3b4;
  max-width: 240px;
  font-size: 14px;
}

.site-footer h3 {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--gold-soft);
}

.site-footer ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.site-footer a:hover {
  color: var(--gold-soft);
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(201, 164, 92, 0.35);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.socials svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #efe7dc;
  stroke-width: 1.6;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0 22px;
  font-size: 13px;
  color: #cfc3b4;
}

.heart {
  color: #d46a6a;
}

/* Drawers / overlays */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 23, 19, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 80;
}

.overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  background: #fff;
  z-index: 90;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.drawer.is-open {
  transform: none;
}

.search-panel {
  position: fixed;
  left: 50%;
  top: 18%;
  transform: translateX(-50%) translateY(-12px);
  width: min(640px, calc(100% - 32px));
  background: #fff;
  z-index: 90;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  box-shadow: var(--shadow);
}

.search-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.search-panel input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  padding: 0 16px;
  outline: none;
}

.search-results {
  margin-top: 16px;
  display: grid;
  gap: 10px;
  max-height: 320px;
  overflow: auto;
}

.search-hit {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px;
}

.search-hit img {
  width: 54px;
  height: 54px;
  object-fit: cover;
}

.drawer-head,
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

.drawer-body {
  padding: 18px 20px;
  overflow: auto;
  flex: 1;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.qty button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
}

.drawer-foot {
  padding: 16px 20px 24px;
  border-top: 1px solid var(--line);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 14px;
}

.toast {
  position: fixed;
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 120;
}

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

.mobile-nav {
  display: none;
}

.empty {
  color: var(--muted);
  padding: 24px 0;
}

.account-form {
  display: grid;
  gap: 12px;
}

.account-form input {
  min-height: 48px;
  border: 1px solid var(--line);
  padding: 0 12px;
}

.page-hero {
  background: var(--blush);
  padding: 56px 0 40px;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--header-serif);
  font-size: 48px;
  font-weight: 500;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid var(--line);
  padding: 12px 14px;
  min-height: 48px;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.policy {
  max-width: 760px;
  margin: 0 auto;
}

.policy h2 {
  font-family: var(--header-serif);
  font-size: 28px;
  margin: 28px 0 10px;
}

.policy p,
.policy li {
  color: var(--muted);
  margin-bottom: 10px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

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

/* Floating contact */
.float-stack {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(59, 36, 44, 0.18);
  transition: transform 0.2s ease;
}

.float-btn:hover,
.float-btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.float-btn svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.float-phone {
  background: var(--gold);
}

.float-wa {
  background: #25d366;
}

.float-wa .wa-logo {
  width: 34px;
  height: 34px;
  fill: #fff;
}

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

@media (max-width: 1100px) {
  .product-track,
  .trust-grid,
  .footer-grid,
  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .legacy,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .legacy-vert,
  .carousel-btn {
    display: none;
  }
  .legacy-copy {
    padding: 48px 28px;
  }
}

@media (max-width: 860px) {
  .nav-main {
    display: none;
  }
  .menu-toggle {
    display: grid;
  }
  .header-inner {
    grid-template-columns: auto 1fr auto;
    min-height: 72px;
  }
  .logo img {
    width: 64px;
    height: 64px;
  }
  .header-actions .icon-btn:nth-child(2) {
    display: none;
  }
  .trust-grid,
  .footer-grid,
  .shop-grid {
    grid-template-columns: 1fr;
  }
  .cats {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .cat-card {
    flex: 0 0 180px;
    scroll-snap-align: start;
  }
  .cat-head h2::before,
  .cat-head h2::after {
    width: 28px;
  }
  .product-track {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .product-card {
    flex: 0 0 min(240px, 78vw);
    scroll-snap-align: start;
  }
  .shop-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 56px 0;
  }
  .section-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-hero h1 {
    font-size: 34px;
  }
  .news-form {
    flex-direction: column;
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    font-size: 16px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .newsletter::before,
  .newsletter::after {
    display: none;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .float-stack {
    right: 14px;
    bottom: 16px;
  }
  .container {
    width: min(var(--container), calc(100% - 28px));
  }
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: start;
}

.checkout-form,
.checkout-summary {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px;
}

.checkout-form h2,
.checkout-summary h2 {
  font-family: var(--header-serif);
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 16px;
}

.checkout-form {
  display: grid;
  gap: 8px;
}

.checkout-form input,
.checkout-form textarea {
  border: 1px solid var(--line);
  padding: 12px 14px;
  min-height: 48px;
  margin-bottom: 8px;
}

.checkout-form textarea {
  min-height: 96px;
  resize: vertical;
}

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

.pay-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--line);
  padding: 14px;
  cursor: pointer;
  background: var(--blush);
}

.pay-card input {
  margin-top: 4px;
  min-height: auto;
}

.pay-card:has(input:checked) {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.pay-card:has(input:disabled) {
  opacity: 0.55;
  cursor: not-allowed;
}

.check-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.check-line img {
  width: 64px;
  height: 64px;
  object-fit: cover;
}

.check-line span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.sum-row {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.sum-row.total {
  font-size: 18px;
  font-weight: 600;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 14px;
}

.ship-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .checkout-grid,
  .check-row {
    grid-template-columns: 1fr;
  }
}

.flash {
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
}
.flash-ok { background: #e8f6ee; color: #215c38; }
.flash-error { background: #fde8ea; color: #8a2430; }
.product-media form {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  margin: 0;
}
.product-actions { display: grid; gap: 8px; }
.product-actions .btn { width: 100%; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.shop-filter { display: flex; gap: 10px; margin-bottom: 28px; }
.shop-filter input { flex: 1; }
.product-page { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.product-gallery img { width: 100%; background: var(--blush); }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumb { width: 72px; height: 72px; padding: 0; border: 1px solid var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.price-lg { font-size: 28px; font-family: var(--header-serif); color: var(--gold-dark); margin: 12px 0 18px; }
.buy-form { display: grid; gap: 10px; margin: 18px 0; max-width: 360px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { border-bottom: 1px solid var(--line); padding: 10px 0; text-align: left; }
.spec-table th { width: 40%; color: var(--muted); font-weight: 500; }
.product-copy-block { margin-top: 32px; }
.auth-box { max-width: 420px; }
.account-nav { display: flex; gap: 16px; margin-bottom: 24px; align-items: center; }
.order-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.hero-slider { position: relative; }
.hero-slider .hero-banner { display: none; }
.hero-slider .hero-banner.is-on { display: block; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 8px; }
.hero-dots button { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.6); }
.hero-dots button.is-on { background: var(--gold); }
.check-inline { display: flex; align-items: center; gap: 8px; }
.pager nav { display: flex; gap: 8px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.pager a, .pager span { padding: 8px 12px; border: 1px solid var(--line); background: #fff; }
@media (max-width: 860px) {
  .product-page, .order-row, .shop-filter { grid-template-columns: 1fr; display: grid; }
  .shop-filter { display: flex; }
}
