/* Homepage-only styles, loaded by offer.php. */
.daily-deals{display:flex;align-items:center;justify-content:center;gap:7px;padding:14px 8px 16px;border-bottom:10px solid #eaeaf4;margin-bottom:16px}
.daily-deals h2{display:flex;align-items:center;gap:5px;font-size:18px;color:#686879;margin:0;white-space:nowrap}
.deal-lightning{color:#e51c00;font-size:32px;line-height:1;font-weight:bold}
.deal-countdown{display:flex;align-items:center;justify-content:center;gap:3px;background:#ffe8ce;border:1px solid #ff9a78;border-radius:4px;color:#ad229c;font-weight:700;font-size:16px;line-height:1.5;font-variant-numeric:tabular-nums;white-space:nowrap}
.daily-deals .deal-countdown{padding:0 6px;font-size:13px}
#products{padding:0 0 80px}
#products>h4{font-size:22px;color:#353543;margin:0;padding:0 16px 12px}
#products .product-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:0}
#products .product-card{width:100%;min-width:0;overflow:hidden;background:#fff;border:1px solid #ebebeb;border-bottom:2px solid #e7e7e7;text-decoration:none}
#products .product-img{width:100%;height:auto;aspect-ratio:1;margin:0;position:relative;border-radius:6px;overflow:hidden}
#products .product-img img{display:block;width:100%;height:100%;object-fit:contain;background:#fff}
.hot-sell-badge{position:absolute;top:8px;left:50%;transform:translateX(-50%);z-index:1;background:#60014a;color:#fff;font-size:10px;font-weight:700;padding:5px 7px;border-radius:2px;animation:hot-sell-blink 1.3s ease-in-out infinite}
@keyframes hot-sell-blink{0%,100%{opacity:1}50%{opacity:.25}}
#products .product-details{padding:12px 5px 5px;overflow:hidden;display:flex;flex-direction:column;flex:1}
#products .product-name{font-size:10px;color:#9292aa;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:18px;margin:5px 0 8px}
#products .product-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px;margin-bottom:6px}
#products .sell-price{font-size:16px;font-weight:700;color:#353543}
#products .mrp-price{font-size:11px;color:#9292aa;text-decoration:line-through}
#products .off-percentage{font-size:11px;color:#353543}
#products .deal-countdown{margin:0 0 10px}
.deal-buy-now{display:flex;align-items:center;justify-content:center;gap:10px;background:#a32091;color:#fff;border-radius:4px;min-height:40px;font-size:16px;font-weight:700;margin-bottom:14px}
.product-card:hover .deal-buy-now{background:#861877}
.product-card:focus-visible{outline:3px solid #a32091;outline-offset:-3px}
.deals-ended .hot-sell-badge{animation:none}
.product_loader{text-align:center;padding:20px;color:#9f2089}
.product_loader:empty:after{content:'';display:inline-block;width:30px;height:30px;border:4px solid #eee;border-top-color:#9f2089;border-radius:50%;animation:deal-spin 1s linear infinite}
@keyframes deal-spin{to{transform:rotate(360deg)}}
.retry-products{border:1px solid #9f2089;border-radius:4px;background:white;color:#9f2089;padding:10px}
@media(max-width:360px){.daily-deals{gap:4px}.daily-deals h2{font-size:15px}.daily-deals .deal-countdown{font-size:11px}.deal-countdown{font-size:14px}.deal-buy-now{font-size:14px}}
@media(prefers-reduced-motion:reduce){.hot-sell-badge{animation:none}}
#products #not-found{grid-column:1 / -1;text-align:center;padding:24px 12px}


/* Match the existing Saga5 yellow product theme. */
#products .deal-buy-now {background:#ffc200;color:#212121;}
#products .product-card:hover .deal-buy-now {background:#e6ae00;}
#products .product-card:focus-visible {outline-color:#ffc200;}
#products .hot-sell-badge {background:#ffc200;color:#212121;}
#products .deal-countdown,.daily-deals .deal-countdown {background:#fff8db;border-color:#ffc200;color:#604800;}
#products .product_loader {color:#604800;}
#products .product_loader:empty:after {border-top-color:#ffc200;}
#products .retry-products {border-color:#ffc200;color:#212121;background:#fff8db;}
