.add-daily-deals{--add-gap:20px;position:relative;isolation:isolate;overflow:hidden;margin:28px 0 58px;padding:42px 48px 28px;border:1px solid rgba(77,48,34,.09);border-radius:34px;background:#fff7f2;box-shadow:none}
.add-daily-deals:before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(135deg,#fffaf7,#f8e9df)}
.add-daily-deals.has-bg:before{background-image:linear-gradient(90deg,rgba(255,250,247,.88),rgba(255,248,244,.52)),var(--add-bg);background-position:center;background-size:cover;background-repeat:no-repeat}
.add-daily-deals:after{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 14% 9%,rgba(255,255,255,.93),transparent 30%);pointer-events:none}
.add-deals-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:30px}
.add-kicker{display:inline-flex;padding:8px 15px;border-radius:999px;background:#111;color:#fff;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;box-shadow:0 8px 18px rgba(0,0,0,.14)}
.add-deals-head h2{margin:12px 0 4px;font-size:clamp(34px,3vw,52px);font-weight:850;line-height:1;letter-spacing:-.04em}
.add-deals-head p{margin:0;color:#6c7078;font-size:15px}
.add-deals-stage{position:relative}
.add-deals-viewport{overflow:hidden;padding:7px 4px 15px}
.add-deals-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - (var(--add-gap)*4))/5);gap:var(--add-gap);overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;scrollbar-width:none;padding:0 1px 12px}
.add-deals-track::-webkit-scrollbar{display:none}
.add-daily-deals .add-deal-item{min-width:0;height:auto;scroll-snap-align:start}
.add-daily-deals .product-thumb{position:relative;display:flex;flex-direction:column;height:100%;overflow:hidden;border:1px solid rgba(255,255,255,.92);border-radius:26px;background:rgba(255,255,255,.95);box-shadow:0 2px 7px rgba(38,23,15,.035);transition:box-shadow .28s ease,border-color .28s ease}
.add-daily-deals .product-thumb:before{content:"";position:absolute;inset:0;z-index:9;border-radius:inherit;background:linear-gradient(112deg,transparent 0 39%,rgba(255,255,255,.42) 49%,transparent 60%);transform:translateX(-145%);transition:transform .8s ease;pointer-events:none}
.add-daily-deals .product-thumb:hover{border-color:#fff;box-shadow:0 9px 22px rgba(48,29,19,.10)}
.add-daily-deals .product-thumb:hover:before{transform:translateX(145%)}
.add-daily-deals .product-thumb .image{position:relative;aspect-ratio:1/1;overflow:hidden;background:#fff}
.add-daily-deals .product-thumb .image>a{display:block;width:100%;height:100%}
.add-daily-deals .product-thumb .image img{display:block;width:100%;height:100%;object-fit:contain;margin:0 auto;transition:transform .5s cubic-bezier(.2,.8,.2,1),filter .3s ease}
.add-daily-deals .product-thumb:hover .image img{transform:scale(1.025);filter:saturate(1.02) contrast(1.01)}
.add-daily-deals .stickers-ns{position:absolute;z-index:4;top:14px;left:14px;pointer-events:none}
.add-daily-deals .sticker-ns.special{display:inline-flex;align-items:center;min-height:32px;padding:7px 12px;border:1px solid rgba(255,255,255,.45);border-radius:999px;background:linear-gradient(135deg,#ff5b50,#ff352b);color:#fff;font-size:11px;font-weight:850;line-height:1;box-shadow:0 8px 20px rgba(255,62,50,.28)}
.add-daily-deals .addit-action{position:absolute;z-index:5;top:12px;right:12px}
.add-daily-deals .btn-wishlist{width:39px;height:39px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.94);color:#111;font-size:17px;box-shadow:0 6px 16px rgba(0,0,0,.08);transition:transform .22s ease,color .22s ease,background .22s ease}
.add-daily-deals .btn-wishlist:hover{transform:scale(1.07);color:#ff3c34;background:#fff}
.add-daily-deals .caption{display:flex;flex:1;flex-direction:column;padding:17px 17px 16px;border-top:1px solid rgba(0,0,0,.035)}
.add-daily-deals .product-name{min-height:42px;margin:0 0 9px;font-size:15px;font-weight:800;line-height:1.34}
.add-daily-deals .product-name a{display:-webkit-box;overflow:hidden;color:#111;text-decoration:none;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.add-daily-deals .rating{display:flex;align-items:center;gap:7px;margin-bottom:8px}
.add-daily-deals .rating-stars{display:flex;align-items:center}
.add-daily-deals .rating-star{position:relative;width:16px;height:16px;color:#d5d7da;overflow:hidden}
.add-daily-deals .rating-star:before{content:"\f005";font-family:FontAwesome;font-size:14px}
.add-daily-deals .rating-star-active{position:absolute;top:0;left:0;height:100%;overflow:hidden;color:#ffad00;white-space:nowrap}
.add-daily-deals .rating-star-active:before{content:"\f005";font-family:FontAwesome;font-size:14px}
.add-daily-deals .product-reviews{display:flex;align-items:center;gap:3px;color:#9a9da3;font-size:12px}
.add-daily-deals .product-reviews i{font-size:16px}
.add-daily-deals .product_model_sstatus{margin-bottom:11px}
.add-daily-deals .stock-status.instock{color:#55b995;font-size:12px}
.add-daily-deals .price-actions-box{display:grid;grid-template-columns:minmax(0,1fr) 43px;align-items:end;gap:10px;margin-top:auto}
.add-daily-deals .price{min-width:0}
.add-daily-deals .price-old{display:block;color:#a6a9ae;font-size:13px;line-height:1.25;text-decoration:line-through}
.add-daily-deals .price-new{display:block;margin-top:2px;color:#111;font-size:22px;font-weight:900;line-height:1.15;letter-spacing:-.025em}
.add-daily-deals .price-tax{display:block;margin-top:1px;color:#7c8087;font-size:11px}
.add-daily-deals .add-view-product{grid-column:1/2;display:inline-flex;align-items:center;justify-content:center;width:max-content;max-width:100%;min-height:34px;margin-top:10px;padding:0 13px;border:1px solid #e3e3e3;border-radius:11px;background:rgba(255,255,255,.94);color:#111!important;text-decoration:none!important;font-size:11px;font-weight:800;transition:background .22s ease,color .22s ease,border-color .22s ease}
.add-daily-deals .add-view-product:hover{border-color:#111;background:#111;color:#fff!important}
.add-daily-deals .cart{grid-column:2/3;grid-row:1/3;align-self:end}
.add-daily-deals .cart .btn-general{width:43px;height:43px;display:grid;place-items:center;padding:0;border:0;border-radius:13px;background:#090909;color:#fff;font-size:18px;box-shadow:0 7px 14px rgba(0,0,0,.14);transition:background .22s ease,box-shadow .22s ease}
.add-daily-deals .cart .btn-general:hover{background:#242424;box-shadow:0 9px 18px rgba(0,0,0,.18)}
.add-daily-deals .cart .text-cart-add{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.add-nav{position:absolute;top:50%;z-index:12;width:48px;height:48px;display:grid;place-items:center;border:1px solid rgba(0,0,0,.05);border-radius:50%;background:rgba(255,255,255,.94);color:#111;font-size:20px;box-shadow:0 8px 22px rgba(0,0,0,.10);cursor:pointer;transform:translateY(-50%);transition:.22s ease}
.add-prev{left:-28px}.add-next{right:-28px}
.add-nav:hover:not(:disabled){background:#111;color:#fff;transform:translateY(-50%) scale(1.06)}
.add-nav:disabled{opacity:.3;cursor:default}.add-no-overflow .add-nav{display:none}
.add-dots{display:flex;justify-content:center;gap:9px;min-height:10px;margin-top:4px}
.add-dots button{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:rgba(20,20,20,.14);cursor:pointer;transition:.2s ease}
.add-dots button.active{background:#111;transform:scale(1.15)}
.add-no-overflow .add-dots{display:none}
@media(max-width:1199px){.add-deals-track{grid-auto-columns:calc((100% - (var(--add-gap)*3))/4)}}
@media(max-width:991px){.add-daily-deals{padding:32px 34px 24px;--add-gap:15px}.add-deals-track{grid-auto-columns:calc((100% - (var(--add-gap)*2))/3)}.add-prev{left:-22px}.add-next{right:-22px}}
@media(max-width:767px){.add-daily-deals{margin:18px 0 42px;padding:24px 22px 20px;border-radius:25px;--add-gap:12px}.add-daily-deals.has-bg:before{background-image:linear-gradient(180deg,rgba(255,250,247,.86),rgba(255,248,244,.58)),var(--add-bg)}.add-deals-head{margin-bottom:20px}.add-deals-head h2{font-size:32px}.add-deals-head p{font-size:13px}.add-deals-track{grid-auto-columns:calc((100% - var(--add-gap))/2)}.add-daily-deals .product-thumb{border-radius:22px}.add-daily-deals .caption{padding:14px}.add-daily-deals .product-name{font-size:14px}.add-daily-deals .price-new{font-size:20px}.add-prev{left:-17px}.add-next{right:-17px}.add-nav{width:42px;height:42px}}
@media(max-width:479px){.add-daily-deals{margin-left:-5px;margin-right:-5px;padding:19px 17px}.add-deals-track{grid-auto-columns:84%}.add-deals-head h2{font-size:29px}.add-prev{left:-12px}.add-next{right:-12px}.add-nav{width:38px;height:38px}.add-daily-deals .price-actions-box{grid-template-columns:minmax(0,1fr) 40px}.add-daily-deals .cart .btn-general{width:40px;height:40px}}
@media(prefers-reduced-motion:reduce){.add-daily-deals .product-thumb,.add-daily-deals .product-thumb:before,.add-daily-deals .product-thumb .image img,.add-daily-deals .btn-wishlist,.add-daily-deals .add-view-product,.add-daily-deals .cart .btn-general,.add-nav{transition:none}.add-deals-track{scroll-behavior:auto}}

/* v8: compact cards for tablet and mobile */
@media (max-width: 991px) {
  .add-daily-deals { --add-gap: 12px; padding: 26px 28px 20px; }
  .add-deals-track { grid-auto-columns: calc((100% - (var(--add-gap) * 3)) / 4); }
  .add-daily-deals .product-thumb { border-radius: 20px; }
  .add-daily-deals .caption { padding: 12px 12px 11px; }
  .add-daily-deals .product-name { min-height: 36px; margin-bottom: 6px; font-size: 12px; line-height: 1.28; }
  .add-daily-deals .rating { gap: 4px; margin-bottom: 5px; }
  .add-daily-deals .rating-star { width: 13px; height: 13px; }
  .add-daily-deals .rating-star:before,
  .add-daily-deals .rating-star-active:before { font-size: 12px; }
  .add-daily-deals .product-reviews { font-size: 10px; }
  .add-daily-deals .product_model_sstatus { margin-bottom: 7px; }
  .add-daily-deals .stock-status.instock { font-size: 10px; }
  .add-daily-deals .price-old { font-size: 11px; }
  .add-daily-deals .price-new { font-size: 17px; }
  .add-daily-deals .price-tax { font-size: 9px; }
  .add-daily-deals .price-actions-box { grid-template-columns: minmax(0,1fr) 36px; gap: 6px; }
  .add-daily-deals .add-view-product { min-height: 30px; margin-top: 7px; padding: 0 9px; border-radius: 9px; font-size: 9px; }
  .add-daily-deals .cart .btn-general { width: 36px; height: 36px; border-radius: 11px; font-size: 15px; }
  .add-daily-deals .stickers-ns { top: 9px; left: 9px; }
  .add-daily-deals .sticker-ns.special { min-height: 25px; padding: 5px 8px; font-size: 9px; }
  .add-daily-deals .addit-action { top: 8px; right: 8px; }
  .add-daily-deals .btn-wishlist { width: 31px; height: 31px; font-size: 14px; }
}

@media (max-width: 767px) {
  .add-daily-deals { --add-gap: 10px; margin: 16px 0 34px; padding: 20px 16px 16px; }
  .add-deals-track { grid-auto-columns: calc((100% - var(--add-gap)) / 2); }
  .add-daily-deals .caption { padding: 10px; }
  .add-daily-deals .product-name { min-height: 34px; font-size: 11px; }
  .add-daily-deals .price-new { font-size: 16px; }
  .add-daily-deals .add-view-product { min-height: 28px; padding: 0 7px; font-size: 8px; }
  .add-daily-deals .price-actions-box { grid-template-columns: minmax(0,1fr) 34px; }
  .add-daily-deals .cart .btn-general { width: 34px; height: 34px; font-size: 14px; }
  .add-nav { width: 36px; height: 36px; font-size: 16px; }
  .add-prev { left: -10px; }
  .add-next { right: -10px; }
}

@media (max-width: 479px) {
  .add-daily-deals { margin-left: 0; margin-right: 0; padding: 17px 12px 14px; }
  .add-deals-track { grid-auto-columns: calc((100% - 8px) / 2); gap: 8px; }
  .add-daily-deals .product-thumb { border-radius: 17px; }
  .add-daily-deals .caption { padding: 8px; }
  .add-daily-deals .product-name { min-height: 31px; margin-bottom: 4px; font-size: 10px; }
  .add-daily-deals .rating { margin-bottom: 4px; }
  .add-daily-deals .rating-star { width: 11px; height: 11px; }
  .add-daily-deals .rating-star:before,
  .add-daily-deals .rating-star-active:before { font-size: 10px; }
  .add-daily-deals .product-reviews,
  .add-daily-deals .stock-status.instock { font-size: 9px; }
  .add-daily-deals .price-old { font-size: 10px; }
  .add-daily-deals .price-new { font-size: 15px; }
  .add-daily-deals .price-tax { font-size: 8px; }
  .add-daily-deals .price-actions-box { grid-template-columns: minmax(0,1fr) 31px; gap: 4px; }
  .add-daily-deals .add-view-product { min-height: 25px; margin-top: 5px; padding: 0 6px; font-size: 7.5px; }
  .add-daily-deals .cart .btn-general { width: 31px; height: 31px; border-radius: 9px; font-size: 13px; }
  .add-daily-deals .sticker-ns.special { min-height: 22px; padding: 4px 6px; font-size: 8px; }
  .add-daily-deals .btn-wishlist { width: 27px; height: 27px; font-size: 12px; }
}

/* v9: automatic premium shine after five seconds of inactivity */
@keyframes addDailyDealAutoShine {
  0% { transform: translateX(-145%); }
  100% { transform: translateX(145%); }
}
.add-daily-deals .product-thumb.is-auto-shining:before {
  animation: addDailyDealAutoShine .9s cubic-bezier(.22,.61,.36,1) both;
}
@media (prefers-reduced-motion: reduce) {
  .add-daily-deals .product-thumb.is-auto-shining:before { animation: none; }
}


/* v12: only the Daily Deals module refreshes at midnight. */
.add-daily-deals.add-is-refreshing {
  pointer-events: none;
}
.add-daily-deals.add-is-refreshing::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 50;
  border-radius: inherit;
  background: rgba(255,255,255,.38);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
