/* PUFAZZO V1.0.88.54 — product detail MOBILE presentation only.
 * Uses the existing mobile purchase bar; never creates another sticky button.
 * Price, campaign, shipping, stock and cart logic are intentionally unchanged.
 */
@media (max-width:740px){
  .product-detail{gap:18px;min-width:0}
  .product-detail .detail-copy{min-width:0}
  .product-detail .detail-copy>.eyebrow{display:inline-block;margin-bottom:6px;letter-spacing:.12em}
  .product-detail .detail-copy>h1{font-size:clamp(25px,6.5vw,32px);line-height:1.22;letter-spacing:-.025em;margin:0 0 12px;overflow-wrap:anywhere}
  .product-detail .detail-copy>p{font-size:13px;line-height:1.65;color:#675b51;margin:0 0 12px}

  /* Tight and readable review/favorite row. */
  .product-detail .pufazzo-detail-action-bar{gap:9px;padding:10px 12px;margin:8px 0 13px;border-radius:14px;box-shadow:none}
  .product-detail .pufazzo-detail-action-bar .pufazzo-fav-detail{min-height:42px;height:auto;padding:9px 12px}
  .product-detail .pufazzo-detail-action-bar .pr-card-rating{font-size:12px;line-height:1.35}

  /* Price before options; attractive but compact. Don't remove any promo badges. */
  .product-detail .detail-copy .price-row.pufazzo-detail-benefit-price{display:grid!important;grid-template-columns:minmax(0,1fr);gap:10px;margin:6px 0 14px;padding:13px 0 0;border-top:1px solid #eee7dd}
  .product-detail .detail-copy .pufazzo-detail-benefit-value{padding:15px 16px;background:linear-gradient(130deg,#fffdfa,#fff8ef);border:1px solid #eee0cf;border-radius:15px;min-width:0}
  .product-detail .detail-copy .pufazzo-detail-benefit-current{font-size:clamp(28px,8vw,36px);line-height:1.14;white-space:normal;overflow-wrap:anywhere}
  .product-detail .detail-copy .pufazzo-detail-benefit-psf{margin-bottom:5px}
  .product-detail .detail-copy .pufazzo-detail-benefits{display:flex;flex-wrap:wrap;align-items:stretch;gap:8px;min-width:0}
  .product-detail .detail-copy .pufazzo-detail-benefits>.discount-badge,
  .product-detail .detail-copy .pufazzo-detail-benefits>.pufazzo-campaign-countdown,
  .product-detail .detail-copy .pufazzo-detail-benefits>.pufazzo-detail-shipping-tile{flex:0 1 88px;width:88px;min-width:0;max-width:calc((100vw - 56px)/3);aspect-ratio:1;padding:6px 3px;border-radius:12px!important}
  .product-detail .detail-copy .pufazzo-detail-benefits .pufazzo-discount-number{font-size:22px}
  .product-detail .detail-copy .pufazzo-detail-benefits .pufazzo-campaign-countdown [data-promo-time]{font-size:11px}

  /* Existing variant links and form stay functional and accessible. */
  .product-detail .purchase-panel{min-width:0}
  .product-detail .purchase-panel .model-option-group,
  .product-detail .purchase-panel .variant-picker{min-width:0;margin-bottom:14px}
  .product-detail .purchase-panel .purchase-heading{margin-bottom:10px}
  .product-detail .purchase-panel .purchase-heading>div:first-child{min-height:48px;padding:10px 12px;border-radius:12px}
  .product-detail .purchase-panel .purchase-heading>div:first-child>h3{font-size:15px!important;white-space:normal!important;text-wrap:balance}
  .product-detail .purchase-panel .model-option-group .variant-choices,
  .product-detail .purchase-panel .variant-picker .variant-choices{max-width:100%;min-width:0}
  .product-detail .purchase-panel a.variant-chip:focus-visible,
  .product-detail .purchase-panel a.model-size-choice:focus-visible,
  .product-detail .purchase-panel a.model-photo-choice:focus-visible{outline:2px solid #df702d;outline-offset:2px}

  /* Keep free-shipping progression next to the purchase control. */
  .product-detail .purchase-panel>.pufazzo-free-shipping{margin:16px 0 10px}
  .product-detail .purchase-panel>.addcart{position:static;z-index:auto;display:flex;align-items:end;gap:10px;margin:10px 0 18px;padding:0;background:transparent;box-shadow:none;min-width:0}
  .product-detail .purchase-panel>.addcart .quantity-control{flex:0 0 auto;min-width:0}
  .product-detail .purchase-panel>.addcart .quantity-control.pufazzo-v172-qty-control{min-width:112px;max-width:136px}
  .product-detail .purchase-panel>.addcart .quantity-control label{display:block;font-size:11px;font-weight:700;margin-bottom:5px;color:#665d53}
  .product-detail .purchase-panel>.addcart .btn{flex:1 1 auto;min-width:0;min-height:48px;margin:0;padding:11px 12px;border-radius:12px;white-space:normal;text-align:center;justify-content:center}
  .product-detail .purchase-panel>.addcart .pufazzo-v172-stepper button{min-height:46px}
  .product-detail .purchase-panel>.benefits{gap:8px}

  /* Preserve the already installed V1.0.79 bottom purchase bar. */
  .p179-buybar{max-width:100vw}
  .p179-buybar .p179-buybar-add{min-height:46px}
}
@media (max-width:360px){
  .product-detail .purchase-panel>.addcart{gap:7px}
  .product-detail .purchase-panel>.addcart .quantity-control.pufazzo-v172-qty-control{min-width:106px;max-width:115px}
  .product-detail .purchase-panel>.addcart .btn{font-size:12px;padding:9px 7px}
  .product-detail .detail-copy .pufazzo-detail-benefits>.discount-badge,
  .product-detail .detail-copy .pufazzo-detail-benefits>.pufazzo-campaign-countdown,
  .product-detail .detail-copy .pufazzo-detail-benefits>.pufazzo-detail-shipping-tile{width:76px;flex-basis:76px}
}
