/* ============================================
   Harvest — Rustic, Honest, Unhurried
   Brand: farm-to-table, organic, handmade quality
   Fonts: Literata (heading) + Lexend (body)
   Like: a hand-stamped label on a jar of local honey
   Color: warm amber neutrals, deep olive green accent
   ============================================ */

.theme-harvest {
  /* --- Hero: warm, grounded --- */
  & .hero-content h1 {
    font-weight: 400;
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    letter-spacing: -0.02em;
    line-height: 1.1;
  }

  & .hero-content .hero-sub {
    font-size: 1rem;
    letter-spacing: 0.01em;
  }

  & .hero-actions a {
    border-radius: 2rem;
    padding: 0.75em 2em;
    font-size: 0.875rem;
    font-weight: 500;
  }

  /* --- Categories: warm rounded cards with descriptions --- */
  & .category-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
  }

  & .category-card {
    border-radius: 1rem;
    padding: 1.5rem;
    background: oklch(0.96 0.015 80);
    border: none;

    & .category-image {
      border-radius: 0.75rem;
      background: oklch(0.90 0.03 80);
    }

    & h3 {
      font-weight: 500;
      font-size: 1rem;
    }

    &:hover {
      background: oklch(0.93 0.02 80);
      transform: none;
    }
  }

  /* --- Section heads: warm serif --- */
  & .section-head h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: -0.01em;
  }

  /* --- Product cards: rounded, warm hover --- */
  & .product-card {
    border-radius: 0.75rem;
    overflow: hidden;

    & .product-image { border-radius: 0.75rem; }

    & h3 {
      font-family: var(--font-display);
      font-weight: 400;
      font-size: 0.9375rem;
    }

    & .card-action {
      border-radius: 2rem;
      font-size: 0.8125rem;
    }
  }

  /* --- Newsletter: warm tinted with rounded inputs --- */
  & .newsletter {
    border-radius: 1.5rem;
    background: oklch(0.94 0.025 80);

    & h2 {
      font-family: var(--font-display);
      font-weight: 400;
      font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    }

    & input { border-radius: 2rem; }
    & button { border-radius: 2rem; }
  }

  /* --- PDP --- */
  & .pdp-gallery .pdp-hero { border-radius: 0.75rem; }
  & .pdp-gallery nav button { border-radius: 0.5rem; }
  & .pdp-info h1 { font-weight: 400; }
  & .pdp-add-btn { border-radius: 2rem; }

  /* --- Filter sidebar --- */
  & .filter-group h3 {
    font-family: var(--font-display);
    font-weight: 400;
    text-transform: none;
    font-size: 0.9375rem;
    letter-spacing: 0;
  }

  /* --- Footer: warm --- */
  & footer {
    background: oklch(0.93 0.02 80);
    border-block-start: none;

    & nav h3 {
      font-family: var(--font-display);
      font-weight: 400;
      text-transform: none;
      font-size: 1rem;
    }
  }

  & .footer-brand .logo-text {
    font-family: var(--font-display);
    font-weight: 400;
  }

  /* --- CMS pages --- */
  & .cms-page > h1 { font-weight: 400; }
  & .cms-content h2 { font-weight: 400; }

  /* --- Category hero --- */
  & .category-hero h1 { font-weight: 400; }

  /* --- Breadcrumb --- */
  & .breadcrumb ol { font-size: 0.8125rem; }

  /* --- Cart --- */
  & .empty-state a { border-radius: 2rem; }

  /* --- Sort select --- */
  & .catalog-toolbar .sort-select select { border-radius: 2rem; }

  /* --- Catalog: warm rounded, farm-to-table --- */
  & .catalog {
    gap: clamp(1.5rem, 3vw, 2.5rem);
  }

  & .catalog-toolbar {
    background: oklch(0.96 0.015 80);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;

    & .result-count {
      font-family: var(--font-display);
      font-size: 0.875rem;
      font-weight: 400;
    }

    & .filter-toggle {
      border-radius: 2rem;
    }
  }

  & .catalog .product-grid {
    gap: clamp(1rem, 2vw, 1.5rem);
  }

  & .active-filters {
    & .active-filter-pill {
      border-radius: 2rem;
      background: oklch(0.94 0.025 80);
      font-size: 0.8125rem;
    }
  }

  /* --- PDP: warm rounded, serif headings --- */
  & .pdp {
    gap: clamp(2rem, 4vw, 3rem);
  }

  & .pdp-gallery .pdp-thumbnails button {
    border-radius: 0.375rem;

    &[aria-pressed="true"] {
      outline: 2px solid oklch(0.45 0.08 80);
      outline-offset: 2px;
    }
  }

  & .pdp-info {
    & .pdp-brand {
      font-family: var(--font-display);
      font-size: 0.875rem;
      font-weight: 400;
      color: oklch(0.45 0.06 80);
    }

    & h1 {
      font-family: var(--font-display);
      font-weight: 400;
      font-size: clamp(1.75rem, 3.5vw, 2.5rem);
      letter-spacing: -0.01em;
    }

    & .pdp-price {
      font-size: 1.25rem;
      font-weight: 500;
    }

    & .pdp-description {
      font-size: 0.9375rem;
      line-height: 1.75;
    }
  }

  & .pdp-actions {
    & .quantity-selector {
      border-radius: 2rem;
    }

    & .pdp-add-btn {
      border-radius: 2rem;
      font-size: 0.875rem;
      padding: 0.875rem 2rem;
    }
  }

  & .pdp-trust {
    font-size: 0.8125rem;
    color: oklch(0.45 0.05 80);
  }

  & .pdp-variants .pdp-variant-btn {
    border-radius: 2rem;
    font-family: var(--font-display);
  }

  & .pdp-tabs .pdp-tab-nav button {
    border-radius: 2rem;
    font-family: var(--font-display);
    font-weight: 400;
  }

  /* --- Related: warm background --- */
  & .related-section {
    background: oklch(0.96 0.015 80);
    border-radius: 1rem;
    padding: clamp(2rem, 4vw, 3rem);
    margin-block-start: clamp(3rem, 6vw, 5rem);
  }

  & .related-section .section-head h2 {
    font-family: var(--font-display);
    font-weight: 400;
  }
}
