/**
 * Theme Name: Blocksy Child
 * Description: Strong Boost — Luxury minimal theme
 * Author: Strong Boost
 * Template: blocksy
 * Text Domain: blocksy
 * Version: 2.0.0
 */

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */

:root {
  /* Palette — Light */
  --sb-ground: #F8F4ED;
  --sb-surface: #EFEBE3;
  --sb-deep: #171310;
  --sb-text: #2E2720;
  --sb-text-secondary: #7D7168;
  --sb-accent: #A67C2E;
  --sb-accent-light: #C9A24A;
  --sb-border: #DDD5C8;
  --sb-white-soft: #FAF8F4;
  --sb-product-bg: #2A2218;

  /* Typography */
  --sb-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sb-sans: system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;

  /* Spacing scale */
  --sb-space-xs: 0.5rem;
  --sb-space-sm: 1rem;
  --sb-space-md: 2rem;
  --sb-space-lg: 4rem;
  --sb-space-xl: 6rem;
  --sb-space-2xl: 8rem;

  /* Blocksy palette overrides */
  --theme-palette-color-1: #A67C2E;
  --theme-palette-color-2: #2E2720;
  --theme-palette-color-3: #2E2720;
  --theme-palette-color-4: #F8F4ED;
  --theme-palette-color-5: #EFEBE3;
  --theme-palette-color-6: #7D7168;
  --theme-palette-color-7: #DDD5C8;
  --theme-palette-color-8: #FAF8F4;

  /* Blocksy component overrides */
  --theme-button-min-height: 48px;
  --theme-button-border-radius: 0px;
  --theme-button-font-weight: 400;
  --theme-button-text-initial-color: var(--sb-white-soft);
  --theme-button-text-hover-color: var(--sb-white-soft);
  --theme-button-background-initial-color: var(--sb-deep);
  --theme-button-background-hover-color: var(--sb-accent);
  --theme-form-field-border-initial-color: var(--sb-border);
  --theme-form-field-border-focus-color: var(--sb-accent);
  --theme-link-initial-color: var(--sb-accent);
  --theme-link-hover-color: var(--sb-text);
  --theme-text-color: var(--sb-text);
  --theme-heading-color: var(--sb-deep);
  --theme-border-color: var(--sb-border);
}

@media (prefers-color-scheme: dark) {
  :root {
    --sb-ground: #131110;
    --sb-surface: #1E1B17;
    --sb-deep: #E5DDD1;
    --sb-text: #E0D8CC;
    --sb-text-secondary: #9B8E80;
    --sb-accent: #C9A24A;
    --sb-accent-light: #D4AF5A;
    --sb-border: #2E2923;
    --sb-white-soft: #1A1714;
    --sb-product-bg: #1C1915;

    --theme-palette-color-1: #C9A24A;
    --theme-palette-color-2: #E0D8CC;
    --theme-palette-color-3: #E5DDD1;
    --theme-palette-color-4: #131110;
    --theme-palette-color-5: #1E1B17;
    --theme-palette-color-6: #9B8E80;
    --theme-palette-color-7: #2E2923;
    --theme-palette-color-8: #1A1714;

    --theme-text-color: #E0D8CC;
    --theme-heading-color: #E5DDD1;
    --theme-border-color: #2E2923;
    --theme-button-background-initial-color: #E5DDD1;
    --theme-button-text-initial-color: #131110;
    --theme-button-background-hover-color: #C9A24A;
    --theme-link-initial-color: #C9A24A;
    --theme-link-hover-color: #E0D8CC;
  }
}

:root[data-theme="dark"] {
  --sb-ground: #131110;
  --sb-surface: #1E1B17;
  --sb-deep: #E5DDD1;
  --sb-text: #E0D8CC;
  --sb-text-secondary: #9B8E80;
  --sb-accent: #C9A24A;
  --sb-accent-light: #D4AF5A;
  --sb-border: #2E2923;
  --sb-white-soft: #1A1714;
  --sb-product-bg: #1C1915;

  --theme-palette-color-1: #C9A24A;
  --theme-palette-color-2: #E0D8CC;
  --theme-palette-color-3: #E5DDD1;
  --theme-palette-color-4: #131110;
  --theme-palette-color-5: #1E1B17;
  --theme-palette-color-6: #9B8E80;
  --theme-palette-color-7: #2E2923;
  --theme-palette-color-8: #1A1714;

  --theme-text-color: #E0D8CC;
  --theme-heading-color: #E5DDD1;
  --theme-border-color: #2E2923;
  --theme-button-background-initial-color: #E5DDD1;
  --theme-button-text-initial-color: #131110;
  --theme-button-background-hover-color: #C9A24A;
  --theme-link-initial-color: #C9A24A;
  --theme-link-hover-color: #E0D8CC;
}

:root[data-theme="light"] {
  --sb-ground: #F8F4ED;
  --sb-surface: #EFEBE3;
  --sb-deep: #171310;
  --sb-text: #2E2720;
  --sb-text-secondary: #7D7168;
  --sb-accent: #A67C2E;
  --sb-accent-light: #C9A24A;
  --sb-border: #DDD5C8;
  --sb-white-soft: #FAF8F4;
  --sb-product-bg: #2A2218;

  --theme-palette-color-1: #A67C2E;
  --theme-palette-color-2: #2E2720;
  --theme-palette-color-3: #2E2720;
  --theme-palette-color-4: #F8F4ED;
  --theme-palette-color-5: #EFEBE3;
  --theme-palette-color-6: #7D7168;
  --theme-palette-color-7: #DDD5C8;
  --theme-palette-color-8: #FAF8F4;

  --theme-text-color: #2E2720;
  --theme-heading-color: #171310;
  --theme-border-color: #DDD5C8;
  --theme-button-background-initial-color: #171310;
  --theme-button-text-initial-color: #FAF8F4;
  --theme-button-background-hover-color: #A67C2E;
  --theme-link-initial-color: #A67C2E;
  --theme-link-hover-color: #2E2720;
}

/* ==========================================================================
   2. BASE TYPOGRAPHY & RESET
   ========================================================================== */

body {
  background-color: var(--sb-ground);
  color: var(--sb-text);
  font-family: var(--sb-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.woocommerce div.product .product_title,
.page-title {
  font-family: var(--sb-serif);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--sb-deep);
  text-wrap: balance;
}

h1, .entry-title { font-size: clamp(2.2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; }

p {
  color: var(--sb-text);
  margin-bottom: 1.5em;
}

a {
  color: var(--sb-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover,
a:focus-visible {
  color: var(--sb-text);
}

blockquote {
  border-left: 2px solid var(--sb-accent);
  padding-left: var(--sb-space-md);
  font-family: var(--sb-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--sb-text-secondary);
}

hr {
  border: none;
  height: 1px;
  background: var(--sb-border);
  margin: var(--sb-space-lg) 0;
}

::selection {
  background: var(--sb-accent);
  color: var(--sb-white-soft);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   3. HEADER — Minimal fixed navigation
   ========================================================================== */

header[data-id="type-1"],
.ct-header,
[data-header] {
  background: transparent !important;
  box-shadow: none !important;
  border-bottom: none !important;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.ct-header.ct-header-scrolled,
[data-header].ct-header-scrolled {
  background: color-mix(in srgb, var(--sb-ground) 90%, transparent) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ct-header .ct-container {
  max-width: 1200px;
  padding: 1.2rem 2rem;
}

/* Site branding */
.site-title,
.site-title a,
.ct-header .site-branding .site-title-container .site-title {
  font-family: var(--sb-sans) !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: var(--sb-text) !important;
}

.ct-header .site-logo-container img {
  max-height: 40px;
}

/* Nav links */
.ct-header .ct-menu > li > a,
[data-menu] > li > a {
  font-family: var(--sb-sans) !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--sb-text) !important;
  font-weight: 400 !important;
  padding: 0.5rem 0 !important;
  transition: opacity 0.3s ease !important;
}

.ct-header .ct-menu > li > a:hover,
[data-menu] > li > a:hover {
  color: var(--sb-accent) !important;
  opacity: 0.8;
}

/* Cart & search icons */
.ct-header .ct-cart-icon,
.ct-header .ct-search-icon,
.ct-header [data-icon] {
  color: var(--sb-text) !important;
}

/* Mobile menu toggle */
.ct-header .ct-toggle {
  color: var(--sb-text) !important;
}

/* Mobile menu panel */
.ct-panel .ct-menu > li > a {
  font-family: var(--sb-sans) !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}

/* Hide Blocksy header decorative elements */
.ct-header .ct-header-divider,
.header-top-bar {
  display: none !important;
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */

.sb-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #171310;
}

.sb-hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 30% 40%, rgba(166, 124, 46, 0.25), transparent 70%),
    radial-gradient(ellipse 60% 80% at 70% 60%, rgba(140, 90, 20, 0.2), transparent 60%),
    radial-gradient(ellipse 100% 100% at 50% 100%, rgba(42, 31, 18, 0.8), transparent 50%);
  animation: sb-gradient-drift 12s ease-in-out infinite alternate;
}

@keyframes sb-gradient-drift {
  0% {
    background:
      radial-gradient(ellipse 80% 60% at 30% 40%, rgba(166, 124, 46, 0.25), transparent 70%),
      radial-gradient(ellipse 60% 80% at 70% 60%, rgba(140, 90, 20, 0.2), transparent 60%),
      radial-gradient(ellipse 100% 100% at 50% 100%, rgba(42, 31, 18, 0.8), transparent 50%);
  }
  50% {
    background:
      radial-gradient(ellipse 90% 70% at 60% 50%, rgba(180, 130, 40, 0.2), transparent 70%),
      radial-gradient(ellipse 50% 70% at 30% 70%, rgba(160, 100, 30, 0.25), transparent 60%),
      radial-gradient(ellipse 100% 100% at 50% 100%, rgba(42, 31, 18, 0.9), transparent 50%);
  }
  100% {
    background:
      radial-gradient(ellipse 70% 50% at 50% 35%, rgba(200, 150, 50, 0.2), transparent 65%),
      radial-gradient(ellipse 80% 90% at 40% 55%, rgba(120, 80, 20, 0.2), transparent 70%),
      radial-gradient(ellipse 100% 100% at 50% 100%, rgba(42, 31, 18, 0.7), transparent 50%);
  }
}

.sb-hero__content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  max-width: 800px;
}

.sb-hero__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sb-accent-light);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: sb-fade-up 1s ease 0.3s forwards;
}

.sb-hero__title {
  font-family: var(--sb-serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.15;
  color: #FAF8F4;
  letter-spacing: 0.02em;
  margin-bottom: 2rem;
  opacity: 0;
  animation: sb-fade-up 1s ease 0.5s forwards;
}

.sb-hero__subtitle {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(250, 248, 244, 0.65);
  max-width: 480px;
  margin: 0 auto 3rem;
  opacity: 0;
  animation: sb-fade-up 1s ease 0.7s forwards;
}

.sb-hero__cta {
  display: inline-block;
  color: #FAF8F4;
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 2.8rem;
  border: 1px solid rgba(250, 248, 244, 0.3);
  transition: background 0.4s ease, border-color 0.4s ease;
  opacity: 0;
  animation: sb-fade-up 1s ease 0.9s forwards;
}

.sb-hero__cta:hover {
  background: rgba(250, 248, 244, 0.08);
  border-color: rgba(250, 248, 244, 0.5);
  color: #FAF8F4;
}

@keyframes sb-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   5. BRAND STATEMENT SECTION
   ========================================================================== */

.sb-statement {
  padding: var(--sb-space-2xl) var(--sb-space-md);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.sb-statement__rule {
  width: 40px;
  height: 1px;
  background: var(--sb-accent);
  margin: 0 auto 3rem;
  border: none;
}

.sb-statement__text {
  font-family: var(--sb-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  line-height: 1.8;
  font-weight: 400;
  color: var(--sb-text);
}

.sb-statement__text em {
  font-style: italic;
  color: var(--sb-accent);
}

/* ==========================================================================
   6. SECTION SPACING & LAYOUT
   ========================================================================== */

.sb-section {
  padding: var(--sb-space-2xl) var(--sb-space-md);
  max-width: 1200px;
  margin: 0 auto;
}

.sb-section--surface {
  background: var(--sb-surface);
  max-width: none;
}

.sb-section--surface > .sb-section__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.sb-section__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sb-text-secondary);
  margin-bottom: 1rem;
}

.sb-section__title {
  font-family: var(--sb-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  text-wrap: balance;
}

/* Blocksy content area spacing */
.content-area,
.site-main {
  padding-top: 0;
}

.ct-container {
  max-width: 1200px;
}

/* ==========================================================================
   7. PRODUCT CARDS
   ========================================================================== */

.sb-product-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.5s ease;
}

.sb-product-card:hover {
  transform: translateY(-4px);
  color: inherit;
}

.sb-product-card__visual {
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.8rem;
  background: var(--sb-product-bg);
}

.sb-product-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 2rem;
  transition: transform 0.6s ease;
}

.sb-product-card:hover .sb-product-card__visual img {
  transform: scale(1.03);
}

.sb-product-card__badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.4);
}

.sb-product-card__name {
  font-family: var(--sb-serif);
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 0.6rem;
}

.sb-product-card__desc {
  font-size: 0.9rem;
  color: var(--sb-text-secondary);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.sb-product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.sb-product-card__link {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sb-accent);
  position: relative;
}

.sb-product-card__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--sb-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.sb-product-card:hover .sb-product-card__link::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ==========================================================================
   8. WOOCOMMERCE — Shop / Archive
   ========================================================================== */

.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  text-align: left;
  transition: transform 0.5s ease;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
}

/* Product image */
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product .ct-image-container img {
  border-radius: 0 !important;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: var(--sb-product-bg);
  padding: 1.5rem;
  transition: transform 0.6s ease;
}

.woocommerce ul.products li.product:hover a img,
.woocommerce ul.products li.product:hover .ct-image-container img {
  transform: scale(1.03);
}

/* Product title */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .ct-woo-card-inner h2 {
  font-family: var(--sb-serif) !important;
  font-size: 1.2rem !important;
  font-weight: 400 !important;
  color: var(--sb-text) !important;
  letter-spacing: 0.01em;
  margin-top: 1.2rem !important;
  padding: 0 !important;
}

/* Price */
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .ct-woo-card-inner .price {
  font-family: var(--sb-sans) !important;
  font-size: 0.95rem !important;
  color: var(--sb-text) !important;
  font-weight: 400 !important;
}

.woocommerce ul.products li.product .price del {
  color: var(--sb-text-secondary) !important;
  opacity: 0.6;
}

.woocommerce ul.products li.product .price ins {
  text-decoration: none;
  color: var(--sb-accent) !important;
}

/* Sale badge */
.woocommerce ul.products li.product .onsale,
.woocommerce span.onsale {
  background: var(--sb-accent) !important;
  color: var(--sb-white-soft) !important;
  border-radius: 0 !important;
  font-size: 0.65rem !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem !important;
  min-height: auto !important;
  min-width: auto !important;
  line-height: 1.4 !important;
}

/* Add to cart button in loop */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
  background: transparent !important;
  color: var(--sb-accent) !important;
  border: 1px solid var(--sb-border) !important;
  border-radius: 0 !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  padding: 0.7rem 1.5rem !important;
  font-weight: 400 !important;
  transition: all 0.3s ease !important;
  min-height: auto !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover {
  background: var(--sb-deep) !important;
  color: var(--sb-white-soft) !important;
  border-color: var(--sb-deep) !important;
}

/* Hide star ratings in loop */
.woocommerce ul.products li.product .star-rating {
  display: none;
}

/* Hide Blocksy product card extras */
.woocommerce ul.products li.product .ct-woo-card-extra,
.woocommerce ul.products li.product [data-product-actions] {
  display: none !important;
}

/* ==========================================================================
   9. WOOCOMMERCE — Single Product
   ========================================================================== */

.woocommerce div.product {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--sb-space-xl) var(--sb-space-md);
}

.woocommerce div.product div.images {
  background: var(--sb-product-bg);
  padding: 2rem;
}

.woocommerce div.product div.images img {
  border-radius: 0 !important;
}

.woocommerce div.product .product_title {
  font-family: var(--sb-serif) !important;
  font-size: clamp(1.8rem, 3vw, 2.6rem) !important;
  font-weight: 400 !important;
  margin-bottom: 1rem !important;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-family: var(--sb-sans) !important;
  font-size: 1.3rem !important;
  color: var(--sb-text) !important;
  font-weight: 400 !important;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--sb-text-secondary);
  margin: 1.5rem 0 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--sb-border);
}

/* Single add-to-cart */
.woocommerce div.product form.cart .button,
.woocommerce div.product .single_add_to_cart_button {
  background: var(--sb-deep) !important;
  color: var(--sb-white-soft) !important;
  border: none !important;
  border-radius: 0 !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  padding: 1rem 3rem !important;
  font-weight: 400 !important;
  min-height: auto !important;
  transition: background 0.3s ease !important;
}

.woocommerce div.product form.cart .button:hover,
.woocommerce div.product .single_add_to_cart_button:hover {
  background: var(--sb-accent) !important;
}

/* Quantity input */
.woocommerce div.product form.cart .quantity input.qty {
  border: 1px solid var(--sb-border) !important;
  border-radius: 0 !important;
  font-size: 0.95rem;
  padding: 0.6rem 0.8rem;
  width: 60px;
  text-align: center;
  background: var(--sb-ground);
  color: var(--sb-text);
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  border-bottom: 1px solid var(--sb-border) !important;
  padding: 0 !important;
  margin: var(--sb-space-lg) 0 var(--sb-space-md) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
  border-bottom-color: var(--sb-border) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 2rem 0 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-family: var(--sb-sans) !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--sb-text-secondary) !important;
  padding: 0.8rem 0 !important;
  font-weight: 400 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--sb-text) !important;
  border-bottom: 2px solid var(--sb-accent);
}

.woocommerce div.product .woocommerce-tabs .panel {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--sb-text-secondary);
}

/* Related products */
.woocommerce div.product .related.products > h2,
.woocommerce div.product .upsells.products > h2 {
  font-family: var(--sb-serif) !important;
  font-size: 1.6rem !important;
  font-weight: 400 !important;
  margin-bottom: var(--sb-space-md) !important;
}

/* ==========================================================================
   10. BUTTONS — Global
   ========================================================================== */

.wp-element-button,
.wc-block-components-button,
button:not(.ct-toggle):not(.ct-header-trigger),
input[type="submit"],
.ct-button,
.wp-block-button__link {
  background: var(--sb-deep) !important;
  color: var(--sb-white-soft) !important;
  border: none !important;
  border-radius: 0 !important;
  font-family: var(--sb-sans) !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  font-weight: 400 !important;
  padding: 0.9rem 2.2rem !important;
  transition: background 0.3s ease !important;
  cursor: pointer;
  min-height: auto !important;
}

.wp-element-button:hover,
.wc-block-components-button:hover,
button:not(.ct-toggle):not(.ct-header-trigger):hover,
input[type="submit"]:hover,
.ct-button:hover,
.wp-block-button__link:hover {
  background: var(--sb-accent) !important;
  color: var(--sb-white-soft) !important;
}

/* Outline button variant */
.wp-block-button.is-style-outline .wp-block-button__link,
.sb-btn--outline {
  background: transparent !important;
  color: var(--sb-text) !important;
  border: 1px solid var(--sb-border) !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.sb-btn--outline:hover {
  background: var(--sb-deep) !important;
  color: var(--sb-white-soft) !important;
  border-color: var(--sb-deep) !important;
}

/* ==========================================================================
   11. FORMS
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="tel"],
input[type="number"],
textarea,
select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  border: 1px solid var(--sb-border) !important;
  border-radius: 0 !important;
  background: var(--sb-ground) !important;
  color: var(--sb-text) !important;
  font-family: var(--sb-sans) !important;
  font-size: 0.95rem !important;
  padding: 0.8rem 1rem !important;
  transition: border-color 0.3s ease !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
  border-color: var(--sb-accent) !important;
  outline: none !important;
  box-shadow: none !important;
}

label,
.woocommerce form .form-row label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sb-text-secondary);
  margin-bottom: 0.4rem;
}

/* ==========================================================================
   12. INGREDIENTS SECTION
   ========================================================================== */

.sb-ingredient {
  padding: 2.5rem 2rem;
  border: 1px solid var(--sb-border);
  transition: border-color 0.4s ease;
}

.sb-ingredient:hover {
  border-color: var(--sb-accent);
}

.sb-ingredient__icon {
  width: 36px;
  height: 36px;
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.sb-ingredient__icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--sb-accent);
  fill: none;
  stroke-width: 1.2;
}

.sb-ingredient__name {
  font-family: var(--sb-serif);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 0.8rem;
}

.sb-ingredient__origin {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sb-accent);
  margin-bottom: 1rem;
}

.sb-ingredient__text {
  font-size: 0.88rem;
  color: var(--sb-text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   13. VALUES / TRUST SECTION
   ========================================================================== */

.sb-value {
  text-align: center;
  padding: 2rem 1rem;
}

.sb-value__number {
  font-family: var(--sb-serif);
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--sb-accent);
  line-height: 1;
  margin-bottom: 1.5rem;
  font-variant-numeric: tabular-nums;
}

.sb-value__name {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--sb-text);
}

.sb-value__text {
  font-size: 0.88rem;
  color: var(--sb-text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   14. CERTIFICATION BAND
   ========================================================================== */

.sb-cert {
  background: var(--sb-deep);
  padding: 5rem 2rem;
  text-align: center;
}

.sb-cert__text {
  font-family: var(--sb-serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.9;
  font-weight: 400;
  color: var(--sb-ground);
  max-width: 800px;
  margin: 0 auto;
  text-wrap: balance;
}

.sb-cert__marks {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.sb-cert__mark {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sb-accent-light);
  opacity: 0.7;
}

/* ==========================================================================
   15. FOOTER
   ========================================================================== */

footer[data-id],
.ct-footer {
  background: var(--sb-ground) !important;
  border-top: 1px solid var(--sb-border) !important;
}

.ct-footer .ct-container {
  max-width: 1200px;
  padding: 4rem 2rem 2rem;
}

.ct-footer .ct-widget-title,
.ct-footer h3,
.ct-footer h4 {
  font-family: var(--sb-sans) !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: var(--sb-text-secondary) !important;
  font-weight: 400 !important;
  margin-bottom: 1.2rem !important;
}

.ct-footer a {
  font-size: 0.88rem !important;
  color: var(--sb-text) !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

.ct-footer a:hover {
  color: var(--sb-accent) !important;
}

.ct-footer .widget_text,
.ct-footer p {
  font-size: 0.88rem;
  color: var(--sb-text-secondary);
  line-height: 1.7;
}

/* Copyright bar */
.ct-footer [data-row="bottom"],
.ct-footer .ct-footer-copyright {
  border-top: 1px solid var(--sb-border) !important;
  margin-top: 3rem;
  padding-top: 2rem !important;
  font-size: 0.78rem;
  color: var(--sb-text-secondary);
}

/* ==========================================================================
   16. BLOG / POSTS
   ========================================================================== */

.blog .entry-card,
.archive .entry-card,
[data-cards] .entry-card {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  overflow: visible !important;
  transition: transform 0.5s ease;
}

.blog .entry-card:hover,
.archive .entry-card:hover {
  transform: translateY(-4px);
}

.entry-card .entry-title,
.entry-card .ct-post-title {
  font-family: var(--sb-serif) !important;
  font-size: 1.3rem !important;
  font-weight: 400 !important;
}

.entry-card .entry-excerpt,
.entry-card .ct-post-excerpt {
  font-size: 0.9rem;
  color: var(--sb-text-secondary);
  line-height: 1.7;
}

.entry-card .ct-post-date,
.entry-card .entry-meta {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sb-text-secondary);
}

.entry-card .ct-image-container img {
  border-radius: 0 !important;
}

/* Single post */
.single-post .entry-header {
  text-align: center;
  padding: var(--sb-space-xl) var(--sb-space-md) var(--sb-space-lg);
}

.single-post .entry-title {
  font-family: var(--sb-serif) !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 400 !important;
  max-width: 700px;
  margin: 0 auto 1rem;
  text-wrap: balance;
}

.single-post .entry-content {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.85;
}

/* ==========================================================================
   17. WOOCOMMERCE — Cart & Checkout
   ========================================================================== */

.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--sb-space-lg) var(--sb-space-md);
}

.woocommerce table.shop_table {
  border: 1px solid var(--sb-border) !important;
  border-radius: 0 !important;
}

.woocommerce table.shop_table th {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sb-text-secondary);
  font-weight: 400;
  border-bottom: 1px solid var(--sb-border) !important;
}

.woocommerce table.shop_table td {
  border-top: 1px solid var(--sb-border) !important;
}

/* Coupon */
.woocommerce .coupon .input-text {
  border-radius: 0 !important;
}

/* Order summary */
.woocommerce-checkout #order_review {
  border: 1px solid var(--sb-border) !important;
  border-radius: 0 !important;
  padding: 2rem !important;
  background: var(--sb-surface) !important;
}

/* ==========================================================================
   18. WOOCOMMERCE — Notices
   ========================================================================== */

.woocommerce-message,
.woocommerce-info {
  border-top-color: var(--sb-accent) !important;
  background: var(--sb-surface) !important;
  color: var(--sb-text) !important;
  border-radius: 0 !important;
}

.woocommerce-error {
  border-top-color: #a94442 !important;
  background: var(--sb-surface) !important;
  border-radius: 0 !important;
}

.woocommerce-message::before,
.woocommerce-info::before {
  color: var(--sb-accent) !important;
}

/* ==========================================================================
   19. BREADCRUMBS
   ========================================================================== */

.woocommerce .woocommerce-breadcrumb,
.ct-breadcrumbs {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sb-text-secondary);
  padding: 1.5rem 0;
}

.woocommerce .woocommerce-breadcrumb a,
.ct-breadcrumbs a {
  color: var(--sb-text-secondary) !important;
  text-decoration: none;
}

.woocommerce .woocommerce-breadcrumb a:hover,
.ct-breadcrumbs a:hover {
  color: var(--sb-accent) !important;
}

/* ==========================================================================
   20. PAGINATION
   ========================================================================== */

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span,
.ct-pagination a,
.ct-pagination span {
  border: 1px solid var(--sb-border) !important;
  border-radius: 0 !important;
  color: var(--sb-text) !important;
  font-size: 0.85rem;
  background: transparent !important;
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.ct-pagination .current {
  background: var(--sb-deep) !important;
  color: var(--sb-white-soft) !important;
  border-color: var(--sb-deep) !important;
}

/* ==========================================================================
   21. UTILITY CLASSES
   ========================================================================== */

.sb-serif { font-family: var(--sb-serif); }
.sb-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sb-text-secondary);
}
.sb-accent { color: var(--sb-accent); }
.sb-text-secondary { color: var(--sb-text-secondary); }

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

.sb-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.sb-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

@media (max-width: 900px) {
  .sb-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .sb-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .sb-grid-2,
  .sb-grid-3,
  .sb-grid-4 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   22. RESPONSIVE REFINEMENTS
   ========================================================================== */

@media (max-width: 768px) {
  .sb-hero__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .sb-hero__cta {
    padding: 0.8rem 2rem;
  }

  .sb-statement {
    padding: var(--sb-space-xl) var(--sb-space-sm);
  }

  .sb-section {
    padding: var(--sb-space-xl) var(--sb-space-sm);
  }

  .ct-header .ct-container {
    padding: 1rem;
  }

  .woocommerce div.product {
    padding: var(--sb-space-lg) var(--sb-space-sm);
  }
}

/* ==========================================================================
   23. CUSTOM HEADER
   ========================================================================== */

.sb-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 3rem;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.sb-header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}

.sb-header__links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sb-header__links a,
.sb-header__cart {
  text-decoration: none;
  font-family: var(--sb-sans);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}

.sb-header__links a:hover,
.sb-header__links a:focus-visible,
.sb-header__cart:hover,
.sb-header__cart:focus-visible {
  opacity: 0.6;
}

.sb-header__logo {
  font-family: var(--sb-sans);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.4s ease;
}

.sb-header__links--right {
  display: flex;
  align-items: center;
}

/* Transparent mode (front page) */
.sb-header--transparent .sb-header__links a,
.sb-header--transparent .sb-header__logo,
.sb-header--transparent .sb-header__cart {
  color: var(--sb-white-soft);
}

/* Solid mode (inner pages) */
.sb-header--solid {
  background: var(--sb-ground);
  border-bottom: 1px solid var(--sb-border);
}

.sb-header--solid .sb-header__links a,
.sb-header--solid .sb-header__logo,
.sb-header--solid .sb-header__cart {
  color: var(--sb-text);
}

/* Scrolled state */
.sb-header--scrolled {
  background: color-mix(in srgb, var(--sb-ground) 90%, transparent) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sb-border);
}

.sb-header--scrolled .sb-header__links a,
.sb-header--scrolled .sb-header__logo,
.sb-header--scrolled .sb-header__cart {
  color: var(--sb-text) !important;
}

@media (max-width: 768px) {
  .sb-header {
    padding: 1rem 1.5rem;
  }
  .sb-header__links--left {
    display: none;
  }
  .sb-header__logo {
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   24. CUSTOM FOOTER
   ========================================================================== */

.sb-footer {
  border-top: 1px solid var(--sb-border);
  padding: 5rem 2rem 3rem;
  background: var(--sb-ground);
}

.sb-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.sb-footer__brand {
  max-width: 300px;
}

.sb-footer__logo {
  font-family: var(--sb-sans);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--sb-text);
}

.sb-footer__tagline {
  font-size: 0.88rem;
  color: var(--sb-text-secondary);
  line-height: 1.7;
  font-style: italic;
}

.sb-footer__col-title {
  font-family: var(--sb-sans);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sb-text-secondary);
  margin-bottom: 1.2rem;
}

.sb-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.sb-footer__links a {
  font-size: 0.88rem;
  color: var(--sb-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.sb-footer__links a:hover,
.sb-footer__links a:focus-visible {
  color: var(--sb-accent);
}

.sb-footer__bottom {
  max-width: 1200px;
  margin: 4rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--sb-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--sb-text-secondary);
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 768px) {
  .sb-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .sb-footer__inner {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   25. HOMEPAGE SECTIONS
   ========================================================================== */

.sb-hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.sb-hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(250,248,244,0.3), transparent);
  animation: sb-scroll-pulse 2s ease-in-out infinite;
}

@keyframes sb-scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.2); }
}

/* Products section */
.sb-products {
  padding: var(--sb-space-lg) 2rem var(--sb-space-2xl);
  max-width: 1200px;
  margin: 0 auto;
}

.sb-products__header {
  text-align: center;
  margin-bottom: 5rem;
}

.sb-products__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sb-text-secondary);
  margin-bottom: 1rem;
}

.sb-products__title {
  font-family: var(--sb-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.sb-products__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .sb-products__grid {
    grid-template-columns: 1fr;
  }
}

/* Product card images */
.sb-product-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 2rem;
  transition: transform 0.6s ease;
}

.sb-product-card:hover .sb-product-card__img {
  transform: scale(1.03);
}

.sb-product-card__price {
  font-size: 0.95rem;
  color: var(--sb-text);
}

/* Product visual backgrounds */
.sb-product-card__visual--bh {
  background: linear-gradient(165deg, #1A1510, #2A2016, #1E1812);
}
.sb-product-card__visual--wh {
  background: linear-gradient(165deg, #2C2418, #3D2E1C, #2E2518);
}

/* Ingredients section */
.sb-ingredients {
  background: var(--sb-surface);
  padding: var(--sb-space-2xl) 2rem;
}

.sb-ingredients__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.sb-ingredients__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
}

.sb-ingredients__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sb-text-secondary);
  margin-bottom: 0.8rem;
}

.sb-ingredients__title {
  font-family: var(--sb-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
}

.sb-ingredients__note {
  font-size: 0.85rem;
  color: var(--sb-text-secondary);
  font-style: italic;
  max-width: 280px;
  text-align: right;
}

.sb-ingredients__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .sb-ingredients__grid { grid-template-columns: repeat(2, 1fr); }
  .sb-ingredients__header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .sb-ingredients__note { text-align: left; }
}

@media (max-width: 550px) {
  .sb-ingredients__grid { grid-template-columns: 1fr; }
}

/* Values section */
.sb-values {
  padding: var(--sb-space-2xl) 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.sb-values__header {
  text-align: center;
  margin-bottom: 5rem;
}

.sb-values__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sb-text-secondary);
  margin-bottom: 1rem;
}

.sb-values__title {
  font-family: var(--sb-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  text-wrap: balance;
}

.sb-values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

@media (max-width: 900px) {
  .sb-values__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 550px) {
  .sb-values__grid { grid-template-columns: 1fr; }
}

/* Certification inner */
.sb-cert__inner {
  max-width: 800px;
  margin: 0 auto;
}

/* Main content area */
.sb-main {
  margin: 0;
  padding: 0;
}

/* Hide Blocksy default header/footer when custom ones are active */
header[data-id],
.ct-header,
footer[data-id] {
  display: none !important;
}

/* ==========================================================================
   26. BLOCKSY OVERRIDES — Hide / suppress default styling
   ========================================================================== */

/* Reset Blocksy card styling */
[data-cards] {
  --card-radius: 0px !important;
  --card-shadow: none !important;
  --card-border: none !important;
  --card-background: transparent !important;
}

/* Override Blocksy product card styling */
[data-products] {
  --product-card-radius: 0px !important;
  --product-card-shadow: none !important;
}

/* Remove Blocksy's default hero/page header */
.ct-page-header-default,
.hero-section[data-type="type-1"] {
  display: none !important;
}

/* Override Blocksy's content width */
[data-content="normal"] .ct-container,
.ct-container[data-content] {
  max-width: 1200px !important;
}

/* Override Blocksy archive page title */
.ct-archive-title,
.woocommerce-products-header__title {
  font-family: var(--sb-serif) !important;
  font-weight: 400 !important;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem) !important;
  text-align: center;
  margin-bottom: var(--sb-space-lg) !important;
}

/* ==========================================================================
   STANDARD PAGES & POSTS (non-homepage)
   ========================================================================== */

.sb-main .entry-content,
.sb-main .page .entry-content {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--sb-space-xl) 2rem var(--sb-space-2xl);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--sb-text);
}

.sb-main .entry-content h1 {
  font-family: var(--sb-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
  text-wrap: balance;
}

.sb-main .entry-content h2 {
  font-family: var(--sb-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  margin-top: 3rem;
  margin-bottom: 1.2rem;
  letter-spacing: 0.01em;
}

.sb-main .entry-content h3 {
  font-family: var(--sb-serif);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 400;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.sb-main .entry-content p {
  margin-bottom: 1.4rem;
}

.sb-main .entry-content a {
  color: var(--sb-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease;
}

.sb-main .entry-content a:hover {
  color: var(--sb-accent-light);
}

.sb-main .entry-content hr {
  border: none;
  border-top: 1px solid var(--sb-border);
  margin: 2.5rem 0;
}

.sb-main .entry-content ul,
.sb-main .entry-content ol {
  margin-bottom: 1.4rem;
  padding-left: 1.5rem;
}

.sb-main .entry-content li {
  margin-bottom: 0.5rem;
}

.sb-main .entry-content strong {
  font-weight: 600;
}

.sb-main .entry-content em {
  font-style: italic;
  color: var(--sb-text-secondary);
}

.sb-main .entry-content blockquote {
  border-left: 2px solid var(--sb-accent);
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  color: var(--sb-text-secondary);
  font-style: italic;
}

.sb-main .entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 2px;
  margin: 1.5rem 0;
}

.sb-main .entry-content .wp-block-table,
.sb-main .entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  overflow-x: auto;
  display: block;
}

.sb-main .entry-content th,
.sb-main .entry-content td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--sb-border);
  text-align: left;
}

.sb-main .entry-content th {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sb-text-secondary);
}

/* WPForms integration */
.sb-main .entry-content .wpforms-container {
  max-width: 100%;
  margin-top: 2rem;
}

.sb-main .entry-content .wpforms-form input[type="text"],
.sb-main .entry-content .wpforms-form input[type="email"],
.sb-main .entry-content .wpforms-form textarea {
  background: var(--sb-surface);
  border: 1px solid var(--sb-border);
  color: var(--sb-text);
  padding: 0.8rem 1rem;
  font-family: var(--sb-sans);
  font-size: 0.95rem;
  width: 100%;
  border-radius: 0;
  transition: border-color 0.2s ease;
}

.sb-main .entry-content .wpforms-form input:focus,
.sb-main .entry-content .wpforms-form textarea:focus {
  border-color: var(--sb-accent);
  outline: none;
}

.sb-main .entry-content .wpforms-form button[type="submit"],
.sb-main .entry-content .wpforms-form .wpforms-submit {
  background: var(--sb-accent);
  color: var(--sb-deep);
  border: none;
  padding: 0.9rem 2.5rem;
  font-family: var(--sb-sans);
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}

.sb-main .entry-content .wpforms-form button[type="submit"]:hover {
  background: var(--sb-accent-light);
}

/* Blog post header */
.sb-main article.post .entry-content {
  padding-top: var(--sb-space-lg);
}

.sb-main article .post-meta {
  font-size: 0.82rem;
  color: var(--sb-text-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

/* Blog archive cards */
.sb-main .entries {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--sb-space-lg) 2rem;
}

@media (max-width: 600px) {
  .sb-main .entry-content,
  .sb-main .page .entry-content {
    padding: var(--sb-space-md) 1.2rem var(--sb-space-lg);
    font-size: 1rem;
  }
}
