/* UI polish — logo, header, light mode, animations, layouts */

/* Wordmark logo (Stack Sans Notch) */
.brand-wordmark {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-wordmark__text {
  font-family: "Stack Sans Notch", system-ui, sans-serif;
  font-size: clamp(1.75rem, 3.8vw, 2.45rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.brand-wordmark:hover .brand-wordmark__text {
  opacity: 0.9;
}

html[data-theme="light"] .brand-wordmark__text {
  color: #1a1024;
}

.brand-logo-img {
  height: clamp(1.75rem, 4vw, 2.25rem);
  width: auto;
  display: block;
  object-fit: contain;
}

.brand-logo-img--mobile {
  display: none;
}

.brand.has-desktop-logo .brand-wordmark__text {
  display: none;
}

.brand:not(.has-desktop-logo):not(.has-mobile-logo) .brand-wordmark__text {
  display: inline;
}

/* Header layout: brand | menu | search | actions */
body.site-marketing .topbar,
body.luxe.site-marketing .topbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) clamp(9rem, 14vw, 12.5rem) auto;
  align-items: center;
  gap: clamp(0.35rem, 1vw, 0.75rem);
}

body.site-marketing .topbar .brand,
body.luxe.site-marketing .topbar .brand {
  grid-column: 1;
  grid-row: 1;
  flex-shrink: 0;
}

body.site-marketing .topbar .menu,
body.luxe.site-marketing .topbar .menu {
  grid-column: 2;
  grid-row: 1;
  justify-self: start;
  justify-content: flex-start;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(0.1rem, 0.65vw, 0.45rem);
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body.site-marketing .topbar .menu::-webkit-scrollbar,
body.luxe.site-marketing .topbar .menu::-webkit-scrollbar {
  display: none;
}

body.site-marketing .topbar .topbar-search,
body.luxe.site-marketing .topbar .topbar-search {
  grid-column: 3;
  grid-row: 1;
}

body.site-marketing .topbar .topbar-actions,
body.luxe.site-marketing .topbar .topbar-actions {
  grid-column: 4;
  grid-row: 1;
}

.topbar-search {
  position: relative;
  max-width: 100%;
  width: 100%;
  justify-self: end;
}

.topbar-search::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rose), var(--violet), var(--rose));
  background-size: 200% 100%;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
  animation: search-border-flow 4s linear infinite;
  animation-play-state: paused;
}

.topbar-search:focus-within::after {
  opacity: 0.55;
  animation-play-state: running;
}

@keyframes search-border-flow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.topbar-search input {
  width: 100%;
  padding: 0.55rem 2.25rem 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-family: inherit;
  font-size: var(--text-sm, 0.875rem);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s, transform 0.2s;
}

.topbar-search input::placeholder {
  color: var(--muted);
  transition: opacity 0.25s;
}

.topbar-search input:focus {
  outline: none;
  border-color: rgba(251, 113, 133, 0.5);
  box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.14), 0 10px 28px rgba(251, 113, 133, 0.18);
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.02);
}

.topbar-search input:focus::placeholder {
  opacity: 0.5;
}

.topbar-search__icon {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  pointer-events: none;
  opacity: 0.55;
  transition: transform 0.35s ease, opacity 0.25s;
}

.topbar-search:focus-within .topbar-search__icon {
  opacity: 1;
  transform: translateY(-50%) scale(1.12) rotate(-8deg);
  animation: search-icon-pulse 1.2s ease-in-out infinite;
}

@keyframes search-icon-pulse {
  0%, 100% { transform: translateY(-50%) scale(1.08) rotate(-6deg); }
  50% { transform: translateY(-50%) scale(1.18) rotate(-12deg); }
}

html[data-theme="light"] .topbar-search input {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(26, 16, 36, 0.14);
}

html[data-theme="light"] .topbar-search input:focus {
  background: #fff;
}

/* Menu — glass hover + click */
.menu a {
  position: relative;
  z-index: 1;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  font-size: clamp(0.7rem, 0.85vw, 0.84rem);
  padding: 0.35rem clamp(0.35rem, 0.7vw, 0.55rem);
}

.menu a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: -1;
}

.menu a:hover::before {
  opacity: 1;
  transform: scale(1);
}

.menu a:active::before {
  background: rgba(251, 113, 133, 0.25);
  transform: scale(0.96);
}

.menu a:active {
  transform: scale(0.98);
}

html[data-theme="light"] .menu a::before {
  background: rgba(251, 113, 133, 0.12);
}

html[data-theme="light"] .menu a:hover {
  color: var(--text);
}

/* Filter pills */
.filter-pill {
  position: relative;
  transition: transform 0.2s, border-color 0.25s, background 0.25s, color 0.25s, box-shadow 0.25s;
}

.filter-pill:hover {
  border-color: rgba(251, 113, 133, 0.45);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  box-shadow: 0 4px 16px rgba(251, 113, 133, 0.12);
}

.filter-pill:active {
  transform: scale(0.96);
}

html[data-theme="light"] .filter-pill {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(26, 16, 36, 0.15);
}

html[data-theme="light"] .filter-pill:hover,
html[data-theme="light"] .filter-pill.is-active {
  color: var(--text);
  background: rgba(251, 113, 133, 0.12);
  border-color: rgba(251, 113, 133, 0.45);
}

/* Breadcrumbs */
.breadcrumb,
.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--rose);
}

.breadcrumb [aria-current="page"] {
  color: var(--gold);
}

html[data-theme="light"] .breadcrumb,
html[data-theme="light"] .breadcrumb a {
  color: var(--muted);
}

html[data-theme="light"] .breadcrumb a:hover {
  color: #c2415c;
}

html[data-theme="light"] .breadcrumb [aria-current="page"] {
  color: #b45309;
}

/* Section headings — always readable */
.section-head h2,
#flow .section-head h2 {
  color: var(--text);
}

html[data-theme="light"] .section-head h2,
html[data-theme="light"] #flow .section-head h2 {
  color: var(--text);
}

/* Flow / timeline steps */
.step {
  color: var(--text);
}

.step h3 {
  color: var(--text);
}

.step p {
  color: var(--muted);
}

html[data-theme="light"] .step {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
  border: 1px solid rgba(26, 16, 36, 0.1);
}

/* Collection cards — float + shine */
.category-grid .cat-card {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.35s;
}

.category-grid .cat-card::after {
  content: "";
  position: absolute;
  inset: -100% -50%;
  background: conic-gradient(from 0deg, transparent, rgba(251, 191, 36, 0.15), transparent, rgba(251, 113, 133, 0.12), transparent);
  animation: cat-shine 10s linear infinite;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

.category-grid .cat-card:hover::after {
  opacity: 1;
}

.category-grid .cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(8, 2, 16, 0.38);
  border-color: rgba(232, 184, 138, 0.35);
}

.category-grid .cat-card:nth-child(1) { animation: cat-float 6s ease-in-out infinite; }
.category-grid .cat-card:nth-child(2) { animation: cat-float 6s ease-in-out 0.4s infinite; }
.category-grid .cat-card:nth-child(3) { animation: cat-float 6s ease-in-out 0.8s infinite; }
.category-grid .cat-card:nth-child(4) { animation: cat-float 6s ease-in-out 1.2s infinite; }
.category-grid .cat-card:nth-child(5) { animation: cat-float 6s ease-in-out 1.6s infinite; }
.category-grid .cat-card:nth-child(6) { animation: cat-float 6s ease-in-out 2s infinite; }

.category-grid .cat-card:hover {
  animation: none;
}

@keyframes cat-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@keyframes cat-shine {
  to { transform: rotate(360deg); }
}

html[data-theme="light"] .cat-card h3 {
  color: var(--text);
}

html[data-theme="light"] .cat-card p {
  color: var(--muted);
}

html[data-theme="light"] .cat-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.75));
  border: 1px solid rgba(26, 16, 36, 0.1);
}

/* Testimonials / client love */
.testimonial blockquote {
  color: var(--text);
}

.testimonial cite {
  color: var(--muted);
}

html[data-theme="light"] .testimonial,
html[data-theme="light"] #reviews .glass-card {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.88));
  border: 1px solid rgba(26, 16, 36, 0.12);
  box-shadow: var(--shadow);
}

html[data-theme="light"] .testimonial blockquote {
  color: var(--text);
}

html[data-theme="light"] .testimonial cite {
  color: #b45309;
}

/* Footer */
.footer {
  color: var(--muted);
}

.footer strong,
.footer p {
  color: var(--muted);
}

.footer-links a {
  color: var(--muted);
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.footer-links a:hover {
  color: var(--rose);
  background: rgba(251, 113, 133, 0.1);
}

html[data-theme="light"] .footer {
  border-top-color: rgba(26, 16, 36, 0.12);
}

html[data-theme="light"] .footer-links a {
  color: var(--muted);
}

html[data-theme="light"] .footer-links a:hover {
  color: #c2415c;
  background: rgba(251, 113, 133, 0.1);
}

html[data-theme="light"] .footer strong {
  color: var(--text);
  background: none;
  -webkit-text-fill-color: var(--text);
}

/* Bespoke split */
.bespoke-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gap, 1.25rem);
  align-items: stretch;
  border-radius: var(--radius-lg, 22px);
  overflow: hidden;
  border: 1px solid rgba(167, 139, 250, 0.35);
}

.bespoke-split__visual {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  background:
    radial-gradient(circle at 20% 30%, rgba(251, 113, 133, 0.25), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(167, 139, 250, 0.2), transparent 45%),
    linear-gradient(165deg, rgba(31, 16, 40, 0.95), rgba(12, 6, 18, 0.9));
  position: relative;
  overflow: hidden;
}

.bespoke-split__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.06) 45%, transparent 60%);
  animation: bespoke-shimmer 6s ease-in-out infinite;
}

@keyframes bespoke-shimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.bespoke-split__visual h2 {
  position: relative;
  font-size: var(--text-h2);
  color: var(--text);
  margin: 0;
}

.bespoke-split__visual .subtext {
  position: relative;
  color: rgba(233, 213, 255, 0.85);
}

.bespoke-stat-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  position: relative;
}

.bespoke-stat-row strong {
  display: block;
  font-size: 1.5rem;
  color: var(--gold);
}

.bespoke-split__form {
  margin: 0;
  border: none;
  border-radius: 0;
  border-left: 1px solid var(--line);
}

html[data-theme="light"] .bespoke-split {
  border-color: rgba(26, 16, 36, 0.12);
  background: #fff;
}

html[data-theme="light"] .bespoke-split__visual {
  background:
    radial-gradient(circle at 30% 20%, rgba(251, 113, 133, 0.15), transparent 45%),
    linear-gradient(165deg, #f3eef8, #ebe4f2);
}

html[data-theme="light"] .bespoke-split__visual .subtext {
  color: var(--muted);
}

html[data-theme="light"] .bespoke-split__form {
  background: #fff;
  border-left-color: rgba(26, 16, 36, 0.1);
}

html[data-theme="light"] .bespoke-split__form label {
  color: var(--muted);
}

html[data-theme="light"] .bespoke-split__form input,
html[data-theme="light"] .bespoke-split__form select,
html[data-theme="light"] .bespoke-split__form textarea {
  background: #fff;
  border-color: rgba(26, 16, 36, 0.18);
  color: var(--text);
}

/* Contact luxury hero */
.contact-hero-band {
  margin-bottom: 1.5rem;
}

.contact-hero-band__inner {
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 3.5vw, 2.5rem);
  border-radius: var(--radius-lg, 22px);
  border: 1px solid rgba(201, 162, 126, 0.26);
  background: linear-gradient(128deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02) 50%, rgba(190, 74, 111, 0.07));
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.contact-hero-band__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(201, 162, 126, 0.14), transparent 55%);
  pointer-events: none;
}

.contact-hero-band__copy {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}

.contact-hero-band__copy .eyebrow {
  color: var(--rose, #c9a27e);
  letter-spacing: 0.16em;
}

.contact-hero-band__copy .page-title {
  margin: 0.35rem 0 0;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
}

.contact-hero-band__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

.contact-hero-band__chips span {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 162, 126, 0.3);
  font-size: 0.75rem;
  color: var(--muted);
}

html[data-theme="light"] .contact-hero-band__inner {
  background: linear-gradient(128deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.88));
  border-color: rgba(26, 16, 36, 0.1);
  box-shadow: 0 20px 48px rgba(26, 16, 36, 0.08);
}

/* Contact split */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gap, 1.25rem);
  align-items: stretch;
}

.contact-split__form {
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-split__form form {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-split__form form .btn-primary {
  margin-top: auto;
}

html[data-theme="light"] .contact-split__form input,
html[data-theme="light"] .contact-split__form select,
html[data-theme="light"] .contact-split__form textarea {
  background: #fff;
  border-color: rgba(26, 16, 36, 0.18);
  color: var(--text);
}

html[data-theme="light"] .contact-split__form label {
  color: var(--text);
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
}

.contact-channels .channel-card {
  flex: 1;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.channel-card:hover {
  transform: translateX(4px);
  border-color: rgba(251, 113, 133, 0.45);
  box-shadow: 0 12px 32px rgba(251, 113, 133, 0.15);
  background: rgba(255, 255, 255, 0.1);
}

.channel-card:active {
  transform: scale(0.98);
}

.channel-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.35s ease;
}

.channel-card:hover .channel-card__icon,
.channel-card:focus-visible .channel-card__icon {
  animation: channel-icon-pop 0.55s ease;
}

.channel-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.35s ease;
}

.channel-card:hover .channel-card__icon svg {
  animation: channel-icon-wiggle 0.7s ease;
}

@keyframes channel-icon-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

@keyframes channel-icon-wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-6deg); }
  75% { transform: rotate(6deg); }
}

.channel-card--email .channel-card__icon { background: rgba(251, 113, 133, 0.2); color: var(--rose); }
.channel-card--whatsapp .channel-card__icon { background: rgba(52, 211, 153, 0.2); color: var(--emerald); }
.channel-card--facebook .channel-card__icon { background: rgba(96, 165, 250, 0.2); color: var(--blue); }
.channel-card--phone .channel-card__icon { background: rgba(251, 191, 36, 0.2); color: var(--gold); }

.channel-card__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  display: block;
}

.channel-card__value {
  font-weight: 600;
  font-size: 1rem;
}

html[data-theme="light"] .channel-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(26, 16, 36, 0.12);
  color: var(--text);
}

/* Shop slim banner */
.shop-banner-slim {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--grid-gap);
  align-items: center;
  padding: var(--space-md, 1.25rem) var(--space-lg, 1.5rem);
  margin-top: var(--space-md);
  border-radius: var(--radius-lg, 20px);
  border: 1px solid rgba(167, 139, 250, 0.3);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  max-height: min(33.6vh, 264px);
  overflow: hidden;
}

.shop-banner-slim h1 {
  font-size: var(--text-h2);
  margin: 0.25rem 0 0;
}

.shop-banner-slim .subtext {
  margin-top: 0.5rem;
  font-size: var(--text-sm);
}

.shop-banner-slim .media-slot {
  max-height: 192px;
  min-height: 0;
  aspect-ratio: 21 / 7;
}

html[data-theme="light"] .shop-banner-slim {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
  border-color: rgba(26, 16, 36, 0.1);
}

/* Icons */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.65rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
}

.icon-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.theme-toggle .theme-icon {
  display: none;
  align-items: center;
  justify-content: center;
}

.theme-toggle .theme-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

html:not([data-theme="light"]) .theme-toggle .theme-icon--moon {
  display: inline-flex;
}

html[data-theme="light"] .theme-toggle .theme-icon--sun {
  display: inline-flex;
}

.cart-btn {
  position: relative;
}

.cart-btn .cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
}

/* Section alignment */
.section-head--align {
  text-align: left;
  width: 100%;
  max-width: 100%;
  margin-bottom: var(--space-lg);
}

.section-head--align .subtext {
  max-width: min(52rem, 100%);
  margin-left: 0;
  margin-right: 0;
}

.section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md);
  text-align: left;
  width: 100%;
  max-width: 100%;
}

.section-head--row .subtext {
  max-width: 36rem;
  margin-left: 0;
}

.section-head__cta {
  flex-shrink: 0;
  white-space: nowrap;
}

.section-panel {
  padding: var(--space-lg, 1.5rem);
  border-radius: var(--radius-lg, 20px);
}

.section-panel .gallery-cascade {
  margin-top: var(--space-md);
}

.section-panel .product-grid {
  margin-top: var(--space-md);
}

/* Product cards — buttons inside card, no overflow */
.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}

.product-card__media-link {
  display: block;
  color: inherit;
  text-decoration: none;
  flex-shrink: 0;
}

.product-card__img {
  display: block;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.35rem;
  padding: 0.9rem 1rem 1rem;
  box-sizing: border-box;
  min-width: 0;
}

.product-card__body h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
}

.product-card__body .text-muted {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 !important;
  font-size: 0.82rem !important;
  flex: 1 1 auto;
  min-height: 2.55em;
}

.product-card__body .product-price {
  margin: 0;
  padding: 0.65rem 0 0.2rem;
  width: 100%;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  border-top: 1px solid var(--line);
  box-sizing: border-box;
}

.product-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0;
  padding-top: 0.65rem;
  width: 100%;
  box-sizing: border-box;
  align-items: stretch;
}

.product-card__actions .btn,
.product-card__actions a.btn {
  width: 100%;
  margin: 0 !important;
  padding: 0.62rem 0.5rem !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  white-space: nowrap;
  box-sizing: border-box;
  min-height: 2.65rem;
  height: 2.65rem;
  max-height: 2.65rem;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

@media (max-width: 420px) {
  .product-card__actions {
    grid-template-columns: 1fr 1fr;
  }

  .product-card__actions .btn {
    font-size: 0.72rem !important;
    padding: 0.55rem 0.35rem !important;
  }
}

/* Checkout */
.checkout-intro {
  margin-bottom: var(--space-xl, 2rem);
}

.contact-split__form .consent-label,
.custom-panel .consent-label {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--text);
  cursor: pointer;
}

.consent-label a {
  color: var(--rose);
}

html[data-theme="light"] .consent-label {
  color: var(--text);
}

html[data-theme="light"] .checkout-panel input,
html[data-theme="light"] .checkout-panel select,
html[data-theme="light"] .checkout-panel textarea {
  background: #fff;
  border-color: rgba(26, 16, 36, 0.18);
  color: var(--text);
}

html[data-theme="light"] .checkout-panel label {
  color: var(--text);
}

.page-title {
  font-size: var(--text-h1);
  margin: 0.25rem 0 0;
}

/* Gallery cascade — 5 boxes stepping top→bottom, left→right */
.gallery-cascade {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.5vw, 1rem);
  width: 100%;
  align-items: start;
}

.gallery-cascade__item {
  border-radius: var(--radius-md, 14px);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-cascade__item:nth-child(1) { margin-top: 0; }
.gallery-cascade__item:nth-child(2) { margin-top: clamp(1.5rem, 4vw, 2.75rem); }
.gallery-cascade__item:nth-child(3) { margin-top: clamp(3rem, 8vw, 5.5rem); }
.gallery-cascade__item:nth-child(4) { margin-top: clamp(4.5rem, 12vw, 8.25rem); }
.gallery-cascade__item:nth-child(5) { margin-top: clamp(6rem, 16vw, 11rem); }

.gallery-cascade__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(251, 113, 133, 0.2);
}

.gallery-cascade__item .media-slot {
  aspect-ratio: 4 / 5;
  min-height: clamp(8rem, 18vw, 14rem);
  border: none;
}

.gallery-cascade__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-cascade__caption {
  display: block;
  font-size: 0.72rem;
  padding: 0.5rem 0.35rem 0;
  color: var(--muted);
  text-align: center;
}

/* Track page — dark glass hero */
.track-hero {
  position: relative;
  isolation: isolate;
  margin-top: var(--space-md);
  overflow: hidden;
}

.track-hero__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.track-hero__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(148, 163, 184, 0.18) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 30%, transparent 85%);
}

.track-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.5;
  animation: track-hero-drift 14s ease-in-out infinite;
}

.track-hero__blob--gold {
  width: clamp(14rem, 32vw, 24rem);
  height: clamp(14rem, 32vw, 24rem);
  left: -4%;
  top: 22%;
  background: rgba(201, 162, 126, 0.42);
}

.track-hero__blob--violet {
  width: clamp(16rem, 36vw, 28rem);
  height: clamp(16rem, 36vw, 28rem);
  right: 6%;
  top: 10%;
  background: rgba(167, 139, 250, 0.38);
  animation-delay: -7s;
}

@keyframes track-hero-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -10px) scale(1.06); }
}

.track-hero__inner {
  position: relative;
  z-index: 1;
  padding: clamp(1.15rem, 2.5vw, 1.65rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(160deg, rgba(14, 10, 22, 0.94) 0%, rgba(8, 6, 14, 0.9) 48%, rgba(12, 8, 20, 0.92) 100%);
  backdrop-filter: blur(28px) saturate(1.35);
  -webkit-backdrop-filter: blur(28px) saturate(1.35);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  animation: track-hero-glow 8s ease-in-out infinite;
}

.track-hero__inner::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius-lg) - 1px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.track-hero__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 20%, transparent 80%, rgba(0, 0, 0, 0.1) 100%);
  pointer-events: none;
}

@keyframes track-hero-glow {
  0%, 100% { box-shadow: 0 28px 70px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.14); }
  50% { box-shadow: 0 32px 78px rgba(201, 162, 126, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
}

.track-page {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1rem, 2vw, 1.25rem);
  align-items: stretch;
}

.track-glass-panel {
  padding: clamp(1.15rem, 2.5vw, 1.5rem);
  border-radius: calc(var(--radius-lg) - 4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  height: auto;
  min-height: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

.track-page__info,
.track-page__main {
  height: auto;
  min-height: 0;
  align-self: stretch;
}

.track-page__title {
  margin: 0.35rem 0 0.75rem;
  font-size: var(--text-h3);
}

.track-page__lead {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.track-info-list {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.track-info-list li {
  margin-bottom: 0.3rem;
}

.track-info-list a {
  color: var(--rose);
}

.track-page .track-lookup {
  max-width: none;
  margin: 0;
  gap: 0.65rem;
}

.track-lookup__submit {
  margin-top: 0.35rem;
}

.track-result:not([hidden]) {
  margin-top: 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

html[data-theme="light"] .track-hero__inner {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(248, 244, 252, 0.88));
  border-color: rgba(26, 16, 36, 0.12);
  box-shadow: 0 24px 56px rgba(26, 16, 36, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .track-glass-panel {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.45));
  border-color: rgba(26, 16, 36, 0.1);
}

html[data-theme="light"] .track-page__main input,
html[data-theme="light"] .track-page .track-lookup input {
  background: #fff;
  border-color: rgba(26, 16, 36, 0.18);
  color: var(--text);
}

html[data-theme="light"] .track-page__main label {
  color: var(--text);
}

.track-card {
  margin-top: 0;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.track-card__status {
  margin: 0.25rem 0 0;
  font-size: var(--text-h3);
}

.track-cancelled-note {
  margin: 0.5rem 0 0;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.1);
  color: var(--text);
  font-size: 0.9rem;
}

.track-pending-note {
  margin-top: 0.35rem !important;
  color: var(--rose, #fb7185) !important;
}

.track-history {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
  font-size: 0.84rem;
}

.track-history time {
  color: var(--muted);
  white-space: nowrap;
}

html[data-theme="light"] .track-card {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(26, 16, 36, 0.1);
}

.track-timeline {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.track-timeline__step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.track-timeline__step.is-done {
  color: var(--text);
}

.track-timeline__step.is-current {
  font-weight: 600;
  color: var(--rose);
}

.track-timeline__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
  flex-shrink: 0;
}

.track-timeline__step.is-done .track-timeline__dot {
  background: var(--emerald);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.25);
}

.track-timeline__step.is-current .track-timeline__dot {
  background: var(--rose);
  box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.3);
  animation: track-pulse 1.5s ease infinite;
}

@keyframes track-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.25); }
  50% { box-shadow: 0 0 0 8px rgba(251, 113, 133, 0.12); }
}

.track-error {
  color: var(--rose);
}

@media (max-width: 1100px) {
  body.site-marketing .topbar,
  body.luxe.site-marketing .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 0.45rem 0.55rem;
    align-items: center;
  }

  body.site-marketing .topbar .brand,
  body.luxe.site-marketing .topbar .brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    max-width: 100%;
  }

  body.site-marketing .topbar .topbar-actions,
  body.luxe.site-marketing .topbar .topbar-actions {
    grid-column: 2;
    grid-row: 1;
    flex-wrap: nowrap;
    gap: 0.35rem;
    justify-content: flex-end;
  }

  body.site-marketing .topbar .menu,
  body.luxe.site-marketing .topbar .menu {
    display: none;
  }

  body.site-marketing .topbar .topbar-search,
  body.luxe.site-marketing .topbar .topbar-search {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: 100%;
    justify-self: stretch;
    margin-top: 0;
  }

  body.site-marketing .topbar .theme-toggle,
  body.luxe.site-marketing .topbar .theme-toggle {
    display: none;
  }

  body.site-marketing .topbar-actions > .btn-primary,
  body.luxe.site-marketing .topbar-actions > .btn-primary {
    display: none;
  }

  .brand-wordmark__text {
    font-size: clamp(1rem, 4.2vw, 1.35rem);
    letter-spacing: 0.06em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: min(42vw, 9.5rem);
  }

  .brand.has-mobile-logo .brand-logo-img--desktop {
    display: none;
  }

  .brand.has-mobile-logo .brand-logo-img--mobile {
    display: block;
    height: clamp(1.65rem, 7vw, 2rem);
    max-width: min(38vw, 8.5rem);
  }

  .brand.has-mobile-logo .brand-wordmark__text {
    display: none;
  }

  .dulcebonito-topbar-account {
    gap: 0.2rem;
  }

  .dulcebonito-topbar-account__hi {
    display: none;
  }

  .dulcebonito-topbar-account .btn-sm {
    padding: 0.5rem 0.55rem;
    font-size: 0.72rem;
    min-height: 2.35rem;
  }

  .topbar-actions .icon-btn,
  .topbar-actions .cart-btn {
    min-width: 2.35rem;
    min-height: 2.35rem;
    padding: 0.45rem;
  }

  .menu-toggle {
    min-height: 2.35rem;
    padding: 0.45rem 0.7rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 900px) {
  .gallery-cascade {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-cascade__item:nth-child(n) {
    margin-top: 0;
  }

  .gallery-cascade__item:nth-child(odd) {
    margin-top: 1.25rem;
  }

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

  .track-page {
    grid-template-columns: 1fr;
  }

  .bespoke-split,
  .contact-split {
    grid-template-columns: 1fr;
  }

  .bespoke-split__form {
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .shop-banner-slim {
    grid-template-columns: 1fr;
    max-height: none;
  }

  .shop-banner-slim .media-slot {
    max-height: 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .category-grid .cat-card {
    animation: none;
  }

  .category-grid .cat-card::after,
  .bespoke-split__visual::before {
    animation: none;
  }

  .topbar-search::after,
  .topbar-search:focus-within .topbar-search__icon {
    animation: none;
  }

  .channel-card:hover .channel-card__icon,
  .channel-card:hover .channel-card__icon svg {
    animation: none;
  }
}
