/* NODRA Mobile Product Cards — compact storefront, preserving original branding. */
.products-grid { align-items: stretch; }
.product-card { min-width: 0; }
.product-media img { display: block; }
.product-content h3 a { overflow-wrap: anywhere; }
@media (max-width: 850px) {
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  .product-card { display: flex; flex-direction: column; height: 100%; }
  .product-media { display: flex; align-items: center; justify-content: center; aspect-ratio: 1/1; padding: 7px !important; min-width: 0; }
  .product-media img { width: 100% !important; height: 100% !important; aspect-ratio: auto !important; object-fit: contain !important; }
  .discount-badge { top: 6px !important; right: 6px !important; padding: 3px 6px !important; font-size: 10px !important; }
  .product-content { padding: 10px !important; gap: 5px; min-width: 0; display: flex; flex-direction: column; flex: 1; }
  .product-content h3 { font-size: 13px !important; line-height: 1.45 !important; min-height: 2.9em !important; max-height: 2.9em; overflow: hidden; margin: 0 !important; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
  .product-content p { display: none !important; }
  .price-line { display: flex !important; flex-wrap: wrap !important; gap: 1px 5px !important; align-items: baseline !important; align-content: center; min-height: 43px; margin: auto 0 0 !important; }
  .current-price { font-size: clamp(14px, 3.7vw, 19px) !important; font-weight: 800 !important; white-space: nowrap; unicode-bidi: plaintext; }
  .old-price-card { font-size: 11px !important; line-height: 1.25 !important; }
  .discount-percent-card { display: none !important; } /* discount already shown over the image */
  .product-actions { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 6px !important; margin-top: 5px !important; }
  .product-actions .add-to-cart, .product-actions .buy-now { width: 100% !important; min-width: 0 !important; min-height: 38px; padding: 7px 2px !important; font-size: 11px !important; font-weight: 800 !important; line-height: 1.25 !important; white-space: normal !important; border-radius: 9px !important; }
  .product-actions .button { display: none !important; } /* Image and product title already open details */
  .product-card:focus-within { outline: 2px solid #ff9d00; outline-offset: 2px; }
}
@media (max-width: 340px) {
  .products-grid { gap: 8px !important; }
  .product-content { padding: 8px !important; }
  .product-actions { grid-template-columns: 1fr !important; gap: 5px !important; }
}
@media (max-width: 320px) {
  .products-grid { grid-template-columns: 1fr !important; }
}
@media (prefers-reduced-motion: reduce) {
  .product-card, .product-media img { transition: none !important; }
}
