/* Fixed structural slots; presets change presentation, never DOM placement. */
body {
  --font-family-heading: var(--theme-heading-family, var(--theme-font-family));
}

.storefront-skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  padding: 0.85rem 1rem;
  background: var(--theme-primary);
  color: #ffffff;
  border-radius: var(--radius-xs);
  font-weight: 600;
}

.storefront-skip-link:focus {
  top: 1rem;
}

/* ==========================================================================
   Default Fallback Hero (Shared Structure)
   ========================================================================== */
.storefront-default-hero {
  overflow: hidden;
  background: var(--theme-surface-bg);
}

.storefront-default-hero > .container {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: clamp(2rem, 4.5vw, 4rem);
  min-height: 540px;
  padding-block: clamp(3rem, 6vw, 4.75rem);
}

.storefront-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.storefront-hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--theme-accent, var(--theme-text-primary));
  margin-bottom: 1.25rem;
}

.storefront-hero-copy h1 {
  font-family: var(--font-family-heading);
  font-size: clamp(2.4rem, 5vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin: 0 0 1.25rem;
  color: var(--theme-text-primary);
}

.storefront-hero-copy p {
  font-size: 1.06rem;
  line-height: 1.7;
  max-width: 490px;
  margin-bottom: 2rem;
  color: var(--color-text-secondary, var(--theme-text-primary));
  overflow-wrap: anywhere;
}

.storefront-hero-cta {
  display: inline-flex;
  gap: 1.5rem;
  align-items: center;
  min-height: 48px;
  padding: 0.9rem 1.75rem;
  color: #ffffff;
  background: var(--theme-primary);
  border: 1.5px solid var(--theme-primary);
  border-radius: var(--radius-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.storefront-hero-cta:hover {
  color: #ffffff;
  background: var(--theme-accent, var(--theme-primary));
  border-color: var(--theme-accent, var(--theme-primary));
  text-decoration: none;
  box-shadow: var(--shadow-md);
}

.hero-image-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #fde68a;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.hero-image-cta {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  background: #ffffff;
  color: #0f172a;
  padding: 0.85rem 2.25rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.storefront-hero-art {
  position: relative;
  min-height: 370px;
  isolation: isolate;
}

.storefront-hero-art span {
  display: block;
  position: absolute;
}

/* Keep .storefront-hero-bottle-label in DOM for shared contract, but render purely
   as clean geometric artwork without clipped dark text on non-Beauty presets. */
[data-storefront-style]:not([data-storefront-style="beauty"]) .storefront-hero-art .storefront-hero-bottle-label {
  color: transparent;
  font-size: 0;
  line-height: 0;
  user-select: none;
  overflow: hidden;
}

/* ==========================================================================
   Theme 1: Footwear (Athletic Editorial — Outfit + DM Sans)
   ========================================================================== */
body[data-storefront-style="footwear"] {
  --theme-font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --theme-heading-family: 'Outfit', 'DM Sans', sans-serif;
  --font-family-primary: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-family-heading: 'Outfit', 'DM Sans', sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  font-family: var(--font-family-primary);
}

[data-storefront-style="footwear"] .brand-logo-text {
  font-family: var(--font-family-heading);
  letter-spacing: -0.04em;
  font-weight: 800;
  text-transform: uppercase;
}

[data-storefront-style="footwear"] .site-header {
  border-bottom: 2px solid var(--theme-primary);
}

[data-storefront-style="footwear"] .storefront-default-hero {
  background: linear-gradient(135deg, var(--theme-surface-bg) 0%, var(--color-bg-secondary) 100%);
  border-bottom: 1px solid var(--color-border);
}

[data-storefront-style="footwear"] .storefront-hero-copy h1 {
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: -0.03em;
}

[data-storefront-style="footwear"] .storefront-hero-art span:nth-child(1) {
  inset: 8% 6%;
  border-radius: 28px;
  background: linear-gradient(145deg, var(--theme-primary), var(--theme-accent));
  opacity: 0.1;
  transform: rotate(-4deg);
}

[data-storefront-style="footwear"] .storefront-hero-art span:nth-child(2) {
  width: 78%;
  height: 36%;
  left: 11%;
  top: 32%;
  border-radius: 18px 42px 18px 28px;
  background: linear-gradient(125deg, var(--theme-primary) 0%, color-mix(in srgb, var(--theme-primary) 78%, var(--theme-accent)) 100%);
  transform: rotate(-14deg);
  box-shadow: 0 22px 36px -14px rgba(15, 23, 42, 0.28), 0 22px 0 -8px var(--theme-surface-bg), 0 30px 0 -8px var(--theme-accent);
}

[data-storefront-style="footwear"] .storefront-hero-art span:nth-child(3) {
  width: 34%;
  height: 6px;
  right: 6%;
  bottom: 14%;
  border-radius: 999px;
  background: var(--theme-accent);
  transform: rotate(-14deg);
}

[data-storefront-style="footwear"] .product-card {
  border-radius: var(--radius-md);
  border-color: var(--color-border);
  box-shadow: var(--shadow-xs);
}

[data-storefront-style="footwear"] .btn-primary {
  border-radius: var(--radius-sm);
  font-family: var(--font-family-heading);
  letter-spacing: 0.07em;
}

/* ==========================================================================
   Theme 2: Fashion (Editorial Atelier — Cormorant Garamond + DM Sans)
   ========================================================================== */
body[data-storefront-style="fashion"] {
  --theme-font-family: 'DM Sans', 'Segoe UI', Arial, sans-serif;
  --theme-heading-family: 'Cormorant Garamond', Georgia, serif;
  --font-family-primary: 'DM Sans', 'Segoe UI', Arial, sans-serif;
  --font-family-heading: 'Cormorant Garamond', Georgia, serif;
  --radius-sm: 2px;
  --radius-md: 4px;
  font-family: var(--font-family-primary);
}

[data-storefront-style="fashion"] .brand-logo-text {
  font-family: var(--font-family-heading);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

[data-storefront-style="fashion"] .site-header {
  border-bottom: 1px solid var(--color-border);
}

[data-storefront-style="fashion"] .nav-item > a.nav-link {
  font-family: var(--font-family-primary);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

[data-storefront-style="fashion"] .storefront-default-hero {
  background: linear-gradient(120deg, var(--theme-surface-bg) 0%, color-mix(in srgb, var(--theme-accent) 7%, var(--theme-surface-bg)) 100%);
  border-bottom: 1px solid var(--color-border);
}

[data-storefront-style="fashion"] .storefront-hero-eyebrow {
  font-family: var(--font-family-primary);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
}

[data-storefront-style="fashion"] .storefront-hero-copy h1 {
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-size: clamp(2.8rem, 5.5vw, 5.1rem);
}

[data-storefront-style="fashion"] .storefront-hero-cta {
  border-radius: 0;
  font-family: var(--font-family-primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1rem 2rem;
}

[data-storefront-style="fashion"] .storefront-hero-art span:nth-child(1) {
  inset: 4% 12% 0;
  border-radius: 180px 180px 0 0;
  background: color-mix(in srgb, var(--theme-accent) 18%, var(--theme-surface-bg));
  border: 1px solid color-mix(in srgb, var(--theme-accent) 32%, var(--theme-surface-bg));
  opacity: 1;
}

[data-storefront-style="fashion"] .storefront-hero-art span:nth-child(2) {
  width: 50%;
  height: 70%;
  top: 16%;
  left: 25%;
  transform: none;
  border-radius: 110px 110px 4px 4px;
  background: linear-gradient(180deg, var(--theme-primary) 0%, color-mix(in srgb, var(--theme-primary) 75%, var(--theme-accent)) 100%);
  box-shadow: 16px 16px 0 -2px color-mix(in srgb, var(--theme-accent) 28%, var(--theme-surface-bg));
  clip-path: none;
}

[data-storefront-style="fashion"] .storefront-hero-art span:nth-child(3) {
  bottom: 0;
  left: 12%;
  width: 76%;
  height: 2px;
  background: var(--theme-accent);
  transform: none;
}

[data-storefront-style="fashion"] :is(.hero-single, .hero-carousel) :is(h1, h2) {
  font-weight: 500 !important;
  letter-spacing: -0.02em;
}

[data-storefront-style="fashion"] .product-card {
  border-radius: 2px;
  border-color: var(--color-border);
  box-shadow: none;
}

[data-storefront-style="fashion"] .product-card-media-wrapper {
  border-radius: 1px 1px 0 0;
}

[data-storefront-style="fashion"] .product-card-variant-pill,
[data-storefront-style="fashion"] .product-card-atc-btn {
  border-radius: 2px;
}

[data-storefront-style="fashion"] .product-card-atc-btn {
  letter-spacing: 0.12em;
}

[data-storefront-style="fashion"] .pdp-buybox,
[data-storefront-style="fashion"] .size-pill-btn,
[data-storefront-style="fashion"] .pdp-swatch-btn,
[data-storefront-style="fashion"] .pdp-quantity-stepper,
[data-storefront-style="fashion"] .pdp-inventory-badge,
[data-storefront-style="fashion"] .btn-add-to-cart,
[data-storefront-style="fashion"] .btn-buy-now,
[data-storefront-style="fashion"] .btn-wishlist,
[data-storefront-style="fashion"] .cart-qty-stepper,
[data-storefront-style="fashion"] .drawer-qty-stepper {
  border-radius: 3px;
}

[data-storefront-style="fashion"] .product-card-price-row .price-current,
[data-storefront-style="fashion"] .btn,
[data-storefront-style="fashion"] input,
[data-storefront-style="fashion"] select,
[data-storefront-style="fashion"] textarea {
  font-family: var(--font-family-primary);
}

/* ==========================================================================
   Theme 3: Beauty (Base Hook — Extended by beauty-atelier.css)
   ========================================================================== */
[data-storefront-style="beauty"] {
  --radius-sm: 16px;
}

[data-storefront-style="beauty"] .brand-logo-text {
  font-family: var(--font-family-heading);
  font-style: italic;
  font-weight: 500;
}

[data-storefront-style="beauty"] .storefront-default-hero {
  border-bottom: 1px solid var(--color-border);
}

[data-storefront-style="beauty"] .storefront-hero-copy h1 {
  font-weight: 400;
  letter-spacing: -0.035em;
}

[data-storefront-style="beauty"] .storefront-hero-cta {
  border-radius: 999px;
}

[data-storefront-style="beauty"] .storefront-hero-art span:nth-child(1) {
  inset: 0;
  opacity: 0.08;
  border-radius: 50% 50% 15% 50%;
}

[data-storefront-style="beauty"] .storefront-hero-art span:nth-child(2) {
  width: 43%;
  height: 64%;
  top: 26%;
  left: 28%;
  transform: none;
  border-radius: 16px 16px 35px 35px;
  background: linear-gradient(135deg, var(--theme-surface-bg), #CFAABD);
  border: 2px solid var(--theme-primary);
  box-shadow: 20px 20px 0 -6px #E3CFDB;
}

[data-storefront-style="beauty"] .storefront-hero-art span:nth-child(3) {
  width: 25%;
  height: 22%;
  top: 6%;
  left: 37%;
  transform: none;
  border-radius: 8px 8px 0 0;
  background: var(--theme-primary);
}

[data-storefront-style="beauty"] :is(.hero-single, .hero-carousel) :is(h1, h2) {
  font-weight: 400 !important;
  font-style: italic;
}

[data-storefront-style="beauty"] .hero-single .btn-hero {
  border-radius: 999px !important;
}

/* ==========================================================================
   Theme 4: General (Modern Warm Retail — Roboto + DM Sans)
   ========================================================================== */
body[data-storefront-style="general"] {
  --theme-font-family: 'DM Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --theme-heading-family: 'Roboto', 'DM Sans', sans-serif;
  --font-family-primary: 'DM Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-family-heading: 'Roboto', 'DM Sans', sans-serif;
  --radius-sm: 10px;
  --radius-md: 14px;
  font-family: var(--font-family-primary);
}

[data-storefront-style="general"] .brand-logo-text {
  font-weight: 800;
  letter-spacing: -0.02em;
}

[data-storefront-style="general"] .storefront-default-hero {
  background: linear-gradient(135deg, var(--theme-surface-bg) 0%, color-mix(in srgb, var(--theme-primary) 6%, var(--theme-surface-bg)) 100%);
  border-bottom: 1px solid var(--color-border);
}

[data-storefront-style="general"] .storefront-hero-copy h1 {
  font-size: clamp(2.4rem, 4.4vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

[data-storefront-style="general"] .storefront-hero-cta {
  border-radius: 10px;
}

[data-storefront-style="general"] .storefront-hero-art span:nth-child(1) {
  inset: 8%;
  border-radius: 28px;
  background: var(--theme-primary);
  opacity: 0.08;
}

[data-storefront-style="general"] .storefront-hero-art span:nth-child(2) {
  width: 54%;
  height: 58%;
  left: 10%;
  top: 20%;
  transform: rotate(-7deg);
  border-radius: 20px;
  background: linear-gradient(145deg, var(--theme-primary), color-mix(in srgb, var(--theme-primary) 80%, #ffffff));
  box-shadow: 0 20px 34px -16px rgba(15, 23, 42, 0.25);
}

[data-storefront-style="general"] .storefront-hero-art span:nth-child(3) {
  width: 42%;
  height: 44%;
  right: 6%;
  bottom: 8%;
  transform: rotate(7deg);
  border-radius: 18px;
  background: linear-gradient(145deg, var(--theme-accent), color-mix(in srgb, var(--theme-accent) 78%, #ffffff));
  box-shadow: 0 18px 30px -14px rgba(15, 23, 42, 0.2);
}

[data-storefront-style="general"] .hero-single .btn-hero {
  border-radius: 10px !important;
}

[data-storefront-style="general"] .product-card {
  border-radius: 14px;
  border-color: var(--color-border);
  box-shadow: var(--shadow-xs);
}

[data-storefront-style="general"] .product-card-media-wrapper {
  border-radius: 13px 13px 0 0;
}

[data-storefront-style="general"] .product-card-atc-btn {
  border-radius: 10px;
}

/* ==========================================================================
   Hero Carousel Controls, Accessible 44x44 Dots & Mobile Arrow Clearance
   ========================================================================== */
.hero-carousel .carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.hero-carousel .carousel-dot {
  position: relative;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.hero-carousel .carousel-dot::after {
  content: '';
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: transparent;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.hero-carousel .carousel-dot.active::after {
  background: #ffffff;
  transform: scale(1.15);
}

.hero-carousel .carousel-dot:hover::after {
  background: rgba(255, 255, 255, 0.65);
}

.hero-carousel #carouselRotationToggle {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-carousel .slide-overlay > .container {
  padding-inline: clamp(3.5rem, 6vw, 4.75rem) !important;
}

/* ==========================================================================
   Campaign Sections Polish & Hover
   ========================================================================== */
.homepage-campaign-sections:empty {
  display: none;
}

.homepage-campaign-sections > section:last-child {
  margin-bottom: 0 !important;
}

.campaign-collection-tiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: var(--space-lg);
}

.campaign-collection-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  text-decoration: none;
  background: var(--color-bg-secondary);
}

.campaign-collection-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.campaign-collection-tile:hover img {
  transform: scale(1.04);
}

/* ==========================================================================
   Beauty Homepage Scent Finder Callout (Strictly Beauty-Scoped)
   ========================================================================== */
[data-storefront-style="beauty"] .beauty-scent-finder-callout {
  padding-block: clamp(2.5rem, 5vw, 4.25rem);
  background: var(--atelier-stage, var(--theme-surface-bg));
  border-top: 1px solid var(--atelier-line, var(--color-border));
  color: var(--atelier-ink, var(--theme-text-primary));
  overflow-x: clip;
}

[data-storefront-style="beauty"] .beauty-scent-finder-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  background: var(--atelier-paper, var(--theme-surface-bg));
  border: 1px solid var(--atelier-line, var(--color-border));
  border-radius: var(--radius-sm, 2px);
  box-shadow: 0 18px 42px -34px rgba(15, 23, 42, 0.25);
}

[data-storefront-style="beauty"] .beauty-scent-finder-copy {
  min-width: 0;
}

[data-storefront-style="beauty"] .beauty-scent-finder-eyebrow {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-family: var(--font-family-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--theme-accent, var(--theme-primary));
}

[data-storefront-style="beauty"] .beauty-scent-finder-copy h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-family-heading);
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--atelier-ink, var(--theme-text-primary));
  overflow-wrap: anywhere;
}

[data-storefront-style="beauty"] .beauty-scent-finder-copy p {
  margin: 0 0 1.25rem;
  max-width: 520px;
  font-family: var(--font-family-primary);
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--atelier-ink, var(--theme-text-primary));
  opacity: 0.85;
}

[data-storefront-style="beauty"] .beauty-scent-finder-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

[data-storefront-style="beauty"] .beauty-scent-finder-highlights li {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.72rem;
  background: var(--atelier-tint, var(--theme-surface-bg));
  border: 1px solid var(--atelier-line, var(--color-border));
  border-radius: var(--radius-sm, 2px);
  font-family: var(--font-family-primary);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--atelier-ink, var(--theme-text-primary));
}

[data-storefront-style="beauty"] .beauty-scent-finder-action {
  min-width: 0;
}

[data-storefront-style="beauty"] .beauty-scent-finder-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: clamp(1.25rem, 2.5vw, 1.85rem);
  background: var(--atelier-tint, var(--theme-surface-bg));
  border: 1px solid var(--atelier-line, var(--color-border));
  border-left: 3px solid var(--theme-accent, var(--theme-primary));
  border-radius: var(--radius-sm, 2px);
}

[data-storefront-style="beauty"] .beauty-scent-finder-badge {
  display: inline-block;
  font-family: var(--font-family-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--theme-primary, var(--atelier-ink));
}

[data-storefront-style="beauty"] .beauty-scent-finder-note {
  margin: 0;
  font-family: var(--font-family-primary);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--atelier-ink, var(--theme-text-primary));
  opacity: 0.86;
}

[data-storefront-style="beauty"] .beauty-scent-finder-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.75rem;
  width: 100%;
}

[data-storefront-style="beauty"] .beauty-scent-finder-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 48px;
  min-width: 44px;
  max-width: 100%;
  padding: 0.88rem 1.6rem;
  background: var(--atelier-action, var(--theme-accent, var(--theme-primary)));
  color: var(--atelier-paper, #ffffff);
  border: 1.5px solid var(--atelier-action, var(--theme-accent, var(--theme-primary)));
  border-radius: var(--radius-sm, 2px);
  font-family: var(--font-family-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  box-sizing: border-box;
}

[data-storefront-style="beauty"] .beauty-scent-finder-cta:hover {
  background: var(--atelier-action-hover, var(--theme-primary));
  border-color: var(--atelier-action-hover, var(--theme-primary));
  color: var(--atelier-paper, #ffffff);
  text-decoration: none;
}

[data-storefront-style="beauty"] .beauty-scent-finder-cta--secondary {
  background: var(--atelier-paper, var(--theme-surface-bg, #ffffff));
  color: var(--atelier-ink, var(--theme-text-primary));
  border: 1.5px solid var(--atelier-action, var(--theme-accent, var(--theme-primary)));
}

[data-storefront-style="beauty"] .beauty-scent-finder-cta--secondary:hover {
  background: var(--atelier-canvas, var(--theme-surface-bg));
  border-color: var(--atelier-action-hover, var(--theme-primary));
  color: var(--atelier-ink, var(--theme-text-primary));
  text-decoration: none;
}

/* ==========================================================================
   Storefront Trust Strip (Theme-Aware, Category-Neutral, Flush Above Footer)
   ========================================================================== */
.storefront-trust-strip {
  background: var(--atelier-tint, var(--color-bg-secondary));
  border-top: 1px solid var(--atelier-line, var(--color-border));
  color: var(--atelier-ink, var(--color-text-primary));
  padding: var(--space-xl) 0;
}

.storefront-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
}

.storefront-trust-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.storefront-trust-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--atelier-paper, var(--color-bg-primary));
  border: 1px solid var(--atelier-line, var(--color-border));
  color: var(--theme-accent, var(--color-brand-primary));
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.storefront-trust-copy h3 {
  font-family: var(--font-family-primary);
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0 0 3px;
  color: var(--atelier-ink, var(--color-text-primary));
  line-height: 1.3;
}

.storefront-trust-copy p {
  font-size: 0.84rem;
  line-height: 1.45;
  margin: 0;
  color: var(--atelier-ink, var(--color-text-secondary));
  opacity: 0.88;
}

.storefront-trust-copy a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  font-weight: 600;
  color: var(--atelier-ink, var(--color-text-primary));
}

.storefront-trust-copy a:hover {
  color: var(--theme-accent, var(--color-brand-crimson));
}

/* Eliminate the empty ~70px body gap directly above the footer on Homepage */
body[data-storefront-style]:has(.homepage-campaign-sections) .site-footer {
  margin-top: 0;
}

.site-footer .footer-bottom {
  color: #ffffff;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 767px) {
  .storefront-default-hero > .container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-height: 0;
    padding-block: 2.25rem 2.5rem;
  }

  .storefront-hero-eyebrow {
    margin-bottom: 0.85rem;
  }

  .storefront-hero-copy h1 {
    font-size: clamp(2.15rem, 9.5vw, 3.5rem);
  }

  .storefront-hero-copy p {
    margin-bottom: 1.5rem;
  }

  .storefront-hero-art {
    min-height: 220px;
    max-width: 340px;
    width: 100%;
    margin-inline: auto;
  }

  .campaign-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
  }

  .storefront-trust-strip {
    padding: var(--space-lg) 0;
  }

  [data-storefront-style="beauty"] .beauty-scent-finder-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    padding: 1.25rem;
  }

  [data-storefront-style="beauty"] .beauty-scent-finder-actions {
    flex-direction: column;
  }

  [data-storefront-style="beauty"] .beauty-scent-finder-cta {
    width: 100%;
  }

  .storefront-trust-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  /* Keep mobile carousel arrows out of hero text by moving them to bottom bar */
  .hero-carousel .slide-overlay > .container {
    padding: var(--space-xl) var(--space-md) 4.75rem !important;
  }

  .hero-carousel .carousel-prev,
  .hero-carousel .carousel-next {
    top: auto !important;
    bottom: 0.75rem !important;
    transform: none !important;
  }

  .hero-carousel .carousel-prev {
    left: 0.75rem !important;
  }

  .hero-carousel .carousel-next {
    left: 4rem !important;
    right: auto !important;
  }

  .hero-carousel .carousel-dots {
    bottom: 0.75rem !important;
    left: auto !important;
    right: 4.75rem !important;
    transform: none !important;
  }

  .hero-carousel #carouselRotationToggle {
    right: 0.75rem !important;
    bottom: 0.75rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-slide,
  .campaign-collection-tile img,
  [data-storefront-style="beauty"] .beauty-scent-finder-cta {
    transition: none !important;
  }

  .campaign-collection-tile:hover img {
    transform: none !important;
  }
}

/* ==========================================================================
   Shared All-4-Theme Homepage Hero CTA Bar, Proof Strip & Elevated Trust Cards
   ========================================================================== */
.storefront-hero-cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.storefront-hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm, 8px);
  border: 1.5px solid var(--color-border);
  background: var(--color-bg-card, #ffffff);
  color: var(--color-text-primary);
  font-family: var(--font-family-primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.storefront-hero-cta-secondary:hover {
  border-color: var(--theme-accent, var(--color-brand-black));
  color: var(--theme-accent, var(--color-brand-black));
}

.storefront-hero-proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 1.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-text-secondary);
}

.storefront-hero-proof .hero-proof-sep {
  opacity: 0.45;
}

.storefront-trust-item {
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--atelier-paper, var(--color-bg-card, #ffffff));
  border: 1px solid var(--atelier-line, var(--color-border));
  box-shadow: 0 4px 16px -14px rgba(15, 23, 42, 0.16);
}

.storefront-trust-icon {
  border-radius: 10px;
}

/* ==========================================================================
   All-4-Theme Filter Sidebar Parity (Fashion, Footwear, General)
   ========================================================================== */
[data-storefront-style="fashion"] .collection-sidebar .facet-filter-form {
  border-radius: 6px;
}

[data-storefront-style="fashion"] .facet-filter-form .size-swatch-label,
[data-storefront-style="fashion"] .facet-filter-form .checkbox-list .custom-checkbox-label,
[data-storefront-style="fashion"] .facet-filter-form .price-filter-group,
[data-storefront-style="fashion"] .facet-filter-form .stock-filter-toggle,
[data-storefront-style="fashion"] .facet-filter-form .btn-apply-price {
  border-radius: 4px;
}

[data-storefront-style="footwear"] .collection-sidebar .facet-filter-form,
[data-storefront-style="general"] .collection-sidebar .facet-filter-form {
  border-radius: 14px;
}

/* All-4-Theme Header Parity */
[data-storefront-style="fashion"] .nav-links,
[data-storefront-style="fashion"] .nav-item > a.nav-link,
[data-storefront-style="fashion"] .header-actions .header-search-btn,
[data-storefront-style="fashion"] .header-actions .header-utility-btn,
[data-storefront-style="fashion"] .header-actions .header-cart-btn {
  border-radius: 4px;
}

[data-storefront-style="fashion"] .mega-menu {
  border-radius: 6px;
}

/* All-4-Theme Footer Parity */
[data-storefront-style="fashion"] .site-footer .footer-concierge-card,
[data-storefront-style="fashion"] .site-footer .footer-col,
[data-storefront-style="fashion"] .site-footer .footer-concierge-btn,
[data-storefront-style="fashion"] .site-footer .footer-service-pill,
[data-storefront-style="fashion"] .site-footer .payment-method-pill,
[data-storefront-style="fashion"] .site-footer .footer-back-to-top {
  border-radius: 4px;
}
