/* ============================================================
   Aush — main.css
   Component styles: Footer + section/page utilities (Navigation & Header moved to assets/css/site-header.css)
   All design tokens defined in base.css
   ============================================================ */


/* ── Site Footer ───────────────────────────────────────────────
   Was permanently dark (var(--color-bg-dark)) regardless of theme,
   AND its own decorative borders/placeholders were tinted black
   (rgba(0,0,0,...)) as if sitting on a light surface — a mismatched
   pair that made those borders/placeholder text nearly invisible
   against the actually-dark background. Now fully theme-token-based:
   light surface in light mode (flips dark in dark mode via the same
   tokens as the rest of the site), and every border/placeholder
   below uses the matching light-tinted-in-dark / dark-tinted-in-
   light border tokens instead of a hardcoded assumption. ───────── */
.site-footer {
  position: relative;
  background-color: var(--color-bg-light);
  color: var(--color-text-light);
  border-top: 1px solid var(--color-border);
}

/* Thin brand accent line across the very top — a small creative
   touch that also doubles as a clear visual seam between page
   content and footer in either theme. */
.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), var(--color-cool-light), transparent);
  opacity: 0.7;
}

.footer-top {
  padding-block: var(--space-12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: var(--space-6);
}

/* Brand column */
.footer-logo {
  display: inline-block;
  margin-bottom: var(--space-3);
}

.footer-logo__img {
  display: block;
  height: 32px;
  width: auto;
  object-fit: contain;
}

.footer-tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
  max-width: 28ch;
  margin-bottom: var(--space-4);
}

.footer-social {
  display: flex;
  gap: var(--space-4);
}

/* Real brand-icon SVGs (assets/images/social-icons/) carry
   their own colored rounded-square badge already, unlike the old
   monochrome stroke icons this replaced — so the link itself just
   sizes/positions the image rather than drawing its own circle. */
.footer-social__link {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--duration-fast), opacity var(--duration-fast);
}

.footer-social__link img {
  display: block;
  width: 100%;
  height: 100%;
}

.footer-social__link:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

/* Footer column headings */
.footer-col__heading {
  font-size: var(--text-xs);
  font-weight: var(--font-semi);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-dark);
  margin-bottom: var(--space-3);
  position: relative;
  padding-bottom: var(--space-2);
}

.footer-col__heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 1px;
  background: var(--color-accent);
}

/* Footer links */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-links__link {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color var(--duration-fast), padding-left var(--duration-fast);
}

.footer-links__link:hover {
  color: var(--color-accent);
  padding-left: var(--space-2);
}

/* Footer address */
.footer-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: var(--color-text-muted);
  transition: color var(--duration-fast);
}

.footer-contact-item a:hover {
  color: var(--color-accent);
}

/* Newsletter */
.footer-newsletter__label {
  font-size: var(--text-xs);
  font-weight: var(--font-semi);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.footer-newsletter__field {
  display: flex;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.footer-newsletter__field:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-subtle);
}

.footer-newsletter__input {
  flex: 1;
  min-width: 0;
  padding: var(--space-3) var(--space-4);
  background: transparent;
  border: none;
  color: var(--color-text-dark);
  font-size: var(--text-sm);
  outline: none;
}

.footer-newsletter__input::placeholder {
  color: var(--color-text-muted);
}

.footer-newsletter__btn {
  padding: var(--space-3) var(--space-4);
  background: var(--color-accent);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: background var(--duration-fast);
}

.footer-newsletter__btn:hover {
  background: var(--color-accent-dark);
}

/* Shared payment-icon badge — built by paymentIconTag()/SHOP_PAYMENT_ICONS
   (includes/shop/functions.php), rendered on the product page, checkout,
   and the footer's payment row below. Lives here (not a page-specific
   stylesheet) since it's the same PHP helper output in all three. */
.pd-payment__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.pd-pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 0.65rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg-white);
}

.pd-pay-badge img {
  display: block;
  width: auto;
  height: auto;
  max-width: 44px;
  max-height: 18px;
  object-fit: contain;
}

.pd-pay-badge__placeholder {
  font-size: var(--text-2xs);
  font-weight: var(--font-bold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-text-light);
}

/* Footer bottom bar — an always-dark utility strip (independent of the
   site's light/dark theme, like the payment-badge row on a marketplace
   footer) sitting under the theme-following footer-top above it, so it
   deliberately doesn't use the flipping --color-bg-* tokens. */
.footer-bottom {
  padding-block: var(--space-4);
  background: var(--color-bg-dark);
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-6);
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--duration-fast);
}

.footer-bottom__link:hover {
  color: var(--color-accent);
}

.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-copyright {
  font-size: var(--text-2xs);
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footer-legal__link {
  font-size: var(--text-2xs);
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--duration-fast);
}

.footer-legal__link:hover {
  color: var(--color-accent);
}

.footer-legal__sep {
  color: rgba(255, 255, 255, 0.3);
}

/* Payment badges need to stay a light box for contrast against the
   always-dark bar in both site themes — .pd-pay-badge above instead
   uses the theme-flipping --color-bg-white, which turns dark in site
   dark mode and would disappear against this bar, so it isn't reused
   here directly. */
.footer-payments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
}

.footer-payments__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 0.5rem;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.92);
}

.footer-payments__badge img {
  display: block;
  max-width: 32px;
  max-height: 14px;
  object-fit: contain;
}

.footer-payments__badge .pd-pay-badge__placeholder {
  font-size: 9px;
  color: #4b5563;
}

/* ── Page Hero (shared base) ──────────────────────────────── */
.page-hero {
  position: relative;
  min-height: 100vh;
  /* fallback: older Android/iOS */
  min-height: 100dvh;
  /* dynamic viewport — hides with browser chrome */
  min-height: 100svh;
  /* small viewport — stable, no chrome shift */
  display: flex;
  align-items: center;
  background-color: var(--color-bg-dark);
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: transform;
}

/* Critical: picture must be block + full size so img fills the hero */
.page-hero__bg picture {
  display: block;
  width: 100%;
  height: 100%;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;

  filter: brightness(1.18) contrast(1.12);
  transition: opacity .4s ease;
}

/* hero-home.jpg's subject (the cooling unit) sits right-of-centre in the
   source photo — on narrow/portrait viewports a plain centre crop leaves
   a lot of dead space on the left instead of framing the product. */
.page-hero__bg img[src*="hero-home"] {
  object-position: 68% center;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(10, 10, 10, .85) 0%,
      rgba(10, 10, 10, .5) 50%,
      rgba(10, 10, 10, .3) 100%);
  z-index: 0;
}

.page-hero__content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-32);
}

.page-hero__label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--font-semi);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-5);
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp .6s var(--ease-out) .2s forwards;
}

.page-hero__title {
  font-size: clamp(var(--text-2xl), 5.5vw, var(--text-5xl));
  font-weight: var(--font-bold);
  letter-spacing: var(--tracking-tight);
  /* Explicit white, NOT --color-text-white (that token now means "text on
     a flat section that used to be dark, now light" — this text instead
     sits on a real photo behind a hardcoded dark scrim (.page-hero__overlay,
     below), which still needs white text regardless of the site theme,
     since the photo itself can't be recolored). */
  color: #ffffff;
  line-height: var(--leading-tight);
  max-width: 16ch;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .7s var(--ease-out) .35s forwards;
}

.page-hero__subtitle {
  font-size: clamp(var(--text-base), 2vw, var(--text-xl));
  color: rgba(255, 255, 255, .65);
  max-width: 48ch;
  line-height: var(--leading-loose);
  margin-top: var(--space-5);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .7s var(--ease-out) .5s forwards;
}

.page-hero__actions {
  margin-top: var(--space-10);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .7s var(--ease-out) .65s forwards;
}

/* ── Scroll indicator ─────────────────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  /* White — sits on a photo hero with a dark scrim (see
     .page-hero__overlay). */
  color: rgba(255, 255, 255, .4);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator__line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
}

/* ── Home Hero: bottom-anchored, centered, smaller text ─── */

/* Push content block to the bottom of the full-viewport section */
.home-hero {
  align-items: flex-end;
}

/* Vignette overlay — lighter centre, darker bottom for text legibility */
.home-hero .page-hero__overlay {
  background:
    radial-gradient(ellipse 90% 70% at 50% 50%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .32) 100%),
    linear-gradient(to bottom,
      rgba(0, 0, 0, .18) 0%,
      rgba(0, 0, 0, .04) 35%,
      rgba(0, 0, 0, .04) 60%,
      rgba(0, 0, 0, .55) 100%);
}

/* Bottom-anchored, centered block */
.home-hero .page-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  padding-top: var(--space-6);
  /* sit above the scroll-indicator (approx 100px tall at bottom) */
  padding-bottom: calc(var(--space-16) + 96px);
}

/* Smaller title for home hero */
.home-hero .page-hero__title {
  font-size: clamp(var(--text-xl), 3vw, var(--text-3xl));
  max-width: 22ch;
  margin-inline: auto;
}

/* Smaller subtitle */
.home-hero .page-hero__subtitle {
  font-size: var(--text-sm);
  max-width: 52ch;
  margin-top: var(--space-3);
  margin-inline: auto;
}

/* Tighter action row */
.home-hero .page-hero__actions {
  justify-content: center;
  margin-top: var(--space-6);
}

/* Slow Ken Burns zoom on the hero background image */
.home-hero .page-hero__bg img {
  animation: heroKenBurns 18s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.07);
  }
}

/* ── Section: Product Cards ───────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.product-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.product-card__image-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--color-bg-light);
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.product-card:hover .product-card__img {
  transform: scale(1.06);
}

.product-card__body {
  padding: var(--space-5) var(--space-5) var(--space-6);
}

.product-card__category {
  font-size: var(--text-xs);
  font-weight: var(--font-semi);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.product-card__name {
  font-size: var(--text-md);
  font-weight: var(--font-bold);
  color: var(--color-text-dark);
  margin-bottom: var(--space-2);
  line-height: var(--leading-snug);
}

.product-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-4);
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card__price {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--color-text-dark);
}

/* ── Blog Cards ───────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.blog-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg-white);
  transition: transform var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-card__image-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.blog-card:hover .blog-card__img {
  transform: scale(1.05);
}

.blog-card__body {
  padding: var(--space-5) var(--space-6) var(--space-6);
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.blog-card__category {
  font-size: var(--text-xs);
  font-weight: var(--font-semi);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-accent);
}

.blog-card__date {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.blog-card__title {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--color-text-dark);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-3);
  transition: color var(--duration-fast);
}

.blog-card:hover .blog-card__title {
  color: var(--color-accent);
}

.blog-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-body);
  line-height: var(--leading-normal);
}

.blog-card__readmore {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--font-semi);
  color: var(--color-accent);
  margin-top: var(--space-4);
  transition: gap var(--duration-fast);
}

.blog-card:hover .blog-card__readmore {
  gap: var(--space-3);
}

/* ── Pagination ───────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-12);
}

.pagination__btn {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text-dark);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast);
}

.pagination__btn:hover,
.pagination__btn.is-active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-text-dark);
}

.pagination__btn.is-active {
  font-weight: var(--font-bold);
}

/* ── Blog Listing (blog.php) ──────────────────────────────────
   Only .blog-card and .pagination had rules — the featured post,
   two-column layout, sidebar widgets and empty state all rendered
   as unstyled raw HTML. Full set added, matching .blog-card's
   existing visual language (rounded-md cards, shadow-lg hover,
   accent color) so the page reads as one system. ── */
.blog-main {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: var(--space-10);
  align-items: start;
}

.blog-content {
  min-width: 0;
}

/* Author initial avatar — shared by the featured post and each grid card */
.author-avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-subtle);
  color: var(--color-accent-dark);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
}
.author-avatar--sm {
  width: 28px;
  height: 28px;
  font-size: var(--text-xs);
}

/* ── Featured post ── */
.blog-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--space-8);
  align-items: center;
  padding: var(--space-6);
  margin-bottom: var(--space-12);
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.blog-featured__image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.blog-featured__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}
.blog-featured:hover .blog-featured__image img {
  transform: scale(1.04);
}

.blog-featured__badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: #ffffff;
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.blog-featured__title {
  font-size: clamp(var(--text-xl), 2.6vw, var(--text-2xl));
  font-weight: var(--font-bold);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-3);
}
.blog-featured__title a {
  color: var(--color-text-dark);
  transition: color var(--duration-fast);
}
.blog-featured:hover .blog-featured__title a {
  color: var(--color-accent);
}

.blog-featured__excerpt {
  font-size: var(--text-base);
  color: var(--color-text-body);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-6);
}

.blog-featured__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.blog-featured__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text-body);
}

/* Featured post + grid cards share .blog-card__meta styling, but
   .blog-card__meta only ever appeared in a .blog-card before —
   reused here on .blog-featured__body directly. */
.blog-featured__body .blog-card__meta {
  margin-bottom: var(--space-4);
}

/* ── Category filter notice ── */
.blog-filter-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-8);
  background: var(--color-accent-subtle);
  border: 1px solid color-mix(in srgb, var(--color-accent) 25%, transparent);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-text-body);
}
.blog-filter-notice strong {
  color: var(--color-text-dark);
}
.blog-filter-clear {
  font-weight: var(--font-semi);
  color: var(--color-accent);
  white-space: nowrap;
}
.blog-filter-clear:hover {
  color: var(--color-accent-dark);
}

/* ── Empty state ── */
.blog-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-20) var(--space-6);
  color: var(--color-text-muted);
  background: var(--color-bg-white);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
}
.blog-empty-state svg {
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}
.blog-empty-state h3 {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--color-text-dark);
  margin-bottom: var(--space-2);
}
.blog-empty-state p {
  margin-bottom: var(--space-6);
}

/* ── Sidebar ── */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.sidebar-widget {
  padding: var(--space-6);
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.sidebar-widget__title {
  font-size: var(--text-md);
  font-weight: var(--font-bold);
  color: var(--color-text-dark);
  margin-bottom: var(--space-4);
}

.sidebar-cats__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border-light);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text-body);
  transition: color var(--duration-fast);
}
.sidebar-cats li:last-child .sidebar-cats__link {
  border-bottom: none;
  padding-bottom: 0;
}
.sidebar-cats__link:hover,
.sidebar-cats__link.is-active {
  color: var(--color-accent);
}
.sidebar-cats__count {
  min-width: 24px;
  padding: 2px var(--space-2);
  border-radius: var(--radius-full);
  background: var(--color-bg-mid);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  font-weight: var(--font-semi);
  text-align: center;
}
.sidebar-cats__link.is-active .sidebar-cats__count {
  background: var(--color-accent);
  color: #ffffff;
}

.sidebar-recent__item {
  display: flex;
  gap: var(--space-3);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--color-border-light);
}
.sidebar-recent li:last-child .sidebar-recent__item,
.sidebar-recent__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.sidebar-recent__image {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.sidebar-recent__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}
.sidebar-recent__item:hover .sidebar-recent__image img {
  transform: scale(1.08);
}
.sidebar-recent__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-1);
}
.sidebar-recent__title {
  font-size: var(--text-sm);
  font-weight: var(--font-semi);
  color: var(--color-text-dark);
  line-height: 1.35;
  transition: color var(--duration-fast);
}
.sidebar-recent__item:hover .sidebar-recent__title {
  color: var(--color-accent);
}
.sidebar-recent__date {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.sidebar-widget--cta {
  background: linear-gradient(160deg, var(--color-cool-dark), var(--color-primary));
  border: none;
}
.sidebar-widget--cta h3 {
  font-size: var(--text-md);
  font-weight: var(--font-bold);
  color: #ffffff;
  margin-bottom: var(--space-2);
}
.sidebar-widget--cta p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-4);
}
.sidebar-widget--cta .form-input--dark {
  width: 100%;
}

@media (max-width: 1023.98px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }
  .blog-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .blog-sidebar .sidebar-widget {
    flex: 1 1 260px;
  }
}

@media (max-width: 767.98px) {
  .blog-featured {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-sidebar {
    flex-direction: column;
  }
}

/* ── FAQ Accordion ────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--color-border-light);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) 0;
  font-size: var(--text-md);
  font-weight: var(--font-medium);
  color: var(--color-text-dark);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  gap: var(--space-4);
  transition: color var(--duration-fast);
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--duration-base) var(--ease-out),
    opacity var(--duration-base);
}

.faq-icon::before {
  width: 100%;
  height: 1.5px;
  top: 50%;
  transform: translateY(-50%);
}

.faq-icon::after {
  width: 1.5px;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.faq-item.is-open .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--duration-slow) var(--ease-out),
    padding var(--duration-base);
}

.faq-item.is-open .faq-answer {
  max-height: 400px;
  padding-bottom: var(--space-5);
}

.faq-answer p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
}

/* ── Alert / Flash messages ──────────────────────────────── */
.alert {
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.alert--success {
  background: rgba(34, 197, 94, .1);
  color: var(--color-success);
  border: 1px solid rgba(34, 197, 94, .2);
}

.alert--error {
  background: rgba(239, 68, 68, .1);
  color: var(--color-error);
  border: 1px solid rgba(239, 68, 68, .2);
}

/* Extra-smooth reveal for brand statement */
.home-hero .page-hero__content .reveal {
  transition-duration: 900ms;
  transition-delay: calc(var(--stagger, 0) * 140ms);
}

.home-hero .page-hero__content .reveal.fade-up {
  transform: translateY(72px);
}

/* ═══════════════════════════════════════════════════════════
   Product Page FAQ Section
   ═══════════════════════════════════════════════════════════ */
.product-faq {
  /* Was permanently dark (var(--color-bg-dark)) regardless of theme,
     with the internal item borders/backgrounds/answer text all
     black-tinted (rgba(0,0,0,X)) on the assumption that they'd sit
     on a light card within that dark section — but nothing there
     ever lightened, so items were near-invisible and answer text
     (black at 65% opacity) was unreadable on the dark bg. Section
     now follows the site theme like the footer/featured-rotator. */
  background: var(--color-bg-light);
  padding-block: var(--space-20);
}

.product-faq .section-tag {
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.product-faq .section-title {
  color: var(--color-text-dark);
  margin-bottom: var(--space-12);
}

.faq-list {
  max-width: 780px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg-white);
  transition: border-color var(--duration-base) var(--ease-out);
}

.faq-item[open],
.faq-item:hover {
  border-color: var(--color-accent);
}

.faq-item__q {
  list-style: none;
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-base);
  font-weight: var(--font-semi);
  color: var(--color-text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  user-select: none;
}

.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__q::marker {
  display: none;
}

.faq-item__q::after {
  content: '+';
  font-size: var(--text-xl);
  font-weight: 300;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: transform var(--duration-base) var(--ease-out);
  line-height: 1;
}

.faq-item[open] .faq-item__q::after {
  transform: rotate(45deg);
}

.faq-item__a {
  padding: var(--space-4) var(--space-6) var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-body);
  line-height: 1.75;
  border-top: 1px solid var(--color-border-light);
}

/* ── Sticky WhatsApp FAB ──────────────────────────────────── */
.wa-fab {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.wa-fab:hover,
.wa-fab:focus-visible {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.36);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════
   Kitchen Showcase (product-kitchen.php)
   ═══════════════════════════════════════════════════════════ */

/* Grid: 2 columns, last card spans full width if count is odd */
.kitchen-showcase {
  background: var(--color-bg-dark);
  padding-bottom: var(--space-16);
}

.kitchen-showcase__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

/* Each card is a tall panel with a background image. min-height (not a
   fixed height) so the panel grows to fit its content instead of clipping
   the description/CTA when text runs long. */
.ksc-card {
  position: relative;
  min-height: max(420px, 70vh);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

/* Last card spans both columns when there's an odd total */
.ksc-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  min-height: max(420px, 60vh);
}

/* Background image */
.ksc-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ksc-card__bg picture {
  display: block;
  width: 100%;
  height: 100%;
}

.ksc-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Natural image rendering — no artificial dimming */
  filter: brightness(1.05) contrast(1.08) saturate(1.05);
  transition: transform 0.7s ease, filter 0.7s ease;
}

.ksc-card:hover .ksc-card__bg img {
  transform: scale(1.04);
  filter: brightness(1.1) contrast(1.12) saturate(1.08);
}

/* Hindware-style: fully clear at top, dark only at bottom third for text legibility */
.ksc-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.00) 0%,
      rgba(0, 0, 0, 0.00) 52%,
      rgba(0, 0, 0, 0.55) 78%,
      rgba(0, 0, 0, 0.80) 100%);
}

/* Text block — bottom of card */
.ksc-card__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--space-10) var(--space-10) var(--space-12);
}

.ksc-card__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-md), 1.8vw, var(--text-xl));
  font-weight: var(--font-semi);
  letter-spacing: var(--tracking-tight);
  /* Explicit light color — sits on a photo + dark scrim (.ksc-card__overlay),
     stays light regardless of site theme. */
  color: #e0e0e0;
  margin-bottom: var(--space-3);
  line-height: 1.2;
}

.ksc-card__desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  max-width: 44ch;
}

/* ── Product tile variant (aushcool.php / aushair.php) — these product
   lines are near-identical studio photography differing mainly by
   capacity, so instead of full-bleed cover-photo + overlaid text (which
   cropped the tall product shots badly and read poorly against a light
   photo), this lays out photo-top/content-below like a normal product
   card, with a capacity badge on the image standing in for the photo
   differences. ── */
.ksc-card--product {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(.16,1,.3,1),
              box-shadow 0.35s cubic-bezier(.16,1,.3,1),
              border-color 0.35s cubic-bezier(.16,1,.3,1);
}

/* Whole-card click target — the visible "Shop Now" is a decorative
   span now (see markup); this transparent overlay is the real link,
   stretched over the full card so the image/title/description are
   clickable too, not just the small button. */
.ksc-card--product .ksc-card__link-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
}

/* Hover-only lift, guarded to real pointer devices — on touch, :hover can
   get "stuck" active after a tap until the user taps elsewhere, leaving
   the card mid-transform (and its box-shadow layer) during the next
   scroll, which read as blurry/ghosted text on mobile. */
@media (hover: hover) and (pointer: fine) {
  .ksc-card--product:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: color-mix(in srgb, var(--color-cool-light) 45%, transparent);
  }

  .ksc-card--product:hover .ksc-card__bg img {
    transform: none;
  }
}

.ksc-card--product .ksc-card__bg {
  position: relative;
  inset: auto;
  aspect-ratio: 1 / 1;
  background: var(--color-bg-white);
  overflow: hidden;
}

.ksc-card--product .ksc-card__bg img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: var(--space-2);
  filter: drop-shadow(0 18px 22px rgba(15, 23, 42, 0.16));
}

.ksc-card--product .ksc-card__overlay {
  display: none;
}

.ksc-card--product .ksc-card__capacity {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px var(--space-3);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--color-cool-dark);
  font-size: 12px;
  font-weight: var(--font-bold);
  letter-spacing: var(--tracking-wide);
  box-shadow: var(--shadow-sm);
}

/* Same orange used for .spare-offers__badge and the hero carousel's
   "Shop Now" CTA — the site's one established discount color. */
.ksc-card--product .ksc-card__discount {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 6px var(--space-3);
  border-radius: var(--radius-full);
  background: #F2994A;
  color: #ffffff;
  font-size: 12px;
  font-weight: var(--font-bold);
  letter-spacing: var(--tracking-wide);
  box-shadow: var(--shadow-sm);
}

/* Floating panel — pulled up over the bottom of the (now larger) product
   photo with a negative top margin, rather than sitting in its own
   section below the image, so the photo reads as the dominant element. */
.ksc-card--product .ksc-card__content {
  position: relative;
  z-index: 2;
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: calc(-1 * var(--space-16)) var(--space-4) var(--space-4);
  padding: var(--space-4);
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.ksc-card--product .ksc-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-cool-dark);
  margin-bottom: var(--space-2);
}
.ksc-card--product .ksc-card__eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-cool-light);
  flex-shrink: 0;
}

.ksc-card--product .ksc-card__title {
  color: var(--color-text-dark);
  font-size: clamp(var(--text-sm), 1.3vw, var(--text-md));
  margin-bottom: var(--space-2);
}

.ksc-card--product .ksc-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  margin-top: var(--space-4);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--color-cool-dark), var(--color-accent));
  color: #ffffff;
  font-weight: var(--font-semi);
  font-size: var(--text-xs);
  text-align: center;
  box-shadow: 0 8px 18px -6px color-mix(in srgb, var(--color-cool-dark) 55%, transparent);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.ksc-card--product .ksc-card__cta::after {
  content: '→';
  transition: transform 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
  .ksc-card--product:hover .ksc-card__cta {
    box-shadow: 0 12px 26px -6px color-mix(in srgb, var(--color-cool-dark) 65%, transparent);
  }
  .ksc-card--product:hover .ksc-card__cta::after {
    transform: translateX(4px);
  }
}

.ksc-card--product .ksc-card__cta--muted {
  background: transparent;
  border: 1.5px solid var(--color-border);
  color: var(--color-text-muted);
  box-shadow: none;
}
.ksc-card--product .ksc-card__cta--muted::after {
  content: none;
}

/* The "last card spans both columns when odd" rule above (.ksc-card:
   last-child:nth-child(odd)) is meant for the full-bleed cover-photo
   tiles — it forces a 60vh-tall full-width span, which is exactly wrong
   for this compact photo-card layout (e.g. industrial-chillers.php with
   3 live models: the 3rd card would blow up to full-width/60vh instead
   of sitting as a normal-sized card). Same specificity, so this needs to
   come after it in source order to win. */
.ksc-card--product:last-child:nth-child(odd) {
  grid-column: auto;
  min-height: 0;
}

/* Grid modifier for the product-card pages (aushcool.php / aushair.php).
   .kitchen-showcase__grid is otherwise edge-to-edge full-bleed (by design
   for AushChill/Industrial Chillers' cover-photo tiles) — on a wide
   desktop monitor that stretched these 2-up product cards to ~700px+
   tall each. Contain it like a normal page section and go to 4-up so
   each card stays a sensible product-card size instead of an oversized
   tile spilling past a comfortable viewing width. */
/* Compact variant (product-grid pages) sits inline in the page flow with
   normal-sized cards, not full-bleed cover photos — the default
   .kitchen-showcase dark band (meant to letterbox full-bleed tiles) reads
   as a harsh, theme-broken black strip around it instead. Follow the page
   background here like every other content section. */
.kitchen-showcase--compact {
  background: var(--color-bg-light);
  padding-top: var(--space-16);
}

.kitchen-showcase--compact .kitchen-showcase__grid {
  max-width: var(--container-2xl);
  margin-inline: auto;
  padding-inline: var(--space-6);
  gap: var(--space-6);
}

@media (min-width: 1024px) {
  .kitchen-showcase--compact .kitchen-showcase__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ═══════════════════════════════════════════════════════════
   Legal Pages (privacy-policy, terms, sitemap)
   ═══════════════════════════════════════════════════════════ */
.legal-page__header {
  background: var(--color-bg-dark);
  padding-block: var(--space-20) var(--space-16);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.legal-page__eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--font-semi);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.legal-page__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: var(--font-bold);
  color: var(--color-text-white);
  letter-spacing: var(--tracking-tight);
  line-height: 1.1;
  margin-bottom: var(--space-4);
}

.legal-page__meta {
  font-size: var(--text-sm);
  color: rgba(0, 0, 0, .5);
  line-height: 1.6;
}

.legal-page__body {
  background: var(--color-bg-light);
  padding-block: var(--space-16) var(--space-24);
}

/* ── Prose content ─────────────────────────────────────── */
.legal-content {
  max-width: 780px;
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.8;
}

.legal-content p {
  margin-bottom: var(--space-5);
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--font-semi);
  color: var(--color-text-dark);
  letter-spacing: var(--tracking-tight);
  margin-top: var(--space-10);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--color-border);
}

.legal-content ul {
  padding-left: var(--space-6);
  margin-bottom: var(--space-5);
}

.legal-content ul li {
  margin-bottom: var(--space-2);
}

.legal-content a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover {
  opacity: 0.8;
}

/* ── Sitemap grid ──────────────────────────────────────── */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-10);
  padding-top: var(--space-4);
}

.sitemap-section__heading {
  font-size: var(--text-sm);
  font-weight: var(--font-semi);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--color-border);
}

.sitemap-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap-links li {
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.sitemap-links a {
  color: var(--color-text-dark);
  text-decoration: none;
  font-weight: var(--font-medium);
}

.sitemap-links a:hover {
  color: var(--color-accent);
}

.sitemap-links ul {
  list-style: disc;
  padding-left: var(--space-5);
  margin-top: var(--space-2);
}

.sitemap-meta {
  display: inline-block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-left: var(--space-2);
  background: var(--color-bg-muted, #f0ede8);
  padding: 1px 6px;
  border-radius: 3px;
}

/* ── Brand Banner (full-width static image) — used on the homepage
   and each brand page (aushcool.php etc.), above their FAQ section. ── */
.brand-banner {
  width: 100%;
  line-height: 0;
  /* remove the inline-image whitespace gap */
  background: var(--color-bg-dark);
  /* shows through as letterboxing on mobile, when a
                                        height-capped image doesn't span the full width */
}

.brand-banner__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 640;
  object-fit: cover;
}

