/* Sapiens – additions on top of the live site's styles.css / custom.css.
   Everything new is prefixed "sp-" so it never collides with the original classes. */

:root { --sp-red:#e74c3c; --sp-red-dark:#c0392b; --sp-ink:#2c3e50; --sp-line:#e9ecef; --sp-soft:#f8f9fa; --sp-muted:#6c757d; }

body { margin:0; background:#fff; }
.sp-main { padding-top: 96px; min-height: 60vh; }
.sp-home { padding-top: 0; }
.sp-announcement { position:fixed; top:0; left:0; right:0; height:34px; line-height:34px; background:var(--sp-ink); color:#fff; text-align:center; font-size:13px; z-index:1100; }
.sp-announcement + .navbar + * , body:has(.sp-announcement) .sp-main { padding-top: 130px; }
.sp-page { padding-bottom: 60px; }
.sp-title { font-size: 28px; font-weight: 700; color: var(--sp-ink); margin: 0 0 22px; text-align: center; }
.sp-h2 { font-size: 22px; font-weight: 700; margin: 0 0 16px; color: var(--sp-ink); }
.sp-h3 { font-size: 18px; font-weight: 600; margin: 22px 0 12px; }
.sp-muted { color: var(--sp-muted); font-size: 14px; }
.sp-center { text-align: center; }
.sp-section-sub { text-align:center; color:var(--sp-muted); margin: 6px 0 0; }
.sp-empty { grid-column: 1 / -1; text-align:center; color: var(--sp-muted); padding: 30px 0; }
.sp-note { color: var(--sp-muted); font-size: 14px; margin-top: 14px; }
.sp-hint { display:block; color: var(--sp-muted); font-size: 12px; margin-top: 4px; }
.sp-error { display:block; color: #dc3545; font-size: 12px; margin-top: 4px; }
.form-input.is-invalid { border-color: #dc3545; }
.sp-back { display:inline-block; margin-bottom: 14px; color: var(--sp-muted); text-decoration:none; font-size: 14px; }

/* ---------- hero slider (copied from the live homepage's inline <style>) ---------- */
.vsx-slider-wrapper { width:100%; overflow:hidden; position:relative; background:#000; }
.vsx-slider-track { display:flex; transition: transform .6s ease-in-out; }
.vsx-slide-item { min-width:100%; position:relative; }
.vsx-slide-img { width:100%; height:auto; display:block; object-fit:contain; }
.vsx-shop-box { position:absolute; bottom:25px; left:40px; z-index:5; }
.vsx-shop-btn { display:inline-flex; align-items:center; gap:8px; padding:12px 26px; background:#e74c3c; color:#fff; text-decoration:none; font-size:15px; font-weight:600; border-radius:40px; transition:.3s; }
.vsx-shop-btn:hover { background:var(--sp-red-dark); }
.vsx-arrow { position:absolute; top:50%; transform:translateY(-50%); width:45px; height:45px; background:rgba(0,0,0,.6); color:#fff; border:none; cursor:pointer; font-size:22px; z-index:10; border-radius:50%; }
.vsx-arrow-left { left:15px; } .vsx-arrow-right { right:15px; }
@media (max-width:768px){
  .vsx-shop-box { left:16px; bottom:12px; }
  .vsx-shop-btn { padding:6px 14px; font-size:12px; gap:6px; border-radius:30px; }
  .vsx-arrow { width:34px; height:34px; font-size:16px; }
  .products-grid { grid-template-columns: 1fr 1fr !important; gap:12px; }
  .product-tabs { overflow-x:auto; gap:10px; padding-bottom:6px; }
  .tab-btn { white-space:nowrap; font-size:13px; padding:6px 14px; }
  .testimonials-slider { overflow-x:auto; }
  .testimonial-card { min-width: 280px; }
  body, html { overflow-x:hidden; }
  .sp-main { padding-top: 80px; }
}
@media (max-width:480px){ .products-grid { grid-template-columns: 1fr 1fr !important; } .marquee-inner { padding-top:15px !important; } }

/* video strip: anchors/divs wrapping each <video> */
.sp-video-item { display:block; flex-shrink:0; }
.sp-video-item video { background:#111; display:block; }
.marquee:hover .marquee-inner { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce){ .marquee-inner, .testimonial-track { animation: none !important; } .marquee, .testimonials-slider { overflow-x:auto; } }

/* ---------- header extras ---------- */
.nav-search { position: relative; }
.sp-suggest { position:absolute; top:100%; left:0; right:0; background:#fff; border-radius:12px; box-shadow:0 10px 30px rgba(0,0,0,.15); margin-top:6px; overflow:hidden; z-index:1200; }
.sp-suggest a { display:flex; align-items:center; gap:10px; padding:8px 12px; color:#333; text-decoration:none; font-size:14px; }
.sp-suggest a:hover { background:var(--sp-soft); }
.sp-suggest img { object-fit:cover; border-radius:4px; }
.sp-suggest span { flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.nav-icons .icon-btn { position:relative; text-decoration:none; display:inline-flex; align-items:center; justify-content:center; }
.sp-badge { position:absolute; top:-6px; right:-8px; min-width:18px; height:18px; padding:0 4px; border-radius:9px; background:var(--sp-red); color:#fff; font-size:11px; line-height:18px; text-align:center; font-weight:700; }
.sp-linkbtn { background:none; border:0; color:var(--sp-red); cursor:pointer; padding:0; font:inherit; text-decoration:underline; }
.sp-linkbtn.sp-danger { color:#dc3545; }
.mobile-nav-slide .sp-linkbtn { color:#fff; text-decoration:none; padding:.6rem 0; }

/* ---------- toasts ---------- */
.sp-toasts { position:fixed; top:90px; right:16px; z-index:100000; display:flex; flex-direction:column; gap:10px; max-width:min(380px, calc(100vw - 32px)); }
.sp-toast { background:#2c3e50; color:#fff; padding:12px 16px; border-radius:10px; box-shadow:0 8px 24px rgba(0,0,0,.2); font-size:14px; animation: sp-in .25s ease; }
.sp-toast-success { background:#1e8e5a; } .sp-toast-error { background:#c0392b; } .sp-toast-warning { background:#d68910; }
.sp-toast.is-hiding { opacity:0; transform:translateX(20px); transition:.4s; }
@keyframes sp-in { from { opacity:0; transform:translateX(20px); } }

/* ---------- product cards / pages ---------- */
.product-card .product-image img { object-fit: cover; }
.wishlist-action.is-active, .sp-heart.is-active { color: var(--sp-red); }
.wishlist-action.is-active i { color:#fff; background: transparent; }
.product-card .wishlist-action.is-active { background: var(--sp-red-dark); }
.sp-heart.is-active { border-color: var(--sp-red); }
.sp-off { color:#1e8e5a; font-weight:700; margin-left:8px; font-size:14px; }
.sp-stars { color:#f5a623; font-size:13px; white-space:nowrap; }
.sp-stock-note { color: var(--sp-red); font-size: 13px; min-height: 18px; margin:6px 0 0; }
.size-option { background:#fff; font: inherit; }
.size-option.sp-soldout { opacity:.4; text-decoration: line-through; cursor:not-allowed; }
.sp-shake { animation: sp-shake .5s; }
@keyframes sp-shake { 20%,60% { transform: translateX(-6px);} 40%,80% { transform: translateX(6px);} }
.sp-soldout-banner { background:#fdecea; color:#b71c1c; padding:12px 16px; border-radius:10px; font-weight:600; margin: 14px 0; }
.sp-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; background: var(--sp-red); color:#fff; border:2px solid var(--sp-red); border-radius:40px; padding:11px 26px; font-weight:600; font-size:15px; cursor:pointer; text-decoration:none; transition:.2s; font-family:inherit; line-height:1.2; }
.sp-btn:hover { background: var(--sp-red-dark); border-color: var(--sp-red-dark); color:#fff; }
.sp-btn:disabled { opacity:.6; cursor:not-allowed; }
.sp-btn-outline { background:#fff; color: var(--sp-red); }
.sp-btn-outline:hover { background: #fdf0ee; color: var(--sp-red-dark); }
.sp-btn-danger { background:#dc3545; border-color:#dc3545; }
.sp-btn-sm { padding:6px 16px; font-size:13px; }
.sp-btn-lg { padding:14px 36px; font-size:17px; }
.sp-btn-block { display:flex; width:100%; }
.sp-heart { padding:11px 16px; }
.sp-link-center { display:block; text-align:center; margin-top:12px; color: var(--sp-muted); text-decoration:none; font-size:14px; }
.sp-table { width:100%; border-collapse:collapse; font-size:14px; }
.sp-table th, .sp-table td { padding:10px 12px; border-bottom:1px solid var(--sp-line); text-align:left; vertical-align:middle; }
.sp-table th { background: var(--sp-soft); font-weight:600; white-space:nowrap; }
.sp-table-wrap { overflow-x:auto; }
.sp-review { border-bottom:1px solid var(--sp-line); padding:14px 0; }
.sp-review p { margin:6px 0; }
.sp-verified { color:#1e8e5a; }
.sp-review-form { margin-top:24px; display:grid; gap:10px; max-width:560px; }
.sp-review-form input[type=text], .sp-review-form textarea { padding:10px 12px; border:1px solid #ddd; border-radius:8px; font:inherit; }
.sp-rate { display:inline-flex; flex-direction:row-reverse; justify-content:flex-end; gap:4px; }
.sp-rate input { position:absolute; opacity:0; }
.sp-rate label { cursor:pointer; color:#ddd; font-size:22px; }
.sp-rate input:checked ~ label, .sp-rate label:hover, .sp-rate label:hover ~ label { color:#f5a623; }

/* ---------- shop filters ---------- */
.sp-chips { display:flex; flex-wrap:wrap; gap:8px; }
.sp-chip input { position:absolute; opacity:0; }
.sp-chip span { display:inline-block; min-width:42px; text-align:center; padding:6px 12px; border:1px solid #ddd; border-radius:8px; cursor:pointer; }
.sp-chip input:checked + span { background: var(--sp-red); border-color: var(--sp-red); color:#fff; }
.sp-price-row { display:flex; gap:8px; align-items:center; }
.sp-price-row input { width:100%; min-width:0; padding:8px; border:1px solid #ddd; border-radius:8px; }
.sp-rating-opt { display:flex; align-items:center; gap:8px; padding:4px 0; cursor:pointer; font-size:13px; }
.filter-option a.sp-active { color: var(--sp-red); font-weight:700; }
.sp-empty-state { text-align:center; padding:60px 20px; color:var(--sp-muted); }
.sp-empty-state i { font-size:48px; color:#ddd; margin-bottom:10px; }
.sp-empty-state h3 { color:var(--sp-ink); margin:8px 0; }
.sp-empty-state .sp-btn { margin-top:12px; }
.pagination-container { display:flex; justify-content:center; margin:30px 0 10px; }
.pagination ul { display:flex; gap:6px; list-style:none; padding:0; margin:0; flex-wrap:wrap; justify-content:center; }
.pagination li a { display:block; min-width:38px; padding:8px 12px; border:1px solid #ddd; border-radius:8px; text-align:center; color:#333; text-decoration:none; }
.pagination li.current a { background:var(--sp-red); border-color:var(--sp-red); color:#fff; }
.pagination li.disabled a { opacity:.4; pointer-events:none; }

/* ---------- cart / checkout ---------- */
.sp-cart { display:grid; grid-template-columns: minmax(0,1fr) 380px; gap:28px; align-items:start; }
.sp-card { background:#fff; border:1px solid var(--sp-line); border-radius:14px; padding:20px; box-shadow:0 2px 10px rgba(0,0,0,.04); margin-bottom:18px; }
.sp-card h3, .sp-card h4 { margin-top:0; color:var(--sp-ink); }
.sp-cart-items > .sp-cart-row { background:#fff; border:1px solid var(--sp-line); border-radius:14px; margin-bottom:12px; }
.sp-cart-row { display:grid; grid-template-columns: 84px 1fr auto auto auto; gap:14px; align-items:center; padding:14px; }
.sp-card .sp-cart-row { border-bottom:1px solid var(--sp-line); padding:12px 0; }
.sp-cart-img img { width:84px; height:105px; object-fit:cover; border-radius:8px; display:block; }
.sp-cart-name { color:var(--sp-ink); font-weight:600; text-decoration:none; display:block; margin-bottom:2px; }
.sp-cart-price { font-weight:600; margin-top:4px; }
.sp-cart-total { font-weight:700; white-space:nowrap; }
.sp-lowstock { color: var(--sp-red); font-size:12px; margin-top:2px; }
.sp-qty { display:inline-flex; align-items:center; border:1px solid #ddd; border-radius:40px; overflow:hidden; }
.sp-qty button { background:#fff; border:0; width:34px; height:34px; cursor:pointer; font-size:18px; }
.sp-qty button:disabled { opacity:.35; cursor:not-allowed; }
.sp-qty span { min-width:30px; text-align:center; font-weight:600; }
.sp-remove { background:none; border:0; color:#aaa; cursor:pointer; font-size:16px; padding:8px; }
.sp-remove:hover { color:#dc3545; }
.sp-summary { background:#fff; border:1px solid var(--sp-line); border-radius:14px; padding:20px; position:sticky; top:100px; box-shadow:0 2px 10px rgba(0,0,0,.04); }
.sp-summary h3 { margin:0 0 14px; }
.sp-coupon { display:flex; gap:8px; margin-bottom:14px; }
.sp-coupon input { flex:1; min-width:0; padding:9px 12px; border:1px solid #ddd; border-radius:40px; font:inherit; text-transform:uppercase; }
.sp-coupon-applied { background:#eaf7f0; color:#1e8e5a; padding:10px 12px; border-radius:10px; margin-bottom:14px; font-size:14px; }
.sp-totals { margin:0 0 14px; } .sp-totals div { display:flex; justify-content:space-between; padding:6px 0; font-size:14px; }
.sp-totals dt, .sp-totals dd { margin:0; font-weight:400; }
.sp-totals .sp-discount dd { color:#1e8e5a; } .sp-totals .sp-muted { color:var(--sp-muted); font-size:13px; }
.sp-totals .sp-grand { border-top:2px solid #333; margin-top:6px; padding-top:12px; font-size:18px; font-weight:700; }
.sp-totals .sp-grand dt, .sp-totals .sp-grand dd { font-weight:700; }
.sp-freeship { background:#fff6e5; color:#9a6700; border-radius:10px; padding:8px 12px; font-size:13px; }
.sp-mini-items { list-style:none; padding:0; margin:0 0 12px; }
.sp-mini-items li { display:flex; gap:10px; align-items:center; padding:8px 0; border-bottom:1px solid var(--sp-line); font-size:13px; }
.sp-mini-items img { object-fit:cover; border-radius:6px; }
.sp-mini-items span { flex:1; } .sp-mini-items small { color:var(--sp-muted); }
.sp-addr { display:flex; gap:10px; align-items:flex-start; padding:12px; border:1px solid #ddd; border-radius:10px; margin-bottom:10px; cursor:pointer; font-size:14px; }
.sp-addr:has(input:checked) { border-color: var(--sp-red); background:#fff7f6; }
.sp-grid2 { display:grid; grid-template-columns:1fr 1fr; gap:14px; } .sp-grid3 { display:grid; grid-template-columns:1fr 1fr 1fr; gap:14px; }
.sp-check { display:flex; gap:8px; align-items:center; font-size:14px; margin:8px 0 14px; }
.sp-pay-amount { font-size:38px; font-weight:700; color:var(--sp-ink); margin:6px 0; }
.sp-mock { background:#fff8e1; border:1px dashed #d68910; padding:16px; border-radius:12px; margin:14px 0; font-size:14px; }
.sp-mock-actions { display:flex; gap:10px; justify-content:center; margin-top:12px; flex-wrap:wrap; }
.sp-icon-ok, .sp-icon-fail, .sp-icon-wait { width:72px; height:72px; border-radius:50%; margin:0 auto; display:flex; align-items:center; justify-content:center; font-size:32px; color:#fff; }
.sp-icon-ok { background:#1e8e5a; } .sp-icon-fail { background:#dc3545; } .sp-icon-wait { background:#d68910; }

/* ---------- account ---------- */
.sp-account { display:grid; grid-template-columns:260px minmax(0,1fr); gap:28px; align-items:start; }
.sp-account-nav { background:#fff; border:1px solid var(--sp-line); border-radius:14px; padding:16px; position:sticky; top:100px; }
.sp-account-hello { display:flex; gap:12px; align-items:center; padding-bottom:14px; border-bottom:1px solid var(--sp-line); margin-bottom:10px; }
.sp-account-hello small { display:block; color:var(--sp-muted); font-size:12px; word-break:break-all; }
.sp-avatar { width:44px; height:44px; border-radius:50%; background:var(--sp-red); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:18px; flex:none; }
.sp-account-nav nav a, .sp-account-nav nav button { display:flex; gap:10px; align-items:center; width:100%; padding:10px 12px; border-radius:8px; color:#333; text-decoration:none; background:none; border:0; font:inherit; cursor:pointer; text-align:left; }
.sp-account-nav nav a:hover, .sp-account-nav nav button:hover { background:var(--sp-soft); }
.sp-account-nav nav a.active { background:#fdecea; color:var(--sp-red-dark); font-weight:600; }
.sp-account-nav i { width:18px; text-align:center; }
.sp-badge-inline { margin-left:auto; background:var(--sp-red); color:#fff; border-radius:10px; padding:0 7px; font-size:11px; }
.sp-stats { display:grid; grid-template-columns:repeat(auto-fit, minmax(150px, 1fr)); gap:14px; margin:14px 0; }
.sp-stat { background:var(--sp-soft); border-radius:12px; padding:18px; text-align:center; text-decoration:none; color:inherit; } .sp-stat b { display:block; font-size:28px; color:var(--sp-red); }
.sp-pill { display:inline-block; padding:3px 10px; border-radius:20px; font-size:12px; font-weight:600; background:#eee; color:#555; margin-right:4px; }
.sp-pill-pending, .sp-pill-warn, .sp-pill-pay-pending { background:#fff3cd; color:#8a6d00; } .sp-pill-confirmed, .sp-pill-processing { background:#d6eaf8; color:#1b4f72; }
.sp-pill-shipped { background:#e8daef; color:#512e5f; } .sp-pill-delivered, .sp-pill-pay-paid { background:#d5f5e3; color:#1e8449; } .sp-pill-cancelled, .sp-pill-pay-failed { background:#fadbd8; color:#922b21; } .sp-pill-pay-refunded { background:#e5e7e9; }
.sp-order-head { display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; align-items:center; margin-bottom:14px; }
.sp-alert { background:#e8f4fd; border-radius:10px; padding:12px 14px; margin-bottom:14px; font-size:14px; } .sp-alert-warn { background:#fff3cd; }
.sp-timeline { list-style:none; padding:0; margin:0; border-left:2px solid var(--sp-line); } .sp-timeline li { padding:0 0 14px 16px; position:relative; } .sp-timeline li::before { content:''; position:absolute; left:-6px; top:5px; width:10px; height:10px; border-radius:50%; background:var(--sp-red); } .sp-timeline small { display:block; color:var(--sp-muted); }
.sp-notif { display:flex; gap:12px; padding:14px; border:1px solid var(--sp-line); border-radius:10px; margin-bottom:10px; text-decoration:none; color:inherit; } .sp-notif small { display:block; color:var(--sp-muted); }

/* ---------- content pages ---------- */
.sp-legal, .sp-prose { max-width: 960px; margin-left:auto; margin-right:auto; }
.sp-prose h3 { margin: 24px 0 8px; color: var(--sp-ink); } .sp-prose p { line-height:1.8; color:#444; margin: 0 0 12px; }
.sp-about .about-hero { margin-top: 0; padding-top: 120px; }
.sp-about .sp-main { padding-top:0; }
.sp-contact { display:grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap:28px; align-items:start; max-width:1100px; margin:0 auto; }
.sp-contact-info p { margin: 0 0 14px; line-height:1.7; word-break:break-word; }
.sp-auth .auth-container { min-height: 60vh; }
.form-group { margin-bottom: 16px; }
.form-label { display:block; font-weight:600; margin-bottom:6px; font-size:14px; }
.form-input { width:100%; box-sizing:border-box; padding:11px 14px; border:1px solid #d6d6d6; border-radius:10px; font:inherit; background:#fff; }
.form-input:focus { outline:none; border-color:var(--sp-red); box-shadow:0 0 0 3px rgba(231,76,60,.12); }
.sp-table-wrap + .pagination-container { margin-top:16px; }

@media (max-width:900px){
  .sp-cart, .sp-account, .sp-contact { grid-template-columns: 1fr; }
  .sp-summary, .sp-account-nav { position:static; }
  .sp-cart-row { grid-template-columns: 70px 1fr auto; } .sp-cart-row .sp-qty { grid-column: 2; justify-self:start; } .sp-cart-row .sp-cart-total { grid-column: 3; }
  .sp-grid2, .sp-grid3 { grid-template-columns: 1fr; }
  .sp-account-nav nav { display:grid; grid-template-columns: 1fr 1fr; }
  .sp-toasts { top: 80px; }
  .sp-table thead { display:none; } .sp-table tr { display:block; border-bottom:1px solid var(--sp-line); padding:8px 0; } .sp-table td { display:flex; justify-content:space-between; border:0; padding:5px 4px; } .sp-table td::before { content: attr(data-label); font-weight:600; color:var(--sp-muted); }
}

/* product page polish */
.variant-options { display:flex; flex-wrap:wrap; gap:10px; }
.size-option { min-width:48px; text-align:center; cursor:pointer; }
.product-features a.feature { color:inherit; text-decoration:none; }
.sp-btn.btn-primary { background: var(--sp-red); border-color: var(--sp-red); }

/* =====================================================================
   Auth pages – split layout (brand panel + form)
   ===================================================================== */
.sp-auth2 { padding-top: 0; }
.sp-authwrap { display:grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); min-height: 100vh; padding-top: 80px; }
.sp-authside { background: linear-gradient(145deg,#1b1b1f 0%,#3a1010 55%,#c0392b 140%); color:#fff; display:flex; align-items:center; justify-content:center; padding: 48px 40px; position:relative; overflow:hidden; }
.sp-authside::after { content:''; position:absolute; width:420px; height:420px; border-radius:50%; background:radial-gradient(circle,rgba(231,76,60,.35),transparent 70%); right:-120px; bottom:-120px; }
.sp-authside-inner { max-width:420px; position:relative; z-index:1; }
.sp-authlogo img { height:64px; background:#fff; border-radius:12px; padding:6px 10px; display:block; }
.sp-authside h2 { font-size:34px; line-height:1.2; margin:28px 0 22px; font-weight:700; }
.sp-perks { list-style:none; margin:0; padding:0; display:grid; gap:14px; }
.sp-perks li { display:flex; gap:14px; align-items:center; font-size:15px; opacity:.95; }
.sp-perks i { width:38px; height:38px; border-radius:10px; background:rgba(255,255,255,.12); display:flex; align-items:center; justify-content:center; flex:none; }
.sp-authmain { display:flex; align-items:center; justify-content:center; padding: 40px 24px; background:#fafafa; }
.sp-authcard { width:100%; max-width:440px; background:#fff; border-radius:18px; padding:36px 32px; box-shadow:0 12px 40px rgba(0,0,0,.08); }
.sp-authcard h1 { margin:0 0 6px; font-size:28px; color:var(--sp-ink); font-weight:700; }
.sp-authsub { color:var(--sp-muted); margin:0 0 22px; font-size:14px; line-height:1.6; }
.sp-field { margin-bottom:16px; }
.sp-field label { display:block; font-weight:600; font-size:13px; margin-bottom:6px; color:#444; }
.sp-opt { font-weight:400; color:var(--sp-muted); }
.sp-inputwrap { position:relative; }
.sp-inputwrap > i:first-child { position:absolute; left:14px; top:50%; transform:translateY(-50%); color:#aaa; font-size:14px; pointer-events:none; }
.sp-inputwrap input { width:100%; box-sizing:border-box; padding:13px 14px 13px 40px; border:1.5px solid #e0e0e0; border-radius:12px; font:inherit; font-size:15px; background:#fff; transition:.15s; }
.sp-inputwrap input:focus { outline:none; border-color:var(--sp-red); box-shadow:0 0 0 4px rgba(231,76,60,.12); }
.sp-inputwrap input.is-invalid { border-color:#dc3545; }
.sp-inputwrap:focus-within > i:first-child { color:var(--sp-red); }
.sp-eye { position:absolute; right:6px; top:50%; transform:translateY(-50%); background:none; border:0; width:40px; height:40px; color:#888; cursor:pointer; }
.sp-inputwrap .sp-eye + input, .sp-inputwrap input[type=password] { padding-right:46px; }
.sp-authrow { display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap; margin:4px 0 18px; font-size:14px; }
.sp-authrow a, .sp-authalt a { color:var(--sp-red); font-weight:600; text-decoration:none; }
.sp-authalt { text-align:center; margin:22px 0 0; color:var(--sp-muted); font-size:14px; }
.sp-strength { height:5px; background:#eee; border-radius:4px; margin-top:8px; overflow:hidden; }
.sp-strength span { display:block; height:100%; width:0; transition:.25s; }

/* =====================================================================
   Global responsive pass
   ===================================================================== */
html, body { max-width:100%; overflow-x:hidden; }
img, video { max-width:100%; }
.product-detail-grid, .shop-content, .footer-content { min-width:0; }
.product-detail-grid > *, .shop-content > * { min-width:0; }
.product-detail-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.thumbnail-images { overflow-x:auto; flex-wrap:nowrap; -webkit-overflow-scrolling:touch; }
.thumbnail { flex:none; }
.product-price { flex-wrap:wrap; }
.tab-buttons { overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
.tab-buttons::-webkit-scrollbar { display:none; }
.tab-content img { max-width:100%; height:auto; }
.tab-content-custom.active { overflow-wrap:anywhere; }
.sp-table-wrap, .table-bordered { max-width:100%; }

@media (max-width: 991px){
  .sp-authwrap { grid-template-columns: 1fr; padding-top:70px; min-height:auto; }
  .sp-authside { padding: 26px 20px; }
  .sp-authside h2 { font-size:22px; margin:14px 0 0; }
  .sp-perks { display:none; }
  .sp-authlogo img { height:44px; }
  .sp-authmain { padding: 22px 14px 40px; }
  .product-detail-grid { grid-template-columns: minmax(0,1fr); gap:1.5rem; }
  .product-detail-container { margin-top: 70px; }
}

@media (max-width: 768px){
  .container { padding-left:14px; padding-right:14px; }
  .nav-container { padding: .6rem 1rem !important; }
  .navbar .nav-logo img { height:42px; width:auto; }
  .nav-icons { gap:.9rem; }
  .shop-title, .sp-title { font-size:22px; }
  .section-title, .gradient-text-custom { font-size:22px !important; }
  /* the live CSS sizes videos in vw – make them readable on a phone */
  .marquee-inner video { width:44vw; height:72vw; border-radius:1.2rem; }
  .marquee-inner { gap:3vw; }
  .product-card .product-image { height: 200px; }
  .product-title { font-size:13px !important; line-height:1.35; }
  .product-info { padding: .8rem !important; }
  .current-price { font-size:15px; } .original-price { font-size:12px; }
  .product-actions .action-btn { width:34px; height:34px; }
  .mobile-filter-toggle { margin:0 0 14px !important; width:100% !important; }
  .products-header { flex-direction:column; align-items:stretch; gap:10px; }
  .sort-select { width:100%; }
  .product-images .main-image img { width:100%; height:auto; }
  .action-buttons { gap:10px; } .action-buttons .sp-btn { flex:1 1 140px; padding:13px 16px; }
  .product-features { display:grid !important; grid-template-columns:1fr; gap:8px; }
  .quantity-selector { margin:14px 0; }
  .tab-content-custom.active { padding: 0 6px !important; }
  .footer-content { grid-template-columns: 1fr !important; gap:1.6rem !important; text-align:left; }
  .newsletter-form form { display:flex; flex-direction:column; gap:10px; }
  .newsletter-form input, .newsletter-form button { width:100%; box-sizing:border-box; }
  .about-hero { padding: 100px 0 40px; } .about-hero h1 { font-size:26px; }
  .cta-buttons { flex-direction:column; align-items:center; gap:10px; }
  .sp-contact-form, .sp-card { padding:16px; }
  .sp-pay-amount { font-size:30px; }
  .sp-toasts { left:12px; right:12px; max-width:none; top:72px; }
  .sp-summary { padding:16px; }
  .pagination li a { min-width:34px; padding:7px 10px; }
  /* inputs ≥16px so iOS doesn't zoom on focus */
  input, select, textarea, .form-input, .sp-inputwrap input { font-size:16px !important; }
  .sp-account-nav nav { grid-template-columns:1fr 1fr; gap:4px; }
  .sp-account-nav nav a, .sp-account-nav nav button { padding:10px 8px; font-size:13px; }
  .sp-order-head { flex-direction:column; align-items:flex-start; }
  .sp-cart-row { grid-template-columns: 70px minmax(0,1fr) auto; padding:12px 0; gap:10px; }
  .sp-cart-img img { width:70px; height:88px; }
}

@media (max-width: 480px){
  .sp-authcard { padding:26px 18px; border-radius:14px; }
  .sp-authcard h1 { font-size:24px; }
  .sp-grid2, .sp-grid3 { grid-template-columns:1fr; }
  .products-grid { gap:10px !important; }
  .product-card .product-image { height:170px; }
  .vsx-arrow { display:none; }
  .testimonial-card { min-width: 260px; padding:1.2rem; }
  .sp-stats { grid-template-columns: 1fr 1fr; }
}

/* fixes after mobile review */
.action-buttons { display:flex !important; flex-direction:row !important; flex-wrap:wrap; align-items:stretch; gap:10px; margin:16px 0; }
.action-buttons .sp-btn { flex:1 1 150px; height:auto; min-height:48px; }
.action-buttons .sp-heart { flex:0 0 52px; padding:0; }
.sp-authcard a:not(.sp-btn) { color:var(--sp-red); }
.sp-authcard .sp-hint a { text-decoration:underline; }
@media (max-width:991px){ .sp-authside-inner { max-width:none; width:100%; } .sp-authside { justify-content:flex-start; } }

/* use-my-location */
.sp-geo { margin:0 0 20px; padding:14px 16px; background:linear-gradient(135deg,#fff7f6,#fff); border:1px solid #f6d5d1; border-radius:14px; }
.sp-geo-top { display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.sp-geo-ico { width:42px; height:42px; border-radius:12px; background:var(--sp-red); color:#fff; display:flex; align-items:center; justify-content:center; font-size:18px; flex:none; }
.sp-geo-text { flex:1 1 200px; display:flex; flex-direction:column; line-height:1.35; }
.sp-geo-text strong { color:var(--sp-ink); font-size:15px; }
.sp-geo-text span { color:var(--sp-muted); font-size:13px; }
.sp-geo-btn.is-busy { opacity:.7; pointer-events:none; }
.sp-geo-btn.is-busy i { animation: sp-spin 1s linear infinite; }
@keyframes sp-spin { to { transform: rotate(360deg); } }
.sp-geo-msg { margin-top:12px; padding:10px 12px; border-radius:10px; font-size:13px; line-height:1.55; }
.sp-geo-info { background:#eef6fd; color:#1b4f72; }
.sp-geo-ok { background:#eaf7f0; color:#1e7a4d; }
.sp-geo-err { background:#fdeeec; color:#a93226; }
.sp-geo-help { margin-top:6px; color:#555; }
.sp-geo-help b { color:#333; }
.sp-geo-msg .sp-linkbtn { margin-top:4px; font-weight:600; }
.sp-card > h3 { display:flex; align-items:center; gap:10px; margin:0 0 16px; font-size:19px; }
.sp-card > h3::after { content:""; flex:1; height:1px; background:var(--sp-line); }
.sp-newaddr .form-input { height:48px; }
.sp-newaddr textarea.form-input { height:auto; }
@media (max-width:600px){ .sp-geo-btn { width:100%; } }


/* =====================================================================
   Product cards - consistent, responsive on every screen width
   (overrides the fixed 355px / 200px / 170px heights in the older CSS)
   ===================================================================== */
.products-grid { align-items: stretch; }
.product-card { display:flex !important; flex-direction:column; height:100%; min-width:0; }
.product-card > a { display:flex; flex-direction:column; flex:1 1 auto; min-width:0; color:inherit; text-decoration:none; }
.product-card .product-image,
.product-card .product-image.min-img-card { height:auto !important; aspect-ratio: 4 / 5; width:100%; background:#f3f3f3; }
.product-card .product-image img { width:100%; height:100%; object-fit:cover; display:block; }
.product-card .product-info { display:flex; flex-direction:column; flex:1 1 auto; min-width:0; }
.product-card .product-title { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; overflow-wrap:anywhere; margin:0 0 .4rem; min-height:4.05em; line-height:1.35; }
.product-card .product-price { display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 8px; margin:auto 0 0 !important; }
.product-card .current-price { white-space:nowrap; }
.product-card .original-price { white-space:nowrap; }
@media (max-width: 768px){
  .product-card { border-radius:12px; }
  .product-card .product-image, .product-card .product-image.min-img-card { height:auto !important; }
  .product-card .product-info { padding:.65rem .7rem .8rem !important; }
  .product-card .product-title { font-size:12.5px !important; min-height:4.05em; }
  .product-card .current-price { font-size:14px; }
  .product-card .original-price { font-size:11.5px; }
  .product-card .product-actions { top:8px; right:8px; gap:6px; }
  .product-card .product-actions .action-btn { width:32px; height:32px; font-size:13px; }
}
@media (max-width: 360px){
  .products-grid { gap:8px !important; }
  .product-card .product-title { font-size:11.5px !important; }
  .product-card .current-price { font-size:13px; }
  .product-card .product-actions .action-btn { width:28px; height:28px; font-size:12px; }
}

/* =====================================================================
   Sign in / Create account - clean, friendly layout
   ===================================================================== */
.sp-authmlogo { display:none; }
.sp-authtabs { display:grid; grid-template-columns:1fr 1fr; gap:4px; padding:4px; margin:0 0 24px; background:#f2f2f4; border-radius:14px; }
.sp-authtabs a { text-align:center; padding:11px 8px; border-radius:11px; font-weight:600; font-size:14.5px; color:#666 !important; text-decoration:none !important; transition:.15s; }
.sp-authtabs a.is-active { background:#fff; color:var(--sp-red) !important; box-shadow:0 2px 8px rgba(0,0,0,.08); }
.sp-authtabs a:not(.is-active):hover { color:#222 !important; }
.sp-authdivider { display:flex; align-items:center; gap:12px; margin:22px 0 14px; color:var(--sp-muted); font-size:13px; }
.sp-authdivider::before, .sp-authdivider::after { content:''; flex:1; height:1px; background:#e6e6e6; }
.sp-btn-block { display:flex; width:100%; }
.sp-authcard .sp-btn-outline { border-width:1.5px; }
.sp-authcard .sp-btn-lg { padding:13px 24px; font-size:15.5px; }
.sp-authmain { background:#f7f7f8; }
.sp-authcard { max-width:460px; }
@media (max-width: 991px){
  .sp-authside { display:none; }
  .sp-authwrap { display:block; padding-top:64px; min-height:100vh; background:#f7f7f8; }
  .sp-authmain { flex-direction:column; align-items:stretch; justify-content:flex-start; padding:20px 16px 40px; }
  .sp-authmlogo { display:flex; justify-content:center; margin:6px 0 16px; }
  .sp-authmlogo img { height:48px; width:auto; background:#fff; border-radius:12px; padding:6px 12px; box-shadow:0 2px 10px rgba(0,0,0,.06); }
  .sp-authcard { max-width:none; margin:0 auto; width:100%; padding:22px 18px 24px; border-radius:16px; box-shadow:0 6px 24px rgba(0,0,0,.07); }
  .sp-authcard h1 { font-size:24px; }
  .sp-inputwrap input { font-size:16px; } /* stops iOS zooming into the field */
}
