/* A compact Halloween coupon card inside the native product purchase form. */
body.single-product .rs-halloween {
  --hw-orange:#ffad61; --hw-ink:#201522; --hw-muted:#c8bbc9;
  position:relative; isolation:isolate; overflow:hidden; box-sizing:border-box;
  flex:0 0 100%; grid-column:1/-1; width:100%; min-width:0;
  margin:0 0 16px; padding:20px 22px 17px; border:1px solid #4d3544; border-radius:14px;
  background:radial-gradient(ellipse at 100% 0, #503029 0, transparent 52%),#211825;
  color:#fff4e8; text-align:left; line-height:1.5; box-shadow:0 6px 16px rgb(32 21 34 / 10%);
}
body.single-product .rs-halloween *,body.single-product .rs-halloween *::before,body.single-product .rs-halloween *::after { box-sizing:border-box; }
body.single-product .rs-halloween[hidden] { display:none!important; }
body.single-product .rs-halloween::before { content:""; position:absolute; left:0; top:0; bottom:0; width:3px; background:#ff9c4b; }
body.single-product .rs-halloween__heading { display:flex; align-items:center; justify-content:space-between; gap:10px; }
body.single-product .rs-halloween__eyebrow { display:block; color:var(--hw-orange); font-size:9px; line-height:1.5; font-weight:700; letter-spacing:1.5px; margin-bottom:4px; }
body.single-product .rs-halloween h2 { margin:0!important; padding:0!important; color:#fff4e8!important; font-size:23px!important; font-weight:750!important; letter-spacing:-.6px!important; line-height:1.2!important; text-transform:none!important; }
body.single-product .rs-halloween__pumpkin { display:block; width:48px; height:48px; flex:0 0 48px; transform:rotate(7deg); }
body.single-product .rs-halloween__offer { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:14px; margin:15px 0 17px; }
body.single-product .rs-halloween__discount > strong { display:block; color:var(--hw-orange); font-size:51px; line-height:1; font-weight:800; letter-spacing:-2px; }
body.single-product .rs-halloween__discount > strong > span { font-size:30px; letter-spacing:-1px; }
body.single-product .rs-halloween__discount > span { display:block; font-size:11px; color:#eddbd9; margin-top:5px; }
body.single-product .rs-halloween__price-block { border-left:1px solid #5b414d; padding-left:18px; min-width:0; }
body.single-product .rs-halloween__label { display:block; color:var(--hw-muted); font-size:10px; font-weight:500; margin:0 0 3px; line-height:1.5; }
body.single-product .rs-halloween__price { display:block; color:#fff4e8; font-size:29px; font-weight:750; line-height:1.2; letter-spacing:-.8px; white-space:nowrap; }
body.single-product .rs-halloween__price .amount,body.single-product .rs-halloween__price .woocommerce-Price-currencySymbol { color:inherit!important; font-size:inherit!important; font-weight:inherit!important; }
body.single-product .rs-halloween__price small { font-size:12px; letter-spacing:0; }
body.single-product .rs-halloween__original { display:block; color:var(--hw-muted); font-size:10px; margin-top:3px; }
body.single-product .rs-halloween__original .amount { color:inherit!important; font-size:inherit!important; font-weight:inherit!important; }
body.single-product .rs-halloween__coupon { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 13px; border:1px dashed #a87552; border-radius:8px; background:rgb(255 173 97 / 5%); }
body.single-product .rs-halloween__coupon code { display:block; border:0; margin:0; padding:0; background:none; color:#fff4e8; font-family:inherit; font-size:17px; line-height:1.2; letter-spacing:1px; font-weight:800; user-select:all; white-space:nowrap; }
body.single-product .rs-halloween button.rs-halloween__copy { display:inline-flex!important; align-items:center; justify-content:center; gap:6px; flex:0 0 auto; min-width:105px; min-height:44px; height:auto; margin:0!important; padding:10px 12px!important; border:1px solid var(--hw-orange)!important; border-radius:6px!important; background:var(--hw-orange)!important; color:#291b23!important; box-shadow:none!important; font-family:inherit; font-size:12px!important; font-weight:750!important; line-height:1.3!important; text-transform:none!important; letter-spacing:0!important; cursor:pointer; transition:background .15s; }
body.single-product .rs-halloween button.rs-halloween__copy:hover { background:#ffc18a!important; }
body.single-product .rs-halloween button.rs-halloween__copy:focus-visible { outline:3px solid #fff4e8; outline-offset:3px; }
body.single-product .rs-halloween__copy svg { width:16px; height:16px; flex:0 0 16px; }
body.single-product .rs-halloween__status { margin:0!important; font-size:11px; line-height:1.5; color:#ffe0b8; }
body.single-product .rs-halloween__status:not(:empty) { margin-top:8px!important; }
body.single-product .rs-halloween__deadline { display:flex; align-items:center; gap:6px; margin:12px 0 3px!important; font-size:10px; line-height:1.6; color:var(--hw-muted); }
body.single-product .rs-halloween__deadline strong { color:#ffe0b8; font-weight:700; }
body.single-product .rs-halloween__deadline svg { width:14px; height:14px; flex:0 0 14px; color:var(--hw-orange); }
body.single-product .rs-halloween__terms { margin:0!important; color:var(--hw-muted); font-size:10px; line-height:1.5; }
/* One product-page coupon message throughout the campaign. */
body.rs-halloween-active .rsd-coupon,body.rs-halloween-active .rsd-promo-original,
body.rs-halloween-active #rs-product-promotion,body.rs-halloween-active .rsm-promotion { display:none!important; }
@media(max-width:767px) {
  body.single-product .rs-halloween {
    max-width:100%; padding:16px; margin-bottom:14px; border-radius:12px;
    scroll-margin-top:140px; -webkit-text-size-adjust:100%; text-size-adjust:100%;
  }
  body.single-product .rs-halloween__heading > div,
  body.single-product .rs-halloween__offer > div,
  body.single-product .rs-halloween__coupon > div { min-width:0; }
  body.single-product .rs-halloween h2 { font-size:21px!important; overflow-wrap:normal; }
  body.single-product .rs-halloween__pumpkin { width:36px; height:36px; flex-basis:36px; }
  body.single-product .rs-halloween__offer { grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:12px; margin:14px 0; }
  body.single-product .rs-halloween__discount > strong { font-size:44px; }
  body.single-product .rs-halloween__price-block { padding-left:12px; }
  body.single-product .rs-halloween__price { font-size:25px; }
  body.single-product .rs-halloween__original .amount { white-space:nowrap; }
  body.single-product .rs-halloween__coupon {
    display:flex; flex-wrap:wrap; align-items:center; padding:10px; gap:10px; max-width:100%;
  }
  body.single-product .rs-halloween__coupon > div { flex:1 1 136px; }
  body.single-product .rs-halloween__coupon code { font-size:16px; letter-spacing:.6px; }
  body.single-product .rs-halloween button.rs-halloween__copy {
    flex:1 0 104px; width:auto; min-width:104px; max-width:100%; padding:10px!important;
  }
  body.single-product .rs-halloween__deadline { align-items:flex-start; line-height:1.6; }
  body.single-product .rs-halloween__deadline svg { margin-top:1px; }
  body.single-product .rs-halloween__terms { overflow-wrap:break-word; }
}
@media(max-width:380px) {
  body.single-product .rs-halloween { padding:14px; }
  body.single-product .rs-halloween h2 { font-size:20px!important; }
  body.single-product .rs-halloween__eyebrow { font-size:8px; letter-spacing:1px; }
  body.single-product .rs-halloween__offer { grid-template-columns:minmax(0,1fr); gap:12px; }
  body.single-product .rs-halloween__discount { display:flex; align-items:center; gap:12px; }
  body.single-product .rs-halloween__discount > strong { flex:0 0 auto; font-size:42px; }
  body.single-product .rs-halloween__discount > span { margin:0; font-size:11px; }
  body.single-product .rs-halloween__price-block { border-left:0; border-top:1px solid #5b414d; padding:11px 0 0; }
  body.single-product .rs-halloween__price { font-size:29px; }
  body.single-product .rs-halloween__coupon { padding:10px; }
  body.single-product .rs-halloween__coupon > div { flex-basis:100%; }
  body.single-product .rs-halloween button.rs-halloween__copy { flex-basis:100%; width:100%; }
}
@media(prefers-reduced-motion:reduce) { body.single-product .rs-halloween button.rs-halloween__copy { transition:none; } }
