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

:root {
  --bg: #faf6f1;
  --bg-soft: #f4eee7;
  --surface: rgba(255, 251, 247, 0.84);
  --surface-strong: #fffdfa;
  --surface-dark: #2f2926;
  --terracotta: #bf6a48;
  --terracotta-deep: #a45337;
  --terracotta-soft: #ead0c3;
  --line: rgba(63, 43, 32, 0.12);
  --line-soft: rgba(63, 43, 32, 0.06);
  --ink: #231b18;
  --muted: #73655d;
  --shadow-soft: 0 16px 42px rgba(121, 88, 70, 0.08);
  --shadow-card: 0 18px 50px rgba(136, 103, 84, 0.1);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1150px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(238, 221, 208, 0.55), transparent 32%),
    radial-gradient(circle at 82% 12%, rgba(248, 241, 235, 0.92), transparent 25%),
    linear-gradient(180deg, #fdfaf7 0%, var(--bg) 38%, #f8f2ec 100%);
}

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

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

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

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

.container--narrower {
  width: min(calc(100% - 44px), 1280px);
}

.container--products {
  width: min(calc(100% - 44px), 1320px);
}

.narrow {
  max-width: 720px;
}

.site-main {
  min-height: 100vh;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--terracotta);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
}

.eyebrow::before {
  content: "✧";
  font-size: 0.75rem;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Playfair Display", "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.95rem, 3.5vw, 3rem);
}

h2 {
  font-size: clamp(1.45rem, 2.1vw, 2.1rem);
}

h3 {
  font-size: 1.28rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 30px;
  border-radius: 12px;
  border: 1px solid #cf8c6f;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  font-size: 0.96rem;
  font-weight: 600;
}

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

.button--primary {
  background: #b85e39;
  border-color: #a85131;
  color: #fff;
  box-shadow: none;
}

.button--primary:hover {
  background: #aa532f;
  border-color: #9f4d2b;
  box-shadow: none;
}

.button--secondary,
.button--ghost {
  background: #fffdfa;
  border-color: #e1b8a4;
  color: var(--ink);
}

.button--full {
  width: 100%;
}

.button--header {
  min-height: 34px;
  padding: 0 16px;
  font-size: 0.82rem;
  white-space: nowrap;
  color: #fff !important;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--terracotta-deep);
  font-size: 0.92rem;
}

.text-link::after {
  content: "→";
  font-size: 0.95rem;
}

.promo-marquee {
  width: 100%;
  overflow: hidden;
  background: #b85e39;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(111, 50, 27, 0.22);
}

.promo-marquee__track {
  display: inline-flex;
  width: max-content;
  animation: promo-marquee 38s linear infinite;
  will-change: transform;
}

.promo-marquee__track span {
  flex: 0 0 auto;
  padding: 8px 30px;
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.promo-marquee__track span::after {
  content: "•";
  display: inline-block;
  margin-left: 30px;
  opacity: 0.72;
}

@keyframes promo-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .promo-marquee__track {
    animation-duration: 56s;
  }
}

@media (max-width: 640px) {
  .promo-marquee__track {
    animation-duration: 52s;
  }
}

.scroll-hint {
  position: fixed;
  z-index: 24;
  left: 50%;
  bottom: 28px;
  width: 40px;
  height: 62px;
  display: grid;
  place-items: start center;
  padding: 14px 0 0;
  border: 2px solid var(--terracotta-deep);
  border-radius: 999px;
  background: rgba(255, 250, 246, 0.74);
  color: var(--terracotta-deep);
  box-shadow: 0 12px 28px rgba(63, 43, 32, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  transition: opacity 220ms ease;
  backdrop-filter: blur(8px);
}

.scroll-hint span {
  width: 4px;
  height: 11px;
  border-radius: 999px;
  background: currentColor;
  animation: scroll-hint-wheel 1.55s ease-in-out infinite;
}

.scroll-hint.is-visible {
  opacity: 1;
  pointer-events: auto;
  animation: scroll-hint-bounce 1.25s ease-in-out infinite;
}

.scroll-hint.is-hidden {
  opacity: 0;
  pointer-events: none;
}

@keyframes scroll-hint-wheel {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  28% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(18px);
  }
}

@keyframes scroll-hint-bounce {
  0%,
  100% {
    bottom: 28px;
  }

  45% {
    bottom: 46px;
  }

  70% {
    bottom: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-hint.is-visible {
    animation: none;
  }

  .scroll-hint span {
    animation: none;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(250, 246, 241, 0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(63, 43, 32, 0.05);
}

.header-inner {
  display: grid;
  grid-template-columns: 110px 1fr 64px;
  align-items: center;
  min-height: 50px;
}

.brand img {
  width: 42px;
  object-fit: contain;
}

.footer-logo {
  width: 100px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  font-size: 0.8rem;
}

.main-nav > a,
.nav-dropdown__button {
  color: rgba(35, 27, 24, 0.9);
}

.main-nav > a:hover,
.nav-dropdown__button:hover {
  color: var(--terracotta);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.nav-dropdown__button::after {
  content: "⌄";
  margin-left: 7px;
  font-size: 0.8rem;
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  min-width: 224px;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(255, 252, 249, 0.96);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.22s ease;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu,
.nav-dropdown.is-open .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown__menu a {
  padding: 10px 12px;
  border-radius: 12px;
}

.nav-dropdown__menu a:hover {
  background: rgba(191, 106, 72, 0.07);
  color: var(--terracotta);
}

.nav-toggle {
  display: none;
  justify-self: end;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  align-items: center;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.hero-section,
.section,
.page-hero,
.theme-hero {
  padding: 78px 0;
}

.hero-section {
  padding-top: 48px;
  padding-bottom: 126px;
}

.hero-grid,
.theme-hero__grid,
.product-detail {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 66px;
  align-items: start;
}

.hero-grid--reference {
  max-width: 875px;
  margin: 0 auto;
}

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

.hero-copy h1 {
  max-width: 400px;
  font-size: clamp(2.7rem, 4vw, 3.7rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.hero-copy em {
  color: var(--terracotta);
  font-style: italic;
  font-weight: 400;
}

.hero-copy p {
  margin-top: 18px;
  max-width: 350px;
  font-size: 0.98rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-stats {
  display: flex;
  gap: 22px;
  margin-top: 30px;
}

.hero-stats div {
  min-width: 94px;
  padding-right: 22px;
  border-right: 1px solid var(--line);
}

.hero-stats div:last-child {
  border-right: 0;
  padding-right: 0;
}

.hero-stats strong {
  display: block;
  margin-bottom: 7px;
  font-family: "Manrope", sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--terracotta);
  font-variant-numeric: lining-nums tabular-nums;
}

.hero-stats span {
  display: block;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.35;
}

.hero-media {
  position: relative;
  display: flex;
}

.hero-image-shell,
.theme-hero__banner,
.product-viewer {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.hero-image-shell {
  width: 100%;
  min-height: 520px;
  background: transparent;
  border-radius: 30px;
  box-shadow: 0 18px 40px rgba(143, 109, 89, 0.1);
}

.hero-image-shell img,
.theme-hero__banner img,
.product-viewer img,
.product-viewer video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-model-frame {
  display: block;
  width: 100%;
  min-height: 720px;
  height: min(78vh, 860px);
  border: 0;
  background: #fff;
}

.product-viewer video,
.custom-format__media-card video {
  position: relative;
  z-index: 1;
  background: #17110f;
}

.hero-slideshow__image {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.015);
  animation: heroFade 15s infinite;
  transition: opacity 1.2s ease;
}

.hero-slideshow__image:nth-child(1) {
  animation-delay: 0s;
}

.hero-slideshow__image:nth-child(2) {
  animation-delay: 3s;
}

.hero-slideshow__image:nth-child(3) {
  animation-delay: 6s;
}

.hero-slideshow__image:nth-child(4) {
  animation-delay: 9s;
}

.hero-slideshow__image:nth-child(5) {
  animation-delay: 12s;
}

@keyframes heroFade {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  16% {
    opacity: 1;
  }
  25% {
    opacity: 0;
    transform: scale(1.025);
  }
  94% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.floating-card {
  display: none;
}

.section--soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(244, 238, 231, 0.58));
}

.section-heading {
  margin-bottom: 34px;
}

.section--occasion .section-heading {
  text-align: center;
}

.section--occasion .section-heading p {
  margin-left: auto;
  margin-right: auto;
}

.section--occasion .section-heading::after {
  margin-left: auto;
  margin-right: auto;
}

.section--products .section-heading h2 {
  font-size: 3.05rem;
}

.section-heading__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
}

.section-heading h2 {
  margin-bottom: 10px;
}

.section-heading p {
  max-width: 460px;
  font-size: 0.9rem;
}

.section-heading::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin-top: 18px;
  background: var(--terracotta);
}

.slider-actions {
  display: flex;
  gap: 10px;
}

.slider-button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.9rem;
}

.occasion-grid,
.product-grid,
.theme-grid,
.process-grid,
.admin-overview,
.admin-layout {
  display: grid;
  gap: 20px;
}

.occasion-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 860px;
  margin: 0 auto;
}

.occasion-card,
.theme-card__banner,
.product-card__media {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.occasion-card {
  display: block;
  min-height: 274px;
  box-shadow: var(--shadow-card);
  text-decoration: none;
}

.product-card__media {
  min-height: 280px;
  background: #efe7df;
}

.theme-card__banner {
  min-height: 260px;
  background: #eee4dc;
}

.occasion-card img,
.product-card__media img,
.theme-card__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.occasion-card:hover,
.theme-card__banner:hover,
.product-card__media:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(59, 42, 31, 0.12);
}

.occasion-card:hover img,
.theme-card__banner:hover img,
.product-card__media:hover img {
  transform: scale(1.035);
}

.occasion-card__overlay,
.theme-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  color: #fff;
  background: linear-gradient(180deg, rgba(9, 8, 7, 0.02) 35%, rgba(20, 15, 13, 0.86) 100%);
}

.occasion-card__overlay span:first-child {
  margin-bottom: 4px;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.occasion-card__overlay h3,
.theme-card__overlay h3 {
  margin-bottom: 6px;
  font-size: 1.22rem;
  line-height: 1;
}

.occasion-card__overlay strong,
.theme-card__overlay span {
  font-size: 0.72rem;
}

.product-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 186px;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}

.content-slider {
  display: grid;
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px 2px 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.content-slider > * {
  scroll-snap-align: start;
}

.occasion-slider {
  grid-auto-columns: minmax(240px, 280px);
  max-width: 100%;
}

.theme-slider {
  grid-auto-columns: minmax(260px, 320px);
}

.instagram-slider {
  grid-auto-columns: minmax(160px, 190px);
}

.product-slider::-webkit-scrollbar {
  height: 6px;
}

.product-slider::-webkit-scrollbar-thumb {
  background: rgba(191, 106, 72, 0.18);
  border-radius: 999px;
}

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

.product-card {
  display: grid;
  gap: 12px;
}

.product-card__media {
  scroll-snap-align: start;
  box-shadow: none;
}

.product-card__body {
  display: grid;
  gap: 5px;
}

.product-card__meta {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-card__body h3 {
  font-size: 1rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.product-card__description {
  display: -webkit-box;
  min-height: 48px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-card__price,
.product-price {
  color: var(--terracotta);
  font-family: "Manrope", sans-serif;
  font-size: 1.28rem;
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
}

.pill,
.video-indicator,
.badge {
  position: absolute;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-width: 76px;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
}

.pill,
.badge {
  background: linear-gradient(180deg, #c67452, var(--terracotta-deep));
}

.badge--inline {
  position: static;
  left: auto;
  display: inline-flex;
  justify-self: start;
  width: fit-content;
  margin-bottom: 2px;
}

.pill--top {
  top: 12px;
}

.pill--secondary {
  top: 34px;
  background: linear-gradient(180deg, #6b4334, #4f2f24);
}

.pill--solo {
  top: 12px;
}

.pill--promo {
  top: 12px;
  right: 12px;
  left: auto;
  min-width: 54px;
  min-height: 54px;
  padding: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #e44949, #be202f);
  box-shadow: 0 8px 18px rgba(120, 20, 29, 0.22);
  font-size: 0.58rem;
  line-height: 1.05;
}

.badge--promo {
  background: linear-gradient(180deg, #e44949, #be202f);
}

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

.video-indicator {
  right: 12px;
  left: auto;
  top: 12px;
  background: rgba(35, 27, 24, 0.7);
}

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

.theme-grid--full {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.theme-card__monogram {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  color: rgba(198, 118, 82, 0.55);
  z-index: 1;
}

.theme-card__overlay {
  padding-top: 24px;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.page-hero,
.theme-hero {
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(3.1rem, 6vw, 4.9rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.page-hero p {
  max-width: 470px;
  margin: 14px auto 0;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(70, 51, 42, 0.88);
}

.page-hero .eyebrow {
  margin-bottom: 14px;
}

.theme-hero {
  text-align: left;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding-left: 18px;
  position: relative;
  color: var(--muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terracotta);
}

.custom-format-stack {
  display: grid;
  gap: 34px;
}

.custom-format {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 34px;
  align-items: center;
  padding: 12px 0;
}

.custom-format--reverse {
  grid-template-columns: 1.08fr 0.92fr;
}

.custom-format--reverse .custom-format__copy {
  order: 2;
}

.custom-format--reverse .custom-format__media {
  order: 1;
}

.custom-format__title-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: nowrap;
  margin-bottom: 14px;
}

.custom-format__badges {
  display: flex;
  margin-bottom: 10px;
}

.custom-format__eyebrow {
  margin-bottom: 0;
  font-size: 0.78rem;
}

.custom-format__copy h2 {
  margin-bottom: 0;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 0.98;
}

.custom-format__copy p {
  max-width: 520px;
  font-size: 0.9rem;
  line-height: 1.8;
}

.custom-format__description + .custom-format__description {
  margin-top: 8px;
}

.custom-format__price {
  margin-top: 0;
  color: #2f8f4e;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
}

.custom-format__note {
  margin-top: 6px;
  max-width: 540px;
  color: rgba(91, 68, 57, 0.82);
  font-size: 0.95rem;
}

.custom-format__hint {
  margin-top: 12px;
  color: rgba(91, 68, 57, 0.9);
  font-size: 0.94rem;
}

.custom-format__interactive {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  margin-bottom: 12px;
}

.custom-format__mobile-actions {
  display: none;
}

.custom-format__desktop-actions {
  display: block;
}

.interactive-chip {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: linear-gradient(180deg, #c67452, #a95435);
  color: #fff;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.interactive-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 18px rgba(62, 35, 24, 0.26);
}

.interactive-chip__icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: currentColor;
}

.interactive-chip__icon-svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.interactive-chip__balloon {
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  width: min(320px, 86vw);
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(205, 182, 166, 0.5);
  background: rgba(255, 252, 248, 0.98);
  box-shadow: 0 14px 28px rgba(61, 43, 34, 0.14);
  color: #5d4337;
  font-size: 0.84rem;
  line-height: 1.6;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);
  transition: 0.2s ease;
  z-index: 6;
}

.interactive-chip__balloon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -7px;
  width: 12px;
  height: 12px;
  border-top: 1px solid rgba(205, 182, 166, 0.5);
  border-left: 1px solid rgba(205, 182, 166, 0.5);
  background: rgba(255, 252, 248, 0.98);
  transform: translateX(-50%) rotate(45deg);
}

.interactive-chip.is-open .interactive-chip__balloon {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.custom-format__gift-note {
  margin-top: 2px;
  margin-bottom: 2px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(191, 106, 72, 0.28);
  background: rgba(191, 106, 72, 0.08);
  color: #7c4d39;
  font-size: 0.9rem;
  line-height: 1.65;
}

.custom-format__media {
  display: flex;
  justify-content: center;
}

.custom-format__media--mobile {
  display: none;
}

.custom-format__media-card {
  width: min(100%, 330px);
  aspect-ratio: 9 / 16;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(160deg, #2e221e 0%, #1f1815 36%, #0f0d0c 100%);
  transform: perspective(1200px) rotateY(-11deg) rotateX(3deg);
  transform-origin: center;
  box-shadow:
    -18px 24px 38px rgba(43, 28, 22, 0.3),
    0 16px 24px rgba(122, 84, 65, 0.2);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.custom-format--reverse .custom-format__media-card {
  transform: perspective(1200px) rotateY(11deg) rotateX(3deg);
}

.custom-format__media-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 248, 242, 0.2);
  pointer-events: none;
}

.custom-format__media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.18), transparent 42%, rgba(255, 255, 255, 0.08) 64%, transparent 84%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.custom-format__media-card.is-video-playing::after {
  opacity: 0;
}

.custom-format:hover .custom-format__media-card {
  transform: perspective(1200px) rotateY(-8deg) rotateX(2deg) translateY(-3px);
  box-shadow:
    -20px 28px 44px rgba(43, 28, 22, 0.34),
    0 18px 26px rgba(122, 84, 65, 0.22);
}

.custom-format--reverse:hover .custom-format__media-card {
  transform: perspective(1200px) rotateY(8deg) rotateX(2deg) translateY(-3px);
}

.custom-format__media-card video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.album-social {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 34px;
  align-items: start;
}

.album-social__copy p {
  max-width: 620px;
  font-size: 0.9rem;
  line-height: 1.78;
}

.album-social__copy p + p {
  margin-top: 10px;
}

.album-social__plans {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.album-plan {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(191, 106, 72, 0.24);
  background: rgba(255, 252, 248, 0.82);
}

.album-plan h3 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 1.6rem;
}

.album-plan h3 span {
  color: #2f8f4e;
  font-size: 1.3rem;
  font-weight: 700;
}

.album-plan ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0 0 0 18px;
  color: #5c4337;
  font-size: 0.88rem;
  line-height: 1.6;
}

.album-plan--pro {
  border-color: rgba(47, 143, 78, 0.35);
  background: linear-gradient(180deg, rgba(236, 255, 243, 0.7), rgba(255, 255, 255, 0.96));
}

.album-social__note {
  margin-top: 14px;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(191, 106, 72, 0.4);
  background: rgba(255, 249, 244, 0.92);
  color: #7d4d39;
  font-size: 0.85rem;
}

.album-social__mock-wrap {
  display: flex;
  justify-content: center;
}

.album-social__mock {
  width: min(100%, 390px);
  border-radius: 26px;
  padding: 0;
  border: 1px solid rgba(191, 106, 72, 0.28);
  background: linear-gradient(160deg, #fffdf9 0%, #f7eee8 100%);
  box-shadow: 0 24px 46px rgba(61, 43, 34, 0.16);
  overflow: hidden;
}

.album-app {
  padding-bottom: 12px;
}

.album-app__cover {
  height: 112px;
  background:
    radial-gradient(circle at 68% 28%, rgba(255, 255, 255, 0.35), transparent 36%),
    radial-gradient(circle at 16% 35%, rgba(255, 255, 255, 0.2), transparent 30%),
    linear-gradient(140deg, #243b7a 0%, #2f4d97 52%, #6f3f9a 100%);
  overflow: hidden;
}

.album-app__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-app__avatar {
  width: 84px;
  height: 84px;
  margin: -42px auto 0;
  border-radius: 50%;
  border: 3px solid #fff;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.32), transparent 26%),
    linear-gradient(150deg, #cf8c74 0%, #8a5b52 100%);
  box-shadow: 0 10px 20px rgba(42, 26, 21, 0.26);
  overflow: hidden;
}

.album-app__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-app__profile {
  padding: 10px 16px 0;
  text-align: center;
}

.album-app__profile h4 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  line-height: 1.1;
}

.album-app__profile p {
  margin: 0 auto;
  max-width: 280px;
  color: #5f4a61;
  font-size: 0.78rem;
  line-height: 1.6;
}

.album-app__stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

.album-app__stats div {
  display: grid;
  gap: 2px;
}

.album-app__stats strong {
  color: #2b1f2c;
  font-size: 1rem;
}

.album-app__stats span {
  color: #6e5c73;
  font-size: 0.68rem;
}

.album-app__cta {
  width: calc(100% - 32px);
  min-height: 46px;
  margin: 14px 16px 0;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(120deg, #f03b9f 0%, #b24be7 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.96rem;
}

.album-app__tabs {
  display: flex;
  justify-content: space-around;
  margin: 14px 16px 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(170, 140, 124, 0.28);
}

.album-app__tabs span {
  color: #6e5c73;
  font-size: 0.82rem;
  font-weight: 600;
}

.album-app__tabs .is-active {
  color: #1f1820;
}

.album-app__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0 10px;
}

.album-app__card {
  border: 1px solid rgba(164, 133, 118, 0.24);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.album-app__thumb {
  height: 108px;
  overflow: hidden;
}

.album-app__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-app__actions {
  padding: 6px 8px;
  font-size: 0.68rem;
  color: #6d5b72;
}

.rsvp-showcase {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: start;
}

.rsvp-showcase__copy p {
  max-width: 620px;
  font-size: 0.9rem;
  line-height: 1.7;
}

.rsvp-showcase__copy p + p {
  margin-top: 10px;
}

.rsvp-showcase__list {
  display: grid;
  gap: 7px;
  margin: 14px 0 0;
  padding-left: 18px;
  color: #4f3a31;
  font-size: 0.86rem;
}

.rsvp-showcase__mock-wrap {
  display: flex;
  justify-content: center;
}

.rsvp-mock {
  position: relative;
  width: min(100%, 390px);
  padding: 0 18px 22px;
  min-height: 0;
  border-radius: 26px;
  border: 1px solid rgba(191, 106, 72, 0.28);
  background: linear-gradient(160deg, #fffdf9 0%, #f7eee8 100%);
  box-shadow: 0 24px 46px rgba(61, 43, 34, 0.16);
  overflow: visible;
}

.rsvp-mock__toast {
  position: absolute;
  top: -16px;
  right: 22px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(188, 169, 155, 0.55);
  background: #fff;
  font-size: 0.73rem;
  color: #58463d;
  box-shadow: 0 10px 18px rgba(61, 43, 34, 0.16);
  animation: rsvpFloatToast 3.6s ease-in-out infinite;
  z-index: 3;
}

.rsvp-mock__header {
  margin: 0 -18px 12px;
  padding: 18px 20px;
  border-radius: 24px 24px 0 0;
  background:
    radial-gradient(circle at 80% 14%, rgba(255, 255, 255, 0.3), transparent 36%),
    linear-gradient(120deg, #179d6b 0%, #43cfa0 100%);
  color: #fff;
}

.rsvp-mock__header h3 {
  font-size: 2.02rem;
  line-height: 0.9;
}

.rsvp-mock__header p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.84rem;
}

.rsvp-mock__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.rsvp-mock__stats div {
  padding: 13px 10px;
  border-radius: 12px;
  border: 1px solid rgba(140, 197, 169, 0.4);
  background: linear-gradient(180deg, #ffffff 0%, #f8fffb 100%);
  text-align: center;
}

.rsvp-mock__stats strong {
  display: block;
  color: #138c5e;
  font-size: 1.2rem;
}

.rsvp-mock__stats span {
  color: #5b7768;
  font-size: 0.75rem;
}

.rsvp-mock__toolbar {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.rsvp-mock__toolbar button {
  min-height: 32px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(145, 199, 172, 0.5);
  background: #fff;
  color: #35604d;
  font-size: 0.8rem;
}

.rsvp-mock__toolbar .is-primary {
  background: linear-gradient(120deg, #cb5f35 0%, #bf6a48 100%);
  border-color: #b85f3f;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 14px rgba(181, 88, 52, 0.28);
}

.rsvp-mock__guest-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.rsvp-mock__extras {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.rsvp-extra {
  padding: 10px 11px;
  border-radius: 11px;
  border: 1px solid rgba(145, 199, 172, 0.45);
  background: linear-gradient(180deg, #ffffff 0%, #f4fff9 100%);
}

.rsvp-extra strong {
  display: block;
  color: #255845;
  font-size: 0.8rem;
}

.rsvp-extra span {
  display: block;
  margin-top: 4px;
  color: #557769;
  font-size: 0.74rem;
}

.rsvp-mock__guest {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 203, 176, 0.35);
  background: linear-gradient(180deg, #ffffff 0%, #f7fffb 100%);
}

.rsvp-mock__guest-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(27, 154, 108, 0.14);
  display: grid;
  place-items: center;
  font-size: 0.74rem;
  overflow: hidden;
}

.rsvp-mock__guest-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rsvp-mock__guest strong {
  display: block;
  color: #2b4f3e;
  font-size: 0.95rem;
}

.rsvp-mock__guest span {
  color: #5a7b6b;
  font-size: 0.8rem;
}

.rsvp-mock__guest i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(32, 161, 114, 0.65);
  color: #21a374;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 0.82rem;
}

.rsvp-mock__footer-chip {
  width: fit-content;
  position: absolute;
  left: 20px;
  bottom: -20px;
  padding: 7px 12px;
  border-radius: 9px;
  border: 1px solid rgba(188, 169, 155, 0.45);
  background: #fff;
  color: #5a463d;
  font-size: 0.76rem;
  font-weight: 600;
  box-shadow: 0 12px 18px rgba(61, 43, 34, 0.16);
  animation: rsvpFloatChip 3.9s ease-in-out infinite;
  z-index: 3;
}

.rsvp-mock__timeline {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.rsvp-mock__timeline div {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(191, 106, 72, 0.18);
  background: rgba(255, 255, 255, 0.82);
}

.rsvp-mock__timeline span {
  color: #8a6a5c;
  font-size: 0.68rem;
}

.rsvp-mock__timeline strong {
  color: #5a463d;
  font-size: 0.76rem;
  font-weight: 600;
}

@keyframes rsvpFloatToast {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes rsvpFloatChip {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
  100% {
    transform: translateY(0);
  }
}

.filter-bar {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr auto;
  gap: 10px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(255, 251, 247, 0.92), rgba(252, 246, 240, 0.86));
  border: 1px solid rgba(201, 152, 126, 0.32);
  border-radius: 18px;
  box-shadow: 0 12px 24px rgba(188, 108, 82, 0.06);
  margin-bottom: 24px;
}

.filter-bar input,
.filter-dropdown__toggle,
.admin-form input,
.admin-form textarea,
.admin-form select {
  min-height: 44px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid rgba(201, 152, 126, 0.48);
  background: rgba(255, 253, 250, 0.96);
  color: #5d4337;
}

.filter-bar input::placeholder {
  color: rgba(137, 95, 74, 0.82);
}

.filter-bar input:focus,
.filter-dropdown__toggle:focus,
.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
  outline: none;
  border-color: rgba(184, 94, 57, 0.72);
  box-shadow: 0 0 0 3px rgba(184, 94, 57, 0.12);
}

.filter-dropdown {
  position: relative;
}

.filter-dropdown__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
}

.filter-dropdown__toggle::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid #7a5647;
  border-bottom: 2px solid #7a5647;
  transform: rotate(45deg) translateY(-2px);
  flex: 0 0 auto;
  margin-left: 12px;
}

.filter-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: min(360px, 58vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(201, 152, 126, 0.36);
  background: rgba(255, 251, 247, 0.98);
  box-shadow: 0 18px 36px rgba(109, 73, 57, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: 0.18s ease;
  z-index: 15;
}

.filter-dropdown.is-open .filter-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.filter-dropdown__menu button {
  width: 100%;
  border: 0;
  background: transparent;
  color: #5d4337;
  text-align: left;
  padding: 11px 12px;
  border-radius: 12px;
  font: inherit;
  cursor: pointer;
}

.filter-dropdown__menu button:hover,
.filter-dropdown__menu button.is-active {
  background: rgba(184, 94, 57, 0.1);
  color: #8d4e34;
}

.admin-form textarea {
  min-height: 110px;
  resize: vertical;
}

.empty-state {
  padding: 28px;
  border-radius: 22px;
  border: 1px dashed rgba(191, 106, 72, 0.28);
  background: rgba(255, 255, 255, 0.58);
  text-align: center;
}

.info-stack {
  display: grid;
  gap: 14px;
}

.info-card {
  padding: 24px 24px;
  border-radius: 22px;
  border: 1px solid rgba(191, 106, 72, 0.24);
  background: rgba(255, 255, 255, 0.74);
}

.info-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.55rem, 2vw, 2rem);
  color: #b85e39;
}

.info-card p + p {
  margin-top: 8px;
}

.info-updated {
  margin-top: 12px !important;
  font-size: 0.86rem !important;
  color: rgba(80, 60, 50, 0.82) !important;
}

.faq-item {
  border-radius: 18px;
  border: 1px solid rgba(191, 106, 72, 0.24);
  background: rgba(255, 255, 255, 0.74);
  padding: 14px 16px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: #6b402f;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin-top: 10px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

.product-detail {
  align-items: start;
}

.product-detail__media {
  display: grid;
  gap: 16px;
}

.product-detail__media--card {
  justify-items: center;
}

.product-detail__card-preview {
  width: min(100%, 430px);
}

.product-detail__card-preview .test-card {
  width: 100%;
}

.product-detail__card-preview .test-card__media {
  min-height: 360px;
}

.product-share-section {
  padding-top: 42px;
}

.product-share-back {
  width: min(100%, 430px);
  margin: 0 auto 18px;
}

.product-share-card {
  width: min(100%, 430px);
  margin: 0 auto;
}

.product-share-card .test-card {
  width: 100%;
}

.product-share-card .test-card__media {
  min-height: 360px;
}

.product-viewer {
  min-height: 606px;
  background: #f1e9e2;
}

.video-poster {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 14, 12, 0) 42%, rgba(18, 14, 12, 0.32) 100%);
  pointer-events: none;
}

.video-poster__play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--terracotta-deep);
  font-size: 2rem;
  box-shadow: 0 18px 40px rgba(63, 43, 32, 0.18);
}

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 10px;
}

.thumb {
  padding: 5px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.thumb.is-active {
  border-color: rgba(191, 106, 72, 0.4);
  background: rgba(255, 255, 255, 0.94);
}

.thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  object-fit: cover;
}

.product-detail__info {
  display: grid;
  gap: 18px;
  padding-top: 4px;
}

.product-detail__info h1 {
  max-width: 100%;
  font-size: clamp(1.45rem, 1.8vw, 2.05rem);
  line-height: 0.94;
  white-space: normal;
  text-wrap: balance;
}

.product-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  background: #17110f;
}

.product-detail__info .product-price {
  color: #149447;
  font-size: clamp(1.75rem, 2.5vw, 2.45rem);
  font-weight: 700;
}

.product-detail__description {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

.product-detail__description-group {
  display: grid;
  gap: 14px;
  padding-top: 4px;
}

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

.product-detail__actions .button {
  width: 100%;
  padding: 0 12px;
}

.product-detail__actions .button:only-child {
  grid-column: 1 / -1;
}

.product-detail__info .custom-format__hint {
  margin-top: 2px;
}

.product-detail__info .custom-format__interactive {
  justify-content: flex-start;
}

.product-detail__info .custom-format__gift-note {
  margin-top: 0;
}

.product-info-list a {
  color: var(--terracotta-deep);
  overflow-wrap: anywhere;
}

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

.product-info-list div {
  display: grid;
  gap: 5px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}

.product-info-list strong {
  font-size: 0.88rem;
  font-weight: 700;
}

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

.process-card {
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.52);
}

.process-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: rgba(191, 106, 72, 0.08);
  color: var(--terracotta);
}

.process-card h3 {
  margin-bottom: 10px;
  font-size: 1.55rem;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.instagram-slider.instagram-grid {
  display: grid;
  grid-template-columns: none;
}

.shop-loading {
  min-height: 24px;
  margin-top: 22px;
  color: var(--muted);
  text-align: center;
}

.instagram-card {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(191, 106, 72, 0.2);
  background: rgba(255, 255, 255, 0.8);
}

.instagram-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 220ms ease;
}

.instagram-card:hover img {
  transform: scale(1.03);
}

.site-footer {
  margin-top: 36px;
  padding: 30px 0 14px;
  background: var(--surface-dark);
  color: #ece3dc;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 0.9fr 1fr;
  gap: 20px;
}

.site-footer p,
.site-footer a {
  color: rgba(236, 227, 220, 0.78);
  font-size: 0.9rem;
  line-height: 1.65;
}

.site-footer h4 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.site-footer a {
  display: block;
  margin-top: 8px;
}

.footer-contact-icons {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.footer-cnpj {
  margin-top: 10px;
  font-size: 0.82rem !important;
  color: rgba(236, 227, 220, 0.72) !important;
}

.footer-company {
  margin-top: 2px;
  font-size: 0.8rem !important;
  color: rgba(236, 227, 220, 0.64) !important;
}

.footer-icon-link {
  width: 34px;
  height: 34px;
  margin-top: 0 !important;
  display: grid !important;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(236, 227, 220, 0.9) !important;
}

.footer-icon-link--instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d 52%, #fcb045);
  border-color: transparent;
  color: #fff !important;
}

.footer-icon-link--whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #fff !important;
}

.footer-icon-link svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-icon-link--whatsapp svg {
  stroke: none;
}

.footer-bottom {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: rgba(236, 227, 220, 0.6);
  font-size: 0.8rem;
}

.admin-body {
  min-height: 100vh;
  background: linear-gradient(180deg, rgba(249, 243, 237, 0.82), rgba(250, 246, 241, 1));
}

.admin-shell {
  width: min(calc(100% - 32px), 1480px);
  margin: 24px auto;
}

.admin-login {
  min-height: calc(100vh - 40px);
  display: grid;
  place-items: center;
}

.admin-login__card,
.admin-panel,
.admin-stat,
.admin-sidebar {
  background: rgba(255, 252, 248, 0.94);
  border: 1px solid rgba(205, 182, 166, 0.26);
  border-radius: 24px;
  box-shadow: 0 24px 48px rgba(122, 84, 65, 0.08);
}

.admin-login__card {
  width: min(100%, 500px);
  padding: 42px;
}

.admin-form {
  display: grid;
  gap: 16px;
}

.admin-form label,
.admin-form fieldset {
  display: grid;
  gap: 8px;
}

.admin-form span,
.admin-form legend {
  color: var(--muted);
  font-size: 0.88rem;
}

.admin-dashboard {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
}

.admin-sidebar {
  position: sticky;
  top: 20px;
  height: fit-content;
  padding: 28px;
  display: grid;
  gap: 20px;
}

.admin-sidebar img {
  width: 168px;
  max-width: 100%;
}

.admin-sidebar p {
  margin: 0;
  color: rgba(82, 61, 51, 0.86);
  line-height: 1.8;
}

.admin-sidebar__actions,
.table-actions,
.toggle-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-sidebar__actions button,
.table-actions button {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(197, 163, 144, 0.65);
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.admin-content {
  display: grid;
  gap: 22px;
}

.admin-topbar {
  padding: 8px 4px 2px;
}

.admin-topbar__text {
  max-width: 720px;
  margin-top: 10px;
  color: rgba(82, 61, 51, 0.88);
  line-height: 1.75;
}

.admin-overview {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.admin-stat {
  padding: 24px;
}

.admin-stat strong {
  display: block;
  margin-top: 12px;
  color: var(--terracotta);
  font-family: "Manrope", sans-serif;
  font-size: 2.2rem;
  font-variant-numeric: lining-nums tabular-nums;
}

.admin-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 20px;
}

.admin-stack {
  display: grid;
  gap: 20px;
}

.admin-panel {
  padding: 24px;
}

.admin-panel--compact {
  padding: 20px 24px;
}

.admin-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.admin-panel__header h2 {
  font-size: clamp(2.05rem, 4vw, 3rem);
  line-height: 0.95;
}

.admin-panel__sub {
  margin-top: 8px;
  max-width: 580px;
  color: rgba(94, 71, 60, 0.82);
  line-height: 1.65;
}

.admin-search-bar {
  margin: 0 0 16px;
}

.admin-search-bar label {
  display: grid;
  gap: 7px;
  max-width: 460px;
}

.admin-search-bar span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(110, 84, 70, 0.88);
}

.admin-search-bar input {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(197, 163, 144, 0.56);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.admin-search-bar input:focus {
  border-color: rgba(191, 106, 72, 0.72);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(191, 106, 72, 0.12);
}

.admin-empty-row {
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px dashed rgba(197, 163, 144, 0.54);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  color: rgba(94, 71, 60, 0.82);
}

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

.admin-form--drawer .admin-form__grid {
  grid-template-columns: 1fr;
}

.admin-form__full,
.checkbox-group,
.toggle-row {
  grid-column: 1 / -1;
}

.checkbox-group {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(205, 182, 166, 0.44);
  background: rgba(255, 255, 255, 0.72);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkbox-group label {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.table-wrap {
  overflow: visible;
  border: 1px solid rgba(205, 182, 166, 0.26);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
}

.admin-table {
  width: 100%;
  min-width: 1240px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px;
  text-align: left;
  border-bottom: 1px solid rgba(205, 182, 166, 0.22);
  vertical-align: top;
}

.admin-table th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(110, 84, 70, 0.88);
}

.admin-table td small {
  display: block;
  margin-top: 6px;
  color: rgba(110, 84, 70, 0.78);
}

.theme-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 8px;
  border-radius: 50%;
}

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

.price-chip {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(205, 182, 166, 0.34);
  background: linear-gradient(180deg, rgba(255, 250, 246, 0.95), rgba(250, 242, 236, 0.88));
}

.price-chip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.price-chip span {
  color: var(--terracotta);
  font-family: "Manrope", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  font-variant-numeric: lining-nums tabular-nums;
}

.admin-shell {
  width: min(calc(100% - 32px), 1360px);
  margin: 22px auto 42px;
}

.admin-app {
  display: grid;
  gap: 18px;
}

.admin-header,
.admin-nav,
.admin-stat-card,
.admin-quick-card,
.admin-note {
  background: rgba(255, 252, 248, 0.94);
  border: 1px solid rgba(205, 182, 166, 0.28);
  box-shadow: 0 22px 44px rgba(122, 84, 65, 0.08);
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: 28px 30px;
  border-radius: 26px;
}

.admin-header__brand h1 {
  font-size: clamp(3rem, 6vw, 4.8rem);
  line-height: 0.9;
}

.admin-header__brand p {
  max-width: 620px;
  margin-top: 12px;
}

.admin-header__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
  border-radius: 20px;
}

.admin-nav__link {
  padding: 12px 16px;
  border-radius: 14px;
  color: rgba(72, 51, 42, 0.88);
  font-weight: 600;
  transition: 0.2s ease;
}

.admin-nav__link:hover,
.admin-nav__link.is-active {
  background: rgba(191, 106, 72, 0.12);
  color: var(--terracotta-deep);
}

.admin-view {
  display: grid;
  gap: 20px;
}

.admin-grid {
  display: grid;
  gap: 20px;
}

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

.admin-grid--two {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.76fr);
}

.admin-stat-card {
  padding: 24px;
  border-radius: 24px;
}

.admin-stat-card span {
  display: block;
  color: rgba(91, 68, 57, 0.8);
}

.admin-stat-card strong {
  display: block;
  margin-top: 12px;
  color: var(--terracotta);
  font-family: "Manrope", sans-serif;
  font-size: 2.3rem;
  font-variant-numeric: lining-nums tabular-nums;
}

.admin-quick-actions,
.admin-note-list {
  display: grid;
  gap: 12px;
}

.admin-quick-card,
.admin-note {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 18px;
}

.admin-quick-card strong,
.admin-note strong {
  font-size: 1rem;
}

.admin-quick-card span,
.admin-note span {
  color: rgba(91, 68, 57, 0.8);
  line-height: 1.7;
}

.admin-panel--narrow {
  max-width: 920px;
}

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

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

.admin-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(41, 31, 25, 0.24);
  opacity: 0;
  transition: opacity 180ms ease;
}

.admin-drawer.is-open .admin-drawer__backdrop {
  opacity: 1;
}

.admin-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(560px, calc(100vw - 24px));
  height: 100%;
  overflow: auto;
  padding: 24px;
  background: rgba(255, 252, 248, 0.98);
  border-left: 1px solid rgba(205, 182, 166, 0.42);
  box-shadow: -18px 0 42px rgba(59, 42, 31, 0.16);
  transform: translateX(100%);
  transition: transform 220ms ease;
}

.admin-drawer.is-open .admin-drawer__panel {
  transform: translateX(0);
}

.admin-drawer__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-drawer__header h2 {
  font-size: 2rem;
  line-height: 1;
}

.admin-drawer__close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(191, 106, 72, 0.28);
  background: rgba(255, 255, 255, 0.76);
  color: var(--terracotta-deep);
  font-size: 1.5rem;
  line-height: 1;
}

.admin-drawer__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-inline-check {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}

.admin-inline-check input {
  min-height: auto;
  padding: 0;
}

.admin-import-tip {
  margin-top: 14px;
  color: rgba(91, 68, 57, 0.78);
  line-height: 1.7;
}

.admin-field-hint {
  display: block;
  margin-top: 6px;
  color: rgba(91, 68, 57, 0.72);
  line-height: 1.5;
}

.admin-media-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(205, 182, 166, 0.34);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.admin-media-summary strong {
  margin-right: 8px;
}

.admin-tag-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-inline-name {
  display: grid;
  gap: 6px;
  min-width: 250px;
}

.admin-inline-name input {
  width: 100%;
  min-height: 36px;
  padding: 7px 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.admin-inline-name input:hover,
.admin-inline-name input:focus {
  border-color: rgba(191, 106, 72, 0.28);
  background: rgba(255, 255, 255, 0.86);
  outline: none;
}

.admin-inline-name input.is-saving,
.admin-theme-picker.is-saving {
  box-shadow: 0 0 0 2px rgba(191, 106, 72, 0.16);
}

.admin-inline-name input.is-saved,
.admin-theme-picker.is-saved summary {
  border-color: rgba(74, 143, 91, 0.42);
}

.admin-inline-name input.has-save-error,
.admin-theme-picker.has-save-error summary,
.admin-order-fields input.has-save-error {
  border-color: rgba(177, 66, 55, 0.58);
}

.admin-product-thumb {
  width: 58px;
  height: 76px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(197, 163, 144, 0.42);
  border-radius: 10px;
  background: rgba(244, 236, 228, 0.82);
  color: rgba(94, 71, 60, 0.68);
  font-size: 0.66rem;
  text-align: center;
}

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

.admin-order-fields {
  display: grid;
  gap: 7px;
  min-width: 112px;
}

.admin-order-fields label {
  display: grid;
  grid-template-columns: 54px 56px;
  align-items: center;
  gap: 6px;
}

.admin-order-fields span {
  color: rgba(94, 71, 60, 0.76);
  font-size: 0.68rem;
  font-weight: 700;
}

.admin-order-fields input {
  width: 56px;
  min-height: 32px;
  padding: 4px 7px;
  border: 1px solid rgba(197, 163, 144, 0.52);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
}

.admin-order-fields input:focus {
  border-color: rgba(191, 106, 72, 0.72);
  outline: none;
}

.admin-order-fields input.is-saving {
  box-shadow: 0 0 0 2px rgba(191, 106, 72, 0.16);
}

.admin-order-fields input.is-saved {
  border-color: rgba(74, 143, 91, 0.42);
}

.admin-theme-picker {
  position: relative;
  min-width: 210px;
}

.admin-theme-picker summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  max-width: 260px;
  padding: 8px 12px;
  border: 1px solid rgba(197, 163, 144, 0.52);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  list-style: none;
}

.admin-theme-picker summary::-webkit-details-marker {
  display: none;
}

.admin-theme-picker summary::after {
  content: "v";
  color: var(--terracotta-deep);
  font-size: 1rem;
}

.admin-theme-picker summary span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-theme-picker__menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: 0;
  width: min(320px, 72vw);
  max-height: 310px;
  overflow: auto;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(197, 163, 144, 0.46);
  border-radius: 12px;
  background: #fffdf9;
  box-shadow: 0 18px 36px rgba(59, 42, 31, 0.14);
}

.admin-theme-picker__menu label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
}

.admin-theme-picker__menu label:hover {
  background: rgba(191, 106, 72, 0.08);
}

.admin-theme-picker__menu input {
  min-height: auto;
}

.admin-order-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 14px;
  margin: 18px 0 22px;
}

.admin-order-toolbar label {
  display: grid;
  gap: 7px;
  min-width: min(280px, 100%);
  max-width: 340px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
}

.admin-order-toolbar select,
.admin-order-toolbar input {
  min-height: 44px;
  border: 1px solid rgba(184, 93, 55, 0.32);
  border-radius: 14px;
  background: rgba(255, 250, 242, 0.88);
  color: var(--ink);
  padding: 0 14px;
  font: inherit;
}

.admin-order-add-panel {
  flex-basis: 100%;
  display: grid;
  gap: 10px;
  width: 100%;
}

.admin-order-add-panel label {
  min-width: 100%;
}

.admin-order-add-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px;
  max-height: 280px;
  overflow: auto;
  padding: 8px;
  border: 1px solid rgba(184, 93, 55, 0.16);
  border-radius: 16px;
  background: rgba(255, 250, 242, 0.52);
}

.admin-order-add-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(184, 93, 55, 0.16);
  border-radius: 14px;
  background: rgba(255, 248, 236, 0.82);
}

.admin-order-add-card.is-filtered-out {
  display: none !important;
}

.admin-order-add-card__copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.admin-order-add-card__copy strong,
.admin-order-add-card__copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-order-add-card__copy strong {
  font-size: 0.84rem;
}

.admin-order-add-card__copy span {
  color: rgba(44, 21, 14, 0.62);
  font-size: 0.74rem;
}

.admin-order-add-card .admin-thumb,
.admin-order-add-card .admin-video-thumb {
  width: 42px;
  height: 48px;
}

.admin-order-add-card .button {
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.76rem;
}

.admin-order-list {
  display: grid;
  gap: 10px;
}

.admin-order-item {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(184, 93, 55, 0.18);
  border-radius: 18px;
  background: rgba(255, 250, 242, 0.78);
  box-shadow: 0 16px 36px rgba(92, 43, 27, 0.08);
}

.admin-order-item.is-dragging {
  opacity: 0.55;
}

.admin-drag-handle {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(214, 166, 75, 0.55);
  border-radius: 999px;
  background: linear-gradient(180deg, #f5c563, #c98920);
  color: #fff;
  cursor: grab;
  font-weight: 900;
}

.admin-drag-handle:active {
  cursor: grabbing;
}

.admin-order-item__copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-order-item__copy strong,
.admin-order-item__copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-order-item__copy span {
  color: rgba(44, 21, 14, 0.66);
  font-size: 0.88rem;
}

.admin-order-item__position {
  min-width: 44px;
  text-align: center;
  color: var(--terracotta);
  font-weight: 900;
  letter-spacing: 0.08em;
}

@media (max-width: 720px) {
  .admin-order-add-list {
    grid-template-columns: 1fr;
  }

  .admin-order-item {
    grid-template-columns: auto auto minmax(0, 1fr);
  }

  .admin-order-item__position,
  .admin-order-item .button {
    grid-column: 3;
    justify-self: start;
  }
}

.admin-mini-toggle {
  min-height: 32px;
  min-width: 94px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(197, 163, 144, 0.65);
  background: rgba(255, 255, 255, 0.95);
  color: #9b5a3d;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  justify-content: center;
}

.admin-price-stack {
  display: grid;
  gap: 3px;
}

.admin-price-stack strong {
  font-weight: 800;
}

.admin-price-stack small {
  color: #a51f2c;
  font-size: 0.76rem;
  font-weight: 800;
}

.admin-promo-price {
  display: grid;
  gap: 4px;
  width: 104px;
}

.admin-promo-price span {
  color: rgba(99, 45, 25, 0.72);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-promo-price input {
  min-height: 30px;
  width: 100%;
  border: 1px solid rgba(185, 119, 46, 0.34);
  border-radius: 999px;
  background: rgba(255, 248, 236, 0.86);
  color: var(--ink);
  padding: 0 10px;
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-promo-price input:disabled {
  opacity: 0.45;
}

.admin-theme-thumb {
  display: inline-grid;
  gap: 5px;
  justify-items: center;
}

.admin-theme-thumb img {
  width: 86px;
  height: 46px;
  border: 1px solid rgba(185, 119, 46, 0.22);
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 10px 18px rgba(78, 38, 21, 0.1);
}

.admin-theme-thumb small {
  color: rgba(99, 45, 25, 0.72);
  font-size: 0.68rem;
  font-weight: 800;
}

.admin-theme-cover-preview {
  display: grid;
  gap: 10px;
}

.admin-theme-cover-preview > span {
  color: var(--terracotta-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-theme-cover-preview img {
  width: min(100%, 520px);
  aspect-ratio: 16 / 7;
  border: 1px solid rgba(185, 119, 46, 0.22);
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 18px 36px rgba(78, 38, 21, 0.12);
}

.admin-mini-toggle.is-active {
  background: #bf6a48;
  border-color: #bf6a48;
  color: #fff;
}

.admin-mini-toggle--dark {
  color: #5a372b;
}

.admin-mini-toggle--dark.is-active {
  background: #5a372b;
  border-color: #5a372b;
  color: #fff;
}

.admin-mini-toggle--promo {
  color: #b6202f;
}

.admin-mini-toggle--promo.is-active {
  background: #d93443;
  border-color: #c52a38;
  color: #fff;
}

.admin-thumb-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(191, 106, 72, 0.12);
  color: var(--terracotta-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-thumb-pill--muted {
  background: rgba(122, 105, 95, 0.1);
  color: rgba(91, 68, 57, 0.78);
}

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

.price-chip--editor input {
  min-height: 46px;
  margin-top: 6px;
}

@media (max-width: 1100px) {
  .hero-grid,
  .theme-hero__grid,
  .product-detail,
  .admin-dashboard,
  .admin-layout,
  .custom-format,
  .custom-format--reverse {
    grid-template-columns: 1fr;
  }

  .occasion-grid,
  .product-grid,
  .theme-grid--full,
  .process-grid,
  .admin-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

  .rsvp-showcase {
    grid-template-columns: 1fr;
  }

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

  .product-viewer {
    min-height: 500px;
  }

  .product-detail__info h1 {
    white-space: normal;
  }

  .custom-format--reverse .custom-format__copy,
  .custom-format--reverse .custom-format__media {
    order: initial;
  }

  .admin-grid--stats,
  .admin-grid--two,
  .price-table--editor {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .page-hero h1 {
    font-size: clamp(2rem, 8.8vw, 2.6rem);
    line-height: 0.98;
  }

  .page-hero p {
    font-size: 0.86rem;
    line-height: 1.6;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    max-height: calc(100vh - 92px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 18px;
    border: 1px solid var(--line-soft);
    border-radius: 20px;
    background: rgba(255, 252, 249, 0.96);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 0.2s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav > a,
  .nav-dropdown__button {
    min-height: 36px;
    display: flex;
    align-items: center;
  }

  .main-nav .button--header {
    position: sticky;
    bottom: 0;
    width: 100%;
    min-height: 42px;
    margin-top: 8px;
    flex: 0 0 auto;
  }

  .nav-dropdown__menu {
    position: static;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: none;
    box-shadow: none;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    transition: max-height 0.22s ease, opacity 0.18s ease, visibility 0.18s ease, margin 0.22s ease, padding 0.22s ease;
  }

  .nav-dropdown:hover .nav-dropdown__menu,
  .nav-dropdown:focus-within .nav-dropdown__menu {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .nav-dropdown.is-open .nav-dropdown__menu {
    max-height: 260px;
    opacity: 1;
    visibility: visible;
    margin-top: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .nav-dropdown.is-open .nav-dropdown__button::after {
    transform: rotate(180deg);
  }

  .hero-section,
  .section,
  .page-hero,
  .theme-hero {
    padding: 58px 0;
  }

  .hero-image-shell {
    min-height: 430px;
  }

  .floating-card {
    min-width: 150px;
    padding: 14px 16px;
  }

  .floating-card strong {
    font-size: 1.3rem;
  }

  .section-heading__row,
  .footer-grid,
  .filter-bar,
  .admin-form__grid,
  .checkbox-group {
    grid-template-columns: 1fr;
  }

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

  .occasion-grid,
  .theme-grid,
  .theme-grid--full,
  .process-grid,
  .admin-overview {
    grid-template-columns: 1fr;
  }

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

  .price-table {
    grid-template-columns: 1fr;
  }

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

  .product-card__body h3 {
    font-size: 0.92rem;
    line-height: 1.2;
  }

  .product-card__meta {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .product-card__description {
    min-height: 42px;
    font-size: 0.66rem;
    line-height: 1.38;
  }

  .product-card__price {
    font-size: 1.16rem;
  }

  .product-slider {
    grid-auto-columns: minmax(186px, 72vw);
  }

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

  .hero-stats div {
    border-right: 0;
    padding-right: 0;
  }

  .product-viewer {
    min-height: 360px;
  }

  .custom-format {
    padding: 8px 0;
    gap: 22px;
  }

  .custom-format__title-row {
    flex-wrap: wrap;
    gap: 8px;
  }

  .custom-format__eyebrow {
    width: 100%;
  }

  .custom-format__copy h2 {
    font-size: clamp(1.2rem, 5.8vw, 1.55rem);
  }

  .custom-format__copy p {
    font-size: 0.8rem;
    line-height: 1.64;
  }

  .album-social__copy p {
    font-size: 0.82rem;
    line-height: 1.62;
  }

  .album-social__mock-wrap,
  .rsvp-showcase__mock-wrap {
    order: 1;
  }

  .album-social__copy,
  .rsvp-showcase__copy {
    order: 2;
  }

  .rsvp-showcase__copy p {
    font-size: 0.86rem;
    line-height: 1.62;
  }

  .rsvp-showcase,
  .rsvp-showcase__copy,
  .rsvp-showcase__mock-wrap {
    min-width: 0;
    width: 100%;
  }

  .rsvp-showcase__mock-wrap {
    padding: 22px 10px 22px;
    overflow: visible;
  }

  .rsvp-showcase .album-social__plans,
  .rsvp-showcase .album-plan {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .rsvp-showcase__list {
    font-size: 0.84rem;
  }

  .rsvp-showcase .hero-actions {
    flex-wrap: wrap;
    gap: 8px;
  }

  .rsvp-showcase .hero-actions .button {
    flex: 1 1 100%;
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.88rem;
    white-space: normal;
    text-align: center;
  }

  .album-plan h3 {
    flex-wrap: wrap;
    align-items: flex-start;
    font-size: 1.34rem;
    line-height: 1.05;
  }

  .album-plan h3 span {
    font-size: 1.08rem;
  }

  .album-plan ul {
    font-size: 0.8rem;
  }

  .album-social__mock {
    width: min(100%, 340px);
    border-radius: 20px;
  }

  .album-app__cover {
    height: 98px;
  }

  .album-app__avatar {
    width: 74px;
    height: 74px;
    margin-top: -37px;
  }

  .album-app__profile h4 {
    font-size: 1.08rem;
  }

  .album-app__profile p {
    font-size: 0.72rem;
  }

  .album-app__cta {
    min-height: 40px;
    font-size: 0.86rem;
  }

  .album-app__grid {
    gap: 6px;
    padding: 0 8px;
  }

  .album-app__thumb {
    height: 88px;
  }

  .rsvp-mock {
    width: min(100%, 320px);
    min-height: 0;
    border-radius: 20px;
    padding-bottom: 20px;
    overflow: visible;
  }

  .rsvp-mock__header h3 {
    font-size: 1.5rem;
  }

  .rsvp-mock__stats strong {
    font-size: 0.96rem;
  }

  .rsvp-mock__toolbar button {
    font-size: 0.72rem;
  }

  .rsvp-mock__extras {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .rsvp-mock__timeline strong {
    font-size: 0.72rem;
  }

  .rsvp-mock__toast {
    right: -4px;
    top: -14px;
    max-width: min(300px, calc(100vw - 48px));
    font-size: 0.68rem;
    white-space: nowrap;
  }

  .rsvp-mock__footer-chip {
    left: 10px;
    bottom: -16px;
    font-size: 0.7rem;
  }

  .custom-format__media-card {
    width: min(100%, 280px);
    transform: none;
    box-shadow: 0 16px 30px rgba(63, 43, 32, 0.18);
  }

  .custom-format__media--desktop {
    display: none;
  }

  .custom-format__media--mobile {
    display: flex;
    margin-top: 6px;
    margin-bottom: 16px;
  }

  .custom-format__mobile-actions {
    display: block;
    margin-bottom: 22px;
  }

  .custom-format__desktop-actions {
    display: none;
  }

  .custom-format--reverse .custom-format__media-card,
  .custom-format:hover .custom-format__media-card,
  .custom-format--reverse:hover .custom-format__media-card {
    transform: none;
  }

  .custom-format__interactive {
    gap: 8px;
    justify-content: center;
  }

  .product-detail__info .custom-format__interactive {
    justify-content: center;
  }

  .interactive-chip {
    width: 54px;
    height: 54px;
  }

  .interactive-chip__balloon {
    left: 50%;
    width: min(260px, calc(100vw - 32px));
    transform: translate(-50%, -8px);
  }

  .interactive-chip__balloon::before {
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
  }

  .interactive-chip.is-open .interactive-chip__balloon {
    transform: translate(-50%, 0);
  }

  .custom-format__interactive .interactive-chip:nth-child(1) .interactive-chip__balloon,
  .custom-format__interactive .interactive-chip:nth-child(2) .interactive-chip__balloon {
    left: 0;
    transform: translateY(-8px);
  }

  .custom-format__interactive .interactive-chip:nth-child(1).is-open .interactive-chip__balloon,
  .custom-format__interactive .interactive-chip:nth-child(2).is-open .interactive-chip__balloon {
    transform: translateY(0);
  }

  .custom-format__interactive .interactive-chip:nth-child(1) .interactive-chip__balloon::before,
  .custom-format__interactive .interactive-chip:nth-child(2) .interactive-chip__balloon::before {
    left: 26px;
    transform: rotate(45deg);
  }

  .custom-format__interactive .interactive-chip:nth-child(4) .interactive-chip__balloon,
  .custom-format__interactive .interactive-chip:nth-child(5) .interactive-chip__balloon {
    left: auto;
    right: 0;
    transform: translateY(-8px);
  }

  .custom-format__interactive .interactive-chip:nth-child(4).is-open .interactive-chip__balloon,
  .custom-format__interactive .interactive-chip:nth-child(5).is-open .interactive-chip__balloon {
    transform: translateY(0);
  }

  .custom-format__interactive .interactive-chip:nth-child(4) .interactive-chip__balloon::before,
  .custom-format__interactive .interactive-chip:nth-child(5) .interactive-chip__balloon::before {
    left: auto;
    right: 26px;
    transform: rotate(45deg);
  }

  .custom-format .hero-actions {
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: flex-start;
  }

  .custom-format .hero-actions .button {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.88rem;
    white-space: nowrap;
  }

  .admin-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-header__actions {
    justify-content: flex-start;
  }

  .admin-grid--stats,
  .admin-grid--two,
  .price-table--editor {
    grid-template-columns: 1fr;
  }

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

html.model-preview-is-open,
html.model-preview-is-open body {
  overflow: hidden;
}

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

.test-card {
  overflow: hidden;
  border: 1px solid rgba(63, 43, 32, 0.08);
  border-radius: 22px;
  background: #fffdfa;
  box-shadow: 0 18px 44px rgba(136, 103, 84, 0.1);
}

.test-card__open {
  display: grid;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.test-card__media {
  position: relative;
  display: block;
  height: 260px;
  overflow: hidden;
  background: #e3ded8;
}

.test-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.test-card__badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--terracotta-deep);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.test-card__content {
  display: grid;
  gap: 12px;
  padding: 22px 22px 10px;
}

.test-card__category {
  color: var(--terracotta-deep);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.test-card__title {
  color: var(--ink);
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.18;
}

.test-card__description {
  display: -webkit-box;
  min-height: 64px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.test-card__more {
  color: var(--terracotta-deep);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.test-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 22px 22px;
}

.test-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}

.test-card__price del {
  color: rgba(115, 101, 93, 0.56);
  font-size: 0.78rem;
}

.test-card__price small {
  color: var(--muted);
  font-size: 0.72rem;
}

.test-card__price strong {
  color: var(--ink);
  font-size: 1rem;
}

.test-card__message {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--terracotta);
  color: #fff;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.model-preview {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  padding: 10px;
}

.model-preview.is-open {
  display: grid;
  place-items: center;
}

.model-preview__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(35, 27, 24, 0.68);
  backdrop-filter: blur(10px);
}

.model-preview__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  width: min(96vw, 560px);
  height: min(94vh, 920px);
  overflow: hidden;
  border-radius: 24px;
  background: #fffdfa;
  box-shadow: 0 28px 90px rgba(35, 27, 24, 0.34);
}

.model-preview__header,
.model-preview__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: #fffdfa;
}

.model-preview__header span {
  display: block;
  margin-bottom: 4px;
  color: var(--terracotta-deep);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.model-preview__header h2 {
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
}

.model-preview__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  background: rgba(247, 234, 220, 0.9);
  color: var(--terracotta-deep);
  cursor: pointer;
  font-size: 1.65rem;
  line-height: 1;
  box-shadow: 0 10px 26px rgba(53, 23, 15, 0.18);
}

.model-preview__frame-wrap {
  min-height: 0;
  background: #fff8ec;
}

.model-preview.is-video .model-preview__dialog {
  width: min(96vw, 620px);
  height: min(94vh, 900px);
  background: #120907;
}

.model-preview.is-video .model-preview__frame-wrap {
  display: grid;
  place-items: center;
  padding: 10px;
  background: #120907;
}

.model-preview.is-image .model-preview__dialog {
  width: min(96vw, 620px);
  height: min(94vh, 900px);
  background: #120907;
}

.model-preview.is-image .model-preview__frame-wrap {
  display: grid;
  place-items: center;
  padding: 10px;
  background: #120907;
}

.model-preview iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.model-preview__footer .button {
  width: 100%;
  min-height: 46px;
  border-radius: 999px;
}

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

@media (max-width: 720px) {
  .model-preview {
    padding: 8px;
  }

  .model-preview__dialog {
    width: calc(100vw - 16px);
    height: calc(100svh - 20px);
    border-radius: 22px;
  }

  .model-preview__close {
    top: 8px;
    right: 8px;
    width: 42px;
    height: 42px;
  }

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

  .test-card {
    border-radius: 16px;
  }

  .test-card__media {
    height: 170px;
  }

  .test-card__badge {
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    font-size: 0.48rem;
  }

  .test-card__content {
    gap: 7px;
    padding: 12px 12px 6px;
  }

  .test-card__category {
    font-size: 0.54rem;
  }

  .test-card__title {
    font-size: 0.88rem;
  }

  .test-card__description {
    min-height: 50px;
    font-size: 0.66rem;
    line-height: 1.35;
  }

  .test-card__footer {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    padding: 4px 12px 12px;
  }

  .test-card__price {
    gap: 5px;
  }

  .test-card__price del,
  .test-card__price small {
    font-size: 0.62rem;
  }

  .test-card__price strong {
    font-size: 0.82rem;
  }

  .test-card__message {
    width: 100%;
    min-height: 32px;
    padding: 0 8px;
    font-size: 0.64rem;
  }

  .model-preview {
    padding: 8px;
  }

  .model-preview__dialog {
    height: calc(100svh - 20px);
    border-radius: 20px;
  }
}

/* Test card carousel refinements */
.test-card-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  grid-template-columns: none;
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px 2px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.test-card-grid > .test-card {
  scroll-snap-align: start;
}

.test-card {
  border-radius: 24px;
  background: #fffdfa;
}

.test-card:nth-child(even) {
  border-color: rgba(164, 83, 55, 0.2);
  background: var(--terracotta);
}

.test-card__media {
  height: 300px;
  background: #fff3ec;
}

.test-card__media img {
  object-fit: contain;
  object-position: center;
}

.test-card__content {
  gap: 11px;
  padding: 24px 26px 10px;
}

.test-card__title {
  max-width: 330px;
  font-size: 1.28rem;
}

.test-card__description {
  min-height: 72px;
  font-size: 0.9rem;
}

.test-card__footer {
  align-items: center;
  padding: 6px 26px 24px;
}

.test-card__message {
  min-width: 138px;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(164, 83, 55, 0.18);
  background: var(--terracotta);
  box-shadow: none;
  font-size: 0.72rem;
}

.test-card:nth-child(even) .test-card__category,
.test-card:nth-child(even) .test-card__title,
.test-card:nth-child(even) .test-card__description,
.test-card:nth-child(even) .test-card__more,
.test-card:nth-child(even) .test-card__price small,
.test-card:nth-child(even) .test-card__price strong {
  color: #fffdfa;
}

/* Unified card sizing */
.test-card-grid {
  grid-auto-columns: calc((100% - 48px) / 3);
}

.product-grid,
.theme-grid .product-grid,
.custom-format-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.product-grid .test-card,
.custom-format-card-grid .test-card,
.test-card-grid .test-card {
  min-width: 0;
  height: 100%;
}

.product-grid .test-card__media,
.custom-format-card-grid .test-card__media,
.test-card-grid .test-card__media {
  height: 300px;
}

.product-grid .test-card__content,
.custom-format-card-grid .test-card__content,
.test-card-grid .test-card__content {
  min-height: 214px;
}

.product-grid .test-card__title,
.custom-format-card-grid .test-card__title,
.test-card-grid .test-card__title {
  min-height: 2.36em;
}

.product-grid .test-card__footer,
.custom-format-card-grid .test-card__footer,
.test-card-grid .test-card__footer {
  min-height: 68px;
}

.custom-format-card-grid {
  grid-auto-flow: initial;
  grid-auto-columns: initial;
}

@media (max-width: 1100px) {
  .test-card-grid {
    grid-auto-columns: calc((100% - 24px) / 2);
  }

  .product-grid,
  .custom-format-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 720px) {
  .test-card-grid {
    grid-auto-columns: 100%;
  }

  .product-grid,
  .custom-format-card-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-grid .test-card__media,
  .custom-format-card-grid .test-card__media,
  .test-card-grid .test-card__media {
    height: 300px;
  }
}

/* Personalized pages use a fixed catalog grid, not the horizontal carousel */
.custom-format-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: row;
  grid-auto-columns: auto;
  gap: 34px;
  overflow: visible;
  padding: 2px 0 0;
  scroll-snap-type: none;
}

.custom-format-card-grid > .test-card {
  scroll-snap-align: unset;
}

.custom-format-card-grid .test-card__media {
  height: 300px;
}

@media (max-width: 1100px) {
  .custom-format-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 720px) {
  .custom-format-card-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* Final text clamps */
.test-card__title {
  display: -webkit-box;
  min-height: 2.36em;
  max-height: 2.36em;
  overflow: hidden;
  line-height: 1.18;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.test-card .test-card__description {
  display: -webkit-box;
  min-height: 40px;
  max-height: 40px;
  overflow: hidden;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.test-card.is-expanded .test-card__description {
  display: block;
  min-height: 0;
  max-height: none;
  overflow: visible;
  -webkit-line-clamp: unset;
}

.page-hero h1,
.theme-hero h1,
.hero-copy h1 {
  font-size: clamp(1.45rem, 2.65vw, 2.2rem);
  line-height: 1.02;
}

@media (max-width: 720px) {
  .test-card__title {
    min-height: 2.3em;
    max-height: 2.3em;
  }

  .test-card .test-card__description {
    min-height: 38px;
    max-height: 38px;
  }
}

.test-card:nth-child(even) .test-card__price del {
  color: rgba(255, 253, 250, 0.58);
}

.test-card:nth-child(even) .test-card__message {
  border-color: rgba(255, 253, 250, 0.86);
  background: #fffdfa;
  color: var(--terracotta-deep);
}

@media (max-width: 1100px) {
  .test-card-grid {
    grid-auto-columns: calc((100% - 24px) / 2);
    grid-template-columns: none;
  }
}

@media (max-width: 720px) {
  .test-card-grid {
    grid-auto-columns: 100%;
    grid-template-columns: none;
    gap: 14px;
    padding-bottom: 14px;
  }

  .test-card {
    border-radius: 20px;
  }

  .test-card__media {
    height: 300px;
  }

  .test-card__badge {
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    font-size: 0.56rem;
  }

  .test-card__content {
    gap: 10px;
    padding: 20px 20px 8px;
  }

  .test-card__category {
    font-size: 0.64rem;
  }

  .test-card__title {
    font-size: 1.18rem;
  }

  .test-card__description {
    min-height: 62px;
    font-size: 0.84rem;
    line-height: 1.48;
  }

  .test-card__footer {
    align-items: center;
    flex-direction: row;
    gap: 10px;
    padding: 6px 20px 20px;
  }

  .test-card__price {
    gap: 6px;
  }

  .test-card__price del,
  .test-card__price small {
    font-size: 0.7rem;
  }

  .test-card__price strong {
    font-size: 0.98rem;
  }

  .test-card__message {
    width: auto;
    min-width: 126px;
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.68rem;
  }
}

/* Interaction refinements for test cards */
.test-card-grid {
  scrollbar-width: none;
}

.test-card-grid::-webkit-scrollbar {
  display: none;
}

.test-card__open {
  display: block;
}

.test-card__media {
  cursor: pointer;
}

.test-card__view-badge {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--terracotta);
  color: #fffdfa;
  box-shadow: 0 10px 22px rgba(164, 83, 55, 0.22);
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
}

.test-card__view-badge::before {
  content: "✦";
  margin-right: 7px;
  font-size: 0.72rem;
}

.test-card__description {
  min-height: 44px;
  max-height: 44px;
  -webkit-line-clamp: 2;
}

.test-card.is-expanded .test-card__description {
  display: block;
  min-height: 0;
  max-height: none;
  overflow: visible;
  -webkit-line-clamp: unset;
}

.test-card__more {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--terracotta-deep);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.test-card__message {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.test-card:nth-child(even) .test-card__view-badge {
  background: linear-gradient(180deg, #d6a64e, #b9772e);
  color: #fffdfa;
  text-shadow: 0 1px 1px rgba(53, 23, 15, 0.28);
}

.test-card:nth-child(even) .test-card__more {
  color: #fffdfa;
}

@media (max-width: 720px) {
  .test-card__view-badge {
    right: 14px;
    bottom: 14px;
    min-height: 26px;
    padding: 0 12px;
    font-size: 0.62rem;
  }

  .test-card__description {
    min-height: 40px;
    max-height: 40px;
  }
}

.test-card__view-badge::before {
  content: none;
}

.test-card__view-badge svg {
  width: 16px;
  height: 16px;
  margin-right: 7px;
  flex: 0 0 auto;
}

.test-card__price del {
  color: #c8332d;
}

.test-card__price strong {
  color: #3f8f5a;
}

.test-card:nth-child(even) .test-card__price strong {
  color: #d8ffd7;
}

/* Final product card layout across catalog pages */
.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.product-grid .test-card {
  width: 100%;
}

.product-grid .test-card__media {
  height: 300px;
}

.product-grid .test-card__content {
  padding: 24px 26px 10px;
}

.test-card:nth-child(even) .test-card__price strong {
  color: #fffdfa;
}

.custom-format-card-grid {
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
}

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

@media (max-width: 720px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-grid .test-card__media {
    height: 300px;
  }
}

.test-card:nth-child(even) .test-card__price del {
  color: #ffd7cf;
}

/* Definitive personalized grid fix */
.custom-format-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: row;
  grid-auto-columns: auto;
  gap: 34px;
  overflow: visible;
  padding: 2px 0 0;
  scroll-snap-type: none;
  scrollbar-width: auto;
}

.custom-format-card-grid > .test-card {
  scroll-snap-align: unset;
}

.custom-format-card-grid .test-card__content {
  min-height: 214px;
}

.custom-format-card-grid .test-card__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.custom-format-card-grid .test-card__price {
  min-width: 0;
}

.custom-format-card-grid .test-card__message {
  min-width: 164px;
  padding: 0 18px;
}

@media (max-width: 1100px) {
  .custom-format-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 720px) {
  .custom-format-card-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .custom-format-card-grid .test-card__footer {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .custom-format-card-grid .test-card__message {
    width: 100%;
  }
}

/* Strict two-line card descriptions */
.test-card .test-card__description {
  display: -webkit-box;
  min-height: 44px;
  max-height: 44px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.test-card.is-expanded .test-card__description {
  display: block;
  min-height: 0;
  max-height: none;
  overflow: visible;
  -webkit-line-clamp: unset;
}

@media (max-width: 720px) {
  .test-card .test-card__description {
    min-height: 40px;
    max-height: 40px;
  }

  .test-card__footer,
  .custom-format-card-grid .test-card__footer {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .test-card__message,
  .custom-format-card-grid .test-card__message {
    width: 100%;
    min-width: 0;
  }
}

/* Softer type scale */
.section-heading h2 {
  font-size: clamp(1.35rem, 1.95vw, 2rem);
}

.page-hero h1,
.theme-hero h1,
.hero-copy h1 {
  font-size: clamp(1.75rem, 3.1vw, 2.65rem);
}

.test-card__title {
  font-size: 1.12rem;
  line-height: 1.18;
}

.test-card__category,
.test-card__badge {
  font-size: 0.56rem;
  letter-spacing: 0.14em;
}

.test-card__description {
  font-size: 0.8rem;
  line-height: 1.42;
}

.test-card__price del,
.test-card__price small {
  font-size: 0.68rem;
}

.test-card__price strong {
  font-size: 0.92rem;
}

.test-card__message,
.test-card__view-badge,
.test-card__more {
  font-size: 0.68rem;
}

@media (max-width: 720px) {
  .section-heading h2 {
    font-size: clamp(1.25rem, 7vw, 1.7rem);
  }

  .page-hero h1,
  .theme-hero h1,
  .hero-copy h1 {
    font-size: clamp(1.55rem, 8vw, 2.2rem);
  }

  .test-card__title {
    font-size: 1rem;
  }

  .test-card__description {
    font-size: 0.74rem;
  }
}

/* Absolute final overrides */
.hero-copy h1,
.page-hero h1,
.theme-hero h1 {
  font-size: clamp(1.35rem, 2.35vw, 1.95rem) !important;
  line-height: 1.02 !important;
}

.test-card__title {
  display: -webkit-box !important;
  max-height: 2.36em !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

.test-card .test-card__description {
  display: -webkit-box !important;
  height: 2.84em !important;
  min-height: 2.84em !important;
  max-height: 2.84em !important;
  overflow: hidden !important;
  line-height: 1.42 !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

.test-card.is-expanded .test-card__description {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  -webkit-line-clamp: unset !important;
}

.test-card.is-expanded .test-card__description-line {
  display: block;
}

.test-card.is-expanded .test-card__description-line + .test-card__description-line {
  margin-top: 0.75em;
}

@media (max-width: 720px) {
  .hero-copy h1,
  .page-hero h1,
  .theme-hero h1 {
    font-size: clamp(1.25rem, 7vw, 1.75rem) !important;
  }
}

/* Final non-card heading scale */
.site-main .hero-copy h1 {
  max-width: 520px;
  font-size: clamp(1.65rem, 2.85vw, 2.45rem) !important;
  line-height: 0.96 !important;
}

.site-main .section-heading h2,
.site-main .page-hero h1,
.site-main .theme-hero h1 {
  font-size: clamp(1.45rem, 2.25vw, 2.2rem) !important;
  line-height: 1.04 !important;
}

@media (max-width: 720px) {
  .site-main .hero-copy h1 {
    font-size: clamp(1.45rem, 8vw, 2.05rem) !important;
  }

  .site-main .section-heading h2,
  .site-main .page-hero h1,
  .site-main .theme-hero h1 {
    font-size: clamp(1.35rem, 7vw, 1.85rem) !important;
  }
}

/* Final hero and mobile heading fixes */
.site-main .hero-grid--reference {
  width: min(calc(100% - 44px), 1120px);
  max-width: 1120px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
  gap: 76px;
}

.site-main .hero-copy {
  max-width: 620px;
}

.site-main .hero-copy h1 {
  max-width: 620px;
  font-size: clamp(1.8rem, 2.75vw, 2.55rem) !important;
  line-height: 1.02 !important;
}

@media (max-width: 980px) {
  .site-main .hero-grid--reference {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 720px) {
  .site-main .section-heading h2 {
    white-space: nowrap;
    font-size: clamp(1.05rem, 5.6vw, 1.35rem) !important;
    line-height: 1.05 !important;
  }
}

.site-main .hero-copy h1 em {
  display: block;
  color: var(--terracotta);
}

/* Mobile slider arrows inside the visual area */
@media (max-width: 720px) {
  .section-heading__row {
    position: relative;
    display: block;
  }

  .section-heading .slider-actions {
    position: absolute;
    z-index: 6;
    left: -6px;
    right: -6px;
    bottom: -185px;
    width: auto;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
  }

  .section-heading .slider-button {
    width: 34px;
    height: 46px;
    border-color: transparent;
    background: transparent;
    color: var(--terracotta-deep);
    text-shadow:
      0 1px 0 rgba(255, 255, 255, 0.95),
      0 0 10px rgba(255, 255, 255, 0.95),
      0 0 18px rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 6px 10px rgba(255, 255, 255, 0.88)) drop-shadow(0 2px 8px rgba(63, 43, 32, 0.18));
    font-size: 1.65rem;
    font-weight: 800;
    pointer-events: auto;
  }

  .occasion-slider,
  .theme-slider {
    grid-auto-columns: 100%;
    gap: 0;
    padding-inline: 0;
    scrollbar-width: none;
  }

  .occasion-slider::-webkit-scrollbar,
  .theme-slider::-webkit-scrollbar {
    display: none;
  }

  .occasion-card,
  .theme-card,
  .theme-card__banner {
    width: 100%;
    border-radius: 22px;
  }

  .theme-card__banner img,
  .theme-card__overlay {
    border-radius: inherit;
  }

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

  .occasion-card {
    min-height: 220px;
  }

  .occasion-card__overlay {
    padding: 14px;
  }

  .occasion-card__overlay h3 {
    font-size: 1rem;
  }

  .occasion-card__overlay span:first-child,
  .occasion-card__overlay strong {
    font-size: 0.58rem;
  }

  .section--occasion .section-heading .slider-actions {
    bottom: -182px;
  }

  .section--products .section-heading .slider-actions {
    bottom: -255px;
  }

  .section--home-themes .section-heading .slider-actions {
    bottom: -172px;
  }

  .section--soft .theme-slider ~ .section-cta {
    margin-top: 22px;
  }
}

.slider-button.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 720px) {
  .section--home-themes .section-heading .slider-actions {
    bottom: -212px;
  }

  .section--products .section-heading .slider-actions {
    bottom: -238px;
  }

  .section--occasion .section-heading .slider-actions {
    bottom: -174px;
  }

  .section-heading .slider-button {
    color: #fff;
    text-shadow:
      0 1px 0 rgba(106, 47, 26, 0.85),
      0 0 8px rgba(191, 87, 45, 0.95),
      0 0 18px rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 6px 12px rgba(68, 31, 18, 0.32)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.82));
    font-size: 1.35rem;
  }
}

@media (max-width: 720px) {
  .section-heading:has(.slider-actions) {
    position: relative;
    margin-bottom: 76px;
  }

  .section-heading:has(.slider-actions) .section-heading__row {
    position: static;
  }

  .section-heading .slider-actions,
  .section--home-themes .section-heading .slider-actions,
  .section--products .section-heading .slider-actions,
  .section--occasion .section-heading .slider-actions {
    position: absolute;
    right: 0;
    top: calc(100% + 14px);
    bottom: auto;
    display: flex;
    justify-content: flex-end;
    width: auto;
    margin-top: 0;
    gap: 8px;
    pointer-events: auto;
  }

  .section-heading .slider-button {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(191, 87, 45, 0.28);
    border-radius: 999px;
    background: #fff;
    color: var(--terracotta);
    box-shadow: 0 10px 24px rgba(91, 54, 36, 0.10);
    filter: none;
    text-shadow: none;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
  }
}

/* Final theme carousel polish */
.theme-card {
  border-radius: 22px;
  overflow: hidden;
}

.theme-card__banner {
  display: block;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
}

.theme-card__banner img,
.theme-card__overlay {
  border-radius: inherit;
}

.content-slider,
.theme-slider {
  scrollbar-width: none;
}

.content-slider::-webkit-scrollbar,
.theme-slider::-webkit-scrollbar {
  display: none;
}

.slider-button {
  appearance: none;
  -webkit-appearance: none;
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(191, 87, 45, 0.24);
  border-radius: 999px;
  background: #fffdfa;
  color: var(--terracotta-deep);
  box-shadow: 0 10px 24px rgba(91, 54, 36, 0.08);
  font-family: Inter, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.slider-button:hover,
.slider-button:focus-visible {
  border-color: rgba(191, 87, 45, 0.44);
  color: var(--terracotta);
  outline: none;
}

/* Final theme card layout */
.theme-card {
  min-width: 0;
  border-radius: 20px;
  overflow: hidden;
}

.theme-card__banner {
  position: relative;
  min-height: 220px;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
  background: #efe4dc;
}

.theme-card__banner img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.theme-card__overlay {
  inset: 0;
  justify-content: flex-end;
  padding: 16px 16px 34px;
  border-radius: inherit;
  background: transparent;
}

.theme-card__overlay h3 {
  max-width: 88%;
  margin-bottom: 4px;
  font-size: 0.98rem;
  line-height: 0.98;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-shadow: none;
}

.theme-card__overlay span {
  font-size: 0.64rem;
  text-shadow: none;
}

.section--home-themes .theme-slider {
  grid-auto-columns: calc((100% - 54px) / 4);
  gap: 18px;
  padding: 2px 0 10px;
}

.section--home-themes .theme-card__banner {
  min-height: 210px;
  height: 210px;
}

@media (max-width: 980px) {
  .section--home-themes .theme-slider {
    grid-auto-columns: calc((100% - 18px) / 2);
  }
}

@media (max-width: 720px) {
  .section--home-themes .theme-slider {
    grid-auto-columns: 100%;
    gap: 0;
  }

  .section--home-themes .theme-card__banner {
    min-height: 250px;
    height: 250px;
  }
}

/* Reference-inspired premium art direction */
:root {
  --bg: #fbf5ee;
  --bg-soft: #f3e8df;
  --surface: rgba(255, 250, 245, 0.78);
  --surface-strong: #fffaf5;
  --surface-dark: #171514;
  --terracotta: #bf6542;
  --terracotta-deep: #9f4d31;
  --terracotta-soft: #ead1c3;
  --ink: #171412;
  --muted: #594b44;
  --line: rgba(159, 77, 49, 0.2);
  --shadow-soft: 0 24px 70px rgba(129, 87, 64, 0.08);
  --shadow-card: 0 24px 70px rgba(129, 87, 64, 0.12);
}

body {
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.98), transparent 30%),
    radial-gradient(circle at 77% 2%, rgba(241, 224, 213, 0.72), transparent 30%),
    radial-gradient(circle at 90% 78%, rgba(255, 255, 255, 0.82), transparent 26%),
    linear-gradient(135deg, #fbf6f0 0%, #f8eee6 54%, #fffaf5 100%);
}

h1,
h2,
h3,
h4,
.section-heading h2,
.page-hero h1,
.theme-hero h1,
.hero-copy h1 {
  font-family: "Cormorant Garamond", "Playfair Display", serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.035em !important;
}

p,
li,
.main-nav,
.button,
.test-card,
.product-info-list,
.admin-body {
  font-family: "Manrope", "Inter", system-ui, sans-serif;
}

.promo-bar {
  background: var(--terracotta);
  color: #fffaf5;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(159, 77, 49, 0.12);
  background: rgba(251, 246, 240, 0.82);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 74px;
}

.brand img {
  max-height: 42px;
  filter: sepia(0.25) saturate(1.08);
}

.main-nav {
  gap: 30px;
}

.main-nav > a,
.nav-dropdown__button {
  position: relative;
  color: #191614;
  font-size: 0.88rem;
  font-weight: 600;
}

.main-nav > a::after,
.nav-dropdown__button::after {
  content: "";
  position: absolute;
  left: 0;
  right: auto;
  bottom: -10px;
  width: 0;
  height: 1px;
  background: var(--terracotta);
  transition: width 180ms ease;
}

.main-nav > a:hover::after,
.nav-dropdown__button:hover::after {
  width: 100%;
}

.button,
.button--header,
.test-card__message {
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.button--primary {
  border: 1px solid #171514;
  background: #171514;
  color: #f3c59f;
  box-shadow: 0 16px 36px rgba(23, 21, 20, 0.14);
}

.button--primary:hover {
  background: #080707;
  transform: translateY(-1px);
}

.button--secondary,
.button--header {
  border: 1px solid rgba(159, 77, 49, 0.48);
  background: rgba(255, 250, 245, 0.52);
  color: var(--terracotta-deep);
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 110px);
  padding-top: 78px;
  padding-bottom: 88px;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 5% 5% auto auto;
  width: min(52vw, 780px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  box-shadow: 0 0 38px rgba(255, 255, 255, 0.72), inset 0 0 38px rgba(255, 255, 255, 0.58);
  pointer-events: none;
}

.site-main .hero-grid--reference {
  width: min(calc(100% - 72px), 1320px);
  max-width: 1320px;
  grid-template-columns: minmax(420px, 0.86fr) minmax(460px, 1.14fr);
  align-items: center;
  gap: 76px;
}

.site-main .hero-copy {
  max-width: 620px;
}

.site-main .hero-copy h1 {
  max-width: 640px;
  font-size: clamp(3.25rem, 5.2vw, 5.7rem) !important;
  line-height: 0.92 !important;
}

.site-main .hero-copy h1 em {
  display: inline;
  color: var(--terracotta);
  font-style: italic;
  font-weight: 600;
}

.hero-copy p {
  max-width: 500px;
  margin-top: 28px;
  color: #39312d;
  font-size: 1.03rem;
  line-height: 1.82;
}

.eyebrow {
  gap: 10px;
  margin-bottom: 26px;
  color: var(--terracotta-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.34em;
}

.eyebrow::before {
  content: "✧";
  font-size: 0.82rem;
}

.hero-actions {
  gap: 22px;
  margin-top: 38px;
}

.hero-actions .button {
  min-width: 205px;
  padding: 0 28px;
}

.hero-stats {
  gap: 0;
  margin-top: 54px;
}

.hero-stats div {
  min-width: 150px;
  padding: 0 32px;
  border-right: 1px solid rgba(93, 74, 64, 0.18);
}

.hero-stats div:first-child {
  padding-left: 0;
}

.hero-stats strong {
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  color: var(--terracotta);
  font-size: 1.75rem;
  font-weight: 500;
}

.hero-stats span {
  color: #403733;
  font-size: 0.88rem;
}

.hero-image-shell {
  min-height: 640px;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.hero-image-shell img {
  object-fit: contain;
  filter: drop-shadow(0 34px 38px rgba(116, 75, 54, 0.12));
}

.section,
.page-hero,
.theme-hero {
  padding: 92px 0;
}

.section-heading {
  margin-bottom: 44px;
}

.site-main .section-heading h2,
.site-main .page-hero h1,
.site-main .theme-hero h1 {
  font-size: clamp(2.65rem, 4.8vw, 4.6rem) !important;
  line-height: 0.92 !important;
}

.section-heading p,
.page-hero p,
.theme-hero p {
  color: #3f3530;
  font-size: 1rem;
  line-height: 1.78;
}

.section-heading::after {
  width: 48px;
  height: 1px;
  margin-top: 24px;
  background: var(--terracotta);
}

.test-card,
.info-card,
.admin-panel,
.admin-stat-card,
.admin-quick-card,
.admin-note {
  box-shadow: var(--shadow-card);
}

.test-card__title {
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  letter-spacing: -0.03em;
}

.test-card__content {
  position: relative;
}

.test-card__tags {
  position: absolute;
  top: 24px;
  right: 22px;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  pointer-events: none;
}

.test-card__tags span {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 8px;
  border: 1px solid rgba(214, 166, 78, 0.26);
  border-radius: 999px;
  background: rgba(255, 248, 236, 0.72);
  color: rgba(70, 34, 20, 0.78);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(44, 20, 12, 0.06);
  backdrop-filter: blur(8px);
}

.test-card:nth-child(even) .test-card__tags span {
  border-color: rgba(255, 242, 220, 0.22);
  background: rgba(255, 248, 236, 0.14);
  color: rgba(255, 248, 236, 0.82);
}

.test-card__message {
  border-radius: 999px;
}

@media (max-width: 980px) {
  .site-main .hero-grid--reference {
    width: min(calc(100% - 44px), 720px);
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-section {
    min-height: 0;
  }

  .hero-image-shell {
    min-height: 440px;
  }
}

@media (max-width: 720px) {
  .site-main .hero-copy h1 {
    font-size: clamp(2.45rem, 12vw, 3.6rem) !important;
    line-height: 0.9 !important;
  }

  .site-main .section-heading h2,
  .site-main .page-hero h1,
  .site-main .theme-hero h1 {
    white-space: normal;
    font-size: clamp(2rem, 10vw, 3rem) !important;
  }

  .hero-copy p,
  .section-heading p,
  .page-hero p {
    font-size: 0.95rem;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-actions .button {
    width: 100%;
    min-width: 0;
  }

  .hero-stats {
    justify-content: space-between;
  }

  .hero-stats div {
    min-width: 0;
    padding: 0 14px;
  }

  .hero-image-shell {
    min-height: 360px;
  }
}

/* Dark premium hero test */
.hero-section--dark {
  color: #f8f1e7;
  background:
    radial-gradient(circle at 74% 72%, rgba(190, 137, 80, 0.28), transparent 18%),
    radial-gradient(circle at 58% 48%, rgba(111, 88, 58, 0.24), transparent 30%),
    linear-gradient(90deg, #0e0e0a 0%, #17160f 44%, #262015 100%);
  border-bottom: 1px solid rgba(204, 160, 93, 0.18);
}

.hero-section--dark::before {
  display: none;
}

.hero-section--dark .hero-grid--reference {
  min-height: 720px;
}

.hero-section--dark .eyebrow {
  color: #c99a54;
}

.hero-section--dark .eyebrow::before {
  content: "";
  width: 58px;
  height: 1px;
  background: #c99a54;
}

.hero-section--dark .hero-copy h1 {
  color: #fffaf0;
  font-family: "Cormorant Garamond", "Playfair Display", serif !important;
  font-size: clamp(4.35rem, 6.4vw, 7.5rem) !important;
  font-weight: 500 !important;
  line-height: 0.83 !important;
  letter-spacing: -0.045em !important;
}

.hero-section--dark .hero-copy h1 em {
  display: block;
  color: #c69a4d;
  font-style: italic;
  font-weight: 500;
}

.hero-section--dark .hero-copy p {
  max-width: 560px;
  color: rgba(250, 240, 225, 0.82);
  font-size: 1.05rem;
  line-height: 1.62;
}

.hero-section--dark .button--primary {
  border-color: rgba(209, 164, 87, 0.82);
  background: linear-gradient(180deg, #d6ad5b, #b78332);
  color: #15120c;
  box-shadow: 0 18px 42px rgba(205, 153, 64, 0.22);
}

.hero-section--dark .button--secondary {
  border-color: rgba(198, 154, 77, 0.48);
  background: rgba(13, 13, 9, 0.12);
  color: #f1dcc0;
}

.hero-section--dark .hero-stats strong {
  color: #c99a54;
}

.hero-section--dark .hero-stats span {
  color: rgba(250, 240, 225, 0.78);
}

.hero-section--dark .hero-stats div {
  border-color: rgba(235, 204, 152, 0.14);
}

.hero-phone-stage {
  position: relative;
  width: min(100%, 780px);
  height: 590px;
  margin-left: auto;
}

.hero-phone-stage::before {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: 24px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(219, 169, 80, 0.48), rgba(219, 169, 80, 0.08) 55%, transparent 72%);
  filter: blur(6px);
}

.hero-phone-glow {
  position: absolute;
  left: 8%;
  right: 0;
  bottom: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(227, 190, 115, 0.92), transparent);
  box-shadow: 0 0 28px rgba(227, 190, 115, 0.66);
}

.hero-phone {
  position: absolute;
  bottom: 42px;
  width: 190px;
  height: 410px;
  overflow: hidden;
  border: 3px solid #1a1712;
  border-radius: 34px;
  background: #111;
  box-shadow:
    0 0 0 1px rgba(213, 170, 92, 0.82),
    0 18px 36px rgba(0, 0, 0, 0.34);
}

.hero-phone span {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 14px;
  width: 74px;
  height: 15px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #050505;
}

.hero-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-phone--1 {
  left: 0;
  transform: scale(0.78) translateY(12px);
  opacity: 0.92;
}

.hero-phone--2 {
  left: 150px;
  transform: scale(0.9);
  opacity: 0.96;
}

.hero-phone--3 {
  z-index: 5;
  left: 310px;
  width: 224px;
  height: 482px;
  border-radius: 38px;
}

.hero-phone--4 {
  right: 118px;
  transform: scale(0.9);
  opacity: 0.96;
}

.hero-phone--5 {
  right: 0;
  transform: scale(0.78) translateY(12px);
  opacity: 0.92;
}

@media (max-width: 980px) {
  .hero-section--dark .hero-grid--reference {
    min-height: 0;
  }

  .hero-phone-stage {
    height: 460px;
    transform: scale(0.82);
    transform-origin: top center;
    margin: 0 auto -70px;
  }
}

@media (max-width: 720px) {
  .hero-section--dark {
    padding-top: 54px;
  }

  .hero-section--dark .hero-copy h1 {
    font-size: clamp(3.4rem, 17vw, 5rem) !important;
  }

  .hero-phone-stage {
    width: 640px;
    max-width: none;
    height: 410px;
    transform: scale(0.58);
    transform-origin: top left;
    margin-bottom: -150px;
  }
}

/* Final dark terracotta hero refinement */
.hero-section--dark {
  background:
    radial-gradient(circle at 74% 76%, rgba(223, 166, 83, 0.24), transparent 18%),
    radial-gradient(circle at 52% 40%, rgba(151, 77, 45, 0.28), transparent 34%),
    linear-gradient(105deg, #2b1710 0%, #3b1f15 45%, #532b1b 100%);
}

.hero-section--dark .hero-grid--reference {
  min-height: 680px;
}

.hero-section--dark .hero-copy h1 {
  max-width: 540px;
  font-size: clamp(3.7rem, 5.3vw, 6.2rem) !important;
  line-height: 0.86 !important;
}

.hero-section--dark .hero-copy p {
  max-width: 520px;
  font-size: 0.98rem;
  line-height: 1.58;
}

.hero-phone-stage {
  width: min(100%, 760px);
  height: 540px;
}

.hero-phone {
  left: 50%;
  bottom: 46px;
  width: 178px;
  height: 386px;
  border-width: 3px;
  border-radius: 32px;
  opacity: 0;
  transform: var(--phone-transform);
  animation: heroPhoneFan 980ms cubic-bezier(0.2, 0.72, 0.16, 1) forwards;
  animation-delay: var(--phone-delay, 0ms);
  box-shadow:
    0 0 0 1px rgba(213, 170, 92, 0.84),
    0 18px 34px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.hero-phone span {
  top: 13px;
  width: 68px;
  height: 14px;
}

.hero-phone--1 {
  z-index: 1;
  --phone-transform: translateX(calc(-50% - 282px)) scale(0.76) translateY(16px);
  --phone-delay: 380ms;
}

.hero-phone--2 {
  z-index: 2;
  --phone-transform: translateX(calc(-50% - 148px)) scale(0.88) translateY(2px);
  --phone-delay: 260ms;
}

.hero-phone--3 {
  z-index: 5;
  width: 216px;
  height: 468px;
  border-radius: 38px;
  --phone-transform: translateX(-50%) scale(1) translateY(0);
  --phone-delay: 40ms;
}

.hero-phone--4 {
  z-index: 2;
  --phone-transform: translateX(calc(-50% + 150px)) scale(0.88) translateY(2px);
  --phone-delay: 260ms;
}

.hero-phone--5 {
  z-index: 1;
  --phone-transform: translateX(calc(-50% + 286px)) scale(0.76) translateY(16px);
  --phone-delay: 380ms;
}

@keyframes heroPhoneFan {
  from {
    opacity: 0;
    transform: translateX(-50%) scale(0.92) translateY(24px);
  }
  62% {
    opacity: 1;
  }
  to {
    opacity: 1;
    transform: var(--phone-transform);
  }
}

@media (max-width: 980px) {
  .hero-phone-stage {
    height: 510px;
    transform: scale(0.78);
    margin-bottom: -86px;
  }
}

@media (max-width: 720px) {
  .hero-section--dark .hero-copy h1 {
    max-width: 360px;
    font-size: clamp(3rem, 15vw, 4.4rem) !important;
  }

  .hero-section--dark .hero-copy p {
    font-size: 0.92rem;
  }

  .hero-phone-stage {
    width: 760px;
    height: 480px;
    transform: scale(0.52);
    margin-bottom: -188px;
  }
}

/* Final terracotta identity pass */
.promo-bar {
  display: none;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 40;
  border-bottom: 0;
  background: transparent;
  backdrop-filter: none;
}

.header-inner {
  min-height: 86px;
}

.brand img {
  width: 74px;
  max-height: 54px;
  filter: brightness(0) invert(1) sepia(0.18) saturate(0.8);
}

.main-nav > a,
.nav-dropdown__button {
  color: rgba(255, 247, 235, 0.92);
  text-shadow: 0 1px 12px rgba(45, 18, 10, 0.28);
}

.main-nav > a:hover,
.nav-dropdown__button:hover {
  color: #f4c879;
}

.button--header {
  border-color: rgba(255, 247, 235, 0.52);
  background: rgba(255, 247, 235, 0.08);
  color: #fff7eb;
  box-shadow: none;
}

.nav-dropdown__menu {
  border-color: rgba(255, 247, 235, 0.18);
  background: rgba(55, 27, 17, 0.94);
  color: #fff7eb;
}

.hero-section--dark {
  padding-top: 116px;
  background:
    radial-gradient(circle at 72% 72%, rgba(224, 157, 65, 0.24), transparent 18%),
    radial-gradient(circle at 58% 38%, rgba(136, 61, 35, 0.42), transparent 34%),
    linear-gradient(105deg, #35180f 0%, #572716 48%, #78381f 100%);
}

.hero-section--dark .hero-grid--reference {
  min-height: 660px;
}

.hero-section--dark .hero-copy h1 {
  max-width: 720px;
  font-size: clamp(3.45rem, 5vw, 5.85rem) !important;
  line-height: 0.86 !important;
}

.hero-section--dark .hero-copy h1 em {
  display: block;
}

.hero-section--dark .hero-copy p {
  max-width: 560px;
  font-size: 0.96rem;
}

.hero-phone-glow {
  display: block;
  left: 27%;
  right: auto;
  bottom: -70px;
  width: 520px;
  height: 260px;
  transform: none;
  border-radius: 50%;
  background: url("../assets/hero/brilho-dourado.png") center 58% / 100% auto no-repeat;
  mix-blend-mode: screen;
  opacity: 0.42;
  filter: blur(1.5px) saturate(0.85) hue-rotate(-10deg);
  clip-path: ellipse(47% 28% at 50% 56%);
  box-shadow: none;
}

.hero-phone-stage::before {
  bottom: 34px;
  height: 46px;
  background: radial-gradient(ellipse, rgba(219, 143, 58, 0.32), rgba(219, 143, 58, 0.07) 56%, transparent 74%);
}

.hero-phone-stage {
  height: 520px;
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
  }

  .brand img {
    width: 66px;
  }

  .nav-toggle {
    border-color: rgba(255, 247, 235, 0.5);
    background: rgba(255, 247, 235, 0.08);
  }

  .nav-toggle span {
    background: #fff7eb;
  }

  .main-nav.is-open {
    background: rgba(55, 27, 17, 0.98);
  }
}

@media (max-width: 720px) {
  .hero-section--dark {
    padding-top: 104px;
  }

  .hero-section--dark .hero-copy h1 {
    max-width: 420px;
    font-size: clamp(2.95rem, 13vw, 4.05rem) !important;
  }
}

/* Final header, glow and global palette pass */
:root {
  --bg: #f6eee4;
  --bg-soft: #eadbcd;
  --surface: rgba(255, 249, 241, 0.9);
  --surface-strong: #fff8ef;
  --terracotta: #b8613d;
  --terracotta-deep: #6d2f1d;
  --terracotta-soft: #d4a07c;
  --ink: #201510;
  --muted: #684f43;
  --line: rgba(109, 47, 29, 0.18);
}

body {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 248, 238, 0.8), transparent 26%),
    linear-gradient(180deg, #f7efe6 0%, #f1e4d6 44%, #ead8c8 100%);
}

.promo-marquee {
  display: block;
  position: relative;
  z-index: 50;
  background: linear-gradient(90deg, #7a351f, #b35d38 48%, #7a351f);
  color: #fff2df;
  border-top: 1px solid rgba(255, 226, 180, 0.18);
  border-bottom: 1px solid rgba(255, 226, 180, 0.22);
}

.promo-marquee__track span {
  padding-block: 7px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff2df;
}

.promo-marquee__track span::after {
  color: #f4c879;
  opacity: 1;
}

.site-header {
  position: absolute;
  top: 31px;
  left: 0;
  right: 0;
  z-index: 45;
  border-bottom: 1px solid rgba(255, 231, 190, 0.16);
  background: linear-gradient(180deg, rgba(43, 20, 12, 0.56), rgba(43, 20, 12, 0.14));
  backdrop-filter: none;
}

.header-inner {
  min-height: 82px;
  grid-template-columns: 150px 1fr 170px;
}

.brand img {
  width: 112px;
  max-height: 62px;
  object-fit: contain;
  filter: brightness(0) invert(1) sepia(0.22) saturate(0.9);
}

.main-nav {
  gap: 34px;
}

.main-nav > a,
.nav-dropdown__button {
  color: rgba(255, 243, 224, 0.92);
  font-size: 0.88rem;
  font-weight: 600;
}

.main-nav > a:hover,
.nav-dropdown__button:hover {
  color: #f4c879;
}

.button--header {
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid rgba(244, 200, 121, 0.54);
  border-radius: 999px;
  background: rgba(255, 243, 224, 0.05);
  color: #fff3e0 !important;
}

.hero-section--dark {
  padding-top: 132px;
  background:
    radial-gradient(circle at 72% 78%, rgba(244, 194, 103, 0.34), transparent 17%),
    radial-gradient(circle at 58% 40%, rgba(137, 63, 34, 0.5), transparent 34%),
    linear-gradient(105deg, #35170f 0%, #612d1a 49%, #843f24 100%);
}

.hero-section--dark .hero-grid--reference {
  min-height: 650px;
}

.hero-section--dark .hero-copy h1 {
  max-width: 660px;
  font-size: clamp(3.15rem, 4.7vw, 5.35rem) !important;
  line-height: 0.88 !important;
}

.hero-section--dark .hero-copy p {
  max-width: 540px;
}

.hero-phone-stage::before {
  left: 2%;
  right: 2%;
  bottom: 24px;
  height: 32px;
  background: radial-gradient(ellipse, rgba(219, 169, 80, 0.48), rgba(219, 169, 80, 0.08) 55%, transparent 72%);
  filter: blur(6px);
  opacity: 1;
}

.hero-phone-glow {
  display: none;
}

.hero-phone-stage::after {
  display: none;
}

.hero-phone {
  z-index: 2;
}

.hero-phone--1 {
  z-index: 1;
  --phone-transform: translateX(calc(-50% - 284px)) scale(0.76) translateY(16px);
}

.hero-phone--2 {
  z-index: 3;
  --phone-transform: translateX(calc(-50% - 148px)) scale(0.88) translateY(2px);
}

.hero-phone--3 {
  z-index: 5;
}

.hero-phone--4 {
  z-index: 4;
  --phone-transform: translateX(calc(-50% + 148px)) scale(0.88) translateY(2px);
}

.hero-phone--5 {
  z-index: 1;
  --phone-transform: translateX(calc(-50% + 284px)) scale(0.76) translateY(16px);
}

.hero-phone-glow {
  display: block;
  z-index: 0;
  left: 8%;
  right: 0;
  bottom: 20px;
  width: auto;
  height: 1px;
  transform: none;
  border-radius: 0;
  background: linear-gradient(90deg, transparent, rgba(227, 190, 115, 0.92), transparent);
  mix-blend-mode: normal;
  opacity: 1;
  filter: none;
  clip-path: none;
  pointer-events: none;
  box-shadow: 0 0 28px rgba(227, 190, 115, 0.66);
}

.section--soft {
  background: linear-gradient(180deg, rgba(255, 248, 238, 0.45), rgba(222, 190, 166, 0.22));
}

.site-footer {
  background: #35170f;
  color: #fff3e0;
}

.site-footer a,
.site-footer p,
.footer-bottom {
  color: rgba(255, 243, 224, 0.78);
}

@media (max-width: 980px) {
  .site-header {
    top: 30px;
  }

  .header-inner {
    grid-template-columns: 110px 1fr 56px;
  }

  .brand img {
    width: 88px;
  }

  .main-nav.is-open {
    background: rgba(53, 23, 15, 0.98);
    border-color: rgba(244, 200, 121, 0.18);
  }
}

@media (max-width: 720px) {
  .promo-marquee__track span {
    padding-block: 6px;
    font-size: 0.68rem;
  }

  .site-header {
    top: 28px;
  }

  .hero-section--dark {
    padding-top: 118px;
  }
}

/* Global dark terracotta and gold redesign */
:root {
  --bg: #f4e7d8;
  --bg-soft: #ead5c3;
  --surface: rgba(255, 248, 236, 0.92);
  --surface-strong: #fff8ec;
  --surface-dark: #35170f;
  --terracotta: #b8613d;
  --terracotta-deep: #572716;
  --terracotta-soft: #d7a179;
  --gold: #d6a64e;
  --gold-soft: #f1d49a;
  --ink: #1e120d;
  --muted: #684d3f;
  --line: rgba(87, 39, 22, 0.18);
  --line-soft: rgba(214, 166, 78, 0.18);
  --shadow-soft: 0 22px 60px rgba(71, 30, 16, 0.12);
  --shadow-card: 0 24px 64px rgba(71, 30, 16, 0.16);
}

body {
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 4%, rgba(255, 245, 226, 0.92), transparent 28%),
    radial-gradient(circle at 92% 0%, rgba(184, 97, 61, 0.2), transparent 24%),
    linear-gradient(180deg, #f7ebde 0%, #f0ddcb 42%, #ead4c2 100%);
}

h1,
h2,
h3,
h4,
.page-hero h1,
.theme-hero h1,
.section-heading h2,
.admin-panel__header h2,
.admin-header__brand h1 {
  font-family: "Cormorant Garamond", "Playfair Display", serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.035em !important;
}

p,
.section-heading p,
.page-hero p,
.theme-hero p,
.test-card__description,
.admin-panel__sub,
.admin-topbar__text {
  font-family: "Manrope", "Inter", system-ui, sans-serif;
}

.promo-marquee {
  background: linear-gradient(90deg, #4a1d11, #9e4a2b 48%, #4a1d11);
  border-color: rgba(214, 166, 78, 0.28);
  color: #fff0d6;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 45;
  border-bottom: 1px solid rgba(214, 166, 78, 0.22);
  background: linear-gradient(90deg, rgba(35, 14, 8, 0.96), rgba(91, 39, 22, 0.94));
  box-shadow: 0 14px 34px rgba(35, 14, 8, 0.12);
}

.header-inner {
  min-height: 78px;
  grid-template-columns: 150px 1fr 170px;
}

.brand img {
  width: 108px;
  max-height: 60px;
  filter: brightness(0) invert(1) sepia(0.24) saturate(1);
}

.main-nav > a,
.nav-dropdown__button {
  color: rgba(255, 242, 218, 0.92);
}

.main-nav > a:hover,
.nav-dropdown__button:hover {
  color: var(--gold-soft);
}

.main-nav > a::after,
.nav-dropdown__button::after {
  background: var(--gold);
}

.nav-dropdown__menu {
  border-color: rgba(214, 166, 78, 0.22);
  background: rgba(53, 23, 15, 0.98);
  color: #fff2dc;
}

.nav-dropdown__menu a:hover {
  background: rgba(214, 166, 78, 0.12);
  color: var(--gold-soft);
}

.button,
.button--header,
.test-card__message,
.filter-bar .button {
  border-radius: 999px;
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  font-weight: 800;
}

.button--primary,
.test-card__message {
  border: 1px solid rgba(214, 166, 78, 0.78);
  background: linear-gradient(180deg, #dfb65e, #b9772e);
  color: #1d120b;
  box-shadow: 0 16px 34px rgba(138, 75, 25, 0.22);
}

.button--primary:hover,
.test-card__message:hover {
  background: linear-gradient(180deg, #edc777, #c88335);
}

.button--secondary,
.button--ghost,
.button--header {
  border: 1px solid rgba(214, 166, 78, 0.52);
  background: rgba(255, 246, 230, 0.08);
  color: #fff0d6;
}

.site-main .page-hero,
.site-main .theme-hero {
  color: #fff2dc;
  background:
    radial-gradient(circle at 82% 18%, rgba(214, 166, 78, 0.18), transparent 24%),
    linear-gradient(105deg, #35170f, #6d2f1d);
}

.page-hero p,
.theme-hero p {
  color: rgba(255, 242, 220, 0.78);
}

.section-heading h2,
.page-hero h1,
.theme-hero h1 {
  color: var(--ink);
}

.section-heading p {
  color: var(--muted);
}

.eyebrow,
.section-heading .eyebrow {
  color: var(--gold);
}

.section-heading::after {
  background: linear-gradient(90deg, var(--gold), var(--terracotta));
}

.section--soft {
  background:
    radial-gradient(circle at 88% 8%, rgba(214, 166, 78, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(255, 248, 236, 0.34), rgba(212, 160, 124, 0.18));
}

.test-card {
  border: 1px solid rgba(214, 166, 78, 0.2);
  background: linear-gradient(180deg, #fff8ec, #f7eadc);
  box-shadow: var(--shadow-card);
}

.test-card:nth-child(even) {
  border-color: rgba(214, 166, 78, 0.36);
  background: linear-gradient(180deg, #70341f, #9d4c2d);
}

.test-card__media {
  background: #ead8c8;
}

.test-card__badge {
  border: 1px solid rgba(214, 166, 78, 0.32);
  background: rgba(255, 248, 236, 0.94);
  color: var(--terracotta-deep);
}

.test-card__category {
  color: var(--terracotta-deep);
}

.test-card__title {
  font-family: "Manrope", "Inter", system-ui, sans-serif !important;
  color: var(--ink);
}

.test-card__description,
.test-card__price small {
  color: var(--muted);
}

.test-card__price del {
  color: #cc1f1f;
}

.test-card__price strong {
  color: #116b34;
}

.test-card:nth-child(even) .test-card__category,
.test-card:nth-child(even) .test-card__title,
.test-card:nth-child(even) .test-card__description,
.test-card:nth-child(even) .test-card__more,
.test-card:nth-child(even) .test-card__price small {
  color: #fff3df;
}

.test-card:nth-child(even) .test-card__price strong {
  color: #fff3df;
}

.test-card:nth-child(even) .test-card__message {
  border-color: rgba(255, 242, 220, 0.72);
  background: #fff7ea;
  color: var(--terracotta-deep);
}

.test-card__view-badge {
  background: linear-gradient(180deg, #dfb65e, #b9772e);
  color: #1d120b;
}

.theme-card__banner,
.occasion-card {
  border: 1px solid rgba(214, 166, 78, 0.22);
  box-shadow: 0 18px 48px rgba(71, 30, 16, 0.14);
}

.theme-card__overlay h3,
.occasion-card__overlay h3 {
  font-family: "Cormorant Garamond", "Playfair Display", serif !important;
  color: #fff7e8;
}

.theme-card__overlay span,
.occasion-card__overlay span,
.occasion-card__overlay strong {
  color: #f1d49a;
}

.filter-bar,
.admin-panel,
.admin-login__card,
.admin-stat-card,
.admin-quick-card,
.admin-note,
.info-card {
  border: 1px solid rgba(214, 166, 78, 0.2);
  background: linear-gradient(180deg, rgba(255, 248, 236, 0.96), rgba(247, 234, 220, 0.96));
  box-shadow: var(--shadow-card);
}

.filter-bar input,
.filter-dropdown__toggle,
.admin-form input,
.admin-form textarea,
.admin-form select,
.admin-search-bar input {
  border-color: rgba(109, 47, 29, 0.22);
  background: #fff8ec;
  color: var(--ink);
}

.product-share-section,
.section {
  background-color: transparent;
}

.product-info-list strong,
.price-chip strong,
.admin-stat-card strong,
.admin-stat strong {
  color: var(--terracotta);
}

.price-chip,
.admin-stat {
  border: 1px solid rgba(214, 166, 78, 0.2);
  background: #fff8ec;
}

.badge,
.badge--inline,
.admin-mini-toggle.is-active {
  background: linear-gradient(180deg, #dfb65e, #b9772e);
  color: #1d120b;
}

.badge--promo,
.admin-mini-toggle--promo.is-active {
  background: linear-gradient(180deg, #d93d3d, #a51f2c);
  color: #fff;
}

.model-preview__backdrop {
  background: rgba(53, 23, 15, 0.72);
}

.site-footer {
  border-top: 1px solid rgba(214, 166, 78, 0.22);
  background:
    radial-gradient(circle at 18% 0%, rgba(214, 166, 78, 0.12), transparent 28%),
    linear-gradient(105deg, #2b120b, #572716);
}

.footer-logo {
  filter: brightness(0) invert(1) sepia(0.18);
}

.admin-body {
  background:
    radial-gradient(circle at 12% 0%, rgba(214, 166, 78, 0.16), transparent 24%),
    linear-gradient(180deg, #f7ebde, #ead4c2);
}

.admin-header {
  border-color: rgba(214, 166, 78, 0.2);
  background: linear-gradient(105deg, #35170f, #6d2f1d);
  color: #fff2dc;
}

.admin-header__brand p {
  color: rgba(255, 242, 220, 0.78);
}

.admin-nav {
  border-color: rgba(214, 166, 78, 0.2);
  background: rgba(255, 248, 236, 0.82);
}

.admin-nav__link.is-active,
.admin-nav__link:hover {
  background: linear-gradient(180deg, #dfb65e, #b9772e);
  color: #1d120b;
}

.button--primary,
.test-card__message,
.test-card__view-badge,
.section-cta .button,
.admin-nav__link.is-active,
.admin-nav__link:hover {
  color: #fff !important;
  text-shadow: 0 1px 1px rgba(68, 30, 14, 0.28);
}

.test-card__view-badge svg {
  color: #fff;
}

.test-card:nth-child(even) .test-card__message {
  color: var(--terracotta-deep) !important;
  text-shadow: none;
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 120px 1fr 56px;
  }

  .brand img {
    width: 92px;
  }

  .main-nav.is-open {
    background: rgba(53, 23, 15, 0.98);
  }
}

/* Admin premium terracotta refresh */
.admin-body {
  background:
    radial-gradient(circle at 16% 2%, rgba(214, 166, 78, 0.18), transparent 25%),
    radial-gradient(circle at 88% 8%, rgba(255, 244, 225, 0.18), transparent 22%),
    linear-gradient(180deg, #35170f 0, #73351f 330px, #f1dfcd 331px, #ead1bc 100%);
  color: #20140f;
}

.admin-shell {
  font-family: "Manrope", Arial, sans-serif;
}

.admin-header {
  border: 1px solid rgba(214, 166, 78, 0.28);
  background:
    radial-gradient(circle at 78% 18%, rgba(214, 166, 78, 0.18), transparent 28%),
    linear-gradient(120deg, rgba(43, 18, 11, 0.96), rgba(112, 47, 27, 0.94));
  box-shadow: 0 28px 80px rgba(53, 23, 15, 0.22);
}

.admin-header__brand h1,
.admin-login__card h1,
.admin-panel__header h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0;
}

.admin-header__brand h1 {
  color: #fff7ea;
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.admin-header .eyebrow,
.admin-login__card .eyebrow,
.admin-panel .eyebrow {
  color: #d9a64e;
  letter-spacing: 0.28em;
}

.admin-header__brand p {
  color: rgba(255, 247, 234, 0.76);
}

.admin-nav {
  border: 1px solid rgba(214, 166, 78, 0.26);
  background: rgba(255, 248, 236, 0.9);
  box-shadow: 0 18px 45px rgba(53, 23, 15, 0.12);
}

.admin-nav__link {
  color: #4c2417;
}

.admin-nav__link.is-active,
.admin-nav__link:hover {
  background: linear-gradient(180deg, #dfb65e, #b9772e);
  color: #fff !important;
}

.admin-panel,
.admin-login__card,
.admin-stat-card,
.admin-quick-card,
.admin-note,
.info-card {
  border: 1px solid rgba(185, 119, 46, 0.24);
  background:
    radial-gradient(circle at 88% 0%, rgba(214, 166, 78, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 248, 236, 0.98), rgba(244, 225, 207, 0.98));
  box-shadow: 0 28px 70px rgba(53, 23, 15, 0.12);
}

.admin-panel__header h2,
.admin-login__card h1 {
  color: #21140f;
}

.admin-panel__sub,
.admin-note p,
.admin-quick-card span,
.admin-table td small,
.admin-field-hint {
  color: rgba(49, 29, 22, 0.7);
}

.admin-form input,
.admin-form textarea,
.admin-form select,
.admin-search-bar input {
  border: 1px solid rgba(185, 119, 46, 0.28);
  background: #fff8ec;
  color: #20140f;
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus,
.admin-search-bar input:focus {
  border-color: #d9a64e;
  box-shadow: 0 0 0 4px rgba(217, 166, 78, 0.16);
}

.admin-form span,
.admin-form legend,
.admin-table th {
  color: #7b321c;
}

.admin-media-summary {
  border: 1px solid rgba(214, 166, 78, 0.28);
  background: rgba(255, 248, 236, 0.82);
  color: #4c2417;
}

.admin-media-summary strong {
  color: #7b321c;
}

.admin-table {
  background: #fff8ec;
}

.admin-table th {
  background: rgba(214, 166, 78, 0.1);
}

.admin-table th,
.admin-table td {
  border-color: rgba(185, 119, 46, 0.18);
}

.admin-login {
  background:
    radial-gradient(circle at 50% 0%, rgba(214, 166, 78, 0.18), transparent 26%),
    linear-gradient(145deg, #35170f, #73351f);
}

.admin-login__card {
  max-width: 460px;
}

.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 36px 18px;
  background:
    radial-gradient(circle at 50% 20%, rgba(214, 166, 78, 0.22), transparent 24%),
    radial-gradient(circle at 50% 112%, rgba(255, 244, 225, 0.18), transparent 32%),
    linear-gradient(145deg, #35170f, #73351f);
}

.admin-login__card {
  position: relative;
  padding: 44px 42px;
  overflow: hidden;
}

.admin-login__card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 0%, rgba(214, 166, 78, 0.22), transparent 22%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 42%);
}

.admin-login__card > * {
  position: relative;
  z-index: 1;
}

.admin-login__brand-mark {
  display: grid;
  place-items: center;
  width: 138px;
  height: 138px;
  margin-bottom: 22px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 22%, rgba(255, 247, 234, 0.4), transparent 24%),
    linear-gradient(145deg, #8f2507, #4c150a);
  border: 1px solid rgba(214, 166, 78, 0.44);
  box-shadow: 0 24px 58px rgba(35, 14, 8, 0.38), inset 0 1px 0 rgba(255, 248, 236, 0.2);
}

.admin-login__logo {
  width: 96px;
  height: auto;
  display: block;
  margin: 0;
  filter: drop-shadow(0 10px 18px rgba(53, 23, 15, 0.22));
}

.admin-body .button {
  min-height: 42px;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}

.admin-body .button--primary,
.admin-body .admin-form .button--primary {
  border: 1px solid rgba(139, 79, 18, 0.48);
  background: linear-gradient(180deg, #dfb65e, #b9772e);
  color: #fff !important;
  text-shadow: 0 1px 1px rgba(53, 23, 15, 0.28);
  box-shadow: 0 12px 26px rgba(185, 119, 46, 0.24);
}

.admin-body .button--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(185, 119, 46, 0.3);
}

.admin-body .button--secondary,
.admin-body .admin-form .button--secondary,
.admin-body .table-actions .button--secondary {
  border: 1px solid rgba(185, 119, 46, 0.5);
  background: rgba(255, 248, 236, 0.92);
  color: #7b321c !important;
  text-shadow: none;
  box-shadow: 0 10px 22px rgba(53, 23, 15, 0.08);
}

.admin-body .button--secondary:hover,
.admin-body .table-actions .button--secondary:hover {
  border-color: rgba(185, 119, 46, 0.72);
  background: #fff8ec;
  color: #4c2417 !important;
  transform: translateY(-1px);
}

.admin-header .button--secondary {
  background: rgba(255, 248, 236, 0.1);
  color: #fff7ea !important;
}

.admin-header .button--primary {
  color: #fff !important;
}

.admin-panel__header {
  gap: 20px;
}

.admin-panel__header > .button {
  flex: 0 0 auto;
}

.table-actions {
  display: grid;
  gap: 8px;
  min-width: 96px;
}

.table-actions .button {
  width: 100%;
  min-height: 36px;
  padding: 8px 14px;
  font-size: 0.82rem;
}

.admin-table td:last-child {
  min-width: 112px;
}

.admin-table td,
.admin-table th {
  vertical-align: middle;
}

.price-table--editor {
  gap: 14px;
}

.price-chip--editor {
  border: 1px solid rgba(185, 119, 46, 0.24);
  background: rgba(255, 248, 236, 0.72);
}

.price-chip--editor strong {
  color: #a94721;
}

.admin-body .admin-tag-actions .admin-mini-toggle {
  color: #9a4a22;
  background: #fff8ec;
  border: 1px solid rgba(185, 119, 46, 0.48);
  box-shadow: none;
}

.admin-body .admin-tag-actions .admin-mini-toggle.is-active {
  border-color: #b9772e;
  background: linear-gradient(180deg, #dfb65e, #b9772e);
  color: #fff !important;
  text-shadow: 0 1px 1px rgba(53, 23, 15, 0.24);
}

.admin-body .admin-tag-actions .admin-mini-toggle--dark {
  color: #6a2c19;
}

.admin-body .admin-tag-actions .admin-mini-toggle--dark.is-active {
  border-color: #5b2415;
  background: linear-gradient(180deg, #8a3d24, #5b2415);
  color: #fff !important;
}

.admin-body .admin-tag-actions .admin-mini-toggle--promo {
  color: #b6202f;
}

.admin-body .admin-tag-actions .admin-mini-toggle--promo.is-active {
  border-color: #a51f2c;
  background: linear-gradient(180deg, #d93d3d, #a51f2c);
  color: #fff !important;
}

@media (max-width: 760px) {
  .admin-login__brand-mark {
    width: 112px;
    height: 112px;
    margin-bottom: 18px;
  }

  .admin-login__logo {
    width: 78px;
  }

  .admin-login__card {
    padding: 34px 24px;
  }

  .admin-panel__header {
    align-items: stretch;
  }

  .admin-panel__header > .button {
    width: 100%;
  }
}

/* Responsive polish pass */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
canvas,
svg {
  max-width: 100%;
}

@media (max-width: 980px) {
  .container,
  .container--narrower,
  .container--products {
    width: min(100% - 32px, var(--container));
  }

  .promo-marquee {
    overflow: hidden;
  }

  .site-header {
    top: 28px;
  }

  .header-inner {
    width: min(100% - 28px, var(--container));
    min-height: 72px;
    grid-template-columns: 112px 1fr 52px;
  }

  .brand img {
    width: 92px;
  }

  .hero-section--dark {
    padding: 128px 0 52px;
  }

  .hero-section--dark .hero-grid--reference {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-section--dark .hero-copy {
    max-width: 680px;
  }

  .hero-section--dark .hero-copy h1 {
    max-width: 680px;
    font-size: clamp(3rem, 10vw, 4.7rem) !important;
    line-height: 0.92 !important;
  }

  .hero-section--dark .hero-copy p {
    max-width: 620px;
  }

  .hero-media {
    width: 100%;
    min-width: 0;
  }

  .hero-phone-stage {
    width: min(100%, 680px);
    height: clamp(300px, 54vw, 470px);
    margin: 0 auto;
  }

  .hero-phone {
    width: clamp(124px, 24vw, 210px);
    height: clamp(248px, 48vw, 420px);
  }

  .hero-phone--1 {
    --phone-transform: translateX(calc(-50% - clamp(120px, 26vw, 230px))) scale(0.74) translateY(22px);
  }

  .hero-phone--2 {
    --phone-transform: translateX(calc(-50% - clamp(64px, 14vw, 126px))) scale(0.86) translateY(10px);
  }

  .hero-phone--4 {
    --phone-transform: translateX(calc(-50% + clamp(64px, 14vw, 126px))) scale(0.86) translateY(10px);
  }

  .hero-phone--5 {
    --phone-transform: translateX(calc(-50% + clamp(120px, 26vw, 230px))) scale(0.74) translateY(22px);
  }

  .product-grid,
  .custom-format-card-grid,
  .theme-grid--full {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-bar {
    grid-template-columns: 1fr 1fr;
  }

  .filter-bar .button {
    grid-column: 1 / -1;
  }

  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 720px) {
  .container,
  .container--narrower,
  .container--products {
    width: min(100% - 28px, var(--container));
  }

  .promo-marquee__track span {
    padding-inline: 22px;
    font-size: 0.68rem;
  }

  .site-header {
    top: 27px;
  }

  .header-inner {
    width: min(100% - 24px, var(--container));
    min-height: 64px;
    grid-template-columns: 96px 1fr 48px;
  }

  .brand img {
    width: 82px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .main-nav.is-open {
    top: calc(100% + 10px);
    left: 12px;
    right: 12px;
    width: auto;
  }

  .hero-section--dark {
    padding: 112px 0 44px;
  }

  .hero-section--dark .hero-grid--reference {
    gap: 28px;
  }

  .hero-section--dark .eyebrow {
    max-width: 100%;
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    white-space: normal;
  }

  .hero-section--dark .eyebrow::before {
    width: 52px;
  }

  .hero-section--dark .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.48rem, 11.4vw, 3.35rem) !important;
    line-height: 0.94 !important;
  }

  .hero-section--dark .hero-copy p {
    max-width: 100%;
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
    min-width: 0;
  }

  .hero-stats {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .hero-stats div {
    min-width: 0;
    padding: 0 10px;
  }

  .hero-stats strong {
    font-size: 1.55rem;
  }

  .hero-stats span {
    font-size: 0.75rem;
  }

  .hero-phone-stage {
    height: 340px;
    width: min(100%, 430px);
    overflow: visible;
  }

  .hero-phone {
    width: 150px;
    height: 300px;
    border-radius: 28px;
  }

  .hero-phone--1 {
    --phone-transform: translateX(calc(-50% - 124px)) scale(0.7) translateY(34px);
  }

  .hero-phone--2 {
    --phone-transform: translateX(calc(-50% - 68px)) scale(0.84) translateY(20px);
  }

  .hero-phone--3 {
    --phone-transform: translateX(-50%) scale(1) translateY(0);
  }

  .hero-phone--4 {
    --phone-transform: translateX(calc(-50% + 68px)) scale(0.84) translateY(20px);
  }

  .hero-phone--5 {
    --phone-transform: translateX(calc(-50% + 124px)) scale(0.7) translateY(34px);
  }

  .hero-phone-stage::before,
  .hero-phone-glow {
    bottom: 8px;
  }

  .section,
  .page-hero,
  .theme-hero {
    padding-block: 48px;
  }

  .section-heading h2,
  .site-main .page-hero h1,
  .site-main .theme-hero h1 {
    font-size: clamp(2rem, 9vw, 2.7rem) !important;
    line-height: 0.98 !important;
  }

  .product-grid,
  .custom-format-card-grid,
  .theme-grid--full,
  .theme-grid,
  .occasion-grid {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .test-card {
    max-width: 430px;
    margin-inline: auto;
  }

  .test-card__footer {
    gap: 12px;
  }

  .test-card__message {
    min-width: 132px;
    padding-inline: 14px;
  }

  .admin-body {
    overflow-x: hidden;
  }
}

@media (max-width: 430px) {
  .hero-section--dark .hero-copy h1 {
    font-size: clamp(2.24rem, 10.4vw, 2.8rem) !important;
  }

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

  .hero-stats div:nth-child(3) {
    grid-column: 1 / -1;
    border-left: 0;
    padding-top: 12px;
  }

  .hero-phone-stage {
    height: 310px;
    transform: translateX(0);
  }

  .hero-phone {
    width: 136px;
    height: 272px;
  }

  .hero-phone--1 {
    --phone-transform: translateX(calc(-50% - 108px)) scale(0.68) translateY(34px);
  }

  .hero-phone--2 {
    --phone-transform: translateX(calc(-50% - 58px)) scale(0.82) translateY(20px);
  }

  .hero-phone--4 {
    --phone-transform: translateX(calc(-50% + 58px)) scale(0.82) translateY(20px);
  }

  .hero-phone--5 {
    --phone-transform: translateX(calc(-50% + 108px)) scale(0.68) translateY(34px);
  }
}

/* Mobile hero final override */
@media (max-width: 720px) {
  body[data-page="home"] .hero-section--dark {
    min-height: auto !important;
    padding: 106px 0 24px !important;
  }

  body[data-page="home"] .hero-section--dark .hero-grid--reference {
    min-height: auto !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  body[data-page="home"] .hero-media {
    min-height: 0 !important;
    margin-top: -4px !important;
  }

  body[data-page="home"] .hero-phone-stage {
    width: min(100vw - 18px, 470px) !important;
    height: 330px !important;
    min-height: 0 !important;
    margin: -8px auto 0 !important;
    transform: none !important;
    overflow: visible !important;
  }

  body[data-page="home"] .hero-phone {
    width: 154px !important;
    height: 308px !important;
    min-width: 0 !important;
    border-radius: 28px !important;
  }

  body[data-page="home"] .hero-phone--1 {
    --phone-transform: translateX(calc(-50% - 128px)) scale(0.72) translateY(36px) !important;
  }

  body[data-page="home"] .hero-phone--2 {
    --phone-transform: translateX(calc(-50% - 70px)) scale(0.86) translateY(20px) !important;
  }

  body[data-page="home"] .hero-phone--3 {
    --phone-transform: translateX(-50%) scale(1) translateY(0) !important;
  }

  body[data-page="home"] .hero-phone--4 {
    --phone-transform: translateX(calc(-50% + 70px)) scale(0.86) translateY(20px) !important;
  }

  body[data-page="home"] .hero-phone--5 {
    --phone-transform: translateX(calc(-50% + 128px)) scale(0.72) translateY(36px) !important;
  }

  body[data-page="home"] .hero-phone-stage::before {
    bottom: 16px !important;
    left: 8% !important;
    right: 8% !important;
  }
}

@media (max-width: 430px) {
  body[data-page="home"] .hero-section--dark {
    padding-bottom: 18px !important;
  }

  body[data-page="home"] .hero-phone-stage {
    width: min(100vw - 8px, 430px) !important;
    height: 300px !important;
  }

  body[data-page="home"] .hero-phone {
    width: 140px !important;
    height: 280px !important;
  }

  body[data-page="home"] .hero-phone--1 {
    --phone-transform: translateX(calc(-50% - 112px)) scale(0.7) translateY(34px) !important;
  }

  body[data-page="home"] .hero-phone--2 {
    --phone-transform: translateX(calc(-50% - 60px)) scale(0.84) translateY(20px) !important;
  }

  body[data-page="home"] .hero-phone--4 {
    --phone-transform: translateX(calc(-50% + 60px)) scale(0.84) translateY(20px) !important;
  }

  body[data-page="home"] .hero-phone--5 {
    --phone-transform: translateX(calc(-50% + 112px)) scale(0.7) translateY(34px) !important;
  }
}

/* Final visible button and mobile hero tuning */
body:not(.admin-body) .button--secondary,
body:not(.admin-body) .button--ghost,
body:not(.admin-body) .hero-actions .button--secondary,
body:not(.admin-body) .section-cta .button--secondary,
body:not(.admin-body) .album-social .button--secondary,
body:not(.admin-body) .rsvp-showcase .button--secondary {
  border: 1px solid rgba(214, 166, 78, 0.72) !important;
  background: linear-gradient(180deg, #9e4a2b, #6d2f1d) !important;
  color: #fff7ea !important;
  text-shadow: 0 1px 1px rgba(35, 14, 8, 0.32) !important;
  box-shadow: 0 14px 28px rgba(87, 39, 22, 0.18) !important;
}

body:not(.admin-body) .button--secondary:hover,
body:not(.admin-body) .button--ghost:hover,
body:not(.admin-body) .hero-actions .button--secondary:hover,
body:not(.admin-body) .section-cta .button--secondary:hover,
body:not(.admin-body) .album-social .button--secondary:hover,
body:not(.admin-body) .rsvp-showcase .button--secondary:hover {
  background: linear-gradient(180deg, #b8613d, #7a351f) !important;
  color: #fff !important;
}

body:not(.admin-body) .button--primary {
  color: #fff7ea !important;
  text-shadow: 0 1px 1px rgba(35, 14, 8, 0.32) !important;
}

@media (max-width: 720px) {
  body[data-page="home"] .hero-stats {
    margin-bottom: 20px !important;
  }

  body[data-page="home"] .hero-phone-stage {
    margin-top: 12px !important;
    height: 318px !important;
  }

  body[data-page="home"] .hero-phone {
    width: 146px !important;
    height: 292px !important;
  }

  body[data-page="home"] .hero-phone--1 {
    --phone-transform: translateX(calc(-50% - 122px)) scale(0.7) translateY(48px) !important;
  }

  body[data-page="home"] .hero-phone--2 {
    --phone-transform: translateX(calc(-50% - 66px)) scale(0.84) translateY(34px) !important;
  }

  body[data-page="home"] .hero-phone--3 {
    --phone-transform: translateX(-50%) scale(1) translateY(14px) !important;
  }

  body[data-page="home"] .hero-phone--4 {
    --phone-transform: translateX(calc(-50% + 66px)) scale(0.84) translateY(34px) !important;
  }

  body[data-page="home"] .hero-phone--5 {
    --phone-transform: translateX(calc(-50% + 122px)) scale(0.7) translateY(48px) !important;
  }
}

@media (max-width: 430px) {
  body[data-page="home"] .hero-phone-stage {
    height: 286px !important;
  }

  body[data-page="home"] .hero-phone {
    width: 130px !important;
    height: 260px !important;
  }

  body[data-page="home"] .hero-phone--1 {
    --phone-transform: translateX(calc(-50% - 106px)) scale(0.68) translateY(46px) !important;
  }

  body[data-page="home"] .hero-phone--2 {
    --phone-transform: translateX(calc(-50% - 56px)) scale(0.82) translateY(32px) !important;
  }

  body[data-page="home"] .hero-phone--3 {
    --phone-transform: translateX(-50%) scale(1) translateY(12px) !important;
  }

  body[data-page="home"] .hero-phone--4 {
    --phone-transform: translateX(calc(-50% + 56px)) scale(0.82) translateY(32px) !important;
  }

  body[data-page="home"] .hero-phone--5 {
    --phone-transform: translateX(calc(-50% + 106px)) scale(0.68) translateY(46px) !important;
  }
}

/* Admin bulk format descriptions */
.admin-format-description-form {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin: 8px 0 26px;
  padding: 22px;
  border: 1px solid rgba(214, 166, 78, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 8%, rgba(214, 166, 78, 0.16), transparent 28%),
    rgba(255, 248, 239, 0.76);
  box-shadow: 0 18px 44px rgba(71, 30, 16, 0.08);
}

.admin-format-description-form > div:first-child {
  grid-column: 1 / -1;
}

.admin-format-description-form h3 {
  margin: 4px 0 4px;
  font-family: "Cormorant Garamond", "Playfair Display", serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1;
}

.admin-format-description-form p {
  margin: 0;
  color: rgba(67, 35, 22, 0.72);
}

.admin-format-description-form label {
  display: grid;
  gap: 8px;
}

.admin-format-description-form textarea {
  min-height: 150px;
}

@media (max-width: 980px) {
  .admin-format-description-form {
    grid-template-columns: 1fr;
  }
}

/* Final theme image framing: show full banners instead of cutting artwork */
.theme-grid--full {
  gap: 24px;
}

.theme-card__banner,
.section--home-themes .theme-card__banner {
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: 16 / 8.4;
  background: transparent !important;
}

.theme-card__banner img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: fill !important;
  object-position: center !important;
  background: transparent !important;
  transform: none !important;
}

.theme-card__banner:hover img {
  transform: none !important;
}

.theme-card__overlay {
  pointer-events: none;
}

@media (min-width: 1180px) {
  .theme-grid--full {
    grid-template-columns: repeat(4, minmax(260px, 1fr));
  }
}

@media (max-width: 640px) {
  body[data-page="home"] .hero-stats,
  .hero-stats {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
  }

  body[data-page="home"] .hero-stats div,
  .hero-stats div {
    grid-column: auto !important;
    min-width: 0 !important;
    padding: 0 8px !important;
    border-left: 1px solid rgba(235, 204, 152, 0.14);
    border-right: 0 !important;
  }

  body[data-page="home"] .hero-stats div:first-child,
  .hero-stats div:first-child {
    border-left: 0;
  }

  body[data-page="home"] .hero-stats strong,
  .hero-stats strong {
    font-size: 1.42rem !important;
  }

  body[data-page="home"] .hero-stats span,
  .hero-stats span {
    font-size: 0.68rem !important;
    line-height: 1.18 !important;
  }

  .theme-card__banner,
  .section--home-themes .theme-card__banner {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 640px) {
  body[data-page="home"] .hero-section--dark .eyebrow {
    display: flex !important;
    align-items: center;
    max-width: 100%;
    white-space: nowrap !important;
    font-size: clamp(0.48rem, 1.95vw, 0.58rem) !important;
    letter-spacing: 0.14em !important;
  }

  body[data-page="home"] .hero-section--dark .eyebrow::before {
    flex: 0 0 40px;
    width: 40px !important;
  }
}

.admin-custom-models-form {
  display: grid;
  gap: 22px;
}

.admin-custom-models-group {
  padding: 22px;
  border: 1px solid rgba(214, 166, 78, 0.2);
  border-radius: 22px;
  background: rgba(255, 248, 239, 0.72);
  box-shadow: 0 18px 40px rgba(71, 30, 16, 0.07);
}

.admin-custom-models-group h3 {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", "Playfair Display", serif;
  font-size: clamp(1.35rem, 1.8vw, 1.9rem);
  line-height: 1;
}

.admin-custom-models-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-custom-models-grid label {
  display: grid;
  gap: 8px;
}

.admin-custom-models-grid label > span.admin-custom-models-title {
  color: var(--terracotta-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-custom-models-field {
  padding: 14px;
  border: 1px solid rgba(214, 166, 78, 0.22);
  border-radius: 16px;
  background: rgba(255, 250, 241, 0.62);
}

.admin-custom-models-field.is-muted {
  opacity: 0.68;
}

.admin-custom-models-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: #7a2b17 !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.admin-custom-models-toggle input {
  width: 16px;
  height: 16px;
  accent-color: var(--terracotta);
}

.admin-custom-format-settings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-custom-format-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(214, 166, 78, 0.24);
  border-radius: 18px;
  background: rgba(255, 250, 241, 0.64);
  box-shadow: 0 14px 30px rgba(71, 30, 16, 0.05);
}

.admin-custom-format-card h4 {
  margin: 0;
  font-family: "Cormorant Garamond", "Playfair Display", serif;
  font-size: 1.35rem;
  line-height: 1;
}

.admin-custom-format-card label {
  display: grid;
  gap: 6px;
}

.admin-custom-format-card label > span {
  color: var(--terracotta-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-custom-format-card textarea {
  min-height: 176px;
  resize: vertical;
}

.admin-other-customs-form {
  display: grid;
  gap: 22px;
}

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

.admin-other-custom-preview {
  overflow: hidden;
  border-radius: 14px;
  background: rgba(71, 30, 16, 0.12);
  width: min(100%, 220px);
  aspect-ratio: 9 / 13;
  justify-self: center;
}

.admin-other-custom-preview img,
.admin-other-custom-preview video,
.test-card__inline-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-other-custom-card {
  align-content: start;
}

.admin-other-custom-card textarea {
  min-height: 118px;
}

.model-preview__video,
.model-preview__image {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  border: 0;
  border-radius: 18px;
  background: #000;
  object-fit: contain;
}

.admin-body .admin-panel input:not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="file"]),
.admin-body .admin-panel textarea,
.admin-body .admin-panel select {
  width: 100%;
  min-height: 44px;
  padding: 11px 14px;
  border: 1px solid rgba(185, 119, 46, 0.34);
  border-radius: 12px;
  background: rgba(255, 250, 241, 0.88);
  color: #35170f;
  font: inherit;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.admin-body .admin-panel input:not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="file"]):focus,
.admin-body .admin-panel textarea:focus,
.admin-body .admin-panel select:focus {
  border-color: rgba(185, 119, 46, 0.78);
  background: #fffaf1;
  box-shadow: 0 0 0 4px rgba(214, 166, 78, 0.13);
}

.admin-body .admin-panel textarea {
  min-height: 136px;
  line-height: 1.48;
  resize: vertical;
}

.admin-body .admin-panel input[type="file"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px dashed rgba(185, 119, 46, 0.42);
  border-radius: 12px;
  background: rgba(255, 250, 241, 0.74);
  color: #65301f;
  font: inherit;
}

.admin-body .admin-panel input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 9px 14px;
  border: 1px solid rgba(185, 119, 46, 0.52);
  border-radius: 999px;
  background: linear-gradient(180deg, #dfb65e, #b9772e);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.admin-body .admin-panel input[type="checkbox"] {
  accent-color: var(--terracotta);
}

@media (max-width: 780px) {
  .admin-custom-models-grid {
    grid-template-columns: 1fr;
  }

  .admin-custom-format-settings,
  .admin-other-customs-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Página 404 ===== */
.notfound {
  display: flex;
  align-items: center;
  min-height: clamp(520px, 74vh, 760px);
  padding: 72px 0 96px;
}

.notfound__inner {
  position: relative;
  text-align: center;
}

.notfound__code {
  margin: 6px 0 4px;
  font-family: "Cormorant Garamond", "Playfair Display", serif;
  font-size: clamp(7rem, 22vw, 13rem);
  font-weight: 600;
  line-height: 0.82;
  letter-spacing: -0.04em;
  background: linear-gradient(150deg, var(--terracotta) 8%, #d8a066 52%, var(--terracotta-deep) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.92;
}

.notfound h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4.4vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.notfound__text {
  max-width: 440px;
  margin: 16px auto 0;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(70, 51, 42, 0.88);
}

.notfound__actions {
  justify-content: center;
  margin-top: 30px;
}

.notfound__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 14px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.86rem;
  color: var(--muted);
}

.notfound__links a {
  color: var(--terracotta-deep);
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.notfound__links a:hover {
  opacity: 0.68;
}

.notfound__links span {
  opacity: 0.42;
}

@media (max-width: 640px) {
  .notfound {
    min-height: auto;
    padding: 48px 0 72px;
  }

  .notfound__actions .button {
    width: 100%;
  }
}
