﻿:root {
  --ink: #002752;
  --muted: #5f6874;
  --line: rgba(18, 19, 23, 0.1);
  --paper: #F9F6F1;
  --soft: #efe7dc;
  --white: #ffffff;
  --gold: #A47C3D;
  --teal: #002752;
  --rose: #F50400;
  --shadow: 0 20px 54px rgba(0, 39, 82, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(rgba(0, 39, 82, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 39, 82, 0.018) 1px, transparent 1px),
    linear-gradient(135deg, #F9F6F1 0%, #f2eadf 44%, #F9F6F1 100%);
  background-size: 100% 100%, 34px 34px, 100% 100%;
}

body.cart-open,
body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 246, 241, 0.86);
  border-bottom: 1px solid rgba(0, 39, 82, 0.08);
  backdrop-filter: blur(22px);
}

.nav-shell {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-logo {
  flex: 0 0 auto;
  width: min(196px, 42vw);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand-logo img {
  width: 100%;
  height: 46px;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px 14px 14px 4px;
  color: var(--white);
  background: linear-gradient(135deg, var(--ink), #063b76);
  box-shadow: 0 14px 28px rgba(0, 39, 82, 0.18);
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

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

.main-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: #183a61;
  font-weight: 700;
  font-size: 0.94rem;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.main-nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  transform: translateY(-1px);
}

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

.icon-btn,
.menu-toggle,
.cart-trigger {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.icon-btn:hover,
.menu-toggle:hover,
.cart-trigger:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 19, 23, 0.18);
  box-shadow: 0 12px 28px rgba(0, 39, 82, 0.1);
}

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

.pulse {
  animation: pulse 520ms ease;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.12);
  }
}

.menu-toggle {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn-dark {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 18px 40px rgba(0, 39, 82, 0.22);
}

.btn-dark:hover {
  background: #063b76;
}

.btn-light {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.74);
}

.btn-small {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.88rem;
}

.hero {
  padding: 64px 0 46px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 42px;
  align-items: center;
}

.hero-copy {
  position: relative;
}

.hero-copy::after {
  content: "";
  display: block;
  width: 124px;
  height: 4px;
  margin-top: 32px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--rose));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 760px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.4rem, 4.5vw, 4.06rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.85rem, 3.4vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.22;
}

.lead {
  max-width: 650px;
  color: #536272;
  font-size: clamp(1.03rem, 2vw, 1.22rem);
  line-height: 1.75;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.stat {
  padding: 4px 0 0 18px;
  border: 0;
  border-left: 1px solid rgba(18, 19, 23, 0.16);
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.stat strong {
  display: block;
  font-size: 1.32rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.hero-visual {
  position: relative;
  min-height: 585px;
}

.hero-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px 28px 28px 6px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card.primary {
  inset: 0 10% 7% 0;
  display: grid;
  place-items: center;
  padding: 44px;
}

.hero-card.secondary {
  right: 0;
  bottom: 0;
  width: 45%;
  padding: 22px;
  border-radius: 22px 22px 6px 22px;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.02) contrast(1.02);
}

.hero-card.secondary img {
  object-position: center 20%;
}

.floating-note {
  position: absolute;
  left: 4%;
  bottom: 17%;
  width: min(250px, 58%);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px 20px 20px 6px;
  background: rgba(18, 19, 23, 0.78);
  color: var(--white);
  box-shadow: 0 20px 60px rgba(18, 19, 23, 0.18);
  backdrop-filter: blur(18px);
}

.floating-note strong {
  display: block;
  margin-bottom: 6px;
}

.floating-note span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.5;
}

.section {
  padding: 76px 0;
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.18)),
    rgba(255, 255, 255, 0.2);
  border-top: 1px solid rgba(18, 19, 23, 0.06);
  border-bottom: 1px solid rgba(18, 19, 23, 0.06);
}

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

.section-head p {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.7;
}

.product-grid,
.category-grid,
.benefit-grid,
.testimonial-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

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

.category-grid,
.benefit-grid {
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
}

.testimonial-grid,
.faq-grid {
  grid-template-columns: repeat(3, 1fr);
}

.testimonial-section {
  overflow: hidden;
}

.testimonial-showcase {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 54px;
  align-items: center;
}

.testimonial-copy {
  position: sticky;
  top: 96px;
}

.testimonial-copy p {
  color: var(--muted);
  line-height: 1.75;
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.mini-metrics span {
  padding-top: 14px;
  border-top: 1px solid rgba(18, 19, 23, 0.14);
  color: var(--muted);
  line-height: 1.45;
}

.mini-metrics strong {
  display: block;
  color: var(--ink);
  font-size: 1.2rem;
}

.testimonial-stack {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 18px;
  align-items: stretch;
}

.quote-card {
  position: relative;
  min-height: 205px;
  padding: 28px;
  border: 1px solid rgba(18, 19, 23, 0.08);
  border-radius: 24px 24px 24px 6px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 18px 50px rgba(18, 19, 23, 0.07);
}

.quote-card::before {
  content: "“";
  position: absolute;
  top: -22px;
  right: 24px;
  color: rgba(196, 154, 74, 0.42);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 5.4rem;
  line-height: 1;
}

.quote-card p {
  color: #555860;
  line-height: 1.7;
}

.quote-card strong {
  display: block;
  margin-top: 18px;
}

.quote-card-feature {
  grid-row: span 2;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(18, 19, 23, 0.94), rgba(46, 44, 39, 0.92)),
    var(--ink);
}

.quote-card-feature p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.quote-card-feature::before {
  color: rgba(255, 255, 255, 0.2);
}

.quote-card-accent {
  margin-left: 34px;
  border-left: 4px solid rgba(15, 118, 110, 0.35);
}

.product-card,
.contact-panel,
.checkout-panel,
.summary-panel {
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 24px 24px 24px 6px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 16px 42px rgba(18, 19, 23, 0.07);
  backdrop-filter: blur(18px);
}

.product-card {
  overflow: hidden;
  border-color: rgba(18, 19, 23, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 70px rgba(18, 19, 23, 0.13);
}

.product-media {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 292px;
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(196, 154, 74, 0.12), rgba(15, 118, 110, 0.08)),
    rgba(255, 255, 255, 0.52);
}

.product-card:nth-child(even) {
  border-radius: 24px 24px 6px 24px;
}

.product-card:nth-child(even) .product-media {
  background:
    linear-gradient(145deg, rgba(15, 118, 110, 0.11), rgba(184, 93, 87, 0.08)),
    rgba(255, 255, 255, 0.54);
}

.product-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 248px;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px 18px 18px 5px;
  transition: transform 250ms ease;
}

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

.product-badge {
  position: absolute;
  z-index: 3;
  top: 16px;
  left: 16px;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--white);
  background: var(--teal);
  font-size: 0.72rem;
  font-weight: 900;
}

.product-info {
  padding: 24px;
}

.product-meta {
  margin-bottom: 9px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-info p {
  min-height: 78px;
  color: var(--muted);
  line-height: 1.6;
}

.product-info h3 {
  overflow-wrap: anywhere;
  hyphens: auto;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.product-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(196, 154, 74, 0.14);
  border: 1px solid rgba(196, 154, 74, 0.2);
  font-size: 0.72rem;
  font-weight: 900;
}

.product-size-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 12px;
  color: var(--rose);
  font-weight: 900;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.product-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(18, 19, 23, 0.08);
}

.detail-note {
  margin: 22px 0 4px;
  padding: 18px;
  border-radius: 18px 18px 18px 6px;
  color: var(--muted);
  background: rgba(196, 154, 74, 0.12);
  border: 1px solid rgba(196, 154, 74, 0.2);
}

.detail-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
}

.detail-note p {
  margin: 0;
}

.size-callout {
  margin: 22px 0;
  padding: 18px;
  border: 1px solid rgba(245, 4, 0, 0.14);
  border-radius: 20px 20px 20px 6px;
  background: rgba(245, 4, 0, 0.055);
}

.size-callout strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.size-callout p {
  margin-bottom: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.size-callout a {
  color: var(--rose);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.category-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 26px;
}

.category-note {
  padding: 22px;
  border: 1px solid rgba(18, 19, 23, 0.07);
  border-radius: 22px 22px 22px 6px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 16px 42px rgba(18, 19, 23, 0.07);
}

.category-note h3 {
  margin-top: 0;
}

.category-note p {
  color: var(--muted);
}

.product-actions strong,
.detail-price {
  font-size: 1.25rem;
}

.category-card {
  position: relative;
  min-height: 332px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 52px rgba(18, 19, 23, 0.07);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), transparent 44%);
}

.category-card > * {
  position: relative;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 64px rgba(18, 19, 23, 0.12);
}

.category-card img {
  width: 118px;
  height: 118px;
  object-fit: contain;
  align-self: flex-start;
  margin-bottom: auto;
  border-radius: 22px 22px 22px 6px;
  background: rgba(242, 239, 232, 0.86);
}

.category-card img[src$=".webp"] {
  object-fit: cover;
  object-position: center top;
}

.category-card:nth-child(2) img,
.category-card:nth-child(4) img {
  border-radius: 22px 22px 6px 22px;
}

.category-card span {
  font-size: 1.1rem;
  font-weight: 900;
}

.category-card p,
.benefit p,
.testimonial p,
.faq-item p {
  color: var(--muted);
  line-height: 1.65;
}

.category-card p {
  min-height: 82px;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
}

.benefit,
.testimonial,
.faq-item {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.benefit {
  position: relative;
  min-height: 250px;
  padding: 26px 24px;
  border-radius: 28px 28px 28px 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.26)),
    rgba(255, 255, 255, 0.28);
}

.benefit::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), rgba(196, 154, 74, 0.75));
}

.benefit:nth-child(2),
.benefit:nth-child(4) {
  margin-top: 28px;
}

.benefit:nth-child(2) .benefit-icon {
  background: var(--teal);
}

.benefit:nth-child(3) .benefit-icon {
  background: var(--gold);
}

.benefit:nth-child(4) .benefit-icon {
  background: var(--rose);
}

.benefit:nth-child(2)::after {
  background: linear-gradient(90deg, var(--gold), var(--teal));
}

.benefit:nth-child(3)::after {
  background: linear-gradient(90deg, var(--rose), var(--gold));
}

.benefit:nth-child(4)::after {
  background: linear-gradient(90deg, var(--ink), var(--rose));
}

.benefit h3,
.testimonial h3,
.faq-item h3 {
  font-size: 1.02rem;
}

.faq-grid {
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0 42px;
}

.faq-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(18, 19, 23, 0.13);
}

.faq-item h3,
.faq-item p {
  grid-column: 2;
}

.faq-item h3 {
  margin-bottom: 0;
}

.faq-item p {
  margin-bottom: 0;
}

.faq-item::before {
  content: "0" counter(faq);
  counter-increment: faq;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
}

.faq-grid {
  counter-reset: faq;
}

.faq-item:first-child {
  grid-row: span 2;
  display: block;
  min-height: 260px;
  padding: 30px;
  border: 0;
  border-radius: 24px 24px 24px 6px;
  color: var(--white);
  background: linear-gradient(135deg, var(--ink), #33312d);
}

.faq-item:first-child::before {
  display: block;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.62);
}

.faq-item:first-child p {
  color: rgba(255, 255, 255, 0.72);
}

.cta-band {
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  border-radius: 30px 30px 30px 6px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(18, 19, 23, 0.95), rgba(38, 39, 44, 0.9)),
    var(--ink);
  box-shadow: var(--shadow);
}

.cta-band p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.photo-story {
  position: relative;
  overflow: hidden;
}

.photo-story-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 42px;
  align-items: center;
}

.about-photo-story .photo-story-grid {
  grid-template-columns: 1.12fr 0.88fr;
}

.photo-story-copy p {
  color: var(--muted);
  line-height: 1.8;
}

.photo-mosaic {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  grid-template-rows: 185px 185px;
  gap: 14px;
}

.photo-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 24px 24px 24px 6px;
  box-shadow: 0 18px 50px rgba(0, 39, 82, 0.12);
}

.photo-mosaic img:first-child {
  grid-row: span 2;
  border-radius: 34px 34px 34px 8px;
}

.photo-mosaic img:nth-child(3) {
  border-radius: 24px 24px 6px 24px;
}

.photo-mosaic img:nth-child(4) {
  grid-column: 2;
}

.photo-mosaic-wide {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 360px;
}

.photo-mosaic-wide img:first-child {
  grid-row: auto;
}

.photo-mosaic-wide img:nth-child(4) {
  grid-column: auto;
}

.assortment-showcase {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.1)),
    rgba(249, 246, 241, 0.6);
}

.assortment-grid {
  display: grid;
  grid-template-columns: 1.12fr repeat(3, 0.72fr);
  gap: 16px;
  align-items: stretch;
}

.assortment-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 28px 28px 28px 8px;
  background: var(--ink);
  box-shadow: 0 22px 64px rgba(0, 39, 82, 0.14);
}

.assortment-card-large {
  min-height: 430px;
}

.assortment-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.9;
  transition: transform 260ms ease, opacity 260ms ease;
}

.assortment-card:hover img {
  transform: scale(1.04);
  opacity: 1;
}

.assortment-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 39, 82, 0.88));
}

.assortment-card div {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
  bottom: 22px;
  color: var(--white);
}

.assortment-card span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.assortment-card strong {
  display: block;
  font-size: 1.1rem;
  line-height: 1.25;
}

.global-contact {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 14%, rgba(245, 4, 0, 0.1), transparent 21rem),
    radial-gradient(circle at 12% 88%, rgba(164, 124, 61, 0.14), transparent 25rem),
    linear-gradient(135deg, rgba(0, 39, 82, 0.05), rgba(255, 255, 255, 0.2));
  border-top: 1px solid rgba(0, 39, 82, 0.08);
}

.global-contact::before {
  content: "";
  position: absolute;
  inset: 34px max(24px, calc((100% - var(--max)) / 2)) auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 39, 82, 0.16), transparent);
}

.global-contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 22px;
  align-items: stretch;
  max-width: 1080px;
  margin: 0 auto;
}

.global-contact-copy,
.global-contact-form {
  position: relative;
  border: 1px solid rgba(0, 39, 82, 0.09);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.58));
  box-shadow: 0 22px 64px rgba(0, 39, 82, 0.1);
  backdrop-filter: blur(18px);
}

.global-contact-copy {
  padding: clamp(28px, 4vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 30px 10px 10px 8px;
  overflow: hidden;
}

.global-contact-copy::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -78px;
  width: 210px;
  height: 210px;
  border: 32px solid rgba(164, 124, 61, 0.11);
  border-radius: 50%;
}

.global-contact-copy h2 {
  max-width: 420px;
  margin-bottom: 16px;
  font-size: clamp(2rem, 3vw, 2.95rem);
}

.global-contact-copy p {
  position: relative;
  z-index: 1;
  color: var(--muted);
  line-height: 1.75;
}

.contact-points {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.contact-points a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 39, 82, 0.1);
  border-radius: 18px 18px 18px 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 28px rgba(0, 39, 82, 0.08);
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.contact-points a span {
  display: block;
  grid-column: 1;
  margin-bottom: 3px;
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-points a strong {
  display: block;
  grid-column: 1;
  overflow-wrap: anywhere;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
}

.contact-points a::after {
  content: "↗";
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  font-size: 0.78rem;
}

.contact-points a:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 4, 0, 0.28);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 38px rgba(0, 39, 82, 0.13);
}

.contact-points a:hover::after {
  background: var(--rose);
}

.contact-benefits {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.contact-benefits span {
  padding: 8px 12px;
  border: 1px solid rgba(164, 124, 61, 0.12);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(164, 124, 61, 0.12);
  font-weight: 900;
  font-size: 0.82rem;
}

.global-contact-form {
  padding: clamp(28px, 4vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 10px 30px 30px 10px;
}

.global-contact-form::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 74px;
  height: 74px;
  border-top: 2px solid rgba(245, 4, 0, 0.35);
  border-right: 2px solid rgba(245, 4, 0, 0.35);
  border-radius: 0 18px 0 0;
}

.form-kicker {
  max-width: 440px;
  margin-bottom: 22px;
}

.form-kicker span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-kicker span::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.form-kicker p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.global-contact-form .form-grid {
  gap: 16px;
}

.global-contact-form .field textarea {
  min-height: 138px;
}

.global-contact-form .btn {
  align-self: flex-start;
  margin-top: 4px;
}

.global-contact-form input,
.global-contact-form textarea {
  border-color: rgba(0, 39, 82, 0.12);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.global-contact-form input:focus,
.global-contact-form textarea:focus {
  outline: 0;
  border-color: rgba(245, 4, 0, 0.42);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(245, 4, 0, 0.08);
}

.order-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: none;
  margin: 0 auto;
  border: 0;
}

.section .container > .order-flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.order-step {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 255px;
  padding: 70px 26px 26px;
  border: 1px solid rgba(0, 39, 82, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 18px 50px rgba(0, 39, 82, 0.08);
}

.order-step + .order-step {
  margin-top: 0;
}

.order-step span {
  position: absolute;
  top: 28px;
  left: 28px;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: var(--white);
  background: var(--rose);
  font-weight: 900;
  font-size: 0.86rem;
}

.order-step h3 {
  margin-top: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.order-step p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.size-note-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.size-note-card {
  padding: 30px;
  border: 1px solid rgba(0, 39, 82, 0.08);
  border-radius: 28px 28px 28px 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 54px rgba(0, 39, 82, 0.09);
}

.size-note-card span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  border-radius: 999px;
  color: var(--white);
  background: var(--rose);
  font-weight: 900;
}

.size-note-card p {
  color: var(--muted);
  line-height: 1.7;
}

.size-table-wrap {
  max-width: 980px;
}

.size-table-card {
  overflow: auto;
  border: 1px solid rgba(0, 39, 82, 0.08);
  border-radius: 28px 28px 28px 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 64px rgba(0, 39, 82, 0.1);
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.size-table th,
.size-table td {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(0, 39, 82, 0.08);
  text-align: left;
}

.size-table th {
  color: var(--ink);
  background: rgba(164, 124, 61, 0.12);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.size-table td:last-child {
  color: var(--rose);
  font-weight: 900;
}

.size-table tr:last-child td {
  border-bottom: 0;
}

.atelier-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(164, 124, 61, 0.15), transparent 22rem),
    linear-gradient(135deg, rgba(0, 39, 82, 0.04), rgba(255, 255, 255, 0.12));
}

.atelier-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 39, 82, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(0, 39, 82, 0.035) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.atelier-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 48px;
  align-items: center;
}

.atelier-grid-reverse {
  grid-template-columns: 1.08fr 0.92fr;
}

.atelier-copy p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.8;
}

.atelier-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.atelier-visual {
  position: relative;
  min-height: 430px;
  border-radius: 34px 34px 34px 8px;
  background:
    linear-gradient(135deg, rgba(18, 19, 23, 0.95), rgba(45, 43, 39, 0.92)),
    var(--ink);
  box-shadow: 0 28px 80px rgba(18, 19, 23, 0.18);
  overflow: hidden;
}

.atelier-visual::before {
  content: "";
  position: absolute;
  inset: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.atelier-visual::after {
  content: "EMA TEX";
  position: absolute;
  left: 42px;
  bottom: 34px;
  color: rgba(255, 255, 255, 0.22);
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  font-weight: 900;
  letter-spacing: 0;
}

.thread-line {
  position: absolute;
  inset: 0;
}

.thread-line::before {
  content: "";
  position: absolute;
  left: 14%;
  top: 48%;
  width: 72%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--teal), transparent);
  transform: rotate(-18deg);
}

.thread-line::after {
  content: "";
  position: absolute;
  left: 23%;
  top: 23%;
  width: 54%;
  height: 54%;
  border: 2px dashed rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.atelier-token {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  font-weight: 900;
}

.atelier-token:nth-child(2) {
  top: 48px;
  left: 54px;
}

.atelier-token:nth-child(3) {
  top: 142px;
  right: 62px;
  color: var(--white);
  background: var(--teal);
}

.atelier-token:nth-child(4) {
  left: 38%;
  bottom: 70px;
  color: var(--white);
  background: var(--rose);
}

.atelier-service-card {
  padding: 32px;
  border: 1px solid rgba(18, 19, 23, 0.07);
  border-radius: 28px 28px 28px 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 22px 64px rgba(18, 19, 23, 0.1);
}

.atelier-service-card ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 28px;
  list-style: none;
}

.atelier-service-card li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  line-height: 1.55;
}

.atelier-service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--gold));
}

.page-hero {
  padding: 64px 0 30px;
}

.page-hero h1 {
  max-width: 820px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.filter-chip {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font-weight: 800;
}

.filter-chip.active,
.filter-chip:hover {
  color: var(--white);
  background: var(--ink);
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 42px;
  align-items: center;
}

.product-detail-media {
  position: relative;
  min-height: 570px;
  display: grid;
  place-items: center;
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 28px 28px 28px 6px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow);
}

.product-slider {
  width: 100%;
}

.product-slider-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
}

.product-slider-frame .product-main-image {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  object-position: center top;
  border-radius: 22px 22px 22px 6px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  color: var(--white);
  background: rgba(0, 48, 93, 0.9);
  box-shadow: 0 14px 32px rgba(18, 19, 23, 0.18);
  cursor: pointer;
  transform: translateY(-50%);
  font-size: 1.65rem;
  line-height: 1;
}

.slider-prev {
  left: 12px;
}

.slider-next {
  right: 12px;
}

.slider-btn:hover {
  background: var(--ink);
}

.product-gallery {
  width: 100%;
  display: flex;
  gap: 12px;
  margin-top: 18px;
  padding: 4px 2px 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.product-thumb {
  flex: 0 0 128px;
  height: 132px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 16px 16px 16px 5px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  overflow: hidden;
  scroll-snap-align: start;
  opacity: 0.72;
  transition: opacity 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.product-thumb img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.product-thumb.active,
.product-thumb:hover {
  opacity: 1;
  border-color: var(--navy);
  transform: translateY(-2px);
}

.product-thumb.is-current {
  display: none;
}

.quantity-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
  font-weight: 900;
}

.quantity-row input {
  width: 92px;
  height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

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

.two-column,
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.content-block {
  color: #4f525a;
  font-size: 1.03rem;
  line-height: 1.8;
}

.content-block ul {
  padding-left: 20px;
}

.about-hero {
  padding-bottom: 54px;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.54fr;
  gap: 44px;
  align-items: end;
}

.about-hero-card,
.craft-panel,
.service-tile,
.process-step {
  border: 1px solid rgba(18, 19, 23, 0.07);
  border-radius: 24px 24px 24px 6px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 50px rgba(18, 19, 23, 0.07);
}

.about-hero-card {
  padding: 22px;
}

.about-hero-card img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  margin-bottom: 18px;
  border-radius: 22px 22px 22px 6px;
  background: rgba(238, 245, 243, 0.76);
}

.about-hero-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.about-story {
  display: grid;
  grid-template-columns: 0.34fr 1fr;
  gap: 44px;
}

.about-story-label {
  width: 160px;
  height: 160px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: radial-gradient(circle at 32% 28%, #3b3c40, var(--ink));
  font-weight: 900;
  letter-spacing: 0.08em;
  box-shadow: 0 24px 60px rgba(18, 19, 23, 0.18);
}

.service-lane {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-tile {
  min-height: 265px;
  padding: 24px;
}

.service-tile span,
.process-step span {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  margin-bottom: 32px;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  font-weight: 900;
  font-size: 0.84rem;
}

.service-tile:nth-child(2) span {
  background: var(--teal);
}

.service-tile:nth-child(3) span {
  background: var(--rose);
}

.service-tile:nth-child(4) span {
  background: var(--gold);
}

.service-tile p,
.process-step p {
  color: var(--muted);
  line-height: 1.65;
}

.craft-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 34px;
  align-items: stretch;
}

.craft-panel {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(18, 19, 23, 0.95), rgba(42, 41, 37, 0.92)),
    var(--ink);
}

.craft-list {
  display: grid;
}

.craft-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid rgba(18, 19, 23, 0.12);
}

.craft-row strong {
  font-size: 1.04rem;
}

.craft-row p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.process-step {
  padding: 26px;
}

.contact-panel,
.checkout-panel,
.summary-panel {
  padding: 24px;
}

.contact-direct {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.contact-direct a {
  display: block;
  padding: 14px 16px;
  border: 1px solid rgba(0, 39, 82, 0.08);
  border-radius: 18px 18px 18px 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 900;
}

.contact-direct span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

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

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

.field label {
  font-weight: 900;
  font-size: 0.9rem;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field textarea {
  min-height: 126px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(15, 118, 110, 0.45);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}

.payment-box {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 18px 18px 18px 6px;
  background: rgba(15, 118, 110, 0.08);
  font-weight: 900;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
}

.cart-item {
  display: grid;
  grid-template-columns: 76px 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--soft);
}

.cart-item h4 {
  margin: 0 0 4px;
}

.cart-item p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.qty-controls button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
}

.cart-remove {
  border: 0;
  color: var(--rose);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.qty-pill {
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--soft);
  font-weight: 900;
}

.empty-state {
  padding: 28px;
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.6);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0;
  font-size: 1.12rem;
  font-weight: 900;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}

.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 19, 23, 0);
  transition: background 220ms ease;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(440px, 92vw);
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  background: rgba(251, 250, 247, 0.96);
  box-shadow: -20px 0 70px rgba(18, 19, 23, 0.16);
  backdrop-filter: blur(22px);
  transform: translateX(105%);
  transition: transform 260ms ease;
}

.cart-open .cart-drawer {
  pointer-events: auto;
}

.cart-open .cart-backdrop {
  background: rgba(18, 19, 23, 0.34);
}

.cart-open .drawer-panel {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.drawer-items {
  flex: 1;
  overflow: auto;
  margin: 18px 0;
}

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

.site-footer {
  padding: 72px 0 28px;
  color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(180deg, #07345f 0%, #062847 46%, #061c31 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .container {
  width: min(100% - 64px, 1060px);
}

.footer-shell {
  display: grid;
  gap: 0;
}

.footer-brand-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 900;
}

.footer-logo {
  width: min(230px, 100%);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.footer-logo img {
  width: 100%;
  height: 58px;
  object-fit: contain;
}

.site-footer .footer-logo:hover {
  transform: translateY(-2px);
}

.footer-brand small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
}

.footer-brand-panel p {
  max-width: 720px;
  margin: 0;
  text-align: right;
  color: rgba(255, 255, 255, 0.74);
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.footer-contact a {
  display: block;
  width: auto;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px 18px 18px 6px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 900;
}

.footer-contact span {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.footer-badges {
  order: 3;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.footer-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 11px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.78rem;
  font-weight: 900;
}

.footer-badges.footer-contact-inline {
  align-items: stretch;
}

.footer-badges.footer-contact-inline a {
  display: block;
  width: auto;
  min-width: 150px;
  margin: 0;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px 16px 16px 5px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 900;
  box-shadow: none;
}

.footer-badges.footer-contact-inline a:hover {
  color: var(--white);
  background: rgba(245, 4, 0, 0.72);
  transform: translateY(-2px);
}

.footer-badges.footer-contact-inline span {
  display: block;
  min-height: 0;
  margin: 0 0 5px;
  padding: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.56);
  background: transparent;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.footer-contact-column a {
  display: block;
  width: fit-content;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr minmax(230px, 1.05fr);
  gap: 34px;
  padding: 34px 0;
}

.footer-grid > div {
  min-width: 0;
}

.site-footer h3,
.site-footer h4 {
  margin-top: 0;
  margin-bottom: 14px;
  color: var(--white);
}

.site-footer h4 {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  width: fit-content;
  margin: 9px 0;
  color: rgba(255, 255, 255, 0.72);
  transition: color 180ms ease, transform 180ms ease;
}

.site-footer a:hover {
  color: var(--white);
  transform: translateX(3px);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
}

.footer-bottom span:last-child {
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .main-nav {
    position: fixed;
    inset: 74px 16px auto;
    display: grid;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 22px;
    background: rgba(251, 250, 247, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease, transform 200ms ease;
  }

  .menu-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu-toggle {
    display: grid;
  }

  .hero-grid,
  .about-hero-grid,
  .about-story,
  .photo-story-grid,
  .global-contact-grid,
  .craft-grid,
  .atelier-grid,
  .atelier-grid-reverse,
  .product-detail,
  .two-column,
  .checkout-layout,
  .cart-layout,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .global-contact-copy,
  .global-contact-form {
    border-radius: 24px 24px 24px 8px;
  }

  .global-contact-copy {
    min-height: 420px;
  }

  .global-contact-form {
    min-height: 420px;
  }

  .hero-visual {
    min-height: 500px;
  }

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

  .category-grid,
  .category-intro-grid,
  .benefit-grid,
  .assortment-grid,
  .service-lane,
  .process-strip,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand-panel {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-brand-panel p {
    text-align: left;
  }

  .footer-contact {
    grid-template-columns: repeat(2, 1fr);
  }

  .section .container > .order-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-showcase,
  .testimonial-stack {
    grid-template-columns: 1fr;
  }

  .testimonial-copy {
    position: static;
  }

  .quote-card-feature {
    min-height: 280px;
  }

  .quote-card-accent {
    margin-left: 0;
  }

  .photo-mosaic-wide {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 240px);
  }

  .atelier-visual {
    min-height: 360px;
  }

  .assortment-card,
  .assortment-card-large {
    min-height: 320px;
  }

  .faq-item:first-child {
    grid-row: auto;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 22px, var(--max));
  }

  .brand-logo {
    width: 168px;
  }

  .brand-logo img {
    height: 40px;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.6rem);
  }

  .hero-stats,
  .product-grid,
  .category-grid,
  .category-intro-grid,
  .size-note-grid,
  .benefit-grid,
  .testimonial-grid,
  .faq-grid,
  .service-lane,
  .process-strip,
  .assortment-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 42px 0 24px;
  }

  .site-footer .container {
    width: min(100% - 32px, 1060px);
  }

  .footer-brand-panel,
  .footer-grid > div {
    padding: 0;
  }

  .footer-grid {
    gap: 18px;
    padding: 26px 0;
  }

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

  .footer-logo {
    width: 210px;
  }

  .footer-logo img {
    height: 52px;
  }

  .footer-brand-panel {
    gap: 16px;
    padding-bottom: 22px;
  }

  .footer-badges {
    margin-top: 10px;
  }

  .footer-grid h4 {
    margin-bottom: 8px;
  }

  .site-footer a {
    margin: 7px 0;
  }

  .footer-bottom {
    display: grid;
  }

  .footer-bottom span:last-child {
    text-align: left;
  }

  .section .container > .order-flow {
    grid-template-columns: 1fr;
  }

  .testimonial-showcase,
  .testimonial-stack,
  .photo-story-grid,
  .global-contact-grid,
  .about-hero-grid,
  .about-story,
  .atelier-grid,
  .atelier-grid-reverse,
  .craft-grid {
    grid-template-columns: 1fr;
  }

  .global-contact-grid {
    gap: 14px;
  }

  .global-contact-copy,
  .global-contact-form {
    min-height: auto;
    padding: 24px;
  }

  .global-contact-copy h2 {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .global-contact-form::before {
    width: 48px;
    height: 48px;
  }

  .mini-metrics,
  .craft-row {
    grid-template-columns: 1fr;
  }

  .about-story-label {
    width: 118px;
    height: 118px;
  }

  .service-tile,
  .process-step,
  .order-step,
  .quote-card,
  .assortment-card,
  .assortment-card-large {
    min-height: auto;
  }

  .order-step {
    width: 100%;
    max-width: 100%;
    padding: 72px 22px 24px;
  }

  .order-step span {
    top: 22px;
    left: 22px;
  }

  .assortment-card,
  .assortment-card-large {
    min-height: 330px;
  }

  .order-flow {
    border: 0;
  }

  .order-step {
    min-height: auto;
    padding: 54px 24px 28px;
  }

  .order-step span {
    top: 20px;
    left: 24px;
  }

  .atelier-visual {
    min-height: 310px;
  }

  .photo-mosaic,
  .photo-mosaic-wide {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 180px 180px;
  }

  .photo-mosaic img:first-child,
  .photo-mosaic-wide img:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .photo-mosaic img:nth-child(4),
  .photo-mosaic-wide img:nth-child(4) {
    grid-column: auto;
  }

  .atelier-token {
    width: 82px;
    height: 82px;
    font-size: 0.9rem;
  }

  .atelier-token:nth-child(2) {
    top: 36px;
    left: 28px;
  }

  .atelier-token:nth-child(3) {
    top: 110px;
    right: 30px;
  }

  .atelier-token:nth-child(4) {
    left: 34%;
    bottom: 48px;
  }

  .benefit,
  .benefit:nth-child(2),
  .benefit:nth-child(4),
  .testimonial:nth-child(2),
  .testimonial:nth-child(3) {
    margin-top: 0;
  }

  .benefit {
    min-height: auto;
    border-radius: 22px 22px 22px 6px;
  }

  .testimonial:nth-child(1),
  .faq-item:first-child {
    min-height: auto;
    padding: 24px;
  }

  .faq-item {
    grid-template-columns: 34px 1fr;
  }

  .hero-visual {
    min-height: 390px;
  }

  .hero-card.primary {
    inset: 0;
    padding: 26px;
    border-radius: 24px 24px 24px 6px;
  }

  .hero-card.secondary,
  .floating-note {
    display: none;
  }

  .section {
    padding: 50px 0;
  }

  .section-head {
    display: block;
  }

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

  .product-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
  }

  .product-actions strong {
    display: block;
    width: 100%;
    font-size: 1.12rem;
    line-height: 1.15;
  }

  .product-actions .btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    padding-inline: 14px;
    text-align: center;
    white-space: normal;
  }

  .product-size-link {
    display: block;
    width: 100%;
    max-width: 100%;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .product-info {
    padding: 20px;
  }

  .product-info p {
    min-height: auto;
  }

  .product-info h3 {
    font-size: 1.18rem;
    line-height: 1.22;
  }

  .product-tags span {
    font-size: 0.68rem;
    padding: 5px 8px;
  }

  .cart-item .qty-controls,
  .cart-remove,
  .qty-pill {
    grid-column: 2;
    justify-self: start;
  }

  .product-detail-media {
    min-height: 360px;
    padding: 26px;
    border-radius: 24px 24px 24px 6px;
  }

  .slider-btn {
    width: 38px;
    height: 38px;
    font-size: 1.35rem;
  }

  .product-thumb {
    flex-basis: 106px;
    height: 108px;
  }

  .product-thumb img {
    height: 108px;
  }

  .cta-band {
    padding: 28px;
  }
}

/* Final scoped override for the homepage order process. Keep after media rules. */
.order-section .order-flow {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
  max-width: none !important;
}

.order-section .order-step {
  width: auto !important;
  min-width: 0 !important;
  min-height: 255px !important;
  padding: 70px 26px 26px !important;
  margin-top: 0 !important;
}

@media (max-width: 980px) {
  .order-section .order-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  .order-section .order-flow {
    grid-template-columns: 1fr !important;
  }

  .order-section .order-step {
    min-height: auto !important;
    padding: 72px 22px 24px !important;
    overflow: hidden !important;
  }

  .order-section .order-step span {
    top: 22px;
    left: 22px;
  }

  .order-section .order-step h3,
  .order-section .order-step p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}
