/*
 * index.css
 * Page stylesheet of the home page (index.php).
 *
 * Origin:   moved from the inline <style id="ia-styles"> block of index.php; linked at the position of the old
 *           block (after site.css, inside the page body), so the cascade order is unchanged.
 * Scope:    selectors of this page only. The same class name can mean something else on products.php, rice.php or
 *           millets.php, so this file is never merged with another page stylesheet.
 * Sections: 0 tokens, 1 shared helpers, 2 hero, 3 section rhythm (phones), 4 product card, 5 product carousel
 *           and phone slider, 6 guided cards, 7 offer banner, 8 notify modal, 9 trust strip and stats,
 *           10 testimonials, 11 kitchen tips, 12 FAQ, 13 WhatsApp float, 14 page guards, 15 reduced motion.
 *           Each section holds its base rule first, then its breakpoint overrides.
 * Breakpoints (min-width, mobile first): 640, 768, 1024, 1280 and 1536 px. Phone-only rules use
 *           `@media not all and (min-width:768px)` ("below 768") or `not all and (min-width:640px)` ("below 640")
 *           so only central breakpoint values appear in this file. One exception is kept on purpose: section 5
 *           uses max-width:1359px (see the comment there).
 * Removed:  the unused rules .delivery-badge, .delivery-badge .delivery-icon (also in the phone block) and
 *           #productScroller>.ia-pp-soon. None of these classes exists in the markup, the script or the shell.
 */

/* 0. Tokens */
:root{
  --ia-cream:#f5ede0;
  --ia-off:#faf7f2;
  --ia-green:#2f6b3e;
  --ia-green-dk:#255632;
  --ia-line:rgba(201,168,124,.5);
  --ia-ease:cubic-bezier(.22,1,.36,1);
  /* hero artwork size: how to change it is explained in section 2 */
  --hero-ar:16/9; --hero-h:56.25vw; --hero-max:1080px; --hero-focus:50% 50%;
}

/* 1. Shared helpers */
/* keyboard focus must stay visible on every interactive control */
.ia-page a:focus-visible,
.ia-page button:focus-visible,
.ia-page select:focus-visible{outline:2px solid var(--ia-green);outline-offset:2px}

/* scroll reveal (classes are added by JS only, so no-JS = fully visible) */
@keyframes iaUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes iaFade{from{opacity:0}to{opacity:1}}
.ia-rv:not(.in){opacity:0}
.ia-rv.in{animation:iaUp .65s var(--ia-ease) var(--ia-d,0s) backwards}

/* phones: section sub-headings are visually hidden (kept for screen readers/SEO).
   One shared rule for guided cards, reviews heading and FAQ heading so the technique is not repeated 3x. */
@media not all and (min-width:768px){
  .ia-sec-guided>div>p,
  .ia-sec-reviews .ia-sec-head>p,
  #faq-section .ia-sec-head>p,
  #faq-section .ia-sec-head>span,
  .guided-card p{
    position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;
    overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
  }
}

/* 2. Hero
   One markup and one stylesheet for every screen size.
   Phone (<768px)  : banner on top (always fully visible) -> dots -> text below.
   Tablet/desktop  : full-bleed banner with the text overlaid on top of it.
   If the banner artwork changes size, edit only the --hero-* variables in :root:
     --hero-ar  = width / height            --hero-h = 100 * height / width (in vw)
     --hero-max = native banner height (the hero is never taller than this)
       1920x1080 -> 16/9, 56.25vw, 1080px   (current)
       1920x800  -> 12/5, 41.67vw,  800px
       1440x900  -> 8/5,  62.5vw,   900px */
@keyframes kb {
  0%   { transform: scale(1.04); }
  50%  { transform: scale(1.0);  }
  100% { transform: scale(1.04); }
}
@keyframes textUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* phone base: the header is solid white, so the banner starts below it and is shown whole */
.hero-outer{ position:relative; width:100%; background:#c9b89a; padding-top:84px; display:flex; flex-direction:column; }

.hero-img-zone{ position:relative; width:100%; aspect-ratio:var(--hero-ar); overflow:hidden; background:#c9b89a; flex-shrink:0; }
.hero-link{ position:absolute; inset:0; z-index:10; cursor:pointer; }

/* Two stacked layers inside the wrapper; only opacity changes between slides.
   Phone: no zoom animation, because zoom + contain would jitter. */
.hs-wrap{ position:absolute; inset:0; overflow:hidden; transform-origin:center center; }
.hs-layer{
  position:absolute; inset:0;
  background-repeat:no-repeat; background-color:#c9b89a;
  background-size:contain; background-position:center;
  transition:opacity 1.4s ease-in-out;
}
.hs-layer-a{ opacity:1; z-index:2; }
.hs-layer-b{ opacity:0; z-index:1; }
.hs-wrap.switch .hs-layer-a{ opacity:0; }
.hs-wrap.switch .hs-layer-b{ opacity:1; }

.hero-dots{ display:flex; justify-content:center; align-items:center; gap:8px; padding:10px 0; background:#f5ede0; }
.hs-dot{
  width:8px; height:8px; padding:0;
  border-radius:9999px;
  background:rgba(255,255,255,0.5);
  border:1.5px solid rgba(255,255,255,0.7);
  cursor:pointer;
  transition:all 0.3s ease;
}
.hs-dot.active{ background:#2f6b3e; border-color:#2f6b3e; width:24px; }

.hero-text-zone{ position:relative; padding:22px 20px 30px; background:#f5ede0; }
.hero-text-inner{ position:relative; z-index:10; pointer-events:none; }
.hero-text-inner > *{ animation:textUp 0.65s ease-out both; }
.hero-text-inner > *:nth-child(1){ animation-delay:0.10s; }
.hero-text-inner > *:nth-child(2){ animation-delay:0.20s; }
.hero-text-inner > *:nth-child(3){ animation-delay:0.30s; }
.hero-text-inner > *:nth-child(4){ animation-delay:0.40s; }
.hero-text-inner > *:nth-child(5){ animation-delay:0.50s; }

.hero-title{ margin:0 0 12px; font-family:'Playfair Display',serif; font-size:clamp(1.6rem,6vw,2.2rem); font-weight:900; line-height:1.2; color:#1a0a00; }
.hero-title em{ color:#2f6b3e; font-style:normal; }
/* Line breaks differ per breakpoint: phone "Reliable Grains from / Indian Farms", desktop "Reliable Grains / from Indian Farms" */
.hero-br-d{ display:none; }
.hero-br-m{ display:inline; }

.hero-accent{ width:48px; height:3px; margin:0 0 12px; border-radius:99px; background:#2f6b3e; }
.hero-desc{ margin:0 0 16px; font-family:'Inter',sans-serif; font-size:14px; line-height:1.65; color:rgba(61,31,10,0.88); }

.hero-cta-wrap{ margin:0 0 18px; }
.hero-cta{
  pointer-events:auto; display:inline-flex; align-items:center; gap:10px;
  padding:10px 22px; border-radius:99px; background:#2f6b3e; color:#fff; text-decoration:none;
  font-family:'Inter',sans-serif; font-size:18px; font-weight:800; letter-spacing:.01em;
  box-shadow:0 6px 16px rgba(47,107,62,0.38);
  transition:background-color .2s ease, transform .2s ease;
}
.hero-cta svg{ width:16px; height:16px; flex-shrink:0; transition:transform .25s var(--ia-ease); }

.hero-trust{ display:flex; flex-wrap:wrap; gap:8px; }
.hero-pill{
  display:inline-flex; align-items:center; gap:6px; padding:5px 12px; border-radius:99px;
  background:rgba(255,255,255,0.85); border:1px solid rgba(201,168,124,0.5);
  font-size:11px; font-weight:600; color:#1a0a00;
}
.hero-pill i{ color:#2f6b3e; font-size:11px; }

/* phone: the trust pills scroll sideways instead of wrapping (ia-trust-strip is on .hero-trust) */
@media not all and (min-width:768px){
  .ia-trust-strip{
    flex-wrap:nowrap!important;overflow-x:auto;margin:0 -20px;padding:2px 20px;
    pointer-events:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;
  }
  .ia-trust-strip::-webkit-scrollbar{display:none}
  .ia-trust-strip>span{flex-shrink:0;white-space:nowrap}
}

/* tablet / desktop: full-bleed banner, text overlay */
@media (min-width:768px){
  .hs-wrap{ animation:kb 10s ease-in-out infinite; will-change:transform; }   /* zoom lives on the wrapper so it never restarts or jumps */
  .hs-layer{ background-size:cover; background-position:var(--hero-focus); }

  .hero-outer{
    height:min(100vh,var(--hero-h));
    height:min(100svh,var(--hero-h));
    min-height:520px;
    max-height:var(--hero-max);
    overflow:hidden;
    padding-top:0; display:block; flex-direction:row;   /* undo the phone flex column: every child is absolutely positioned here */
  }
  .hero-img-zone{ position:absolute; inset:0; z-index:0; aspect-ratio:auto; flex-shrink:1; }

  .hero-dots{ position:absolute; left:50%; bottom:24px; z-index:20; padding:0; background:transparent; transform:translateX(-50%); }

  /* The text starts at the same left gutter as the header logo (--ia-gutter, defined in header.php). */
  .hero-text-zone{
    position:absolute; inset:0; z-index:10; display:flex; align-items:center;
    padding:env(safe-area-inset-top,0px) var(--ia-gutter,3rem) 0;
    background:transparent; pointer-events:none;
  }
  .hero-text-inner{ width:100%; max-width:min(480px,50%); }

  .hero-br-d{ display:inline; }
  .hero-br-m{ display:none; }
  .hero-title{ margin:42px 0 0; font-size:clamp(1.9rem,3.2vw,3rem); line-height:1.18; }
  .hero-accent{ margin:16px 0 0; }
  .hero-desc{ max-width:370px; margin:12px 0 0; line-height:1.625; color:rgba(61,31,10,0.9); }
  .hero-cta-wrap{ margin:20px 0 0; }
  .hero-cta{ padding:13px 32px; font-size:15px; letter-spacing:normal; box-shadow:0 10px 28px rgba(47,107,62,0.45); }
  .hero-cta svg{ width:18px; height:18px; }
  .hero-trust{ margin-top:20px; }
  .hero-pill{ padding:4px 12px; background:rgba(255,255,255,0.75); border-color:rgba(201,168,124,0.4); }
  .hero-pill i{ font-size:12px; }
}
@media (min-width:1024px){
  .hero-desc{ font-size:17px; }
  .hero-cta{ font-size:16px; }
  .hero-cta svg{ width:22px; height:22px; }
}
@media (hover:hover){
  .hero-cta:hover{ background:#1a4228; transform:scale(1.03); }
  .hero-cta:hover svg{ transform:translateX(3px); }
}
/* declared after :hover so a press always wins over the hover scale */
.hero-cta:active{ transform:scale(.97); }

/* 3. Section rhythm (phones)
   Page flow is the same DOM order on every screen: Products -> Shop by grain -> Offer banner -> rest.
   Tablet/desktop keep the Tailwind paddings and backgrounds from the markup. The alternating tones use
   explicit classes (ia-sec--off / ia-sec--cream) so reordering sections cannot silently re-tone them. */
@media not all and (min-width:768px){
  .ia-page>section{
    padding-top:2.5rem!important;padding-bottom:2.5rem!important;
    border-top:1px solid var(--ia-line);
  }
  .ia-page>.ia-sec--off{background:var(--ia-off)!important}
  .ia-page>.ia-sec--cream{background:var(--ia-cream)!important}

  /* section headings (ia-sec-title) and the heading wrappers (ia-sec-head) */
  .ia-page .ia-sec-title{
    font-family:'Playfair Display',serif;font-weight:900;
    font-size:1.5rem!important;line-height:1.2;margin-bottom:1rem!important;
  }
  .ia-page .ia-sec-head{margin-bottom:1.25rem!important}
}

/* 4. Product card */
/* image hover (matched from products.php); touch devices must not keep a stuck hover state */
.card-img-wrap { background: #f3f4f6; }
.card-img-wrap img {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}
.product-card:hover .card-img-wrap img {
  transform: scale(1.12) translateY(-10px);
  filter: drop-shadow(0 20px 20px rgba(0, 0, 0, 0.18));
}
@media (hover:none){
  .product-card:hover .card-img-wrap img{transform:none;filter:none}
  .product-card:hover{transform:none;box-shadow:none}
}
.product-card{-webkit-tap-highlight-color:transparent}
.product-card h2{overflow-wrap:anywhere}

/* qty input and price */
.card-qty-input {
  width: 2rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  border: none;
  outline: none;
  background: transparent;
}
.card-price{
  font-size:1.1rem;
  font-weight:700;
  color:#111827;
}
.card-price-unit { font-size: 0.7rem; color: #6b7280; }

.card-action-btn{
  flex:1;
  padding:0.38rem 0.5rem;
  border-radius:0.5rem;
  font-size:0.72rem;
  font-weight:600;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0.3rem;
}
/* single cart button (Blinkit-style): .card-action-btn has display:flex, so [hidden] needs !important */
.ia-cart-btn{width:100%;border:none;text-decoration:none;}
.ia-cart-btn[hidden]{display:none!important;}
.ia-cart-btn:disabled{opacity:.45;cursor:not-allowed;}
.ia-add{background:#0f172a;color:#fff;}
.ia-add:hover:not(:disabled){background:#1f2937;}
.ia-go{background:#059669;color:#fff;}
.ia-go:hover{background:#047857;}
/* press feedback */
.ia-page .card-action-btn{transition:transform .15s var(--ia-ease),background-color .2s ease,color .2s ease}
.ia-page .card-action-btn:active:not(:disabled){transform:scale(.97)}

/* pack dropdown */
.pack-dropdown{
  font-size:12px;
  border-radius:8px;
  background:white;
}
.pack-dropdown:focus{
  outline:none;
  border-color:#111;
}
.pack-dropdown option{font-weight:700}
/* coming-soon overlay + disabled button */
.cs-front-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  border-radius: inherit;
  z-index: 5;
}
.cs-front-badge__label {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  text-align: center;
  animation: cs-typewriter 1.2s steps(12, end) 0.3s forwards;
}
.cs-coming-soon-btn {
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  color: #15803d;
  cursor: not-allowed;
  letter-spacing: 0.06em;
  font-weight: 700;
}
@keyframes cs-typewriter {
  from { width: 0; opacity: 0.4; }
  to   { width: 140px; opacity: 1; }
}

/* robustness at every width */
.ia-qty{min-width:0}
.ia-qty .card-qty-input{min-width:0}
/* qty +/- were ~8px wide: give them a real tap area on every device */
.ia-qty .card-qty-minus,
.ia-qty .card-qty-plus{flex:0 0 auto;min-width:2rem;height:100%;font-size:1rem;display:flex;align-items:center;justify-content:center}
.ia-qty .card-qty-minus:disabled,
.ia-qty .card-qty-plus:disabled{opacity:.35;cursor:not-allowed}
/* wishlist heart: true circle (was 36x40 oval) */
.product-card .wishlist-btn{width:2.5rem;height:2.5rem}
.product-card .pack-dropdown{min-width:0;text-overflow:ellipsis}

/* touch devices (any width, incl. tablets): 44px targets */
@media (pointer:coarse){
  .product-card .card-action-btn,
  .product-card .notify-me-btn,
  .product-card .cs-coming-soon-btn{min-height:2.75rem}
  .product-card .ia-pack-row>*{height:2.5rem}
}
/* phone: notify / coming-soon buttons */
@media not all and (min-width:640px){
  .product-card .notify-me-btn,
  .product-card .cs-coming-soon-btn{min-height:2.75rem;font-size:.8rem}
}
/* phone: the "View all products" link replaces the carousel arrows; iOS Safari zooms the page when a focused control is < 16px */
.ia-m-more{display:none}
.ia-m-more-link{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  min-height:48px;padding:0 1.5rem;border-radius:999px;
  border:1.5px solid var(--ia-green);color:var(--ia-green);
  font-size:.9rem;font-weight:700;text-decoration:none;background:transparent;
  transition:background-color .2s ease,color .2s ease,transform .15s var(--ia-ease);
}
.ia-m-more-link:active{transform:scale(.97)}
@media (hover:hover){.ia-m-more-link:hover{background:var(--ia-green);color:#fff}}
@media not all and (min-width:768px){
  .ia-sec-products>div{padding-left:1rem!important;padding-right:1rem!important}
  .ia-m-more{display:flex;justify-content:center;margin-top:1.25rem}
  .product-card .pack-dropdown{font-size:16px}
}

/* 5. Product carousel (tablet and desktop) and slider (phone)
   Tablet/desktop keep the horizontal carousel with side arrows (.ia-sc-arrow, positioned by Tailwind in the markup).
   Phone (<640px): one full-width card per screen, swipe or use the arrows below the cards. */
/* 1359 is not a central breakpoint: kept as-is because between 1024 and 1359 the -12px arrows
   would poke outside the viewport; moving it to 1280 would change the 1280-1359 range. */
@media (min-width:1024px) and (max-width:1359px){
  .ia-sc-prev{left:.25rem!important}
  .ia-sc-next{right:.25rem!important}
}
.ia-sl-nav{display:none}
@media not all and (min-width:640px){
  #productScroller{display:flex!important;flex-wrap:nowrap!important;gap:.75rem!important;overflow-x:auto!important;overflow-y:hidden!important;
    scroll-snap-type:x mandatory!important;scroll-behavior:smooth;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;
    scrollbar-width:none;-ms-overflow-style:none;padding:0!important;margin:0}
  #productScroller::-webkit-scrollbar{display:none}
  /* the :nth-child(n+5) twin is kept on purpose: it outranks any "hide cards 5+" rule coming from header.php/other files */
  #productScroller>.product-card,#productScroller>.product-card:nth-child(n+5){display:flex!important;flex:0 0 100%!important;width:100%!important;max-width:100%;
    min-width:0!important;margin:0!important;scroll-snap-align:start;scroll-snap-stop:always}
  .ia-sc-arrow{display:none!important}

  /* card: wide image (short enough that price + buttons stay on the first screen), controls side by side */
  #productScroller .card-img-wrap{aspect-ratio:5/4!important}
  #productScroller .ia-card-body{padding:1rem!important;gap:.75rem!important;min-height:0!important}
  #productScroller .product-card h2{
    display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;
    font-size:1.05rem;line-height:1.3;min-height:0;overflow-wrap:anywhere;
  }
  #productScroller .product-card .wishlist-btn{width:2.5rem;height:2.5rem;top:.6rem;right:.6rem}

  /* pack dropdown and qty stepper: side by side, 44px tall */
  #productScroller .ia-pack-row{flex-direction:row!important;gap:.6rem;margin-top:0}
  #productScroller .ia-pack-row>*{flex:1 1 0!important;width:auto!important;min-width:0;height:2.75rem}
  #productScroller .ia-qty{padding:0 .25rem}
  #productScroller .ia-qty .card-qty-minus,
  #productScroller .ia-qty .card-qty-plus{flex:0 0 2.5rem;min-width:2.5rem;height:100%;font-size:1.1rem}
  #productScroller .ia-qty .card-qty-input{flex:1 1 auto;width:auto;min-width:0;font-size:.9rem}

  /* price: big price first, struck MRP + discount pill wrap underneath (spans are built by updateCardPrice) */
  #productScroller .ia-price-row{margin-top:0}
  #productScroller .ia-price-row>div{width:100%;min-width:0}
  #productScroller .ia-price-row .card-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:.1rem .4rem;font-size:1.4rem;line-height:1.2}
  #productScroller .card-price>.card-price-mrp{order:2}
  #productScroller .card-price>.card-price-off{order:3;background:#ecfdf5;border-radius:999px;padding:.05rem .45rem;font-size:.65rem;line-height:1.5}
  #productScroller .card-price-unit{display:block;margin-top:.15rem;line-height:1.3}
  #productScroller .ia-price-row .card-price-unit{font-size:.78rem}

  /* actions: buttons sit at the card bottom so Add / Go to cart line up across cards */
  #productScroller .ia-btn-row{flex-direction:row!important;gap:.6rem;margin-top:auto}
  #productScroller .card-action-btn{padding:.55rem .5rem;font-size:.9rem;min-height:2.9rem;flex:1 1 0!important;width:auto!important}

  /* slider controls (created by script block 4) */
  .ia-sl-nav{display:flex;align-items:center;justify-content:center;gap:.75rem;margin-top:.875rem}
  .ia-sl-nav.is-off{display:none}
  .ia-sl-btn{flex:0 0 auto;width:2.75rem;height:2.75rem;border-radius:999px;border:1.5px solid var(--ia-line,rgba(201,168,124,.5));background:#fff;color:#1a0a00;
    display:inline-flex;align-items:center;justify-content:center;font-size:.9rem;cursor:pointer;-webkit-tap-highlight-color:transparent;
    transition:transform .15s ease,opacity .2s ease,background-color .2s ease}
  .ia-sl-btn:active:not(:disabled){transform:scale(.92)}
  .ia-sl-btn:disabled{opacity:.35;cursor:default}
  .ia-sl-btn:focus-visible{outline:2px solid var(--ia-green,#2f6b3e);outline-offset:2px}
  .ia-sl-mid{flex:1 1 auto;max-width:11rem;text-align:center}
  .ia-sl-count{font-size:.85rem;font-weight:800;color:#3d1f0a;font-variant-numeric:tabular-nums}
  .ia-sl-bar{height:3px;margin-top:.4rem;border-radius:999px;background:var(--ia-line,rgba(201,168,124,.5));overflow:hidden}
  .ia-sl-bar>i{display:block;height:100%;width:0;border-radius:999px;background:var(--ia-green,#2f6b3e);transition:width .25s ease}
}

/* 6. Guided cards (shop by grain) */
@media (hover:hover){
  .guided-card i{transition:transform .3s var(--ia-ease)}
  .guided-card:hover i{transform:translateY(-2px) scale(1.08)}
}
/* phone: compact 2x2 */
@media not all and (min-width:768px){
  .ia-sec-guided .grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.75rem!important;
  }
  .guided-card{padding:1.1rem .75rem!important;background:#fff;border-radius:1rem}
  .guided-card i{font-size:1.5rem!important;margin-bottom:.5rem!important}
  .guided-card h3{font-size:.9rem!important;margin:0!important}
}

/* 7. Offer banner */
@media not all and (min-width:768px){
  .ia-sec-offer a[data-banner]{box-shadow:0 8px 24px rgba(26,10,0,.12)}
}

/* 8. Notify-me modal */
.notify-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.notify-modal.active { display: flex; }

/* 9. Trust slider and stats */
/* phone: tighter stat grid. The 1.25rem bottom margin is inherited from the old shared heading-wrapper
   rule, which also matched this grid (it has .text-center); kept so the spacing does not change. */
@media not all and (min-width:768px){
  .ia-sec-stats .grid{gap:1.75rem!important;margin-bottom:1.25rem!important}
}

/* 10. Testimonials */
/* desktop: the track is moved with translateX by script block 5; phone: native swipe with scroll-snap */
.testimonial-outer {
  position: relative;
  overflow: hidden;
}
#testimonialTrack {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s ease;
  pointer-events: auto;
}
.testimonial-card {
  background: white;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  padding: 1.75rem;
  flex-shrink: 0;
  pointer-events: auto;
}
@media not all and (min-width:768px) {
  .testimonial-outer {
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; scroll-snap-type: x mandatory;
  }
  .testimonial-outer::-webkit-scrollbar { display: none; }
  #testimonialTrack { transform: none !important; }
  .testimonial-card { scroll-snap-align: start; }
}

/* 11. Kitchen tips */
/* toggleTip() sets display/transform inline; these classes only hold the static look */
.ia-tip-toggle{
  display:flex;width:100%;align-items:center;justify-content:space-between;
  font-weight:600;text-align:left;cursor:pointer;background:none;border:none;
  padding:0;gap:12px;font-size:0.95rem;
}
.ia-tip-arrow{flex-shrink:0;font-size:1rem;transition:transform 0.3s;display:inline-block}
.ia-tip-panel{display:none;margin-top:1rem;font-size:0.875rem;color:#6b7280;line-height:1.6;animation:iaFade .3s ease}
@media not all and (min-width:768px){
  .ia-sec-tips .grid{gap:.75rem!important}
  .ia-sec-tips .grid>div{padding:.25rem 1.1rem!important}
  .ia-tip-toggle{min-height:3.25rem}
}

/* 12. FAQ */
.ia-faq-more{display:none}
.faq-content:not(.hidden){animation:iaFade .3s ease}
/* phone: first 3 questions open to tap, the rest sit behind "More questions" (button added by script block 3) */
@media not all and (min-width:768px){
  #faq-section .faq-toggle{padding:1rem 1.1rem!important;min-height:3.25rem;font-size:.95rem}
  #faq-section .faq-content{padding:.75rem 1.1rem 1rem!important}
  #faq-section .ia-faq-list>.faq-item+.faq-item{margin-top:.625rem!important}
  .ia-faq-ready #faq-section .ia-faq-list:not(.ia-open)>.faq-item:nth-child(n+4){display:none}
  .ia-faq-more{
    display:flex;align-items:center;justify-content:center;gap:.5rem;
    width:100%;min-height:48px;margin-top:.875rem;border-radius:999px;
    border:1.5px solid var(--ia-green);background:transparent;color:var(--ia-green);
    font-size:.9rem;font-weight:700;cursor:pointer;
  }
  .ia-faq-more:active{transform:scale(.98)}
  .ia-open+.ia-faq-more{display:none}
}

/* 13. WhatsApp float */
/* Static look lives here (not inline) so the phone overrides below need no !important.
   Script block 6 and the inline onclick/onmouseover handlers still set opacity/transform inline. */
#waWrapper{position:fixed;bottom:24px;right:24px;z-index:900;display:flex;flex-direction:column;align-items:flex-end;gap:10px}
#waBubble{
  background:white;
  border-radius:16px 16px 4px 16px;
  padding:12px 16px;
  box-shadow:0 4px 24px rgba(0,0,0,0.13);
  max-width:210px;
  font-size:13px;
  color:#1a1a1a;
  line-height:1.5;
  border:1px solid #e5e7eb;
  opacity:0;
  transform:translateY(8px) scale(0.95);
  transition:all 0.4s ease;
  pointer-events:none;
  position:relative;
}
.ia-wa-close{position:absolute;top:6px;right:10px;font-size:14px;color:#9ca3af;cursor:pointer;line-height:1}
.ia-wa-title{margin:0 16px 3px 0;font-weight:700;color:#059669;font-size:12px}
.ia-wa-text{margin:0}
#whatsappBtn{
  width:60px;height:60px;
  background:white;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  box-shadow:none;
  border:1.5px solid #1a1a1a;
  text-decoration:none;
  transition:transform 0.2s ease;
  position:relative;
  flex-shrink:0;
  overflow:hidden;
}
#whatsappBtn img{width:54px;height:54px;object-fit:contain;border-radius:50%}
/* phone: smaller button, clear of the home bar; the bubble covered half the screen, so only the button stays */
@media not all and (min-width:768px){
  #waWrapper{bottom:calc(14px + env(safe-area-inset-bottom,0px));right:calc(14px + env(safe-area-inset-right,0px))}
  #whatsappBtn{width:52px;height:52px}
  #whatsappBtn img{width:46px;height:46px}
  #waBubble{display:none}
}

/* 14. Page guards */
/* the page must never scroll sideways (clip keeps the sticky header safe; the desktop arrows sat 12px outside the viewport) */
html,body{ overflow-x:clip; }
img,video{ max-width:100%; }
.ia-page{overflow-x:clip}

/* 15. Reduced motion (kept last so it wins over every animation and transition above) */
@media (prefers-reduced-motion:reduce){
  .ia-rv:not(.in){opacity:1}
  .ia-rv.in,
  .faq-content:not(.hidden),
  .ia-tip-panel{animation:none}
  .hs-wrap{animation:none}
  #productScroller{scroll-behavior:auto}
  .ia-sl-bar>i,.ia-sl-btn{transition:none}
}
