/* ─── Sunnah Club Design System ────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0&display=swap');

/* ─── CSS Custom Properties ─────────────────────────────────────────────────── */

:root {
  /* Shared palette */
  --color-background:                #fbf9f5;
  --color-foreground:                #1b1c1a;
  --color-surface:                   #fbf9f5;
  --color-surface-dim:               #dbdad6;
  --color-surface-bright:            #fbf9f5;
  --color-surface-container-lowest:  #ffffff;
  --color-surface-container-low:     #f5f3ef;
  --color-surface-container:         #efeeea;
  --color-surface-container-high:    #eae8e4;
  --color-surface-container-highest: #e4e2de;
  --color-surface-variant:           #e4e2de;
  --color-outline:                   #707976;
  --color-outline-variant:           #bfc9c5;
  --color-error:                     #ba1a1a;
  --color-error-container:           #ffdad6;

  /* Homepage palette (black + amber) */
  --color-home-primary:              #1A1A1A;
  --color-home-primary-container:    #262626;
  --color-home-secondary:            #B4842C;
  --color-home-secondary-container:  #fed488;
  --color-home-tertiary:             #D7C3AE;
  --color-home-on-primary:           #ffffff;

  /* Shop/Product/Quiz palette (green + gold) */
  --color-brand-primary:             #00322a;
  --color-brand-primary-container:   #004b40;
  --color-brand-secondary:           #775a19;
  --color-brand-secondary-container: #fed488;
  --color-brand-tertiary:            #312b1b;
  --color-brand-on-primary:          #ffffff;
  --color-brand-on-surface:          #1b1c1a;
  --color-brand-on-surface-variant:  #3f4946;

  /* Spacing */
  --spacing-18: 4.5rem;
  --spacing-22: 5.5rem;
  --spacing-30: 7.5rem;

  /* Border radius */
  --radius-xs: 0.125rem;
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
}

/* ─── Base Reset & Defaults ──────────────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Mulish', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  background-color: var(--color-background);
  color: var(--color-foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

::selection {
  background-color: rgba(119, 90, 25, 0.2);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul, ol {
  list-style: none;
}

button {
  font-family: 'Cinzel', serif;
  cursor: pointer;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: 'Cinzel', serif;
}

/* ─── Material Symbols ───────────────────────────────────────────────────────── */

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
  font-size: inherit;
  line-height: 1;
}

/* ─── Utility Classes ────────────────────────────────────────────────────────── */

.ghost-border {
  border: 1px solid rgba(191, 201, 197, 0.15);
}

.glass-nav {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.maqam-shadow {
  box-shadow: 0 32px 64px -12px rgba(0, 50, 42, 0.06);
}

.shadow-ambient {
  box-shadow: 0 20px 60px -15px rgba(27, 28, 26, 0.06);
}

.shadow-ambient-lg {
  box-shadow: 0 32px 80px -20px rgba(27, 28, 26, 0.08);
}

.no-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ─── Layout Containers ──────────────────────────────────────────────────────── */

.sc-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sc-container--wide {
  max-width: 1920px;
}

.sc-container--narrow {
  max-width: 900px;
}

/* ─── Top Banner ─────────────────────────────────────────────────────────────── */

.sc-top-banner {
  background-color: var(--color-brand-primary, #00322a);
  color: var(--color-brand-secondary-container, #fed488);
  padding: 0.75rem 1rem;
  text-align: center;
  position: relative;
  z-index: 60;
}

.sc-top-banner p {
  font-family: 'Cinzel', serif;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

@media (min-width: 768px) {
  .sc-top-banner p {
    font-size: 0.75rem;
  }
}

/* ─── Navigation ─────────────────────────────────────────────────────────────── */

.sc-nav {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 50;
  background-color: rgba(251, 249, 245, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.3s;
}

.sc-nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  max-width: 1920px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .sc-nav__inner {
    padding: 1.25rem 3rem;
  }
}

.sc-nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.2s;
}
.sc-nav__logo:hover {
  transform: scale(1.02);
}

.sc-nav__logo-icon {
  display: none;
}

@media (min-width: 640px) {
  .sc-nav__logo-icon {
    display: block;
    width: 36px;
    height: 36px;
    object-fit: contain;
  }
}

.sc-nav__logo-name {
  height: 24px;
  width: auto;
  object-fit: contain;
}

.sc-nav__links {
  display: none;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .sc-nav__links {
    display: flex;
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .sc-nav__links {
    gap: 2.5rem;
  }
}

.sc-nav__link {
  font-family: 'Cinzel', serif;
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(27, 28, 26, 0.72); /* was 0.6 = 4.43:1, below WCAG AA 4.5 */
  transition: color 0.3s;
  white-space: nowrap;
}
.sc-nav__link:hover,
.sc-nav__link.active {
  color: var(--color-home-secondary);
}

.sc-nav__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.sc-nav__action-btn {
  color: var(--color-home-primary);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  font-size: 1.5rem;
}
.sc-nav__action-btn:hover {
  color: var(--color-home-secondary);
}

.sc-nav__action-btn .material-symbols-outlined {
  font-size: 1.5rem;
}

.sc-nav__hamburger {
  display: flex;
  align-items: center;
  color: var(--color-home-primary);
  font-size: 1.5rem;
}

@media (min-width: 768px) {
  .sc-nav__hamburger {
    display: none;
  }
}

/* Mobile Menu */
.sc-nav__mobile {
  display: none;
  background-color: var(--color-surface);
  border-top: 1px solid rgba(191, 201, 197, 0.15);
  padding: 0 1.5rem 1.5rem;
}

.sc-nav__mobile.is-open {
  display: block;
}

.sc-nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 1rem;
}

.sc-nav__mobile-link {
  font-family: 'Cinzel', serif;
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  color: rgba(27, 28, 26, 0.7);
  transition: color 0.2s;
  padding: 0.625rem 0;
  display: block;
}
.sc-nav__mobile-link:hover {
  color: var(--color-home-secondary);
}

/* ─── Footer ─────────────────────────────────────────────────────────────────── */

.sc-footer {
  background-color: var(--color-brand-primary, #00322a);
  color: #fbf9f5;
  width: 100%;
  padding: 2rem 2rem 1.25rem;
}

.sc-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
}

/* Top row: brand | links | socials side by side on desktop */
.sc-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
}

@media (max-width: 767px) {
  .sc-footer__top {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }
}

.sc-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .sc-footer__brand { align-items: center; }
}

.sc-footer__logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  /* Dark logo artwork → render in cream/white on the green footer */
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.sc-footer__tagline {
  margin: 0;
  font-family: 'Mulish', system-ui, sans-serif;
  font-size: 0.9375rem;
  color: rgba(251, 249, 245, 0.65);
  letter-spacing: 0.01em;
}

.sc-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.75rem;
}

.sc-footer__link {
  font-family: 'Cinzel', serif;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: rgba(251, 249, 245, 0.72);
  transition: color 0.2s;
}
.sc-footer__link:hover {
  color: var(--color-brand-secondary-container, #fed488);
}

.sc-footer__copy {
  margin: 1.25rem 0 0;
  width: 100%;
  padding-top: 1rem;
  border-top: 1px solid rgba(251, 249, 245, 0.14);
  text-align: center;
  color: rgba(251, 249, 245, 0.72); /* was 0.5 = 4.44:1, below WCAG AA 4.5 */
  font-family: 'Cinzel', serif;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

/* ─── Hero Section ───────────────────────────────────────────────────────────── */

/* ─── Hero — premium split (text + gift-box studio shot) ─────────────────────── */

.sc-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(119, 90, 25, 0.06), transparent 60%),
    linear-gradient(180deg, #fbf9f5 0%, #f5f0e6 100%);
}

.sc-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.5rem 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .sc-hero__inner {
    flex-direction: row;
    align-items: center;
    gap: 3.5rem;
    padding: 4.5rem 3rem 4.5rem;
    min-height: 640px;
  }
}

/* Text column */
.sc-hero__text {
  flex: 1 1 0;
  max-width: 36rem;
  text-align: center;
}

@media (min-width: 900px) {
  .sc-hero__text {
    text-align: left;
  }
}

.sc-hero__eyebrow {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-brand-secondary, #775a19);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.sc-hero__eyebrow::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 2.5rem;
  height: 1px;
  background: var(--color-brand-secondary, #775a19);
  opacity: 0.5;
}

@media (min-width: 900px) {
  .sc-hero__eyebrow::after { left: 0; transform: none; }
}

.sc-hero__heading {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  color: var(--color-brand-primary, #00322a);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 1.5rem;
}

.sc-hero__heading-accent {
  display: block;
  color: var(--color-brand-secondary, #775a19);
  font-weight: 600;
}

.sc-hero__sub {
  font-family: 'Mulish', system-ui, sans-serif;
  font-size: 1.25rem;
  color: rgba(27, 28, 26, 0.7);
  margin: 0 0 2rem;
  max-width: 32rem;
  line-height: 1.6;
}

@media (min-width: 900px) {
  .sc-hero__sub { margin-left: 0; margin-right: 0; }
}

.sc-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
}

@media (min-width: 900px) {
  .sc-hero__ctas { justify-content: flex-start; }
}

/* Trust microline */
.sc-hero__trust {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  justify-content: center;
}

@media (min-width: 900px) {
  .sc-hero__trust { justify-content: flex-start; }
}

.sc-hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Cinzel', serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(27, 28, 26, 0.72); /* raised from 0.6 = 4.43:1, below WCAG AA 4.5 */
}

.sc-hero__trust .material-symbols-outlined {
  font-size: 1.05rem;
  color: var(--color-brand-secondary, #775a19);
}

/* Image column */
.sc-hero__media {
  flex: 1 1 0;
  position: relative;
  width: 100%;
  max-width: 30rem;
  display: flex;
  justify-content: center;
}

@media (min-width: 900px) {
  .sc-hero__media { max-width: none; }
}

.sc-hero__media-glow {
  position: absolute;
  inset: 8% 12%;
  background: radial-gradient(circle, rgba(119, 90, 25, 0.18), transparent 70%);
  filter: blur(60px);
  z-index: 0;
}

.sc-hero__media-card {
  position: relative;
  z-index: 1;
  border-radius: 1rem;
  overflow: hidden;
  background: #ffffff;
  box-shadow:
    0 1px 1px rgba(27, 28, 26, 0.04),
    0 18px 50px rgba(27, 28, 26, 0.16);
  width: 100%;
  max-width: 26rem;
}

/* On desktop, let the hero image fill its column instead of sitting small
   inside it. The source is 1024x1024, so it can grow to ~590px with no loss
   of sharpness. The image is square, so its height tracks its width — it
   can't match the text column's height exactly without squeezing the text,
   but filling the column brings the two sides visually level. */
@media (min-width: 900px) {
  .sc-hero__media-card { max-width: none; }
}

.sc-hero__media-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}


.sc-btn {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 1rem 2rem;
  transition: all 0.3s;
  text-align: center;
  cursor: pointer;
  border: none;
}

.sc-btn--primary-amber {
  background-color: var(--color-brand-secondary); /* white-on-gold was 3.35:1 */
  color: #ffffff;
}
.sc-btn--primary-amber:hover {
  background-color: #ffffff;
  color: var(--color-home-primary);
}

.sc-btn--outline-white {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  backdrop-filter: blur(4px);
}
.sc-btn--outline-white:hover {
  background-color: #ffffff;
  color: var(--color-home-primary);
}

.sc-btn--primary-green {
  background-color: var(--color-brand-primary);
  color: #ffffff;
}
.sc-btn--primary-green:hover {
  background-color: var(--color-brand-primary-container);
}

.sc-btn--outline-green {
  border: 1px solid var(--color-brand-primary);
  color: var(--color-brand-primary);
  background: none;
}
.sc-btn--outline-green:hover {
  background-color: var(--color-surface-container-low);
}

/* ─── Shop by Category ───────────────────────────────────────────────────────── */

.sc-categories {
  padding: 4rem 1.5rem;
  background-color: #ffffff;
}

@media (min-width: 768px) {
  .sc-categories {
    padding: 5rem 3rem;
  }
}

.sc-categories__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.sc-categories__heading {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  color: var(--color-home-primary);
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .sc-categories__heading {
    font-size: 1.875rem;
    margin-bottom: 3rem;
  }
}

.sc-categories__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .sc-categories__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .sc-categories__grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
  }
}

.sc-category-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.sc-category-card__title {
  font-family: 'Cinzel', serif;
  font-size: 1.125rem;
  color: var(--color-home-primary);
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-align: center;
}

.sc-category-card__image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  aspect-ratio: 1;
  background-color: var(--color-surface-container-high);
}

.sc-category-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.sc-category-card:hover .sc-category-card__image {
  transform: scale(1.05);
}

.sc-category-card__cta {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-brand-secondary); /* white-on-gold was 3.35:1 */
  color: #ffffff;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 1.25rem;
  white-space: nowrap;
  transition: background-color 0.2s;
  z-index: 10;
}

.sc-category-card:hover .sc-category-card__cta {
  background-color: rgba(119, 90, 25, 0.95);
}

/* ─── Best Sellers ───────────────────────────────────────────────────────────── */

/* ─── Best Sellers ───────────────────────────────────────────────────────────── */

.sc-bestsellers {
  padding: 5rem 1.5rem;
  background-color: var(--color-surface-container-low);
  overflow: hidden;
}

@media (min-width: 768px) {
  .sc-bestsellers {
    padding: 6rem 3rem;
  }
}

.sc-bestsellers__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.sc-bestsellers__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .sc-bestsellers__header {
    margin-bottom: 3rem;
  }
}

.sc-bestsellers__heading {
  font-family: 'Cinzel', serif;
  font-size: 1.875rem;
  color: var(--color-home-primary);
  font-weight: 700;
}

@media (min-width: 768px) {
  .sc-bestsellers__heading {
    font-size: 2.25rem;
  }
}

.sc-bestsellers__shopall {
  font-family: 'Cinzel', serif;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-brand-secondary) /* #B4842C failed AA (3.35:1); use the darker brand gold 6.44:1 */
  border-bottom: 1px solid rgba(180, 132, 44, 0.3);
  padding-bottom: 0.25rem;
  transition: border-color 0.2s;
}
.sc-bestsellers__shopall:hover {
  border-color: var(--color-home-secondary);
}

.sc-bestsellers__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .sc-bestsellers__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .sc-bestsellers__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .sc-bestsellers__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.sc-product-card {
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.sc-product-card__image-wrap {
  position: relative;
  aspect-ratio: 4/5;
  background-color: var(--color-surface-container-high);
  overflow: hidden;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.sc-product-card__image-inner {
  position: relative;
  width: 100%;
  height: 82%;
  transition: transform 0.5s;
}

/* Bundle Boxes — a touch larger than other cards (curated multi-item scenes
   sit in roomy source photos, so a modest scale fills the card better). */
#bundle .sc-product-card__image {
  transform: scale(1.18);
  transform-origin: center center;
  transition: transform 0.5s;
}

#bundle .sc-product-card:hover .sc-product-card__image {
  transform: scale(1.3); /* 1.18 × ~1.1 hover */
}

/* Sunnah Box & Sunnah Box Plus photos have extra whitespace around the
   products — scale them up more so they fill the card like the Gift Box.

   ⚠️ These class names come from the PRODUCT SLUG
   (`sc-product-card--<slug>`, set in woocommerce/archive-product.php).
   If a slug changes, the selector silently stops matching and the image
   quietly shrinks back — no error, easy to miss.

   `the-sunnah-essentials` IS the "Sunnah Box": the live site's slug for it,
   which this build was aligned to for the migration. Both slugs are listed
   so the rule survives either naming. */
#bundle .sc-product-card--sunnah-box .sc-product-card__image,
#bundle .sc-product-card--the-sunnah-essentials .sc-product-card__image,
#bundle .sc-product-card--sunnah-box-plus .sc-product-card__image {
  transform: scale(1.5);
}

#bundle .sc-product-card--sunnah-box:hover .sc-product-card__image,
#bundle .sc-product-card--the-sunnah-essentials:hover .sc-product-card__image,
#bundle .sc-product-card--sunnah-box-plus:hover .sc-product-card__image {
  transform: scale(1.62);
}

.sc-product-card:hover .sc-product-card__image-inner {
  transform: scale(1.1);
}

.sc-product-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sc-product-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: #ffffff;
  font-family: 'Cinzel', serif;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.25rem 0.5rem;
}

.sc-product-card__badge--amber { background-color: var(--color-brand-secondary); } /* white-on-#B4842C was 3.35:1 */
.sc-product-card__badge--dark  { background-color: var(--color-home-primary); }
.sc-product-card__badge--green { background-color: var(--color-brand-secondary); }

.sc-product-card__details {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.sc-product-card__name {
  font-family: 'Cinzel', serif;
  font-size: 0.9375rem;
  color: var(--color-brand-primary);
  font-weight: 700;
  margin-bottom: 0;
  flex: 1;
}

.sc-product-card__stars {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  margin-bottom: 0.5rem;
}

.sc-product-card__star {
  color: var(--color-brand-secondary);
  font-size: 0.875rem;
  line-height: 1;
}

.sc-product-card__star .material-symbols-outlined {
  font-size: 0.875rem;
}

.sc-product-card__review-count {
  font-size: 0.75rem;
  color: #666666;
  font-weight: 700;
  margin-left: 0.25rem;
}

.sc-product-card__price {
  font-family: 'Cinzel', serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-brand-secondary);
  margin-bottom: 0;
  white-space: nowrap;
}

/* "Add to Cart" full-width button on homepage product cards */
.sc-product-card__cta {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #ffffff;
  background-color: var(--color-home-primary);
  text-align: center;
  padding: 0.875rem 1rem;
  margin-top: 0.75rem;
  transition: background-color 0.2s;
}

.sc-product-card:hover .sc-product-card__cta {
  background-color: var(--color-home-secondary);
}

/* Quick Add overlay button */
.sc-quick-add {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-brand-primary);
  color: #ffffff;
  padding: 0.875rem 1rem;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-align: center;
  border: none;
  cursor: pointer;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.2s;
  z-index: 2;
}

.sc-product-card:hover .sc-quick-add {
  transform: translateY(0);
  opacity: 1;
}

.sc-quick-add:hover {
  background-color: var(--color-brand-secondary);
}

/* Always visible on touch/mobile — no hover state */
@media (hover: none) {
  .sc-quick-add {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ─── Subscription Feature ───────────────────────────────────────────────────── */

.sc-subscription {
  padding: 6rem 1.5rem 0;
  background-color: #ffffff;
}

@media (min-width: 768px) {
  .sc-subscription {
    padding: 8rem 3rem 0;
  }
}

.sc-subscription__inner {
  max-width: 1920px;
  margin: 0 auto;
}

.sc-subscription__header {
  text-align: center;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .sc-subscription__header {
    margin-bottom: 5rem;
  }
}

.sc-section-label {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-brand-secondary) /* #B4842C failed AA (3.35:1); use the darker brand gold 6.44:1 */
  font-weight: 700;
  display: block;
  margin-bottom: 1rem;
}

.sc-section-label--green {
  color: var(--color-brand-secondary);
}

.sc-subscription__heading {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-home-primary);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.sc-subscription__sub {
  font-family: 'Cinzel', serif;
  font-size: 1.125rem;
  color: rgba(27, 28, 26, 0.72) /* raised from rgba(27, 28, 26, 0.5) = 3.31:1, below WCAG AA 4.5 */;
  max-width: 40rem;
  margin: 0 auto;
  line-height: 1.7;
}

.sc-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .sc-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .sc-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
}

.sc-step {
  text-align: center;
}

.sc-step__icon {
  width: 5rem;
  height: 5rem;
  background-color: var(--color-surface-container-low);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border: 1px solid rgba(191, 201, 197, 0.15);
  transition: background-color 0.2s;
  font-size: 1.875rem;
  color: var(--color-home-secondary);
}

.sc-step:hover .sc-step__icon {
  background-color: rgba(180, 132, 44, 0.1);
}

.sc-step__icon .material-symbols-outlined {
  font-size: 1.875rem;
  color: var(--color-home-secondary);
}

.sc-step__title {
  font-family: 'Cinzel', serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-home-primary);
  margin-bottom: 0.75rem;
}

.sc-step__desc {
  font-size: 0.875rem;
  color: rgba(27, 28, 26, 0.72) /* raised from rgba(27, 28, 26, 0.4) = 2.49:1, below WCAG AA 4.5 */;
  line-height: 1.6;
}

.sc-subscription__image-wrap {
  width: calc(100% + 3rem);
  margin: 4rem -1.5rem 0;
  position: relative;
}

@media (min-width: 768px) {
  .sc-subscription__image-wrap {
    width: calc(100% + 6rem);
    margin: 4rem -3rem 0;
  }
}

.sc-subscription__image {
  display: block;
  width: 100%;
  height: auto;
}

.sc-subscription__cta {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  white-space: nowrap;
}

/* ─── Brand Story ────────────────────────────────────────────────────────────── */

/* Brand Story — light editorial band with a full-bleed image half.
   The dark image supplies the contrast, so the type half stays calm and
   readable (Mulish body, AA-passing colours) instead of grey-on-black. */

.sc-brandstory {
  background-color: var(--color-background);
  position: relative;
  overflow: hidden;
}

.sc-brandstory__inner {
  max-width: 100%;
  margin: 0;
  position: relative;
  z-index: 10;
}

.sc-brandstory__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
}

@media (min-width: 900px) {
  .sc-brandstory__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Image runs edge-to-edge on its half — no frame, no offset, no glow */
.sc-brandstory__image-col {
  position: relative;
  min-height: 20rem;
}

@media (min-width: 900px) {
  .sc-brandstory__image-col {
    min-height: 38rem;
  }
}

.sc-brandstory__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Type half — generous padding, capped measure for comfortable reading */
.sc-brandstory__text-col {
  display: flex;
  align-items: center;
  padding: 3.5rem 1.5rem;
  color: var(--color-foreground);
}

@media (min-width: 900px) {
  .sc-brandstory__text-col {
    padding: 5rem clamp(2.5rem, 5vw, 5.5rem);
  }
}

.sc-brandstory__text-inner {
  max-width: 34rem;
}

.sc-brandstory__heading {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 700;
  color: var(--color-brand-primary);
  line-height: 1.18;
  margin: 0 0 1.25rem;
}

.sc-brandstory__para {
  font-family: 'Mulish', system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  font-weight: 400;
  color: rgba(27, 28, 26, 0.78);
  line-height: 1.7;
  margin: 0 0 1.5rem;
}

.sc-brandstory__quote {
  font-family: 'Mulish', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  font-style: italic;
  color: rgba(27, 28, 26, 0.72);
  line-height: 1.65;
  margin: 0 0 2rem;
  border-left: 2px solid var(--color-brand-secondary);
  padding-left: 1.25rem;
}

.sc-brandstory__link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-brand-secondary);
  font-family: 'Cinzel', serif;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: gap 0.2s ease;
}
.sc-brandstory__link:hover {
  gap: 1.15rem;
}

/* ─── Shop Page ──────────────────────────────────────────────────────────────── */

.sc-shop-jumpbar {
  position: sticky;
  top: 73px;
  z-index: 40;
  background-color: rgba(245, 243, 239, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(191, 201, 197, 0.15);
  padding: 1rem 1.5rem;
}

@media (min-width: 768px) {
  .sc-shop-jumpbar {
    top: 77px;
    padding: 1rem 3rem;
  }
}

.sc-shop-jumpbar__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sc-shop-jumpbar__links {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.sc-shop-jumpbar__links::-webkit-scrollbar { display: none; }

@media (min-width: 768px) {
  .sc-shop-jumpbar__links {
    gap: 2rem;
  }
}

.sc-shop-jumpbar__link {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: rgba(27, 28, 26, 0.72); /* raised from 0.5 = 3.23:1, below WCAG AA 4.5 */
  white-space: nowrap;
  transition: color 0.2s;
}
.sc-shop-jumpbar__link:hover {
  color: var(--color-brand-primary);
}

.sc-shop-filter {
  display: none;
  align-items: center;
  gap: 0.5rem;
  color: rgba(27, 28, 26, 0.72); /* was 0.3 = 1.9:1 — all but invisible */
}

@media (min-width: 1024px) {
  .sc-shop-filter {
    display: flex;
  }
}

/* Only the text label — NOT the icon.
   `.sc-shop-filter span` (0,1,1) outranked `.material-symbols-outlined` (0,1,0)
   and forced Cinzel + uppercase onto the icon, which breaks the Material
   Symbols ligature so it rendered the literal text "filter_list". */
.sc-shop-filter span:not(.material-symbols-outlined) {
  font-family: 'Cinzel', serif;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.sc-shop-content {
  padding: 2rem 1.5rem 6rem;
  max-width: 1440px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .sc-shop-content {
    padding: 3rem 3rem 6rem;
  }
}

.sc-category-section {
  margin-bottom: 5rem;
}

.sc-category-section__title {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-brand-primary);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .sc-category-section__title {
    font-size: 1.875rem;
  }
}

.sc-category-section__subtitle {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: rgba(27, 28, 26, 0.72); /* raised from low opacity = 3.27:1, below AA */
  font-style: italic;
  margin-bottom: 2rem;
}

.sc-shop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .sc-shop-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .sc-shop-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

/* ─── Single Product Page ────────────────────────────────────────────────────── */

.sc-product-page {
  padding: 2rem 1.5rem 4rem;
  max-width: 1440px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .sc-product-page {
    padding: 2rem 3rem 6rem;
  }
}

.sc-product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .sc-product-layout {
    grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
    gap: 3rem;
  }
}

/* Gallery */
.sc-product-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .sc-product-gallery {
    flex-direction: row;
    gap: 1.5rem;
  }
}

.sc-product-gallery__thumbs {
  display: flex;
  gap: 0.75rem;
  order: 2;
}

@media (min-width: 768px) {
  .sc-product-gallery__thumbs {
    flex-direction: column;
    order: 1;
    gap: 1rem;
  }
}

.sc-product-gallery__thumb {
  width: 3.5rem;
  height: 3.5rem;
  border: 2px solid transparent;
  overflow: hidden;
  background-color: var(--color-surface-container-low);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s;
}

@media (min-width: 768px) {
  .sc-product-gallery__thumb {
    width: 4rem;
    height: 4rem;
  }
}

.sc-product-gallery__thumb.active,
.sc-product-gallery__thumb:hover {
  border-color: var(--color-brand-secondary);
}

.sc-product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sc-product-gallery__main {
  flex: 1;
  order: 1;
}

@media (min-width: 768px) {
  .sc-product-gallery__main {
    order: 2;
  }
}

.sc-product-gallery__main-wrap {
  aspect-ratio: 1;
  background-color: var(--color-surface-container-low);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}

.sc-product-gallery__main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Product Info */
.sc-product-info__name {
  font-family: 'Cinzel', serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-brand-primary);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.sc-product-info__rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.sc-product-info__stars {
  display: flex;
  gap: 0.125rem;
  color: var(--color-brand-secondary); /* #B4842C was 3.18:1 — stars convey rating */
}

.sc-product-info__stars .material-symbols-outlined {
  font-size: 1rem;
}

.sc-product-info__review-count {
  font-size: 0.875rem;
  color: var(--color-brand-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sc-product-info__price {
  font-family: 'Cinzel', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-brand-primary);
  margin-bottom: 1rem;
}

.sc-product-info__short-desc {
  font-family: 'Mulish', system-ui, sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #2b2b27;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.sc-product-info__divider {
  border: none;
  border-top: 1px solid rgba(191, 201, 197, 0.15);
  margin: 1.5rem 0;
}

/* Variants */
.sc-variants {
  margin-bottom: 1.5rem;
}

.sc-variants__label {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #555555;
  margin-bottom: 0.75rem;
  display: block;
  font-weight: 600;
}

.sc-variants__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sc-variant-btn {
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(191, 201, 197, 0.5);
  font-family: 'Cinzel', serif;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  background: none;
  color: var(--color-foreground);
}

.sc-variant-btn.active,
.sc-variant-btn:hover {
  border-color: var(--color-brand-secondary);
  background-color: rgba(119, 90, 25, 0.05);
  color: var(--color-brand-secondary);
}

/* Quantity + Add to Cart */
.sc-add-to-cart {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.sc-qty {
  display: flex;
  align-items: center;
  border: 1px solid rgba(191, 201, 197, 0.5);
}

.sc-qty__btn {
  width: 2.5rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s;
  background: none;
  border: none;
  font-family: 'Cinzel', serif;
}
.sc-qty__btn:hover {
  color: var(--color-brand-secondary);
}

.sc-qty__btn .material-symbols-outlined {
  font-size: 1.125rem;
}

.sc-qty__val {
  width: 2.5rem;
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 0.875rem;
  font-weight: 700;
}

.sc-add-to-cart__btn {
  flex: 1;
  padding: 0.875rem 1.5rem;
  background-color: var(--color-brand-primary);
  color: #ffffff;
  font-family: 'Cinzel', serif;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}
.sc-add-to-cart__btn:hover {
  background-color: var(--color-brand-primary-container);
}
.sc-add-to-cart__btn.added {
  background-color: #2d7a4f;
}

.sc-subscribe-btn {
  width: 100%;
  padding: 0.875rem 1.5rem;
  border: 1px solid var(--color-brand-secondary);
  color: var(--color-brand-secondary);
  font-family: 'Cinzel', serif;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: none;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 1.5rem;
}
.sc-subscribe-btn:hover {
  background-color: rgba(119, 90, 25, 0.05);
}

/* Trust Badges */
.sc-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(191, 201, 197, 0.15);
}

.sc-trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #555555;
}

.sc-trust-badge .material-symbols-outlined {
  font-size: 1.125rem;
  color: var(--color-brand-secondary);
}

/* Product Details Tabs */
.sc-product-details {
  border-top: 1px solid rgba(191, 201, 197, 0.15);
  padding-top: 3rem;
  margin-bottom: 4rem;
}

.sc-product-details__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .sc-product-details__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.sc-product-details__heading {
  font-family: 'Cinzel', serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-brand-primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
}

.sc-product-features {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.sc-product-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 1rem;
  color: rgba(27, 28, 26, 0.9);
  line-height: 1.45;
}

.sc-product-feature .material-symbols-outlined {
  font-size: 1rem;
  color: var(--color-brand-secondary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.sc-product-details__text {
  font-size: 0.875rem;
  color: rgba(27, 28, 26, 0.82);
  line-height: 1.7;
}

/* Product Info — description paragraph in right column */
.sc-product-info__desc {
  font-size: 1rem;
  color: rgba(27, 28, 26, 0.9);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.sc-product-info__desc p {
  margin-bottom: 0.625rem;
}

.sc-product-info__desc p:last-child {
  margin-bottom: 0;
}

/* Product Info — What's Included in right column */
.sc-product-info__whats-inc {
  margin-bottom: 1.25rem;
}

.sc-product-info__whats-inc-heading {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-brand-primary);
  margin-bottom: 0.625rem;
}

/* ─── Customer Reviews ───────────────────────────────────────────────────────── */

.sc-reviews {
  border-top: 1px solid rgba(191, 201, 197, 0.15);
  padding-top: 3rem;
  margin-bottom: 4rem;
}

.sc-reviews__heading {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-brand-primary);
  margin-bottom: 2rem;
}

.sc-reviews__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .sc-reviews__layout {
    grid-template-columns: 260px 1fr;
    gap: 4rem;
    align-items: start;
  }
}

/* Aggregate summary */
.sc-reviews__summary {
  /* intentionally unstyled as block — children handle all spacing */
}

.sc-reviews__big-number {
  font-family: 'Cinzel', serif;
  font-size: 3.75rem;
  font-weight: 700;
  color: var(--color-brand-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.sc-reviews__big-stars {
  display: flex;
  gap: 0.125rem;
  color: var(--color-brand-secondary); /* #B4842C was 3.18:1 — stars convey rating */
  margin-bottom: 0.5rem;
}

.sc-reviews__big-stars .material-symbols-outlined {
  font-size: 1.375rem;
}

.sc-reviews__based-on {
  font-family: 'Cinzel', serif;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(27, 28, 26, 0.72); /* raised: was below WCAG AA 4.5:1 */
  margin-bottom: 1.75rem;
}

/* Rating bar chart */
.sc-reviews__bars {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.sc-reviews__bar-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.sc-reviews__bar-label {
  font-size: 0.75rem;
  color: rgba(27, 28, 26, 0.55);
  width: 3.5rem;
  flex-shrink: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.sc-reviews__bar-star {
  color: var(--color-home-secondary);
}

.sc-reviews__bar-track {
  flex: 1;
  height: 0.5rem;
  background-color: #e5e5e5;
  border-radius: 9999px;
  overflow: hidden;
}

.sc-reviews__bar-fill {
  height: 100%;
  background-color: #C9A96E;
  border-radius: 9999px;
}

.sc-reviews__bar-pct {
  font-size: 0.75rem;
  color: rgba(27, 28, 26, 0.72); /* raised: was below WCAG AA 4.5:1 */
  width: 2.5rem;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

/* Individual review cards */
.sc-reviews__list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sc-review-card {
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(191, 201, 197, 0.2);
  background-color: #fafaf8;
}

.sc-review-card--hidden {
  display: none;
}

.sc-review-card__header {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 0.75rem;
}

.sc-review-card__avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.sc-review-card__meta {
  flex: 1;
  min-width: 0;
}

.sc-review-card__name {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-brand-primary);
  margin-bottom: 0.2rem;
}

.sc-review-card__stars {
  display: flex;
  gap: 0.1rem;
  color: var(--color-brand-secondary); /* #B4842C was 3.18:1 — stars convey rating */
}

.sc-review-card__stars .material-symbols-outlined {
  font-size: 0.875rem;
}

.sc-review-card__date {
  font-size: 0.75rem;
  color: rgba(27, 28, 26, 0.4);
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 0.125rem;
}

.sc-review-card__text {
  font-size: 0.875rem;
  color: rgba(27, 28, 26, 0.7);
  line-height: 1.65;
  margin: 0;
}

/* Show More button */
.sc-reviews__show-more {
  background: none;
  border: 1px solid var(--color-brand-secondary);
  color: var(--color-brand-secondary);
  font-family: 'Cinzel', serif;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.75rem 2rem;
  cursor: pointer;
  transition: background-color 0.2s;
  align-self: flex-start;
}

.sc-reviews__show-more:hover {
  background-color: rgba(119, 90, 25, 0.05);
}

/* Empty state */
.sc-reviews__empty {
  font-size: 0.875rem;
  color: #5c5c58; /* #888 was 3.37:1, below WCAG AA 4.5 */
  font-style: italic;
  margin-bottom: 1.5rem;
}

/* ── Review form ─────────────────────────────────────────────────────────────── */

.sc-review-form-wrap {
  border-top: 1px solid rgba(191, 201, 197, 0.2);
  padding-top: 2rem;
  margin-top: 1rem;
}

/* "Write a Review" heading */
.sc-review-form__heading,
.sc-review-form-wrap #reply-title {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-brand-primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hide WordPress noise — notes above/below the form */
.sc-review-form-wrap .comment-notes,
.sc-review-form-wrap .comment-form-cookies-consent {
  display: none;
}

/* ── All field wrappers: block, consistent gap ── */
.sc-review-form-wrap p,
.sc-review-form-wrap .comment-form-author,
.sc-review-form-wrap .comment-form-email,
.sc-review-form-wrap .comment-form-url,
.sc-review-form-wrap .comment-form-comment,
.sc-review-form-wrap .comment-form-rating {
  display: block;
  float: none;
  width: 100%;
  margin: 0 0 1rem;
  box-sizing: border-box;
}

/* ── Labels: always above their field ── */
.sc-review-form-wrap label {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(27, 28, 26, 0.55);
  margin-bottom: 0.375rem;
  float: none;
  width: auto;
}

.sc-review-form-wrap label .required {
  color: var(--color-home-secondary);
  margin-left: 0.125rem;
}

/* ── Text / email / url inputs ── */
.sc-review-form-wrap input[type="text"],
.sc-review-form-wrap input[type="email"],
.sc-review-form-wrap input[type="url"] {
  display: block;
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid #d4d0c8;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.875rem;
  color: rgba(27, 28, 26, 0.8);
  background-color: #ffffff;
  box-sizing: border-box;
  transition: border-color 0.15s;
}

.sc-review-form-wrap input[type="text"]:focus,
.sc-review-form-wrap input[type="email"]:focus,
.sc-review-form-wrap input[type="url"]:focus {
  outline: none;
  border-color: var(--color-brand-secondary);
}

/* ── Comment textarea ── */
.sc-review-form-wrap textarea,
.sc-review-form-wrap textarea#comment {
  display: block;
  width: 100%;
  height: 120px;
  min-height: 120px;
  max-height: 120px;
  resize: none;
  padding: 0.75rem;
  border: 1px solid #d4d0c8;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.875rem;
  color: rgba(27, 28, 26, 0.8);
  background-color: #ffffff;
  line-height: 1.55;
  box-sizing: border-box;
  transition: border-color 0.15s;
}

.sc-review-form-wrap textarea:focus,
.sc-review-form-wrap textarea#comment:focus {
  outline: none;
  border-color: var(--color-brand-secondary);
}

/* ── "Logged in as…" line ── */
.sc-review-form-wrap p.logged-in-as {
  font-size: 0.8125rem;
  color: #888888;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.sc-review-form-wrap p.logged-in-as a {
  color: #888888;
  text-decoration: none;
}

.sc-review-form-wrap p.logged-in-as a:hover {
  text-decoration: underline;
}

/* ── Star rating picker ── */
.sc-review-form-wrap .comment-form-rating {
  margin-bottom: 1rem;
}

/* Hide the native <select> — WooCommerce replaces it with JS stars */
.sc-review-form-wrap .comment-form-rating select {
  display: none;
}

/* Star links */
.sc-review-form-wrap p.stars span {
  display: flex;
  gap: 0.25rem;
  margin-top: 0.375rem;
}

.sc-review-form-wrap p.stars a {
  font-size: 0;         /* hide text content */
  width: 1.375rem;
  height: 1.375rem;
  display: inline-block;
  color: #C9A96E;
  text-decoration: none;
}

/* WooCommerce uses ::before with a unicode star on .stars a */
.sc-review-form-wrap p.stars a::before {
  font-size: 1.375rem;
  line-height: 1;
  color: #d4d0c8;       /* unselected: grey */
}

.sc-review-form-wrap p.stars:hover a::before,
.sc-review-form-wrap p.stars a:hover ~ a::before { /* hover sweep */
  color: #d4d0c8;
}

.sc-review-form-wrap p.stars a:hover::before,
.sc-review-form-wrap p.stars a:hover ~ a::before {
  color: #d4d0c8;
}

.sc-review-form-wrap p.stars:hover a::before {
  color: #C9A96E;       /* all gold on row hover */
}

.sc-review-form-wrap p.stars a:hover ~ a::before {
  color: #d4d0c8;       /* grey out stars after hovered one */
}

/* Selected / active stars */
.sc-review-form-wrap p.stars.selected a.active::before {
  color: #C9A96E;
}

.sc-review-form-wrap p.stars.selected a.active ~ a::before {
  color: #d4d0c8;
}

/* ── Submit button ── */
.sc-review-form-wrap .form-submit {
  margin: 1.25rem 0 0;
}

input.sc-review-submit,
.sc-review-form-wrap input[type="submit"] {
  display: inline-block;
  width: auto;
  min-width: 160px;
  max-width: 250px;
  padding: 0.75rem 2rem;
  background-color: var(--color-brand-primary);
  color: #ffffff;
  font-family: 'Cinzel', serif;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

input.sc-review-submit:hover,
.sc-review-form-wrap input[type="submit"]:hover {
  background-color: var(--color-brand-primary-container);
}

/* Mobile: full-width button */
@media (max-width: 767px) {
  input.sc-review-submit,
  .sc-review-form-wrap input[type="submit"] {
    display: block;
    width: 100%;
    max-width: 100%;
  }
}

/* ─── Cart Page ──────────────────────────────────────────────────────────────── */

.sc-cart-page {
  padding: 2rem 1.5rem 4rem;
  max-width: 1440px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .sc-cart-page {
    padding: 2rem 4rem 4rem;
  }
}

.sc-cart-heading {
  font-family: 'Cinzel', serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-brand-primary);
  margin-bottom: 2.5rem;
}

.sc-cart-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .sc-cart-layout {
    grid-template-columns: 8fr 4fr;
  }
}

/* Cart Items */
.sc-cart-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sc-cart-item {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(191, 201, 197, 0.15);
}

.sc-cart-item__image {
  width: 6rem;
  height: 6rem;
  background-color: var(--color-surface-container-high);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (min-width: 768px) {
  .sc-cart-item__image {
    width: 8rem;
    height: 8rem;
  }
}

.sc-cart-item__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
}

.sc-cart-item__details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sc-cart-item__name {
  font-family: 'Cinzel', serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-brand-primary);
  margin-bottom: 0.25rem;
}

.sc-cart-item__variant {
  font-size: 0.875rem;
  color: rgba(27, 28, 26, 0.5);
}

.sc-cart-item__config {
  font-size: 0.75rem;
  color: rgba(27, 28, 26, 0.4);
  margin-top: 0.25rem;
  line-height: 1.5;
}

.sc-cart-item__sub-badge {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--color-brand-secondary);
  background-color: rgba(119, 90, 25, 0.1);
  padding: 0.125rem 0.5rem;
}

.sc-cart-item__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
}

.sc-cart-qty {
  display: flex;
  align-items: center;
  border: 1px solid rgba(191, 201, 197, 0.3);
  padding: 0.25rem 0.5rem;
}

.sc-cart-qty__btn {
  padding: 0.25rem;
  cursor: pointer;
  transition: color 0.2s;
  background: none;
  border: none;
  display: flex;
  align-items: center;
}
.sc-cart-qty__btn:hover { color: var(--color-brand-secondary); }

.sc-cart-qty__btn .material-symbols-outlined {
  font-size: 0.875rem;
}

.sc-cart-qty__val {
  padding: 0 0.75rem;
  font-family: 'Cinzel', serif;
  font-size: 0.875rem;
  font-weight: 500;
}

.sc-cart-item__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sc-cart-item__price {
  font-weight: 700;
  font-family: 'Cinzel', serif;
}

.sc-cart-item__delete {
  color: rgba(27, 28, 26, 0.3);
  transition: color 0.2s;
  cursor: pointer;
  background: none;
  border: none;
  display: flex;
  align-items: center;
}
.sc-cart-item__delete:hover { color: var(--color-error); }

.sc-cart-item__delete .material-symbols-outlined {
  font-size: 0.875rem;
}

/* Order Summary */
.sc-order-summary {
  background-color: var(--color-surface-container-low);
  padding: 2rem;
}

@media (min-width: 1024px) {
  .sc-order-summary {
    position: sticky;
    top: 8rem;
  }
}

.sc-order-summary__heading {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-brand-primary);
  margin-bottom: 1.5rem;
}

.sc-order-summary__rows {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.sc-order-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
}

.sc-order-summary__row--label {
  color: rgba(27, 28, 26, 0.6);
}

.sc-order-summary__row--bold {
  font-weight: 700;
}

.sc-order-summary__row--discount {
  color: var(--color-brand-secondary);
}
.sc-order-summary__row--discount span { font-weight: 700; }

.sc-order-summary__total-row {
  display: flex;
  justify-content: space-between;
  font-family: 'Cinzel', serif;
  font-size: 1.125rem;
  font-weight: 700;
  padding-top: 1rem;
  border-top: 1px solid rgba(191, 201, 197, 0.15);
  margin-bottom: 1.5rem;
}

/* Discount Code Input */
.sc-discount-form {
  margin-bottom: 1.5rem;
}

.sc-discount-form__row {
  display: flex;
  gap: 0.5rem;
}

.sc-discount-form__input {
  flex: 1;
  border: 1px solid rgba(191, 201, 197, 0.3);
  padding: 0.625rem 0.75rem;
  font-family: 'Cinzel', serif;
  font-size: 0.875rem;
  background-color: var(--color-surface-container-lowest);
  color: var(--color-foreground);
  transition: border-color 0.2s;
}
.sc-discount-form__input:focus {
  outline: none;
  border-color: var(--color-brand-primary);
}
.sc-discount-form__input::placeholder {
  color: rgba(27, 28, 26, 0.3);
}

.sc-discount-form__btn {
  padding: 0.625rem 1rem;
  background-color: var(--color-brand-primary);
  color: #ffffff;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}
.sc-discount-form__btn:hover {
  background-color: var(--color-brand-primary-container);
}

.sc-discount-error {
  color: var(--color-error);
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.sc-checkout-btn {
  display: block;
  width: 100%;
  padding: 1rem;
  background-color: var(--color-brand-primary);
  color: #ffffff;
  font-family: 'Cinzel', serif;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-align: center;
  transition: background-color 0.2s;
  border: none;
  cursor: pointer;
}
.sc-checkout-btn:hover {
  background-color: var(--color-brand-primary-container);
}

.sc-free-shipping-note {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(27, 28, 26, 0.3);
  margin-top: 1rem;
}

/* ─── Empty Cart / Empty State ───────────────────────────────────────────────── */

.sc-empty-state {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
}

.sc-empty-state .material-symbols-outlined {
  font-size: 3.75rem;
  color: rgba(27, 28, 26, 0.15);
  margin-bottom: 1.5rem;
  display: block;
}

.sc-empty-state__heading {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-brand-primary);
  margin-bottom: 1rem;
}

.sc-empty-state__text {
  color: rgba(27, 28, 26, 0.5);
  margin-bottom: 2rem;
}

/* ─── Checkout Page ──────────────────────────────────────────────────────────── */

.sc-checkout-page {
  padding: 2rem 1.5rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .sc-checkout-page {
    padding: 2rem 4rem 4rem;
  }
}

.sc-checkout-heading {
  font-family: 'Cinzel', serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-brand-primary);
  margin-bottom: 2.5rem;
}

.sc-checkout-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .sc-checkout-layout {
    grid-template-columns: 7fr 5fr;
  }
}

.sc-checkout-steps {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.sc-checkout-step-btn {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  cursor: pointer;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  color: rgba(27, 28, 26, 0.3);
}

.sc-checkout-step-btn.active {
  color: var(--color-brand-primary);
  border-bottom-color: var(--color-brand-secondary);
}

/* Form Fields */
.sc-form-group {
  margin-bottom: 1.5rem;
}

.sc-form-label {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-outline);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.sc-form-input {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(191, 201, 197, 0.3);
  background: transparent;
  padding: 0.75rem 0;
  font-family: 'Cinzel', serif;
  font-size: 0.875rem;
  color: var(--color-foreground);
  transition: border-color 0.2s;
}
.sc-form-input:focus {
  outline: none;
  border-bottom-color: var(--color-brand-primary);
}
.sc-form-input::placeholder {
  color: rgba(27, 28, 26, 0.3);
}

.sc-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.sc-pay-btn {
  width: 100%;
  padding: 1rem;
  background-color: var(--color-brand-primary);
  color: #ffffff;
  font-family: 'Cinzel', serif;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}
.sc-pay-btn:hover {
  background-color: var(--color-brand-primary-container);
}

/* Payment placeholder */
.sc-payment-placeholder {
  border: 1px solid rgba(191, 201, 197, 0.15);
  padding: 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.sc-payment-placeholder .material-symbols-outlined {
  font-size: 2.5rem;
  color: rgba(27, 28, 26, 0.15);
  margin-bottom: 1rem;
  display: block;
}

.sc-payment-placeholder__text {
  color: rgba(27, 28, 26, 0.4);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.sc-payment-placeholder__note {
  color: rgba(27, 28, 26, 0.2);
  font-size: 0.75rem;
}

/* ─── About Page ─────────────────────────────────────────────────────────────── */

/* About — compact vertical rhythm; body copy in Mulish at AA-safe contrast. */

.sc-about {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
}

@media (min-width: 768px) {
  .sc-about {
    padding: 3.25rem 4rem 4rem;
  }
}

.sc-about__hero {
  text-align: center;
  margin-bottom: 2.25rem;
}

.sc-about__hero-label {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-brand-secondary);
  font-weight: 700;
  display: block;
  margin-bottom: 0.75rem;
}

.sc-about__hero-heading {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 700;
  color: var(--color-brand-primary);
  margin-bottom: 1rem;
  line-height: 1.18;
}

.sc-about__hero-text {
  font-family: 'Mulish', system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  color: rgba(27, 28, 26, 0.75);
  max-width: 38rem;
  margin: 0 auto;
  line-height: 1.7;
}

/* No fixed aspect-ratio: the image keeps its own shape, so the subject can
   never be cropped out (a portrait forced into 16:9 was the old bug).
   width/height attrs on the <img> reserve the space, so there's no layout shift. */
.sc-about__image-placeholder {
  margin-bottom: 2.25rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

.sc-about__image-placeholder img,
.sc-about__image {
  width: 100%;
  height: auto;
  display: block;
}

.sc-about__hadith {
  background-color: var(--color-brand-primary);
  color: #ffffff;
  padding: 1.75rem;
  margin-bottom: 2.25rem;
  border-radius: 0.5rem;
}

@media (min-width: 768px) {
  .sc-about__hadith {
    padding: 2.25rem 2.5rem;
  }
}

.sc-about__hadith-text {
  font-family: 'Mulish', system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.sc-about__hadith-source {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.72);
}

.sc-about__hadith-note {
  margin-top: 1.125rem;
  padding-top: 1.125rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-family: 'Mulish', system-ui, -apple-system, sans-serif;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.sc-about__sections {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

.sc-about__section-heading {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-brand-primary);
  margin-bottom: 0.5rem;
}

.sc-about__section-text {
  font-family: 'Mulish', system-ui, -apple-system, sans-serif;
  color: rgba(27, 28, 26, 0.75);
  line-height: 1.7;
}

/* ─── Social login (Nextend) ─────────────────────────────────────────────────
   Only spacing/width is set here. Google's Sign-In branding guidelines require
   their own button styling (colour, logo, wording), so we deliberately do NOT
   recolour it to brand green — that would breach their terms.
   Buttons appear only once the Google provider is enabled with OAuth creds. */

.nsl-container {
  margin: 0 0 1.25rem !important;
  padding: 0 !important;
}

.nsl-container .nsl-container-buttons {
  display: block !important;
}

.nsl-container .nsl-container-buttons a {
  margin-bottom: 0.5rem !important;
}

/* Divider text ("or") between social and the email form */
.nsl-container .nsl-container-block-divider,
.nsl-container-block-divider span {
  font-family: 'Cinzel', serif;
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(27, 28, 26, 0.55);
}

/* ─── Generic Page ───────────────────────────────────────────────────────────── */

.sc-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

@media (min-width: 768px) {
  .sc-page {
    padding: 5rem 4rem;
  }
}

.sc-page__heading {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-brand-primary);
  margin-bottom: 2rem;
}

.sc-page__content {
  color: rgba(27, 28, 26, 0.6);
  line-height: 1.8;
}

.sc-page__content h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-brand-primary);
  margin: 2rem 0 1rem;
}

.sc-page__content h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-brand-primary);
  margin: 1.5rem 0 0.75rem;
}

.sc-page__content p {
  margin-bottom: 1rem;
}

.sc-page__content ul,
.sc-page__content ol {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.sc-page__content a {
  color: var(--color-brand-secondary);
  text-decoration: underline;
}

/* ─── Contact Form ───────────────────────────────────────────────────────────── */

.sc-contact-form {
  margin-top: 2rem;
}

.sc-contact-form textarea.sc-form-input {
  border: 1px solid rgba(191, 201, 197, 0.3);
  padding: 0.75rem;
  height: 8rem;
  resize: vertical;
}

.sc-contact-form__submit {
  margin-top: 1.5rem;
}

/* ─── FAQ Page ───────────────────────────────────────────────────────────────── */

.sc-faq {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.sc-faq__item {
  border-bottom: 1px solid rgba(191, 201, 197, 0.3);
  padding: 1.5rem 0;
}

.sc-faq__question {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-brand-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 0;
}

.sc-faq__question .material-symbols-outlined {
  transition: transform 0.2s;
  flex-shrink: 0;
}

.sc-faq__item.open .sc-faq__question .material-symbols-outlined {
  transform: rotate(180deg);
}

.sc-faq__answer {
  display: none;
  font-size: 0.875rem;
  color: rgba(27, 28, 26, 0.6);
  line-height: 1.7;
  padding-top: 1rem;
}

.sc-faq__item.open .sc-faq__answer {
  display: block;
}

/* ─── Blog ───────────────────────────────────────────────────────────────────── */

.sc-blog {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.sc-blog__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .sc-blog__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .sc-blog__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sc-blog-card {
  display: block;
  text-decoration: none;
}

.sc-blog-card__image {
  aspect-ratio: 16/9;
  background-color: var(--color-surface-container-high);
  overflow: hidden;
  margin-bottom: 1rem;
}

.sc-blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.sc-blog-card:hover .sc-blog-card__image img {
  transform: scale(1.05);
}

.sc-blog-card__cat {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-brand-secondary);
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

.sc-blog-card__title {
  font-family: 'Cinzel', serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-brand-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.sc-blog-card__excerpt {
  font-size: 0.875rem;
  color: rgba(27, 28, 26, 0.5);
  line-height: 1.6;
}

/* Blog: hero & additional elements */
.sc-blog__hero {
  margin-bottom: 3rem;
}

.sc-blog__hero-sub {
  font-size: 1rem;
  color: rgba(27, 28, 26, 0.55);
  margin-top: 0.5rem;
  max-width: 36rem;
}

.sc-blog__pagination {
  margin-top: 3rem;
}

.sc-blog-card__meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.sc-blog-card__date,
.sc-blog-card__read-time {
  font-size: 0.75rem;
  color: rgba(27, 28, 26, 0.45);
  letter-spacing: 0.05em;
}

.sc-blog-card__img-placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--color-surface-container-high);
}

/* ─── How To Page ────────────────────────────────────────────────────────────── */

.sc-how-to {
  padding-bottom: 5rem;
}

/* Hero */
.sc-how-to__hero {
  padding: 4rem 0 3rem;
}

.sc-how-to__hero-heading {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-brand-primary);
  margin: 0.5rem 0 1rem;
  line-height: 1.15;
}

@media (min-width: 768px) {
  .sc-how-to__hero-heading {
    font-size: 3.5rem;
  }
}

.sc-how-to__hero-sub {
  font-size: 1rem;
  color: #555555;
  line-height: 1.7;
  max-width: 38rem;
}

/* ── Sections ─────────────────────────────────────────────────────────────── */

/* All three sections share this base — 60 px top/bottom gap, no horizontal padding
   (the inner .sc-container handles that). */
.sc-how-to__section {
  padding: 3.75rem 0;
  border-top: 1px solid rgba(191, 201, 197, 0.3);
}

/* Alt section: full-bleed tinted background, same padding */
.sc-how-to__section--alt {
  background-color: var(--color-surface-container-low);
}

/* Section heading — identical across all three sections */
.sc-how-to__section-heading {
  font-family: 'Cinzel', serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-brand-primary);
  margin-bottom: 2rem;
  line-height: 1.2;
}

/* ── Hadith quote ──────────────────────────────────────────────────────────── */

.sc-how-to__hadith {
  border-left: 3px solid var(--color-brand-secondary);
  padding: 1rem 1.5rem;
  margin: 0 0 2.5rem;
  background-color: rgba(201, 169, 110, 0.06);
  border-radius: 0 0.25rem 0.25rem 0;
}

.sc-how-to__hadith-text {
  font-family: 'Cinzel', serif;
  font-style: italic;
  font-size: 1rem;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.sc-how-to__hadith-source {
  font-size: 0.8125rem;
  color: #888888;
  letter-spacing: 0.03em;
}

/* ── Numbered steps (shared by all sections) ──────────────────────────────── */

.sc-how-to__steps {
  list-style: none;
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

/* Miswak: 2-column step grid at ≥640 px */
@media (min-width: 640px) {
  .sc-how-to__steps:not(.sc-how-to__steps--col) {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* Column-variant: always single column (used inside Ghusul / Wudu columns) */
.sc-how-to__steps--col {
  grid-template-columns: 1fr;
}

/* Step row */
.sc-how-to__step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

/* Numbered circle — dark green (Obligatory / Miswak) */
.sc-how-to__step-number {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  background-color: var(--color-brand-primary);
  color: #ffffff;
  font-family: 'Cinzel', serif;
  font-size: 0.9375rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-top: 0.1rem;    /* align with first line of text */
}

/* Gold circle variant — Sunnah column */
.sc-how-to__step-number--gold {
  background-color: var(--color-brand-secondary);
}

/* Step title (Miswak only) */
.sc-how-to__step-title {
  font-family: 'Cinzel', serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-brand-primary);
  margin-bottom: 0.3rem;
}

/* Step body text */
.sc-how-to__step-text {
  font-size: 0.9375rem;
  color: #3a3a3a;
  line-height: 1.65;
  margin: 0;
}

/* ── Two-column layout (Ghusul / Wudu) ────────────────────────────────────── */

.sc-how-to__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .sc-how-to__cols {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* Column sub-headings — identical styling, colour differs by modifier */
.sc-how-to__col-heading {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
  padding-bottom: 0.625rem;
  border-bottom: 2px solid;
}

.sc-how-to__col-heading--obligatory {
  color: var(--color-brand-primary);
  border-color: var(--color-brand-primary);
}

.sc-how-to__col-heading--sunnah {
  color: var(--color-brand-secondary);
  border-color: var(--color-brand-secondary);
}

/* ── CTA ──────────────────────────────────────────────────────────────────── */

.sc-how-to__cta {
  padding-top: 2.5rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(191, 201, 197, 0.3);
  text-align: center;
}

/* ─── 404 Page ───────────────────────────────────────────────────────────────── */

.sc-404 {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  text-align: center;
}

.sc-404__code {
  font-family: 'Cinzel', serif;
  font-size: 6rem;
  font-weight: 900;
  color: rgba(27, 28, 26, 0.08);
  line-height: 1;
  margin-bottom: 1rem;
}

.sc-404__heading {
  font-family: 'Cinzel', serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-brand-primary);
  margin-bottom: 1rem;
}

.sc-404__text {
  color: rgba(27, 28, 26, 0.5);
  margin-bottom: 2rem;
  max-width: 30rem;
}

/* ─── WooCommerce Overrides ──────────────────────────────────────────────────── */

/* Remove default WC styles where needed */
.woocommerce-notices-wrapper { max-width: 1440px; margin: 0 auto; padding: 0 1.5rem; }
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  font-family: 'Cinzel', serif;
  font-size: 0.875rem;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--color-brand-secondary);
  background-color: rgba(119, 90, 25, 0.05);
  list-style: none;
}

.woocommerce-error {
  border-left-color: var(--color-error);
  background-color: rgba(186, 26, 26, 0.05);
}

/* ─── Breadcrumbs ────────────────────────────────────────────────────────────── */

.sc-breadcrumbs {
  padding: 1rem 1.5rem;
  max-width: 1440px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .sc-breadcrumbs {
    padding: 1rem 3rem;
  }
}

.sc-breadcrumbs__list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.sc-breadcrumbs__item {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  color: rgba(27, 28, 26, 0.72); /* raised: was below WCAG AA 4.5:1 */
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sc-breadcrumbs__item a {
  color: rgba(27, 28, 26, 0.72); /* raised: was below WCAG AA 4.5:1 */
  transition: color 0.2s;
}
.sc-breadcrumbs__item a:hover {
  color: var(--color-brand-primary);
}

.sc-breadcrumbs__sep {
  color: rgba(27, 28, 26, 0.2);
  font-size: 0.75rem;
}

/* ─── Account Pages ──────────────────────────────────────────────────────────── */

.sc-account {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.woocommerce-account .woocommerce {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  font-family: 'Cinzel', serif;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(191, 201, 197, 0.3);
  display: block;
  transition: all 0.2s;
  color: rgba(27, 28, 26, 0.6);
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
  background-color: var(--color-brand-primary);
  color: #ffffff;
  border-color: var(--color-brand-primary);
}

.woocommerce-account .woocommerce-MyAccount-content {
  font-family: 'Cinzel', serif;
  font-size: 0.875rem;
  color: rgba(27, 28, 26, 0.6);
  line-height: 1.7;
}

/* WC buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  font-family: 'Cinzel', serif;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background-color: var(--color-brand-primary);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.2s;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background-color: var(--color-brand-primary-container);
  color: #ffffff;
}

.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background-color: var(--color-brand-primary);
}

/* WC form fields */
.woocommerce form .form-row {
  margin-bottom: 1rem;
}

.woocommerce form .form-row label {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-outline);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
  font-family: 'Cinzel', serif;
  font-size: 0.875rem;
  border: none;
  border-bottom: 1px solid rgba(191, 201, 197, 0.3);
  background: transparent;
  padding: 0.625rem 0;
  width: 100%;
  transition: border-color 0.2s;
  color: var(--color-foreground);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus {
  outline: none;
  border-bottom-color: var(--color-brand-primary);
  box-shadow: none;
}

/* ─── Additional Responsive Overrides ───────────────────────────────────────── */

/* Hero: full-width text on mobile */
@media (max-width: 767px) {
  .sc-hero__text {
    max-width: 100%;
  }
}

/* Hero sub-text: slightly smaller on mobile */
@media (max-width: 639px) {
  .sc-hero__sub {
    font-size: 1.0625rem;
  }
}


/* Form rows: single column on mobile so fields don't crush */
@media (max-width: 639px) {
  .sc-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Cart: tighter image + text on xs screens */
@media (max-width: 479px) {
  .sc-cart-item {
    gap: 1rem;
  }
  .sc-cart-item__image {
    width: 5rem;
    height: 5rem;
  }
  .sc-cart-item__name {
    font-size: 1rem;
  }
  .sc-cart-item__bottom {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .sc-cart-heading {
    font-size: 1.5rem;
  }
}

/* Cart: order summary after items on mobile — add a bit of separation */
@media (max-width: 1023px) {
  .sc-order-summary {
    padding: 1.5rem;
  }
}

/* Checkout: step buttons wrap on xs screens */
@media (max-width: 479px) {
  .sc-checkout-steps {
    gap: 1rem;
  }
  .sc-checkout-heading {
    font-size: 1.5rem;
  }
}

/* Product info: clamp the name on mobile so it doesn't overflow */
@media (max-width: 767px) {
  .sc-product-info__name {
    font-size: clamp(1.375rem, 5vw, 1.875rem);
  }
}

/* Product info: add-to-cart row wraps on xs so qty and button don't crush */
@media (max-width: 479px) {
  .sc-add-to-cart {
    flex-wrap: wrap;
  }
  .sc-add-to-cart__btn {
    flex: none;
    width: 100%;
  }
}

/* Product page: reduce top padding on mobile */
@media (max-width: 639px) {
  .sc-product-page {
    padding: 1.5rem 1rem 3rem;
  }
  .sc-product-layout {
    gap: 2rem;
    margin-bottom: 3rem;
  }
}

/* Shop: category section title smaller on mobile */
@media (max-width: 639px) {
  .sc-category-section__title {
    font-size: 1.25rem;
  }
}

/* 404: scale the big code number on mobile */
@media (max-width: 767px) {
  .sc-404__code {
    font-size: clamp(4rem, 22vw, 6rem);
  }
  .sc-404__heading {
    font-size: 1.5rem;
  }
}

/* Breadcrumbs: tighter on mobile */
@media (max-width: 639px) {
  .sc-breadcrumbs {
    padding: 0.75rem 1rem;
  }
}

/* Nav: slightly reduce actions gap on xs */
@media (max-width: 374px) {
  .sc-nav__inner {
    padding: 1rem;
  }
  .sc-nav__actions {
    gap: 0.875rem;
  }
}

/* Footer: tighten padding on mobile */
@media (max-width: 639px) {
  .sc-footer {
    padding: 2.5rem 1.5rem 1.5rem;
  }
}


/* Brand story: reduce maqam card internal padding on mobile */
@media (max-width: 639px) {
  .sc-brandstory__maqam {
    padding: 1rem;
  }
  .sc-brandstory__heading {
    font-size: clamp(1.5rem, 6vw, 3rem);
  }
}

/* Categories: card title smaller on mobile */
@media (max-width: 639px) {
  .sc-category-card__title {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
  }
}

/* About: tighter padding on xs */
@media (max-width: 639px) {
  .sc-about {
    padding: 2rem 1rem 4rem;
  }
}

/* WooCommerce notices: add padding on mobile */
@media (max-width: 767px) {
  .woocommerce-notices-wrapper {
    padding: 0 1rem;
  }
}

/* ─── Responsive Utilities ───────────────────────────────────────────────────── */

@media (max-width: 767px) {
  .hide-mobile { display: none !important; }
}

@media (min-width: 768px) {
  .hide-desktop { display: none !important; }
}

/* ─── Testimonials Section ──────────────────────────────────────────────────── */

.sc-testimonials {
  padding: 3rem 1.5rem;
  background-color: #f7f3eb;
}

@media (min-width: 768px) {
  .sc-testimonials {
    padding: 3.5rem 2rem;
  }
}

.sc-testimonials__inner {
  max-width: 80rem;
  margin: 0 auto;
}

.sc-testimonials__header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.sc-testimonials__heading {
  font-family: 'Cinzel', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-brand-primary);
  margin-top: 0.75rem;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .sc-testimonials__heading {
    font-size: 2.5rem;
  }
}

/* ── Testimonials carousel ─────────────────────────────────────────────── */

.sc-tcarousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sc-tcarousel__track {
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0.25rem;
  flex: 1;
  scrollbar-width: none;            /* Firefox */
}
.sc-tcarousel__track::-webkit-scrollbar { display: none; } /* WebKit */
.sc-tcarousel__track:focus-visible {
  outline: 2px solid var(--color-brand-secondary, #775a19);
  outline-offset: 4px;
  border-radius: 0.5rem;
}

/* Card = carousel slide */
.sc-testimonial {
  background: #ffffff;
  border: 1px solid rgba(0, 50, 42, 0.08);
  border-radius: 0.5rem;
  padding: 1.4rem 1.4rem 1.25rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 1px 3px rgba(27, 28, 26, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex: 0 0 88%;
  scroll-snap-align: center;
}

@media (min-width: 640px) {
  .sc-testimonial { flex-basis: calc((100% - 1.25rem) / 2); }
}

@media (min-width: 1024px) {
  .sc-testimonial { flex-basis: calc((100% - 2.5rem) / 3); }
}

.sc-testimonial:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27, 28, 26, 0.08);
}

/* Arrows */
.sc-tcarousel__arrow {
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(0, 50, 42, 0.18);
  background: #ffffff;
  color: var(--color-brand-primary, #00322a);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(27, 28, 26, 0.06);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}
.sc-tcarousel__arrow:hover {
  background: var(--color-brand-primary, #00322a);
  border-color: var(--color-brand-primary, #00322a);
  color: #ffffff;
}
.sc-tcarousel__arrow:disabled {
  opacity: 0.3;
  cursor: default;
}
.sc-tcarousel__arrow:disabled:hover {
  background: #ffffff;
  color: var(--color-brand-primary, #00322a);
  border-color: rgba(0, 50, 42, 0.18);
}
.sc-tcarousel__arrow .material-symbols-outlined { font-size: 1.4rem; }

/* Hide arrows on touch / small screens (swipe instead) */
@media (max-width: 767px) {
  .sc-tcarousel__arrow { display: none; }
}

/* Dots */
.sc-tcarousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.sc-tcarousel__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(0, 50, 42, 0.2);
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}
.sc-tcarousel__dot.is-active {
  background: var(--color-brand-secondary, #775a19);
  width: 20px;
  border-radius: 4px;
}

.sc-testimonial__stars {
  display: flex;
  gap: 0.125rem;
  color: var(--color-brand-secondary);
}

.sc-testimonial__star {
  font-size: 1.125rem;
}

.sc-testimonial__quote {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(27, 28, 26, 0.85);
  flex: 1;
  font-style: italic;
  /* Cap long reviews so cards stay a uniform, compact height */
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sc-testimonial__quote::before {
  content: '\201C';
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  color: var(--color-brand-secondary);
  margin-right: 0.125rem;
  line-height: 0;
  vertical-align: -0.2em;
}

.sc-testimonial__quote::after {
  content: '\201D';
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  color: var(--color-brand-secondary);
  margin-left: 0.125rem;
  line-height: 0;
  vertical-align: -0.2em;
}

.sc-testimonial__author {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 50, 42, 0.08);
}

.sc-testimonial__name {
  font-family: 'Cinzel', serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-brand-primary);
  letter-spacing: 0.04em;
}

.sc-testimonial__source {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(27, 28, 26, 0.72) /* raised from rgba(27, 28, 26, 0.5) = 3.31:1, below WCAG AA 4.5 */;
  font-weight: 500;
}

/* ─── Trust Strip ──────────────────────────────────────────────────────────── */

.sc-trust {
  background-color: #ffffff;
  border-top: 1px solid rgba(0, 50, 42, 0.08);
  border-bottom: 1px solid rgba(0, 50, 42, 0.08);
  padding: 1.75rem 1.5rem;
}

.sc-trust__inner {
  max-width: 80rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
  align-items: start;
}

@media (min-width: 768px) {
  .sc-trust__inner {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.sc-trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
}

.sc-trust__icon {
  font-size: 1.75rem;
  color: var(--color-brand-primary);
  margin-bottom: 0.25rem;
  font-variation-settings: 'FILL' 0;
}

.sc-trust__label {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand-primary);
}

.sc-trust__sub {
  font-size: 0.6875rem;
  color: rgba(27, 28, 26, 0.72); /* was 0.55 = 3.85:1, below WCAG AA 4.5 */
  letter-spacing: 0.02em;
}

/* ─── Contact channels (Email / Phone / Social) ──────────────────────────── */

.sc-contact-channels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 3rem;
  max-width: 56rem;
}

@media (min-width: 640px) {
  .sc-contact-channels {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sc-contact-channel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.375rem;
  padding: 1.25rem 1.25rem 1.25rem 1rem;
  background: #ffffff;
  border: 1px solid rgba(0, 50, 42, 0.1);
  border-radius: 0.5rem;
  text-decoration: none;
  color: var(--color-brand-primary);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.sc-contact-channel:hover,
.sc-contact-channel:focus-visible {
  border-color: var(--color-brand-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(27, 28, 26, 0.06);
  text-decoration: none;
}

.sc-contact-channel__icon {
  font-size: 1.5rem;
  color: var(--color-brand-secondary);
  margin-bottom: 0.125rem;
}

.sc-contact-channel__label {
  font-family: 'Cinzel', serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(27, 28, 26, 0.55);
}

.sc-contact-channel__value {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-brand-primary);
}

.sc-contact-channel__socials {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-brand-primary);
}

.sc-contact-channel__socials a {
  color: var(--color-brand-primary);
  text-decoration: none;
}

.sc-contact-channel__socials a:hover {
  color: var(--color-brand-secondary);
  text-decoration: underline;
}

.sc-contact-form__heading {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-brand-primary);
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
}

/* ─── Footer socials ─────────────────────────────────────────────────────── */

.sc-footer__socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 0;
}

.sc-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(251, 249, 245, 0.3);
  color: rgba(251, 249, 245, 0.85);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.sc-footer__social:hover {
  background: var(--color-brand-secondary-container, #fed488);
  border-color: var(--color-brand-secondary-container, #fed488);
  color: var(--color-brand-primary, #00322a);
}

.sc-footer__social svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

/* ─── Heritage Band — editorial full-bleed ──────────────────────────────────── */

.sc-heritage-band {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .sc-heritage-band {
    min-height: 460px;
  }
}

.sc-heritage-band__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  z-index: 0;
}

.sc-heritage-band__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 120% at 50% 50%, rgba(13, 22, 19, 0.35), rgba(13, 22, 19, 0.72)),
    linear-gradient(180deg, rgba(0, 50, 42, 0.35) 0%, rgba(0, 50, 42, 0.55) 100%);
}

.sc-heritage-band__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 44rem;
  padding: 3.5rem 1.5rem;
  color: #ffffff;
}

.sc-heritage-band__eyebrow {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-brand-secondary-container, #fed488);
  margin-bottom: 1.25rem;
}

.sc-heritage-band__quote {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  font-weight: 600;
  line-height: 1.3;
  color: #ffffff;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}

.sc-heritage-band__line {
  font-family: 'Mulish', system-ui, sans-serif;
  font-size: 1.1875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 auto 1.75rem;
  max-width: 34rem;
}

.sc-heritage-band__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: border-color 0.2s ease, gap 0.2s ease;
}

.sc-heritage-band__link:hover {
  border-bottom-color: var(--color-brand-secondary-container, #fed488);
  gap: 0.7rem;
  color: #ffffff;
}

.sc-heritage-band__link .material-symbols-outlined {
  font-size: 1.1rem;
}

.sc-heritage-band__cite {
  font-family: 'Cinzel', serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 1.5rem;
}

/* ─── Accessibility: comment/review form labels ──────────────────────────────
   WordPress' default comment form labels inherit a 0.55-opacity tone (3.79:1),
   below the WCAG AA 4.5:1 minimum for normal text. */
.comment-form label,
.sc-reviews label,
#commentform label {
  color: rgba(27, 28, 26, 0.78);
}

/* ── Review source badge ──────────────────────────────────────────────────
   Marks reviews imported from a marketplace (currently Etsy) so their origin
   is always visible. See the comment in woocommerce/single-product.php —
   this is a compliance requirement, not decoration. */
.sc-review-card__source {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.1rem 0.45rem;
  border: 1px solid rgba(0, 50, 42, 0.28);
  border-radius: 999px;
  font-family: var(--font-body, inherit);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  /* 5.31:1 on the card background — passes WCAG AA. */
  color: rgba(0, 50, 42, 0.86);
  background: rgba(0, 50, 42, 0.045);
  vertical-align: middle;
}

/* ─── Add-to-cart toast notification ─────────────────────────── */
.sc-toast-wrap {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}
.sc-toast {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 320px;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  background: var(--color-brand-primary, #00322a);
  color: #fff;
  font-size: 0.85rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(12px);
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: auto;
}
.sc-toast--in {
  opacity: 1;
  transform: translateY(0);
}
.sc-toast__check {
  flex: 0 0 auto;
  font-size: 1.15rem;
  color: #7fdca4;
}
.sc-toast__msg {
  flex: 1;
  font-weight: 600;
}
.sc-toast__link {
  flex: 0 0 auto;
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .sc-toast-wrap { left: 1rem; right: 1rem; }
  .sc-toast { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-toast { transition: opacity 0.3s ease; transform: none; }
}

/* ─── Landing pages: Beard Oil / Fragrance / Beard Brush (Elementor replacements) ─── */
.sc-lp{--lp-green:var(--color-brand-primary,#00322a);--lp-gold:var(--color-brand-secondary,#775a19);--lp-cream:var(--color-background,#fbf9f5);--lp-panel:#f2efe8;--lp-line:var(--color-outline-variant,#e4e2de);--lp-muted:#5f5e5a;color:var(--color-foreground,#1b1c1a);background:var(--lp-cream);}
.sc-lp .lp-wrap{max-width:1080px;margin:0 auto;padding:0 24px;}
.sc-lp .lp-eyebrow{font-size:12px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--lp-gold);}
.sc-lp h1,.sc-lp h2,.sc-lp h3{font-family:'Cinzel',Georgia,serif;font-weight:600;margin:0;text-wrap:balance;}
.sc-lp p{margin:0;}
.sc-lp .lp-hero{padding:60px 0 54px;}
.sc-lp .lp-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center;}
.sc-lp .lp-crumb{font-size:12px;color:var(--lp-muted);letter-spacing:.04em;margin-bottom:18px;}
.sc-lp .lp-hero h1{font-size:clamp(36px,5.4vw,54px);line-height:1.05;color:var(--lp-green);margin:12px 0 20px;}
.sc-lp .lp-lede{font-size:18px;max-width:34ch;}
.sc-lp .lp-hero p+p{margin-top:13px;font-size:16px;color:var(--lp-muted);line-height:1.7;}
.sc-lp .lp-cta{display:inline-flex;align-items:center;gap:10px;margin-top:28px;background:var(--lp-green);color:var(--lp-cream);font-weight:700;font-size:13px;letter-spacing:.12em;text-transform:uppercase;padding:15px 30px;border-radius:2px;text-decoration:none;}
.sc-lp .lp-cta:hover{background:var(--color-brand-primary-container,#004b40);}
.sc-lp .lp-cta svg{width:16px;height:16px;}
.sc-lp .lp-shot{aspect-ratio:1/1.02;border-radius:6px;background:radial-gradient(120% 120% at 50% 18%,#fff 0%,#f4efe5 55%,#eae2d2 100%);border:1px solid var(--lp-line);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;}
.sc-lp .lp-shot .lp-ring{position:absolute;width:74%;height:74%;border:1px solid rgba(119,90,25,.26);border-radius:50%;}
.sc-lp .lp-shot .lp-ring.two{width:90%;height:90%;border-color:rgba(0,50,42,.10);}
.sc-lp .lp-shot .lp-tag{position:absolute;left:18px;top:18px;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--lp-gold);font-weight:700;}
.sc-lp .lp-shot img{position:relative;z-index:1;width:72%;max-width:290px;height:auto;filter:drop-shadow(0 14px 26px rgba(0,0,0,.16));}
.sc-lp .lp-band{padding:64px 0;}
.sc-lp .lp-sechead{max-width:44ch;margin-bottom:34px;}
.sc-lp .lp-sechead h2{font-size:clamp(28px,4vw,38px);color:var(--lp-green);margin:12px 0 0;line-height:1.1;}
.sc-lp .lp-benefits{background:var(--lp-panel);border-top:1px solid var(--lp-line);border-bottom:1px solid var(--lp-line);}
.sc-lp .lp-bgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;}
.sc-lp .lp-bcard{background:#fff;border:1px solid var(--lp-line);border-radius:8px;padding:26px;}
.sc-lp .lp-bcard .lp-ic{width:38px;height:38px;border-radius:50%;background:#f0ead9;display:flex;align-items:center;justify-content:center;color:var(--lp-gold);margin-bottom:15px;}
.sc-lp .lp-bcard .lp-ic svg{width:19px;height:19px;}
.sc-lp .lp-bcard h3{font-size:19px;color:var(--lp-green);margin-bottom:9px;}
.sc-lp .lp-bcard p{font-size:14.5px;color:var(--lp-muted);line-height:1.65;}
.sc-lp .lp-bcard p+p{margin-top:8px;}
.sc-lp .lp-pgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;}
.sc-lp .lp-ptile{background:#fff;border:1px solid var(--lp-line);border-radius:8px;padding:22px 20px;display:flex;flex-direction:column;gap:6px;text-decoration:none;transition:border-color .2s,transform .2s;}
.sc-lp .lp-ptile:hover{border-color:var(--lp-gold);transform:translateY(-2px);}
.sc-lp .lp-ptile .lp-k{font-family:'Cinzel',serif;font-size:19px;color:var(--lp-green);}
.sc-lp .lp-ptile .lp-c{font-size:12.5px;color:var(--lp-muted);}
.sc-lp .lp-ptile .lp-go{margin-top:4px;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--lp-gold);}
.sc-lp .lp-about{background:var(--lp-green);color:#eee7d8;}
.sc-lp .lp-about .lp-wrap{max-width:760px;text-align:center;padding:68px 24px;}
.sc-lp .lp-about .lp-eyebrow{color:#e0b96a;}
.sc-lp .lp-about h2{color:var(--lp-cream);font-size:clamp(28px,4vw,38px);margin:12px 0 20px;}
.sc-lp .lp-about p{color:#d7cfbd;font-size:16.5px;line-height:1.75;}
.sc-lp .lp-about p+p{margin-top:15px;}
.sc-lp .lp-faq details{border-bottom:1px solid var(--lp-line);}
.sc-lp .lp-faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;font-family:'Cinzel',serif;font-size:18px;color:var(--lp-green);padding:18px 0;}
.sc-lp .lp-faq summary::-webkit-details-marker{display:none;}
.sc-lp .lp-faq .lp-pl{color:var(--lp-gold);font-size:22px;flex:0 0 auto;transition:transform .2s;}
.sc-lp .lp-faq details[open] summary .lp-pl{transform:rotate(45deg);}
.sc-lp .lp-faq .lp-ans{padding:0 0 20px;color:var(--lp-muted);font-size:15px;max-width:70ch;line-height:1.7;}
@media(max-width:680px){.sc-lp .lp-hero-grid{grid-template-columns:1fr;gap:32px;}.sc-lp .lp-shot{max-width:340px;margin:0 auto;}.sc-lp .lp-bgrid{grid-template-columns:1fr;}.sc-lp .lp-pgrid{grid-template-columns:1fr 1fr;}}


/* Product-page overflow fix 2026-09-19: let grid/flex children shrink; scrollable mobile thumbnail strip; gap-safe desktop columns. No global clipping. */
.sc-product-layout > * { min-width: 0; }
.sc-product-gallery { min-width: 0; }
.sc-product-gallery__main { min-width: 0; }
.sc-product-gallery__thumbs { min-width: 0; max-width: 100%; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.sc-product-gallery__thumb { flex: 0 0 auto; }
.sc-add-to-cart__btn { min-width: 0; }


/* Reviews mobile overflow fix 2026-09-19: shrinkable grid tracks + wrap long content. No clipping. */
.sc-reviews__layout { grid-template-columns: minmax(0, 1fr); }
.sc-reviews__summary, .sc-reviews__list { min-width: 0; }
.sc-review-card { min-width: 0; overflow-wrap: break-word; }
@media (min-width: 768px) {
  .sc-reviews__layout { grid-template-columns: 260px minmax(0, 1fr); }
}


/* Shop catalogue mobile grid + nav fix 2026-09-19: equal shrinkable tracks, stacked card meta on mobile, 44px nav touch targets, sticky anchor offset. No clipping. */
.sc-shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .sc-shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .sc-shop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sc-product-card__details { min-width: 0; flex-direction: column; align-items: flex-start; }
@media (min-width: 768px) { .sc-product-card__details { flex-direction: row; align-items: baseline; } }
.sc-product-card__name { min-width: 0; overflow-wrap: break-word; }
.sc-shop-jumpbar { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.sc-shop-jumpbar__link { display: flex; align-items: center; min-height: 44px; }
.sc-category-section { scroll-margin-top: 146px; }
@media (min-width: 768px) { .sc-category-section { scroll-margin-top: 150px; } }
