/* ============================================================
   STHERB — Homepage Redesign (cream/gold/earth tone)
   Scoped to template-homepage-redesign.php only
   ============================================================ */

.stherb-redesign-home {
  --bg: #F7F1E6;
  --surface: #FFFFFF;
  --soft: #F1EADC;
  --ink: #221E18;
  --muted: #8B8273;
  --border: #E7DECF;
  --accent: #1C6FAB;
  --accent-soft: #E7F0F7;
  --primary: #221E18;
  --dark: #1E2A33;

  background: var(--bg);
  color: var(--ink);
  font-family: 'Mulish', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.stherb-redesign-home,
.stherb-redesign-home button,
.stherb-redesign-home input,
.stherb-redesign-home select,
.stherb-redesign-home textarea {
  font-family: 'Mulish', system-ui, sans-serif;
}

.stherb-redesign-home * { box-sizing: border-box; }

.stherb-redesign-home h1,
.stherb-redesign-home h2,
.stherb-redesign-home h3 {
  font-family: 'Cormorant', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}

.stherb-redesign-home .sr-accent-italic {
  font-style: italic;
  color: var(--accent);
}

.stherb-redesign-home a { text-decoration: none; color: inherit; }

.stherb-redesign-home .sr-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Utility bar (not sticky) ---------- */
.sr-utility-bar {
  background: var(--dark);
  color: #EDE7DA;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.sr-utility-bar .sr-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
}
.sr-utility-bar .sr-utility-left {
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}
.sr-utility-bar .sr-utility-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.sr-utility-bar .sr-utility-right a:hover { color: #fff; }
.sr-utility-divider { opacity: 0.4; }
.sr-lang-link { margin-left: 2px; opacity: 0.7; }
.sr-lang-link:hover, .sr-lang-current { opacity: 1; font-weight: 700; }
.sr-lang-dropdown {
  position: relative;
  margin-left: 6px;
}
.sr-lang-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  min-width: 118px;
  height: 12px;
}
.sr-lang-toggle,
.sr-lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #EDE7DA;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}
.sr-lang-toggle {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.sr-lang-flag {
  display: block;
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 1px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18);
}
.sr-lang-chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  opacity: 0.8;
}
.sr-lang-dropdown.sr-open .sr-lang-chevron {
  transform: rotate(-135deg);
  margin-top: 3px;
}
.sr-lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 120;
  min-width: 118px;
  padding: 7px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(34,30,24,0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.14s ease, visibility 0.14s ease, transform 0.14s ease;
}
.sr-lang-dropdown.sr-open .sr-lang-menu,
.sr-lang-dropdown:hover .sr-lang-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.sr-lang-option {
  padding: 8px 9px;
  border-radius: 6px;
  color: var(--ink);
}
.sr-lang-option:hover,
.sr-lang-option.sr-lang-current {
  background: var(--soft);
  color: var(--ink);
}
.sr-logo img, .sr-logo .custom-logo { height: 52px; width: auto; display: block; }

/* ---------- Header (sticky) ---------- */
.sr-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 241, 230, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.sr-header .sr-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}
.sr-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
}
.sr-logo img { height: 52px; width: auto; display: block; }

.sr-header,
.sr-utility-bar,
.sr-nav,
.sr-mega-panel,
.sr-header-icons,
.sr-mobile-panel,
.sr-hero {
  font-family: 'Mulish', system-ui, sans-serif;
}

.sr-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.sr-nav-item { position: relative; }
.sr-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding: 10px 0;
  cursor: pointer;
  white-space: nowrap;
}
.sr-nav-link .sr-chevron {
  width: 6px;
  height: 6px;
  border-right: 1.3px solid currentColor;
  border-bottom: 1.3px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  margin-left: -2px;
  opacity: 0.78;
  flex-shrink: 0;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.sr-nav-item:hover > .sr-nav-link .sr-chevron,
.sr-nav-item.sr-open > .sr-nav-link .sr-chevron { transform: rotate(-135deg); margin-top: 2px; opacity: 1; }

.sr-header-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.sr-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(34,30,24,0.05);
  color: var(--ink);
  font-size: 0;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.sr-icon-btn::before {
  content: '';
  width: 20px;
  height: 20px;
  display: block;
  background: currentColor;
  -webkit-mask: var(--sr-icon) center / contain no-repeat;
  mask: var(--sr-icon) center / contain no-repeat;
}
.sr-icon-btn[aria-label="Search"] {
  --sr-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.8-3.8'/%3E%3C/svg%3E");
}
.sr-icon-btn[aria-label="Account"] {
  --sr-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3C/svg%3E");
}
.sr-icon-btn:hover {
  background: #fff;
  border-color: #d9cdbc;
  transform: translateY(-1px);
}
.stherb-redesign-home .sr-cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 90px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 0;
  font-weight: 700;
  line-height: 1;
  position: relative;
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.stherb-redesign-home .sr-cart-btn::before {
  content: '';
  width: 21px;
  height: 21px;
  display: block;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3C/svg%3E") center / contain no-repeat;
}
.stherb-redesign-home .sr-cart-btn::after {
  content: 'Cart';
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}
.stherb-redesign-home .sr-cart-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}
.sr-cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border: 2px solid var(--surface);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}
.sr-hamburger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(34,30,24,0.05);
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 0;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.sr-hamburger::before {
  content: '';
  width: 20px;
  height: 20px;
  display: block;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='7' x2='20' y2='7'/%3E%3Cline x1='4' y1='12' x2='20' y2='12'/%3E%3Cline x1='4' y1='17' x2='20' y2='17'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='7' x2='20' y2='7'/%3E%3Cline x1='4' y1='12' x2='20' y2='12'/%3E%3Cline x1='4' y1='17' x2='20' y2='17'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sr-hamburger:hover {
  background: #fff;
  border-color: #d9cdbc;
  transform: translateY(-1px);
}

/* ---------- Mega menu (desktop) ---------- */
.sr-mega-panel {
  display: block;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 20px 44px rgba(34,30,24,0.14);
  padding: 28px;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.14s ease, visibility 0.14s ease, transform 0.14s ease;
}
.sr-nav-item:hover .sr-mega-panel,
.sr-nav-item.sr-open .sr-mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.sr-mega-panel ul { list-style: none; margin: 0; padding: 0; }

/* ---------- Products cascading flyout (3 levels) ---------- */
.sr-mega-flyout {
  left: 0;
  transform: translateY(4px);
  width: 660px;
  min-height: 300px;
  padding: 10px;
}
.sr-nav-item:hover .sr-mega-flyout,
.sr-nav-item.sr-open .sr-mega-flyout { transform: translateY(0); }
.sr-fly-l1 { width: 195px; }
.sr-fly-item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.sr-fly-item:hover > a { background: var(--soft); }
.sr-chevron-right {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  opacity: 0.55;
  flex-shrink: 0;
}
.sr-fly-col {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  border-left: 1px solid var(--border);
  padding: 20px 18px;
  overflow: visible;
  background: var(--surface);
}
.sr-fly-col2 { left: 205px; width: 225px; }
/* col3's containing block is col2 (nearest positioned ancestor), so
   left:100% lands it flush against col2's right edge. */
.sr-fly-col3 { left: 100%; width: 230px; border-radius: 0 16px 16px 0; }
.sr-fly-item:hover > .sr-fly-col,
.sr-fly-item.sr-fly-open > .sr-fly-col { display: block; }
.sr-fly-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.sr-fly-col2 .sr-fly-item > a { padding: 10px 12px; font-size: 14px; font-weight: 500; }
.sr-fly-leaves li a { display: block; padding: 8px 4px; font-size: 14px; font-weight: 500; color: var(--ink); }
.sr-fly-leaves li a:hover { color: var(--accent); }
.sr-mega-flyout .sr-mega-viewall { margin-top: 10px; margin-left: 4px; }

.sr-mega-panel.sr-mega-simple {
  min-width: 220px;
  left: 0;
  transform: translateY(4px);
  padding: 16px;
}
.sr-nav-item:hover .sr-mega-simple,
.sr-nav-item.sr-open .sr-mega-simple { transform: translateY(0); }
.sr-mega-simple ul { list-style: none; margin: 0; padding: 0; }
.sr-mega-simple li a {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.sr-mega-simple li a:hover { background: var(--soft); color: var(--accent); }

.sr-mega-products {
  width: min(960px, 94vw);
  display: flex;
  gap: 32px;
}
.sr-mega-group-label a { color: inherit; }
.sr-mega-group-label a:hover { color: var(--accent); }
.sr-mega-col { flex: 1; min-width: 0; }
.sr-mega-col-title {
  font-family: 'Mulish', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.sr-mega-group { margin-bottom: 16px; }
.sr-mega-group-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  display: block;
}
.sr-mega-group ul { list-style: none; margin: 0; padding: 0; }
.sr-mega-group li a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.sr-mega-group li a:hover { color: var(--accent); }
.sr-mega-viewall {
  display: inline-block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

/* ---------- Mobile nav ---------- */
.sr-mobile-panel {
  display: none;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.sr-mobile-panel.sr-mobile-open { display: block; }
.sr-mobile-item { border-bottom: 1px solid var(--border); }
.sr-mobile-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.sr-mobile-link {
  flex: 1;
  display: block;
  color: inherit;
}
.sr-mobile-item-head .sr-chevron {
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.sr-mobile-item.sr-open .sr-mobile-item-head .sr-chevron { transform: rotate(-135deg); }
.sr-mobile-sub { display: none; padding: 0 24px 14px 24px; }
.sr-mobile-item.sr-open .sr-mobile-sub { display: block; }
.sr-mobile-sub .sr-mega-group-label { margin-top: 10px; }
.sr-mobile-sub ul { list-style: none; margin: 0 0 4px 0; padding: 0; }
.sr-mobile-sub li a { display: block; padding: 6px 0; font-size: 14px; color: var(--ink); }

/* ---------- Hero carousel (7 slides, per-slide theme) ---------- */
.sr-hero {
  position: relative;
  background: transparent;
  padding: 0;
  overflow: hidden;
}
.sr-slides { display: grid; }
.sr-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.55s ease, visibility 0.55s ease;
  padding: 64px 0 72px;
  background: var(--slide-bg);
  --slide-bg: var(--bg);
  --cta-bg: var(--primary);
  --cta-ink: #fff;
  --outline: var(--ink);
}
.sr-slide.sr-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  position: relative;
  z-index: 1;
}
/* Promotion slide. Palette mirrors the august-refresh theme that /promotions/
   wears (see the SEASONAL THEMES block in promotions-redesign.css) -- repaint
   both together whenever 'theme' changes in stherb_promo_campaign(). */
.sr-slide-t2 {
  --slide-bg: linear-gradient(135deg, #DDECE7 0%, #EDF5F2 100%);
  --soft: #DDECE7;        /* the arch behind the hero media -- cream clashes here */
  --accent: #17756B;
  --accent-soft: #E2F0EC; /* the badge's icon circle */
  --cta-bg: #17756B;
  --cta-ink: #FFFFFF;
  --outline: #17756B;
}
/* Targeted rather than slide-wide: --ink and --muted are borrowed by
   .sr-hero-tag, and the site's warm --muted is only 3.8:1 on this mint. */
.stherb-redesign-home .sr-slide-t2 h1 { color: #1A2E2A; }
.stherb-redesign-home .sr-slide-t2 .sr-hero-body { color: #4E605C; }
.stherb-redesign-home .sr-slide-t2 .sr-promo-pill { border-color: #CFE2DC; color: #1A2E2A; }
.sr-slide-t3 { --slide-bg: linear-gradient(135deg, #D9F0E8 0%, #EAF7F1 100%); --cta-bg: #14532D; --outline: #14532D; }
.sr-slide-t4 {
  --slide-bg: #BCDDF6;
  --cta-bg: #1C6FAB;
  --cta-ink: #fff;
  --outline: #1C6FAB;
}
/* t4 sits on pale blue, so the cream-palette ink and muted tokens are replaced
   here only for the headline and body copy -- not slide-wide, because the
   BESTSELLER RITUAL chip borrows the same tokens and should stay as designed. */
.stherb-redesign-home .sr-slide-t4 h1 { color: #14304A; }
.stherb-redesign-home .sr-slide-t4 .sr-hero-body { color: #3E5668; }
.sr-slide-t5 { --slide-bg: linear-gradient(135deg, #D6E6F5 0%, #E9F1FA 100%); --cta-bg: #14304A; --outline: #14304A; }
.sr-slide-t6 { --slide-bg: linear-gradient(135deg, #F7DEE4 0%, #FBEDF0 100%); --cta-bg: #7A2E3E; --outline: #7A2E3E; }
.sr-slide-t7 { --slide-bg: linear-gradient(135deg, #E8DCC8 0%, #D9C6A8 100%); --cta-bg: #5C4A2E; --outline: #5C4A2E; }

.stherb-redesign-home .sr-slide .sr-btn-fill { background: var(--cta-bg); color: var(--cta-ink); }
.stherb-redesign-home .sr-slide .sr-btn-outline { border-color: var(--outline); color: var(--outline); }
.stherb-redesign-home .sr-slide .sr-btn-outline:hover { background: var(--outline); color: #fff; }

.sr-hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(34,30,24,0.14);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}
.sr-rainbow {
  width: 190px;
  height: 6px;
  border-radius: 999px;
  margin: -6px 0 18px;
  background: linear-gradient(90deg, #E4572E, #F3A712, #F7D488, #76B041, #1C6FAB, #7A4FBF);
}
.sr-promo-pill {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(34,30,24,0.08);
  margin-bottom: 24px;
}
.sr-checklist {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 440px;
  margin-bottom: 26px;
  box-shadow: 0 10px 22px rgba(34,30,24,0.07);
}
.sr-checklist-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
}
.sr-checklist-row strong { font-weight: 800; }
.sr-check {
  color: #14532D;
  font-weight: 800;
  flex-shrink: 0;
}
.sr-hero-info .sr-hero-rating-num { color: var(--accent); }

.sr-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  font-size: 17px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(34,30,24,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease;
}
.sr-hero-arrow:hover { transform: translateY(-50%) scale(1.06); }
.sr-hero-prev { left: 18px; }
.sr-hero-next { right: 18px; }

.sr-hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.sr-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(34,30,24,0.22);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}
.sr-dot.sr-active {
  width: 26px;
  background: var(--accent);
}
.sr-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.sr-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.sr-hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 1.5px;
  background: var(--accent);
  display: inline-block;
}
.sr-hero h1 {
  font-size: 52px;
  margin-bottom: 20px;
}
.sr-hero-body {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 460px;
  margin-bottom: 32px;
}
.sr-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.sr-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  border: 1.5px solid transparent;
}
/* .stherb-redesign-home prefix beats the generic `a { color: inherit }` rule */
.stherb-redesign-home .sr-btn-fill { background: var(--primary); color: #fff; }
.stherb-redesign-home .sr-btn-fill:hover { opacity: 0.88; }
.stherb-redesign-home .sr-btn-outline { border-color: var(--ink); color: var(--ink); }
.stherb-redesign-home .sr-btn-outline:hover { background: var(--ink); color: #fff; }

.sr-hero-media { position: relative; }
.sr-hero-media-frame {
  border-radius: 230px 230px 28px 28px;
  overflow: hidden;
  aspect-ratio: 6 / 7;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.sr-hero-media-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
/* Slides carrying a real cutout photo drop the cream arch panel entirely -- the
   transparent PNG/WebP floats straight on the slide gradient. */
.stherb-redesign-home .sr-hero-media-frame.sr-hero-media-bare {
  background: transparent;
  border-radius: 0;
  overflow: visible;
}
.stherb-redesign-home .sr-hero-media-frame.sr-hero-media-bare img {
  object-fit: contain;
}

.sr-hero-media-placeholder {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding: 32px;
}
.sr-hero-badge {
  position: absolute;
  top: 28px;
  right: -18px;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(34,30,24,0.14);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sr-hero-badge-icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; flex-shrink: 0;
}
.sr-hero-badge-text .sr-badge-big { font-weight: 800; font-size: 15px; color: var(--ink); display: block; }
.sr-hero-badge-text .sr-badge-small { font-size: 12px; color: var(--muted); }

.sr-hero-rating {
  position: absolute;
  bottom: 28px;
  left: -18px;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(34,30,24,0.14);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sr-hero-stars { color: #E8A93B; font-size: 14px; letter-spacing: 1px; }
.sr-hero-rating-num { font-weight: 800; font-size: 15px; }
.sr-hero-rating-caption { font-size: 12px; color: var(--muted); }

@media (max-width: 1180px) {
  .sr-header-icons { gap: 8px; }
  .sr-icon-btn,
  .sr-hamburger {
    width: 40px;
    height: 40px;
  }
  .sr-icon-btn::before {
    width: 18px;
    height: 18px;
  }
  .stherb-redesign-home .sr-cart-btn {
    min-width: 82px;
    height: 40px;
    padding: 0 14px;
    gap: 7px;
  }
  .stherb-redesign-home .sr-cart-btn::before {
    width: 19px;
    height: 19px;
  }
  .stherb-redesign-home .sr-cart-btn::after {
    font-size: 14px;
  }
}
@media (max-width: 980px) {
  .sr-nav { display: none; }
  .sr-hamburger { display: flex; }
}
@media (max-width: 544px) {
  .sr-logo img, .sr-logo .custom-logo { height: 42px; }
}
@media (max-width: 430px) {
  .sr-header .sr-container {
    padding-left: 16px;
    padding-right: 16px;
    gap: 10px;
  }
  .sr-logo img, .sr-logo .custom-logo { height: 42px; }
  .sr-logo { font-size: 18px; gap: 6px; }
  .sr-header-icons { gap: 6px; }
  .sr-icon-btn,
  .sr-hamburger {
    width: 36px;
    height: 36px;
  }
  .sr-icon-btn::before,
  .sr-hamburger::before {
    width: 17px;
    height: 17px;
  }
  .stherb-redesign-home .sr-cart-btn {
    min-width: 36px;
    width: 36px;
    height: 36px;
    padding: 0;
    gap: 0;
  }
  .stherb-redesign-home .sr-cart-btn::after { display: none; }
  .stherb-redesign-home .sr-cart-btn::before {
    width: 17px;
    height: 17px;
  }
  .sr-cart-badge {
    top: -4px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    font-size: 10px;
  }
}
@media (max-width: 900px) {
  .sr-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .sr-hero h1 { font-size: 38px; }
}
/* ---------- Shared section chrome ---------- */
.sr-section { padding: 84px 0; }
.sr-kicker {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.sr-section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.sr-section-head h2, .sr-about h2, .sr-cat-head h2, .sr-testi-head h2 { font-size: 40px; }
.sr-section-head p { color: var(--muted); font-size: 16px; margin: 12px 0 0; }

/* ---------- Trust bar ---------- */
.sr-trust { padding: 0 0 10px; background: var(--bg); }
.sr-trust-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 16px 34px rgba(34,30,24,0.08);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 22px 28px;
  margin-top: -34px;
  position: relative;
  z-index: 6;
}
.sr-trust-item { display: flex; align-items: center; gap: 12px; }
.sr-trust-icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; flex-shrink: 0;
}
.sr-trust-label { display: block; font-weight: 800; font-size: 14px; }
.sr-trust-caption { display: block; font-size: 12.5px; color: var(--muted); }

/* ---------- Bestsellers ---------- */
.sr-bestsellers { background: var(--bg); }
.sr-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.sr-product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(34,30,24,0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.sr-product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(34,30,24,0.10); }
.sr-product-tag {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  background: var(--primary);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 12px;
}
.sr-product-tag.sr-tag-blue { background: var(--accent); }
.sr-product-media {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  aspect-ratio: 1;
  padding: 10px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.sr-product-media img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; transition: transform 0.45s ease; }
.sr-product-card:hover .sr-product-media img { transform: scale(1.05); }
.sr-product-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.sr-product-cat {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.sr-product-name { font-size: 20px; line-height: 1.25; min-height: 2.5em; }
.sr-product-name a:hover { color: var(--accent); }
.sr-product-rating { display: flex; align-items: center; gap: 7px; min-height: 17px; font-size: 12.5px; color: var(--muted); }
.sr-stars { position: relative; display: inline-block; font-size: 13px; letter-spacing: 1px; color: #E2D9C8; line-height: 1; }
.sr-stars-fill { position: absolute; top: 0; left: 0; overflow: hidden; white-space: nowrap; color: #E8A93B; }
.sr-rating-none { font-style: italic; }
.sr-product-price {
  font-family: 'Cormorant', Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  margin-top: auto;
  padding-top: 12px;
}
.sr-product-price del { color: var(--muted); font-size: 17px; font-weight: 500; margin-right: 7px; }
.sr-product-price ins { text-decoration: none; color: var(--accent); }
.sr-product-price .tiered-pricing-you-save { display: none !important; }
.stherb-redesign-home .sr-add-btn {
  display: block;
  text-align: center;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  margin-top: 12px;
  transition: opacity 0.15s ease;
}
.stherb-redesign-home .sr-add-btn:hover { opacity: 0.88; }
.stherb-redesign-home .sr-add-btn.loading { opacity: 0.6; pointer-events: none; }
.stherb-redesign-home .sr-add-btn.added::after { content: ' \2713'; }
.sr-product-card .added_to_cart { display: none; }

/* ---------- About + stats ---------- */
.sr-about { background: var(--surface); }
.sr-about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.sr-about-copy > p { color: var(--muted); font-size: 16.5px; line-height: 1.7; margin: 18px 0 26px; }
.sr-signature {
  font-family: 'Cormorant', Georgia, serif;
  font-style: italic;
  font-size: 34px;
  color: var(--ink);
}
.sr-signature-caption { font-size: 12.5px; color: var(--muted); margin-bottom: 30px; }
.sr-stats { display: flex; gap: 40px; }
.sr-stat-num {
  display: block;
  font-family: 'Cormorant', Georgia, serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
}
.sr-stat-label { font-size: 13px; color: var(--muted); }
.sr-about-media { border-radius: 24px; overflow: hidden; background: var(--soft); aspect-ratio: 9 / 8; display: flex; align-items: center; justify-content: center; }
.sr-about-placeholder { text-align: center; color: var(--muted); font-size: 13px; padding: 32px; }
.sr-about-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Shop by category ---------- */
.sr-categories { background: var(--bg); }
.sr-cat-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}
.stherb-redesign-home .sr-viewall { color: var(--accent); font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.sr-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sr-cat-tile {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--soft);
  display: flex;
  align-items: flex-end;
  padding: 22px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 1px 2px rgba(34,30,24,0.06);
}
.sr-cat-tile:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(34,30,24,0.16); }
.sr-cat-tile-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.sr-cat-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(247,241,230,0) 52%, rgba(247,241,230,0.94) 100%);
  z-index: 1;
  pointer-events: none;
}
.sr-cat-tile-text { position: relative; z-index: 2; }
.sr-cat-tile-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.sr-cat-tile-name {
  display: block;
  font-family: 'Cormorant', Georgia, serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}

/* ---------- Testimonials ---------- */
.sr-testimonials { background: var(--surface); }
.sr-testi-head { text-align: center; margin-bottom: 40px; }
.sr-testi-card {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 52px 56px 30px;
  box-shadow: 0 18px 40px rgba(34,30,24,0.08);
}
.sr-quote-mark {
  position: absolute;
  top: 18px; left: 34px;
  font-family: 'Cormorant', Georgia, serif;
  font-size: 90px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.35;
}
.sr-testi-item { display: none; }
.sr-testi-item.sr-active { display: block; }
.sr-testi-quote {
  font-family: 'Cormorant', Georgia, serif;
  font-style: italic;
  font-size: 24px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 26px;
}
.sr-testi-person { display: flex; align-items: center; gap: 14px; }
.sr-testi-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; flex-shrink: 0;
}
.sr-testi-name { display: block; font-weight: 800; font-size: 14.5px; }
.sr-testi-caption { display: block; font-size: 12.5px; color: var(--muted); }
.sr-testi-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.sr-testi-arrow {
  width: 40px; height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease;
}
.sr-testi-arrow:hover { background: var(--soft); }
.sr-testi-dots { display: flex; gap: 8px; }

/* ---------- Footer ---------- */
.sr-footer {
  background: #141C24;
  color: #B8C0C9;
  padding: 70px 0 0;
  font-size: 14px;
}
.sr-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 48px;
}
.sr-footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
}
.sr-footer-logo img {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: contain;
}
.sr-footer-brand p { line-height: 1.7; margin: 0 0 22px; max-width: 300px; }
.sr-footer-social { display: flex; gap: 10px; }
.stherb-redesign-home .sr-footer-social a {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.stherb-redesign-home .sr-footer-social a::before {
  content: '';
  width: 18px;
  height: 18px;
  display: block;
  background: currentColor;
  -webkit-mask: var(--sr-icon) center / contain no-repeat;
  mask: var(--sr-icon) center / contain no-repeat;
}
.sr-footer-social a[aria-label="Instagram"] {
  --sr-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.3' cy='6.7' r='1.1' fill='black' stroke='none'/%3E%3C/svg%3E");
}
.sr-footer-social a[aria-label="Facebook"] {
  --sr-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M14 8.5h2.5V5.3c-.4-.06-1.9-.2-3.2-.2-3.2 0-5.3 1.9-5.3 5.4v2.7H4.7V17h3.3v7h3.7v-7h3.2l.5-3.8h-3.7v-2.3c0-1.1.3-1.9 1.9-1.9z'/%3E%3C/svg%3E");
}
.sr-footer-social a[aria-label="YouTube"] {
  --sr-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='6' width='19' height='12' rx='3.5'/%3E%3Cpath d='M10.5 9.7v4.6l4.2-2.3z' fill='black' stroke='none'/%3E%3C/svg%3E");
}
.sr-footer-social a[aria-label="WhatsApp"] {
  --sr-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.5 8.5 0 0 1-12.4 7.6L3 21l1.9-5.6A8.5 8.5 0 1 1 21 11.5z'/%3E%3Cpath d='M8.5 9.8c.2 3 2.7 5.5 5.7 5.7'/%3E%3C/svg%3E");
}
.stherb-redesign-home .sr-footer-social a:hover { background: var(--accent); border-color: var(--accent); }
.sr-footer-title {
  display: block;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.stherb-redesign-home .sr-footer-col a { display: block; padding: 6px 0; color: #B8C0C9; }
.stherb-redesign-home .sr-footer-col a:hover { color: #fff; }
/* Footer social icons are keyed on each link's own URL (see
   stherb_redesign_social_slug() in functions.php), so a social item added in
   Appearance > Menus gets the right icon whatever it is titled -- and an
   unrecognised link still renders a visible generic icon instead of an empty
   circle. The [aria-label] rules above remain as a title-based fallback. */
.sr-footer-social a.sr-social-instagram {
  --sr-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.3' cy='6.7' r='1.1' fill='black' stroke='none'/%3E%3C/svg%3E");
}
.sr-footer-social a.sr-social-facebook {
  --sr-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M14 8.5h2.5V5.3c-.4-.06-1.9-.2-3.2-.2-3.2 0-5.3 1.9-5.3 5.4v2.7H4.7V17h3.3v7h3.7v-7h3.2l.5-3.8h-3.7v-2.3c0-1.1.3-1.9 1.9-1.9z'/%3E%3C/svg%3E");
}
.sr-footer-social a.sr-social-youtube {
  --sr-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='6' width='19' height='12' rx='3.5'/%3E%3Cpath d='M10.5 9.7v4.6l4.2-2.3z' fill='black' stroke='none'/%3E%3C/svg%3E");
}
.sr-footer-social a.sr-social-whatsapp {
  --sr-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.5 8.5 0 0 1-12.4 7.6L3 21l1.9-5.6A8.5 8.5 0 1 1 21 11.5z'/%3E%3Cpath d='M8.5 9.8c.2 3 2.7 5.5 5.7 5.7'/%3E%3C/svg%3E");
}
.sr-footer-social a.sr-social-tiktok {
  --sr-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3v11.5a3.5 3.5 0 1 1-3.5-3.5'/%3E%3Cpath d='M14 6.2A5 5 0 0 0 19 9.5'/%3E%3C/svg%3E");
}
.sr-footer-social a.sr-social-x {
  --sr-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 4l16 16M20 4L4 20'/%3E%3C/svg%3E");
}
.sr-footer-social a.sr-social-line {
  --sr-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11c0 4-4 7.2-9 7.2-.7 0-1.4-.06-2-.17L5.5 21l.6-3.3C4.2 16.4 3 13.9 3 11c0-4 4-7.2 9-7.2s9 3.2 9 7.2z'/%3E%3C/svg%3E");
}
.sr-footer-social a.sr-social-linkedin {
  --sr-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Cpath d='M7.5 10.5V17M7.5 7.4v.1M11.5 17v-3.6a2.1 2.1 0 0 1 4.2 0V17'/%3E%3C/svg%3E");
}
.sr-footer-social a.sr-social-email {
  --sr-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='M3.6 6.5L12 12.6l8.4-6.1'/%3E%3C/svg%3E");
}
.sr-footer-social a.sr-social-link {
  --sr-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3.2 12h17.6M12 3.2c2.3 2.4 3.5 5.5 3.5 8.8S14.3 18.4 12 20.8c-2.3-2.4-3.5-5.5-3.5-8.8S9.7 5.6 12 3.2z'/%3E%3C/svg%3E");
}
/* Editor-only prompt shown when a footer column has no menu assigned yet. */
.stherb-redesign-home .sr-footer-menu-hint,
.stherb-redesign-home .sr-footer-menu-hint a {
  color: #8593A0;
  font-size: 12.5px;
  text-decoration: underline;
}
.sr-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 22px 0 26px;
  font-size: 12.5px;
  color: #8593A0;
  text-align: center;
}

/* ---------- Responsive: sections ---------- */
@media (max-width: 1100px) {
  .sr-products-grid, .sr-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .sr-trust-card { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .sr-section { padding: 60px 0; }
  .sr-section-head h2, .sr-about h2, .sr-cat-head h2, .sr-testi-head h2 { font-size: 32px; }
  .sr-about-grid { grid-template-columns: 1fr; gap: 32px; }
  .sr-about-media { order: -1; }
  .sr-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .sr-testi-card { padding: 44px 28px 24px; }
  .sr-hero-arrow { display: none; }
}
@media (max-width: 640px) {
  .sr-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .sr-product-card { border-radius: 14px; }
  .sr-product-body { padding: 14px 12px 16px; gap: 5px; }
  .sr-product-name { font-size: 16px; }
  .sr-product-cat { font-size: 10px; }
  .sr-product-rating { font-size: 12px; min-height: 16px; }
  .sr-product-price { font-size: 24px; padding-top: 10px; }
  .sr-product-price del { font-size: 14px; }
  .stherb-redesign-home .sr-add-btn { padding: 10px 8px; font-size: 13px; margin-top: 10px; }
  .sr-product-tag { top: 10px; left: 10px; font-size: 10px; padding: 4px 9px; }
  .sr-product-media { padding: 8px; }
  .sr-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .sr-cat-tile { padding: 16px; }
  .sr-cat-tile-name { font-size: 22px; }
}
@media (max-width: 560px) {
  .sr-utility-bar .sr-utility-left span:last-child { display: none; }
  .sr-trust-card { grid-template-columns: 1fr; }
  .sr-stats { gap: 18px; }
  .sr-stats > * { flex: 1; }
  .sr-stat-num { font-size: 30px; }
  .sr-footer-grid { grid-template-columns: 1fr; }
  .sr-testi-quote { font-size: 20px; }
}

/* ---------- Mini Cart Drawer ---------- */
.sr-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(34,30,24,0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  z-index: 200;
}
body.sr-cart-open .sr-cart-overlay { opacity: 1; visibility: visible; }
.sr-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 100vw);
  background: var(--surface);
  box-shadow: -18px 0 44px rgba(34,30,24,0.18);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  z-index: 201;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  font-family: 'Mulish', system-ui, sans-serif;
  color: var(--ink);
}
body.sr-cart-open .sr-cart-drawer { transform: translateX(0); }
.sr-cart-drawer-inner { display: flex; flex-direction: column; min-height: 100%; }
.sr-cart-drawer h3 { font-family: 'Cormorant', Georgia, serif; font-weight: 600; font-size: 20px; margin: 0; }
.sr-cart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}
.sr-cart-count { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.sr-cart-close {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 18px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
}
.sr-cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 32px;
}
.sr-cart-empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 14px;
}
.sr-cart-empty-title { font-family: 'Cormorant', Georgia, serif; font-size: 20px; font-weight: 600; margin: 0 0 6px; }
.sr-cart-empty-caption { color: var(--muted); font-size: 13px; max-width: 240px; margin: 0 0 20px; }
.sr-cart-body { flex: 1; padding: 20px 24px; display: flex; flex-direction: column; gap: 20px; }
.sr-cart-shipping-msg { font-size: 13px; font-weight: 700; margin: 0 0 8px; }
.sr-cart-shipping-done { color: var(--accent); }
.sr-cart-progress { height: 6px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.sr-cart-progress-fill { height: 100%; border-radius: 999px; background: var(--accent); transition: width 0.25s ease; }
.sr-cart-items { display: flex; flex-direction: column; gap: 16px; }
.sr-cart-item { position: relative; display: flex; gap: 12px; padding-bottom: 16px; padding-right: 20px; border-bottom: 1px solid var(--border); }
.sr-cart-item:last-child { border-bottom: 0; padding-bottom: 0; }
.sr-cart-item-media { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--soft); flex-shrink: 0; }
.sr-cart-item-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sr-cart-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.sr-cart-item-name { font-weight: 700; font-size: 14px; }
.sr-cart-item-sub { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; }
.sr-cart-item-row { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.sr-cart-qty { display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px; }
.sr-qty-btn { width: 20px; height: 20px; padding: 0; border: 0; background: transparent; font-size: 15px; line-height: 1; cursor: pointer; color: var(--ink); }
.sr-qty-val { font-size: 13px; font-weight: 700; min-width: 14px; text-align: center; }
.sr-cart-item-price { font-weight: 700; font-size: 14px; white-space: nowrap; }
.sr-cart-item-remove { position: absolute; top: 0; right: 0; width: 22px; height: 22px; border: 0; background: transparent; color: var(--muted); font-size: 16px; line-height: 1; cursor: pointer; }
.sr-cart-item-remove:hover { color: var(--ink); }
.sr-cart-coupon { display: flex; flex-direction: column; gap: 8px; }
.sr-coupon-form { display: flex; gap: 8px; }
.sr-coupon-input { flex: 1; min-width: 0; border: 1px solid var(--border); border-radius: 999px; padding: 10px 16px; font-size: 13px; background: var(--surface); color: var(--ink); }
.sr-coupon-apply { border: 0; border-radius: 999px; padding: 10px 18px; background: var(--primary); color: #fff; font-weight: 700; font-size: 13px; cursor: pointer; white-space: nowrap; }
.sr-coupon-message { font-size: 12px; color: var(--accent); min-height: 14px; }
.sr-coupon-message.sr-coupon-error { color: #B3423A; }
.sr-coupon-applied-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sr-coupon-applied-list li { display: flex; align-items: center; gap: 6px; background: var(--accent-soft); color: var(--accent); border-radius: 999px; padding: 4px 6px 4px 12px; font-size: 12px; font-weight: 700; }
.sr-coupon-remove { border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 14px; line-height: 1; }
.sr-cart-totals { display: flex; flex-direction: column; gap: 8px; }
.sr-cart-row { display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
.sr-cart-row.sr-cart-discount { color: var(--accent); }
.sr-cart-row.sr-cart-total { font-weight: 700; font-size: 16px; padding-top: 8px; border-top: 1px solid var(--border); }
.sr-cart-caption { color: var(--muted); font-size: 11px; margin: 0; }
.sr-cart-footer { padding: 20px 24px 26px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.sr-cart-checkout { display: block; text-align: center; }
.sr-cart-continue-link { text-align: center; font-size: 13px; color: var(--muted); }
.sr-cart-continue-link:hover { color: var(--ink); }
@media (max-width: 560px) {
  .sr-cart-drawer { width: 100vw; }
}

/* ---------------------------------------------------------------------------
   Mini cart quantity stepper -- 2026-07-31
   The old +/- buttons were 20x20 with no background, and the count was a
   <span> that could not be typed into. Rules are prefixed with
   .stherb-redesign-home so Astra's global button/input styling loses on
   specificity (same lesson as the Worldwide Shipping fix).
--------------------------------------------------------------------------- */
.stherb-redesign-home .sr-cart-qty { display: flex; align-items: center; gap: 2px; border: 1px solid var(--border); border-radius: 999px; padding: 3px; }
.stherb-redesign-home .sr-qty-btn {
  position: relative;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  min-height: 0;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  color: var(--ink);
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.08s ease;
  -webkit-tap-highlight-color: transparent;
}
/* Stretches the tap target past 44px without changing how big the button looks. */
.stherb-redesign-home .sr-qty-btn::after { content: ''; position: absolute; top: -6px; right: -6px; bottom: -6px; left: -6px; }
.stherb-redesign-home .sr-qty-btn:hover { background: var(--accent-soft); color: var(--accent); }
.stherb-redesign-home .sr-qty-btn:active { transform: scale(0.9); }
.stherb-redesign-home .sr-qty-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.stherb-redesign-home input.sr-qty-input {
  width: 46px;
  height: 34px;
  min-height: 0;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 34px;
  text-align: center;
  color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
}
.stherb-redesign-home input.sr-qty-input:focus {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  background: var(--surface);
}
.sr-qty-val { font-size: 14px; font-weight: 700; min-width: 20px; text-align: center; }

.stherb-redesign-home .sr-cart-item { padding-right: 34px; }
.stherb-redesign-home .sr-cart-item-remove {
  position: absolute;
  top: -6px;
  right: -4px;
  width: 32px;
  height: 32px;
  min-height: 0;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.stherb-redesign-home .sr-cart-item-remove:hover { background: var(--soft); color: var(--ink); }

/* The quantity itself updates instantly; money waits on the server, so dim it
   rather than letting a stale price sit there looking authoritative. */
.sr-cart-drawer-inner .sr-cart-item-price,
.sr-cart-drawer-inner .sr-cart-shipping,
.sr-cart-drawer-inner .sr-cart-totals { transition: opacity 0.18s ease; }
.sr-cart-drawer-inner.sr-cart-syncing .sr-cart-item-price,
.sr-cart-drawer-inner.sr-cart-syncing .sr-cart-shipping,
.sr-cart-drawer-inner.sr-cart-syncing .sr-cart-totals { opacity: 0.42; }
.sr-cart-item.sr-cart-item-removing { opacity: 0.4; pointer-events: none; }

.sr-cart-alert {
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: #FBE9E7;
  color: #B3423A;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.sr-cart-alert:empty { display: none; }

@media (max-width: 560px) {
  .stherb-redesign-home .sr-qty-btn { flex-basis: 38px; width: 38px; height: 38px; }
  .stherb-redesign-home input.sr-qty-input { width: 50px; height: 38px; line-height: 38px; font-size: 15px; }
}

/* Mini-cart totals breakdown (2026-08-03): the promotion discount arrives as a
   negative cart fee and shipping was invisible, so the drop from Subtotal to
   Total looked unexplained. Both are itemised rows now. */
.sr-cart-row.sr-cart-fee { color: var(--ink); }
.sr-cart-row.sr-cart-discount span:last-child { font-weight: 600; }
.sr-cart-row.sr-cart-ship { align-items: flex-start; }
.sr-cart-ship-label { display: flex; flex-direction: column; gap: 2px; }
.sr-cart-ship-method { font-size: 11px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.sr-cart-ship-pending { color: var(--muted); font-size: 12px; }
.sr-cart-free { color: var(--accent); font-weight: 700; letter-spacing: 0.06em; }
.sr-cart-item-price .sr-cart-free { font-size: 13px; }
.sr-cart-item-sub.sr-cart-item-gift { color: var(--accent); font-weight: 700; }
