/* ROXPRO — ריחן במחיר מיוחד לפני התשלום (inc/rox-offer.php, assets/js/offer.js; סשן 70, 14.11.26).
   העיצוב שהראל אישר: products-xfer/s70-scent/board2.png (sketch2.js). ראש כהה עם הנוסח, שם הריח גדול, שורה לכל ריחן,
   "לא תודה" ככפתור מלא; במחשב חלון באמצע, והסל מאחוריו דהוי. בלי תנועה משלו. */

#ofSheet{overflow:hidden}
#ofSheet .grab{position:absolute;top:0;left:0;right:0;z-index:2}
#ofSheet .grab::before{background:#4a4743}
#ofSheet .sheet-x{background:rgba(255,255,255,.14);color:#fff;box-shadow:none}
#ofSheet .of-h{flex:none;position:relative;padding:26px var(--gut) 18px;padding-inline-end:68px;color:#fff;
  background:radial-gradient(130% 120% at 85% -10%,#3a3836 0%,#1b1a19 42%,#111 100%)}
#ofSheet .of-h::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(118deg,transparent 0 58%,rgba(255,255,255,.07) 58% 63%,transparent 63%)}
#ofSheet .of-k{display:flex;align-items:center;gap:6px;margin:0;font-size:13.5px;font-weight:600;color:#d9d4cc}
#ofSheet .of-k i{font-size:17px;color:#fff}
#ofSheet h2{margin:6px 0 4px;font-size:clamp(22px,6.9vw,27px);font-weight:700;line-height:1.12;letter-spacing:-.02em;color:#fff}
#ofSheet .of-sub{margin:0;font-size:14.5px;color:#c9c4bc}
#ofSheet .of-sub b{color:#fff;font-weight:700}
/* the offer's one condition, where the offer is made (shipping policy, section 3): readable, a step under the line above it */
#ofSheet .of-note{margin:3px 0 0;font-size:13px;line-height:1.45;color:#c9c4bc}

#ofSheet .of-list{list-style:none;margin:0;padding:4px var(--gut) 6px}
#ofSheet .of-r{display:grid;grid-template-columns:76px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
#ofSheet .of-r:last-child{border-bottom:0}
#ofSheet .of-img{width:76px;height:76px;border-radius:18px;background:var(--tile-bg);display:grid;place-items:center;padding:4px}
#ofSheet .of-img img{max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 6px 6px rgba(40,30,20,.18))}
#ofSheet .of-txt{display:flex;flex-direction:column;min-width:0}
#ofSheet .of-s{font-size:19px;font-weight:700;line-height:1.15;color:var(--ink)}
#ofSheet .of-t{margin-top:3px;font-size:13px;color:var(--ink-2)}
#ofSheet .of-p{display:flex;align-items:baseline;gap:6px;margin-top:5px}
#ofSheet .of-p b{font-size:19px;font-weight:700;line-height:1;color:var(--red)}
#ofSheet .of-p .cur{font-size:13px;font-weight:700;color:var(--red);margin-inline-start:-3px}
#ofSheet .of-p s{font-size:13px;color:var(--ink-2)}
#ofSheet .of-add{height:44px;min-width:96px;padding-inline:14px;border-radius:22px;background:var(--ink);color:#fff;font-size:15px;font-weight:700;
  display:inline-flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap;transition:background-color .2s}
#ofSheet .of-add i{font-size:17px}
#ofSheet .of-r.on .of-add{background:var(--ok)}
#ofSheet .of-add:focus-visible{outline:3px solid var(--red);outline-offset:2px}

#ofSheet .sheet-foot{padding-top:12px}
#ofSheet .of-go{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:54px;margin:0;border-radius:27px;font-size:16px;font-weight:700;text-decoration:none}
#ofSheet .of-go.skip{background:#fff;color:var(--ink);border:1.5px solid var(--ink)}
#ofSheet .of-go.buy{justify-content:space-between;padding-inline:22px}
#ofSheet .of-gl{display:flex;flex-direction:column;min-width:0}
#ofSheet .of-go.buy small{display:block;font-size:12.5px;font-weight:500;opacity:.92;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#ofSheet .of-go[aria-busy="true"]{opacity:.7}

/* the cart: the scent's line is one only, so its "+" rests (rox.js renderCart marks it disabled) */
#csLines .mini button:disabled{opacity:.3;cursor:default}

/* a small phone (320): a round "+" so the scent's name never breaks */
@media (max-width:359px){
  #ofSheet .of-r{grid-template-columns:64px minmax(0,1fr) auto;gap:10px}
  #ofSheet .of-img{width:64px;height:64px;border-radius:16px}
  #ofSheet .of-add{min-width:48px;width:48px;height:48px;padding:0;border-radius:50%}
  #ofSheet .of-add .lbl{display:none}
  #ofSheet .of-add i{font-size:20px}
}

/* a tablet (600–1023): the window is as wide as the screen, so the button comes close to the name, in one even column */
@media (min-width:600px) and (max-width:1023px){
  #ofSheet .of-r{grid-template-columns:76px 240px auto;justify-content:start;gap:20px}
}

/* computer: a window in the middle (like the product window), the cart drawer faded behind it */
@media (min-width:1024px){
  #ofSheet{width:min(460px, calc(100% - 48px))}
  #ofSheet .grab{height:22px}
  #ofSheet .of-h{padding:26px 28px 22px 72px}
  #ofSheet .of-list{padding-inline:28px}
  #ofSheet .sheet-foot{padding-inline:28px}
  html.of-open #cSheet{opacity:0;transition:opacity .2s}
}
