/* sbg-deals-css */
/* Deal price on cards. Zero-specificity defaults: while the seasonal sale skin
   is live its .sb-cardsale rules win, so a deal card wears exactly the same
   emblem as every other sale card. Without the skin these keep it on-brand. */
:where(.sbg-dealprice){display:inline-flex;align-items:baseline;flex-wrap:wrap;gap:4px 7px}
:where(.sbg-dealprice) :where(.sb-cardsale-was){opacity:.5;text-decoration:line-through;font-weight:500}
:where(.sbg-dealprice) :where(.sb-cardsale-now){font-weight:800;color:var(--sbg-acc-t)}
:where(.sbg-dealprice) :where(.sb-cardsale-code){font:700 9.5px/1.5 var(--body);letter-spacing:.08em;color:var(--sbg-acc-t);border:1px solid rgba(92,192,255,.45);border-radius:5px;padding:1px 5px;white-space:nowrap}
.sbg-dealprice .woocommerce-Price-amount{color:inherit}
/* The card ribbon states the deal's own percentage, not the sitewide one. */
.card:has(.sbg-dealprice) .thumb::before{content:"50% OFF"}
.card:has(.sbg-dealprice) .thumb{position:relative;overflow:hidden}
.card:has(.sbg-dealprice) .thumb::before{position:absolute;top:13px;right:-34px;z-index:2;width:126px;text-align:center;transform:rotate(45deg);font:800 10px var(--display);letter-spacing:.1em;color:#04121C;background:#5CC0FF;padding:4px 0;pointer-events:none}
@media(max-width:560px){.card:has(.sbg-dealprice) .thumb::before{top:10px;right:-38px;width:118px;font-size:9px}}
/* Product page: a deal reads exactly like a code offer. The list price sits in the price row, struck through because the cart does not charge it, and the same offer card used for codes states the deal price. */
.single-product .pd-info .pd-price .sbg-dealprice :is(.sb-cardsale-now,.sb-cardsale-code){display:none!important}
.single-product .pd-info .pd-price .sbg-dealprice{display:inline-flex;align-items:baseline;gap:0}
.single-product .pd-info .pd-price .sbg-dealprice .sb-cardsale-was{opacity:.5;text-decoration:line-through;text-decoration-thickness:2px;font:inherit;font-weight:inherit;color:inherit}
body.sbg-is-deal .sb-promo-price:not(.sbg-deal-note){display:none!important}
.sbg-deal-note .sb-promo-price-tag .sbg-clock{font-size:inherit}
.sbg-pdp-deal .sbg-clock i{margin:0 6px 0 1px}
.sbg-clock{display:inline-flex;align-items:baseline;gap:2px;font:700 22px/1 var(--display);color:var(--sbg-ink)}
.sbg-clock i{font:500 12px var(--body);color:var(--sbg-mut);margin:0 8px 0 2px}
.sbg-clock i:last-child{margin-right:0}
.sbg-deals-grid{display:grid;grid-template-columns:repeat(var(--n,6),minmax(0,1fr));gap:14px}
@media (max-width:1000px){.sbg-deals-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:600px){.sbg-deals-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
.sbg-deal{display:flex;flex-direction:column;background:var(--sbg-s1);border:1px solid var(--sbg-line);border-radius:16px;overflow:hidden}
.sbg-deal-img{display:block;aspect-ratio:1/1;background:var(--sbg-s2)}
.sbg-deal-img img{width:100%;height:100%;object-fit:cover;display:block}
.sbg-deal-body{display:flex;flex-direction:column;gap:6px;padding:12px 14px 14px;flex:1}
.sbg-deal h3{font:700 15px/1.25 var(--display);margin:0}
.sbg-deal h3 a{color:var(--sbg-ink);text-decoration:none}
.sbg-deal-price{margin:0;display:flex;gap:8px;align-items:baseline}
.sbg-deal-price del{color:var(--sbg-mut);font-size:13px}
.sbg-deal-price ins{text-decoration:none;font:700 17px/1 var(--display);color:var(--sbg-acc-t)}
.sbg-deal-price .woocommerce-Price-amount{color:inherit}
.sbg-deal-add{margin-top:auto;min-height:38px;font-size:14px}
