:root {
  --paper: #f7f5f0;
  --paper-soft: #eeebe4;
  --ink: #161514;
  --muted: #6f6b64;
  --line: rgba(22, 21, 20, 0.14);
  --gold: #b8995d;
  --forest: #193a34;
  --rose: #9d645f;
  --blue: #516f8c;
  --white: #fffdf9;
  --shadow: 0 24px 70px rgba(22, 21, 20, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Manrope, Arial, sans-serif;
  min-height: 100vh;
}

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

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

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #111;
  background: white;
}

.header-top {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  gap: 22px;
  min-height: 74px;
  padding: 10px clamp(18px, 3vw, 34px);
}

.contact-line {
  display: grid;
  gap: 2px;
  color: #111;
  font-size: 12px;
  line-height: 1.15;
}

.contact-line strong,
.contact-line a {
  font-weight: 800;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #111;
  line-height: 1;
}

.brand-mark {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: white;
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.brand strong,
.hero-title,
h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.brand-name {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(34px, 3vw, 48px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
}

.brand-rule {
  position: relative;
  display: block;
  min-width: 250px;
  margin-top: -1px;
  color: #111;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 16px;
  font-style: italic;
  text-align: left;
}

.main-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  min-height: 32px;
  background: #050505;
  color: white;
}

.main-nav a,
.main-nav span {
  display: grid;
  place-items: center;
  color: white;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 9px 12px;
  text-align: center;
  text-transform: uppercase;
  transition: 180ms ease;
}

.main-nav span {
  background: #d7edf7;
  color: #111;
}

.main-nav a:hover,
.main-nav a.active {
  background: #1d1d1d;
  color: white;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.language-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0;
  background: white;
}

.language-switch button {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  min-width: 38px;
  padding: 7px 9px;
}

.language-switch button.active {
  outline: 1px solid #111;
  background: white;
  color: #111;
}

.icon-button,
.wish-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 22px;
  transition: transform 160ms ease, background 160ms ease;
}

.icon-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.icon-button:hover,
.wish-toggle:hover {
  transform: translateY(-1px);
  background: transparent;
}

.icon-button b {
  position: absolute;
  right: -3px;
  top: -3px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--rose);
  color: white;
  font-size: 11px;
}

.page {
  animation: pageIn 420ms ease both;
}

@keyframes pageIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero {
  position: relative;
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.hero::before {
  display: none;
}

.hero-copy {
  display: none;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-title {
  max-width: 820px;
  margin: 0;
  font-size: clamp(58px, 9vw, 142px);
  line-height: 0.84;
  letter-spacing: 0;
}

.hero-title span {
  display: block;
  color: var(--forest);
}

.hero-text {
  max-width: 620px;
  margin: 26px 0 0;
  color: #504c46;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.7;
}

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

.primary-button,
.secondary-button,
.add-button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  padding: 12px 18px;
  transition: transform 190ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 190ms ease, background 190ms ease, color 190ms ease, border-color 190ms ease;
}

.primary-button,
.add-button {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(22, 21, 20, 0.16);
}

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

.primary-button:hover,
.secondary-button:hover,
.add-button:hover {
  transform: translateY(-2px);
}

.primary-button:disabled,
.add-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.hero-visual {
  display: none;
}

.home-mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: calc(100vh - 108px);
}

.mosaic-tile {
  position: relative;
  display: grid;
  place-items: end center;
  overflow: hidden;
  min-height: 620px;
  background: #e9e9e9;
}

.mosaic-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.38)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.18), transparent 42%, rgba(0, 0, 0, 0.16));
  pointer-events: none;
}

.mosaic-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 760ms cubic-bezier(0.22, 1, 0.36, 1), filter 760ms ease;
  filter: brightness(0.78) saturate(0.96);
}

.mosaic-tile:nth-child(1) img {
  object-fit: cover;
  object-position: 0% center;
  padding: 0;
  background: #efeae2;
}

.mosaic-tile:nth-child(2) img {
  object-fit: cover;
  object-position: 50% center;
  padding: 0;
  background: #efeae2;
}

.mosaic-tile:nth-child(3) img {
  object-fit: cover;
  object-position: 100% center;
  padding: 0;
  background: #efeae2;
}

.mosaic-tile:hover img {
  transform: scale(1.045);
  filter: brightness(0.86) saturate(1.02);
}

.mosaic-tile span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: min(68%, 300px);
  min-height: 58px;
  margin-bottom: 48px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(17, 17, 17, 0.64);
  backdrop-filter: blur(14px);
  color: white;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), background 260ms ease, border-color 260ms ease;
}

.mosaic-tile:hover span {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.86);
  background: rgba(17, 17, 17, 0.74);
}

.request-feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  border-radius: 18px;
  background: #f8f8f8;
}

.request-feature .request-box {
  margin-top: 0;
  padding: 28px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(247, 242, 234, 0.88)),
    url("/assets/hero-perfume-lifestyle.png") center / cover;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.08);
}

.request-feature-copy h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 66px);
  line-height: 0.94;
}

.request-feature-copy p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.7;
}

.logo-orbit {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(22, 21, 20, 0.1);
  transform: rotate(-8deg);
}

.hero-logo {
  position: relative;
  width: min(84%, 520px);
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: white;
  border-radius: 50%;
  border: 1px solid rgba(22, 21, 20, 0.12);
  box-shadow: var(--shadow);
}

.hero-card {
  position: absolute;
  right: 0;
  bottom: 18px;
  width: min(310px, 74%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.84);
  box-shadow: var(--shadow);
  padding: 18px;
  backdrop-filter: blur(16px);
}

.hero-card strong {
  display: block;
  font-size: 28px;
  margin-bottom: 4px;
}

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

.section {
  padding: clamp(34px, 6vw, 72px) clamp(20px, 5vw, 76px);
}

.page.section {
  width: min(1480px, 100%);
  margin-inline: auto;
}

.section.alt {
  background: rgba(255, 255, 255, 0.46);
  border-block: 1px solid rgba(22, 21, 20, 0.08);
}

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

.section-head h1,
.section-head h2 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 54px);
  line-height: 0.95;
}

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

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

.benefit {
  min-height: 174px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.62);
  padding: 18px;
}

.benefit b {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--forest);
  color: white;
  margin-bottom: 18px;
}

.benefit h3 {
  margin: 0 0 8px;
  font-size: 26px;
}

.benefit p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.catalog-shell {
  padding: 34px clamp(16px, 4vw, 56px) 80px;
  width: min(1580px, 100%);
  margin-inline: auto;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.filters {
  position: sticky;
  top: 118px;
  border: 0;
  border-radius: 0;
  background: white;
  box-shadow: none;
  padding: 0;
}

.filters h2 {
  margin: 0 0 14px;
  font-family: Manrope, Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.field label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea,
.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  outline: none;
  padding: 14px 14px;
  transition: border 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.checkout-form input:focus,
.checkout-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(184, 153, 93, 0.14);
}

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

.chip {
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  background: rgba(247, 247, 247, 0.82);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  padding: 9px 12px;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.chip.active {
  border-color: #111;
  background: #111;
  color: white;
}

.chip:hover {
  transform: translateY(-1px);
  border-color: rgba(17, 17, 17, 0.28);
  color: #111;
}

.chip.active:hover {
  color: #111;
  background: #d7edf7;
}

.request-box {
  position: relative;
  margin-top: 26px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, #f7f3ed);
  padding: 18px;
}

.request-box h3 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.05;
}

.request-box p,
.form-status {
  color: var(--muted);
  line-height: 1.55;
}

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

.request-box input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
  color: #111;
  outline: none;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  transition: border 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.request-box input::placeholder {
  color: rgba(17, 17, 17, 0.45);
  font-weight: 500;
}

.request-box input:focus {
  border-color: rgba(17, 17, 17, 0.38);
  background: white;
  box-shadow: 0 0 0 4px rgba(184, 153, 93, 0.12), 0 14px 34px rgba(0, 0, 0, 0.08);
}

.request-box form input[name="email"],
.request-box form .primary-button,
.request-box form .form-status {
  grid-column: 1 / -1;
}

.request-box form .primary-button {
  min-height: 54px;
  margin-top: 2px;
  border-radius: 999px;
}

.request-box .primary-button {
  width: 100%;
}

.catalog-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.catalog-tools p {
  margin: 0;
  color: var(--muted);
}

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

.featured-grid {
  grid-template-columns: repeat(5, minmax(180px, 236px));
  justify-content: center;
}

#wishlistGrid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 236px));
  justify-content: start;
}

.product-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: white;
  box-shadow: none;
  animation: cardIn 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--card-index, 0) * 24ms);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), filter 220ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: none;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wish-toggle {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 999px;
  background: white;
  color: #111;
  font-size: 0;
  box-shadow: 0 10px 22px rgba(17, 17, 17, 0.08);
  transition: transform 190ms cubic-bezier(0.22, 1, 0.36, 1), background 190ms ease, color 190ms ease, border-color 190ms ease, box-shadow 190ms ease;
}

.wish-toggle svg,
.heart-svg {
  width: 22px;
  height: 22px;
  fill: transparent;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: fill 180ms ease, transform 180ms ease;
}

.wish-toggle.active {
  background: #c8193c;
  color: white;
  border-color: #c8193c;
  box-shadow: 0 14px 30px rgba(200, 25, 60, 0.28);
}

.wish-toggle.active svg {
  fill: currentColor;
}

.wish-toggle:hover {
  transform: translateY(-2px) scale(1.02);
}

.wish-toggle.wish-pop {
  animation: wishPop 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes wishPop {
  0% {
    transform: scale(0.9);
  }
  55% {
    transform: scale(1.16);
  }
  100% {
    transform: scale(1);
  }
}

.product-image-link {
  display: block;
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, #fafafa, #f4f4f4);
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: 18px;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), filter 520ms ease;
}

.product-card:hover .product-image {
  transform: scale(1.045);
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.12));
}

.product-info {
  display: grid;
  gap: 5px;
  padding: 14px 0 0;
}

.product-brand {
  margin: 0;
  color: #111;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-name {
  margin: 0;
  font-family: Manrope, Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
}

.product-notes {
  margin: 0;
  min-height: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.product-bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 8px;
}

.size-picker {
  --active-index: 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  padding: 3px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 999px;
  background: #f2f2f2;
  overflow: hidden;
}

.size-thumb {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc((100% - 6px) / 5);
  border-radius: 999px;
  background: #111;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  transform: translateX(calc(var(--active-index) * 100%));
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.size-pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #454545;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  outline: none;
  transition: color 170ms ease;
}

.size-pill:focus {
  outline: none;
}

.size-pill:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(184, 153, 93, 0.45);
}

.size-pill::after {
  content: none;
}

.size-pill:hover,
.size-pill.active {
  color: white;
}

.product-price {
  min-height: 28px;
  color: #111;
  font-size: 18px;
  font-weight: 800;
}

.buy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 10px;
  align-items: center;
  background: transparent;
  overflow: visible;
}

.size-select {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #f6f6f6;
  color: var(--ink);
  padding: 0 10px;
  min-height: 32px;
  font-size: 12px;
  font-weight: 800;
}

.add-button {
  min-width: 0;
  min-height: 48px;
  border-radius: 999px;
  background: #111;
  color: white;
  border-color: #111;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

@media (min-width: 1500px) {
  .product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .featured-grid,
  #wishlistGrid {
    grid-template-columns: repeat(5, minmax(180px, 236px));
  }
}

.add-button:hover {
  background: #b8995d;
  border-color: #b8995d;
  color: white;
  box-shadow: 0 16px 34px rgba(184, 153, 93, 0.28);
}

.detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 68px);
  padding: clamp(28px, 5vw, 74px);
}

.detail img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.product-page {
  background: #fff;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  width: min(1480px, 100%);
  margin-inline: auto;
  padding: 20px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs a {
  color: #263f52;
}

.breadcrumbs b {
  color: var(--ink);
  font-weight: 700;
}

.product-detail-shell {
  display: grid;
  grid-template-columns: minmax(520px, 760px) minmax(390px, 500px);
  gap: clamp(30px, 4vw, 62px);
  align-items: start;
  width: min(1480px, 100%);
  margin-inline: auto;
  padding: clamp(34px, 5vw, 70px) clamp(20px, 4vw, 56px) 28px;
}

.product-gallery {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 34px);
  min-height: clamp(500px, 42vw, 640px);
}

.thumb-rail {
  display: grid;
  align-content: start;
  gap: 12px;
}

.thumb {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 8px;
  background: white;
  padding: 5px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.thumb.active,
.thumb:hover {
  border-color: #111;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(500px, 42vw, 640px);
  background:
    radial-gradient(circle at 50% 42%, rgba(184, 153, 93, 0.1), transparent 34%),
    linear-gradient(180deg, #fbfbfb, #f5f3ef);
  overflow: hidden;
}

.product-stage::after {
  content: "";
  position: absolute;
  inset: auto 14% 9% 14%;
  height: 16px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.14);
  filter: blur(14px);
}

.product-stage img {
  position: relative;
  z-index: 1;
  width: min(58%, 430px);
  max-height: 70%;
  object-fit: contain;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.14));
  animation: productFloat 5.2s ease-in-out infinite;
}

.product-stage img.image-swap {
  animation: imageSwap 260ms ease both, productFloat 5.2s ease-in-out 260ms infinite;
}

@keyframes imageSwap {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes productFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.delivery-pill {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: 22px;
  display: inline-grid;
  place-items: center;
  min-height: 34px;
  border-radius: 999px;
  background: #050505;
  color: white;
  font-size: 13px;
  font-weight: 900;
  padding: 0 14px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.delivery-pill.mini {
  top: 8px;
  right: auto;
  left: 0;
  min-height: 28px;
  font-size: 12px;
  padding: 0 11px;
}

.purchase-card {
  position: sticky;
  top: 128px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(250, 247, 241, 0.92));
  padding: clamp(24px, 3vw, 34px);
  box-shadow: 0 28px 80px rgba(22, 21, 20, 0.12);
}

.purchase-card h1 {
  margin: 0;
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.08;
  text-transform: uppercase;
}

.rating-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  margin: 14px 0;
  color: var(--muted);
  font-size: 12px;
}

.stars {
  color: #a9a9a9;
  font-size: 24px;
  letter-spacing: 0;
}

.text-link,
.sample-link {
  border: 0;
  background: transparent;
  color: #111;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.detail-price {
  margin: 8px 0 18px;
  font-size: 34px;
  font-weight: 900;
}

.sample-intro {
  border-top: 1px solid rgba(17, 17, 17, 0.1);
  padding-top: 18px;
}

.sample-intro h2,
.delivery-box h2 {
  margin: 0 0 8px;
  font-family: Manrope, Arial, sans-serif;
  font-size: 14px;
  text-transform: uppercase;
}

.sample-intro p,
.assurance-list p,
.delivery-box span {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.sample-size-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin: 18px 0 10px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-size-picker {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.detail-size-pill {
  display: grid;
  gap: 2px;
  min-height: 54px;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  padding: 8px 6px;
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease, background 170ms ease;
}

.detail-size-pill b {
  font-size: 13px;
}

.detail-size-pill span {
  color: var(--muted);
  font-size: 12px;
}

.detail-size-pill.active,
.detail-size-pill:hover {
  border-color: #111;
  background: #111;
  color: white;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
  transform: translateY(-2px);
}

.detail-size-pill.active span,
.detail-size-pill:hover span {
  color: rgba(255, 255, 255, 0.72);
}

.assurance-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 14px;
}

.assurance-list div {
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  padding-top: 12px;
}

.assurance-list b {
  display: block;
  color: #b88932;
  font-size: 13px;
  text-transform: uppercase;
}

.sample-link {
  width: 100%;
  margin: 4px 0 20px;
  text-transform: uppercase;
  font-size: 12px;
}

.detail-actions .detail-add {
  min-height: 54px;
  flex: 1 1 auto;
  border-radius: 10px;
  text-transform: uppercase;
}

.detail-wish {
  width: 54px;
  height: 54px;
}

.purchase-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 17, 17, 0.1);
}

.purchase-badges div {
  display: grid;
  gap: 4px;
  align-content: start;
  min-height: 72px;
}

.purchase-badges b {
  font-size: 18px;
}

.purchase-badges span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.delivery-box {
  margin-top: 20px;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
  padding-top: 16px;
}

.delivery-box div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 12px;
  padding: 12px 0;
  border-bottom: 1px dotted rgba(17, 17, 17, 0.28);
}

.delivery-box b {
  font-size: 12px;
  text-transform: uppercase;
}

.delivery-box span {
  grid-column: 1;
}

.delivery-box strong {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: end;
  font-size: 12px;
}

.product-tabs-section {
  width: min(1480px, 100%);
  margin-inline: auto;
  padding: 22px clamp(20px, 4vw, 56px) 50px;
}

.product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.product-tabs button {
  min-width: 122px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #3d3d3d;
  font-size: 16px;
  font-weight: 900;
  padding: 18px 14px 14px;
  transition: color 160ms ease, border-color 160ms ease;
}

.product-tabs button.active,
.product-tabs button:hover {
  color: #000;
  border-color: #111;
}

.tab-panel {
  display: none;
  max-width: 1100px;
  padding: 28px 0 0;
  animation: tabIn 260ms ease both;
}

.tab-panel.active {
  display: block;
}

@keyframes tabIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-panel h3 {
  margin: 28px 0 12px;
  font-family: Manrope, Arial, sans-serif;
  font-size: 17px;
}

.tab-panel p {
  color: #111;
  font-size: 14px;
  line-height: 1.75;
}

.spec-lines {
  border-top: 1px solid rgba(17, 17, 17, 0.1);
}

.spec-lines p {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

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

.property-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.property-line::before {
  content: "";
  grid-column: 1 / -1;
  grid-row: 1;
  align-self: center;
  border-bottom: 1px dotted rgba(17, 17, 17, 0.28);
}

.property-line span,
.property-line b {
  position: relative;
  z-index: 1;
  background: white;
}

.property-line span {
  color: var(--muted);
  padding-right: 8px;
}

.property-line b {
  justify-self: end;
  padding-left: 8px;
}

.reviews-panel {
  display: none;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: center;
  min-height: 210px;
}

.reviews-panel.active {
  display: grid;
}

.reviews-panel > p {
  color: #b8b8b8;
  text-align: center;
}

.review-card {
  border-radius: 18px;
  background: #f6f6f6;
  padding: 28px;
  text-align: center;
}

.review-card h3 {
  margin-top: 0;
  font-size: 24px;
}

.sample-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17, 17, 17, 0);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, background 220ms ease;
}

.sample-modal.open {
  opacity: 1;
  pointer-events: auto;
  background: rgba(17, 17, 17, 0.38);
}

.sample-modal-panel {
  position: relative;
  width: min(520px, 100%);
  border-radius: 18px;
  background: white;
  padding: 30px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.22);
  transform: translateY(18px) scale(0.98);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sample-modal.open .sample-modal-panel {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #f2f2f2;
  font-size: 24px;
}

.sample-modal-panel h2,
.sample-modal-panel h3 {
  margin: 0 0 12px;
  font-family: Manrope, Arial, sans-serif;
}

.sample-modal-panel p {
  color: #222;
  line-height: 1.45;
}

.related-section {
  overflow: hidden;
  padding: 44px clamp(20px, 4vw, 56px) 70px;
  background: #f7f7f7;
}

.related-section h2,
.related-carousel,
.service-strip {
  width: min(1480px, 100%);
}

.related-section h2 {
  margin: 0 auto 28px;
  color: #06101f;
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  text-transform: uppercase;
}

.related-carousel {
  position: relative;
  margin-inline: auto;
}

.related-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 15vw);
  gap: 28px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 4px 28px;
}

.related-track::-webkit-scrollbar {
  display: none;
}

.related-card {
  position: relative;
  display: grid;
  gap: 7px;
  align-content: start;
  min-height: 430px;
}

.related-card img {
  width: 100%;
  aspect-ratio: 1 / 1.12;
  object-fit: contain;
  background: #fff;
  padding: 18px;
  transition: transform 300ms ease, filter 300ms ease;
}

.related-card:hover img {
  transform: translateY(-4px) scale(1.03);
  filter: drop-shadow(0 15px 18px rgba(0, 0, 0, 0.14));
}

.related-card small {
  justify-self: start;
  border-radius: 4px;
  background: #eee8e0;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.related-card b,
.related-card strong {
  font-size: 15px;
}

.related-card p {
  min-height: 40px;
  margin: 0;
  color: #444;
  font-size: 14px;
  line-height: 1.3;
}

.carousel-arrow {
  position: absolute;
  z-index: 2;
  top: 34%;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: white;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.12);
  font-size: 34px;
  line-height: 1;
}

.carousel-arrow[data-carousel-prev] {
  left: -22px;
}

.carousel-arrow[data-carousel-next] {
  right: -22px;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin: 26px auto 0;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  padding-top: 26px;
}

.service-strip div {
  display: grid;
  justify-items: center;
  text-align: center;
}

.service-strip b {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #050505;
  color: white;
}

.service-strip strong {
  margin-bottom: 4px;
}

.service-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.detail-copy h1 {
  margin: 0;
  font-size: clamp(48px, 6vw, 86px);
  line-height: 0.92;
}

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

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

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

.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.72);
  padding: clamp(18px, 3vw, 28px);
}

.info-card h2,
.info-card h3 {
  margin: 0 0 10px;
  font-size: 34px;
}

.info-card p,
.info-card li {
  color: var(--muted);
  line-height: 1.7;
}

.info-card ul {
  padding-left: 18px;
}

.empty {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  color: var(--muted);
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  background: rgba(22, 21, 20, 0);
  transition: background 180ms ease;
}

.cart-drawer.open {
  pointer-events: auto;
  background: rgba(22, 21, 20, 0.32);
}

.cart-panel {
  position: absolute;
  inset: 0 0 0 auto;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  width: min(500px, 100%);
  background: #fff;
  box-shadow: -24px 0 70px rgba(0, 0, 0, 0.18);
  transform: translateX(104%);
  transition: transform 220ms ease;
}

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

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.drawer-head h2 {
  margin: 0;
  font-size: 40px;
}

.cart-items {
  overflow: auto;
  padding: 10px 24px;
}

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

.cart-line img {
  width: 68px;
  height: 82px;
  object-fit: contain;
  border-radius: 8px;
  background: #f7f7f7;
}

.cart-line h3 {
  margin: 0;
  font-family: Manrope, Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.cart-line p {
  margin: 4px 0;
  color: var(--muted);
  font-size: 13px;
}

.quantity {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}

.quantity button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: white;
}

.remove-line {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
}

.cart-meter {
  border-top: 1px solid var(--line);
  padding: 18px 24px;
}

.meter-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.meter-track {
  height: 8px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(22, 21, 20, 0.12);
}

.meter-track span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--rose), var(--gold), var(--forest));
}

.shipping-note {
  color: var(--forest);
  font-size: 13px;
  font-weight: 700;
  margin-top: 8px;
}

.checkout-form {
  display: grid;
  gap: 9px;
  padding: 0 24px 24px;
}

.compact-checkout .primary-button {
  min-height: 52px;
  border-radius: 0;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
}

.checkout-details,
.checkout-summary {
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 8px;
  background: white;
  padding: 24px;
}

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

.checkout-details input,
.checkout-details select,
.checkout-details textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 8px;
  background: #fff;
  padding: 0 14px;
  outline: none;
}

.checkout-details textarea,
.checkout-details .primary-button,
.checkout-details .form-status {
  grid-column: 1 / -1;
}

.checkout-line,
.checkout-total {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
}

.checkout-total {
  border-bottom: 0;
  font-size: 18px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  font-size: 13px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px clamp(20px, 5vw, 76px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 1120px) {
  .header-top {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .header-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .catalog-layout,
  .detail,
  .product-detail-shell,
  .request-feature {
    grid-template-columns: 1fr;
  }

  .purchase-card {
    position: static;
  }

  .product-gallery {
    min-height: auto;
  }

  .product-stage {
    min-height: 520px;
  }

  .home-mosaic {
    min-height: auto;
  }

  .mosaic-tile {
    min-height: 520px;
  }

  .filters {
    position: static;
  }

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

@media (max-width: 720px) {
  .header-top {
    padding: 14px;
    gap: 12px;
  }

  .brand-name {
    font-size: 34px;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .main-nav a,
  .main-nav span {
    text-align: center;
    padding: 9px 6px;
    font-size: 11px;
  }

  .home-mosaic {
    grid-template-columns: 1fr;
  }

  .mosaic-tile {
    min-height: 420px;
  }

  .mosaic-tile span {
    margin-bottom: 28px;
  }

  .section-head {
    display: grid;
  }

  .request-box form {
    grid-template-columns: 1fr;
  }

  .benefits,
  .info-grid,
  .property-grid,
  .reviews-panel.active,
  .service-strip,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-shell {
    padding-inline: 14px;
  }

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

  .thumb-rail {
    grid-template-columns: repeat(2, 58px);
    grid-auto-flow: column;
  }

  .product-stage {
    min-height: 390px;
  }

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

  .purchase-badges {
    grid-template-columns: 1fr;
  }

  .product-tabs button {
    min-width: 50%;
  }

  .related-track {
    grid-auto-columns: minmax(210px, 74vw);
  }

  .carousel-arrow {
    display: none;
  }

  .catalog-tools {
    display: grid;
  }

  .product-bottom {
    grid-template-columns: 1fr;
  }

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