:root {
  --bg: #f4efe7;
  --bg-strong: #ebe2d4;
  --panel: rgba(255, 250, 245, 0.86);
  --panel-strong: #fffaf4;
  --ink: #201814;
  --muted: #6c5c52;
  --line: rgba(32, 24, 20, 0.1);
  --line-strong: rgba(32, 24, 20, 0.18);
  --accent: #8f5f3e;
  --accent-strong: #5c3b28;
  --accent-soft: rgba(143, 95, 62, 0.12);
  --olive: #67715b;
  --rose: #b68678;
  --danger: #a14b42;
  --success: #2f6a56;
  --shadow-soft: 0 24px 60px rgba(55, 35, 24, 0.08);
  --shadow-strong: 0 32px 80px rgba(55, 35, 24, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --content-width: min(1240px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Cormorant Garamond", "Noto Serif SC", "Source Han Serif SC", Georgia, serif;
  background:
    radial-gradient(circle at top left, rgba(182, 134, 120, 0.18), transparent 28rem),
    radial-gradient(circle at 88% 10%, rgba(103, 113, 91, 0.16), transparent 26rem),
    linear-gradient(180deg, #fbf6ef 0%, #f4efe7 48%, #efe7db 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(32, 24, 20, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 24, 20, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 80%);
}

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

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

button {
  cursor: pointer;
}

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

.shop-app {
  min-height: 100vh;
}

.shop-loading {
  display: grid;
  min-height: 100vh;
  place-items: center;
  color: var(--muted);
  font-size: 20px;
  letter-spacing: 0.06em;
}

.page-shell {
  min-height: 100vh;
}

.announcement {
  display: flex;
  justify-content: center;
  padding: 12px 16px;
  color: #fffaf3;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #201814, #4f3423, #201814);
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: var(--content-width);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  margin: 18px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  padding: 12px 18px;
  background: rgba(255, 250, 244, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 42px rgba(65, 42, 27, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 18px;
  color: #fffaf3;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), transparent 36%),
    linear-gradient(135deg, #8f5f3e, #5c3b28);
  box-shadow: 0 18px 38px rgba(92, 59, 40, 0.2);
}

.brand-name {
  display: block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-subtitle {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav a,
.header-link,
.button,
.chip-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.nav a {
  color: var(--muted);
  transition: background 160ms ease, color 160ms ease;
}

.nav a:hover,
.nav a.active {
  color: var(--ink);
  background: rgba(143, 95, 62, 0.1);
}

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

.header-link {
  gap: 8px;
  color: var(--accent-strong);
  border: 1px solid rgba(143, 95, 62, 0.18);
  background: rgba(255, 255, 255, 0.48);
}

.button {
  border: 0;
  color: #fffaf3;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 18px 36px rgba(92, 59, 40, 0.18);
  transition: transform 160ms ease, opacity 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.header-link:hover,
.chip-button:hover {
  transform: translateY(-1px);
}

.button.secondary {
  color: var(--accent-strong);
  border: 1px solid rgba(143, 95, 62, 0.16);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: none;
}

.button.ghost {
  color: var(--ink);
  border: 1px solid rgba(32, 24, 20, 0.1);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: none;
}

.button.block {
  width: 100%;
}

.button:disabled {
  opacity: 0.68;
  cursor: wait;
  transform: none;
}

.cart-badge {
  display: inline-flex;
  min-width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 8px;
  color: #fffaf3;
  font-size: 12px;
  font-weight: 700;
  background: var(--accent-strong);
}

.page-main {
  width: var(--content-width);
  margin: 0 auto;
  padding: 22px 0 52px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 18px;
}

.hero-copy,
.hero-visual,
.panel,
.product-card,
.testimonial,
.account-card,
.auth-card,
.cart-card,
.checkout-card,
.summary-card,
.detail-card,
.empty-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  padding: clamp(34px, 5vw, 64px);
}

.hero-copy::after {
  position: absolute;
  right: -120px;
  bottom: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(143, 95, 62, 0.14);
  content: "";
  background:
    radial-gradient(circle, rgba(182, 134, 120, 0.18), transparent 58%),
    conic-gradient(from 160deg, rgba(143, 95, 62, 0.16), rgba(103, 113, 91, 0.14), transparent);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  content: "";
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(143, 95, 62, 0.1);
}

.hero-title {
  max-width: 700px;
  margin: 30px 0 18px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.9;
}

.hero-chips,
.hero-actions,
.mini-grid,
.benefits-grid,
.product-grid,
.collection-filters,
.detail-options,
.detail-actions,
.auth-switch,
.footer-links,
.summary-lines,
.checkout-grid,
.account-grid,
.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-chips {
  margin-top: 28px;
}

.hero-chip,
.tag,
.meta-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
  background: rgba(143, 95, 62, 0.1);
}

.hero-actions {
  margin-top: 32px;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  padding: 24px;
  background:
    linear-gradient(155deg, rgba(255, 248, 242, 0.92), rgba(245, 236, 225, 0.88)),
    var(--panel);
}

.editorial-card {
  position: relative;
  display: grid;
  gap: 18px;
  min-height: 552px;
  border-radius: 28px;
  padding: 28px;
  color: #fff9f0;
  background:
    linear-gradient(180deg, rgba(32, 24, 20, 0.06), rgba(32, 24, 20, 0.58)),
    radial-gradient(circle at top, rgba(182, 134, 120, 0.2), transparent 36%),
    linear-gradient(135deg, #6b4e3d, #2f241e 58%, #17120f);
}

.editorial-card::before,
.product-media::before {
  position: absolute;
  inset: auto 16% 0 auto;
  width: 260px;
  height: 420px;
  border-radius: 160px 160px 28px 28px;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.96), rgba(215, 202, 186, 0.78)),
    linear-gradient(135deg, rgba(92, 59, 40, 0.28), transparent);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.editorial-card::after,
.product-media::after {
  position: absolute;
  inset: auto 24% 24px auto;
  width: 220px;
  height: 260px;
  border-radius: 28px;
  content: "";
  background:
    linear-gradient(180deg, rgba(143, 95, 62, 0.88), rgba(82, 54, 36, 0.88));
  transform: skewX(-6deg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
}

.editorial-card--photos::before,
.editorial-card--photos::after,
.product-media--photo::before,
.product-media--photo::after {
  display: none;
  content: none;
}

.editorial-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
  max-width: 320px;
}

.editorial-kicker {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 249, 240, 0.74);
}

.editorial-title {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.editorial-text {
  color: rgba(255, 249, 240, 0.78);
  font-size: 16px;
  line-height: 1.8;
}

.mini-grid {
  position: relative;
  z-index: 2;
  margin-top: auto;
}

.hero-gallery {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hero-photo {
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

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

.mini-panel {
  flex: 1 1 140px;
  border-radius: 22px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}

.mini-panel strong {
  display: block;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.mini-panel span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 249, 240, 0.72);
  font-size: 14px;
  line-height: 1.6;
}

.section {
  margin-top: 24px;
}

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

.section-title {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.section-text {
  max-width: 640px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

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

.panel,
.benefit-card,
.testimonial {
  padding: 24px;
}

.benefit-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.52);
  box-shadow: var(--shadow-soft);
}

.benefit-number {
  display: inline-flex;
  margin-bottom: 22px;
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--olive);
  font-size: 13px;
  font-weight: 700;
  background: rgba(103, 113, 91, 0.12);
}

.benefit-card h3,
.product-name,
.detail-title,
.summary-title,
.account-title,
.auth-title {
  font-size: 28px;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.benefit-card p,
.product-subtitle,
.product-copy,
.summary-note,
.field-hint,
.account-copy,
.auth-copy,
.empty-text,
.footer-copy,
.checkout-note,
.testimonial p {
  color: var(--muted);
  line-height: 1.8;
}

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

.product-card {
  overflow: hidden;
  padding: 0;
}

.product-media {
  position: relative;
  display: grid;
  min-height: 360px;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(182, 134, 120, 0.18), transparent 34%),
    linear-gradient(180deg, #f8f0e7, #ece0d1);
}

.product-media--photo {
  align-items: stretch;
  padding: 18px;
}

.product-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
}

.product-media--dark {
  background:
    radial-gradient(circle at top, rgba(182, 134, 120, 0.22), transparent 34%),
    linear-gradient(180deg, #d8c1ab, #8a6654);
}

.product-media--olive {
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(180deg, #d8ddd0, #97a187);
}

.product-badge {
  position: relative;
  z-index: 1;
  justify-self: start;
}

.product-model-copy {
  position: relative;
  z-index: 1;
  margin-top: auto;
  max-width: 230px;
}

.product-model-copy strong {
  display: block;
  font-size: 32px;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.product-model-copy span {
  display: block;
  margin-top: 8px;
  color: rgba(32, 24, 20, 0.56);
  font-size: 14px;
}

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

.gallery-card {
  display: grid;
  gap: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-soft);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  background: #fff;
}

.gallery-card span {
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.product-body {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.product-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.product-name {
  font-size: 30px;
}

.product-price-wrap {
  text-align: right;
}

.product-price {
  display: block;
  font-size: 26px;
  font-weight: 700;
}

.product-compare {
  display: block;
  margin-top: 4px;
  color: rgba(108, 92, 82, 0.7);
  font-size: 14px;
  text-decoration: line-through;
}

.product-footer,
.cart-row,
.summary-row,
.auth-row,
.footer-main,
.account-head,
.checkout-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

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

.tag {
  padding: 6px 12px;
}

.product-actions {
  display: flex;
  gap: 10px;
}

.editorial-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  gap: 24px;
  padding: 28px;
}

.editorial-band .detail-card {
  min-height: 100%;
}

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

.testimonial strong {
  display: block;
  margin-top: 18px;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer {
  width: var(--content-width);
  display: grid;
  gap: 22px;
  margin: 0 auto 36px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius-xl);
  padding: 28px;
  background: rgba(255, 250, 244, 0.72);
  box-shadow: var(--shadow-soft);
}

.footer-main {
  align-items: flex-start;
}

.footer-copy {
  max-width: 520px;
}

.footer-links {
  justify-content: flex-end;
}

.footer-links a {
  color: var(--muted);
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.92fr);
  gap: 24px;
}

.detail-media {
  min-height: 620px;
}

.detail-photo {
  min-height: 580px;
}

.detail-panel {
  display: grid;
  gap: 18px;
  padding: 30px;
}

.detail-title {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 0.96;
}

.detail-subtitle {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.detail-price {
  font-size: 34px;
  font-weight: 700;
}

.detail-compare {
  color: rgba(108, 92, 82, 0.76);
  font-size: 18px;
  text-decoration: line-through;
}

.option-group {
  display: grid;
  gap: 10px;
}

.option-label,
.field-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.chip-button {
  border: 1px solid rgba(32, 24, 20, 0.12);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.44);
}

.chip-button.active {
  color: #fffaf3;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.detail-copy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.detail-copy-grid ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}

.feature-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}

.collection-toolbar {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.collection-filters {
  gap: 10px;
}

.collection-summary {
  color: var(--muted);
  font-size: 15px;
}

.cart-layout,
.checkout-layout,
.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
}

.cart-card,
.checkout-card,
.account-card,
.summary-card,
.auth-card,
.empty-card {
  padding: 26px;
}

.cart-list,
.order-list {
  display: grid;
  gap: 16px;
}

.cart-item,
.order-item {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  background: rgba(255, 255, 255, 0.46);
}

.cart-item-main {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.cart-thumb {
  min-height: 140px;
  border-radius: 24px;
}

.cart-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.46);
}

.qty-control button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(143, 95, 62, 0.1);
}

.qty-control span {
  min-width: 28px;
  text-align: center;
  font-weight: 700;
}

.summary-card {
  position: sticky;
  top: 106px;
  display: grid;
  gap: 18px;
}

.summary-lines {
  flex-direction: column;
  gap: 14px;
}

.summary-row {
  width: 100%;
}

.summary-row.total {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 19px;
  font-weight: 700;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

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

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

.input,
.select,
.textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(32, 24, 20, 0.12);
  border-radius: 18px;
  padding: 0 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.textarea {
  min-height: 140px;
  padding-top: 14px;
  resize: vertical;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: rgba(143, 95, 62, 0.4);
  outline: none;
  background: #ffffff;
  box-shadow: 0 0 0 5px rgba(143, 95, 62, 0.08);
}

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

.payment-option {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.5);
}

.payment-option.active {
  border-color: rgba(143, 95, 62, 0.42);
  background: rgba(143, 95, 62, 0.08);
}

.payment-option strong {
  font-size: 18px;
}

.message {
  min-height: 24px;
  color: var(--muted);
  line-height: 1.7;
}

.message.error {
  color: var(--danger);
}

.message.success {
  color: var(--success);
}

.auth-wrap {
  width: min(560px, calc(100% - 16px));
  margin: 24px auto 0;
}

.auth-card {
  display: grid;
  gap: 18px;
}

.auth-title {
  font-size: clamp(36px, 5vw, 58px);
}

.auth-switch {
  justify-content: space-between;
}

.auth-switch a {
  color: var(--accent-strong);
  font-weight: 700;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.account-stat {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  background: rgba(255, 255, 255, 0.5);
}

.account-stat strong {
  display: block;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.account-stat span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.empty-card {
  display: grid;
  gap: 14px;
  place-items: center;
  text-align: center;
}

.empty-card strong {
  font-size: 28px;
  letter-spacing: -0.04em;
}

.order-list {
  display: grid;
  gap: 18px;
}

@media (max-width: 1080px) {
  .header {
    grid-template-columns: 1fr;
    border-radius: 30px;
  }

  .nav {
    justify-content: flex-start;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .hero,
  .detail-layout,
  .cart-layout,
  .checkout-layout,
  .account-layout,
  .editorial-band {
    grid-template-columns: 1fr;
  }

  .benefits-grid,
  .product-grid,
  .testimonial-grid,
  .gallery-grid,
  .account-grid,
  .detail-copy-grid,
  .field-grid {
    grid-template-columns: 1fr 1fr;
  }

  .summary-card {
    position: relative;
    top: auto;
  }
}

@media (max-width: 760px) {
  .page-main,
  .header,
  .footer {
    width: min(100% - 22px, 1240px);
  }

  .hero-copy,
  .hero-visual,
  .panel,
  .product-card,
  .testimonial,
  .account-card,
  .auth-card,
  .cart-card,
  .checkout-card,
  .summary-card,
  .detail-card,
  .empty-card {
    border-radius: 24px;
  }

  .benefits-grid,
  .product-grid,
  .testimonial-grid,
  .gallery-grid,
  .account-grid,
  .detail-copy-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 54px;
  }

  .section-title,
  .detail-title,
  .auth-title {
    font-size: 40px;
  }

  .cart-item-main {
    grid-template-columns: 1fr;
  }
}
