/* GrowMate final version — sales, checkout and readability layer (Nov 2026). Loaded last.
   Keeps the approved look; changes what gets in the way of ordering. */

/* ---- WhatsApp is for support only: no WhatsApp next to order buttons ---- */
.hero .actions [data-wa],.selection-bar [data-wa],.about [data-wa],.final-cta [data-wa],.mobile-bar [data-wa],
.hero-actions [data-whatsapp],#system .text-link[data-whatsapp]{display:none!important}

/* ---- Every button reacts when pressed (motion guide: feedback on the press) ---- */
.button,button,.gm-b3-link{transition:transform .1s ease-out,filter .1s ease-out}
.button:active,button:active:not([disabled]),.gm-b3-link:active{transform:scale(.97);filter:brightness(.95)}
.button:hover,.gm-b3-link:hover{filter:brightness(1.05)}
:focus-visible{outline:3px solid #c9a24a!important;outline-offset:2px}
@media (prefers-reduced-motion:reduce){.button,button,.gm-b3-link{transition:none}.button:active,button:active{transform:none}}

/* ---- Hero: product + price in the first screen ---- */
.gm-hero-offer{display:flex;align-items:center;gap:12px;margin:4px 0 14px;padding:8px 14px 8px 8px;width:max-content;max-width:100%;background:#fffdf3ee;border:1px solid #e7d9a8;border-radius:14px;color:#173b26}
.gm-hero-offer img{width:44px;height:66px;object-fit:contain;flex:none}
.gm-hero-offer b{display:block;font-size:17px;line-height:1.3;font-weight:700}
.gm-hero-offer small{display:block;font-size:13px;color:#4e5f4c;line-height:1.35}
.gm-hero-offer-b3{display:block;width:auto;padding:8px 14px;margin:0 0 12px;font-size:15px}
.gm-hero-offer-b3 b{font-size:15px}

/* ---- Homeo packs: real COD amount, price per 100 g, saving ---- */
.pack-cod{display:block;margin:8px 12px 0;font-size:14px;color:#173b26;line-height:1.3;text-align:center}
.pack-cod b{font-size:18px;font-weight:700}
.pack-unit{display:block;margin:2px 12px 0;font-size:12.5px;color:#4f5f4f;line-height:1.4;text-align:center}
.pack-save{display:block;margin:6px auto 0;width:max-content;max-width:calc(100% - 20px);background:#e6f1df;color:#1d5c32;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:700;line-height:1.35;text-align:center}
.pack-badge{font-size:11px!important;padding:3px 8px!important;max-width:calc(100% - 44px);white-space:normal;line-height:1.3}
.pack-order{font-size:14px!important}
.gm-reasons{list-style:none;margin:0 0 22px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.gm-reasons li{background:#eef2e6;border:1px solid #d6dfca;border-radius:999px;padding:6px 12px;font-size:13.5px;line-height:1.4;color:#24412b}
.gm-reasons li::before{content:"✓ ";color:#2f7a45;font-weight:700}
.gm-pack-help{display:block;margin:16px 0 4px;padding:12px 0;min-height:44px;background:none;border:0;border-bottom:1px solid #b9c6b0;color:#1f5a37;font:inherit;font-size:15px;font-weight:600;text-align:left;cursor:pointer}
.gm-pack-help::after{content:"  ↓"}
.selection-bar{position:static!important;bottom:auto!important;backdrop-filter:none!important}
.selection-bar small{font-weight:600;color:#173b26}

/* ---- Product cards: one clear Order button, delivery stated ---- */
.catalogue-delivery{display:block;font-size:12.5px;line-height:1.45;color:#4f5f4f;margin:2px 0 10px}
.catalogue-card .button{font-size:14px;line-height:1.3;padding:12px 10px;min-height:46px}
.catalogue-b3 .catalogue-price strong{font-size:22px}
.gm-b3-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}

/* ---- Homeo bottom bar: one row like B³ (was 150–172 px tall) ---- */
@media (max-width:899px){
  .mobile-bar{grid-template-columns:minmax(0,1fr) auto!important;align-items:center;padding:8px 12px calc(8px + env(safe-area-inset-bottom))!important}
  .mobile-bar .mobile-order{grid-column:auto!important;min-height:48px;font-size:14px!important;padding:10px 12px!important;line-height:1.25}
  .mobile-bar .call-mini{border:0!important;background:none!important;text-decoration:underline;font-size:13px!important;padding:10px 4px!important;min-height:44px;white-space:nowrap}
}
.mobile-actions .button{font-size:13px!important}

/* ---- Readability (contrast measured, 4.5:1 or better) ---- */
main section:not(.hero):not(.help) .eyebrow{color:#5c6a3c!important}
.about .eyebrow,.about p{color:#55624f}
#packs .section-kicker,#system .section-kicker,#crops .section-kicker,#usage .section-kicker,#about .section-kicker,.faq-section .section-kicker{color:#5d7058!important}
.image-kicker,.hero-image .image-caption span:first-child{font-size:12px!important}
.hero-bottles b,.hero-bottles figcaption{font-size:12px!important}
/* Section labels that look like steps but are not: hidden (headings already say it). Real steps keep numbers. */
#packs .eyebrow,#more-products .eyebrow,.about .eyebrow,.usage .eyebrow,.faq .eyebrow,.final-cta .eyebrow{display:none}
.trust-symbol{font-size:0!important}
.trust-symbol::before{content:"✓";font-size:13px;color:#2f7a45;font-weight:700}

/* ---- Tap targets 44 px ---- */
.gm-lang>summary{min-height:44px;display:flex;align-items:center}
.site-footer a{min-height:44px;display:inline-flex;align-items:center}

/* ---- Bugs ---- */
@media (max-width:899px){
  .final-cta img{float:none!important;display:block;margin:0 0 14px!important}
}
@media (max-width:380px){
  html[lang="ta"] .hero-copy h1{font-size:25px!important;letter-spacing:-.5px}
}
.hero-copy h1,.hero-copy h1 *{overflow-wrap:normal;word-break:normal;hyphens:manual}
@media (min-width:900px) and (max-height:860px){
  .hero{padding-top:110px!important;padding-bottom:40px!important}
  .hero-copy h1{margin:12px 0!important}
}

/* ---- B³ combos: one photo, then a clear row per size ---- */
.gm-combo-photo{margin:0 auto 16px;max-width:420px;text-align:center}
.gm-combo-photo img{width:min(78%,320px);height:auto;mix-blend-mode:multiply}
.gm-combo-photo figcaption{font-size:12px;color:#5b6b5b}
#combo-packs .combo-card-photo{display:none!important}
#combo-packs .pack-top span:first-child{display:none}
.gm-best{display:inline-block;align-self:flex-start;background:#f3e3b0;color:#4a3a0a;font-size:12px;font-weight:700;border-radius:999px;padding:3px 10px;margin:0 0 6px}
@media (max-width:700px){
  #combo-packs{display:flex!important;flex-direction:column!important;gap:10px!important}
  #combo-packs .pack-card{display:grid!important;grid-template-columns:24px minmax(0,1fr) auto!important;grid-template-areas:"choice badge badge" "choice size price" "choice deliv buy"!important;align-items:center;column-gap:12px;row-gap:2px;padding:14px!important;text-align:left!important}
  #combo-packs .pack-top{grid-area:choice;width:24px!important;height:auto!important;padding:0!important;align-self:center!important}
  #combo-packs .gm-best{grid-area:badge}
  #combo-packs h3{grid-area:size;margin:0!important;text-align:left!important;font-size:19px!important}
  #combo-packs .pack-price{display:contents!important}
  #combo-packs .pack-price strong{grid-area:price;text-align:right;font-size:20px!important}
  #combo-packs .pack-price small{grid-area:deliv;margin:0!important}
  #combo-packs .combo-buy{grid-area:buy;width:auto!important;min-height:42px!important;padding:8px 16px!important}
}
#combo-packs .pack-price small,.gm-single-deliv{display:block;font-size:12.5px;line-height:1.45;color:#4f5f4f;margin-top:4px}

/* ---- Checkout ---- */
form.gm-folded .gm-choice{display:none!important}
.gm-hide{display:none!important}
.gm-change{display:inline-flex;align-items:center;min-height:44px;margin:4px 0 12px;padding:0 14px;border:1px solid #b9c6b0;border-radius:999px;background:#fff;color:#1f5a37;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
dialog input,dialog select,dialog textarea{font-size:16px!important}
#close-dialog,dialog .close,#checkout .close{min-width:44px!important;min-height:44px!important}
.gm-err{display:block;margin-top:6px;font-size:13.5px;line-height:1.4;font-weight:600;color:#b42318}
[aria-invalid="true"]{border-color:#b42318!important;box-shadow:0 0 0 2px #b4231822!important}
.gm-offices{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 4px}
.gm-offices-hint{flex-basis:100%;margin:0 0 2px;font-size:13px;color:#4f5f4f}
.gm-offices button{min-height:44px;padding:8px 14px;border:1px solid #b9c6b0;border-radius:10px;background:#fff;color:#173b26;font:inherit;font-size:14.5px;text-align:left;cursor:pointer}
.gm-offices button[aria-pressed="true"]{border:2px solid #1f5a37;background:#eef4e8;font-weight:700;padding:7px 13px}
.gm-offices button[aria-pressed="true"]::before{content:"✓ "}
.pack-save{font-size:11.5px!important;padding:3px 8px!important;max-width:calc(100% - 12px)!important}
html[lang="ta"] .pack-badge{max-width:none!important;font-size:10.5px!important}
.hero-bottom span,.product-detail>.eyebrow,.product-detail span.eyebrow,.about .product-detail span{font-size:11px!important}

/* ---- Visual pass (9 Nov 2026) ---- */
/* Hero: the product name already ends the heading, and the tiny COD/help line repeats the line above it */
.hero-copy .product-name,.hero-copy .hero-note,.hero .hero-meta{display:none!important}
/* Live-orders line: never show the green dot without its words */
.gm-proof:not(.gm-live){display:none!important}
/* B³ single bottles: "price per bottle" label left, price right, like the other cards */
.product-purchase>.row{display:flex!important;justify-content:space-between;align-items:baseline;gap:8px;width:100%!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important;text-align:left}
/* Homeo closing block on phones: the pack photo was a tiny 50 px image on its own */
@media (max-width:899px){.final-cta img{width:120px!important;height:auto!important}}
/* Desktop: "Why Homeo Agro Care" lines up with the sections above and below */
@media (min-width:900px){.compact-benefits .compact-info-inner{max-width:none!important;margin-left:0!important;margin-right:0!important}}
/* ---- PC pass (9 Nov 2026) ---- */
/* Top-bar Order button, computers only */
.gm-head-order{display:none}
@media (min-width:1100px){
  .gm-head-order{display:inline-flex;align-items:center;min-height:42px;margin-left:auto;margin-right:14px;padding:0 20px;border:0;border-radius:999px;background:#f0d9a0;color:#173b26;font:inherit;font-size:15px;font-weight:700;text-decoration:none;cursor:pointer;white-space:nowrap}
  .gm-head-order:hover{filter:brightness(1.05)}
  header nav a,.site-header nav a{font-size:15px!important}
}
/* First screen on a laptop: the order button must be visible without scrolling */
@media (min-width:900px) and (max-height:950px){
  .hero-copy h1{font-size:clamp(40px,3.9vw,58px)!important;line-height:1.18!important}
  .hero .hero-copy h1{margin:10px 0 14px!important}
}
@media (min-width:900px){
  .hero .hero-grid h1,.hero h1#hero-title,.site-header~main .hero h1{font-size:clamp(40px,3.8vw,60px)!important;line-height:1.15!important}
  /* Small print was 12–13 px on a computer screen */
  .pack-unit,.catalogue-delivery,#combo-packs .pack-price small,.gm-single-deliv,.selection-bar small,.product-purchase small{font-size:14px!important}
  .section-head>p,.section-head p:last-child{font-size:16px!important;line-height:1.6!important}
  /* Same left edge for every section */
  .compact-info .compact-info-inner{max-width:none!important;margin-left:0!important;margin-right:0!important}
  /* B³ sizes: the "best value" tag no longer pushes the 1 L card down */
  #combo-packs .pack-card{position:relative}
  #combo-packs .gm-best{position:absolute;top:16px;right:16px;margin:0}
}
@media (min-width:900px){
  .site-header~main .hero{padding-top:92px!important}
  .site-header~main .hero .hero-grid{align-items:start!important}
  .gm-hero-offer-b3{width:max-content!important;max-width:100%}
}
@media (min-width:900px){
  html[lang="ta"] .hero-copy h1{font-size:clamp(34px,3vw,46px)!important}
  .site-header~main .hero h1{font-size:clamp(36px,3.3vw,52px)!important}
}
/* B³ crop tiles: a real photo of each crop, name below (photos supplied by the owner, /assets/crops/) */
.gm-crop-photos{display:block!important}
.gm-crop-photos .crop-field{display:none!important}
.gm-crop-photos .crop-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}
.gm-crop-photos .crop-grid li{display:block!important;padding:0!important;overflow:hidden;border:1px solid #dfe7d5!important;border-radius:14px!important;background:#fff!important;text-align:left!important}
.gm-crop-photo{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;background:#eef2e6}
.gm-crop-photos .crop-grid h3{margin:0!important;padding:12px 14px!important;font-size:17px!important;line-height:1.4!important;font-weight:600!important}
@media (max-width:700px){
  .gm-crop-photos .crop-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .gm-crop-photos .crop-grid h3{padding:9px 11px!important;font-size:15px!important}
}
/* B³ sizes on PC: each size card shows the B³ Combo box again (one shared photo above the cards looked empty on a wide screen).
   Phones keep the one photo above the size rows. */
@media (min-width:701px){
  #combo-packs .combo-card-photo{display:block!important;margin:0 0 14px!important;text-align:center}
  #combo-packs .combo-card-photo img{width:100%;height:170px;object-fit:contain;mix-blend-mode:multiply}
  #combo-packs .combo-card-photo figcaption{display:none}
  .gm-combo-photo{display:none!important}
}
/* B³ "How to use" on PC: same width and left edge as the other sections */
@media (min-width:900px){#usage .shell.usage-only{max-width:none!important}}
