:root {
  --bg: #f5f7f4;
  --surface: #ffffff;
  --surface-soft: #f0f4ef;
  --surface-warm: #faf8f3;
  --ink: #171a17;
  --muted: #626b64;
  --line: #dfe6df;
  --accent: #6f9a80;
  --accent-strong: #3f6850;
  --rose: #d8a4ab;
  --rose-soft: #f5e8ea;
  --danger: #b42318;
  --shadow-soft: 0 18px 54px rgba(37, 50, 42, 0.1);
  --shadow-subtle: 0 10px 28px rgba(37, 50, 42, 0.07);
  --radius-card: 8px;
  --radius-control: 999px;
  --z-header: 20;
  --z-backdrop: 40;
  --z-drawer: 50;
  --z-toast: 60;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito Sans", Arial, sans-serif;
  letter-spacing: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fbfcfa 0%, var(--bg) 34%, #f8f6f8 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

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

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(63, 104, 80, 0.28);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: var(--z-toast);
  transform: translateY(-140%);
  padding: 12px 16px;
  background: var(--ink);
  color: var(--surface);
  text-decoration: none;
  border-radius: var(--radius-card);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 80px;
  padding: 12px clamp(16px, 4vw, 56px);
  background: rgba(251, 252, 250, 0.9);
  border-bottom: 1px solid rgba(223, 230, 223, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  width: 128px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 128px;
  height: 64px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.main-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  color: var(--muted);
  text-decoration: none;
  border-radius: var(--radius-control);
  transition: color 180ms ease, background 180ms ease;
}

.main-nav a:hover {
  color: var(--ink);
  background: rgba(240, 244, 239, 0.82);
}

.icon-button {
  min-width: 44px;
  min-height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(37, 50, 42, 0.05);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.icon-button:hover {
  transform: translateY(-1px);
  border-color: #c9d6cb;
}

.icon-button svg,
.search-field svg,
.quantity-button svg,
.add-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-button {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--rose);
  color: #281316;
  font-size: 0.75rem;
  font-weight: 800;
}

.cart-count[hidden] {
  display: none;
}

.hero {
  min-height: 76dvh;
  display: grid;
  align-items: center;
  padding: 76px clamp(18px, 6vw, 84px);
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(251, 252, 250, 0.98) 0%, rgba(251, 252, 250, 0.94) 38%, rgba(251, 252, 250, 0.2) 100%),
    url("assets/real/hero-white.webp");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
}

.hero-content {
  width: min(650px, 100%);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: 0.88rem;
  font-weight: 800;
}

h1,
h2,
h3,
p,
dl,
dd,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Rubik", "Nunito Sans", Arial, sans-serif;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 620px;
  font-size: 4.35rem;
  font-weight: 700;
}

h2 {
  font-size: 2.45rem;
  font-weight: 700;
}

h3 {
  font-size: 1.08rem;
  font-weight: 700;
}

.hero-copy {
  max-width: 560px;
  margin-top: 20px;
  color: #414942;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-link,
.secondary-link,
.add-button,
.filter-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius-control);
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.primary-link,
.add-button {
  background: var(--accent-strong);
  color: var(--surface);
  box-shadow: 0 10px 24px rgba(63, 104, 80, 0.18);
}

.primary-link:hover,
.add-button:hover {
  transform: translateY(-1px);
  background: #315b43;
}

.secondary-link,
.filter-button {
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  border-color: var(--line);
}

.secondary-link:hover,
.filter-button:hover {
  transform: translateY(-1px);
  background: var(--surface);
  box-shadow: 0 8px 18px rgba(37, 50, 42, 0.06);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.hero-points div {
  padding: 16px;
  border: 1px solid rgba(223, 230, 223, 0.95);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 26px rgba(37, 50, 42, 0.05);
}

.hero-points dt {
  font-family: "Rubik", "Nunito Sans", Arial, sans-serif;
  font-size: 1.32rem;
  font-weight: 800;
}

.hero-points dd {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.94rem;
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: clamp(18px, 4vw, 40px) clamp(16px, 4vw, 56px) 0;
}

.intro-strip div {
  min-height: 94px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-subtle);
}

.intro-strip strong {
  font-size: 1rem;
}

.intro-strip span,
.section-heading p,
.collection-copy p,
.editorial-section p,
.feature-list p,
.product-description,
.product-note,
.form-note,
.footer-links a,
.empty-state {
  color: var(--muted);
}

.collection-section,
.products-section,
.quality-section,
.editorial-section,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.collection-section,
.products-section,
.quality-section,
.editorial-section {
  padding: 80px 0 0;
  scroll-margin-top: 110px;
}

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin-bottom: 26px;
}

.products-heading {
  max-width: none;
  grid-template-columns: 1fr auto;
  align-items: end;
}

#productSummary {
  color: var(--muted);
  font-weight: 800;
}

.collection-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: stretch;
}

.photo-frame,
.quality-media {
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.photo-frame img,
.quality-media img,
.editorial-section img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.collection-copy {
  display: grid;
  align-content: end;
  gap: 14px;
  padding: 24px;
  border: 1px solid #d8e2d7;
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, #ffffff 0%, var(--surface-soft) 100%);
  box-shadow: var(--shadow-subtle);
}

.text-link {
  color: var(--accent-strong);
  font-weight: 800;
  text-underline-offset: 4px;
}

.editorial-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 24px;
  align-items: center;
}

.editorial-section img {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.editorial-section div {
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, var(--surface) 0%, var(--rose-soft) 100%);
}

.shop-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 1.45fr minmax(180px, 220px);
  gap: 14px;
  align-items: end;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-subtle);
}

.search-field,
.sort-field,
.checkout-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.search-field {
  position: relative;
}

.search-field svg {
  position: absolute;
  left: 14px;
  bottom: 13px;
  color: var(--muted);
}

.search-field input,
.sort-field select,
.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  min-height: 48px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #ffffff;
  color: var(--ink);
}

.search-field input {
  padding-left: 44px;
}

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

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

.filter-button {
  background: #ffffff;
  color: var(--muted);
}

.filter-button.active {
  background: var(--accent-strong);
  color: var(--surface);
  border-color: var(--accent-strong);
}

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

.product-card {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.9);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  transform: translateY(-2px);
  border-color: #cddbcf;
  box-shadow: var(--shadow-soft);
}

.product-media {
  position: relative;
  aspect-ratio: 3 / 2;
  background: #f7f8f6;
  overflow: hidden;
}

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

.badge {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 6px 10px;
  border-radius: var(--radius-control);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(37, 50, 42, 0.08);
}

.product-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.product-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.product-title-row h3 {
  line-height: 1.25;
}

.price {
  white-space: nowrap;
  font-family: "Rubik", "Nunito Sans", Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
}

.product-description,
.product-note {
  font-size: 0.92rem;
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.swatch {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(37, 50, 42, 0.16);
  border-radius: 50%;
}

.product-note {
  padding: 8px 10px;
  border-radius: var(--radius-card);
  background: var(--surface-soft);
}

.add-button {
  width: 100%;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  text-align: center;
}

.quality-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  align-items: center;
  padding-bottom: 76px;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.feature-list article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 22px rgba(37, 50, 42, 0.05);
}

.feature-list h3 {
  margin-bottom: 6px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 46px;
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 128px;
  height: 64px;
  object-fit: contain;
}

.site-footer p {
  color: var(--muted);
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  text-decoration: none;
  border-radius: var(--radius-control);
}

.footer-links a:hover {
  background: var(--surface-soft);
  color: var(--ink);
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 14px;
  overflow-y: auto;
  padding-right: 4px;
}

.cart-item {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-warm);
}

.cart-item img {
  width: 86px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius-card);
  background: var(--surface);
}

.cart-item-info {
  display: grid;
  gap: 8px;
}

.cart-item-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

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

.quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.quantity-button {
  min-width: 34px;
  min-height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--surface);
  color: var(--ink);
}

.remove-button {
  border: 0;
  background: transparent;
  color: var(--danger);
  font-weight: 800;
}

.checkout-form {
  display: grid;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.checkout-section {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-card) + 4px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 22px rgba(37, 50, 42, 0.04);
}

.section-title {
  display: grid;
  gap: 6px;
}

.section-title h3 {
  margin: 0;
}

.section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.checkout-form h3 {
  font-size: 1.12rem;
}

.payment-section {
  background:
    linear-gradient(180deg, rgba(243, 248, 243, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.payment-methods {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.payment-methods legend {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.payment-option {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.9);
}

.payment-option input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.payment-option strong,
.payment-option small {
  display: block;
}

.payment-option small {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 600;
}

.bank-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid #d8e2d7;
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, #ffffff 0%, #f3f8f3 100%);
}

.bank-panel[hidden] {
  display: none !important;
}

.bank-panel-head,
.bank-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bank-panel-head h4 {
  margin: 0;
  font-size: 1rem;
}

.bank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: var(--radius-control);
  background: var(--accent-strong);
  color: var(--surface);
  font-weight: 800;
}

.bank-panel-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  align-items: center;
}

.bank-panel-body img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.bank-details {
  display: grid;
  gap: 10px;
}

.bank-detail-row span,
.bank-note {
  color: var(--muted);
}

.bank-detail-row strong {
  text-align: right;
}

.bank-note {
  margin: 0;
  font-size: 0.9rem;
}

.cart-total {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius-card);
  background: var(--surface-soft);
}

.total-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.total-row strong {
  font-size: 1.08rem;
}

.checkout-button {
  width: 100%;
  border: 0;
}

.checkout-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.form-note {
  font-size: 0.84rem;
}

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

.checkout-main {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 80px;
}

.checkout-header {
  position: sticky;
}

.checkout-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 244, 239, 0.98) 100%);
  box-shadow: var(--shadow-soft);
}

.checkout-hero-copy {
  display: grid;
  gap: 6px;
}

.checkout-hero h1 {
  max-width: none;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.checkout-hero .hero-copy {
  max-width: 760px;
  margin-top: 0;
  font-size: 1rem;
}

.checkout-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.92fr) minmax(0, 1.08fr);
  gap: 22px;
  margin-top: 24px;
  align-items: start;
}

.checkout-order-panel {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.checkout-items {
  max-height: 54dvh;
}

.checkout-page-form {
  gap: 18px;
}

.checkout-content-stack {
  display: grid;
  gap: 18px;
}

.checkout-total {
  background: linear-gradient(180deg, var(--surface-soft) 0%, #ffffff 100%);
}

.checkout-empty {
  gap: 14px;
}

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

.history-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.92);
}

.history-top,
.history-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.history-meta,
.history-card p,
.order-history-empty {
  color: var(--muted);
  font-size: 0.92rem;
}

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

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: var(--z-toast);
  min-width: min(360px, calc(100% - 32px));
  padding: 14px 18px;
  border-radius: var(--radius-card);
  background: var(--ink);
  color: var(--surface);
  text-align: center;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

@media (max-width: 1100px) {
  .shop-tools,
  .quality-section,
  .collection-layout,
  .editorial-section,
  .checkout-layout,
  .checkout-grid,
  .payment-methods-inline,
  .bank-panel-body {
    grid-template-columns: 1fr;
  }

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

  .collection-copy {
    min-height: 210px;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) 48px;
    overflow: hidden;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .cart-button {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    width: 44px;
    height: 44px;
  }

  .hero {
    min-height: 72dvh;
    padding: 56px 18px;
    background-image:
      linear-gradient(180deg, rgba(251, 252, 250, 0.99) 0%, rgba(251, 252, 250, 0.93) 48%, rgba(251, 252, 250, 0.22) 100%),
      url("assets/real/hero-white.webp");
    background-position: center bottom;
  }

  h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-points,
  .intro-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .products-heading {
    grid-template-columns: 1fr;
  }

  .checkout-hero {
    align-items: start;
    flex-direction: column;
  }

  .checkout-order-panel {
    position: static;
  }
}

@media (max-width: 560px) {
  .site-header {
    grid-template-columns: 108px 44px;
    justify-content: space-between;
    max-width: 100vw;
    gap: 10px;
    padding: 10px 14px;
  }

  .brand,
  .brand img {
    width: 108px;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    overflow: visible;
  }

  .main-nav a {
    min-width: 0;
    justify-content: center;
    padding: 8px 4px;
    font-size: 0.86rem;
    white-space: nowrap;
  }

  .hero-actions,
  .filter-row,
  .site-footer,
  .footer-links {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-link,
  .secondary-link,
  .filter-button {
    width: 100%;
  }

  .hero-points,
  .intro-strip,
  .product-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.58rem;
  }

  .collection-section,
  .products-section,
  .quality-section,
  .editorial-section,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .collection-section,
  .products-section,
  .quality-section,
  .editorial-section {
    padding-top: 58px;
  }

  .photo-frame,
  .quality-media,
  .photo-frame img,
  .quality-media img,
  .editorial-section img {
    min-height: 260px;
  }

  .payment-option,
  .bank-panel-head,
  .bank-detail-row {
    align-items: start;
  }

  .checkout-main {
    width: min(100% - 24px, 1240px);
    padding-top: 24px;
  }

  .checkout-hero,
  .checkout-order-panel,
  .checkout-section {
    padding: 16px;
  }
}

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