/* ============================================================
   Guntur Farmlands — catalog-driven sections
   Out-of-stock tiles, bundle/combo cards, load-error banner
   ============================================================ */

.price-tile--oos{opacity:.55}
.price-tile-oos-label{font-size:.8rem;font-weight:700;color:var(--ink-soft)}

.catalog-bundles{padding-block:clamp(2.5rem,6vw,4.5rem);background:var(--cream-50)}
.catalog-bundles[hidden]{display:none}
.bundle-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}

.bundle-card{display:flex;flex-direction:column;overflow:hidden;background:var(--cream-50);border-radius:var(--r-lg);
  border:1px solid color-mix(in srgb,var(--wood-700) 14%,transparent);box-shadow:var(--sh-2)}
.bundle-photo{display:block;aspect-ratio:1/1;background:var(--cream-200);overflow:hidden}
.bundle-photo img{width:100%;height:100%;object-fit:cover;display:block}
.bundle-body{display:flex;flex-direction:column;gap:.6rem;padding:1rem}
/* "New" tag: hero slides (home.css) and product cards share it */
.tag-new{display:inline-block;padding:.2rem .6rem;border-radius:var(--r-full);font-size:.72rem;font-weight:700;
  letter-spacing:.06em;text-transform:uppercase;background:var(--forest-900);color:var(--cream-50)}
.bundle-body > .tag-new{align-self:flex-start}
.product-name > .tag-new,.featured-title > .tag-new,.more-card-name > .tag-new{vertical-align:middle;margin-left:.4rem;font-family:var(--font-sans)}
.featured-title > .tag-new,.more-card-name > .tag-new{margin-left:0;align-self:center}
.bundle-name{font-family:var(--font-display);font-size:1.15rem;color:var(--forest-950);margin:0}
.bundle-name a{color:inherit;text-decoration:none}
.bundle-inside-title{margin:0;font-size:.8rem;font-weight:700;color:var(--ink-soft);text-transform:uppercase;letter-spacing:.04em}
.bundle-inside{margin:0;padding-left:1.1rem;color:var(--ink-2);font-size:.9rem}
/* a quiet text link like the homepage's: chilli red stays reserved for actions */
.bundle-link{display:inline-flex;align-items:center;min-height:44px;font-size:.85rem;font-weight:600;color:var(--forest-900);
  text-decoration:underline;text-decoration-color:var(--gold-500);text-underline-offset:.2em}
.bundle-link:hover{color:var(--forest-700)}

.catalog-error{margin:1rem auto;max-width:var(--max-w);padding:.8rem 1rem;border-radius:var(--r-md);
  background:var(--cream-100);border:1px solid var(--chilli-600);color:var(--chilli-800)}
.catalog-error a{color:var(--chilli-700);font-weight:700}

/* Prices are never shipped in the HTML: until the live catalog arrives the slot is a neutral skeleton bar. */
.price-tile-amount[aria-busy="true"]:empty,
.quickshop-price[aria-busy="true"]:empty,
.product-price-teaser[aria-busy="true"]:empty,
.price-guide-price[aria-busy="true"]:empty{
  display:block;width:3.2rem;height:.9em;margin-inline:auto;border-radius:var(--r-full);background:var(--cream-300);opacity:.7}
.quickshop-price[aria-busy="true"]:empty,
.product-price-teaser[aria-busy="true"]:empty,
.price-guide-price[aria-busy="true"]:empty{margin-inline:0}
.add-to-cart-btn:disabled,.price-tile-add-btn:disabled{cursor:not-allowed;opacity:.6}

/* ---------- Product detail page ---------- */
/* Same rhythm as the homepage: section padding, --r-lg media with --sh-2, cream info card. */
.product-page{padding-block:clamp(1.25rem,3vw,2rem) clamp(2.5rem,6vw,4.5rem)}
.product-back{margin-bottom:clamp(.75rem,2vw,1.25rem);font-weight:600}
.product-back a{display:inline-flex;align-items:center;min-height:44px;color:var(--forest-900);
  text-decoration:underline;text-decoration-color:var(--gold-500);text-underline-offset:.2em}
.product-back a:hover{color:var(--forest-700)}
.product-detail{display:grid;gap:clamp(1.25rem,3vw,2.5rem);grid-template-columns:1fr}
.product-main-img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:var(--r-lg);
  background:var(--cream-100);box-shadow:var(--sh-2)}
.product-thumbs{display:flex;gap:.5rem;margin-top:.75rem;flex-wrap:wrap}
.product-thumb{padding:0;border:2px solid transparent;border-radius:var(--r-md);background:var(--cream-100);cursor:pointer;overflow:hidden;line-height:0}
.product-thumb[aria-pressed="true"]{border-color:var(--forest-900)}
.product-thumb:focus-visible{outline:2px solid var(--forest-900);outline-offset:2px}
.product-thumb img{width:64px;height:64px;object-fit:cover}
.product-info{padding:clamp(1.1rem,3vw,1.75rem);border-radius:var(--r-lg);background:var(--cream-50);
  border:1px solid color-mix(in srgb,var(--wood-700) 14%,transparent);box-shadow:var(--sh-1)}
.product-title{font-size:clamp(1.6rem,3.4vw,2.4rem);margin:0 0 .6rem}
.product-desc{margin:0 0 1rem;color:var(--ink-2)}
.product-inside-title{font-size:1.05rem;margin:1rem 0 .4rem}
.product-info .price-tiles{margin-block:1rem 1.25rem}
.product-unavailable{text-align:center;padding:3rem 0}
:lang(te) .product-info{line-height:1.7}
:lang(te) .product-title{line-height:1.3}
@media(min-width:760px){.product-detail{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}}
