﻿:root {
  --cream: #fff8ed;
  --porcelain: #fffdf8;
  --linen: #efe0cb;
  --gold: #c57916;
  --gold-soft: #edbd65;
  --cocoa: #342013;
  --coffee: #5a3822;
  --sage: #7d8d73;
  --rose: #c98376;
  --ink: #201914;
  --muted: #75695f;
  --shadow: 0 24px 70px rgba(67, 38, 18, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 248, 237, 0.92), rgba(255, 253, 248, 0.98)),
    radial-gradient(circle at top left, rgba(237, 189, 101, 0.22), transparent 32%),
    var(--porcelain);
  font-family: Inter, system-ui, sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 10px clamp(18px, 4vw, 56px);
  background: rgba(255, 248, 237, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(197, 121, 22, 0.18);
}

.brand img {
  width: 132px;
  height: 64px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--coffee);
}

.nav a {
  position: relative;
  padding: 10px 0;
}

.nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.cart-button,
.button,
.filter,
.icon-button {
  border: 0;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 800;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--cocoa);
  color: white;
}

.cart-button strong {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--cocoa);
  background: var(--gold-soft);
}

.hero {
  position: relative;
  min-height: calc(100vh - 86px);
  display: grid;
  align-items: center;
  padding: clamp(70px, 9vw, 120px) clamp(20px, 5vw, 72px) 110px;
  overflow: hidden;
  background: #1f1711;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(255, 248, 237, 0.9) 0%, rgba(255, 248, 237, 0.7) 34%, rgba(255, 248, 237, 0.08) 100%);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.92;
}

.hero__content {
  position: relative;
  transform: translateY(-34px);
  max-width: 860px;
  color: var(--cocoa);
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.96;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.8rem, 15vw, 12rem);
  font-weight: 500;
  letter-spacing: 0.12em;
}

.hero-wordmark {
  display: inline-grid;
  gap: 12px;
  color: #2f1b0e;
  filter: drop-shadow(0 12px 24px rgba(255, 248, 237, 0.72));
}

.hero-wordmark__name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5.4rem, 15vw, 12.5rem);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  background: linear-gradient(120deg, #1f130b 0%, #7b4817 42%, #d1902c 52%, #2a180d 72%, #5b3214 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-wordmark__subtitle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(620px, 82vw);
  color: #2f1b0e;
  font-size: clamp(0.92rem, 2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.hero-wordmark__subtitle::before,
.hero-wordmark__subtitle::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c57916, transparent);
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  color: var(--cocoa);
}

h3 {
  font-size: 1.65rem;
  color: var(--cocoa);
}

.hero__lead {
  max-width: 520px;
  margin: 18px 0 0;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.7;
  color: var(--coffee);
}

.hero__actions,
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button--primary {
  color: white;
  background: linear-gradient(135deg, var(--gold), #9a5510);
  box-shadow: 0 16px 34px rgba(154, 85, 16, 0.22);
}

.button--ghost {
  color: var(--cocoa);
  background: rgba(255, 248, 237, 0.88);
  border: 1px solid rgba(197, 121, 22, 0.22);
}

.hero .button--ghost {
  color: var(--cocoa);
  background: rgba(255, 253, 248, 0.7);
  border-color: rgba(197, 121, 22, 0.3);
}

.hero__stats {
  position: absolute;
  left: clamp(20px, 5vw, 72px);
  right: clamp(20px, 5vw, 72px);
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(197, 121, 22, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 248, 237, 0.78);
  backdrop-filter: blur(16px);
}

.hero__stats span {
  padding: 18px;
  color: var(--cocoa);
}

.hero__stats strong {
  display: block;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.9rem;
}

.section,
.contact {
  padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 42px;
  align-items: end;
}

.intro p:last-child,
.feature-panel p,
.story p,
.faq p,
.contact p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.8;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.section-heading--center {
  display: grid;
  justify-content: center;
  text-align: center;
}

.product-section {
  padding-top: 20px;
}

.filters {
  align-items: center;
  margin: 0 0 28px;
}

.product-search {
  position: relative;
  display: block;
  width: min(300px, 100%);
  margin-left: auto;
  font-weight: 500;
}

.search-candle {
  position: absolute;
  top: 50%;
  left: 16px;
  z-index: 1;
  width: 17px;
  height: 20px;
  border-radius: 3px 3px 4px 4px;
  background: linear-gradient(90deg, #ecd7b2, #fff1d4 48%, #d9b67e);
  box-shadow: inset -2px 0 rgba(124, 74, 27, 0.12), 0 1px 2px rgba(65, 35, 14, 0.12);
  transform: translateY(-35%);
}

.search-candle::before {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 2px);
  width: 9px;
  height: 13px;
  content: "";
  border-radius: 80% 10% 70% 50%;
  background: linear-gradient(160deg, #ffeab0 5%, #efa525 44%, #bd6114 100%);
  box-shadow: 0 0 8px rgba(229, 153, 37, 0.44);
  transform: translateX(-50%) rotate(9deg);
}

.search-candle::after {
  position: absolute;
  left: 50%;
  bottom: calc(100% - 1px);
  width: 2px;
  height: 5px;
  content: "";
  background: #57301a;
  transform: translateX(-50%);
}

.search-candle i {
  position: absolute;
  top: 5px;
  left: 4px;
  width: 7px;
  height: 2px;
  border-radius: 50%;
  background: rgba(172, 124, 70, 0.2);
}

.product-search input {
  height: 48px;
  padding: 11px 18px 11px 50px;
  border: 1px solid rgba(175, 102, 29, 0.32);
  border-radius: 8px;
  color: var(--cocoa);
  background: linear-gradient(110deg, #fffaf0, #f5e7d2);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.84), 0 8px 20px rgba(89, 48, 19, 0.07);
  font-size: 0.9rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.product-search input::placeholder {
  color: rgba(74, 40, 19, 0.58);
}

.product-search input:focus {
  border-color: rgba(197, 121, 22, 0.62);
  outline: none;
  background: #fffaf0;
  box-shadow: 0 0 0 3px rgba(197, 121, 22, 0.15), 0 10px 24px rgba(89, 48, 19, 0.1);
}
.product-search-empty {
  margin: -12px 0 24px;
  color: var(--muted);
  text-align: center;
}

.product-search-empty[hidden] {
  display: none;
}

.filter {
  padding: 10px 15px;
  color: var(--coffee);
  background: #fff;
  border: 1px solid rgba(197, 121, 22, 0.2);
}

.filter.is-active {
  color: white;
  background: var(--cocoa);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 248px));
  gap: 18px;
  justify-content: center;
  max-width: 1320px;
  margin-inline: auto;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.product-card__art {
  position: relative;
  aspect-ratio: 2 / 3;
  max-height: 390px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 25%, rgba(237, 189, 101, 0.34), transparent 28%),
    linear-gradient(135deg, #fff6e8, #f2d8b0);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 10px;
}

.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 999px;
  color: white;
  font-size: 0.72rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(32, 25, 20, 0.22);
}

.product-badge--nuevo {
  background: #d62828;
}

.product-badge--agotado {
  background: #4f5d64;
}

.add-button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  background: #6f6a64;
}

.product-shape {
  width: 112px;
  height: 112px;
  border-radius: 32% 68% 58% 42%;
  background: linear-gradient(145deg, var(--tone), #fff4d8);
  box-shadow: inset -12px -18px 28px rgba(78, 44, 19, 0.13), 0 18px 35px rgba(90, 56, 34, 0.22);
}

.product-card:nth-child(2n) .product-shape {
  border-radius: 50% 50% 44% 44%;
}

.product-card:nth-child(3n) .product-shape {
  border-radius: 50%;
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}
.product-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.42rem;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0;
}

.tag {
  align-self: flex-start;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--coffee);
  background: rgba(197, 121, 22, 0.12);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-card p {
  min-height: 8.15em;
  margin-bottom: 8px;
  overflow: hidden;
  color: var(--muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  font-size: 0.86rem;
  font-style: italic;
  line-height: 1.63;
}

.product-read-more {
  align-self: flex-start;
  margin: 0 0 14px;
  border: 0;
  border-bottom: 1px solid rgba(122, 70, 28, 0.3);
  padding: 0 0 2px;
  color: var(--coffee);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.product-read-more:hover {
  color: var(--gold);
}

.product-card .size-picker {
  margin-top: auto;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
}

.gallery-section {
  padding-top: 24px;
}

.gallery-controls {
  display: flex;
  gap: 8px;
}

.gallery-arrow {
  width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: var(--radius);
  color: white;
  background: var(--cocoa);
  font-size: 1.25rem;
  font-weight: 900;
}

.gallery-shell {
  position: relative;
  overflow: hidden;
}

.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 64px) / 5);
  gap: 16px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

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

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 36px rgba(67, 38, 18, 0.12);
  scroll-snap-align: start;
}

.gallery-item button {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center;
}

.price {
  color: var(--cocoa);
  font-size: 1.05rem;
  font-weight: 900;
}

.add-button {
  padding: 10px 12px;
  color: white;
  background: var(--cocoa);
}

.gift-studio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
  align-items: start;
  max-width: 1460px;
  margin-inline: auto;
}

.feature-band,
.wax-customizer,
.name-customizer,
.baby-customizer {
  overflow: hidden;
  border-radius: var(--radius);
  color: white;
  background:
    linear-gradient(180deg, rgba(72, 42, 24, 0.98), rgba(54, 30, 17, 0.98)),
    var(--cocoa);
  box-shadow: 0 20px 52px rgba(67, 38, 18, 0.16);
}

.feature-band {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 2.4vw, 26px);
}

.wax-customizer h3,
.name-customizer h3,
.baby-customizer h3 {
  color: var(--cocoa);
}

.wax-customizer p,
.name-customizer p,
.baby-customizer p {
  max-width: 650px;
  color: rgba(62, 34, 17, 0.78);
}

.wax-customizer .eyebrow,
.name-customizer .eyebrow,
.baby-customizer .eyebrow {
  color: #f2bb62;
}

.feature-panel h2 {
  max-width: 100%;
  color: var(--cocoa);
  font-size: 1.65rem;
  line-height: 0.96;
  overflow-wrap: anywhere;
}

.feature-panel p {
  max-width: 100%;
  color: rgba(62, 34, 17, 0.78);
}

.feature-panel .eyebrow {
  color: #f2bb62;
}

.feature-customizer {
  max-width: none;
  margin-top: 0;
  color: var(--coffee);
  background: transparent;
  box-shadow: none;
}

.feature-customizer .button {
  width: fit-content;
}

.feature-name {
  display: grid;
  gap: 8px;
  color: var(--cocoa);
  font-weight: 900;
}

.feature-name input {
  width: 100%;
}

.feature-customizer + .custom-note {
  margin-top: 12px;
  color: #ffe6aa;
}

.feature-band__visual {
  overflow: hidden;
  height: 240px;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 250, 241, 0.92);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.feature-band__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.feature-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.88);
}



.custom-section {
  display: contents;
}

.wax-customizer,
.name-customizer,
.baby-customizer {
  display: grid;
  gap: 14px;
  align-items: stretch;
  padding: clamp(20px, 2.4vw, 26px);
}

.custom-preview,
.name-customizer__image,
.baby-customizer__image {
  overflow: hidden;
  height: 240px;
  border-radius: calc(var(--radius) - 2px);
  background: rgba(255, 250, 241, 0.92);
  box-shadow: 0 18px 46px rgba(24, 12, 6, 0.2);
}

.custom-preview img,
.name-customizer__image img,
.baby-customizer__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.custom-builder,
.feature-customizer {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.88);
  box-shadow: none;
}

.feature-panel .feature-customizer {
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.custom-builder details,
.feature-customizer details {
  border: 1px solid rgba(197, 121, 22, 0.18);
  border-radius: var(--radius);
  background: #fffdf8;
}

.custom-builder summary,
.feature-customizer summary {
  padding: 15px 16px;
  color: var(--cocoa);
  cursor: pointer;
  font-weight: 900;
}

.custom-builder select,
.feature-customizer select {
  border-width: 1px 0 0;
  border-radius: 0 0 var(--radius) var(--radius);
}
.color-palette {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  padding: 12px;
  border-top: 1px solid rgba(197, 121, 22, 0.18);
}

.color-choice {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--cocoa);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
}

.color-choice:hover {
  background: #fff7eb;
}

.color-choice:has(input:checked) {
  border-color: rgba(197, 121, 22, 0.38);
  background: #fff2db;
}

.color-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.color-choice span {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  border: 1px solid rgba(57, 32, 16, 0.18);
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.55);
}
.custom-note {
  min-height: 20px;
  margin: 0;
  color: #f2bb62;
  font-weight: 900;
}

.name-customizer {
  margin-top: 0;
}


.baby-price span {
  font-size: 0.86rem;
}
.name-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius);
  color: var(--cocoa);
  background: #fff8ed;
  font-weight: 900;
}

.name-price strong {
  font-size: 1.25rem;
}
.story {
  display: grid;
  gap: 26px;
}

.story__heading {
  max-width: 760px;
  margin-inline: auto;
}

.story__guide {
  width: min(100%, 900px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(197, 121, 22, 0.18);
  border-radius: var(--radius);
  background: #fff8ec;
  box-shadow: 0 18px 52px rgba(67, 38, 18, 0.12);
}

.story__guide img {
  display: block;
  width: 100%;
  height: auto;
}

.quote-grid figure,
.faq details {
  border: 1px solid rgba(197, 121, 22, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 42px rgba(67, 38, 18, 0.08);
}

.testimonials__heading {
  position: relative;
  display: block;
  text-align: center;
}

.review-controls {
  position: absolute;
  right: 0;
  bottom: 0;
}

.review-shell {
  overflow: hidden;
}

.quote-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 3);
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.quote-grid::-webkit-scrollbar {
  display: none;
}

.quote-grid figure {
  min-height: 205px;
  margin: 0;
  padding: 24px;
  scroll-snap-align: start;
}

.review-media {
  display: block;
  width: 100%;
  max-height: 260px;
  margin-bottom: 18px;
  border-radius: 8px;
  object-fit: cover;
  background: #fff8ed;
}

video.review-media {
  object-fit: contain;
}

.testimonials .quote-grid {
  max-width: 1120px;
  margin-inline: auto;
}

.review-form {
  display: grid;
  gap: 14px;
  max-width: 680px;
  margin: 26px auto 0;
  padding: 22px;
  border: 1px solid rgba(197, 121, 22, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.review-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--cocoa);
  font-weight: 900;
}

.review-form textarea {
  width: 100%;
  resize: vertical;
  min-height: 110px;
}

.review-form input[type="file"] {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(197, 121, 22, 0.2);
  border-radius: 8px;
  background: #fffdf8;
}

.review-form .button {
  justify-self: center;
}

.review-form .form-note {
  min-height: 20px;
  margin: 0;
  text-align: center;
}

blockquote {
  margin: 0 0 18px;
  color: var(--coffee);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.15;
}

figcaption {
  color: var(--gold);
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq details {
  padding: 18px 20px;
}

.faq summary {
  color: var(--cocoa);
  cursor: pointer;
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: 36px;
  align-items: start;
  background: linear-gradient(135deg, #fff7e9, #f6e4cd);
}

.contact-info {
  display: grid;
  gap: 24px;
}

.social-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
}

.social-links a {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid rgba(197, 121, 22, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(67, 38, 18, 0.1);
}

.social-links span {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.social-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.social-label svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: currentColor;
}

.social-links strong {
  color: var(--cocoa);
  font-size: 0.98rem;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--coffee);
  font-weight: 900;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(90, 56, 34, 0.22);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: #fffdf8;
}

textarea {
  resize: vertical;
}

.size-picker {
  margin: 2px 0 16px;
  color: var(--coffee);
  font-size: 0.86rem;
  font-weight: 900;
}

.size-picker select {
  margin-top: 8px;
  min-height: 42px;
  color: var(--cocoa);
  background: #fff8ed;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--sage);
  font-weight: 800;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 50;
  width: min(430px, 92vw);
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  background: var(--porcelain);
  box-shadow: -24px 0 70px rgba(30, 20, 13, 0.2);
  transform: translateX(110%);
  transition: transform 220ms ease;
}

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

.cart-panel__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.cart-panel h2 {
  font-size: 2.4rem;
}

.icon-button {
  width: 44px;
  background: var(--cocoa);
  color: white;
  font-size: 1.2rem;
}

.cart-items {
  display: grid;
  gap: 10px;
  overflow: auto;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  padding: 14px;
  border-radius: var(--radius);
  background: white;
  border: 1px solid rgba(197, 121, 22, 0.18);
}

.cart-item h3 {
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.3;
}

.cart-item button {
  border: 0;
  color: var(--rose);
  background: transparent;
  font-weight: 900;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(90, 56, 34, 0.18);
  color: var(--cocoa);
  font-size: 1.1rem;
}

.discount-form {
  display: grid;
  gap: 6px;
  margin-top: auto;
  padding: 10px;
  border: 1px solid rgba(197, 121, 22, 0.18);
  border-radius: var(--radius);
  background: #fff;
}

.discount-form label {
  gap: 6px;
  font-size: 0.84rem;
}

.discount-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
}

.discount-row input {
  min-width: 0;
  min-height: 38px;
  padding: 9px 10px;
}

.discount-row .button {
  padding-inline: 12px;
  min-height: 38px;
  color: white;
  background: var(--cocoa);
}

.discount-note {
  min-height: 16px;
  margin: 0;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 800;
}

.cart-total--muted {
  padding-top: 0;
  border-top: 0;
  color: var(--sage);
  font-size: 0.96rem;
}

.clear-cart {
  min-height: 40px;
  border: 0;
  border-radius: var(--radius);
  color: var(--rose);
  background: rgba(201, 131, 118, 0.1);
  font-weight: 900;
}

.cart-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  background: rgba(32, 25, 20, 0);
  transition: background 220ms ease;
}

.overlay.is-open {
  pointer-events: auto;
  background: rgba(32, 25, 20, 0.42);
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(18, 13, 9, 0.86);
}

.gallery-modal.is-open {
  display: grid;
}

.gallery-modal img {
  max-width: min(92vw, 920px);
  max-height: 88vh;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 22px;
  background: rgba(18, 13, 9, 0.68);
}

.product-modal.is-open {
  display: grid;
}

.product-modal__card {
  position: relative;
  width: min(92vw, 520px);
  max-height: min(82vh, 600px);
  overflow-y: auto;
  padding: 30px 28px 28px;
  border-radius: var(--radius);
  background: #fffaf1;
  box-shadow: 0 26px 82px rgba(18, 13, 9, 0.34);
}

.product-modal__card .eyebrow {
  margin-bottom: 10px;
}

.product-modal__card h2 {
  margin: 0 36px 16px 0;
  color: var(--cocoa);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 5vw, 2.25rem);
  line-height: 1.1;
}

.product-modal__description {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.7;
}

.product-modal__close {
  color: var(--cocoa);
  background: #fff0d8;
}
.gallery-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: var(--radius);
  color: var(--cocoa);
  background: var(--cream);
  font-size: 1.2rem;
  font-weight: 900;
}

.footer {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 34px 20px;
  text-align: center;
  color: var(--muted);
  background: #fffdf8;
}

.footer img {
  width: 180px;
  height: 76px;
  object-fit: cover;
  border-radius: var(--radius);
}

@media (min-width: 981px) {
  .gift-studio {
    align-items: stretch;
  }

  .feature-band,
  .wax-customizer,
  .name-customizer,
  .baby-customizer {
    height: 100%;
    grid-template-rows: 240px 1fr;
  }

  .feature-panel,
  .custom-builder {
    height: 100%;
  }
}
@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 120px auto;
  }

  .nav {
    display: none;
  }

  .cart-button {
    justify-self: end;
  }

  .quote-grid {
    grid-auto-columns: calc((100% - 18px) / 2);
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 248px));
  }

  .gallery-track {
    grid-auto-columns: calc((100% - 32px) / 3);
  }

  .intro,
  .story,
  .contact {
    grid-template-columns: 1fr;
  }

  .gift-studio {
    grid-template-columns: 1fr;
  }

  .custom-section {
    display: grid;
    gap: 18px;
  }

  .social-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    grid-template-columns: 44px 1fr 44px;
    padding: 7px 12px;
  }

  .brand {
    grid-column: 2;
    justify-self: center;
  }

  .brand img {
    width: 126px;
    height: 46px;
    object-fit: cover;
    object-position: center;
  }

  .cart-button span {
    display: none;
  }

  .cart-button {
    grid-column: 3;
    min-height: 40px;
    padding: 8px 10px;
  }

  .hero {
    min-height: 540px;
    padding: 48px 16px 86px;
  }

  .hero__content {
    transform: translateY(-18px);
  }

  .hero__media::after {
    background: linear-gradient(180deg, rgba(255, 248, 237, 0.88), rgba(255, 248, 237, 0.34));
  }

  .hero-wordmark {
    gap: 8px;
  }

  .hero-wordmark__name {
    font-size: clamp(3.05rem, 14vw, 4.4rem);
    letter-spacing: 0.08em;
  }

  .hero-wordmark__subtitle {
    width: min(330px, 90vw);
    gap: 10px;
    font-size: 0.66rem;
    letter-spacing: 0.24em;
  }

  h2 {
    font-size: clamp(1.9rem, 10vw, 3rem);
  }

  h3 {
    font-size: 1.35rem;
  }

  .hero__lead {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .hero__actions {
    gap: 10px;
    margin-top: 20px;
  }

  .button {
    min-height: 40px;
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .hero__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    left: 12px;
    right: 12px;
    bottom: 14px;
  }

  .hero__stats span {
    padding: 8px 4px;
    font-size: 0.58rem;
    line-height: 1.2;
    text-align: center;
  }

  .hero__stats strong {
    font-size: 0.92rem;
  }

  .section,
  .contact {
    padding: 42px 16px;
  }

  .section-heading {
    display: block;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
    margin-inline: auto;
    gap: 12px;
  }

  .quote-grid {
    grid-auto-columns: calc((100% - 12px) / 2);
    gap: 12px;
  }

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

  .product-card__body {
    padding: 10px;
  }

  .product-card h3 {
    font-size: 1.08rem;
  }

  .product-card p {
    min-height: 7.1em;
    margin-bottom: 12px;
    font-size: 0.76rem;
    line-height: 1.42;
    -webkit-line-clamp: 5;
  }

  .tag {
    font-size: 0.66rem;
  }

  .size-picker {
    margin-bottom: 10px;
    font-size: 0.74rem;
  }

  .size-picker select {
    min-height: 34px;
    padding: 7px 8px;
    font-size: 0.78rem;
  }

  .product-card__footer {
    display: grid;
    gap: 8px;
  }

  .price {
    font-size: 0.92rem;
  }

  .add-button {
    width: 100%;
    min-height: 36px;
    padding: 8px 10px;
  }

  .filters {
    gap: 8px;
  }

  .product-search {
    width: 100%;
    margin-top: 6px;
    margin-left: 0;
  }

  .filter {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 0.82rem;
  }

  .gallery-track {
    grid-auto-columns: calc((100% - 12px) / 2);
    gap: 12px;
  }

  .gallery-controls {
    display: none;
  }

  .gift-studio {
    gap: 18px;
  }


  .feature-band,
  .wax-customizer,
  .name-customizer,
  .baby-customizer {
    padding: 24px 18px;
  }

  .custom-builder,
.feature-customizer {
    padding: 16px;
  }

  .custom-builder summary,
.feature-customizer summary {
    padding: 13px 14px;
  }
  .wax-customizer,
  .name-customizer,
  .baby-customizer {
    grid-template-columns: 1fr;
  }

  .feature-band__visual,
  .custom-preview,
  .name-customizer__image,
  .baby-customizer__image {
    height: 220px;
  }
}

@media (max-width: 420px) {
  .color-palette {
    gap: 5px;
    padding: 9px;
  }

  .color-choice {
    gap: 6px;
    padding: 6px 4px;
    font-size: 0.74rem;
  }

  .hero {
    min-height: 510px;
    padding-bottom: 78px;
  }

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

  .hero-wordmark__name {
    font-size: clamp(2.62rem, 13vw, 3.8rem);
    letter-spacing: 0.06em;
  }

  .hero-wordmark__subtitle {
    width: min(295px, 90vw);
    font-size: 0.58rem;
    letter-spacing: 0.18em;
  }

  .hero__stats span {
    font-size: 0.54rem;
  }

  .hero__stats strong {
    font-size: 0.84rem;
  }

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

  .product-card__art {
    max-height: 330px;
  }

  .cart-panel {
    width: 100vw;
    padding: 18px;
  }
}













































