/**
 * Account4All — Home page redesign · Stage 6 (v1.9.0)
 * -------------------------------------------------------------------------
 * CSS-only restyle scoped to body.home. partials/hero.php markup and every
 * carbon_get_theme_option()/widget reader stay untouched; brand bento tiles
 * keep their own per-brand colors (only chrome/radius/elevation align).
 * LCP: no new render-blocking assets beyond this sheet; hero images and
 * preloads (includes/performance.php) untouched. Token-only colors.
 */

body.home {
  background: var(--bg-soft) !important;
}

/* ---- Hero ----------------------------------------------------------------- */
body.home .search_hero .is-size-2.has-text-weight-bold,
body.home #hero h1.is-size-2,
body.home h1.is-size-2.has-text-weight-bold {
  color: var(--ink-900) !important;
}
body.home .search_hero .is-size-6.has-text-weight-bold,
body.home .search_hero .my-4.has-text-weight-bold {
  color: var(--fg-2);
}
/* Hero search box (Bulma pale-grey box in the old design) */
body.home .search_hero #search,
body.home .search_hero .has-background-pale-grey {
  background: var(--surface) !important;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill) !important;
  box-shadow: var(--sh-card);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
body.home .search_hero #search:focus-within,
body.home .search_hero .has-background-pale-grey:focus-within {
  border-color: var(--brand-blue-accent);
  box-shadow: var(--focus-ring);
}
body.home .search_hero input {
  background: none;
  border: 0;
  font-family: inherit;
  color: var(--fg-1);
}
body.home #hero_tags a,
body.home .search_hero .tag {
  background: var(--bg-lilac);
  border: 1px solid var(--pale-lilac);
  color: var(--brand-blue);
  border-radius: var(--r-pill);
  font-weight: var(--fw-bold);
}

/* ---- Bento promo tiles (brand art stays; chrome aligns) ------------------- */
body.home .popular_product_wrapper {
  border-radius: var(--r-lg) !important;
  box-shadow: var(--sh-card);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
body.home .popular_product_wrapper:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-card-2);
}

/* ---- Section frames & titles ---------------------------------------------- */
body.home .custom_slider.box,
body.home .slider_one.box,
body.home .box.is-border-radius-20 {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl) !important;
  box-shadow: var(--sh-card);
}
body.home .slider-title,
body.home .is-size-4.has-text-weight-bold.has-text-dark {
  color: var(--ink-900) !important;
  font-weight: var(--fw-extrabold) !important;
}
body.home .slider-title + a,
body.home .custom_slider a.has-text-info {
  color: var(--brand-blue-accent);
  font-weight: var(--fw-bold);
}

/* ---- Product slider cards (same component language as shop) ---------------- */
body.home .glide__slide.has-background-white.p-3 {
  border: 1px solid var(--line);
  border-radius: var(--r-lg) !important;
  box-shadow: var(--sh-card);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
body.home .glide__slide.has-background-white.p-3:hover {
  transform: translateY(-4px);
  border-color: var(--pale-lilac);
  box-shadow: var(--sh-card-2);
}
body.home .glide__slide img.is-border-radius-20 {
  border-radius: var(--r-md) !important;
}
body.home .glide__slide h2,
body.home .glide__slide h3.pt-5.has-text-weight-bold,
body.home .glide__slide .has-text-weight-bold.is-white-space-normal {
  font-size: 13.5px;
  font-weight: var(--fw-bold);
  color: var(--fg-1);
  line-height: var(--lh-snug);
}
body.home .glide__slide .is-price-dashed {
  color: var(--fg-4);
  font-size: 11.5px;
}
body.home .glide__slide .has-text-danger {
  color: var(--danger) !important;
  font-weight: var(--fw-extrabold);
  font-size: 13.5px;
}
body.home .glide__slide .button.is-dark {
  background-color: var(--brand-blue);
  border: 0;
  border-radius: var(--r-pill);
  color: var(--surface);
  font-size: 11.5px;
  font-weight: var(--fw-bold);
  padding-inline: 16px;
  box-shadow: 0 6px 18px rgba(0, 10, 255, 0.22);
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
body.home .glide__slide .button.is-dark:hover {
  background-color: var(--brand-blue-hover);
  box-shadow: none;
  color: var(--surface);
}
body.home .sale-tag.tag.is-danger {
  background: var(--danger);
  color: var(--surface);
  border-radius: var(--r-pill);
  font-weight: var(--fw-bold);
}

/* Slider arrows */
body.home .glide__arrow,
body.home .category-slider__controls .button {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--fg-2);
  box-shadow: var(--sh-card);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
body.home .glide__arrow:hover,
body.home .category-slider__controls .button:hover {
  border-color: var(--pale-lilac);
  color: var(--brand-blue);
}

/* ---- Banners ----------------------------------------------------------------- */
body.home .turkey_purchase_banner {
  background: var(--ink-900);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-card);
}
body.home .turkey_purchase_banner_title {
  color: var(--surface);
  font-weight: var(--fw-extrabold);
}
body.home .turkey_purchase_banner_description {
  color: var(--pale-lilac);
}

/* ---- Blog strip ---------------------------------------------------------------- */
body.home .blog-slider-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg) !important;
  box-shadow: var(--sh-card);
}
body.home .blog-slider-card:hover {
  border-color: var(--pale-lilac);
  box-shadow: var(--sh-card-2);
}

/* ---- Responsive ----------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  body.home .search_hero .is-size-2.has-text-weight-bold {
    font-size: 1.6rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home .popular_product_wrapper,
  body.home .glide__slide.has-background-white.p-3,
  body.home .blog-slider-card {
    transition-duration: 0.001ms !important;
  }
}
