/*
  Tawaf Masala homepage visual polish:
  collection feature, consistent section hierarchy, spacing, and responsive details.
  Scoped to the Home Page only. Existing slider mechanics remain untouched.
*/
body.home-page {
  --polish-ink: #291e17;
  --polish-muted: #786b60;
  --polish-line: #eadfd4;
  --polish-orange: #f37623;
  --polish-orange-dark: #bd5517;
}

/* Premium Spice Collection: strong headline + product visual with a clear next step */
body.home-page .product-banner {
  padding-top: clamp(62px, 7.2vw, 92px) !important;
  padding-bottom: clamp(66px, 7.5vw, 98px) !important;
  background:
    radial-gradient(ellipse at 78% 38%, rgba(243,118,35,.13), transparent 34%),
    linear-gradient(135deg, #fcfaf4 0%, #f7f0e6 57%, #f9f4eb 100%) !important;
}
body.home-page .product-banner .container {
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr) !important;
  grid-template-rows: auto auto auto auto !important;
  grid-template-areas:
    "badge image"
    "title image"
    "copy image"
    "action image" !important;
  align-items: center !important;
  column-gap: clamp(30px, 5vw, 70px) !important;
}
body.home-page .product-banner .badge {
  justify-self: start !important;
  gap: 8px;
  margin-bottom: 20px !important;
  padding: 9px 15px !important;
  border-color: rgba(243,118,35,.25) !important;
  background: rgba(255,255,255,.82) !important;
  box-shadow: 0 4px 13px rgba(97,54,23,.035);
  color: #ac4d16 !important;
  font-size: 10px !important;
  letter-spacing: 1.55px !important;
}
body.home-page .banner-title {
  max-width: 610px !important;
  margin: 0 0 19px !important;
  font-size: clamp(39px, 4.7vw, 64px) !important;
  line-height: 1.04 !important;
  letter-spacing: -.048em !important;
  text-wrap: balance;
}
body.home-page .banner-title span {
  color: #e96d1b !important;
}
body.home-page .banner-sub {
  max-width: 455px !important;
  margin: 0 !important;
  color: #76685d !important;
  font-size: 14px !important;
  line-height: 1.9 !important;
}
body.home-page .collection-cta {
  grid-area: action;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  justify-self: start;
  gap: 11px;
  width: fit-content;
  max-width: 100%;
  min-height: 48px;
  margin-top: 24px;
  padding: 13px 21px;
  border: 1px solid #f37623;
  border-radius: 999px;
  background: #f37623;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(243,118,35,.2);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none !important;
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}
body.home-page .collection-cta i {
  font-size: 12px;
  transition: transform .22s ease;
}
body.home-page .collection-cta:hover {
  transform: translateY(-3px);
  background: #d96218;
  box-shadow: 0 15px 28px rgba(243,118,35,.26);
}
body.home-page .collection-cta:hover i { transform: translateX(3px); }
body.home-page .banner-img {
  grid-area: image;
  align-self: stretch;
  min-height: 300px;
  padding: clamp(12px, 1.7vw, 22px);
  border: 1px solid rgba(225,205,185,.7);
  border-radius: 30px;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(243,118,35,.105), transparent 62%),
    linear-gradient(145deg, rgba(255,255,255,.86), rgba(255,249,239,.78));
  box-shadow: 0 19px 40px rgba(67,43,24,.055), inset 0 1px 0 rgba(255,255,255,.9);
}
body.home-page .banner-img::before {
  width: 78% !important;
  height: 78% !important;
  filter: blur(36px) !important;
}
body.home-page .banner-img img {
  width: 100% !important;
  max-width: 690px !important;
  max-height: 490px !important;
  height: auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 20px 24px rgba(64,39,19,.1)) !important;
}
body.home-page .banner-img:hover img { transform: translateY(-3px) !important; }

/* Consistent headline hierarchy and a restrained orange accent across the Home Page. */
body.home-page .section-head h2 {
  color: #2a2019;
  letter-spacing: -.04em !important;
}
body.home-page .section-head h2::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin: 15px auto 0;
  border-radius: 10px;
  background: linear-gradient(90deg, #f7b27f, #f37623);
}
body.home-page .home-ingredient-section .section-head h2::after {
  margin-left: 0;
}
body.home-page .section-head p {
  color: #7c6e63;
}
body.home-page .home-trust-strip {
  box-shadow: 0 8px 22px rgba(47,32,18,.025);
}
body.home-page .trust-item {
  transition: background .2s ease;
}
body.home-page .trust-item:hover { background: #fff8f0; }
body.home-page .trust-icon {
  box-shadow: 0 4px 10px rgba(155,81,30,.04);
}

/* Improve the gap and breathing room between major areas. */
body.home-page > section.section.home-proof-section,
body.home-page > section.section.home-values-section,
body.home-page > section.section.home-products-section,
body.home-page > section.section.home-education-section {
  scroll-margin-top: 24px;
}
body.home-page .home-proof-section .stat-card,
body.home-page .home-values-section .why-card,
body.home-page .home-products-section .pcard,
body.home-page .home-education-section .myth-card {
  -webkit-font-smoothing: antialiased;
}
body.home-page .home-products-section .pcard {
  border-color: rgba(223,204,185,.9) !important;
  box-shadow: 0 18px 38px rgba(57,36,19,.09) !important;
}
body.home-page .home-products-section .pcard.active {
  border-color: rgba(243,118,35,.32) !important;
  box-shadow: 0 22px 45px rgba(57,36,19,.12) !important;
}
body.home-page .home-products-section .pimage {
  border-color: rgba(243,118,35,.12) !important;
  background:
    radial-gradient(ellipse at center, rgba(243,118,35,.105), transparent 65%),
    linear-gradient(145deg, #fbf6ed, #fffdfa) !important;
}
body.home-page .home-contact-section .cta {
  border-color: rgba(255,255,255,.15) !important;
}

/* Tablet collection: retain side-by-side layout but reduce padding and heading size. */
@media (max-width: 1000px) {
  body.home-page .product-banner .container {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) !important;
    column-gap: 25px !important;
  }
  body.home-page .banner-title { font-size: clamp(35px, 5vw, 51px) !important; }
  body.home-page .banner-img {
    min-height: 240px;
    padding: 12px;
    border-radius: 24px;
  }
  body.home-page .banner-img img { max-height: 400px !important; }
}

/* Mobile collection: stack everything in an intentional order, show the complete product artwork. */
@media (max-width: 700px) {
  body.home-page .product-banner {
    padding: 43px 0 46px !important;
    background:
      radial-gradient(ellipse at 90% 15%, rgba(243,118,35,.09), transparent 38%),
      linear-gradient(180deg, #fcfaf5 0%, #f8f1e8 100%) !important;
  }
  body.home-page .product-banner .container {
    width: calc(100% - 30px) !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto auto auto !important;
    grid-template-areas: "badge" "title" "copy" "action" "image" !important;
    justify-items: center !important;
    align-items: center !important;
    column-gap: 0 !important;
  }
  body.home-page .product-banner .badge {
    justify-self: center !important;
    margin: 0 auto 17px !important;
    padding: 8px 13px !important;
    font-size: 9px !important;
    letter-spacing: 1.15px !important;
  }
  body.home-page .banner-title {
    width: 100%;
    max-width: 480px !important;
    margin: 0 auto 13px !important;
    font-size: clamp(29px, 7.9vw, 39px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.045em !important;
    text-align: center;
  }
  body.home-page .banner-sub {
    width: 100%;
    max-width: 460px !important;
    margin: 0 auto !important;
    color: #75675c !important;
    font-size: 13px !important;
    line-height: 1.85 !important;
    text-align: center;
  }
  body.home-page .collection-cta {
    justify-self: center;
    align-self: center;
    margin: 19px auto 0;
    min-height: 45px;
    padding: 12px 19px;
    font-size: 12px;
  }
  body.home-page .banner-img {
    width: 100%;
    max-width: 520px;
    min-height: 0;
    margin: 23px auto 0 !important;
    padding: 9px;
    border-radius: 21px;
    overflow: visible;
    box-shadow: 0 12px 27px rgba(67,43,24,.055), inset 0 1px 0 rgba(255,255,255,.9);
  }
  body.home-page .banner-img::before {
    width: 90% !important;
    height: 80% !important;
  }
  body.home-page .banner-img img {
    display: block;
    width: 100% !important;
    max-width: 500px !important;
    max-height: none !important;
    height: auto !important;
    object-fit: contain !important;
    filter: drop-shadow(0 13px 16px rgba(64,39,19,.075)) !important;
  }
  body.home-page .section-head h2::after { margin-top: 12px; }
  body.home-page .home-ingredient-section .section-head h2::after {
    margin-left: auto;
    margin-right: auto;
  }
  body.home-page .home-contact-section .cta { box-shadow: 0 16px 34px rgba(52,33,18,.12); }
}
@media (max-width: 380px) {
  body.home-page .product-banner { padding: 37px 0 39px !important; }
  body.home-page .product-banner .container { width: calc(100% - 26px) !important; }
  body.home-page .banner-title { font-size: 29px !important; }
  body.home-page .banner-sub { font-size: 12px !important; }
  body.home-page .banner-img { margin-top: 18px !important; padding: 7px; border-radius: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  body.home-page .collection-cta,
  body.home-page .collection-cta i,
  body.home-page .trust-item { transition: none !important; }
}


/* Premium Spice Collection card: show the complete source image without cropping */
body.home-page .product-banner .banner-img {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  padding: clamp(10px, 1.5vw, 20px) !important;
  box-sizing: border-box !important;
}
body.home-page .product-banner .banner-img img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  max-width: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  aspect-ratio: auto !important;
  flex: 0 1 auto !important;
  align-self: center !important;
  margin: 0 auto !important;
}
/* Prevent any nested image/card wrapper from trimming the product artwork. */
body.home-page .product-banner .banner-img img,
body.home-page .product-banner .banner-img picture {
  overflow: visible !important;
}
@media (max-width: 1000px) {
  body.home-page .product-banner .banner-img {
    min-height: 0 !important;
    max-height: none !important;
    padding: 10px !important;
  }
  body.home-page .product-banner .banner-img img {
    max-height: none !important;
    height: auto !important;
    object-fit: contain !important;
  }
}
@media (max-width: 700px) {
  body.home-page .product-banner .banner-img {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 7px !important;
    overflow: visible !important;
  }
  body.home-page .product-banner .banner-img img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
  }
}


/* Premium Spice Collection: let the art occupy the whole card surface */
body.home-page .product-banner .banner-img {
  position: relative !important;
  display: flex !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 30px !important;
  box-sizing: border-box !important;
}
body.home-page .product-banner .banner-img::before {
  display: none !important;
}
body.home-page .product-banner .banner-img img {
  display: block !important;
  flex: 1 1 auto !important;
  align-self: stretch !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: inherit !important;
  object-fit: contain !important;
  object-position: center center !important;
  aspect-ratio: auto !important;
}

/* On narrow screens, let the card follow the image's ratio; the full product artwork stays visible. */
@media (max-width: 1000px) {
  body.home-page .product-banner .banner-img {
    height: auto !important;
    min-height: 0 !important;
    align-self: center !important;
  }
  body.home-page .product-banner .banner-img img {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    width: 100% !important;
    object-fit: contain !important;
  }
}
@media (max-width: 700px) {
  body.home-page .product-banner .banner-img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 19px !important;
  }
  body.home-page .product-banner .banner-img img {
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    border-radius: inherit !important;
  }
}
@media (max-width: 380px) {
  body.home-page .product-banner .banner-img {
    border-radius: 16px !important;
  }
}
