/* ═══════════════════════════════════════════════════════════
   VAAZHA — v3.13-fixes.css
   Post-feedback fixes:
   - Lighter shop banner (less green)
   - Free shipping progress bar (cart)
   - "Developed by" footer credit
   - Mobile whitespace/padding fixes
   - Product image placeholder polish
═══════════════════════════════════════════════════════════ */

/* ── New standard shop banner (replaces the huge forest hero) ── */
.vzh-shop-banner {
  background: #faf8f3;
  padding: 24px 0 20px;
  border-bottom: 1px solid #ece7dc;
  position: relative;
}
.vzh-shop-banner::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--clr-lime, #c8f55a) 30%, var(--clr-lime, #c8f55a) 70%, transparent);
  opacity: 0.6;
}
.vzh-shop-banner .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.vzh-shop-banner .vzh-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #8b8f7e;
  margin-bottom: 8px;
}
.vzh-shop-banner .vzh-breadcrumb a { color: #6b6f5b; text-decoration: none; }
.vzh-shop-banner .vzh-breadcrumb a:hover { color: var(--clr-forest, #0d1a0f); }
.vzh-shop-banner .vzh-breadcrumb .sep { color: #cfc9b8; }
.vzh-shop-banner h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clr-forest, #0d1a0f);
  margin: 0;
  line-height: 1.1;
}
/* Hide old .vzh-shop-header if still present */
.vzh-shop-header { display: none !important; }

/* ── Free shipping progress bar ─────────────────────────── */
.vzh-shipping-progress {
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(200,245,90,0.14), rgba(200,245,90,0.06));
  border: 1px solid rgba(13,26,15,0.08);
  border-radius: 12px;
  margin-bottom: 16px;
}
.vzh-shipping-progress-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-forest, #0d1a0f);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.vzh-shipping-progress-text strong { color: var(--clr-forest, #0d1a0f); }
.vzh-shipping-progress-text .vzh-truck {
  display: inline-flex;
  width: 20px;
  height: 20px;
  color: var(--clr-forest, #0d1a0f);
}
.vzh-shipping-progress-bar {
  position: relative;
  height: 8px;
  background: #ece7dc;
  border-radius: 999px;
  overflow: hidden;
}
.vzh-shipping-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, var(--clr-forest, #0d1a0f), #1a4a1f);
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.vzh-shipping-progress.is-unlocked {
  background: linear-gradient(135deg, rgba(200,245,90,0.28), rgba(200,245,90,0.10));
  border-color: rgba(13,26,15,0.16);
}
.vzh-shipping-progress.is-unlocked .vzh-shipping-progress-fill {
  background: linear-gradient(90deg, var(--clr-forest, #0d1a0f), var(--clr-lime, #c8f55a));
  width: 100% !important;
}
.vzh-shipping-progress.is-unlocked .vzh-shipping-progress-text::before {
  content: '🎉';
}

/* Also render inline on mini-cart flyout */
.vzh-minicart .vzh-shipping-progress {
  margin: 10px 14px 0;
}

/* ── "Developed by" footer credit ───────────────────────── */
.vzh-footer-credit {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  color: rgba(200,245,90,0.55);
  text-transform: uppercase;
}
.vzh-footer-credit a {
  color: var(--clr-lime, #c8f55a);
  text-decoration: none;
  border-bottom: 1px dashed rgba(200,245,90,0.4);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.vzh-footer-credit a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* ── Mobile whitespace/padding fixes ────────────────────── */
@media (max-width: 900px) {
  /* Kill horizontal overflow */
  html, body { overflow-x: hidden; }

  /* Ensure containers don't add gutter twice */
  .container, .vzh-page-content, .vzh-shop-banner .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Product single — remove any weird margin left on gallery */
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary {
    margin: 0 !important;
  }

  /* Fix the huge whitespace between images on mobile PDP */
  .single-product div.product .woocommerce-product-gallery__wrapper > *,
  .single-product div.product .woocommerce-product-gallery .flex-viewport {
    margin-bottom: 0 !important;
  }
  .single-product .woocommerce-product-gallery__image {
    background: #faf8f3;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 8px !important;
  }
  .single-product .woocommerce-product-gallery__image img {
    max-height: 82vh;
    object-fit: cover;
    width: 100%;
    display: block;
  }

  /* Ensure content sections don't stretch past viewport */
  section, .vzh-products-section, .vzh-collections, .vzh-brand-story {
    padding-left: 0;
    padding-right: 0;
  }

  /* Product card image placeholder — cleaner look */
  .vzh-product-card .vzh-img-placeholder {
    background: #faf8f3;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ── Product placeholder polish ─────────────────────────── */
.vzh-img-placeholder,
.woocommerce-product-gallery__image--placeholder,
.wp-post-image[src*="placeholder"] {
  background: #faf8f3;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Collection tile placeholders — friendlier ──────────── */
.vzh-collection-placeholder {
  background: linear-gradient(135deg, #0d1a0f 0%, #1a4a1f 100%);
  color: rgba(200,245,90,0.6);
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 3px;
  font-size: 18px;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
}
.vzh-collection-placeholder svg { opacity: 0.7; }

/* ── Better back-to-top position (avoid overlapping bottom nav) ── */
@media (max-width: 900px) {
  .vzh-back-to-top {
    bottom: 74px !important;
    right: 12px !important;
    padding: 8px 10px !important;
    font-size: 10px !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   ABOUT PAGE — mobile-first layout (fixes prev inline grid)
═══════════════════════════════════════════════════════════ */
.vzh-about-story {
  padding: 60px 0;
  background: #fff;
}
.vzh-about-story .container,
.vzh-about-values .container {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.vzh-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.vzh-about-image {
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(160deg, #0d1a0f, #1a4a1f);
  position: relative;
}
.vzh-about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vzh-about-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.75;
}
.vzh-about-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #1a4a1f;
  margin: 0 0 16px;
}
.vzh-about-copy h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(30px, 5vw, 48px);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0a0a0a;
  line-height: 1;
  margin: 0 0 20px;
}
.vzh-about-copy p {
  font-size: 15px;
  line-height: 1.85;
  color: #4a4d3e;
  margin: 0 0 16px;
}
.vzh-about-copy .btn { margin-top: 8px; }

.vzh-about-values {
  padding: 60px 0 80px;
  background: #faf8f3;
}
.vzh-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.vzh-value-card {
  text-align: center;
  padding: 32px 24px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #ece7dc;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.vzh-value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(13,26,15,0.08);
}
.vzh-value-icon { font-size: 40px; margin-bottom: 14px; line-height: 1; }
.vzh-value-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0a0a0a;
  margin: 0 0 10px;
}
.vzh-value-card p {
  font-size: 14px;
  line-height: 1.75;
  color: #6b6f5b;
  margin: 0;
}

@media (max-width: 720px) {
  .vzh-about-grid { grid-template-columns: 1fr; gap: 32px; }
  .vzh-about-story { padding: 40px 0; }
  .vzh-values-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
  .vzh-about-values { padding: 40px 0 60px; }
  .vzh-value-card { padding: 24px 20px; }
}

/* ═══════════════════════════════════════════════════════════
   SIZE GUIDE — themed cards, table, illustration
═══════════════════════════════════════════════════════════ */
.vzh-size-card {
  background: #fff;
  border: 1px solid #ece7dc;
  border-radius: 16px;
  overflow: hidden;
  margin: 32px 0;
  box-shadow: 0 8px 26px rgba(13,26,15,0.05);
}
.vzh-size-card-head {
  background: linear-gradient(135deg, #0d1a0f 0%, #1a4a1f 100%);
  color: #fff;
  padding: 22px 24px 18px;
  position: relative;
  overflow: hidden;
}
.vzh-size-card-head::after {
  content: '';
  position: absolute;
  right: -30px;
  top: -30px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(200,245,90,0.25), transparent 70%);
  pointer-events: none;
}
.vzh-size-card-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c8f55a;
  display: block;
  margin-bottom: 4px;
}
.vzh-size-card-title {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 28px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: #fff !important;
  margin: 0 !important;
  line-height: 1.1 !important;
}
.vzh-size-card-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  margin: 6px 0 0;
  letter-spacing: 0.5px;
}
.vzh-size-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.vzh-size-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 480px;
}
.vzh-size-table th,
.vzh-size-table td {
  padding: 14px 16px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid #ece7dc;
  background: transparent !important;
}
.vzh-size-table th {
  background: #faf8f3 !important;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #6b6f5b !important;
}
.vzh-size-table tbody tr:hover td { background: #faf8f3 !important; }
.vzh-size-pill {
  display: inline-block;
  min-width: 44px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #0d1a0f;
  color: #c8f55a;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-align: center;
}

.vzh-measure-card .vzh-measure-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 24px;
  align-items: center;
}
.vzh-measure-illustration-box {
  background: #faf8f3;
  border-radius: 12px;
  border: 1px dashed #d9d4c5;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vzh-measure-illustration-box svg { width: 100%; height: auto; max-height: 260px; }
.vzh-measure-steps {
  margin: 0;
  padding-left: 22px;
  font-size: 14px;
  color: #333;
  line-height: 1.9;
}
.vzh-measure-steps li { margin-bottom: 10px; }
.vzh-measure-steps li strong { color: #0d1a0f; }
@media (max-width: 720px) {
  .vzh-measure-card .vzh-measure-grid { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
  .vzh-measure-illustration-box { max-width: 240px; margin: 0 auto; }
}

.vzh-size-tip {
  padding: 18px 20px;
  background: rgba(200,245,90,0.16);
  border-left: 4px solid #c8f55a;
  border-radius: 8px;
  font-size: 14px;
  color: #4a4d3e;
  line-height: 1.7;
  margin: 24px 0;
}

/* ═══════════════════════════════════════════════════════════
   PRODUCT SINGLE — kill horizontal scroll/whitespace on mobile
═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  .single-product .container,
  .single-product div.product,
  .single-product .vzh-single-product,
  .vzh-page-content,
  .vzh-shop-content,
  .vzh-shop-content .container,
  .vzh-shop-layout,
  .vzh-shop-main {
    max-width: 100vw !important;
    width: 100% !important;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .single-product .woocommerce-product-gallery,
  .single-product .summary,
  .single-product .vzh-single-product .summary,
  .single-product .woocommerce-tabs {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .single-product img,
  .single-product .woocommerce-product-gallery__image img,
  .single-product .vzh-product-img img,
  .woocommerce-product-gallery__wrapper img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    box-sizing: border-box;
  }
  /* Kill the huge whitespace gap between images by removing flexslider transforms */
  .single-product .woocommerce-product-gallery .flex-viewport,
  .single-product .woocommerce-product-gallery__wrapper {
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
  }
  /* Related products row */
  .related.products, .up-sells.upsells {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  /* Product summary padding */
  .single-product .summary {
    padding: 20px 16px !important;
  }
}

/* Also clip any known offenders that push viewport */
.vzh-hero,
.vzh-slider-track,
.vzh-slide { max-width: 100vw !important; overflow: hidden; }

