/* ============================================
   Plantacles Home Page — Premium Editorial
   ============================================ */

/* Override Bootstrap accordion colors */
:root {
  --bs-accordion-bg: #fff;
  --bs-accordion-border-color: var(--home-border);
  --bs-accordion-btn-active-bg: #faf9f5;
  --bs-accordion-btn-active-border-color: transparent;
}

.home-page {
  background-color: var(--home-cream);
  color: var(--home-forest);
}

/* Trust bar */
.home-trust-bar {
  background: var(--home-cream);
  border-bottom: 1px solid var(--home-border);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--home-muted);
  padding: 0.6rem 0;
}

.home-trust-bar span + span::before {
  content: "·";
  margin: 0 0.65rem;
  color: var(--home-border);
}

/* Hero */
.home-hero {
  padding: 2rem 0 2.5rem;
  background: var(--home-cream);
}

.home-hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.home-hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--home-forest);
  margin-bottom: 0.85rem;
}

.home-hero-lead {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--home-muted);
  max-width: 26rem;
  margin-bottom: 1.25rem;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.home-btn-primary {
  background: var(--home-forest);
  border: 1px solid var(--home-forest);
  color: #fff;
  padding: 0.6rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.home-btn-primary:hover {
  background: transparent;
  color: var(--home-forest);
}

.home-btn-text {
  color: var(--home-forest);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--home-forest);
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}

.home-btn-text:hover {
  opacity: 0.7;
  color: var(--home-forest);
}

.home-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--home-border);
}

.home-hero-pill strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--home-forest);
}

.home-hero-pill span {
  font-size: 0.7rem;
  color: var(--home-muted);
}

.home-hero-visual {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    max-width: 380px;
    margin: 0 auto;
    background: var(--home-sage);
}

.home-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero-visual-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 0.65rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--home-forest);
}

/* Section headers */
.home-section {
  padding: 2.5rem 0;
}

.home-section-header {
  margin-bottom: 1.5rem;
}

.home-section-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--home-gold);
  margin-bottom: 0.75rem;
}

.home-section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 500;
  color: var(--home-forest);
  margin-bottom: 0.35rem;
}

.home-section-sub {
  color: var(--home-muted);
  font-size: 0.95rem;
  max-width: 32rem;
}

/* Category strip */
.home-categories-scroll {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.home-categories-scroll::-webkit-scrollbar {
  display: none;
}

.home-category-tile {
  flex: 0 0 auto;
  width: 110px;
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: transform 0.25s ease;
}

.home-category-tile:hover {
  transform: translateY(-4px);
  color: inherit;
}

.home-category-tile-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--home-sage);
  margin-bottom: 0.75rem;
  border: 1px solid var(--home-border);
}

.home-category-tile-img .img-carousel {
  width: 100%;
  height: 100%;
}

.home-category-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.home-category-tile:hover .home-category-tile-img img {
  transform: scale(1.06);
}

.home-category-tile-name {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--home-forest);
}

/* Product tabs */
.home-product-tabs {
  display: flex;
  gap: 0.25rem;
  border-bottom: 1px solid var(--home-border);
  margin-bottom: 1.25rem;
}

.home-product-tab {
  background: none;
  border: none;
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--home-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.home-product-tab:hover,
.home-product-tab.active {
  color: var(--home-forest);
  border-bottom-color: var(--home-forest);
}

.home-product-panel {
  display: none;
}

.home-product-panel.active {
  display: block;
}

.home-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 220px));
  gap: 1.25rem;
  justify-content: start;
}

/* Home product card */
.home-product-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.home-product-card:hover {
  color: inherit;
}

.home-product-card-img-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #fff;
  border: 1px solid var(--home-border);
  overflow: hidden;
  margin-bottom: 0.65rem;
}

.home-product-card-img-wrap .img-carousel {
  width: 100%;
  height: 100%;
}

.home-product-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.home-product-card:hover .home-product-card-img-wrap img {
  transform: scale(1.04);
}

.home-product-card .wishlist-toggle {
  bottom: 0.75rem;
  right: 0.75rem;
}

.home-product-card-category {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--home-muted);
  margin-bottom: 0.35rem;
}

.home-product-card-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--home-forest);
  margin-bottom: 0.25rem;
  line-height: 1.35;
}

.home-product-card-price {
  font-family: var(--font-numeric, 'Cormorant Garamond', Georgia, serif);
  font-size: 0.85rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--home-forest);
}

.home-product-card-price del {
  color: var(--home-muted);
  font-weight: 400;
  font-size: 0.8rem;
  margin-left: 0.35rem;
}

/* Brand story */
.home-story {
  background: var(--home-sage);
  padding: 2.5rem 0;
}

.home-story-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--home-forest);
  margin-bottom: 0.85rem;
}

.home-story-text {
  color: var(--home-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.home-story-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.home-story-stat strong {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--home-forest);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.home-story-stat span {
  font-size: 0.8rem;
  color: var(--home-muted);
}

.home-spotlight-img {
    aspect-ratio: 3 / 4;
    max-width: 280px;
    background: #fff;
    border: 1px solid var(--home-border);
    overflow: hidden;
    margin-left: auto;
    margin-right: 0;
}

.home-spotlight-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-spotlight-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--home-gold);
  margin-bottom: 0.75rem;
}

.home-spotlight-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 500;
  margin-bottom: 0.65rem;
}

.home-spotlight-desc {
  color: var(--home-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.home-spotlight-price {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Reviews */
.home-review-card {
  background: #fff;
  border: 1px solid var(--home-border);
  padding: 1.25rem;
  height: 100%;
}

.home-review-stars {
  color: var(--home-gold);
  font-size: 0.75rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.home-review-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--home-forest);
  margin-bottom: 1rem;
}

.home-review-author {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--home-forest);
}

.home-review-meta {
  font-size: 0.75rem;
  color: var(--home-muted);
}

/* Newsletter */
.home-newsletter {
  border: 1px solid var(--home-border);
  background: #fff;
  padding: 2rem 1.5rem;
  text-align: center;
}

.home-newsletter-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.home-newsletter-sub {
  color: var(--home-muted);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.home-newsletter-form {
  display: flex;
  gap: 0.5rem;
  max-width: 440px;
  margin: 0 auto 0.75rem;
}

.home-newsletter-form input {
  flex: 1;
  border: 1px solid var(--home-border);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  background: var(--home-cream);
}

.home-newsletter-form input:focus {
  outline: none;
  border-color: var(--home-forest);
}

.home-newsletter-form button {
  background: var(--home-forest);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.home-newsletter-form button:hover {
  background: var(--primary-color);
}

.home-newsletter-note {
  font-size: 0.75rem;
  color: var(--home-muted);
}

/* Trust footer row */
.home-trust-row {
  padding: 1.75rem 0;
  border-top: 1px solid var(--home-border);
}

.home-trust-item {
  text-align: center;
  padding: 0 1rem;
}

.home-trust-item i {
  font-size: 1.25rem;
  color: var(--home-forest);
  margin-bottom: 0.5rem;
}

.home-trust-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--home-forest);
}

.home-trust-item span {
  font-size: 0.75rem;
  color: var(--home-muted);
}

/* Scroll reveal */
.home-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.home-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 991px) {
  .home-hero-visual {
    max-width: 320px;
    margin-left: 0;
  }

  .home-spotlight-img {
    max-width: 240px;
    margin: 0 auto 1rem;
  }

  .home-product-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
  }

  .home-story-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 767px) {
  .home-hero {
    padding: 1.5rem 0 2rem;
  }

  .home-section {
    padding: 2rem 0;
  }

  .home-newsletter-form {
    flex-direction: column;
  }

  .home-trust-bar span {
    display: block;
  }

  .home-trust-bar span + span::before {
    display: none;
  }
}

@media (max-width: 575px) {
  .home-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .home-category-tile,
  .home-category-tile-img {
    width: 90px;
    height: 90px;
  }
}

/* ==========================================
   FAQ Accordion - Plantacles Theme
========================================== */

.accordion-item {
    border: 1px solid var(--home-border) !important;
    background: #fff;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    background: #fff !important;
    color: var(--home-forest) !important;
    font-weight: 500;
    padding: 1.25rem 1.5rem;
    box-shadow: none !important;
    --bs-btn-box-shadow: none !important;
}

    .accordion-button:hover {
        background: #faf9f5 !important;
    }

    .accordion-button[aria-expanded="true"] {
        background: #faf9f5 !important;
        box-shadow: none !important;
        --bs-btn-box-shadow: none !important;
    }

    .accordion-button:active {
        background-color: #faf9f5 !important;
        box-shadow: none !important;
        border-color: transparent !important;
    }

    .accordion-button:focus {
        background-color: #faf9f5 !important;
        box-shadow: none !important;
        border-color: transparent !important;
        outline: none !important;
    }

    .accordion-button:focus-visible {
        background-color: #faf9f5 !important;
        box-shadow: none !important;
        border-color: transparent !important;
        outline: none !important;
    }

    .accordion-button::after {
        filter: brightness(0.3);
    }

.accordion-body {
    background: #fff;
    color: var(--home-muted);
    line-height: 1.7;
    padding: 1.5rem;
    border-top: 1px solid var(--home-border);
}

.accordion-header i {
    color: var(--home-forest);
}

/* FAQ Search */

#faqSearch {
    border: 1px solid var(--home-border);
    background: #fff;
    color: var(--home-forest);
    padding: 0.9rem 1rem;
}

    #faqSearch:focus {
        border-color: var(--home-forest);
        box-shadow: none;
    }