:root {
  --ink: #16120f;
  --muted: #76695f;
  --paper: #f8f2e8;
  --ivory: #fffdf8;
  --line: #e1d4c4;
  --gold: #c99b52;
  --burgundy: #682132;
  --sage: #697162;
  --charcoal: #302927;
  --shadow: rgba(44, 34, 27, 0.16);
  --deep: #0f0c0a;
  --cream: #f3e8d8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fffaf2 0%, var(--paper) 38%, #efe3d3 100%);
  font-family: Avenir, "Helvetica Neue", Arial, sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 242, 0.92);
  border-bottom: 1px solid rgba(221, 209, 195, 0.8);
  backdrop-filter: blur(18px);
}

.brand,
.main-nav,
.header-actions,
.site-footer div {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.brand-logo {
  width: 50px;
  height: 50px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  background: #050505;
  box-shadow: 0 8px 18px rgba(34, 26, 20, 0.16);
}

.main-nav {
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.nav-action {
  justify-self: end;
  padding: 11px 17px;
  border: 1px solid rgba(22, 18, 15, 0.82);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.header-actions {
  justify-self: end;
  gap: 10px;
}

.whatsapp-action,
.whatsapp-button {
  border-color: #1f6f45;
  color: var(--ivory);
  background: #1f6f45;
}

.floating-cart {
  position: fixed;
  top: 92px;
  right: clamp(14px, 3vw, 34px);
  z-index: 30;
  width: min(210px, calc(100vw - 28px));
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(22, 18, 15, 0.84);
  border-radius: 8px;
  background: rgba(22, 18, 15, 0.94);
  color: var(--ivory);
  box-shadow: 0 18px 42px rgba(34, 26, 20, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.floating-cart:hover,
.floating-cart.has-items {
  background: var(--burgundy);
  box-shadow: 0 22px 48px rgba(104, 33, 50, 0.28);
  transform: translateY(-2px);
}

.floating-cart.is-pulsing {
  animation: cartPulse 800ms ease;
}

.floating-cart-kicker {
  color: #f4d69a;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.floating-cart strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1;
}

.floating-cart > span:last-child {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes cartPulse {
  0% {
    transform: scale(1);
  }

  42% {
    transform: scale(1.06);
  }

  100% {
    transform: scale(1);
  }
}

.hero {
  min-height: calc(100vh - 75px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(42px, 7vw, 90px) clamp(18px, 5vw, 72px) clamp(52px, 6vw, 84px);
}

.hero-copy {
  max-width: 650px;
}

.hero-logo {
  width: clamp(86px, 10vw, 132px);
  height: clamp(86px, 10vw, 132px);
  margin-bottom: 24px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  object-fit: cover;
  background: #050505;
  box-shadow: 0 20px 40px rgba(34, 26, 20, 0.18);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--burgundy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 0.96;
  overflow-wrap: normal;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.6rem, 7.4vw, 7.2rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2.35rem, 5.4vw, 5rem);
}

h3 {
  font-size: 1.35rem;
  line-height: 1.08;
}

p {
  overflow-wrap: anywhere;
}

.hero-text {
  max-width: 560px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.7;
}

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

.promo-banner {
  display: grid;
  gap: 8px;
  max-width: 520px;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(201, 155, 82, 0.54);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 253, 248, 0.9), rgba(243, 232, 216, 0.78));
  box-shadow: 0 18px 38px rgba(52, 42, 35, 0.09);
}

.promo-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.promo-banner > strong {
  color: var(--burgundy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1;
}

.promo-banner > span,
.promo-banner > small {
  color: var(--muted);
  line-height: 1.5;
}

.promo-banner > small {
  font-size: 0.78rem;
  font-weight: 800;
}

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

.countdown div {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 10px 8px;
  border: 1px solid rgba(201, 155, 82, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
  text-align: center;
}

.countdown strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  line-height: 1;
}

.countdown span {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button,
.clear-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border: 1px solid rgba(22, 18, 15, 0.78);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.button.primary {
  color: var(--ivory);
  background: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.7);
}

.button.whatsapp-button {
  color: var(--ivory);
}

.hero-image {
  min-height: 58vh;
  overflow: hidden;
  border-radius: 18px;
  background: #eadfd3;
  box-shadow: 0 30px 70px var(--shadow);
}

.hero-image img {
  width: 100%;
  height: 100%;
  min-height: 58vh;
  object-fit: cover;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-band article {
  min-height: 150px;
  padding: clamp(22px, 3vw, 34px);
  background: rgba(255, 253, 248, 0.86);
}

.proof-band strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.05;
}

.proof-band p {
  max-width: 420px;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.metrics article {
  padding: 24px clamp(16px, 3vw, 28px);
  background: var(--ivory);
}

.metrics strong {
  display: block;
  color: var(--burgundy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.metrics span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand-strip,
.catalogue-section,
.cart-section,
.source-section {
  padding: clamp(62px, 9vw, 112px) clamp(18px, 5vw, 72px);
}

.section-heading,
.catalogue-heading {
  max-width: 980px;
}

.brand-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.brand-pill {
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--charcoal);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-pill.is-active {
  border-color: var(--burgundy);
  color: var(--ivory);
  background: var(--burgundy);
}

.catalogue-section {
  background:
    linear-gradient(180deg, #f5ebdd 0%, #efe2d2 100%);
}

.catalogue-heading {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.62fr);
  gap: clamp(22px, 5vw, 64px);
  align-items: end;
}

.catalogue-heading p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.catalogue-controls {
  display: grid;
  grid-template-columns: minmax(250px, 1.4fr) repeat(3, minmax(160px, 0.7fr));
  gap: 12px;
  margin-top: clamp(28px, 5vw, 52px);
  padding: 16px;
  border: 1px solid rgba(202, 182, 158, 0.72);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.64);
  box-shadow: 0 20px 50px rgba(54, 42, 33, 0.08);
}

.catalogue-controls label {
  display: grid;
  gap: 8px;
}

.catalogue-controls span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalogue-controls input,
.catalogue-controls select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ivory);
  color: var(--ink);
  padding: 0 14px;
}

.result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0 18px;
}

.result-bar p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.clear-button {
  min-height: 40px;
  padding: 10px 13px;
  background: rgba(255, 253, 248, 0.55);
  font-size: 0.74rem;
}

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

.product-card {
  min-height: 470px;
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 15px;
  padding: 16px;
  border: 1px solid rgba(213, 196, 174, 0.86);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 22px 44px rgba(52, 42, 35, 0.11);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 155, 82, 0.72);
  box-shadow: 0 28px 60px rgba(52, 42, 35, 0.17);
}

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

.item-number,
.product-type {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.item-number {
  color: var(--gold);
}

.product-type {
  color: var(--muted);
}

.product-visual {
  position: relative;
  width: 100%;
  min-height: 208px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, #e7d8c8, #f9f2e8);
  border-radius: 14px;
  overflow: hidden;
}

.offer-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--burgundy);
  color: var(--ivory);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 20px rgba(80, 32, 42, 0.2);
}

.product-visual img {
  width: 100%;
  height: 208px;
  object-fit: contain;
  padding: 16px;
  mix-blend-mode: multiply;
}

.product-body {
  display: grid;
  gap: 9px;
}

.brand-name {
  color: var(--burgundy);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-name {
  min-height: 62px;
}

.product-review {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.stars {
  color: var(--gold);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.product-review strong {
  color: var(--ink);
  font-size: 0.86rem;
}

.product-review small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.review-text {
  min-height: 66px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-meta span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(243, 232, 216, 0.58);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.product-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.add-cart {
  min-height: 46px;
  width: 100%;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ink), #372a22);
  color: var(--ivory);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.add-cart:hover {
  background: var(--burgundy);
}

.price {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.page-ref {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.empty-state {
  margin: 28px 0 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ivory);
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.cart-section {
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(241, 229, 211, 0.86));
}

.cart-heading {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.58fr);
  gap: clamp(22px, 5vw, 64px);
  align-items: end;
  margin-bottom: clamp(28px, 5vw, 52px);
}

.cart-heading p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 20px;
  align-items: start;
}

.cart-items {
  display: grid;
  gap: 12px;
}

.cart-empty,
.cart-row,
.cart-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf7f0;
}

.cart-empty {
  margin: 0;
  padding: 26px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.cart-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
}

.cart-row span,
.cart-summary span {
  display: block;
  color: var(--burgundy);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cart-row strong {
  display: block;
  margin-top: 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.cart-row small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.45;
}

.quantity-control {
  display: grid;
  grid-template-columns: 36px 58px 36px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--ivory);
}

.quantity-control button,
.quantity-control input,
.remove-item {
  min-height: 38px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: center;
  font-weight: 900;
}

.quantity-control button {
  cursor: pointer;
  font-size: 1.05rem;
}

.quantity-control input {
  width: 58px;
  border-inline: 1px solid var(--line);
}

.remove-item {
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart-summary {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
  padding: 22px;
}

.cart-summary div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}

.cart-summary strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.cart-grand-total {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

#cart-discount {
  color: #1f6f45;
}

.order-button {
  width: 100%;
}

.order-button:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

.whatsapp-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.source-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  background:
    linear-gradient(rgba(30, 26, 23, 0.84), rgba(30, 26, 23, 0.84)),
    url("assets/luxury-perfume-jewelry-hero.png") center / cover;
  color: var(--ivory);
}

.source-copy {
  max-width: 760px;
}

.source-copy .eyebrow,
.source-copy p {
  color: #f1dec5;
}

.source-copy p {
  max-width: 620px;
  line-height: 1.7;
}

.source-note {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255, 253, 248, 0.24);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.1);
}

.source-note strong {
  display: block;
  margin-bottom: 10px;
  color: #f7dba9;
}

.source-note p {
  margin: 0;
  color: #efe0cf;
  line-height: 1.65;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.footer-logo {
  width: 34px;
  height: 34px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  object-fit: cover;
  background: #050505;
}

.site-footer div {
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero,
  .catalogue-heading,
  .cart-heading,
  .cart-layout,
  .source-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .floating-cart {
    top: 76px;
    right: 12px;
    width: 150px;
    padding: 11px 12px;
  }

  .floating-cart strong {
    font-size: 1.05rem;
  }

  .brand span:last-child,
  .header-actions {
    display: none;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(3.3rem, 17vw, 4.6rem);
  }

  .hero {
    padding-top: 28px;
  }

  .hero-image,
  .hero-image img {
    min-height: 340px;
  }

  .metrics,
  .proof-band,
  .catalogue-controls,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .cart-row {
    grid-template-columns: 1fr;
  }

  .quantity-control {
    width: 130px;
  }

  .cart-summary {
    position: static;
  }

  .result-bar {
    display: grid;
  }

  .clear-button {
    width: 100%;
  }

  .site-footer {
    display: block;
  }

  .site-footer div {
    margin-top: 18px;
  }
}
