:root {
  --bg: #ffffff;
  --surface: #fbf8f2;
  --surface-strong: #f3eee4;
  --text: #111111;
  --muted: #5f5a52;
  --line: rgba(17, 17, 17, 0.12);
  --gold: #b49358;
  --gold-soft: rgba(180, 147, 88, 0.16);
  --shadow: 0 28px 70px rgba(24, 22, 18, 0.09);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --site-font: "Segoe UI", Arial, sans-serif;
  --display-serif: var(--site-font);
  --page-glow: radial-gradient(circle at top left, rgba(180, 147, 88, 0.08), transparent 28%);
  --page-base: linear-gradient(180deg, #fffefb 0%, #ffffff 18%, #ffffff 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 196px;
}

body {
  margin: 0;
  background: var(--page-glow), var(--page-base);
  background-color: #ffffff;
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--site-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-consent-locked {
  overflow: hidden;
}

.header-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 196px;
  z-index: 25;
  padding-top: 14px;
  background:
    radial-gradient(circle at top left, rgba(180, 147, 88, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 254, 251, 0.94) 0%, rgba(255, 255, 255, 0.9) 18%, rgba(255, 255, 255, 0.76) 100%);
  background-color: rgba(255, 255, 255, 0.76);
  background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0, #000 82%, transparent 100%);
  pointer-events: none;
}

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

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

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

.consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.consent-overlay[hidden],
.cookie-banner[hidden] {
  display: none;
}

.consent-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.46);
  backdrop-filter: blur(14px);
}

.consent-dialog,
.cookie-banner {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 248, 242, 0.95));
}

.consent-dialog {
  position: relative;
  width: min(620px, 100%);
  padding: 34px;
  border-radius: 28px;
}

.consent-dialog h2,
.hero h1,
.section-heading h2,
.success-copy h2,
.gallery-meta h2 {
  margin: 0;
  font-family: var(--display-serif);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.028em;
  text-wrap: balance;
  font-feature-settings: "liga" 1, "clig" 1, "kern" 1;
  font-size: clamp(1.95rem, 3.65vw, 3.45rem);
}

.consent-copy {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.01rem;
  line-height: 1.75;
  letter-spacing: 0.004em;
  max-width: 44ch;
}

.consent-actions,
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 22px;
}

.cookie-banner-copy p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.7;
  letter-spacing: 0.004em;
  max-width: 68ch;
}

.page-shell {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 178px;
  padding-bottom: 56px;
}

.site-header {
  position: relative;
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 20px 34px;
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(251, 248, 242, 0.94));
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  isolation: isolate;
  overflow: hidden;
  pointer-events: auto;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(180, 147, 88, 0) 0%,
    rgba(180, 147, 88, 0.14) 18%,
    rgba(180, 147, 88, 0.08) 50%,
    rgba(180, 147, 88, 0.14) 82%,
    rgba(180, 147, 88, 0) 100%
  );
  pointer-events: none;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.18)),
    radial-gradient(circle at top center, rgba(180, 147, 88, 0.12), transparent 60%);
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  font-family: var(--site-font);
  font-size: 1.34rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  justify-self: start;
}

.brand img {
  width: 116px;
  height: 116px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  justify-self: center;
  padding: 0 20px;
  min-height: 52px;
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
}

.site-nav a {
  position: relative;
  padding: 10px 0;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}

.cart-link-count {
  position: absolute;
  top: -3px;
  right: -12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: rgba(180, 147, 88, 0.14);
  color: var(--gold);
  font-size: 0.68rem;
  line-height: 1;
  letter-spacing: 0.02em;
  pointer-events: none;
}

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

.mobile-cart-link {
  display: none;
}

.site-nav a + a::before {
  content: "";
  position: absolute;
  left: -13px;
  top: 50%;
  width: 1px;
  height: 16px;
  background: rgba(17, 17, 17, 0.1);
  transform: translateY(-50%);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.site-nav a.is-active {
  color: var(--text);
}

.site-nav a.is-active::after {
  transform: scaleX(1);
}

.header-cart {
  position: relative;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(180, 147, 88, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(251, 248, 242, 0.84));
  color: var(--text);
  font-size: 0.98rem;
  letter-spacing: 0.03em;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.header-cart.is-empty,
.mobile-cart-link.is-empty {
  color: var(--muted);
}

.header-cart.is-active {
  border-color: rgba(180, 147, 88, 0.52);
  box-shadow: 0 12px 26px rgba(180, 147, 88, 0.1);
  color: var(--text);
}

@media (hover: hover) and (pointer: fine) {
  .site-nav a:hover {
    color: var(--text);
  }

  .site-nav a:hover::after {
    transform: scaleX(1);
  }

  .header-cart:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(180, 147, 88, 0.12);
    border-color: rgba(180, 147, 88, 0.48);
  }
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.72fr);
  align-items: stretch;
  gap: 28px;
  padding: 60px 0 44px;
}

.hero-copy,
.hero-card,
.intro-grid article,
.story-copy,
.aside-panel,
.product-card,
.order-form,
.order-summary {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 52px;
  background:
    linear-gradient(135deg, rgba(180, 147, 88, 0.06), transparent 45%),
    var(--bg);
  border-radius: var(--radius-lg);
}

.eyebrow,
.card-label {
  margin: 0 0 14px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  line-height: 1.3;
}

.hero h1 {
  text-wrap: balance;
}

.hero-text {
  max-width: 560px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.76;
  letter-spacing: 0.004em;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--text);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

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

.button-dark {
  background: var(--text);
  color: #fff;
}

.button-small {
  min-height: 42px;
  padding: 0 16px;
}

.button-light {
  background: transparent;
  color: var(--text);
}

.hero-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  min-height: 100%;
  padding: 38px;
  background:
    linear-gradient(180deg, rgba(180, 147, 88, 0.08), rgba(180, 147, 88, 0.02)),
    var(--surface);
  border-radius: var(--radius-lg);
}

.hero-card blockquote {
  margin: 0;
  font-family: var(--site-font);
  max-width: 10ch;
  font-size: clamp(1.95rem, 3.65vw, 3.45rem);
  line-height: 1.03;
}

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

.hero-card .card-label,
.hero-card p:last-child {
  max-width: 28ch;
}

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

.intro-grid article,
.story-copy,
.aside-panel,
.product-card,
.order-form,
.order-summary {
  background: var(--bg);
  border-radius: var(--radius-md);
}

.intro-grid article {
  padding: 30px;
}

.intro-grid h2,
.product-meta h3,
.order-summary h3 {
  margin: 0 0 14px;
  font-family: var(--site-font);
  font-weight: 400;
  letter-spacing: -0.018em;
}

.intro-grid p,
.story-copy p,
.aside-panel p,
.aside-panel li,
.product-body p,
.product-specs span,
.order-form label,
.summary-note,
.summary-lines p {
  color: var(--muted);
  line-height: 1.76;
  letter-spacing: 0.004em;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 20px;
}

.story-section,
.collection-section,
.order-section,
.contacts-section {
  margin-top: 42px;
}

.scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  filter: blur(10px);
  transition:
    opacity 0.85s ease,
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.85s ease;
  will-change: opacity, transform, filter;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.product-card.scroll-reveal,
.product-card.scroll-reveal.is-visible {
  filter: none;
}

.story-layout,
.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, 0.92fr);
  gap: 22px;
}

.story-copy {
  padding: 36px;
}

.story-copy p,
.product-body p,
.summary-note,
.summary-lines p,
.contact-note,
.cookie-banner-copy p:last-child,
.consent-copy {
  text-wrap: pretty;
}

.story-copy p + p,
.product-body p + p,
.aside-panel p + p {
  margin-top: 14px;
}

.story-aside {
  display: grid;
  gap: 22px;
}

.aside-panel {
  padding: 28px;
  background: linear-gradient(180deg, var(--surface), #fff);
}

.aside-panel ul {
  margin: 0;
  padding-left: 18px;
}

.aside-panel li + li {
  margin-top: 8px;
}

.quote-line {
  margin: 0;
  font-family: var(--display-serif);
  font-weight: 400;
  color: var(--text);
  line-height: 1.03;
  max-width: none;
  letter-spacing: -0.028em;
  font-feature-settings: "liga" 1, "clig" 1, "kern" 1;
  font-size: clamp(1.95rem, 3.65vw, 3.45rem);
  text-wrap: normal;
}

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

.catalog-status {
  margin-bottom: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(159, 63, 48, 0.18);
  border-radius: 18px;
  background: rgba(255, 248, 246, 0.9);
  color: #8b4335;
  line-height: 1.7;
  letter-spacing: 0.003em;
}

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-visual {
  position: relative;
  min-height: 340px;
  --swipe-shift: 0px;
  overflow: hidden;
  background: linear-gradient(180deg, #f9f6ef, #efe7d8);
  border: 0;
  width: 100%;
  cursor: pointer;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-visual-media {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background-color: #ffffff;
  -webkit-user-select: none;
  user-select: none;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  transform: translate3d(calc(var(--swipe-shift) * 0.14), 0, 0) scale(1);
  transition:
    transform 0.46s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.42s ease,
    filter 0.46s ease;
}

.product-visual-media.is-current,
.product-visual-media.is-next {
  transition:
    transform 0.5s cubic-bezier(0.16, 0.92, 0.24, 1),
    opacity 0.46s ease;
  will-change: transform, opacity;
}

.product-visual-media.is-current {
  z-index: 1;
}

.product-visual-media.is-next {
  z-index: 2;
  opacity: 0;
}

.product-visual-media.is-next-forward {
  transform: translate3d(26px, 0, 0) scale(1.008);
}

.product-visual-media.is-next-backward {
  transform: translate3d(-26px, 0, 0) scale(1.008);
}

.product-visual-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 2;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateX(-50%);
  pointer-events: none;
}

.product-visual-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.2);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.product-visual-dot.is-active {
  background: rgba(17, 17, 17, 0.78);
  transform: scale(1.18);
}

.product-visual.is-transitioning-next .product-visual-media.is-current {
  opacity: 0.42;
  transform: translate3d(-16px, 0, 0) scale(0.997);
}

.product-visual.is-transitioning-next .product-visual-media.is-next {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.product-visual.is-transitioning-prev .product-visual-media.is-current {
  opacity: 0.42;
  transform: translate3d(16px, 0, 0) scale(0.997);
}

.product-visual.is-transitioning-prev .product-visual-media.is-next {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.product-visual:hover {
  transform: scale(1.01);
  box-shadow: inset 0 0 0 1px rgba(180, 147, 88, 0.24);
}

.product-visual::before,
.product-visual::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
}

.product-visual.has-product-image::before,
.product-visual.has-product-image::after {
  display: none;
}

.product-visual.has-product-image {
  background-color: #ffffff;
}

.product-visual.is-revealing-next .product-visual-media {
  animation: product-card-reveal-next 0.56s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-visual.is-revealing-prev .product-visual-media {
  animation: product-card-reveal-prev 0.56s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes product-card-reveal-next {
  0% {
    opacity: 0.08;
    transform: translate3d(24px, 0, 0) scale(1.024);
  }
  45% {
    opacity: 0.56;
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes product-card-reveal-prev {
  0% {
    opacity: 0.08;
    transform: translate3d(-24px, 0, 0) scale(1.024);
  }
  45% {
    opacity: 0.56;
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes product-card-reveal-next-mobile {
  0% {
    opacity: 0.28;
    transform: translate3d(24px, 0, 0) scale(1.018);
  }
  48% {
    opacity: 0.74;
    transform: translate3d(10px, 0, 0) scale(1.008);
  }
  76% {
    opacity: 0.94;
    transform: translate3d(2px, 0, 0) scale(1.002);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes product-card-reveal-prev-mobile {
  0% {
    opacity: 0.28;
    transform: translate3d(-24px, 0, 0) scale(1.018);
  }
  48% {
    opacity: 0.74;
    transform: translate3d(-10px, 0, 0) scale(1.008);
  }
  76% {
    opacity: 0.94;
    transform: translate3d(-2px, 0, 0) scale(1.002);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.product-visual:focus-visible {
  outline: 2px solid rgba(180, 147, 88, 0.5);
  outline-offset: -8px;
}

.product-visual-one::before {
  width: 118px;
  height: 250px;
  left: calc(50% - 59px);
  top: 52px;
  background: linear-gradient(180deg, #302a25, #94826a 60%, #c4b399);
  clip-path: polygon(46% 0, 66% 7%, 72% 24%, 87% 42%, 72% 100%, 28% 100%, 13% 42%, 28% 24%, 34% 7%);
}

.product-visual-one::after {
  width: 176px;
  height: 40px;
  left: calc(50% - 88px);
  bottom: 28px;
  background: rgba(17, 17, 17, 0.08);
  filter: blur(18px);
}

.product-visual-two::before {
  width: 180px;
  height: 248px;
  left: calc(50% - 90px);
  top: 50px;
  background: linear-gradient(180deg, #e9dfd2, #d5c1a7 55%, #807364);
  clip-path: polygon(44% 0, 70% 12%, 82% 41%, 67% 100%, 28% 100%, 16% 39%, 30% 12%);
  border-radius: 42% 58% 35% 65% / 22% 32% 68% 78%;
}

.product-visual-two::after {
  width: 160px;
  height: 36px;
  left: calc(50% - 80px);
  bottom: 28px;
  background: rgba(17, 17, 17, 0.07);
  filter: blur(18px);
}

.product-visual-three::before {
  width: 150px;
  height: 255px;
  left: calc(50% - 75px);
  top: 48px;
  background: linear-gradient(180deg, #343434, #6b6b6b 48%, #b6b6b6);
  clip-path: polygon(38% 0, 69% 6%, 83% 33%, 75% 61%, 63% 100%, 22% 100%, 15% 43%, 26% 16%);
}

.product-visual-three::after {
  width: 170px;
  height: 38px;
  left: calc(50% - 85px);
  bottom: 26px;
  background: rgba(17, 17, 17, 0.08);
  filter: blur(18px);
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.product-meta,
.product-footer,
.summary-lines p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.product-meta span,
.product-specs span {
  font-size: 0.92rem;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 20px;
}

.product-specs span {
  padding: 8px 12px;
  background: var(--surface);
  border-radius: 999px;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.product-footer strong,
#summary-subtotal {
  font-family: var(--site-font);
  font-size: 1.45rem;
  font-weight: 400;
}

.product-footer {
  margin-top: auto;
  padding-top: 18px;
}

.order-form,
.order-summary {
  padding: 32px;
}

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

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

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
}

.order-summary {
  align-self: start;
  background: linear-gradient(180deg, var(--surface), #ffffff);
}

.cart-panel {
  max-width: 760px;
}

.contacts-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contacts-card {
  max-width: 760px;
  padding: 34px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--surface), #ffffff);
}

.contact-email {
  display: inline-block;
  margin: 4px 0 14px;
  font-family: var(--site-font);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.contact-note {
  margin: 0;
  max-width: 38ch;
  color: var(--muted);
  line-height: 1.76;
  letter-spacing: 0.004em;
}

.summary-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-count {
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.cart-items {
  display: grid;
  gap: 14px;
  margin: 22px 0;
}

.cart-item,
.empty-cart {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.cart-item-top,
.cart-item-actions,
.cart-item-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-item-top strong,
.cart-item-total strong {
  font-family: var(--site-font);
  font-weight: 400;
}

.cart-item-meta,
.empty-cart {
  color: var(--muted);
  line-height: 1.6;
}

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

.cart-control,
.cart-remove {
  min-width: 34px;
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  cursor: pointer;
}

.cart-remove {
  padding: 0 14px;
  min-width: auto;
}

.cart-item-total {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.summary-lines {
  margin: 22px 0;
}

.summary-lines p {
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.summary-lines p:last-child {
  border-bottom: 1px solid var(--line);
}

.summary-lines span {
  color: var(--muted);
}

.summary-note {
  margin-bottom: 22px;
}

.site-footer {
  display: block;
  margin-top: 56px;
  padding: 0;
  color: var(--muted);
  font-family: var(--site-font);
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 40px 24px 24px;
  opacity: 1;
  transition: opacity 0.28s ease;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.42);
  backdrop-filter: blur(10px);
  opacity: 1;
  transition: opacity 0.3s ease;
}

.modal-dialog {
  position: relative;
  width: min(1120px, 100%);
  max-height: min(90vh, 980px);
  overflow: auto;
  padding: 32px 92px 32px 32px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fffdf9;
  box-shadow: 0 32px 120px rgba(17, 17, 17, 0.16);
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  transition:
    opacity 0.32s ease,
    transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 22px;
  margin-top: 18px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(17, 17, 17, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  padding: 0;
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.06);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

#checkout-modal .modal-dialog {
  padding: 32px;
}

#checkout-modal .modal-grid {
  margin-top: 56px;
}

#checkout-modal .modal-close {
  top: 18px;
  right: 28px;
}

.modal-close:hover {
  transform: translateY(-1px);
  border-color: rgba(180, 147, 88, 0.34);
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.08);
}

.modal-close span {
  display: block;
  transform: translateY(-1px);
}

.section-heading-compact {
  margin-bottom: 12px;
}

.contact-choice {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.contact-title {
  margin: 0;
  font-family: var(--site-font);
  font-size: 1.12rem;
  color: var(--text);
}

.contact-help,
.form-status {
  margin: 6px 0 0;
  color: var(--muted);
}

.form-status.is-error {
  color: #9f3f30;
}

.form-status.is-success {
  color: #2f6b42;
}

.success-dialog {
  width: min(560px, calc(100% - 24px));
  max-height: none;
}

.success-copy {
  display: grid;
  gap: 16px;
}

.success-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.success-copy .button {
  width: fit-content;
}

#add-to-cart-modal .consent-actions {
  flex-wrap: nowrap;
  gap: 10px;
}

#add-to-cart-modal .consent-actions .button {
  white-space: nowrap;
  min-width: 0;
  padding-left: 16px;
  padding-right: 16px;
  font-size: 0.94rem;
}

.modal-summary {
  position: sticky;
  top: 0;
}

.gallery-dialog {
  width: min(1180px, calc(100% - 24px));
}

.gallery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.45fr);
  gap: 22px;
}

.gallery-stage-wrap,
.gallery-meta {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(251, 248, 242, 0.9));
  box-shadow: var(--shadow);
}

.gallery-stage-wrap {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 14px;
  padding: 20px;
}

.gallery-stage {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(180deg, #fbf7ef, #efe5d5);
}

.gallery-stage.has-gallery-image {
  background: #ffffff;
}

.gallery-image {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.gallery-stage::before,
.gallery-stage::after,
.gallery-art::before,
.gallery-art::after {
  content: "";
  position: absolute;
}

.gallery-art {
  position: absolute;
  inset: 0;
}

.gallery-art::after {
  left: 50%;
  bottom: 42px;
  width: 220px;
  height: 44px;
  background: rgba(17, 17, 17, 0.08);
  transform: translateX(-50%);
  filter: blur(20px);
  border-radius: 999px;
}

.gallery-art-silent-front::before,
.gallery-art-silent-profile::before,
.gallery-art-silent-detail::before {
  background: linear-gradient(180deg, #302a25, #94826a 60%, #c4b399);
}

.gallery-art-silent-front::before {
  width: 164px;
  height: 358px;
  left: calc(50% - 82px);
  top: 92px;
  clip-path: polygon(46% 0, 66% 7%, 72% 24%, 87% 42%, 72% 100%, 28% 100%, 13% 42%, 28% 24%, 34% 7%);
}

.gallery-art-silent-profile::before {
  width: 142px;
  height: 348px;
  left: calc(50% - 58px);
  top: 100px;
  clip-path: polygon(42% 0, 74% 8%, 82% 32%, 70% 100%, 24% 100%, 16% 44%, 24% 16%);
  transform: skewX(-8deg);
}

.gallery-art-silent-detail::before {
  width: 188px;
  height: 280px;
  left: calc(50% - 94px);
  top: 126px;
  clip-path: polygon(50% 0, 68% 11%, 76% 32%, 68% 100%, 32% 100%, 24% 32%, 32% 11%);
}

.gallery-art-veiled-front::before,
.gallery-art-veiled-side::before,
.gallery-art-veiled-close::before {
  background: linear-gradient(180deg, #e9dfd2, #d5c1a7 55%, #807364);
}

.gallery-art-veiled-front::before {
  width: 216px;
  height: 352px;
  left: calc(50% - 108px);
  top: 92px;
  clip-path: polygon(44% 0, 70% 12%, 82% 41%, 67% 100%, 28% 100%, 16% 39%, 30% 12%);
  border-radius: 42% 58% 35% 65% / 22% 32% 68% 78%;
}

.gallery-art-veiled-side::before {
  width: 176px;
  height: 350px;
  left: calc(50% - 64px);
  top: 96px;
  clip-path: polygon(40% 0, 78% 16%, 82% 56%, 60% 100%, 24% 100%, 14% 28%);
  transform: skewX(-10deg);
}

.gallery-art-veiled-close::before {
  width: 238px;
  height: 266px;
  left: calc(50% - 119px);
  top: 132px;
  clip-path: polygon(46% 0, 72% 12%, 84% 44%, 62% 100%, 18% 100%, 10% 28%, 28% 6%);
}

.gallery-art-oracle-front::before,
.gallery-art-oracle-profile::before,
.gallery-art-oracle-detail::before {
  background: linear-gradient(180deg, #343434, #6b6b6b 48%, #b6b6b6);
}

.gallery-art-oracle-front::before {
  width: 182px;
  height: 360px;
  left: calc(50% - 91px);
  top: 92px;
  clip-path: polygon(38% 0, 69% 6%, 83% 33%, 75% 61%, 63% 100%, 22% 100%, 15% 43%, 26% 16%);
}

.gallery-art-oracle-profile::before {
  width: 150px;
  height: 360px;
  left: calc(50% - 52px);
  top: 92px;
  clip-path: polygon(34% 0, 72% 8%, 88% 44%, 66% 100%, 18% 100%, 12% 20%);
  transform: skewX(-9deg);
}

.gallery-art-oracle-detail::before {
  width: 204px;
  height: 294px;
  left: calc(50% - 102px);
  top: 122px;
  clip-path: polygon(42% 0, 70% 8%, 82% 28%, 74% 72%, 58% 100%, 22% 100%, 14% 38%, 28% 10%);
}

.gallery-arrow {
  min-width: 52px;
  min-height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  cursor: pointer;
}

.gallery-arrow:disabled {
  opacity: 0.38;
  cursor: default;
}

.gallery-meta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
}

.gallery-meta h2 {
  margin: 0 0 18px;
}

.gallery-caption,
.gallery-counter {
  color: var(--muted);
  line-height: 1.7;
}

.gallery-counter {
  margin-top: auto;
}

@media (max-width: 980px) {
  .hero,
  .story-layout,
  .collection-grid,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h1,
  .hero-card blockquote {
    max-width: none;
  }

  .modal-grid {
    grid-template-columns: 1fr;
  }

  .modal-summary {
    position: static;
  }

  .gallery-layout {
    grid-template-columns: 1fr;
  }

  .gallery-stage-wrap {
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    padding: 14px;
  }

  .gallery-stage {
    min-height: 420px;
  }

  .gallery-image {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 132px;
  }

  .page-shell {
    width: min(100% - 24px, 1220px);
    padding-top: 126px;
  }

  .modal {
    padding: 26px 10px 10px;
  }

  .modal-dialog,
  .gallery-dialog {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    padding: 22px 72px 22px 22px;
    border-radius: 22px;
  }

  .modal-grid,
  .gallery-layout {
    gap: 14px;
  }

  .modal-grid {
    margin-top: 14px;
  }

  .modal-close {
    top: 8px;
    right: 18px;
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }

  #checkout-modal .modal-dialog {
    padding: 22px;
  }

  #checkout-modal .modal-grid {
    margin-top: 52px;
  }

  #checkout-modal .modal-close {
    top: 14px;
    right: 24px;
  }

  .gallery-stage-wrap,
  .gallery-meta,
  .order-form,
  .order-summary {
    border-radius: 18px;
  }

  .gallery-stage-wrap {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 8px;
    padding: 10px;
  }

  .gallery-stage {
    min-height: 360px;
    border-radius: 18px;
  }

  .gallery-image {
    min-height: 360px;
  }

  .gallery-meta,
  .order-form,
  .order-summary {
    padding: 20px;
  }

  .gallery-meta h2 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  .gallery-arrow {
    min-width: 44px;
    min-height: 44px;
  }

  .hero-copy,
  .hero-card,
  .story-copy,
  .aside-panel,
  .order-form,
  .order-summary {
    padding: 24px;
  }

  .brand span {
    font-size: 0.92rem;
    letter-spacing: 0.08em;
  }

  .site-nav {
    justify-content: space-between;
    gap: 0;
    min-height: 34px;
    width: 100%;
    padding: 0 6px;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .site-nav a {
    padding: 5px 8px;
    font-size: 0.9rem;
  }

  .mobile-cart-link {
    position: relative;
  }

  .mobile-cart-link .cart-link-count {
    top: -1px;
    right: -8px;
    min-width: 15px;
    height: 15px;
    font-size: 0.62rem;
  }

  .site-nav a + a::before {
    display: none;
  }

  .site-header {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand brand brand"
      "nav nav nav";
    align-items: center;
    justify-items: center;
    width: min(100% - 24px, 1220px);
    column-gap: 5px;
    row-gap: 0;
    padding: 10px 12px 7px;
    border-radius: 18px;
    z-index: 1;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(251, 248, 242, 0.8));
    box-shadow: 0 18px 44px rgba(24, 22, 18, 0.07);
    transition:
      transform 1.42s cubic-bezier(0.12, 1, 0.24, 1),
      opacity 0.82s ease,
      background 0.82s ease;
  }

  .site-header::after {
    left: 18px;
    right: 18px;
    background: linear-gradient(
      90deg,
      rgba(180, 147, 88, 0) 0%,
      rgba(180, 147, 88, 0.08) 18%,
      rgba(180, 147, 88, 0.04) 50%,
      rgba(180, 147, 88, 0.08) 82%,
      rgba(180, 147, 88, 0) 100%
    );
  }

  .header-shell {
    height: 118px;
    background: transparent;
    background-color: transparent;
    -webkit-mask-image: none;
    mask-image: none;
    transition:
      transform 1.42s cubic-bezier(0.12, 1, 0.24, 1),
      opacity 0.82s ease;
    will-change: transform, opacity;
  }

  .header-shell.is-mobile-hidden {
    transform: translate3d(0, calc(-100% - 32px), 0);
    opacity: 0;
  }

  .header-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at top left, rgba(180, 147, 88, 0.08), transparent 28%),
      linear-gradient(180deg, rgba(255, 254, 251, 0.94) 0%, rgba(255, 255, 255, 0.9) 18%, rgba(255, 255, 255, 0.76) 100%);
    background-color: rgba(255, 255, 255, 0.76);
    background-repeat: no-repeat;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 68%, rgba(0, 0, 0, 0.18) 84%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 68%, rgba(0, 0, 0, 0.18) 84%, transparent 100%);
    pointer-events: none;
    transition: opacity 0.28s ease;
  }

  .header-shell.is-mobile-hidden::before {
    opacity: 0;
  }

  .header-shell.is-mobile-hidden .site-header {
    opacity: 0.08;
  }

  .brand {
    grid-area: brand;
    gap: 6px;
    font-size: 0.92rem;
    letter-spacing: 0.07em;
    justify-self: center;
  }

  .brand img {
    width: 62px;
    height: 62px;
  }

  .header-cart {
    display: none;
    grid-area: cart;
    min-height: 34px;
    padding: 5px 8px;
    font-size: 0.9rem;
    justify-self: start;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav {
    grid-area: nav;
    justify-self: stretch;
    transform: translateY(-5px);
  }

  .mobile-cart-link {
    display: inline-flex;
  }

  .site-footer {
    margin-top: 32px;
    padding: 0;
  }

  .product-visual.is-swipe-gallery {
    touch-action: pan-y;
  }

  .product-visual.is-swipe-gallery .product-visual-dots {
    display: inline-flex;
  }

  .product-visual.is-swipe-gallery .product-visual-media {
    will-change: transform, opacity;
  }

  .product-visual.is-swipe-gallery.is-revealing-next .product-visual-media {
    animation: product-card-reveal-next-mobile 0.68s cubic-bezier(0.16, 0.92, 0.24, 1);
  }

  .product-visual.is-swipe-gallery.is-revealing-prev .product-visual-media {
    animation: product-card-reveal-prev-mobile 0.68s cubic-bezier(0.16, 0.92, 0.24, 1);
  }

  .contact-email {
    font-size: clamp(0.94rem, 4.55vw, 1.18rem);
    line-height: 1.22;
    letter-spacing: -0.01em;
    overflow-wrap: normal;
    word-break: normal;
    white-space: nowrap;
  }

  .consent-overlay {
    padding: 16px;
  }

  .consent-dialog {
    padding: 24px;
    border-radius: 24px;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-radius: 18px;
  }

  .cookie-banner-actions .button {
    width: 100%;
  }

  .story-section,
  .collection-section,
  .order-section,
  .contacts-section {
    position: relative;
    margin-top: 36px;
  }

  .section-heading {
    margin-bottom: 14px;
  }

  .hero {
    padding: 26px 0 18px;
    gap: 16px;
  }

  .consent-dialog h2,
  .hero h1,
  .section-heading h2,
  .success-copy h2,
  .gallery-meta h2 {
    font-size: clamp(1.78rem, 7.6vw, 3.05rem);
    line-height: 1.03;
    letter-spacing: -0.028em;
  }

  .quote-line {
    font-size: clamp(1.78rem, 7.6vw, 3.05rem);
  }

  .hero-text {
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.78;
  }

  .hero-actions {
    flex-wrap: nowrap;
    gap: 10px;
    margin-top: 24px;
  }

  .hero-actions .button {
    min-height: 48px;
    padding: 0 16px;
    white-space: nowrap;
    font-size: 0.96rem;
  }

  .hero-copy,
  .hero-card,
  .intro-grid article,
  .story-copy,
  .aside-panel,
  .product-card,
  .cart-panel,
  .contacts-card {
    position: relative;
    transform-origin: 50% 50%;
    box-shadow:
      0 18px 42px rgba(24, 22, 18, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.7);
  }

  .hero-copy {
    background:
      linear-gradient(145deg, rgba(180, 147, 88, 0.08), rgba(255, 255, 255, 0) 42%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(251, 248, 242, 0.965));
  }

  .hero-card {
    background:
      radial-gradient(circle at top right, rgba(180, 147, 88, 0.12), transparent 52%),
      linear-gradient(180deg, rgba(252, 249, 243, 0.985), rgba(247, 241, 231, 0.95));
  }

  .hero-card blockquote {
    font-size: clamp(1.9rem, 8.2vw, 2.5rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
  }

  .intro-grid {
    gap: 14px;
    margin: 2px 0 36px;
  }

  .story-aside {
    gap: 14px;
  }

  .collection-grid {
    gap: 16px;
  }

  .product-card {
    border-radius: 24px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.992), rgba(251, 248, 242, 0.968));
    overflow: hidden;
  }

  .hero-copy::before,
  .hero-card::before,
  .story-copy::before,
  .aside-panel::before,
  .cart-panel::before,
  .contacts-card::before,
  .intro-grid article::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0)),
      radial-gradient(circle at top right, rgba(180, 147, 88, 0.08), transparent 46%);
    pointer-events: none;
  }

  .product-visual {
    min-height: 390px;
    background:
      radial-gradient(circle at top center, rgba(180, 147, 88, 0.08), transparent 52%),
      linear-gradient(180deg, #fbf8f1, #f4ecdf);
  }

  .product-body {
    padding: 22px 20px 20px;
  }

  .product-meta h3 {
    font-size: 1.05rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
  }

  .product-body p {
    line-height: 1.76;
  }

  .product-specs {
    gap: 8px;
    margin: 14px 0 16px;
  }

  .product-specs span {
    padding: 8px 11px;
    background: rgba(247, 242, 234, 0.95);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  }

  .product-footer {
    padding-top: 14px;
  }

  .product-footer strong {
    font-size: 1.65rem;
    letter-spacing: -0.03em;
  }

  .product-footer .button-small {
    min-height: 46px;
    padding: 0 18px;
  }

  .scroll-reveal {
    opacity: 0;
    transform: translate3d(0, 46px, 0) scale(0.978);
    filter: blur(20px);
    transition:
      opacity 1.12s cubic-bezier(0.22, 1, 0.36, 1),
      transform 1.24s cubic-bezier(0.22, 1, 0.36, 1),
      filter 1.08s ease;
  }

  .scroll-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }

  .product-card.scroll-reveal {
    filter: none;
    transform: translate3d(0, 30px, 0) scale(0.99);
  }

  .product-card.scroll-reveal.is-visible {
    filter: none;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@supports (-webkit-touch-callout: none) {
  @media (max-width: 640px) {
    .header-shell {
      background:
        radial-gradient(circle at top left, rgba(180, 147, 88, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(255, 254, 251, 0.94) 0%, rgba(255, 255, 255, 0.9) 18%, rgba(255, 255, 255, 0.76) 100%);
      background-color: rgba(255, 255, 255, 0.76);
      background-repeat: no-repeat;
      isolation: isolate;
    }

    .header-shell::before {
      inset: 0 0 12px 0;
      background:
        radial-gradient(circle at top left, rgba(180, 147, 88, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(255, 254, 251, 0.94) 0%, rgba(255, 255, 255, 0.9) 18%, rgba(255, 255, 255, 0.76) 100%);
      background-color: rgba(255, 255, 255, 0.76);
      background-repeat: no-repeat;
      -webkit-mask-image: none;
      mask-image: none;
      opacity: 1;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .scroll-reveal,
  .scroll-reveal.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}
