/* Occasions: red tag, countdown pill, header bar */
.sam-occ-tag{position:absolute;top:10px;right:10px;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-width:52px;max-width:calc(100% - 20px);padding:6px 9px;border-radius:10px;background:#e11d1d;color:#fff;font-weight:800;line-height:1.25;text-align:center;box-shadow:0 6px 16px rgba(225,29,29,.3);direction:rtl;pointer-events:none}
.sam-occ-tag b{font-size:15px;font-weight:900;white-space:nowrap}
.sam-occ-tag b small{font-size:10px;font-weight:700}
.sam-occ-tag i{font-style:normal;font-size:10px;font-weight:700;opacity:.95;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.rb-product-gallery .sam-occ-tag{top:14px;right:14px;padding:9px 14px;border-radius:12px}
.rb-product-gallery .sam-occ-tag b{font-size:20px}
.rb-product-gallery .sam-occ-tag i{font-size:12px}
@media(max-width:640px){.sam-occ-tag{top:7px;right:7px;min-width:42px;padding:4px 6px}.sam-occ-tag b{font-size:12px}.sam-occ-tag i{font-size:9px}}

.sam-occ-cd{display:flex;align-items:center;gap:12px;flex-wrap:wrap;direction:rtl}
.sam-occ-cd__label{display:inline-flex;align-items:center;gap:7px;font-weight:800;color:#a3123a;font-size:13px}
.sam-occ-cd__cells{display:inline-flex;gap:7px}
.sam-occ-cd__cell{display:grid;justify-items:center;gap:1px;min-width:50px;padding:6px 8px;border-radius:12px;background:#fff;border:1px solid #f3d2dc;box-shadow:0 2px 6px rgba(163,18,58,.07)}
.sam-occ-cd__cell b{font-size:18px;font-weight:900;color:#a3123a;line-height:1.2;font-variant-numeric:tabular-nums}
.sam-occ-cd__cell small{font-size:10px;color:#7d6470}
.sam-occ-cd__cell:first-child{border-bottom:2px solid #e11d48}
.sam-occ-cd--box{margin:14px 0;padding:10px 14px;border:1px solid #f3d2dc;border-radius:18px;background:linear-gradient(135deg,#fff7f9,#fdeaf0)}

.sam-occ-bar{background:linear-gradient(90deg,#b5123d,#e11d48);color:#fff}
.sam-occ-bar__in{display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap;max-width:1400px;margin:0 auto;padding:6px 16px}
.sam-occ-bar__txt{display:inline-flex;align-items:center;gap:8px;font-size:14px}
.sam-occ-bar__txt b{font-weight:900}
.sam-occ-bar__txt em{font-style:normal;opacity:.95;font-size:13px}
.sam-occ-bar .sam-occ-cd{gap:10px}
.sam-occ-bar .sam-occ-cd__label{color:#fff;font-size:12px}
.sam-occ-bar .sam-occ-cd__cells{gap:5px}
.sam-occ-bar .sam-occ-cd__cell{min-width:38px;padding:2px 6px;border-radius:8px;background:rgba(255,255,255,.18);border:0;box-shadow:none;flex-direction:row;display:flex;align-items:baseline;gap:3px}
.sam-occ-bar .sam-occ-cd__cell b{color:#fff;font-size:14px}
.sam-occ-bar .sam-occ-cd__cell small{color:rgba(255,255,255,.85);font-size:9px}
.sam-occ-bar .sam-occ-cd__cell:first-child{border-bottom:0}
@media(max-width:640px){.sam-occ-bar__in{gap:6px;padding:5px 10px}.sam-occ-bar__txt em{display:none}.sam-occ-bar .sam-occ-cd__label span{display:none}}

/* product-page countdown: use the full width */
.sam-occ-cd--box{display:grid;gap:10px;width:100%;box-sizing:border-box}
.sam-occ-cd--box .sam-occ-cd__cells{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;width:100%}
.sam-occ-cd--box .sam-occ-cd__cell{min-width:0;padding:9px 6px}
.sam-occ-cd--box .sam-occ-cd__cell b{font-size:22px}
.sam-occ-cd--box .sam-occ-cd__cell small{font-size:11px}

/* compact tag inside the home sliders */
.rbps-card__media .sam-occ-tag{top:8px;right:8px;min-width:0;padding:3px 7px;border-radius:8px;gap:0;box-shadow:0 4px 10px rgba(225,29,29,.25)}
.rbps-card__media .sam-occ-tag b{font-size:12px;line-height:1.3}
.rbps-card__media .sam-occ-tag b small{font-size:8px}
.rbps-card__media .sam-occ-tag i{font-size:9px;line-height:1.3}
@media(max-width:640px){.rbps-card__media .sam-occ-tag{top:6px;right:6px;padding:2px 5px}.rbps-card__media .sam-occ-tag b{font-size:10px}.rbps-card__media .sam-occ-tag i{font-size:8px}}

/* struck-through original price on range prices: the theme's range wrapper is a grid/flex box, which does not inherit the <del> line, so strike its parts once */
.rbps-card__price del .rb-price-range,.rb-archive-card__price del .rb-price-range,.rb-product-price del .rb-price-range{display:inline-flex;gap:3px;white-space:nowrap}
.rbps-card__price del .rb-price-range>*,.rb-archive-card__price del .rb-price-range>*,.rb-product-price del .rb-price-range>*{text-decoration:line-through}
