/* Institutional / static pages (Cómo comprar, FAQ, Garantía, Sobre, Contacto).
   Same dark system as the rest of the site: legible, spaced, quiet accents. */
.vh-system.template-page,
.vh-system.template-contact{background:var(--vh-bg)}

/* Page header */
.vh-system.template-page .page-header,
.vh-system.template-contact .page-header{max-width:820px;margin:0 auto;padding:clamp(48px,8vw,96px) 24px clamp(20px,3vw,34px)}
.vh-system.template-page .page-header .row,
.vh-system.template-contact .page-header .row{display:block}
.vh-system.template-page .page-header [class^="col"],
.vh-system.template-page .page-header [class*=" col"],
.vh-system.template-contact .page-header [class^="col"],
.vh-system.template-contact .page-header [class*=" col"]{max-width:100%;flex:0 0 100%;text-align:left!important}
.vh-system.template-page .page-header h1,
.vh-system.template-contact .page-header h1{position:relative;text-align:left!important;font-size:clamp(34px,5.4vw,64px)!important;font-weight:900;letter-spacing:-.05em;line-height:1.03;margin:0;padding-bottom:20px;color:var(--vh-text)}
.vh-system.template-page .page-header h1::before,
.vh-system.template-contact .page-header h1::before{content:attr(data-eyebrow);display:block;margin-bottom:14px;font:500 11px/1.4 "Open Sans",Arial,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:var(--vh-accent)}
.vh-system.template-page .page-header h1::after,
.vh-system.template-contact .page-header h1::after{content:"";position:absolute;left:0;bottom:0;width:56px;height:4px;border-radius:3px;background:var(--vh-accent);box-shadow:0 0 18px -2px var(--vh-accent)}

/* Body */
.vh-system.template-page .user-content{padding:0 24px clamp(64px,10vw,120px)}
.vh-system.template-page .user-content > .container,
.vh-system.template-contact .contact-page > .container{max-width:820px;padding:0}
.vh-system.template-page .user-content .row{display:block;margin:0}
.vh-system.template-page .user-content [class^="col"],
.vh-system.template-page .user-content [class*=" col"]{max-width:100%;flex:0 0 100%;padding:0}

.vh-system.template-page .user-content,
.vh-system.template-page .user-content p,
.vh-system.template-page .user-content li{color:#c7c9d1;font-weight:300;font-size:clamp(15px,1.05vw,17px);line-height:1.75}
.vh-system.template-page .user-content p{margin:0 0 18px}
/* empty spacer paragraphs (the "&nbsp;" ones are removed in JS) */
.vh-system.template-page .user-content p:empty{display:none}
.vh-system.template-page .user-content p.vh-p-blank{display:none}
.vh-system.template-page .user-content > *:first-child,
.vh-system.template-page .user-content .col > *:first-child{margin-top:0}

/* promoted headings (see vanhaus-interactions.js enhanceInstitutional) */
.vh-page-heading{margin:44px 0 16px;font-weight:800;letter-spacing:-.03em;line-height:1.15;color:var(--vh-text)}
.vh-page-heading:first-child{margin-top:0}
h2.vh-page-heading{font-size:clamp(22px,2.6vw,30px)}
h3.vh-page-heading{font-size:clamp(18px,2vw,22px);color:#e7e9ef}
.vh-page-heading::before{content:"";display:inline-block;width:20px;height:2px;border-radius:2px;background:var(--vh-accent);vertical-align:middle;margin-right:12px;transform:translateY(-3px)}

.vh-system.template-page .user-content h1,
.vh-system.template-page .user-content h2,
.vh-system.template-page .user-content h3,
.vh-system.template-page .user-content h4{color:var(--vh-text);letter-spacing:-.03em;margin:40px 0 16px;line-height:1.2}
.vh-system.template-page .user-content h2{font-size:clamp(22px,2.6vw,30px)}
.vh-system.template-page .user-content h3{font-size:clamp(18px,2vw,22px)}

.vh-system.template-page .user-content a{color:var(--vh-accent);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.vh-system.template-page .user-content a:hover{text-decoration-thickness:2px}
.vh-system.template-page .user-content strong,
.vh-system.template-page .user-content b{color:var(--vh-text);font-weight:600}
.vh-system.template-page .user-content ul,
.vh-system.template-page .user-content ol{margin:0 0 20px;padding-left:1.4em}
.vh-system.template-page .user-content li{margin:0 0 8px}
.vh-system.template-page .user-content ul li::marker{color:var(--vh-accent)}
.vh-system.template-page .user-content hr{border:0;border-top:1px solid var(--vh-border);margin:34px 0}
.vh-system.template-page .user-content blockquote{margin:24px 0;padding:6px 0 6px 20px;border-left:3px solid var(--vh-accent);color:#d7dae1}
.vh-system.template-page .user-content img{max-width:100%;height:auto;border-radius:12px;margin:16px 0}
.vh-system.template-page .user-content table{width:100%;border-collapse:collapse;margin:22px 0;font-size:14px}
.vh-system.template-page .user-content th,
.vh-system.template-page .user-content td{border:1px solid var(--vh-border);padding:10px 12px;text-align:left;color:#d7dae1}
.vh-system.template-page .user-content th{background:var(--vh-surface);color:var(--vh-text)}

/* Contact page */
.vh-system.template-contact .contact-page{max-width:900px;margin:0 auto;padding:8px 24px clamp(64px,10vw,120px)}
.vh-system.template-contact .contact-page .row{display:flex;flex-wrap:wrap;gap:clamp(24px,4vw,56px);margin:0;justify-content:flex-start}
.vh-system.template-contact .contact-page [class^="col"],
.vh-system.template-contact .contact-page [class*=" col"]{flex:1 1 280px;max-width:none;padding:0}
.vh-system.template-contact .contact-page h5{color:var(--vh-text);font-weight:700;letter-spacing:-.02em}
.vh-system.template-contact .contact-page p,
.vh-system.template-contact .contact-page label{color:#c7c9d1}
.vh-system.template-contact .contact-page a{color:var(--vh-accent)}
.vh-system.template-contact .contact-page .alert{border-radius:12px;border:1px solid var(--vh-border);background:var(--vh-surface);color:var(--vh-text)}
.vh-system.template-contact .contact-page .alert-success{border-color:color-mix(in srgb,#4ade80 40%,var(--vh-border))}
.vh-system.template-contact .contact-page .alert-danger{border-color:color-mix(in srgb,#f87171 40%,var(--vh-border))}

/* A focused way back into the store when a URL no longer exists. */
.vh-system.template-404 .vh-not-found{display:grid;place-items:center;min-height:min(690px,calc(100svh - 136px));padding:64px 24px 88px;background:radial-gradient(ellipse 55% 65% at 50% 35%,#a2befe12,transparent 80%),#0a0a0a;text-align:center}
.vh-system.template-404 .vh-not-found__inner{width:min(100%,680px);margin:auto}
.vh-system.template-404 .vh-not-found__eyebrow{display:block;color:#a2befe;font:700 11px/1.4 "Open Sans",Arial,sans-serif;letter-spacing:.2em}
.vh-system.template-404 .vh-not-found__number{margin:8px 0 2px;color:#a2befe;font:800 clamp(100px,17vw,210px)/.95 "Sora","Open Sans",Arial,sans-serif;letter-spacing:-.09em;text-indent:-.09em;text-shadow:0 16px 55px #a2befe22}
.vh-system.template-404 .vh-not-found h1{margin:20px 0 12px;color:#f5f6f8;font:700 clamp(29px,4.2vw,52px)/1.1 "Sora","Open Sans",Arial,sans-serif;letter-spacing:-.055em}
.vh-system.template-404 .vh-not-found p{max-width:510px;margin:0 auto;color:#c0c4cd;font:400 clamp(14px,1.2vw,16px)/1.65 "Open Sans",Arial,sans-serif}
.vh-system.template-404 .vh-not-found__actions{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;margin-top:32px}
.vh-system.template-404 .vh-not-found__actions a{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:52px;padding:13px 23px;border-radius:10px;font:700 13px/1.2 "Open Sans",Arial,sans-serif;text-decoration:none;transition:background .18s ease,border-color .18s ease,transform .18s ease}
.vh-system.template-404 .vh-not-found__actions a:hover{transform:translateY(-2px)}
.vh-system.template-404 .vh-not-found__actions a:focus-visible{outline:2px solid #a2befe;outline-offset:3px}
.vh-system.template-404 .vh-not-found__primary{background:#a2befe;color:#0b0b0b!important;border:1px solid #a2befe}
.vh-system.template-404 .vh-not-found__primary:hover{background:#b8ccff;border-color:#b8ccff}
.vh-system.template-404 .vh-not-found__secondary{background:transparent;color:#f3f5f8!important;border:1px solid #545963}
.vh-system.template-404 .vh-not-found__secondary:hover{border-color:#a2befe;background:#a2befe12}
@media(max-width:767px){
  .vh-system.template-404 .vh-not-found{min-height:calc(100svh - 90px);padding:56px 20px 70px}
  .vh-system.template-404 .vh-not-found__number{font-size:clamp(100px,31vw,148px)}
  .vh-system.template-404 .vh-not-found h1{max-width:13ch;margin:22px auto 12px}
  .vh-system.template-404 .vh-not-found__actions{flex-direction:column;align-items:stretch;margin-top:28px}
  .vh-system.template-404 .vh-not-found__actions a{width:100%}
}
