/* VovoCorp Store — store pages built on the original design tokens */
:root{
  --ink:#2F3A3D; --text:#4A5558; --muted:#6F7C80; --line:rgba(47,58,61,.14); --accent:#1E8B9A; --aqua:#56C5D2;
  --surface:#F7FAFB; --border:#E7EFF1; --danger:#B4232C; --ok:#0F6E56;
  --font-body--family:Inter,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:#333;font-family:Inter,sans-serif;font-size:14px;line-height:1.6;display:flex;flex-direction:column;min-height:100svh;-webkit-font-smoothing:antialiased}
main{flex:1}
img{max-width:100%}
a{color:inherit}
.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hp{position:absolute!important;left:-9999px;width:1px;height:1px;opacity:0}
.skip{position:absolute;left:-9999px;top:8px;z-index:100;background:#fff;padding:8px 14px;border-radius:999px}
.skip:focus{left:8px}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* ---------- header: visible text, solid once scrolled / on inner pages ---------- */
.vh{color:var(--ink);position:fixed;transition:background .3s ease,box-shadow .3s ease,backdrop-filter .3s ease}
.vh--solid{position:sticky;background:rgba(255,255,255,.9);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 1px 0 var(--line)}
.vh--scrolled{background:rgba(255,255,255,.82);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 1px 0 var(--line)}
.vh__left{display:flex;align-items:center}
.vh__cart{position:relative;text-decoration:none}
.vh__badge{position:absolute;top:6px;right:4px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--accent);color:#fff;
           font-size:11px;font-weight:700;line-height:18px;text-align:center}
.vh__badge[hidden]{display:none}
@media (max-width:749px){
  .vh__nav{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;padding:8px 12px 14px;
           background:#fff;box-shadow:0 18px 30px -18px rgba(13,62,64,.35)}
  .vh__nav.open{display:flex}
  .vh__nav a{height:44px;font-size:16px}
}

/* ---------- toasts ---------- */
.toasts{position:fixed;top:68px;left:50%;transform:translateX(-50%);z-index:60;display:flex;flex-direction:column;gap:8px;width:min(92vw,420px)}
.toast{padding:12px 16px;border-radius:14px;background:#fff;border:1px solid var(--border);box-shadow:0 14px 34px -16px rgba(13,62,64,.4);
       color:var(--ink);font-weight:500;transition:opacity .4s ease,transform .4s ease}
.toast--ok{border-color:rgba(30,139,154,.35)}
.toast--error{border-color:rgba(180,35,44,.35);color:var(--danger)}
.toast.out{opacity:0;transform:translateY(-8px)}

/* ---------- buy card additions ---------- */
.vlc-nombre a{color:inherit;text-decoration:none}
.vlc-nombre a:hover{color:var(--accent)}
.vlc-antes{font-size:.45em;color:var(--muted);letter-spacing:-.01em}
.vlc-agotado{color:var(--danger);font-weight:700;margin-top:6px}
.vlc-form{margin-top:auto}
.vlc-btn{border:0;cursor:pointer;width:100%;font-family:inherit}
.vlc-btn:disabled{opacity:.5;cursor:not-allowed;transform:none;filter:none}
@media (max-width:860px){.vlc-form{margin-top:18px}}

/* ---------- store pages ---------- */
.sp-wrap{max-width:1120px;margin:0 auto;padding:clamp(28px,6vh,64px) clamp(16px,5vw,48px) clamp(48px,8vh,96px);color:var(--text)}
.sp-narrow{max-width:720px}
.sp-cab{margin-bottom:28px}
.sp-h1{font-weight:700;font-size:clamp(32px,4vw,52px);line-height:1.05;letter-spacing:-.035em;color:var(--ink);margin:10px 0 0}
.sp-h2{font-weight:700;font-size:20px;letter-spacing:-.02em;color:var(--ink);margin:0 0 16px}
.sp-h3{font-weight:700;font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin:22px 0 8px}
.sp-lead{font-size:18px;line-height:1.5;margin:12px 0 0;max-width:36em}
.sp-muted{color:var(--muted)}
.sp-card{background:var(--surface);border:1px solid var(--border);border-radius:24px;padding:clamp(18px,2.4vw,28px)}
.sp-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:20px;align-items:start}
@media (max-width:860px){.sp-grid{grid-template-columns:1fr}}
.sp-empty{text-align:center;padding:48px 24px}
.sp-empty p{font-size:18px;color:var(--ink);margin:0 0 18px}
.sp-btn-inline{display:inline-flex;width:auto}
.sp-alert{background:#FDF2F2;border:1px solid rgba(180,35,44,.25);color:var(--danger);border-radius:16px;padding:12px 16px;margin-bottom:16px;font-weight:500}
.sp-ok{color:var(--ok);font-weight:600;text-align:center}
.sp-link{display:inline-block;margin-top:14px;background:none;border:0;padding:0 0 2px;font:inherit;font-weight:500;font-size:15px;color:var(--ink);
         text-decoration:none;border-bottom:1px solid rgba(47,58,61,.3);cursor:pointer}
.sp-link:hover{border-color:var(--ink)}

/* cart lines */
.sp-lines{list-style:none;margin:0;padding:0}
.sp-line{display:grid;grid-template-columns:64px minmax(0,1fr) 128px 104px 36px;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}
.sp-line:first-child{padding-top:0}
.sp-thumb{width:64px;height:auto;aspect-ratio:711/1286;object-fit:contain;background:#fff;border-radius:12px;padding:4px}
.sp-line__name{font-weight:600;color:var(--ink);text-decoration:none;font-size:16px}
.sp-line__info{display:flex;flex-direction:column}
.sp-line__total{color:var(--ink);text-align:right;font-variant-numeric:tabular-nums}
.sp-qty input{width:72px;height:44px;border-radius:12px;border:1px solid var(--border);background:#fff;padding:0 10px;font:inherit;font-size:16px;color:var(--ink)}
.sp-stepper{display:flex;align-items:center;height:44px;border:1px solid var(--border);border-radius:999px;background:#fff;overflow:hidden}
.sp-stepper button{width:38px;height:100%;border:0;background:none;font:inherit;font-size:18px;color:var(--ink);cursor:pointer}
.sp-stepper button:hover{background:var(--surface)}
.sp-stepper label{flex:1;display:flex}
.sp-stepper input{width:100%;min-width:0;height:42px;border:0;text-align:center;font:inherit;font-size:16px;font-weight:600;color:var(--ink);background:transparent;-moz-appearance:textfield}
.sp-stepper input::-webkit-outer-spin-button,.sp-stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.is-busy .sp-line__total,[data-cart]:has(.is-busy) [data-cart-totals]{opacity:.55;transition:opacity .15s}
.sp-x{width:36px;height:36px;border-radius:50%;border:1px solid var(--border);background:#fff;color:var(--muted);font-size:20px;line-height:1;cursor:pointer}
.sp-x:hover{color:var(--danger);border-color:rgba(180,35,44,.3)}
@media (max-width:560px){
  .sp-line{grid-template-columns:52px minmax(0,1fr) auto;grid-template-areas:"img info x" "img qty total"}
  .sp-thumb{grid-area:img;width:52px}.sp-line__info{grid-area:info}.sp-x{grid-area:x;justify-self:end}
  .sp-stepper{grid-area:qty;width:128px}.sp-line__total{grid-area:total;align-self:center}
}

/* summary */
.sp-summary{position:sticky;top:76px;display:flex;flex-direction:column;gap:6px}
.sp-totals{margin:8px 0 18px}
.sp-totals>div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px solid var(--line)}
.sp-totals dt,.sp-totals dd{margin:0}
.sp-totals dd{font-variant-numeric:tabular-nums;color:var(--ink)}
.sp-disc dd{color:var(--ok)}
.sp-total dt,.sp-total dd{font-weight:700;font-size:20px;color:var(--ink)}
.sp-coupon{display:flex;gap:8px}
.sp-coupon input{flex:1;min-width:0;height:44px;border-radius:999px;border:1px solid var(--border);background:#fff;padding:0 16px;font:inherit;text-transform:uppercase}
.sp-coupon button{height:44px;border-radius:999px;border:1px solid var(--border);background:#fff;padding:0 18px;font:inherit;font-weight:600;color:var(--ink);cursor:pointer}
.sp-mini{list-style:none;margin:0;padding:0}
.sp-mini li{display:flex;justify-content:space-between;gap:12px;padding:8px 0;color:var(--ink)}

/* forms */
.sp-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px;margin-bottom:26px}
.sp-f{display:flex;flex-direction:column;gap:6px}
.sp-f--full{grid-column:1/-1}
.sp-f>span{font-size:13px;font-weight:600;color:var(--ink)}
.sp-f input,.sp-f select,.sp-f textarea{width:100%;min-height:46px;border-radius:14px;border:1px solid var(--border);background:#fff;padding:10px 14px;
     font:inherit;font-size:16px;color:var(--ink)}
.sp-f textarea{resize:vertical}
.sp-f [aria-invalid=true]{border-color:rgba(180,35,44,.55)}
.sp-err{color:var(--danger);font-size:13px;font-weight:500}
@media (max-width:560px){.sp-fields{grid-template-columns:1fr}}
.sp-pay{display:flex;flex-direction:column;gap:10px;margin-bottom:18px}
.sp-radio{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border-radius:16px;border:1px solid var(--border);background:#fff;cursor:pointer}
.sp-radio:has(input:checked){border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.sp-radio input{margin-top:4px;accent-color:var(--accent)}
.sp-radio b{display:block;color:var(--ink)}
.sp-radio small{display:block;color:var(--muted);font-size:13px}
.sp-check{display:flex;gap:10px;align-items:flex-start;font-size:14px}
.sp-check input{margin-top:4px;accent-color:var(--accent)}

/* order page */
.sp-steps{list-style:none;display:flex;gap:6px;margin:0 0 24px;padding:0;counter-reset:s}
.sp-steps li{flex:1;display:flex;flex-direction:column;gap:8px;font-size:13px;color:var(--muted);font-weight:500}
.sp-steps li span{height:6px;border-radius:999px;background:#E3ECEE}
.sp-steps li.on{color:var(--ink)}
.sp-steps li.on span{background:linear-gradient(135deg,var(--aqua),var(--accent))}
@media (max-width:560px){.sp-steps li{font-size:11px}}
.sp-bank{margin-bottom:20px}
.sp-bank pre{font:inherit;white-space:pre-wrap;background:#fff;border:1px solid var(--border);border-radius:14px;padding:14px;margin:0 0 10px;color:var(--ink)}
.sp-addr{color:var(--ink);line-height:1.6}
.sp-hist{list-style:none;margin:0;padding:0;font-size:13px}
.sp-hist li{padding:6px 0;border-top:1px solid var(--line)}
.sp-hist time{color:var(--muted);margin-right:6px}

/* text pages */
.sp-prose{font-size:17px;line-height:1.65;color:var(--text);margin-bottom:28px}
.sp-prose h2{color:var(--ink);font-size:22px;letter-spacing:-.02em;margin:28px 0 8px}
.sp-prose p{margin:0 0 14px}

/* product page */
.pd{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,5vw,72px);align-items:start}
.pd__media{background:radial-gradient(70% 60% at 50% 45%,#fff 0%,#F6FAFB 75%,#EDF4F5 100%);border:1px solid var(--border);border-radius:28px;
           padding:clamp(24px,4vw,48px);display:flex;justify-content:center;position:sticky;top:76px}
.pd__media>img{max-height:620px;object-fit:contain}
.pd__duo{display:flex;gap:6%;justify-content:center;align-items:flex-end;width:100%}
.pd__duo img{width:42%;height:auto;filter:drop-shadow(0 24px 30px rgba(13,62,64,.22))}
.pd__duo:not(.pd__duo--cam) img{width:52%}
.pd__info .vlc-tag{display:inline-block}
.pd__info .vlc-precio{margin-top:10px}
.pd__info .vlc-lista{margin:18px 0 22px}
.pd__buy{display:flex;gap:12px;align-items:center;margin-bottom:12px}
.pd__buy .vlc-btn{flex:1}
.pd__desc{margin-top:28px;font-size:16px;line-height:1.65}
.pd__desc p{margin:0 0 12px}
.pd-others{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}
.pd-card{display:flex;gap:14px;align-items:center;padding:14px;border-radius:20px;background:var(--surface);border:1px solid var(--border);text-decoration:none;color:var(--text)}
.pd-card img{width:52px}
.pd-card b{display:block;color:var(--ink)}
@media (max-width:860px){.pd{grid-template-columns:1fr}.pd__media{position:static}}

/* =========================================
   Reviews Page Custom Design
   ========================================= */
.rv-page { max-width: 1100px; margin: 0 auto; padding: 40px 20px 80px; }
.rv-header { text-align: center; margin-bottom: 40px; }
.rv-title { font-size: 32px; font-weight: 700; color: #111; margin: 0; }
.rv-subtitle { font-size: 18px; font-weight: 700; color: #111; margin-bottom: 24px; }

/* Summary Section */
.rv-summary { display: flex; align-items: center; gap: 40px; margin-bottom: 24px; }
.rv-bars { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.rv-bar-row { display: flex; align-items: center; gap: 12px; }
.rv-bar-label { width: 10px; font-size: 14px; color: #555; text-align: right; }
.rv-bar-track { flex: 1; height: 10px; background: #e5e7eb; border-radius: 5px; overflow: hidden; }
.rv-bar-fill { height: 100%; background: #facc15; border-radius: 5px; transition: width 0.5s ease; }

.rv-score { display: flex; flex-direction: column; align-items: center; min-width: 120px; }
.rv-score-number { font-size: 48px; font-weight: 400; color: #111; line-height: 1; margin-bottom: 4px; }
.rv-score-stars { color: #facc15; font-size: 18px; letter-spacing: 2px; margin-bottom: 6px; }
.rv-score-link { font-size: 13px; color: #2563eb; text-decoration: underline; font-weight: 500; }

/* Write Button */
.rv-write-btn { display: inline-flex; align-items: center; gap: 8px; background: #2563eb; color: #fff; padding: 10px 20px; border-radius: 20px; font-size: 14px; font-weight: 600; text-decoration: none; transition: background 0.2s; }
.rv-write-btn:hover { background: #1d4ed8; }
.rv-write-btn svg { width: 16px; height: 16px; }

/* Slider */
.rv-slider-wrap { position: relative; margin-top: 40px; display: flex; align-items: center; }
.rv-slider { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; scrollbar-width: none; -ms-overflow-style: none; }
.rv-slider::-webkit-scrollbar { display: none; }
.rv-card { scroll-snap-align: start; flex: 0 0 280px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; }
.rv-card:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }

.rv-nav { background: #fff; border: 1px solid #e5e7eb; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 5px rgba(0,0,0,0.1); z-index: 2; flex-shrink: 0; }
.rv-nav svg { width: 16px; height: 16px; color: #333; }
.rv-nav--prev { margin-right: 16px; }
.rv-nav--next { margin-left: 16px; }

/* Card Details */
.rv-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rv-avatar { width: 32px; height: 32px; border-radius: 50%; background: #2563eb; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; flex-shrink: 0; }
.rv-who { display: flex; flex-direction: column; line-height: 1.2; flex: 1; }
.rv-name { font-size: 14px; font-weight: 600; color: #111; }
.rv-time { font-size: 12px; color: #6b7280; }
.rv-flag { width: 20px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,0.1); object-fit: cover; }

.rv-card-stars { font-size: 14px; color: #d1d5db; letter-spacing: 1px; margin-bottom: 8px; }
.rv-card-stars .on { color: #facc15; }
.rv-card-msg { font-size: 14px; color: #374151; line-height: 1.5; margin: 0 0 12px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; }
.rv-card-img-wrap { margin-top: auto; border-radius: 8px; overflow: hidden; }
.rv-card-img { width: 100%; height: 140px; object-fit: cover; display: block; }

/* Modal */
.rv-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 1000; opacity: 0; pointer-events: none; transition: opacity 0.3s; padding: 20px; }
.rv-modal.is-open { opacity: 1; pointer-events: auto; }
.rv-modal-content { background: #fff; border-radius: 16px; padding: 32px; max-width: 500px; width: 100%; position: relative; transform: translateY(20px); transition: transform 0.3s; max-height: 90vh; overflow-y: auto; }
.rv-modal.is-open .rv-modal-content { transform: translateY(0); }
.rv-modal-close { position: absolute; top: 16px; right: 16px; background: transparent; border: none; font-size: 24px; cursor: pointer; color: #6b7280; line-height: 1; }
.rv-modal-close:hover { color: #111; }
.rv-modal-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.rv-avatar-lg { width: 48px; height: 48px; font-size: 20px; }
.rv-modal-img { width: 100%; border-radius: 12px; margin-top: 16px; }


