img[src*="prodimg/"],img[data-protected-img]{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none;-webkit-tap-highlight-color:transparent}.product-card img,.product-img,.prod-feature-img,.category-card img{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}

/* GRIDFIX (v7.1.0-gridfix): demo.css loads BEFORE this file and forces
   .products-grid AND .grid to unconditional 1fr 1fr, which beat the
   layout.css breakpoints at every width (that was the real reason the
   home grid stayed 2 columns on desktop after the app.js fix).
   This file loads LAST, so these rules win with equal specificity.
   Values mirror layout.css exactly. demo.css is deliberately untouched. */
@media (max-width:480px){.products-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}}
@media (min-width:481px) and (max-width:768px){.products-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}}
@media (min-width:769px) and (max-width:1024px){.products-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}}
@media (min-width:1025px) and (max-width:1280px){.products-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}}
@media (min-width:1281px){.products-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:20px}}

/* OFFERS CAROUSEL (2026-10-26, cardfix): horizontal scroll row in the deal place.
   Native touch scroll, RTL-aware (scrolls both directions). Cards reuse
   the deal .banner look at full width, one card per viewport, exactly
   like the old single deal card. Empty state: no row is rendered at all (see app.js).
   ONE CARD SYSTEM (2026-11-18, Omar's order): every card in this track —
   the app promo included — is the SAME standard .banner box; no card may
   carry geometry of its own ever again. align-items:stretch makes all
   cards in the track exactly as tall as the tallest sibling, and the
   min-height floor below records the standard box height so no card can
   render shorter than the standard — not even a lone card.
   EXEMPTION (2026-11-18, Omar's later order): the FIRST card only — the
   app promo (.promo-banner) — is OUT of this system entirely: frameless,
   no stretch, no floor (see its own block below). Every other card keeps
   the unified standard untouched.
   THE STANDARD (measured from the live card): .banner = padding 20px,
   border 1px solid var(--line2), border-radius var(--r-lg) = 30px;
   height from the content stack (tag 26.5 + h2 46.4 + 2-line p 54.5 +
   brow 43.8 + padding 40 + border 2) = 213px on phones, and 199px on
   desktop (live-measured deal card; the p fits on one line there). */
.panda-offers{margin-bottom:20px}
.panda-offers-track{display:flex;gap:12px;overflow:hidden;padding-bottom:4px;align-items:stretch}
.panda-offers-track .banner{flex:0 0 100%;scroll-snap-align:start;margin-bottom:0}
.panda-offers-track .banner,.panda-deal .banner{min-height:199px}
@media (max-width:768px){.panda-offers-track .banner,.panda-deal .banner{min-height:213px}}
.panda-offers-dots{display:flex;gap:8px;justify-content:center;align-items:center;padding:10px 0 2px}
.panda-offers-dots button{width:8px;height:8px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.3);cursor:pointer}
.panda-offers-dots button.active{background:#fff;transform:scale(1.3)}

/* APP PROMO CARD (2026-11-18, FRAMELESS EXEMPTION — Omar's order,
   supersedes the size-fix): the promo is NOT an offers card and carries
   NO frame at all — no border, no radius of its own, no background, no
   padding, no clipping — because the artwork is a self-contained image
   (its rounded blue frame is baked into the picture itself). It is
   exempt from the one-card system above: align-self:flex-start takes it
   out of the track's stretch and min-height:0 lifts the standard floor,
   so the slide is exactly the image at its natural 1500x840 aspect —
   as wide as the slide, as tall as the picture. Sibling offers cards
   are NOT affected: they keep the stretch + floor and the standard
   213/199 box. Height note: the track is as tall as its tallest slide —
   on phones the promo (366 x 205 at a 390px viewport) stays under the
   213px floor, so nothing changes there; on wide screens the promo is
   taller than 199px and the stretched siblings grow with the track
   (their content stays top-anchored). The carousel nav reads horizontal
   geometry only (scrollLeft + rect deltas), so dots, swipe and the 5s
   autoplay are unaffected by the slide's height.
   IMAGE CONTROL (2026-11-18, Omar's refinement): the picture itself is
   dimensioned deliberately — a centered block (margin-inline:auto) at
   exactly the slide's width, natural aspect untouched (no crop, no
   distortion), aligned to the top of the track by the card's
   flex-start. The IMG carries a 30px corner radius (the --r-lg family
   curve): the source art has dark wedges outside its own baked rounded
   design, and the radius clips those corners so the face reads as one
   clean rounded image against the page background. The radius is on
   the image, never on the card — the card stays frameless. */
.panda-offers-track .banner.promo-banner{align-self:flex-start;min-height:0;border:0;border-radius:0;background:none;padding:0;overflow:visible}
.panda-offers-track .banner.promo-banner .promo-img{position:static;display:block;width:100%;height:auto;margin-inline:auto;border-radius:30px}

/* DESKTOP PROMO SIZE CAP (2026-11-21, Omar's order): on wide screens the
   frameless promo picture scaled to the full content column (1340px at
   the 1380px container) — a 1340x750 billboard — and the track's
   align-items:stretch dragged every sibling offer banner to that same
   750px height, so the standard card's content and its 104px .bart
   floated in a giant empty box (Omar's two desktop screenshots,
   live-measured 2026-11-21). Desktop only, at the offers system's own
   769px breakpoint — nothing at or below 768px changes in any way:
   1) the promo picture is capped at a modest wide-card width and stays
      centered (margin-inline:auto above), natural aspect untouched —
      the whole picture remains visible, no crop, no distortion;
   2) the track stops stretching on desktop, so sibling banners keep
      their natural standard height (the 199px floor still applies)
      instead of growing to the promo's height.
   Carousel mechanics read horizontal geometry only (scrollLeft + rect
   deltas), so dots, swipe and autoplay are unaffected. */
@media (min-width:769px){
  .panda-offers-track{align-items:flex-start}
  .panda-offers-track .banner.promo-banner .promo-img{max-width:520px}
}

/* SURFACE OFFER BADGE (2026-11-23): the channel-targeted profit-margin
   offer (website/app) marks its products with a green discount badge —
   on the product card's badge row and in the product sheet's chips line.
   Same pill geometry as the base .bdg component; emerald fill so it
   reads as "money off" in both themes, with a light-mode ink darkening
   for contrast parity with the stock badge treatment on product.html. */
.bdg.sob{background:rgba(5,46,32,.88);color:#6ee7b7;border-color:rgba(52,211,153,.55)}
html[data-theme="light"] .bdg.sob{background:#064e3b;color:#a7f3d0;border-color:#059669}
