/**
 * November sale (WF_Sub_Addon_Sale) — the popup frame, the banners and the
 * strips. The add-on cards, tabs and modal shell are the product page's own
 * (product.css); nothing here restyles them.
 *
 * ROUND-CONTROL GUARD: every circle below is flex:none + border-box + equal
 * width/height with min/max guards, and pins one horizontal inset only.
 */

html.wf-sas-open, html.wf-sas-open body { overflow: hidden; }

/* ---- popup ------------------------------------------------------------ */
.wf-sas { direction: rtl; font-family: inherit; }
/* The product page gets this from `.wf-pdp [hidden]`; the popup lives outside
   .wf-pdp, and without it the card's own display:flex beats [hidden] — the ＋
   stayed beside the stepper. */
.wf-sas [hidden] { display: none !important; }
/* Above the side cart, which opens on the same add and sits at the maximum
   z-index. Equal value + later in the document = on top. */
.wf-sas .wf-sas__modal { z-index: 2147483647; }
.wf-sas .wf-sas__card { position: relative; }

.wf-sas__head {
  flex: none; position: relative; display: flex; flex-direction: column; gap: 2px;
  padding: 16px 18px 14px; padding-left: 56px;
  background: var(--wf-brand-primary, #5c3d7a); color: #fff;
}
.wf-sas__kicker { font-size: 12px; font-weight: 700; color: #e8dff0; letter-spacing: .3px; }
.wf-sas__title  { font-size: 21px; font-weight: 800; line-height: 1.2; }
.wf-sas__sub    { font-size: 13.5px; line-height: 1.4; color: #f3f0ff; }
.wf-sas__x {
  position: absolute; top: 12px; left: 12px; right: auto;
  flex: none; box-sizing: border-box;
  width: 32px; min-width: 32px; max-width: 32px; height: 32px; min-height: 32px; max-height: 32px;
  padding: 0; margin: 0; border: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .18); color: #fff; font: inherit; font-size: 15px; line-height: 1; cursor: pointer;
}
.wf-sas__x:hover, .wf-sas__x:focus { background: rgba(255, 255, 255, .3); color: #fff; }

.wf-sas__added {
  flex: none; padding: 8px 18px; font-size: 13px; font-weight: 700;
  background: var(--wf-brand-success-bg, #e9f7ef); color: var(--wf-brand-success, #1a8a4a);
}
.wf-sas__added[hidden] { display: none; }

.wf-sas__meter { flex: none; padding: 10px 18px 10px; border-bottom: 1px solid var(--wf-brand-line, #e1e1e1); }
.wf-sas__meter-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  font-size: 14px; font-weight: 700; color: var(--wf-brand-primary, #5c3d7a);
}
.wf-sas__save { font-size: 13px; font-weight: 700; color: var(--wf-brand-success, #1a8a4a); white-space: nowrap; }
.wf-sas__dots { display: flex; gap: 6px; margin-top: 8px; }
.wf-sas__dots i { flex: 1; height: 7px; border-radius: 9px; background: #e8dff0; transition: background .2s; }
.wf-sas__dots i.is-on { background: var(--wf-brand-primary-mid, #7b5ea7); }
.wf-sas.is-full .wf-sas__meter-row > span:first-child { color: var(--wf-brand-text, #303030); }

.wf-sas__terms { margin: 14px 0 2px; font-size: 12px; line-height: 1.5; color: var(--wf-brand-muted, #707070); }

.wf-sas__foot {
  flex: none; display: flex; gap: 8px; align-items: center;
  padding: 10px 18px 14px; border-top: 1px solid var(--wf-brand-line, #e1e1e1); background: #fff;
}
.wf-sas__no, .wf-sas__go {
  margin: 0; height: 46px; border-radius: 7px; font: inherit; font-weight: 800; font-size: 15px;
  line-height: 1; text-transform: none; cursor: pointer; -webkit-appearance: none; appearance: none;
}
.wf-sas__no { flex: none; padding: 0 16px; border: 0; background: none; color: var(--wf-brand-primary, #5c3d7a); font-size: 14px; }
.wf-sas__no:hover, .wf-sas__no:focus { background: var(--wf-brand-tint, #f3f0ff); color: var(--wf-brand-primary, #5c3d7a); }
.wf-sas__go { flex: 1; padding: 0 24px; border: 0; background: var(--wf-brand-primary, #5c3d7a); color: #fff; }
.wf-sas__go:hover, .wf-sas__go:focus { background: var(--wf-brand-primary-dark, #3d2a55); color: #fff; }

.wf-sas [data-wf-addon].is-busy { opacity: .6; pointer-events: none; }

/* Tab text centred inside its pill (Aviram). */
.wf-sas .wf-pdp__addon-tab { display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 4px; line-height: 1.2; }

/* ---- inline strip (subscription page) ------------------------------- */
.wf-sas-strip {
  display: flex; align-items: center; gap: 12px; margin: 0 0 14px;
  padding: 12px 14px; border-radius: 10px;
  background: var(--wf-brand-tint, #f3f0ff); border: 1px solid #d4c4e3;
  font-size: 14px; line-height: 1.45; color: var(--wf-brand-text, #303030);
}
.wf-sas-strip__ic, .wf-sas-cart .wf-sas-strip__ic {
  flex: none; box-sizing: border-box;
  width: 36px; min-width: 36px; max-width: 36px; height: 36px; min-height: 36px; max-height: 36px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--wf-brand-primary, #5c3d7a); color: #fff; font-size: 12px; font-weight: 800; line-height: 1;
}
.wf-sas-strip__txt { flex: 1; min-width: 0; }
.wf-sas-strip__txt b { color: var(--wf-brand-primary, #5c3d7a); }
.wf-sas-strip__cta { margin-right: auto; color: var(--wf-brand-primary, #5c3d7a); font-weight: 800; white-space: nowrap; text-decoration: none; }

/* ---- side cart reminder --------------------------------------------- */
.wf-sas-cart {
  direction: rtl; display: flex; align-items: center; gap: 10px; margin: 10px 16px;
  padding: 10px 12px; border-radius: 10px; background: var(--wf-brand-tint, #f3f0ff); border: 1px solid #d4c4e3;
  font-size: 13.5px; line-height: 1.4; color: var(--wf-brand-text, #303030);
}
.wf-sas-cart__txt { flex: 1; min-width: 0; }
.wf-sas-cart__btn {
  flex: none; margin: 0; height: 34px; padding: 0 14px; border: 0; border-radius: 7px;
  background: var(--wf-brand-primary, #5c3d7a); color: #fff; font: inherit; font-size: 13px; font-weight: 800;
  line-height: 1; text-transform: none; cursor: pointer; -webkit-appearance: none; appearance: none;
}
.wf-sas-cart__btn:hover, .wf-sas-cart__btn:focus { background: var(--wf-brand-primary-dark, #3d2a55); color: #fff; }
.wf-sas-cart.is-full { background: var(--wf-brand-success-bg, #e9f7ef); border-color: #bfe3cd; }
.wf-sas-cart.is-full .wf-sas-strip__ic { background: var(--wf-brand-success, #1a8a4a); }

/* ---- home / subscriptions banner ------------------------------------ */
.wf-sas-hero { direction: rtl; padding: 0 var(--wfc-gutter, 16px); margin: 24px 0; }
.wf-sas-hero__in {
  max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr;
  border-radius: 16px; overflow: hidden; background: var(--wf-brand-tint, #f3f0ff); min-height: 280px;
}
.wf-sas-hero__txt { padding: 30px 34px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.wf-sas-hero__k { font-size: 13px; font-weight: 800; color: var(--wf-brand-error, #d32f2f); letter-spacing: .4px; }
.wf-sas-hero__h { margin: 0; font-size: 32px; line-height: 1.15; font-weight: 800; color: var(--wf-brand-primary, #5c3d7a); }
.wf-sas-hero__p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--wf-brand-text, #303030); }
.wf-sas-hero__cta {
  align-self: flex-start; margin-top: 6px; display: inline-flex; align-items: center; height: 48px; padding: 0 28px;
  border-radius: 7px; background: var(--wf-brand-primary, #5c3d7a); color: #fff; font-weight: 800; font-size: 16px; text-decoration: none;
}
.wf-sas-hero__cta:hover, .wf-sas-hero__cta:focus { background: var(--wf-brand-primary-dark, #3d2a55); color: #fff; }
.wf-sas-hero__t { font-size: 12.5px; color: var(--wf-brand-muted, #707070); }
.wf-sas-hero__pics { position: relative; min-height: 240px; background: #e8dff0; }
.wf-sas-hero__main { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.wf-sas-hero__bub {
  position: absolute; flex: none; box-sizing: border-box;
  width: 96px; min-width: 96px; max-width: 96px; height: 96px; min-height: 96px; max-height: 96px;
  border-radius: 50%; border: 4px solid #fff; object-fit: cover; background: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}
.wf-sas-hero__bub--a { top: 18px; left: 18px; right: auto; }
.wf-sas-hero__bub--b { bottom: 22px; left: 34px; right: auto; }
.wf-sas-hero__bub--c { bottom: 30px; right: 22px; left: auto; }
@media (max-width: 760px) {
  .wf-sas-hero__in { grid-template-columns: 1fr; }
  .wf-sas-hero__txt { padding: 22px 20px; order: 2; }
  .wf-sas-hero__pics { order: 1; min-height: 210px; }
  .wf-sas-hero__h { font-size: 25px; }
  .wf-sas-hero__p { font-size: 15px; }
  .wf-sas-hero__bub { width: 74px; min-width: 74px; max-width: 74px; height: 74px; min-height: 74px; max-height: 74px; }
}

/* ---- tile inside a category grid ------------------------------------ */
.wf-sas-tile {
  direction: rtl; box-sizing: border-box; min-height: 100%; border-radius: 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 20px 16px; text-align: center; text-decoration: none;
  background: var(--wf-brand-primary, #5c3d7a); color: #fff;
}
.wf-sas-tile:hover, .wf-sas-tile:focus { color: #fff; background: var(--wf-brand-primary-dark, #3d2a55); }
.wf-sas-tile__big { font-size: 40px; font-weight: 800; line-height: 1; }
.wf-sas-tile__h   { font-size: 18px; font-weight: 800; line-height: 1.25; }
.wf-sas-tile__s   { font-size: 13px; line-height: 1.45; color: #e8dff0; }
.wf-sas-tile__c   { margin-top: 4px; display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border-radius: 7px; background: #fff; color: var(--wf-brand-primary, #5c3d7a); font-weight: 800; font-size: 14px; }

/* ---- the tile as a carousel slide: as tall as the cards beside it ---- */
.wf-pc__slide--sas { display: flex; height: auto; }
.wf-pc__slide--sas .wf-sas-tile { flex: 1; min-height: 0; }

/* ---- archive strip: "30%" in the existing icon square ---------------- */
.wf-sas-arch .wf-sas-arch__ic { font-size: 14px; font-weight: 800; line-height: 1; }

/* ---- card badge ------------------------------------------------------ */
.wf-card .wf-card__badge.wf-card__badge--sas { background: var(--wf-brand-primary, #5c3d7a); color: #fff; opacity: 1; }

/* ---- collage banner on top-level category pages --------------------- */
/* Same sizing as the home hero: 400px tall and cropped from the centre on a
   desktop (the offer sits in the middle), the 2:1 picture full width on a phone. */
.wf-sas-catbanner { display: block; width: 100%; margin: 0 0 18px; line-height: 0; }
.wf-sas-catbanner picture, .wf-sas-catbanner img { display: block; width: 100%; }
.wf-sas-catbanner img { height: auto; }
@media (min-width: 768px) {
  .wf-sas-catbanner img { height: 400px; object-fit: cover; object-position: center; }
}

/* ---- strip under the price on an add-on's own page ------------------ */
.wf-sas-strip--addon { margin: 12px 0 4px; }
