/* Niche Raiders — Ecwid cart/checkout, branded to match the site's card style. */

/* Force brand fonts + colors onto the Ecwid widget (it scopes vars deeper than :root). */
.ecwid-popup, .ecwid-popup *,
.ecwid, .ecwid *,
.ec-store, .ec-store *,
[class*="ec-cart"], [class*="ec-cart"] *,
:root{
  --ec-color-link:#1a202c !important;     /* links black (not blue/purple) */
  --ec-font-family:'Inter',system-ui,-apple-system,sans-serif !important;
  --ec-color-price:#1a202c !important;
}

/* Modal -> a clean white card */
.ecwid-popup-content{background:#fff !important;border-radius:18px !important;overflow:hidden !important;box-shadow:0 24px 70px rgba(30,16,51,.30) !important;}

/* Headings in Poppins, like the rest of the site */
.ec-page-title{font-family:'Poppins',sans-serif !important;font-weight:800 !important;color:#1a202c !important;letter-spacing:-.01em;}
[class*="ec-cart-item-sum"]{font-family:'Poppins',sans-serif !important;}

/* Line items as clean rows */
.ec-cart-item{padding:14px 0 !important;}
.ec-cart-item__title,.ec-cart-item__title-inner{font-weight:700 !important;color:#1a202c !important;}

/* Thumbnail: real image shows when the listing has one; purple square + white icon ONLY when it doesn't */
.ec-cart-item__image,.ec-cart-item__picture{border-radius:0 !important;overflow:hidden !important;}
.ec-cart-item__picture--no-image{position:relative !important;background:linear-gradient(135deg,#2c1065 0%,#7c3aed 100%) !important;}
.ec-cart-item__picture--no-image > *{visibility:hidden !important;}
.ec-cart-item__picture--no-image::after{content:"" !important;position:absolute !important;inset:0 !important;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27white%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M3%205.6s2-1%204.5-1%204.5%201%204.5%201v13.8s-2-1-4.5-1-4.5%201-4.5%201z%27%2F%3E%3Cpath%20d%3D%27M21%205.6s-2-1-4.5-1-4.5%201-4.5%201v13.8s2-1%204.5-1%204.5%201%204.5%201z%27%2F%3E%3C%2Fsvg%3E") !important;background-repeat:no-repeat !important;background-position:center !important;background-size:24px 24px !important;}

/* Inputs -> your rounded field style */
.ec-cart-email__input input{border:1px solid #e2e8f0 !important;border-radius:10px !important;padding:13px 14px !important;background:#fff !important;}
.ec-cart-coupon__spacer{display:none !important;}
.ec-cart-coupon__input input{background:#fff !important;border:1px solid #e2e8f0 !important;border-radius:8px !important;padding:10px 12px !important;}

/* Muted text -> neutral dark gray (kills Ecwid's muted blue) */
.ecwid-popup .ec-text-muted{color:#4a5568 !important;}

/* Continue shopping -> visible purple button */
.ec-cart-shopping__wrap{margin-top:16px !important;}
.ec-cart-shopping__wrap .ec-link{display:inline-block !important;background:#fff !important;border:1.5px solid #7c3aed !important;color:#7c3aed !important;font-weight:700 !important;padding:10px 18px !important;border-radius:0 !important;text-decoration:none !important;margin-left:6px;}
.ec-cart-shopping__wrap .ec-link:hover{background:#7c3aed !important;color:#fff !important;}

/* ============ CHECKOUT — Option A: clean white fields, bold purple frame ============ */

/* Primary buttons (Checkout, Continue, Pay / Place Order) -> FLAT purple, square, no glow */
.form-control--primary .form-control__button,
.ec-cart__button--checkout .form-control__button,
.ec-size .ec-store .form-control--primary .form-control__button{
  background:#7c3aed !important;background-image:none !important;
  border:0 !important;color:#fff !important;
  font-family:'Poppins',sans-serif !important;font-weight:700 !important;letter-spacing:.3px;
  border-radius:0 !important;box-shadow:none !important;filter:none !important;
}
.form-control--primary .form-control__button:hover,
.ec-cart__button--checkout .form-control__button:hover,
.ec-size .ec-store .form-control--primary .form-control__button:hover{
  filter:none !important;box-shadow:none !important;
  background:#6d28d9 !important;background-image:none !important;color:#fff !important;
}

/* Keep the checkout background pure white — no tint behind, no grey frame around */
.ecwid-popup-content,.ec-cart,.ec-cart__body,.ec-cart__body-inner,
.ecwid-productBrowser,.ecwid-productBrowser-v3{background:#fff !important;}
.ecwid-popup .popupContent{background:#fff !important;border:0 !important;box-shadow:0 24px 70px rgba(30,16,51,.30) !important;}

/* Form fields (email, order notes) -> purple focus ring */
.form-control__text:focus,.ec-cart-email__input input:focus{
  border-color:#7c3aed !important;box-shadow:0 0 0 3px rgba(124,58,237,.16) !important;outline:none !important;
}

/* Checkout section headings -> Poppins */
.ec-page-title,.ec-cart-step__title{font-family:'Poppins',sans-serif !important;font-weight:800 !important;color:#1a202c !important;}

/* Order total -> deep-purple emphasis */
.ec-cart__total .ec-cart__price,.ec-cart-summary__price--total,.ec-cart-summary__title--total{color:#2c1065 !important;font-weight:800 !important;}
