@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #f7f1ea;
  --bg-deep: #efe4d7;
  --surface: rgba(255, 252, 247, 0.92);
  --surface-strong: #fffdf8;
  --text: #15110f;
  --muted: #6e6259;
  --line: rgba(62, 42, 28, 0.1);
  --line-strong: rgba(62, 42, 28, 0.18);
  --soft: #f5eee7;
  --accent: #a26a3f;
  --accent-deep: #6f4630;
  --accent-pale: #ead5c3;
  --shadow: 0 18px 45px rgba(48, 28, 16, 0.08);
  --shadow-strong: 0 22px 55px rgba(48, 28, 16, 0.12);
  --radius-xl: 32px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --container: 100%;
  --font-sans: "Manrope", "Segoe UI", Arial, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-sans);
  background:
    radial-gradient(circle at top left, rgba(226, 184, 145, 0.28), transparent 34%),
    radial-gradient(circle at 85% 10%, rgba(210, 180, 150, 0.22), transparent 24%),
    linear-gradient(180deg, #faf6f1 0%, #f7f1ea 40%, #f4eee7 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

body::before {
  top: -80px;
  left: -120px;
  background: rgba(208, 159, 112, 0.7);
}

body::after {
  right: -120px;
  bottom: -60px;
  background: rgba(120, 142, 172, 0.45);
}

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

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

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

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page {
  position: relative;
  z-index: 1;
  padding: 24px 0 48px;
}

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

.site-header,
.hero-band,
.collection-card,
.breadcrumb-bar,
.filters-panel,
.catalog-stage,
.editorial-copy,
.editorial-tile,
.campaign-band,
.service-strip article,
.contact-footer,
.cart-panel,
.order-summary-card,
.order-form-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 82px;
  padding: 0 28px;
  border-radius: var(--radius-xl);
}

.simple-header {
  grid-template-columns: auto auto;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, #261714 0%, #7b5238 45%, #b98658 100%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 10px 28px rgba(109, 71, 43, 0.14);
}

.brand small {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.38em;
  color: var(--muted);
}

.site-nav,
.header-tools,
.search-box,
.split-actions,
.cart-summary,
.order-actions,
.hero-chip-row {
  display: flex;
  align-items: center;
}

.site-nav {
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.site-nav a {
  position: relative;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

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

.header-tools {
  gap: 16px;
}

.search-box {
  min-width: 290px;
  gap: 10px;
  padding: 0 16px;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
}

.search-box svg,
.cart-button svg,
.whatsapp-float svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.search-box input::placeholder {
  color: var(--muted);
}

.cart-button {
  position: relative;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.68);
  color: var(--text);
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2a1d17 0%, #6c4630 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.hero-band {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 26px;
  padding: 34px;
  margin-top: 18px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.hero-copy,
.hero-panel,
.collection-copy,
.editorial-copy,
.campaign-copy,
.note-card,
.order-summary-card,
.order-form-card {
  position: relative;
}

.hero-copy::before,
.collection-copy::before,
.editorial-copy::before {
  content: "";
  position: absolute;
  inset: auto auto 10% -10%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 139, 100, 0.18), transparent 68%);
  pointer-events: none;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-copy h1,
.catalog-stage h1,
.editorial-copy h2,
.campaign-copy h2,
.order-summary-card h1,
.order-form-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.hero-copy h1 {
  max-width: 10.2ch;
  font-size: clamp(3.3rem, 7vw, 6rem);
  line-height: 0.9;
}

.hero-copy p,
.collection-copy p,
.campaign-copy p,
.editorial-copy p,
.note-card p,
.contact-footer p,
.order-summary-card p,
.order-form-card p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.split-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.primary-link,
.secondary-link,
.checkout-button,
.back-link,
.order-submit,
.order-clear,
.add-cart-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.primary-link,
.checkout-button,
.order-submit,
.add-cart-button {
  background: linear-gradient(135deg, #1e1614 0%, #6b4735 100%);
  color: #fff;
  box-shadow: 0 16px 30px rgba(50, 29, 19, 0.16);
  font-weight: 800;
}

.secondary-link,
.back-link,
.order-clear {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  font-weight: 700;
}

.primary-link:hover,
.secondary-link:hover,
.checkout-button:hover,
.order-submit:hover,
.order-clear:hover,
.add-cart-button:hover,
.back-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(50, 29, 19, 0.14);
}

.hero-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-content: start;
}

.hero-chip-row {
  grid-column: 1 / -1;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-chip-row span {
  min-height: 34px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(162, 106, 63, 0.24);
  background: rgba(255, 245, 236, 0.72);
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-stat,
.hero-note {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(246, 235, 225, 0.74));
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.9;
}

.hero-stat span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.hero-note {
  grid-column: 1 / -1;
}

.hero-note p {
  margin: 0;
}

.collection-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
}

.collection-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  padding: 18px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.collection-card-dark {
  background: linear-gradient(145deg, rgba(33, 27, 24, 0.95), rgba(86, 60, 43, 0.92));
  color: #fff;
}

.collection-card-dark .eyebrow,
.collection-card-dark .collection-copy p {
  color: rgba(255, 239, 222, 0.88);
}

.collection-image {
  position: relative;
  min-height: 260px;
  border-radius: calc(var(--radius-lg) - 6px);
  overflow: hidden;
}

.collection-image img {
  height: 100%;
  object-fit: cover;
}

.collection-gallery-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.collection-gallery-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 420ms ease, transform 520ms ease;
}

.collection-gallery-image.is-active {
  opacity: 1;
  transform: scale(1);
}

.collection-gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  display: flex;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(21, 17, 15, 0.28);
  transform: translateX(-50%);
  backdrop-filter: blur(10px);
}

.collection-gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  transition: width 220ms ease, background 220ms ease;
}

.collection-gallery-dot.is-active {
  width: 22px;
  background: #fff;
}

.collection-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 6px 8px 0;
}

.collection-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.collection-copy .primary-link,
.collection-copy .secondary-link {
  margin-top: 22px;
  width: fit-content;
}

.breadcrumb-bar {
  margin-top: 22px;
  padding: 16px 22px;
  border-radius: var(--radius-lg);
}

.breadcrumb-bar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-layout {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-top: 18px;
}

.filters-panel {
  width: 300px;
  flex: 0 0 300px;
  padding: 26px;
  border-radius: var(--radius-xl);
}

.filter-group + .filter-group {
  margin-top: 30px;
}

.filter-group h2,
.filter-group h3 {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.filter-helper {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.65;
}

.filter-links {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.filter-link {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 600;
  text-align: left;
}

.filter-link:hover,
.filter-link.is-active {
  color: var(--text);
}

.size-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.size-grid button {
  min-height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
}

.size-grid button.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, #1e1614 0%, #6b4735 100%);
  color: #fff;
}

.note-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 248, 242, 0.96), rgba(246, 235, 225, 0.86));
}

.note-card a {
  display: inline-flex;
  margin-top: 16px;
  font-weight: 800;
  color: var(--accent-deep);
}

.catalog-stage {
  flex: 1;
  min-width: 0;
  padding: 28px;
  border-radius: var(--radius-xl);
}

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

.catalog-stage h1 {
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  line-height: 0.92;
}

.catalog-stage h1 span,
.stage-meta {
  display: block;
  margin-top: 12px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

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

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 14px;
  border: 1px solid rgba(54, 33, 19, 0.08);
  border-radius: 30px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.tone-soft { background: linear-gradient(180deg, #fff7f2 0%, #f6ece6 100%); }
.tone-peach { background: linear-gradient(180deg, #f8e8df 0%, #f1ddd2 100%); }
.tone-blush { background: linear-gradient(180deg, #f9e7e4 0%, #f4ddd8 100%); }
.tone-rose { background: linear-gradient(180deg, #f7e2e4 0%, #efd5d8 100%); }
.tone-stone { background: linear-gradient(180deg, #ece5de 0%, #e4dbd3 100%); }
.tone-mint { background: linear-gradient(180deg, #e7f1ea 0%, #dce8df 100%); }
.tone-candy { background: linear-gradient(180deg, #f7e8ee 0%, #ecd9e3 100%); }
.tone-cream { background: linear-gradient(180deg, #f6efe7 0%, #eee2d7 100%); }
.tone-cloud { background: linear-gradient(180deg, #eef2f7 0%, #e5ebf2 100%); }
.tone-ice { background: linear-gradient(180deg, #f1f4f8 0%, #e4ebf3 100%); }
.tone-ink { background: linear-gradient(180deg, #e7eaef 0%, #d9dfe9 100%); }
.tone-linen { background: linear-gradient(180deg, #f2eee7 0%, #e6e0d5 100%); }
.tone-charcoal { background: linear-gradient(180deg, #dfdfdf 0%, #d0d0d0 100%); }
.tone-sky { background: linear-gradient(180deg, #ecf2f4 0%, #dfe8ec 100%); }
.tone-sand { background: linear-gradient(180deg, #efe4d8 0%, #e4d7c7 100%); }
.tone-graphite { background: linear-gradient(180deg, #e2e5ea 0%, #d5d9df 100%); }

.product-media {
  position: relative;
  aspect-ratio: 0.82 / 1;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.75);
}

.gallery-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 220ms ease, transform 260ms ease;
}

.gallery-image.is-active {
  opacity: 1;
  transform: scale(1);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(21, 17, 15, 0.72);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  transform: translateY(-50%);
}

.gallery-arrow-prev {
  left: 12px;
}

.gallery-arrow-next {
  right: 12px;
}

.gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 1px rgba(21, 17, 15, 0.08);
}

.gallery-dot.is-active {
  width: 24px;
  background: #fff;
}

.product-info {
  display: grid;
  gap: 10px;
  padding: 18px 10px 0;
  text-align: center;
}

.product-kicker {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.product-info h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.product-description,
.product-size-list {
  margin: 0;
}

.product-description {
  min-height: 56px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
}

.product-size-list {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.price {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text);
  text-transform: uppercase;
}

.product-actions {
  padding: 18px 6px 4px;
}

.add-cart-button {
  width: 100%;
}

.empty-state {
  margin-top: 18px;
  padding: 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.empty-state h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
}

.empty-state p {
  margin: 10px 0 0;
  color: var(--muted);
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.editorial-copy,
.editorial-tile {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.editorial-copy {
  grid-row: span 2;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.editorial-copy h2 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 0.94;
}

.editorial-copy .primary-link {
  margin-top: 24px;
  width: fit-content;
}

.editorial-tile img {
  height: 100%;
  object-fit: cover;
}

.editorial-tall {
  grid-row: span 2;
}

.campaign-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 30px;
  margin-top: 28px;
  border-radius: var(--radius-xl);
}

.campaign-copy h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.95;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.service-strip article {
  padding: 26px;
  border-radius: var(--radius-lg);
}

.service-strip h2,
.contact-footer h3 {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.service-strip p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.contact-footer {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 24px;
  padding: 28px;
  margin-top: 28px;
  border-radius: var(--radius-xl);
}

.contact-footer strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.3rem;
  line-height: 0.9;
  letter-spacing: 0.06em;
}

.contact-footer p {
  margin-top: 12px;
}

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

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

.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 12, 11, 0.42);
  opacity: 0;
  transition: opacity 180ms ease;
}

.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(410px, 100%);
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  border-radius: 30px 0 0 30px;
  transform: translateX(100%);
  transition: transform 220ms ease;
  background: rgba(255, 252, 247, 0.98);
}

.cart-drawer.is-open .cart-backdrop {
  opacity: 1;
}

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

.cart-panel-header,
.cart-panel-footer,
.cart-item,
.cart-summary {
  display: flex;
  align-items: center;
}

.cart-panel-header,
.cart-panel-footer {
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.cart-panel-header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
}

.cart-panel-footer {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.cart-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  color: var(--text);
  font-size: 1.4rem;
}

.cart-panel-body {
  padding: 20px;
  overflow: auto;
}

.cart-empty p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.cart-items {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.cart-item {
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.cart-item-copy {
  display: grid;
  gap: 4px;
}

.cart-item-name {
  font-weight: 800;
}

.cart-item-price {
  color: var(--muted);
}

.cart-remove {
  border: 0;
  background: transparent;
  color: #a64343;
  font-weight: 800;
}

.checkout-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.order-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 22px;
  margin-top: 24px;
}

.order-summary-card,
.order-form-card {
  padding: 28px;
  border-radius: var(--radius-xl);
}

.order-summary-card h1,
.order-form-card h2 {
  margin-top: 8px;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 0.94;
}

.order-empty {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.order-items {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.order-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.order-item strong {
  display: block;
  margin-bottom: 4px;
}

.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 1rem;
}

.order-total strong {
  font-size: 1.2rem;
}

.order-form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

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

.field-row {
  display: grid;
  gap: 14px;
}

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

.field-row-cep {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.field-grow {
  min-width: 0;
}

.order-form span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-deep);
}

.order-form input,
.order-form textarea,
.order-form select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  outline: 0;
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
}

.order-form input:focus,
.order-form textarea:focus,
.order-form select:focus {
  border-color: rgba(162, 106, 63, 0.45);
  box-shadow: 0 0 0 4px rgba(162, 106, 63, 0.08);
}

.field-inline-action {
  min-width: 152px;
}

.order-helper {
  margin: -4px 0 2px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  line-height: 1.7;
}

.order-helper[data-status="success"] {
  border-color: rgba(38, 146, 91, 0.22);
  background: rgba(227, 247, 236, 0.92);
  color: #1f6f46;
}

.order-helper[data-status="error"] {
  border-color: rgba(180, 67, 67, 0.2);
  background: rgba(252, 235, 235, 0.92);
  color: #983939;
}

.order-helper[data-status="loading"] {
  border-color: rgba(162, 106, 63, 0.22);
  background: rgba(255, 245, 236, 0.92);
  color: var(--accent-deep);
}

.order-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 0.44fr 1fr;
  gap: 22px;
  margin-top: 24px;
}

.legal-sidebar {
  display: grid;
  gap: 18px;
  align-content: start;
}

.legal-summary-card,
.legal-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  border-radius: var(--radius-xl);
}

.legal-summary-card {
  padding: 24px;
}

.legal-summary-card h1,
.legal-summary-card h2,
.legal-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.legal-summary-card h1 {
  margin-top: 8px;
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  line-height: 0.95;
}

.legal-summary-card h2,
.legal-card h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  line-height: 1;
}

.legal-summary-card p,
.legal-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.legal-content {
  display: grid;
  gap: 18px;
}

.legal-card {
  padding: 26px;
}

.legal-card a,
.legal-summary-card a {
  color: var(--accent-deep);
  font-weight: 700;
}

.legal-list {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.legal-highlight,
.legal-note {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(162, 106, 63, 0.18);
  background: rgba(255, 248, 242, 0.86);
}

.legal-cookie-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.legal-cookie-item {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(62, 42, 28, 0.1);
  background: rgba(255, 255, 255, 0.7);
}

.legal-cookie-item h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
}

.legal-cookie-item p {
  margin: 10px 0 0;
}

.legal-cookie-item small {
  display: block;
  margin-top: 10px;
  color: var(--accent-deep);
  line-height: 1.7;
}

.cookie-policy-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 30;
  width: min(calc(100% - 24px), 760px);
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 252, 247, 0.96);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

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

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner-copy {
  min-width: 0;
}

.cookie-banner p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.cookie-banner .eyebrow {
  margin-bottom: 0;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

body.has-cookie-banner .page {
  padding-bottom: 150px;
}

body.has-cookie-banner .whatsapp-float {
  bottom: 110px;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #18b058 100%);
  color: #fff;
  box-shadow: 0 18px 35px rgba(37, 211, 102, 0.28);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

.admin-shell {
  display: grid;
  gap: 24px;
}

.admin-header-actions,
.admin-overview,
.admin-panel-head,
.admin-product-head,
.admin-product-meta,
.admin-inline-actions,
.admin-upload-row,
.admin-size-grid {
  display: flex;
}

.admin-header-actions,
.admin-panel-head,
.admin-product-head,
.admin-product-meta,
.admin-inline-actions,
.admin-upload-row {
  align-items: center;
}

.admin-header-actions {
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-user-badge {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.admin-auth-layout,
.admin-grid,
.admin-overview {
  display: grid;
  gap: 20px;
}

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

.admin-grid-wide {
  align-items: start;
  grid-template-columns: 1.05fr 0.95fr;
}

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

.admin-stat,
.admin-note-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.admin-stat {
  padding: 22px 24px;
}

.admin-stat p {
  margin: 10px 0 0;
  color: var(--muted);
}

.admin-stat-value {
  display: block;
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.92;
}

.admin-global-feedback {
  margin: 0;
}

.admin-panel {
  overflow: hidden;
}

.admin-panel-head {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-panel-caption {
  margin: 10px 0 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--muted);
}

.admin-panel-caption strong {
  color: var(--text);
}

.admin-panel-head h2,
.admin-auth-layout h1,
.admin-product-item h3 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.admin-auth-layout h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.admin-panel-head h2 {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.admin-note-card {
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 249, 243, 0.98), rgba(244, 234, 224, 0.9));
}

.admin-note-card h2 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 0.95;
}

.admin-note-card p {
  margin-top: 16px;
}

.admin-size-wrap {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.admin-size-wrap > span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-deep);
}

.admin-size-grid {
  flex-wrap: wrap;
  gap: 10px;
}

.admin-size-option {
  position: relative;
}

.admin-size-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.admin-size-option span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.admin-size-option input:checked + span {
  border-color: rgba(107, 71, 53, 0.4);
  background: rgba(234, 213, 195, 0.88);
  transform: translateY(-1px);
}

.admin-upload-row,
.admin-inline-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.admin-upload-control {
  position: relative;
  overflow: hidden;
}

.admin-upload-control input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.admin-image-grid,
.admin-products-list,
.admin-category-list {
  display: grid;
  gap: 14px;
}

.admin-image-grid {
  grid-template-columns: 1fr;
}

.admin-image-carousel {
  display: grid;
  gap: 12px;
  width: min(100%, 360px);
}

.admin-image-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
}

.admin-image-stage img,
.admin-product-cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-image-nav,
.admin-gallery-button {
  position: absolute;
  top: 50%;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: rgba(21, 17, 15, 0.78);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.92rem;
  line-height: 1;
  transform: translateY(-50%);
}

.admin-image-nav-prev,
.admin-gallery-button-prev {
  left: 8px;
}

.admin-image-nav-next,
.admin-gallery-button-next {
  right: 8px;
}

.admin-image-counter,
.admin-gallery-counter {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(21, 17, 15, 0.72);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.admin-image-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-image-caption {
  flex: 1;
  min-width: 0;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
}

.admin-image-remove-button {
  white-space: nowrap;
}

.admin-search-box {
  margin-bottom: 18px;
}

.admin-products-list {
  gap: 10px;
  max-height: 620px;
  overflow: auto;
}

.admin-product-item,
.admin-category-item {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.admin-product-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 18px;
}

.admin-product-head,
.admin-product-meta {
  justify-content: space-between;
  gap: 10px;
}

.admin-product-head {
  align-items: start;
}

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

.admin-product-cover {
  width: 56px;
  height: 56px;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  position: relative;
}

.admin-product-cover-image {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 180ms ease;
}

.admin-product-cover-image.is-active {
  opacity: 1;
}

.admin-product-main {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.admin-product-item h3 {
  font-size: 1rem;
  line-height: 1.05;
}

.admin-product-item p {
  margin: 0;
}

.admin-product-description {
  display: none;
}

.admin-product-meta {
  margin-top: 0;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.admin-meta-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-weight: 800;
  text-transform: uppercase;
}

.admin-meta-price {
  color: var(--text);
  border-color: rgba(107, 71, 53, 0.18);
  background: rgba(248, 239, 230, 0.95);
}

.admin-product-actions {
  justify-content: flex-end;
  align-items: center;
  min-width: max-content;
  gap: 8px;
}

.admin-action-button {
  min-height: 34px;
  padding: 0 14px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.admin-category-list {
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.admin-category-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 240px) auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
}

.admin-category-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.admin-category-item strong,
.admin-category-item span {
  display: block;
}

.admin-category-item span {
  color: var(--muted);
  font-size: 0.84rem;
}

.admin-field-compact {
  width: min(100%, 220px);
}

.admin-product-main-row {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 220px);
}

.admin-tone-row {
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
}

.admin-category-item input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  outline: 0;
  background: rgba(255, 255, 255, 0.84);
}

.admin-danger-button {
  color: #8e3d3d;
}

.admin-empty {
  padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  text-align: center;
}

.is-hidden {
  display: none !important;
}

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

  .admin-auth-layout,
  .admin-grid,
  .admin-grid-wide {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    width: 100%;
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero-band,
  .campaign-band,
  .order-layout,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .collection-strip,
  .service-strip,
  .contact-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-layout {
    flex-direction: column;
  }

  .filters-panel {
    width: 100%;
    flex: 0 0 auto;
  }

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

  .editorial-copy,
  .editorial-tall {
    grid-row: auto;
  }
}

@media (max-width: 840px) {
  .shell {
    width: calc(100% - 18px);
  }

  .legal-cookie-grid {
    grid-template-columns: 1fr;
  }

  .admin-overview {
    grid-template-columns: 1fr;
  }

  .admin-product-item,
  .admin-category-item {
    grid-template-columns: 1fr;
  }

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

  .admin-product-actions {
    justify-content: flex-start;
    min-width: 0;
  }

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

  .admin-field-compact {
    width: 100%;
  }

  .admin-image-carousel {
    width: 100%;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 16px;
  }

  .cookie-banner-shell {
    grid-template-columns: 1fr;
  }

  .cookie-banner-actions {
    justify-content: flex-start;
  }

  body.has-cookie-banner .page {
    padding-bottom: 190px;
  }

  body.has-cookie-banner .whatsapp-float {
    bottom: 150px;
  }

  .header-tools {
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .search-box {
    min-width: 0;
    flex: 1;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .hero-panel,
  .collection-strip,
  .service-strip,
  .contact-footer,
  .editorial-grid {
    grid-template-columns: 1fr;
  }

  .collection-card {
    grid-template-columns: 1fr;
  }

  .stage-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .page {
    padding-top: 14px;
  }

  .cookie-banner {
    width: calc(100% - 18px);
    bottom: 12px;
    padding: 16px;
    border-radius: 22px;
  }

  .cookie-banner-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-banner-actions .primary-link,
  .cookie-banner-actions .secondary-link {
    width: 100%;
  }

  body.has-cookie-banner .page {
    padding-bottom: 240px;
  }

  body.has-cookie-banner .whatsapp-float {
    bottom: 200px;
  }

  .cookie-policy-actions .secondary-link {
    width: 100%;
  }

  .admin-header-actions {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .site-header,
  .hero-band,
  .filters-panel,
  .catalog-stage,
  .campaign-band,
  .contact-footer,
  .order-summary-card,
  .order-form-card,
  .editorial-copy,
  .editorial-tile,
  .collection-card {
    border-radius: 24px;
  }

  .site-header {
    padding: 16px;
  }

  .brand strong {
    font-size: 1.9rem;
  }

  .hero-band,
  .catalog-stage,
  .filters-panel,
  .campaign-band,
  .contact-footer,
  .order-summary-card,
  .order-form-card {
    padding-left: 18px;
    padding-right: 18px;
  }

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

  .gallery-arrow {
    width: 34px;
    height: 34px;
  }

  .order-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .field-row-2,
  .field-row-cep {
    grid-template-columns: 1fr;
  }

  .field-inline-action {
    width: 100%;
  }

  .admin-upload-row,
  .admin-inline-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-upload-control,
  .admin-upload-row .secondary-link,
  .admin-category-item .secondary-link {
    width: 100%;
    justify-content: center;
  }

  .admin-product-head {
    flex-direction: column;
    gap: 8px;
  }

  .cart-panel {
    width: 100%;
    border-radius: 0;
  }
}
