:root {
  color-scheme: dark;
  --bg-1: #160126;
  --bg-2: #0b1f44;
  --bg-3: #0f2a1a;
  --surface: linear-gradient(
    160deg,
    rgba(36, 18, 65, 0.9),
    rgba(7, 28, 44, 0.92) 54%,
    rgba(8, 36, 24, 0.9)
  );
  --surface-strong: linear-gradient(
    155deg,
    rgba(38, 13, 52, 0.96),
    rgba(6, 23, 40, 0.97) 52%,
    rgba(9, 34, 23, 0.95)
  );
  --line: rgba(255, 255, 255, 0.16);
  --line-strong: rgba(255, 108, 183, 0.42);
  --text: #fff8ef;
  --muted: rgba(255, 248, 239, 0.76);
  --accent: #00e0c7;
  --accent-2: #ff6cb7;
  --accent-3: #ffd447;
  --accent-4: #7dff7a;
  --shadow: 0 32px 90px rgba(7, 12, 28, 0.38);
  --radius: 30px;
  --max-width: 1200px;
}

html {
  background: #14011f;
}

body {
  position: relative;
  min-height: 100vh;
  font-family:
    "Manrope",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  letter-spacing: 0.01em;
  color: var(--text);
  background:
    radial-gradient(
      920px 620px at 8% 10%,
      rgba(255, 108, 183, 0.42),
      transparent 60%
    ),
    radial-gradient(
      820px 540px at 90% 12%,
      rgba(0, 224, 199, 0.34),
      transparent 58%
    ),
    radial-gradient(
      980px 700px at 52% 108%,
      rgba(255, 212, 71, 0.28),
      transparent 64%
    ),
    linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 46%, var(--bg-3) 100%);
  background-attachment: fixed;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background:
    repeating-linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.05) 0 16px,
      transparent 16px 58px
    ),
    radial-gradient(
      circle at 18% 22%,
      rgba(255, 123, 0, 0.18),
      transparent 24%
    ),
    radial-gradient(
      circle at 78% 30%,
      rgba(125, 255, 122, 0.14),
      transparent 22%
    );
  mix-blend-mode: screen;
  opacity: 0.5;
  animation: candella-zumba-wave 20s linear infinite alternate;
}

body::after {
  inset: auto -12vw -18vh auto;
  width: 44vw;
  height: 44vw;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 108, 183, 0.34), transparent 60%),
    radial-gradient(circle at 32% 28%, rgba(255, 212, 71, 0.26), transparent 44%);
  filter: blur(30px);
  opacity: 0.88;
  animation: candella-zumba-float 18s ease-in-out infinite;
}

::selection {
  background: rgba(255, 108, 183, 0.42);
  color: #fffaf0;
}

main {
  position: relative;
  z-index: 1;
}

h1,
h2,
h3,
.section-title,
.product-title,
.size-chart-header h2,
.size-chart-card h3,
.size-chart-note h3 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.wrap {
  width: min(calc(100% - 40px), var(--max-width));
}

.hero {
  padding: 92px 0 64px;
}

.hero-card,
.quote-shell,
.footer-card {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 8px);
}

.hero-card::before,
.quote-shell::before,
.footer-card::before {
  content: "";
  position: absolute;
  inset: -28% -14% auto;
  height: 78%;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 32%, rgba(255, 212, 71, 0.34), transparent 26%),
    radial-gradient(circle at 50% 14%, rgba(255, 108, 183, 0.3), transparent 24%),
    radial-gradient(circle at 86% 34%, rgba(0, 224, 199, 0.24), transparent 26%);
  animation: candella-zumba-float 16s ease-in-out infinite;
}

.hero-card::after,
.quote-shell::after,
.footer-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.hero-card > *,
.quote-shell > *,
.footer-card > * {
  position: relative;
  z-index: 1;
}

.hero-card {
  padding: clamp(30px, 4vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(
      150deg,
      rgba(37, 19, 68, 0.9),
      rgba(7, 26, 40, 0.92) 54%,
      rgba(8, 35, 24, 0.9) 100%
    ),
    var(--surface);
  box-shadow:
    0 28px 92px rgba(5, 10, 25, 0.42),
    0 0 0 1px rgba(255, 108, 183, 0.08);
}

.hero-heading {
  --hero-strip-height: clamp(116px, 12vw, 156px);
  min-height: var(--hero-strip-height);
  gap: 24px;
}

.hero-brand {
  align-items: center;
  gap: 12px;
  padding: clamp(12px, 2vw, 22px) clamp(18px, 2.5vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.03)
  );
  color: rgba(255, 248, 239, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-brand h1 {
  color: transparent;
  font-size: clamp(24px, 3.2vw, 44px);
  letter-spacing: 0.18em;
  background: linear-gradient(
    90deg,
    #ffd447 0%,
    #ff8a00 24%,
    #ff6cb7 58%,
    #00e0c7 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: none;
}

.hero-logo {
  height: calc(var(--hero-strip-height) * 0.76);
  filter:
    drop-shadow(0 16px 26px rgba(255, 108, 183, 0.18))
    drop-shadow(0 20px 30px rgba(0, 0, 0, 0.36));
}

.hero-subtitle,
.hero p,
.meta-pill,
.note,
.quote-helper,
.product-description,
.consent-copy,
.footer-card {
  color: var(--muted);
}

.hero-subtitle {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(0, 224, 199, 0.92);
}

.section-title {
  margin-bottom: 28px;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 0.95;
}

.section-title::after {
  content: "";
  display: block;
  width: min(168px, 34vw);
  height: 8px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(0, 224, 199, 0.96),
    rgba(255, 212, 71, 0.94),
    rgba(255, 108, 183, 0.94),
    transparent
  );
}

.gallery-grid {
  gap: 30px;
}

.product-card {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background:
    linear-gradient(
      180deg,
      rgba(28, 18, 60, 0.9),
      rgba(7, 26, 40, 0.93) 55%,
      rgba(8, 34, 22, 0.91)
    ),
    var(--surface);
  box-shadow:
    0 24px 70px rgba(5, 10, 24, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(18px);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.12), transparent 30%),
    radial-gradient(circle at 88% 14%, rgba(255, 108, 183, 0.18), transparent 28%),
    radial-gradient(circle at 16% 84%, rgba(0, 224, 199, 0.14), transparent 32%);
}

.product-card::after {
  top: 18px;
  right: 18px;
  border-color: transparent;
  background: linear-gradient(135deg, #ffd447, #ff6cb7);
  color: #2b1335;
  font-family: "Manrope", sans-serif;
  letter-spacing: 0.08em;
  box-shadow: 0 14px 28px rgba(255, 108, 183, 0.2);
}

.product-card:hover,
.product-card:focus-within {
  transform: translateY(-10px) scale(1.01);
  border-color: rgba(0, 224, 199, 0.46);
  box-shadow:
    0 34px 92px rgba(5, 10, 26, 0.42),
    0 0 0 1px rgba(255, 108, 183, 0.08);
}

.product-image {
  padding: 26px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.48), transparent 46%),
    linear-gradient(
      135deg,
      rgba(255, 212, 71, 0.98),
      rgba(255, 138, 0, 0.94) 28%,
      rgba(255, 108, 183, 0.92) 64%,
      rgba(0, 224, 199, 0.94) 100%
    );
}

.product-image::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 0;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.76), transparent 48%),
    linear-gradient(180deg, rgba(255, 251, 244, 0.98), rgba(255, 230, 210, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -20px 34px rgba(255, 108, 183, 0.08),
    0 16px 30px rgba(32, 14, 48, 0.08);
}

.product-image::after {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 0;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 20px;
  pointer-events: none;
}

.product-image img {
  position: relative;
  z-index: 1;
  transition:
    transform 0.55s ease,
    filter 0.35s ease;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.28));
}

.product-card:hover .product-image img,
.product-card:focus-within .product-image img {
  transform: scale(1.04);
  filter: drop-shadow(0 26px 36px rgba(0, 0, 0, 0.36));
}

.product-body {
  gap: 16px;
  padding: 24px;
}

.product-caption,
.quote-table-head,
.contact-field span,
.quote-status,
.footer-links a,
.consent-copy a {
  color: rgba(255, 212, 71, 0.98);
}

.product-caption {
  font-size: 11px;
  letter-spacing: 0.18em;
}

.product-title {
  color: var(--text);
  font-size: clamp(27px, 2vw, 34px);
  line-height: 1.02;
  text-shadow: 0 10px 18px rgba(0, 0, 0, 0.22);
}

.product-title:hover,
.product-title:focus-visible {
  color: #ffffff;
  text-decoration-color: rgba(0, 224, 199, 0.6);
}

.variant-switch {
  gap: 12px;
}

.button {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.variant-toggle,
.button-secondary {
  border-color: rgba(255, 255, 255, 0.14);
  background: linear-gradient(
    180deg,
    rgba(12, 21, 33, 0.9),
    rgba(28, 15, 45, 0.94)
  );
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.variant-toggle {
  min-height: 44px;
  font-size: 12px;
}

.variant-toggle.is-active,
.button-primary {
  border-color: rgba(255, 255, 255, 0.34);
  background: linear-gradient(
    90deg,
    #ffd447 0%,
    #ff8a00 24%,
    #ff6cb7 58%,
    #00e0c7 100%
  );
  background-size: 180% 180%;
  color: #231231;
  box-shadow: 0 18px 34px rgba(255, 108, 183, 0.26);
  animation: candella-zumba-gradient 10s ease infinite;
}

.button:hover,
.button:focus-visible,
.variant-toggle:hover,
.variant-toggle:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.quote-shell {
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--surface-strong);
  box-shadow:
    0 36px 96px rgba(5, 10, 25, 0.4),
    0 0 0 1px rgba(255, 212, 71, 0.04);
}

.quote-shell.is-highlighted {
  border-color: rgba(255, 212, 71, 0.52);
  box-shadow:
    0 40px 110px rgba(5, 10, 25, 0.46),
    0 0 0 10px rgba(255, 212, 71, 0.08);
}

.quote-row {
  position: relative;
  z-index: 0;
  overflow: visible;
  border-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.03)
  );
  backdrop-filter: blur(12px);
}

.quote-row:hover,
.quote-row:focus-within {
  z-index: 20;
}

.quote-chip {
  border-color: rgba(255, 108, 183, 0.34);
  background: rgba(255, 108, 183, 0.12);
  color: #ffeaf5;
}

.quote-chip.quote-chip-button:hover,
.quote-chip.quote-chip-button:focus-visible {
  border-color: rgba(255, 212, 71, 0.46);
  background: rgba(255, 212, 71, 0.16);
  color: #fff9ea;
}

.quote-input {
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(8, 17, 28, 0.88);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.quote-input:hover {
  border-color: rgba(0, 224, 199, 0.4);
}

.quote-input:focus-visible,
.button:focus-visible,
.variant-toggle:focus-visible,
.preview-thumb:focus-visible,
.size-chart-close:focus-visible,
.preview-close:focus-visible {
  outline: none;
  border-color: rgba(0, 224, 199, 0.5);
  box-shadow: 0 0 0 4px rgba(0, 224, 199, 0.18);
}

.quote-input:focus-visible {
  background: rgba(10, 20, 34, 0.98);
}

.quote-size-button {
  border-radius: 8px;
  cursor: pointer;
}

.quote-size-button.is-empty {
  color: var(--muted);
}

.quote-size-button:hover,
.quote-size-button:focus-visible {
  border-color: rgba(255, 212, 71, 0.46);
  background: rgba(255, 212, 71, 0.14);
  color: #fff9ea;
}

.quote-size-unavailable {
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(8, 17, 28, 0.5);
  color: var(--muted);
}

.quote-color-unavailable {
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(8, 17, 28, 0.5);
  color: var(--muted);
}

.quote-color-trigger {
  border-radius: 8px;
  cursor: pointer;
}

.quote-color-trigger.is-empty {
  color: var(--muted);
}

.quote-color-options {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(8, 17, 28, 0.98);
}

.quote-color-option {
  border-radius: 8px;
}

.quote-color-option:hover,
.quote-color-option:focus-visible,
.quote-color-option.is-selected {
  border-color: rgba(255, 212, 71, 0.42);
  background: rgba(255, 212, 71, 0.12);
}

.quote-empty,
.footer-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(
    160deg,
    rgba(29, 17, 56, 0.9),
    rgba(6, 24, 39, 0.92) 54%,
    rgba(8, 34, 23, 0.9)
  );
}

.footer-card {
  box-shadow: 0 24px 60px rgba(5, 10, 25, 0.34);
}

.footer-links {
  gap: 16px;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.consent-copy a:hover,
.consent-copy a:focus-visible {
  color: #ffffff;
}

.preview-modal {
  background: rgba(5, 8, 18, 0.54);
  backdrop-filter: blur(16px);
}

.preview-dialog {
  border-color: rgba(255, 255, 255, 0.14);
  background: var(--surface-strong);
  box-shadow: 0 40px 120px rgba(5, 10, 24, 0.46);
}

.preview-close {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(9, 14, 27, 0.92);
  color: var(--accent-3);
}

.preview-media {
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.34), transparent 44%),
    linear-gradient(
      135deg,
      rgba(255, 212, 71, 0.98),
      rgba(255, 138, 0, 0.94) 28%,
      rgba(255, 108, 183, 0.92) 64%,
      rgba(0, 224, 199, 0.94) 100%
    );
}

.preview-media img {
  background: transparent;
}

.preview-caption {
  color: var(--muted);
}

.preview-thumb {
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(
    180deg,
    rgba(255, 248, 239, 0.98),
    rgba(255, 226, 207, 0.94)
  );
}

.preview-thumb.is-active {
  border-color: rgba(255, 212, 71, 0.52);
  box-shadow: 0 0 0 3px rgba(255, 212, 71, 0.18);
}

.size-chart-modal {
  overflow: hidden;
  padding: clamp(10px, 2vw, 24px);
  background: rgba(4, 8, 17, 0.78);
  backdrop-filter: blur(18px);
}

.size-chart-dialog {
  width: min(100%, 1180px);
  overflow-x: hidden;
  overflow-y: auto;
  border-color: rgba(255, 255, 255, 0.14);
  background: var(--surface-strong);
  box-shadow: 0 42px 110px rgba(5, 10, 24, 0.48);
  color: var(--text);
}

.size-chart-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.size-chart-card {
  min-width: 0;
}

.size-chart-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.size-chart-table {
  min-width: 620px;
  table-layout: fixed;
}

.size-chart-close {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(10, 17, 29, 0.94);
  color: var(--accent-3);
}

.size-chart-badge {
  background: linear-gradient(90deg, #ffd447, #ff8a00, #ff6cb7);
  color: #251133;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.size-chart-header h2,
.size-chart-card h3,
.size-chart-note h3 {
  color: var(--text);
}

.size-chart-header p,
.size-chart-note p {
  color: var(--muted);
}

.size-chart-card,
.size-chart-note {
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(
    160deg,
    rgba(25, 16, 52, 0.88),
    rgba(7, 24, 38, 0.9)
  );
  box-shadow: none;
}

.size-chart-card h3 {
  background: rgba(255, 212, 71, 0.1);
}

.size-chart-table th,
.size-chart-table td {
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text);
  overflow-wrap: anywhere;
}

.size-chart-table thead th {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 212, 71, 0.98);
}

.size-chart-table th:first-child,
.size-chart-table td:first-child {
  width: 28%;
  color: rgba(0, 224, 199, 0.96);
}

.size-chart-picker-hint {
  color: rgba(255, 248, 239, 0.82);
}

.size-chart-size-button,
.size-chart-measure-button {
  border-radius: 8px;
  white-space: normal;
}

.size-chart-modal.is-picking-size [data-size-option]:hover,
.size-chart-modal.is-picking-size [data-size-option]:focus-visible,
[data-size-option].is-selected {
  border-color: rgba(255, 212, 71, 0.78);
  background: rgba(255, 212, 71, 0.18);
  color: #fff9ea;
  box-shadow: 0 0 0 3px rgba(255, 212, 71, 0.16);
}

@keyframes candella-zumba-wave {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(2.5%, -1.5%, 0);
  }
}

@keyframes candella-zumba-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(-2%, -3%, 0) scale(1.05);
  }
}

@keyframes candella-zumba-gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@media (max-width: 980px) {
  .hero-heading {
    --hero-strip-height: clamp(92px, 14vw, 120px);
    grid-template-columns: minmax(84px, 110px) 1fr minmax(84px, 110px);
  }

  .product-title {
    font-size: clamp(24px, 3.4vw, 30px);
  }
}

@media (max-width: 680px) {
  body {
    background-attachment: scroll;
  }

  .size-chart-modal {
    padding: 0;
    place-items: stretch;
  }

  .size-chart-dialog {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    max-height: 100dvh;
    border-radius: 0;
    padding: 20px 10px 28px;
  }

  .size-chart-table-wrap {
    padding: 8px;
  }

  .size-chart-table {
    min-width: 560px;
    font-size: 13px;
  }

  .size-chart-table th,
  .size-chart-table td {
    padding: 8px 6px;
  }

  .size-chart-size-button,
  .size-chart-measure-button {
    min-height: 30px;
    padding: 5px 6px;
  }

  .quote-color-picker.is-open .quote-color-dot {
    opacity: 1;
    transform: scale(1);
  }

  body::before {
    opacity: 0.32;
  }

  body::after {
    width: 72vw;
    height: 72vw;
  }

  .wrap {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .hero {
    padding-top: 44px;
  }

  .hero-card,
  .quote-shell {
    padding: 24px 20px;
  }

  .hero-heading {
    --hero-strip-height: 80px;
    grid-template-columns: 72px 1fr 72px;
    gap: 12px;
  }

  .hero-brand {
    padding: 12px 10px;
  }

  .hero-brand h1 {
    font-size: clamp(16px, 5vw, 24px);
    letter-spacing: 0.12em;
  }

  .hero-subtitle {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
  }

  .section-title {
    font-size: clamp(34px, 11vw, 44px);
  }

  .product-title {
    font-size: 25px;
  }

  .product-body {
    padding: 20px;
  }

  .button,
  .variant-toggle {
    letter-spacing: 0.05em;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
