/* Hair Editorial — premium beauty storefront (Hair Suite) */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Outfit:wght@400;500;600;700&display=swap');

body.sf-template-hair_editorial {
  --sf-bg: #f7f3f0;
  --sf-canvas: #f7f3f0;
  --sf-card: #fffcfa;
  --sf-border: rgba(26, 26, 26, 0.08);
  --sf-text: #1a1a1a;
  --sf-muted: #6b6560;
  --sf-gold: #a67c52;
  --sf-sale: #6b2d4b;
  --sf-radius-lg: 0;
  --sf-radius-md: 0;
  --sf-radius-sm: 0;
  --hh-display: 'Cormorant Garamond', Georgia, serif;
  --hh-sans: 'Outfit', 'Segoe UI', sans-serif;
  background:
    radial-gradient(900px 480px at 12% -8%, rgba(107, 45, 75, 0.09), transparent 55%),
    radial-gradient(700px 420px at 92% 8%, rgba(166, 124, 82, 0.08), transparent 50%),
    linear-gradient(180deg, #faf7f5 0%, var(--sf-bg) 40%, #f3ebe6 100%);
  color: var(--sf-text);
  font-family: var(--hh-sans);
  margin: 0;
}

body.sf-template-hair_editorial .sf-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px 88px;
  overflow: visible;
}

/* Delivery strip — full-bleed even when inside .sf-shell */
body.sf-template-hair_editorial .hh-delivery-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 16px;
  margin: 0 -18px;
  width: calc(100% + 36px);
  max-width: none;
  box-sizing: border-box;
  background: var(--sf-primary);
  color: #f7f3f0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
}
body.sf-template-hair_editorial .hh-delivery-strip strong {
  font-weight: 700;
  color: #e8c9a8;
}

/* Sticky full-width header */
body.sf-template-hair_editorial .hh-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto minmax(0, 1.2fr) minmax(200px, 1fr) auto;
  grid-template-areas: "brand nav search actions";
  align-items: center;
  gap: 12px 20px;
  box-sizing: border-box;
  width: calc(100% + 36px);
  max-width: none;
  margin: 0 -18px 12px;
  padding: 14px 18px;
  background: rgba(255, 252, 250, 0.96);
  border-bottom: 1px solid var(--sf-border);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}
body.sf-template-hair_editorial .hh-brand { grid-area: brand; }
body.sf-template-hair_editorial .hh-nav { grid-area: nav; }
body.sf-template-hair_editorial .hh-search-wrap--desktop { grid-area: search; }
body.sf-template-hair_editorial .hh-actions { grid-area: actions; }
body.sf-template-hair_editorial .hh-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  max-width: 280px;
  text-decoration: none;
  color: inherit;
}
body.sf-template-hair_editorial .hh-brand-text {
  min-width: 0;
}
body.sf-template-hair_editorial .hh-logo {
  width: 46px;
  height: 46px;
  overflow: hidden;
  border: 1px solid var(--sf-border);
  background: #fff;
  flex-shrink: 0;
}
body.sf-template-hair_editorial .hh-logo:empty {
  display: none;
}
body.sf-template-hair_editorial .hh-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
body.sf-template-hair_editorial .hh-brand-name {
  font-family: var(--hh-display);
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0;
  color: var(--sf-primary);
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
body.sf-template-hair_editorial .hh-brand-tag {
  margin: 3px 0 0;
  font-size: 10px;
  color: var(--sf-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
body.sf-template-hair_editorial .hh-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2px 6px;
  flex-wrap: nowrap;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
body.sf-template-hair_editorial .hh-nav::-webkit-scrollbar {
  display: none;
}
body.sf-template-hair_editorial .hh-nav a {
  position: relative;
  text-decoration: none;
  color: var(--sf-muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 10px 12px;
  white-space: nowrap;
  border: 0;
  transition: color 0.2s ease;
}
body.sf-template-hair_editorial .hh-nav a::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 1.5px;
  background: var(--sf-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}
body.sf-template-hair_editorial .hh-nav a:hover {
  color: var(--sf-primary);
}
body.sf-template-hair_editorial .hh-nav a:hover::after {
  transform: scaleX(0.55);
}
body.sf-template-hair_editorial .hh-nav a.is-active {
  color: var(--sf-primary);
  font-weight: 600;
}
body.sf-template-hair_editorial .hh-nav a.is-active::after {
  transform: scaleX(1);
}
body.sf-template-hair_editorial .hh-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}
body.sf-template-hair_editorial .hh-currency {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--sf-muted);
  padding: 0 10px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--sf-border);
  background: rgba(255, 252, 250, 0.95);
  flex-shrink: 0;
}
body.sf-template-hair_editorial .hh-search-wrap {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: none;
  height: 40px;
  border: 1px solid var(--sf-border);
  background: #fff;
  min-width: 0;
}
body.sf-template-hair_editorial .hh-search-wrap .sf-input {
  border: 0 !important;
  border-radius: 0;
  background: transparent;
  font-size: 13px;
  padding: 0 12px;
  min-width: 0;
  flex: 1;
  height: 100%;
  box-shadow: none !important;
}
body.sf-template-hair_editorial .hh-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  flex-shrink: 0;
  border: 0;
  border-left: 1px solid var(--sf-border);
  background: var(--sf-accent);
  color: #fff;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, opacity 0.15s ease;
}
body.sf-template-hair_editorial .hh-search-btn:hover {
  opacity: 0.92;
}
body.sf-template-hair_editorial .hh-util {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
body.sf-template-hair_editorial .hh-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  padding: 0 14px;
  text-decoration: none;
  color: var(--sf-primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid var(--sf-border);
  background: #fff;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
body.sf-template-hair_editorial .hh-icon-btn svg {
  flex-shrink: 0;
}
body.sf-template-hair_editorial .hh-icon-btn:hover,
body.sf-template-hair_editorial .hh-icon-btn.is-active {
  border-color: rgba(107, 45, 75, 0.35);
  color: var(--sf-accent);
}
body.sf-template-hair_editorial .hh-icon-btn--cart {
  background: var(--sf-accent);
  border-color: var(--sf-accent);
  color: #fff;
}
body.sf-template-hair_editorial .hh-icon-btn--cart:hover,
body.sf-template-hair_editorial .hh-icon-btn--cart.is-active {
  color: #fff;
  filter: brightness(1.05);
}
body.sf-template-hair_editorial .hh-cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--sf-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 0 2px #fffcfa;
}
body.sf-template-hair_editorial .hh-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--sf-border);
  background: #fff;
  width: 40px;
  height: 36px;
  padding: 0;
  color: var(--sf-primary);
  cursor: pointer;
}
body.sf-template-hair_editorial .hh-nav-scrim,
body.sf-template-hair_editorial .hh-drawer {
  display: none;
}

@media (max-width: 1100px) {
  body.sf-template-hair_editorial .hh-topbar {
    grid-template-columns: auto minmax(0, 1fr) minmax(160px, 0.7fr) auto;
    gap: 10px 14px;
  }
  body.sf-template-hair_editorial .hh-icon-btn span:not(.hh-cart-badge) {
    display: none;
  }
  body.sf-template-hair_editorial .hh-icon-btn {
    width: 40px;
    padding: 0;
  }
  body.sf-template-hair_editorial .hh-nav a {
    padding: 10px 8px;
    font-size: 12.5px;
  }
}

@media (max-width: 980px) {
  body.sf-template-hair_editorial .hh-topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand actions";
    gap: 8px;
    padding: 12px 18px;
  }
  body.sf-template-hair_editorial .hh-nav--desktop,
  body.sf-template-hair_editorial .hh-search-wrap--desktop {
    display: none !important;
  }
  body.sf-template-hair_editorial .hh-brand {
    max-width: none;
  }
  body.sf-template-hair_editorial .hh-brand-name {
    font-size: clamp(1.1rem, 4.5vw, 1.35rem);
    -webkit-line-clamp: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }
  body.sf-template-hair_editorial .hh-brand-tag {
    display: none;
  }
  body.sf-template-hair_editorial .hh-logo {
    width: 36px;
    height: 36px;
  }
  body.sf-template-hair_editorial .hh-mobile-toggle {
    display: inline-flex;
  }
  body.sf-template-hair_editorial .hh-currency {
    display: none !important;
  }
  body.sf-template-hair_editorial .hh-actions {
    flex-wrap: nowrap;
    gap: 8px;
  }
  body.sf-template-hair_editorial .hh-icon-btn span:not(.hh-cart-badge) {
    display: none;
  }
  body.sf-template-hair_editorial .hh-icon-btn {
    width: 40px;
    height: 40px;
  }

  /* Scrim + drawer live outside sticky header so fixed positioning works */
  body.sf-template-hair_editorial .hh-nav-scrim {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
    background: rgba(26, 26, 26, 0.45);
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
  }
  body.sf-template-hair_editorial.hh-nav-open .hh-nav-scrim {
    display: block;
  }
  body.sf-template-hair_editorial .hh-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    width: min(340px, 88vw);
    max-width: 100%;
    padding: 0;
    margin: 0;
    background: #fffcfa;
    border-right: 1px solid var(--sf-border);
    box-shadow: 18px 0 48px rgba(26, 26, 26, 0.18);
    transform: translateX(-105%);
    transition: transform 0.28s ease;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
  }
  body.sf-template-hair_editorial.hh-nav-open .hh-drawer {
    transform: translateX(0);
  }
  body.sf-template-hair_editorial .hh-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--sf-border);
    background: #fff;
  }
  body.sf-template-hair_editorial .hh-drawer-head strong {
    font-family: var(--hh-display);
    font-size: 1.35rem;
    font-weight: 600;
  }
  body.sf-template-hair_editorial .hh-drawer-close {
    border: 1px solid var(--sf-border);
    background: #fff;
    min-height: 44px;
    padding: 8px 14px;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
  }
  body.sf-template-hair_editorial .hh-search-wrap--drawer {
    display: flex;
    max-width: none;
    margin: 14px 16px 6px;
  }
  body.sf-template-hair_editorial .hh-search-wrap--drawer .sf-input {
    flex: 1 1 auto;
  }
  body.sf-template-hair_editorial .hh-nav--drawer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 8px 8px 28px;
    -webkit-overflow-scrolling: touch;
  }
  body.sf-template-hair_editorial .hh-nav--drawer a {
    display: block;
    padding: 14px 12px;
    font-size: 15px;
    border-bottom: 1px solid var(--sf-border);
    text-decoration: none;
    color: var(--sf-text);
  }
  body.sf-template-hair_editorial .hh-nav--drawer a::after {
    display: none;
  }
  body.sf-template-hair_editorial .hh-nav--drawer a.is-active,
  body.sf-template-hair_editorial .hh-nav--drawer a:hover {
    color: var(--sf-accent);
    background: rgba(107, 45, 75, 0.05);
  }
  body.sf-template-hair_editorial.hh-nav-open {
    overflow: hidden;
  }
}

@media (min-width: 981px) {
  body.sf-template-hair_editorial .hh-drawer,
  body.sf-template-hair_editorial .hh-nav-scrim,
  body.sf-template-hair_editorial .hh-mobile-toggle {
    display: none !important;
  }
}

/* Full-bleed editorial hero — denser so story section peeks into first viewport */
body.sf-template-hair_editorial .hh-hero {
  position: relative;
  min-height: clamp(280px, 46vh, 480px);
  margin: 0 -18px 28px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(16, 12, 14, 0.92) 0%, rgba(26, 26, 26, 0.55) 42%, rgba(107, 45, 75, 0.48) 100%),
    radial-gradient(ellipse 70% 80% at 88% 20%, rgba(166, 124, 82, 0.38), transparent 58%),
    radial-gradient(circle at 12% 90%, rgba(107, 45, 75, 0.35), transparent 42%),
    #1c1218;
  color: #f7f3f0;
  animation: hhFadeIn 0.7s ease both;
}
body.sf-template-hair_editorial .hh-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, rgba(16, 12, 14, 0.35) 100%),
    repeating-linear-gradient(
      -18deg,
      transparent 0 14px,
      rgba(255, 255, 255, 0.015) 14px 15px
    );
  pointer-events: none;
}
body.sf-template-hair_editorial .hh-hero.has-image {
  background-size: cover;
  background-position: center;
}
body.sf-template-hair_editorial .hh-hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 5vw, 56px) clamp(18px, 4vw, 48px) clamp(28px, 5vw, 48px);
  max-width: 560px;
}
body.sf-template-hair_editorial .hh-hero-brand {
  font-family: var(--hh-sans);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(232, 201, 168, 0.95);
}
body.sf-template-hair_editorial .hh-hero h2 {
  font-family: var(--hh-display);
  font-size: clamp(1.85rem, 4.6vw, 3.1rem);
  font-weight: 600;
  font-style: normal;
  margin: 0 0 12px;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
body.sf-template-hair_editorial .hh-hero p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(247, 243, 240, 0.88);
  max-width: 38ch;
}
@media (max-width: 719px) {
  body.sf-template-hair_editorial .hh-hero {
    min-height: clamp(260px, 52vw, 380px);
    margin-bottom: 22px;
  }
  body.sf-template-hair_editorial .hh-hero-inner {
    padding: 28px 18px 26px;
  }
  body.sf-template-hair_editorial .hh-delivery-strip {
    font-size: 10px;
    gap: 6px 8px;
    padding: 9px 12px;
  }
}
body.sf-template-hair_editorial .hh-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: #f7f3f0;
  color: var(--sf-primary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.25s ease, background 0.25s ease;
}
body.sf-template-hair_editorial .hh-hero-cta:hover {
  background: #fff;
  transform: translateY(-2px);
}

/* Category storytelling */
body.sf-template-hair_editorial .hh-story {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0 0 36px;
}
@media (min-width: 720px) {
  body.sf-template-hair_editorial .hh-story {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
}
body.sf-template-hair_editorial .hh-story-card {
  position: relative;
  min-height: 220px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  color: #f7f3f0;
  overflow: hidden;
  background: linear-gradient(160deg, #3a2432 0%, #6b2d4b 55%, #a67c52 120%);
  transition: transform 0.35s ease;
}
body.sf-template-hair_editorial .hh-story-card:nth-child(2) {
  background: linear-gradient(160deg, #1f2a24 0%, #3d5248 55%, #a67c52 120%);
}
body.sf-template-hair_editorial .hh-story-card.has-image {
  background-color: #1a1216;
}
body.sf-template-hair_editorial .hh-story-card.has-image:nth-child(2) {
  background-color: #1a1216;
}
body.sf-template-hair_editorial .hh-story-card:hover {
  transform: translateY(-4px);
}
body.sf-template-hair_editorial .hh-story-card h3 {
  font-family: var(--hh-display);
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  margin: 0 0 6px;
  font-weight: 600;
}
body.sf-template-hair_editorial .hh-story-card p {
  margin: 0;
  font-size: 13px;
  opacity: 0.9;
  max-width: 32ch;
  line-height: 1.45;
}
body.sf-template-hair_editorial .hh-section-label {
  font-family: var(--hh-display);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  font-weight: 600;
  margin: 0 0 6px;
}
body.sf-template-hair_editorial .hh-section-sub {
  margin: 0 0 16px;
  color: var(--sf-muted);
  font-size: 14px;
  line-height: 1.5;
}
body.sf-template-hair_editorial .hh-home-block {
  margin-bottom: 40px;
}
body.sf-template-hair_editorial .hh-empty-catalog {
  padding: 28px 18px;
  border: 1px dashed var(--sf-border);
  background: rgba(255, 252, 250, 0.7);
  text-align: center;
}
body.sf-template-hair_editorial .hh-empty-catalog p {
  margin: 0 0 14px;
  color: var(--sf-muted);
  font-size: 14px;
}

/* Trust bar — not pill clutter; understated editorial row */
body.sf-template-hair_editorial .sf-trust-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
  padding: 22px 0;
  margin: 8px 0 36px;
  border-top: 1px solid var(--sf-border);
  border-bottom: 1px solid var(--sf-border);
  background: transparent;
}
@media (min-width: 800px) {
  body.sf-template-hair_editorial .sf-trust-bar {
    grid-template-columns: repeat(4, 1fr);
  }
}
body.sf-template-hair_editorial .sf-trust-pill {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--sf-text);
  letter-spacing: 0.02em;
}
body.sf-template-hair_editorial .sf-trust-pill::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  background: var(--sf-accent);
  vertical-align: middle;
}

/* Wholesale CTA */
body.sf-template-hair_editorial .hh-wholesale {
  margin: 48px 0;
  padding: clamp(28px, 5vw, 48px);
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1a24 60%, #3d2a1a 100%);
  color: #f7f3f0;
  animation: hhSlideUp 0.6s ease both;
}
body.sf-template-hair_editorial .hh-wholesale h2 {
  font-family: var(--hh-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin: 0 0 10px;
  font-weight: 600;
}
body.sf-template-hair_editorial .hh-wholesale p {
  margin: 0 0 20px;
  max-width: 48ch;
  color: rgba(247, 243, 240, 0.85);
  line-height: 1.6;
}
body.sf-template-hair_editorial .hh-wholesale a {
  display: inline-flex;
  padding: 12px 20px;
  background: #f7f3f0;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Testimonials */
body.sf-template-hair_editorial .hh-quotes {
  display: grid;
  gap: 20px;
  margin: 36px 0 48px;
}
@media (min-width: 800px) {
  body.sf-template-hair_editorial .hh-quotes {
    grid-template-columns: repeat(3, 1fr);
  }
}
body.sf-template-hair_editorial .hh-quote {
  padding: 8px 0 0;
  border-top: 1px solid var(--sf-border);
}
body.sf-template-hair_editorial .hh-quote blockquote {
  margin: 0 0 12px;
  font-family: var(--hh-display);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--sf-text);
}
body.sf-template-hair_editorial .hh-quote cite {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sf-muted);
}

/* Product grid — editorial, larger imagery */
body.sf-template-hair_editorial .sf-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 14px;
}
@media (min-width: 720px) {
  body.sf-template-hair_editorial .sf-product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 20px;
  }
}
@media (min-width: 1024px) {
  body.sf-template-hair_editorial .sf-product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
body.sf-template-hair_editorial .sf-product {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
body.sf-template-hair_editorial .sf-product-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #ebe4de;
  position: relative;
}
body.sf-template-hair_editorial .sf-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
body.sf-template-hair_editorial .sf-product:hover .sf-product-media img {
  transform: scale(1.04);
}
body.sf-template-hair_editorial .sf-product h3 {
  font-family: var(--hh-sans);
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.01em;
}
body.sf-template-hair_editorial .sf-product > p {
  display: none;
}
body.sf-template-hair_editorial .sf-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--sf-primary);
}
body.sf-template-hair_editorial .sf-compare {
  font-size: 13px;
  color: var(--sf-muted);
  text-decoration: line-through;
}
body.sf-template-hair_editorial .sf-badge-sale {
  background: var(--sf-sale);
  color: #fff;
  border-radius: 0;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
}
body.sf-template-hair_editorial .sf-product .sf-actions {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  margin-top: auto;
}
body.sf-template-hair_editorial .sf-product:hover .sf-actions,
body.sf-template-hair_editorial .sf-product:focus-within .sf-actions {
  opacity: 1;
  transform: none;
}
@media (max-width: 719px) {
  body.sf-template-hair_editorial .sf-product .sf-actions {
    opacity: 1;
    transform: none;
  }
}
body.sf-template-hair_editorial .sf-btn {
  border-radius: 0;
  font-family: var(--hh-sans);
  font-weight: 600;
  letter-spacing: 0.03em;
}
body.sf-template-hair_editorial .sf-btn-primary {
  background: var(--sf-accent);
  border-color: var(--sf-accent);
  color: #fff;
}
body.sf-template-hair_editorial .sf-btn-ghost {
  background: transparent;
  border-color: var(--sf-border);
}

/* Hide marketplace-style sidebar on hair editorial */
body.sf-template-hair_editorial .sf-grid {
  display: block;
}
body.sf-template-hair_editorial .sf-sidebar {
  display: none;
}
body.sf-template-hair_editorial .sf-card {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}
body.sf-template-hair_editorial .sf-card-head {
  border: none;
  padding: 0 0 12px;
}
body.sf-template-hair_editorial .sf-card-title {
  font-family: var(--hh-display);
  font-size: 1.75rem;
  font-weight: 600;
}
body.sf-template-hair_editorial .sf-card-body {
  padding: 0;
}
body.sf-template-hair_editorial #sfCatalogCard {
  margin-top: 28px;
}
body.sf-template-hair_editorial.hh-home-editorial #sfCatalogCard {
  display: none;
}
body.sf-template-hair_editorial .sf-announce {
  display: none !important; /* delivery strip replaces thin announce on hair */
}

/* PDP trust + delivery */
body.sf-template-hair_editorial .hh-pdp-trust {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--sf-border);
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: var(--sf-muted);
}
body.sf-template-hair_editorial .hh-pdp-trust strong {
  color: var(--sf-text);
  font-weight: 600;
}
body.sf-template-hair_editorial .sf-product-layout {
  gap: 28px;
}
body.sf-template-hair_editorial .sf-product-media,
body.sf-template-hair_editorial .sf-main-stage {
  border-radius: 0;
}
body.sf-template-hair_editorial .sf-sticky-buy .sf-buy-card {
  border: 1px solid var(--sf-border);
  background: var(--sf-card);
  border-radius: 0;
  padding: 18px;
}

/* Cart delivery note */
body.sf-template-hair_editorial .hh-cart-delivery {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--sf-border);
  background: rgba(107, 45, 75, 0.05);
  font-size: 13px;
  color: var(--sf-text);
}

/* Content pages */
body.sf-template-hair_editorial .hh-page {
  max-width: 720px;
  padding: 24px 0 48px;
  animation: hhFadeIn 0.45s ease both;
}
body.sf-template-hair_editorial .hh-page h1 {
  font-family: var(--hh-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 12px;
  font-weight: 600;
}
body.sf-template-hair_editorial .hh-page .lead {
  font-size: 16px;
  line-height: 1.65;
  color: var(--sf-muted);
  margin: 0 0 28px;
}
body.sf-template-hair_editorial .hh-page h2 {
  font-family: var(--hh-display);
  font-size: 1.4rem;
  margin: 28px 0 8px;
}
body.sf-template-hair_editorial .hh-page p,
body.sf-template-hair_editorial .hh-page li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--sf-text);
}
body.sf-template-hair_editorial .hh-form {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
body.sf-template-hair_editorial .hh-form .sf-input,
body.sf-template-hair_editorial .hh-form textarea {
  width: 100%;
  border-radius: 0;
  border: 1px solid var(--sf-border);
  padding: 12px;
  font-family: inherit;
  font-size: 14px;
  background: #fff;
}
body.sf-template-hair_editorial .hh-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
body.sf-template-hair_editorial .hh-footer {
  margin-top: 64px;
  padding: 40px 0 28px;
  border-top: 1px solid var(--sf-border);
  background: linear-gradient(180deg, rgba(255,252,250,0.4), rgba(239,232,226,0.55));
}
body.sf-template-hair_editorial .hh-footer-top {
  display: grid;
  gap: 28px;
}
@media (min-width: 860px) {
  body.sf-template-hair_editorial .hh-footer-top {
    grid-template-columns: 1.35fr 1.65fr;
    gap: 40px;
    align-items: start;
  }
}
body.sf-template-hair_editorial .hh-footer-brand h3 {
  font-family: var(--hh-display);
  font-size: 1.45rem;
  margin: 0 0 10px;
  font-weight: 600;
}
body.sf-template-hair_editorial .hh-footer-brand p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--sf-muted);
  max-width: 36ch;
}
body.sf-template-hair_editorial .hh-footer-contacts {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
body.sf-template-hair_editorial .hh-footer-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sf-muted);
  text-decoration: none;
  font-size: 13px;
  margin: 0;
}
body.sf-template-hair_editorial .hh-footer-contacts a:hover {
  color: var(--sf-accent);
}
body.sf-template-hair_editorial .hh-footer-cols {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 640px) {
  body.sf-template-hair_editorial .hh-footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}
body.sf-template-hair_editorial .hh-footer h4 {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sf-primary);
}
body.sf-template-hair_editorial .hh-footer-cols a {
  display: block;
  color: var(--sf-muted);
  text-decoration: none;
  font-size: 13px;
  margin: 0 0 8px;
}
body.sf-template-hair_editorial .hh-footer-cols a:hover {
  color: var(--sf-accent);
}
body.sf-template-hair_editorial .hh-footer-currency {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--sf-muted);
}
body.sf-template-hair_editorial .hh-footer-meta {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--sf-border);
  font-size: 12px;
  color: var(--sf-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  align-items: center;
}
body.sf-template-hair_editorial .hh-footer-promises {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
}

/* Product cards */
body.sf-template-hair_editorial .hh-product-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: 0;
  box-shadow: none;
}
body.sf-template-hair_editorial .hh-product-card .sf-product-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #efe8e2;
}
body.sf-template-hair_editorial .hh-product-card .sf-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
body.sf-template-hair_editorial .hh-product-card:hover .sf-product-media img {
  transform: scale(1.04);
}
body.sf-template-hair_editorial .hh-product-card-body {
  padding: 12px 0 4px;
  display: grid;
  gap: 8px;
}
body.sf-template-hair_editorial .hh-product-card h3 {
  font-family: var(--hh-display);
  font-size: 1.15rem;
  margin: 0;
  font-weight: 600;
  line-height: 1.25;
}
body.sf-template-hair_editorial .hh-product-card h3 a {
  color: inherit;
  text-decoration: none;
}
body.sf-template-hair_editorial .hh-product-card-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
body.sf-template-hair_editorial .hh-product-card-actions {
  margin-top: 4px;
  gap: 8px;
}
body.sf-template-hair_editorial .hh-product-card-actions .sf-btn {
  min-height: 38px;
  gap: 6px;
}

/* PDP */
body.sf-template-hair_editorial .hh-pdp {
  display: block !important;
  padding: 8px 0 24px;
  width: 100%;
}
body.sf-template-hair_editorial .hh-pdp-layout {
  display: grid;
  gap: 24px;
  width: 100%;
}
@media (min-width: 900px) {
  body.sf-template-hair_editorial .hh-pdp-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 36px;
    align-items: start;
  }
}
body.sf-template-hair_editorial .hh-pdp-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--sf-muted);
  margin: 0 0 18px;
}
body.sf-template-hair_editorial .hh-pdp-crumb a {
  color: var(--sf-muted);
  text-decoration: none;
}
body.sf-template-hair_editorial .hh-pdp-crumb a:hover {
  color: var(--sf-accent);
}
body.sf-template-hair_editorial .hh-pdp-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sf-muted);
}
body.sf-template-hair_editorial .hh-pdp-title {
  font-family: var(--hh-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin: 0 0 12px;
  font-weight: 600;
  line-height: 1.15;
}
body.sf-template-hair_editorial .hh-pdp-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--sf-muted);
}
body.sf-template-hair_editorial .hh-pdp-trust-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--sf-muted);
}
body.sf-template-hair_editorial .hh-pdp-trust-inline span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
body.sf-template-hair_editorial .hh-pdp-trust {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 0 0;
  border-top: 1px solid var(--sf-border);
}
body.sf-template-hair_editorial .hh-pdp-trust > div {
  display: grid;
  gap: 2px;
  font-size: 13px;
}
body.sf-template-hair_editorial .hh-pdp-trust strong {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sf-muted);
  font-weight: 600;
}
body.sf-template-hair_editorial .hh-pdp-media,
body.sf-template-hair_editorial .hh-pdp-gallery {
  background: #efe8e2;
  min-height: 360px;
}
body.sf-template-hair_editorial .hh-pdp-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
body.sf-template-hair_editorial .hh-buy-card {
  border: 1px solid var(--sf-border);
  background: #fffcfa;
  padding: 20px;
}
body.sf-template-hair_editorial .hh-buy-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
body.sf-template-hair_editorial .hh-buy-price-row .sf-compare {
  order: 0;
  font-size: 15px;
  color: var(--sf-muted, #6b7280);
}
body.sf-template-hair_editorial .hh-buy-price-row .sf-price {
  order: 1;
  font-size: 1.35rem;
  font-weight: 700;
}
body.sf-template-hair_editorial .hh-sale-row {
  margin: -6px 0 14px;
}
body.sf-template-hair_editorial .hh-sale-badge {
  position: static;
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  background: #c41e3a;
  color: #fff;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 3px 8px;
  font-weight: 700;
}
body.sf-template-hair_editorial .hh-length-picker {
  margin-top: 4px;
}
body.sf-template-hair_editorial .hh-length-label,
body.sf-template-hair_editorial .sf-opt-label.hh-length-label {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  margin: 0 0 12px;
  letter-spacing: 0;
  text-transform: none;
}
body.sf-template-hair_editorial .sf-opt-row + .sf-opt-row {
  margin-top: 16px;
}
body.sf-template-hair_editorial .sf-opt-values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
body.sf-template-hair_editorial .sf-opt-btn {
  border: 1px solid #1a1a1a;
  background: #fff;
  color: #1a1a1a;
  border-radius: 999px;
  padding: 10px 14px;
  min-height: 42px;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.2;
}
body.sf-template-hair_editorial .sf-opt-btn.is-selected {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
}
body.sf-template-hair_editorial .hh-qty-row {
  display: grid;
  gap: 6px;
}
body.sf-template-hair_editorial .hh-qty-stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid #1a1a1a;
  max-width: 160px;
  background: #fff;
}
body.sf-template-hair_editorial .hh-qty-btn {
  width: 42px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: #1a1a1a;
}
body.sf-template-hair_editorial .hh-qty-input {
  width: 56px;
  margin: 0 !important;
  max-width: none !important;
  border: 0 !important;
  border-left: 1px solid #1a1a1a !important;
  border-right: 1px solid #1a1a1a !important;
  border-radius: 0 !important;
  text-align: center;
  padding: 10px 4px !important;
  -moz-appearance: textfield;
}
body.sf-template-hair_editorial .hh-qty-input::-webkit-outer-spin-button,
body.sf-template-hair_editorial .hh-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
body.sf-template-hair_editorial .hh-buy-card .sf-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
body.sf-template-hair_editorial .sf-actions-stack {
  display: grid;
  gap: 8px;
}
body.sf-template-hair_editorial .sf-btn-block {
  width: 100%;
  justify-content: center;
}
body.sf-template-hair_editorial .sf-opt-values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
body.sf-template-hair_editorial .sf-opt-btn {
  border: 1px solid #1a1a1a;
  background: #fff;
  color: #1a1a1a;
  border-radius: 999px;
  padding: 10px 14px;
  min-height: 42px;
  font-weight: 600;
}
body.sf-template-hair_editorial .sf-opt-btn.is-selected {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
}
body.sf-template-hair_editorial .sf-opt-label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

/* Cart page */
body.sf-template-hair_editorial .hh-cart-page {
  padding: 8px 0 40px;
}
body.sf-template-hair_editorial .hh-cart-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 22px;
}
body.sf-template-hair_editorial .hh-cart-title {
  font-family: var(--hh-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin: 4px 0 0;
  font-weight: 600;
}
body.sf-template-hair_editorial .hh-cart-continue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sf-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}
body.sf-template-hair_editorial .hh-cart-continue:hover {
  color: var(--sf-accent);
}
body.sf-template-hair_editorial .hh-cart-layout {
  display: grid;
  gap: 22px;
}
@media (min-width: 900px) {
  body.sf-template-hair_editorial .hh-cart-layout {
    grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.9fr);
    align-items: start;
  }
}
body.sf-template-hair_editorial .hh-cart-items,
body.sf-template-hair_editorial .hh-cart-main {
  display: grid;
  gap: 12px;
}
body.sf-template-hair_editorial .hh-cart-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--sf-border);
  background: #fffcfa;
}
@media (max-width: 640px) {
  body.sf-template-hair_editorial .hh-cart-item {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  body.sf-template-hair_editorial .hh-cart-item-controls {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  body.sf-template-hair_editorial .hh-cart-thumb {
    width: 72px;
    height: 72px;
  }
}
body.sf-template-hair_editorial .hh-cart-thumb {
  display: block;
  width: 88px;
  height: 88px;
  overflow: hidden;
  background: #efe8e2;
}
body.sf-template-hair_editorial .hh-cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.sf-template-hair_editorial .hh-cart-thumb--empty {
  background: linear-gradient(160deg, #efe8e2, #e4d8cf);
}
body.sf-template-hair_editorial .hh-cart-item-title {
  display: block;
  font-family: var(--hh-display);
  font-size: 1.15rem;
  color: var(--sf-primary);
  text-decoration: none;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 4px;
}
body.sf-template-hair_editorial .hh-cart-item-meta {
  font-size: 12px;
  color: var(--sf-muted);
}
body.sf-template-hair_editorial .hh-cart-item-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  min-width: 140px;
}
body.sf-template-hair_editorial .hh-cart-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
body.sf-template-hair_editorial .sf-qty-controls {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--sf-border);
  background: #fff;
  overflow: hidden;
}
body.sf-template-hair_editorial .sf-qty-btn {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--sf-primary);
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}
body.sf-template-hair_editorial .sf-qty-btn:hover {
  background: rgba(107, 45, 75, 0.08);
  color: var(--sf-accent);
}
body.sf-template-hair_editorial .sf-qty-btn:disabled {
  opacity: 0.45;
  cursor: default;
}
body.sf-template-hair_editorial .sf-qty-val {
  width: 44px;
  min-width: 44px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  border-left: 1px solid var(--sf-border);
  border-right: 1px solid var(--sf-border);
  padding: 8px 0;
}
body.sf-template-hair_editorial .hh-cart-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--sf-border);
  background: #fff;
  color: var(--sf-muted);
  cursor: pointer;
}
body.sf-template-hair_editorial .hh-cart-remove span {
  display: none;
}
body.sf-template-hair_editorial .hh-cart-remove:hover {
  color: #b91c1c;
  border-color: rgba(185, 28, 28, 0.35);
  background: rgba(185, 28, 28, 0.04);
}
body.sf-template-hair_editorial .hh-cart-line {
  font-size: 15px;
  font-weight: 700;
}
body.sf-template-hair_editorial .hh-cart-summary {
  border: 1px solid var(--sf-border);
  background: #fffcfa;
  padding: 20px;
  position: sticky;
  top: 16px;
}
body.sf-template-hair_editorial .hh-cart-summary h2 {
  margin: 0 0 14px;
  font-family: var(--hh-display);
  font-size: 1.35rem;
  font-weight: 600;
}
body.sf-template-hair_editorial .hh-cart-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 8px;
}
body.sf-template-hair_editorial .hh-cart-summary-note {
  font-size: 12px;
  color: var(--sf-muted);
  margin: 0 0 16px;
}
body.sf-template-hair_editorial .hh-cart-perks {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 12px;
  color: var(--sf-muted);
}
body.sf-template-hair_editorial .hh-cart-perks li {
  display: flex;
  align-items: center;
  gap: 8px;
}
body.sf-template-hair_editorial .hh-checkout-form {
  border-top: 1px solid var(--sf-border);
  padding-top: 16px;
}
body.sf-template-hair_editorial .hh-checkout-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 12px;
}
body.sf-template-hair_editorial .hh-checkout-steps .is-active {
  color: #4c1d3d;
}
body.sf-template-hair_editorial .hh-field-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--sf-text);
  margin: 4px 0 0;
}
body.sf-template-hair_editorial .hh-optional {
  font-weight: 500;
  color: var(--sf-muted);
  text-transform: none;
  letter-spacing: 0;
}
body.sf-template-hair_editorial .hh-delivery-block {
  margin-top: 8px;
  padding: 12px;
  border: 1px solid var(--sf-border);
  background: #fff;
  display: grid;
  gap: 8px;
}
body.sf-template-hair_editorial .hh-delivery-title {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #4c1d3d;
}
body.sf-template-hair_editorial .hh-delivery-hint {
  margin: 0;
  font-size: 12px;
  color: var(--sf-muted);
  line-height: 1.45;
}

/* Bank transfer + proof upload */
body.sf-template-hair_editorial .hh-pay-panel {
  margin-top: 4px;
  display: grid;
  gap: 12px;
}
body.sf-template-hair_editorial .hh-pay-banner {
  margin: 0;
  padding: 10px 12px;
  background: rgba(22, 101, 52, 0.08);
  border: 1px solid rgba(22, 101, 52, 0.18);
  color: #166534;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}
body.sf-template-hair_editorial .hh-pay-instr {
  margin: 0;
  font-size: 13px;
  color: var(--sf-muted);
  line-height: 1.5;
}
body.sf-template-hair_editorial .hh-bank-card {
  border: 1px solid var(--sf-border);
  background: #fff;
  padding: 4px 0;
}
body.sf-template-hair_editorial .hh-bank-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  font-size: 13px;
  line-height: 1.45;
}
body.sf-template-hair_editorial .hh-bank-row:last-child {
  border-bottom: 0;
}
body.sf-template-hair_editorial .hh-bank-row > span {
  color: var(--sf-muted);
  flex: 0 0 auto;
}
body.sf-template-hair_editorial .hh-bank-row strong,
body.sf-template-hair_editorial .hh-bank-row code {
  text-align: right;
  word-break: break-word;
  font-weight: 700;
}
body.sf-template-hair_editorial .hh-bank-row code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 600;
}
body.sf-template-hair_editorial .hh-bank-acct {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  min-width: 0;
}
body.sf-template-hair_editorial .hh-bank-acct strong,
body.sf-template-hair_editorial .hh-bank-acct code {
  letter-spacing: .02em;
}
body.sf-template-hair_editorial .hh-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--sf-border);
  background: #fffcfa;
  color: var(--sf-text);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  min-height: 34px;
  cursor: pointer;
}
body.sf-template-hair_editorial .hh-copy-btn:hover:not(:disabled) {
  border-color: var(--sf-accent, #6b2d4b);
  color: var(--sf-accent, #6b2d4b);
}
body.sf-template-hair_editorial .hh-copy-btn.is-copied {
  border-color: #166534;
  color: #166534;
  background: rgba(22, 101, 52, 0.08);
}
body.sf-template-hair_editorial .hh-copy-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}
body.sf-template-hair_editorial .hh-proof {
  border: 1px solid var(--sf-border);
  background: #fffcfa;
  padding: 14px 12px;
  display: grid;
  gap: 10px;
}
body.sf-template-hair_editorial .hh-proof__title {
  font-size: 14px;
  font-weight: 800;
  color: #4c1d3d;
}
body.sf-template-hair_editorial .hh-proof__hint {
  margin: 0;
  font-size: 12px;
  color: var(--sf-muted);
  line-height: 1.45;
}
body.sf-template-hair_editorial .hh-proof-drop {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 22px 14px;
  border: 1.5px dashed rgba(76, 29, 61, 0.28);
  background: #fff;
  cursor: pointer;
  text-align: center;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
body.sf-template-hair_editorial .hh-proof-drop:hover,
body.sf-template-hair_editorial .hh-proof-drop.is-drag {
  border-color: var(--sf-accent, #6b2d4b);
  background: rgba(107, 45, 75, 0.04);
  box-shadow: inset 0 0 0 1px rgba(107, 45, 75, 0.08);
}
body.sf-template-hair_editorial .hh-proof-drop.has-file {
  border-style: solid;
  border-color: rgba(76, 29, 61, 0.35);
}
body.sf-template-hair_editorial .hh-proof-drop.is-uploading {
  opacity: .7;
  pointer-events: none;
}
body.sf-template-hair_editorial .hh-proof-drop__icon {
  color: var(--sf-accent, #6b2d4b);
  display: grid;
  place-items: center;
}
body.sf-template-hair_editorial .hh-proof-drop__cta {
  font-size: 13px;
  font-weight: 750;
  color: var(--sf-text);
}
body.sf-template-hair_editorial .hh-proof-drop__name {
  font-size: 12px;
  color: var(--sf-muted);
  word-break: break-word;
  max-width: 100%;
}
body.sf-template-hair_editorial .hh-proof-progress {
  display: grid;
  gap: 6px;
}
body.sf-template-hair_editorial .hh-proof-progress__bar {
  height: 6px;
  background: rgba(76, 29, 61, 0.1);
  overflow: hidden;
}
body.sf-template-hair_editorial .hh-proof-progress__bar > span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #6b2d4b, #9a4a72);
  transition: width .45s ease;
}
body.sf-template-hair_editorial .hh-proof-progress__label {
  font-size: 12px;
  font-weight: 650;
  color: #4c1d3d;
}
body.sf-template-hair_editorial .hh-proof__submit {
  width: 100%;
}
body.sf-template-hair_editorial .hh-proof.is-done .hh-proof-drop {
  border-color: rgba(22, 101, 52, 0.35);
  background: rgba(22, 101, 52, 0.05);
}
body.sf-template-hair_editorial .hh-proof-ok {
  margin: 0;
  padding: 10px 12px;
  background: rgba(22, 101, 52, 0.08);
  border: 1px solid rgba(22, 101, 52, 0.18);
  color: #166534;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}
body.sf-template-hair_editorial .hh-pay-wa {
  width: 100%;
  justify-content: center;
}

body.sf-template-hair_editorial .hh-cart-empty {
  text-align: center;
  padding: 48px 16px;
  border: 1px dashed var(--sf-border);
  background: #fffcfa;
}
body.sf-template-hair_editorial .hh-cart-empty-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  background: #efe8e2;
  color: var(--sf-muted);
}
body.sf-template-hair_editorial .hh-cart-empty h2 {
  font-family: var(--hh-display);
  margin: 0 0 8px;
  font-size: 1.6rem;
}
body.sf-template-hair_editorial .sf-btn-block {
  width: 100%;
}

/* Skeletons */
body.sf-template-hair_editorial .hh-skel {
  background: linear-gradient(90deg, #ebe4de 0%, #f5efe9 50%, #ebe4de 100%);
  background-size: 200% 100%;
  animation: hhShimmer 1.2s ease-in-out infinite;
}
body.sf-template-hair_editorial .hh-skel-card {
  aspect-ratio: 4 / 5;
  width: 100%;
}
@keyframes hhShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
@keyframes hhFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes hhSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

body.sf-template-hair_editorial .sf-home-row,
body.sf-template-hair_editorial .hh-story,
body.sf-template-hair_editorial .hh-quotes {
  animation: hhSlideUp 0.55s ease both;
}

/* Legacy hero slides inside dynamic home — restyle for hair */
body.sf-template-hair_editorial .sf-hero {
  display: none; /* replaced by hh-hero when slides exist; fallback kept in JS */
}
body.sf-template-hair_editorial .sf-tpl-strip {
  display: none;
}
body.sf-template-hair_editorial .sf-market-nav {
  display: none !important;
}

/* Standalone: delivery strip sits outside .sf-shell */
body.sf-template-hair_editorial > .hh-delivery-strip {
  margin: 0;
  width: 100%;
}

/* —— Standalone SPA shell —— */
html, body { margin: 0; min-height: 100%; }
#app { min-height: 50vh; }
.hh-view { animation: hhFadeIn .35s ease both; }
.sf-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 14px;
}
@media (min-width: 720px) {
  .sf-product-grid { grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
}
@media (min-width: 1024px) {
  .sf-product-grid { grid-template-columns: repeat(4, 1fr); }
}
.sf-product { display:flex; flex-direction:column; gap:10px; }
.sf-product-media { aspect-ratio:4/5; overflow:hidden; background:#ebe4de; position:relative; display:block; }
.sf-product-media img { width:100%; height:100%; object-fit:cover; }
.sf-product-ph { width:100%; height:100%; display:flex; align-items:center; justify-content:center; color:#9a918a; font-size:12px; }
.sf-badge { position:absolute; top:8px; left:8px; font-size:10px; letter-spacing:.06em; text-transform:uppercase; padding:4px 8px; }
.sf-badge-sale { background:var(--sf-sale,#6b2d4b); color:#fff; }
.sf-badge-sold { background:#1a1a1a; color:#fff; }
.sf-price { font-weight:700; }
.sf-compare { text-decoration:line-through; color:var(--sf-muted); font-size:13px; }
.sf-btn {
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 16px; border:1px solid var(--sf-border); background:#fff;
  color:var(--sf-text); text-decoration:none; font:inherit; font-weight:600;
  cursor:pointer; letter-spacing:.03em; min-height:44px; box-sizing:border-box;
}
.sf-btn-primary { background:var(--sf-accent,#6b2d4b); border-color:var(--sf-accent,#6b2d4b); color:#fff; }
.sf-btn-ghost { background:transparent; }
.sf-btn:disabled { opacity:.5; cursor:not-allowed; }
.sf-input, .hh-form textarea {
  width:100%; border:1px solid var(--sf-border); padding:10px 12px;
  font:inherit; background:#fff; box-sizing:border-box;
}
.sf-actions { display:flex; gap:8px; flex-wrap:wrap; }
.sf-muted { color:var(--sf-muted); }
.hh-skel {
  background:linear-gradient(90deg,#ebe4de,#f5efe9,#ebe4de);
  background-size:200% 100%; animation:hhShimmer 1.2s ease-in-out infinite;
}
.hh-skel-card { aspect-ratio:4/5; width:100%; }
.sf-opt-row { margin-bottom:12px; }
.sf-opt-label { font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--sf-muted); margin-bottom:8px; }
.sf-opt-values { display:flex; flex-wrap:wrap; gap:8px; }
.sf-opt-btn { border:1px solid var(--sf-border); background:#fff; padding:10px 12px; font:inherit; font-weight:600; cursor:pointer; min-height:44px; border-radius:999px; }
.sf-opt-btn.is-selected { border-color:#1a1a1a; background:#1a1a1a; color:#fff; }
.sf-opt-btn.is-sold-out { opacity:.45; text-decoration:line-through; }
.sf-btn-block { width:100%; justify-content:center; }
.sf-product.is-sold-out .sf-product-media img { filter:grayscale(1); opacity:.72; }
/* IMPORTANT: do NOT make .hh-pdp itself a 2-col grid — crumb + layout become columns and leave a huge empty left gutter. */
.hh-pdp {
  display: block;
  padding: 8px 0 24px;
}
.hh-pdp-gallery img { width:100%; aspect-ratio:4/5; object-fit:cover; background:#ebe4de; display:block; }
.hh-cart-row { display:flex; justify-content:space-between; gap:16px; padding:14px 0; border-bottom:1px solid var(--sf-border); flex-wrap:wrap; }
.hh-empty { padding:48px 0; text-align:center; }
@media (max-width:719px) {
  .sf-actions .sf-btn { flex:1 1 auto; }
  .hh-footer-grid { gap:22px; }
}
