: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;
  --z-modal: 80;
}

* {
  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;
}

body.modal-open {
  overflow: 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,
.quick-view-buy svg,
.view-cue 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;
  width: 100%;
  aspect-ratio: 3 / 2;
  padding: 0;
  border: 0;
  background: #f7f8f6;
  color: inherit;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
}

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

.product-view-trigger:hover img,
.product-view-trigger:focus-visible img {
  transform: scale(1.04);
}

.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);
}

.view-cue {
  position: absolute;
  right: 10px;
  bottom: 10px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: var(--radius-control);
  background: rgba(23, 26, 23, 0.82);
  color: var(--surface);
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(23, 26, 23, 0.16);
}

.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);
}

.quick-view[hidden] {
  display: none !important;
}

.quick-view {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 28px);
}

.quick-view-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 26, 23, 0.58);
  backdrop-filter: blur(10px);
}

.quick-view-dialog {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  max-height: min(92dvh, 820px);
  overflow: auto;
  border: 1px solid rgba(223, 230, 223, 0.94);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #f7faf5 100%);
  box-shadow: 0 26px 70px rgba(23, 26, 23, 0.24);
}

.quick-view-close {
  position: sticky;
  top: 14px;
  left: calc(100% - 62px);
  z-index: 2;
  margin: 14px 14px -58px auto;
}

.quick-view-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 24px;
  padding: 22px;
}

.quick-view-gallery,
.quick-view-info {
  display: grid;
  align-content: start;
  gap: 14px;
}

.quick-view-image {
  --angle-scale: 1;
  --angle-rotate: 0deg;
  --angle-x: 0%;
  --angle-y: 0%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-warm);
  overflow: hidden;
}

.quick-view-image[data-angle="side"] {
  --angle-scale: 1.1;
  --angle-rotate: -2deg;
  --angle-x: 2%;
}

.quick-view-image[data-angle="texture"] {
  --angle-scale: 1.46;
  --angle-y: 2%;
}

.quick-view-image[data-angle="pattern"] {
  --angle-scale: 1.28;
  --angle-x: -4%;
  --angle-y: -2%;
}

.quick-view-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(var(--angle-x), var(--angle-y)) scale(var(--angle-scale)) rotate(var(--angle-rotate));
  transition: transform 240ms ease;
}

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

.angle-button {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--surface);
  color: var(--muted);
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

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

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

.angle-helper,
.quick-view-info p,
.quick-view-note span {
  color: var(--muted);
}

.angle-helper {
  min-height: 48px;
  padding: 12px 14px;
  border-radius: var(--radius-card);
  background: var(--surface-soft);
}

.quick-view-badge {
  width: fit-content;
  padding: 7px 11px;
  border-radius: var(--radius-control);
  background: var(--rose-soft);
  color: #51242a;
  font-size: 0.8rem;
  font-weight: 800;
}

.quick-view-title-row {
  display: grid;
  gap: 10px;
}

.quick-view-title-row h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.quick-view-title-row strong {
  font-family: "Rubik", "Nunito Sans", Arial, sans-serif;
  font-size: 1.25rem;
}

.quick-view-swatches .swatch {
  width: 28px;
  height: 28px;
}

.quick-view-note {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid #d8e2d7;
  border-radius: var(--radius-card);
  background: rgba(240, 244, 239, 0.88);
}

.quick-view-add {
  margin-top: 2px;
}

.quick-view-buy {
  width: 100%;
}

@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;
  }

  .quick-view-layout {
    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;
  }

  .quick-view {
    align-items: end;
    padding: 0;
  }

  .quick-view-dialog {
    width: 100%;
    max-height: 94dvh;
    border-radius: 18px 18px 0 0;
  }

  .quick-view-layout {
    padding: 16px;
  }

  .quick-view-close {
    top: 10px;
    left: calc(100% - 58px);
    margin: 10px 10px -54px auto;
  }
}

@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;
  }

  .view-cue {
    min-height: 34px;
    padding: 7px 10px;
  }

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

  .quick-view-image {
    aspect-ratio: 1 / 0.82;
  }
}

/* Fashion storefront refresh inspired by premium streetwear ecommerce layouts. */
.promo-strip {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 5vw, 72px);
  padding: 8px 16px;
  background: #111111;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header {
  min-height: 74px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #101010;
  box-shadow: none;
}

.main-nav {
  gap: clamp(10px, 2.5vw, 34px);
}

.main-nav a {
  color: #151515;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0;
}

.main-nav a:hover {
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 8px;
}

.hero {
  min-height: calc(100dvh - 112px);
  align-items: end;
  padding: clamp(42px, 6vw, 88px);
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.5) 100%),
    url("assets/real/hero-white.webp");
  background-position: center;
  color: #ffffff;
  border-bottom: 0;
}

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

.hero .eyebrow,
.hero-copy,
.hero-points dd {
  color: rgba(255, 255, 255, 0.82);
}

.hero h1 {
  max-width: 760px;
  color: #ffffff;
  font-size: clamp(3.1rem, 8vw, 7.6rem);
  text-transform: uppercase;
}

.hero-actions .primary-link {
  background: #ffffff;
  color: #111111;
  border-color: #ffffff;
  box-shadow: none;
}

.hero-actions .secondary-link {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.78);
}

.hero-points div {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(0, 0, 0, 0.22);
  color: #ffffff;
  box-shadow: none;
}

.intro-strip {
  margin: 0;
  padding: 18px clamp(16px, 4vw, 56px);
  border-bottom: 1px solid #111111;
  background: #ffffff;
}

.intro-strip div {
  min-height: 72px;
  border-color: #111111;
  border-radius: 0;
  box-shadow: none;
}

.collection-section,
.products-section,
.quality-section,
.editorial-section {
  padding-top: clamp(58px, 7vw, 96px);
}

.section-heading h2,
.editorial-section h2,
.quality-copy h2 {
  text-transform: uppercase;
}

.eyebrow {
  color: #111111;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-tools {
  border-color: #111111;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

.filter-button,
.secondary-link,
.sort-field select,
.search-field input,
.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  border-color: #111111;
  border-radius: 0;
}

.filter-button.active,
.primary-link,
.add-button {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
  box-shadow: none;
}

.product-grid {
  gap: 1px;
  border: 1px solid #111111;
  background: #111111;
}

.product-card {
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

.product-card:hover {
  transform: none;
  box-shadow: none;
}

.product-media {
  aspect-ratio: 4 / 5;
  background: #f3f3ef;
}

.badge,
.view-cue {
  border-radius: 0;
  box-shadow: none;
  text-transform: uppercase;
}

.badge {
  background: #111111;
  color: #ffffff;
}

.view-cue {
  background: #ffffff;
  color: #111111;
  border: 1px solid #111111;
}

.product-body {
  gap: 14px;
  min-height: 282px;
  padding: 18px;
}

.product-title-row h3,
.price {
  text-transform: uppercase;
}

.product-note {
  border: 1px solid #d9d9d1;
  border-radius: 0;
  background: #f7f7f2;
}

.collection-copy,
.editorial-section div,
.feature-list article,
.checkout-section,
.checkout-order-panel,
.checkout-hero,
.cart-item,
.history-card,
.bank-panel,
.cart-total {
  border-color: #111111;
  border-radius: 0;
  box-shadow: none;
}

.photo-frame,
.quality-media,
.editorial-section img {
  border-color: #111111;
  border-radius: 0;
  box-shadow: none;
}

.checkout-hero {
  background: #111111;
  color: #ffffff;
}

.checkout-hero .eyebrow,
.checkout-hero .hero-copy {
  color: rgba(255, 255, 255, 0.78);
}

.checkout-product-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 24px;
  margin-top: 24px;
  padding: 22px;
  border: 1px solid #111111;
  background: #ffffff;
}

.checkout-product-preview[hidden] {
  display: none !important;
}

.checkout-product-gallery,
.checkout-product-info {
  display: grid;
  align-content: start;
  gap: 14px;
}

.checkout-product-image {
  --angle-scale: 1;
  --angle-rotate: 0deg;
  --angle-x: 0%;
  --angle-y: 0%;
  aspect-ratio: 4 / 5;
  border: 1px solid #111111;
  background: #f3f3ef;
  overflow: hidden;
}

.checkout-product-image[data-angle="side"] {
  --angle-scale: 1.1;
  --angle-rotate: -2deg;
  --angle-x: 2%;
}

.checkout-product-image[data-angle="texture"] {
  --angle-scale: 1.46;
  --angle-y: 2%;
}

.checkout-product-image[data-angle="pattern"] {
  --angle-scale: 1.28;
  --angle-x: -4%;
  --angle-y: -2%;
}

.checkout-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(var(--angle-x), var(--angle-y)) scale(var(--angle-scale)) rotate(var(--angle-rotate));
  transition: transform 240ms ease;
}

.angle-button,
.angle-helper,
.quick-view-note,
.quick-view-badge {
  border-radius: 0;
}

.angle-button {
  border-color: #111111;
}

.angle-button.active {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

.quick-view-badge {
  background: #111111;
  color: #ffffff;
  text-transform: uppercase;
}

.quick-view-title-row h2 {
  text-transform: uppercase;
}

.quick-view-note {
  border-color: #111111;
  background: #f7f7f2;
}

@media (max-width: 820px) {
  .promo-strip {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
  }

  .checkout-product-preview {
    grid-template-columns: 1fr;
    padding: 16px;
  }
}

/* Softer SOVA pass: keep the fashion-shop structure, soften the mood. */
:root {
  --bg: #f7f3ee;
  --surface: #fffdf9;
  --surface-soft: #f2ebe3;
  --surface-warm: #fbf6ef;
  --ink: #24201d;
  --muted: #746b63;
  --line: #e2d8cd;
  --accent: #8aa68f;
  --accent-strong: #58745f;
  --rose: #ddb8b7;
  --rose-soft: #f7e9e6;
  --shadow-soft: 0 20px 54px rgba(91, 76, 60, 0.12);
  --shadow-subtle: 0 10px 26px rgba(91, 76, 60, 0.08);
}

body {
  background:
    linear-gradient(180deg, #fffaf4 0%, #f7f3ee 48%, #fbf4f1 100%);
}

.promo-strip {
  background: #5d7464;
  color: #fffaf4;
}

.site-header {
  background: rgba(255, 253, 249, 0.94);
  border-bottom-color: rgba(226, 216, 205, 0.92);
  box-shadow: 0 8px 28px rgba(91, 76, 60, 0.06);
}

.main-nav a {
  color: #3b342f;
}

.hero {
  background-image:
    linear-gradient(90deg, rgba(255, 250, 244, 0.96) 0%, rgba(255, 250, 244, 0.84) 42%, rgba(255, 250, 244, 0.14) 100%),
    url("assets/real/hero-white.webp");
  color: var(--ink);
}

.hero h1 {
  color: var(--ink);
}

.hero .eyebrow {
  color: var(--accent-strong);
}

.hero-copy,
.hero-points dd {
  color: #5f5750;
}

.hero-actions .primary-link,
.filter-button.active,
.primary-link,
.add-button,
.angle-button.active {
  background: var(--accent-strong);
  color: #ffffff;
  border-color: var(--accent-strong);
}

.hero-actions .secondary-link {
  background: rgba(255, 253, 249, 0.7);
  color: var(--ink);
  border-color: var(--line);
}

.hero-points div,
.intro-strip div,
.shop-tools,
.collection-copy,
.editorial-section div,
.feature-list article,
.checkout-section,
.checkout-order-panel,
.checkout-hero,
.checkout-product-preview,
.cart-item,
.history-card,
.bank-panel,
.cart-total,
.photo-frame,
.quality-media,
.editorial-section img {
  border-color: var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-subtle);
}

.hero-points div {
  background: rgba(255, 253, 249, 0.72);
  color: var(--ink);
}

.intro-strip {
  border-bottom-color: var(--line);
  background: #fffaf4;
}

.product-grid {
  gap: 18px;
  border: 0;
  background: transparent;
}

.product-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 253, 249, 0.94);
  box-shadow: 0 14px 34px rgba(91, 76, 60, 0.08);
}

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

.product-media,
.checkout-product-image {
  background: #f3eee7;
}

.badge,
.view-cue,
.quick-view-badge {
  border-radius: 999px;
}

.badge {
  background: rgba(255, 253, 249, 0.92);
  color: var(--ink);
}

.view-cue {
  background: rgba(36, 32, 29, 0.82);
  color: #fffaf4;
  border-color: rgba(36, 32, 29, 0.18);
}

.product-note,
.quick-view-note,
.angle-helper {
  border-color: var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.filter-button,
.secondary-link,
.sort-field select,
.search-field input,
.checkout-form input,
.checkout-form select,
.checkout-form textarea,
.angle-button {
  border-color: var(--line);
  border-radius: 999px;
}

.checkout-form textarea {
  border-radius: 8px;
}

.checkout-hero {
  background:
    linear-gradient(135deg, #fffdf9 0%, #efe6dc 100%);
  color: var(--ink);
}

.checkout-hero .eyebrow {
  color: var(--accent-strong);
}

.checkout-hero .hero-copy,
.checkout-product-info p {
  color: var(--muted);
}

.checkout-product-preview {
  background: rgba(255, 253, 249, 0.94);
}

.checkout-product-image {
  border-color: var(--line);
  border-radius: 8px;
}

.quick-view-badge {
  background: var(--rose-soft);
  color: #6f3f42;
}

/* Extra soft pass after feedback: lighter, calmer, less blocky. */
:root {
  --bg: #fbf7f1;
  --surface: #fffefa;
  --surface-soft: #f7efe7;
  --surface-warm: #fff8ef;
  --ink: #2b2521;
  --muted: #7d7168;
  --line: #eadfd3;
  --accent: #9caf98;
  --accent-strong: #6f876f;
  --rose: #e6c5c1;
  --rose-soft: #faece8;
  --shadow-soft: 0 18px 42px rgba(112, 92, 72, 0.1);
  --shadow-subtle: 0 8px 22px rgba(112, 92, 72, 0.07);
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(250, 236, 232, 0.76) 0, transparent 28%),
    radial-gradient(circle at 84% 12%, rgba(226, 237, 222, 0.72) 0, transparent 30%),
    linear-gradient(180deg, #fffefa 0%, #fbf7f1 54%, #fff7f3 100%);
}

.promo-strip {
  background: #8da38c;
  color: #fffefa;
}

.site-header {
  border-bottom-color: rgba(234, 223, 211, 0.78);
}

.main-nav a {
  letter-spacing: 0.04em;
  text-transform: none;
}

.hero {
  min-height: calc(82dvh - 112px);
  background-image:
    linear-gradient(90deg, rgba(255, 254, 250, 0.98) 0%, rgba(255, 254, 250, 0.84) 46%, rgba(255, 254, 250, 0.18) 100%),
    url("assets/real/hero-white.webp");
}

.hero h1,
.section-heading h2,
.editorial-section h2,
.quality-copy h2,
.quick-view-title-row h2,
.product-title-row h3 {
  text-transform: none;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 6.4rem);
}

.hero-copy {
  color: #695f57;
}

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

.primary-link,
.secondary-link,
.add-button,
.filter-button,
.angle-button,
.search-field input,
.sort-field select,
.checkout-form input,
.checkout-form select,
.checkout-form textarea,
.checkout-hero,
.checkout-product-preview,
.checkout-section,
.checkout-order-panel,
.collection-copy,
.editorial-section div,
.feature-list article,
.product-card,
.photo-frame,
.quality-media,
.editorial-section img,
.bank-panel,
.cart-item,
.history-card {
  border-radius: 16px;
}

.primary-link,
.add-button,
.filter-button.active,
.angle-button.active {
  background: #6f876f;
  border-color: #6f876f;
}

.secondary-link,
.filter-button,
.angle-button {
  background: rgba(255, 254, 250, 0.78);
}

.intro-strip {
  display: none;
}

.shop-tools,
.product-card,
.checkout-product-preview,
.checkout-order-panel,
.checkout-section,
.checkout-hero {
  border-color: rgba(234, 223, 211, 0.9);
  box-shadow: 0 12px 28px rgba(112, 92, 72, 0.07);
}

.product-grid {
  gap: 22px;
}

.product-card {
  background: rgba(255, 254, 250, 0.88);
}

.product-body {
  min-height: 258px;
}

.product-media,
.checkout-product-image {
  background: #f6efe7;
}

.badge {
  background: rgba(255, 254, 250, 0.9);
  color: #55483f;
}

.view-cue {
  background: rgba(111, 135, 111, 0.88);
  color: #fffefa;
  border: 0;
}

.product-note,
.quick-view-note,
.angle-helper {
  background: rgba(247, 239, 231, 0.76);
  border-color: rgba(234, 223, 211, 0.9);
}

.eyebrow {
  color: #6f876f;
  letter-spacing: 0.05em;
}

.checkout-hero {
  background:
    linear-gradient(135deg, rgba(255, 254, 250, 0.94) 0%, rgba(247, 239, 231, 0.95) 100%);
}

.checkout-product-image {
  border-radius: 18px;
  border-color: rgba(234, 223, 211, 0.9);
}

/* Clean checkout preview and logo treatment. */
.brand {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.brand img,
.site-footer img {
  background: transparent !important;
  box-shadow: none !important;
  mix-blend-mode: multiply;
}

.angle-tabs,
.angle-helper {
  display: none !important;
}

.checkout-product-gallery {
  gap: 0;
}

.checkout-product-image {
  border: 0;
  background: linear-gradient(180deg, #fbf4ec 0%, #fffefa 100%);
  box-shadow: inset 0 0 0 1px rgba(234, 223, 211, 0.7);
}

.checkout-product-image img {
  transform: none !important;
}

@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;
  }
}
