/* Vintage Slots World — offline cart + checkout (injected by WixScraper) */
:root{
  --vsw-dark:#111;
  --vsw-line:#e6e6e6;
  --vsw-muted:#777;
  --vsw-accent:#111;
}
#vsw-badge{
  position:absolute; top:-6px; right:-10px; min-width:18px; height:18px;
  padding:0 5px; border-radius:10px; background:var(--vsw-accent); color:#fff;
  font:600 11px/18px Arial,Helvetica,sans-serif; text-align:center;
  box-shadow:0 1px 3px rgba(0,0,0,.35); pointer-events:none; transform:scale(0);
  transition:transform .18s cubic-bezier(.2,1.4,.4,1); z-index:5;
}
#vsw-badge.show{ transform:scale(1); }

/* overlay shared by drawer + modal */
.vsw-overlay{
  position:fixed; inset:0; background:rgba(0,0,0,.45); opacity:0; visibility:hidden;
  transition:opacity .25s ease, visibility .25s; z-index:2147483000;
}
.vsw-overlay.open{ opacity:1; visibility:visible; }

/* drawer */
#vsw-drawer{
  position:fixed; top:0; right:0; height:100%; width:390px; max-width:92vw;
  background:#fff; box-shadow:-8px 0 32px rgba(0,0,0,.18); transform:translateX(100%);
  transition:transform .28s cubic-bezier(.4,0,.2,1); z-index:2147483001;
  display:flex; flex-direction:column; font-family:Arial,Helvetica,sans-serif; color:var(--vsw-dark);
}
#vsw-drawer.open{ transform:translateX(0); }
.vsw-head{
  display:flex; align-items:center; justify-content:space-between;
  padding:20px 22px; border-bottom:1px solid var(--vsw-line);
}
.vsw-head h2{ margin:0; font-size:17px; letter-spacing:.16em; text-transform:uppercase; font-weight:700; }
.vsw-x{ background:none; border:0; font-size:24px; line-height:1; cursor:pointer; color:var(--vsw-dark); padding:4px; }
.vsw-items{ flex:1; overflow-y:auto; padding:8px 22px; }
.vsw-empty{ text-align:center; color:var(--vsw-muted); padding:60px 10px; font-size:15px; }
.vsw-item{ display:flex; gap:14px; padding:18px 0; border-bottom:1px solid var(--vsw-line); }
.vsw-item img{ width:64px; height:64px; object-fit:cover; background:#f3f3f3; border:1px solid var(--vsw-line); flex:0 0 auto; }
.vsw-item .vsw-info{ flex:1; min-width:0; }
.vsw-item .vsw-name{ font-size:13px; font-weight:600; line-height:1.35; margin:0 0 6px; }
.vsw-item .vsw-price{ font-size:13px; color:var(--vsw-muted); }
.vsw-qty{ display:inline-flex; align-items:center; border:1px solid #ccc; border-radius:4px; margin-top:8px; }
.vsw-qty button{ width:26px; height:26px; border:0; background:#fafafa; cursor:pointer; font-size:15px; color:#333; }
.vsw-qty button:hover{ background:#eee; }
.vsw-qty span{ min-width:30px; text-align:center; font-size:13px; }
.vsw-rm{ background:none; border:0; color:#b00; font-size:11px; cursor:pointer; margin-top:8px; text-decoration:underline; padding:0 0 0 12px; }
.vsw-foot{ border-top:1px solid var(--vsw-line); padding:18px 22px 24px; }
.vsw-sub{ display:flex; justify-content:space-between; font-size:15px; font-weight:700; margin-bottom:14px; }
.vsw-btn{
  display:block; width:100%; padding:14px; border:0; cursor:pointer; text-align:center;
  background:var(--vsw-accent); color:#fff; font:600 13px/1 Arial; letter-spacing:.12em;
  text-transform:uppercase; transition:opacity .15s;
}
.vsw-btn:hover{ opacity:.85; }
.vsw-btn[disabled]{ opacity:.4; cursor:not-allowed; }
.vsw-btn.ghost{ background:#fff; color:var(--vsw-dark); border:1px solid var(--vsw-dark); margin-top:10px; }

/* toast */
#vsw-toasts{ position:fixed; bottom:24px; left:50%; transform:translateX(-50%); z-index:2147483002; display:flex; flex-direction:column; gap:8px; align-items:center; }
.vsw-toast{
  background:var(--vsw-dark); color:#fff; padding:12px 20px; border-radius:30px; font:500 13px Arial;
  box-shadow:0 6px 20px rgba(0,0,0,.25); opacity:0; transform:translateY(12px);
  transition:opacity .25s, transform .25s; max-width:90vw;
}
.vsw-toast.show{ opacity:1; transform:translateY(0); }

/* checkout / contact modal */
#vsw-modal{
  position:fixed; top:50%; left:50%; transform:translate(-50%,-46%) scale(.97);
  width:480px; max-width:94vw; max-height:90vh; overflow-y:auto; background:#fff;
  box-shadow:0 24px 64px rgba(0,0,0,.3); z-index:2147483002; opacity:0; visibility:hidden;
  transition:opacity .22s ease, transform .22s ease, visibility .22s;
  font-family:Arial,Helvetica,sans-serif; color:var(--vsw-dark);
}
#vsw-modal.open{ opacity:1; visibility:visible; transform:translate(-50%,-50%) scale(1); }
.vsw-modal-head{ padding:24px 28px 6px; }
.vsw-modal-head h2{ margin:0 0 4px; font-size:19px; letter-spacing:.12em; text-transform:uppercase; }
.vsw-modal-head p{ margin:0; color:var(--vsw-muted); font-size:13px; }
.vsw-modal-body{ padding:14px 28px 28px; }
.vsw-summary{ border:1px solid var(--vsw-line); padding:12px 14px; margin-bottom:18px; font-size:13px; background:#fafafa; }
.vsw-summary .row{ display:flex; justify-content:space-between; padding:3px 0; color:#444; }
.vsw-summary .row.tot{ border-top:1px solid var(--vsw-line); margin-top:6px; padding-top:8px; font-weight:700; color:#111; }
.vsw-field{ margin-bottom:14px; }
.vsw-field label{ display:block; font-size:12px; font-weight:600; margin-bottom:5px; }
.vsw-field label .req{ color:#b00; }
.vsw-field input, .vsw-field textarea{
  width:100%; box-sizing:border-box; padding:11px 12px; border:1px solid #ccc; border-radius:3px;
  font-size:14px; font-family:inherit; color:#111;
}
.vsw-field input:focus, .vsw-field textarea:focus{ outline:none; border-color:var(--vsw-dark); }
.vsw-field textarea{ min-height:72px; resize:vertical; }
.vsw-err{ color:#b00; font-size:12px; margin:-8px 0 12px; display:none; }
.vsw-success{ text-align:center; padding:46px 30px 50px; }
.vsw-success .tick{
  width:62px; height:62px; border-radius:50%; background:#1f9d55; color:#fff; font-size:34px;
  line-height:62px; margin:0 auto 18px; display:block;
}
.vsw-success h2{ margin:0 0 10px; font-size:20px; }
.vsw-success p{ color:#555; font-size:14px; line-height:1.5; margin:0 auto; max-width:330px; }
@media (max-width:480px){ #vsw-drawer{ width:100%; } }

/* ---------------------------------------------------------------------------
   Landing-page compliance fixes — controls that only worked via Wix's runtime
   JS (which the offline copy strips). Rather than leave dead/overlapping buttons
   we remove them. Re-enable any of these if you wire a real backend.
   --------------------------------------------------------------------------- */
/* "Quick View" hover button renders statically on top of the product NAME
   (its hover gating is gone) -> overlapping text + a dead control. */
[data-hook="product-item-quick-view-button"]{ display:none !important; }
/* Members "Log In" bar: no authentication backend offline -> dead button.
   (Verified it contains only the login control, not the cart or search.) */
.wixui-login-social-bar{ display:none !important; }
/* Header search: no search backend offline -> dead button. */
[aria-label="Search"]{ display:none !important; }
/* "Filter by" price slider: needs Wix's stripped JS -> dead. Hide it
   (keeps "Browse by" category links, which work). */
[data-hook="filters-header"], [data-hook="filters-list"]{ display:none !important; }

/* desktop/mobile manual override */
#vsw-viewswitch{ text-align:center; padding:14px; background:#fff; border-top:1px solid var(--vsw-line); }
#vsw-viewswitch a{ color:#666; font:12px Arial,Helvetica,sans-serif; text-decoration:underline; letter-spacing:.04em; }
#vsw-viewswitch a:hover{ color:#111; }
