/* Match the existing blue search/cart palette while keeping all section styles scoped here. */
.home-otc { padding: 44px 0; background: #f5faff; }
.home-otc__heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.home-otc__heading h2 { margin: 0 0 8px; font-size: clamp(23px, 3vw, 32px); color: #0756a7; }
.home-otc__heading p { margin: 0; color: #6b7d8c; }
.home-otc__browse { color: #0756a7; font-weight: 600; text-decoration: underline; white-space: nowrap; }
.home-otc__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.home-otc__card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: #fff; border: 1px solid #d6e5ef; border-radius: 14px; }
.home-otc__image { display: flex; height: 180px; padding: 16px; align-items: center; justify-content: center; }
.home-otc__image img { width: 100%; height: 100%; object-fit: contain; }
.home-otc__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 0 16px 16px; }
.home-otc__card h3 { margin: 12px 0 5px; font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; }
.home-otc__card h3 a { color: #17243a; }
.home-otc__pack { margin: 0 0 12px; color: #6b7d8c; font-size: 13px; overflow-wrap: anywhere; }
.home-otc__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-top: auto; }
.home-otc__price strong { color: #0756a7; font-size: 19px; }
.home-otc__price del { color: #7d8994; font-size: 13px; }
/* Saved discounts stay beside the price; the primary action adds one pack through the shared cart. */
.home-otc__discount { padding: 3px 6px; border-radius: 5px; color: #147450; background: #e6f8ef; font-size: 12px; font-weight: 600; white-space: nowrap; }
.home-otc__cart { width: 100%; margin-top: 14px; }
.home-otc__add { width: 100%; min-height: 44px; padding: 10px 8px; border: 0; border-radius: 8px; background: #0756a7; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.4; cursor: pointer; }
.home-otc__add:hover { background: #06498e; }
.home-otc__cart button:focus-visible { outline: 3px solid #139ee8; outline-offset: 3px; }
/* Keep the quantity control in the same space and preserve comfortable touch targets on phones. */
.home-otc__cart [hidden] { display: none !important; }
.home-otc__quantity { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; min-height: 44px; border: 1px solid #0756a7; border-radius: 8px; background: #eef7fc; }
.home-otc__quantity button { min-width: 44px; min-height: 44px; padding: 6px; border: 0; border-radius: 6px; background: #0756a7; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.home-otc__quantity button:hover { background: #06498e; }
.home-otc__quantity button:disabled { background: #c4ccd4; color: #657789; cursor: default; }
.home-otc__quantity output { text-align: center; color: #0756a7; font-size: 17px; font-weight: 700; }
.home-otc__details { margin-top: 12px; padding: 10px 0 0; color: #0756a7; font-size: 14px; font-weight: 600; }
.home-otc a:focus-visible { outline: 3px solid #139ee8; outline-offset: 3px; }
/* Two compact columns preserve readable names and prices on narrow phones in both languages. */
@media (max-width: 991px) { .home-otc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) {
    .home-otc { padding: 28px 0; }
    .home-otc__heading { align-items: flex-start; flex-direction: column; gap: 10px; }
    .home-otc__grid { gap: 10px; }
    .home-otc__image { height: 138px; padding: 12px; }
    .home-otc__body { padding: 0 10px 12px; }
    .home-otc__card h3 { font-size: 14px; }
    .home-otc__price strong { font-size: 17px; }
}
