/* =========================================================
   EviaStore — estilos del tema hijo (sobre Blocksy)
   ========================================================= */
:root:root{
  --evs-ink:#001621; --evs-navy:#1E223D; --evs-lime:#CCFF02; --evs-orange:#F54F1B;
  --evs-sand:#E6D5B7; --evs-olive:#95BA3B; --evs-bg:#F7F5F0; --evs-line:#E7E3DA; --evs-muted:#6B7280;
  --evs-r:16px; --evs-shadow:0 6px 24px rgba(0,22,33,.08);
  /* Paleta de Blocksy */
  --theme-palette-color-1:#001621; --theme-palette-color-2:#1E223D; --theme-palette-color-3:#3D4451;
  --theme-palette-color-4:#001621; --theme-palette-color-5:#E7E3DA; --theme-palette-color-6:#F2EFE8;
  --theme-palette-color-7:#F7F5F0; --theme-palette-color-8:#FFFFFF;
  --theme-font-family:Inter,system-ui,sans-serif;
  --theme-button-border-radius:999px;
}
body{background:var(--evs-bg);font-family:Inter,system-ui,sans-serif}
h1,h2,h3,h4,.site-title,.woocommerce-loop-product__title,.product_title{font-family:"Space Grotesk",Inter,sans-serif;letter-spacing:-.02em}

/* ---------- Barra superior ---------- */
.evs-topbar{background:var(--evs-lime);color:var(--evs-ink);text-align:center;font-size:13px;font-weight:600;padding:7px 12px}

/* ---------- Encabezado oscuro ---------- */
#header [data-row]{background:var(--evs-ink)!important;border:0!important}
#header [data-row="middle"]{--height:72px}
#header .site-title a,#header .site-title,#header .site-description{color:#fff!important}
#header .ct-menu-link,#header [data-id="menu"] a,#header .menu a{color:rgba(255,255,255,.88)!important}
#header .ct-menu-link:hover,#header .menu a:hover,#header .current-menu-item>a{color:var(--evs-lime)!important}
#header .ct-header-trigger,#header .ct-icon,#header svg{color:#fff;fill:currentColor}
#header .site-logo-container img,#header .default-logo{max-height:44px;width:auto}
#header [data-id="cart"] .ct-dynamic-count-cart,#header .ct-dynamic-count-cart{background:var(--evs-orange)!important;color:#fff!important}
.ct-header-cta .ct-button,#header .ct-button{background:var(--evs-lime)!important;color:var(--evs-ink)!important;border-color:var(--evs-lime)!important}

/* ---------- Botones ---------- */
.evs-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;padding:13px 24px;font-weight:600;font-size:15px;text-decoration:none!important;transition:transform .15s,box-shadow .15s}
.evs-btn:hover{transform:translateY(-1px)}
.evs-btn-lime{background:var(--evs-lime);color:var(--evs-ink)!important}
.evs-btn-lime:hover{box-shadow:0 6px 18px rgba(204,255,2,.45)}
.evs-btn-ghost{border:1.5px solid rgba(255,255,255,.4);color:#fff!important}
.evs-btn-dark{background:var(--evs-ink);color:var(--evs-lime)!important}
.evs-pill{display:inline-block;padding:6px 14px;border-radius:999px;background:rgba(204,255,2,.14);color:var(--evs-lime);font-size:13px;font-weight:600;border:1px solid rgba(204,255,2,.35)}
.evs-pill-dark{background:var(--evs-ink);border-color:var(--evs-ink)}

/* ---------- Portada ---------- */
.evs-home{display:block}
.evs-wrap{max-width:1240px;margin:0 auto;padding:0 20px}
.evs-section{padding-top:56px}
.evs-section h2{font-size:clamp(24px,3vw,32px);margin:0 0 20px;color:var(--evs-ink)}
.evs-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.evs-head a{font-weight:600;color:var(--evs-ink);text-decoration:none;border-bottom:2px solid var(--evs-lime)}
.evs-hero{background:radial-gradient(1100px 480px at 85% 20%,rgba(204,255,2,.14),transparent 60%),linear-gradient(160deg,var(--evs-ink),var(--evs-navy));color:#fff;overflow:hidden}
.evs-hero-in{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center;padding-top:64px;padding-bottom:72px}
.evs-hero h1{font-size:clamp(34px,5vw,58px);line-height:1.05;margin:18px 0;color:#fff}
.evs-hl{color:var(--evs-lime)}
.evs-hero p{font-size:17px;opacity:.88;max-width:540px;color:#fff}
.evs-cta{display:flex;gap:12px;flex-wrap:wrap;margin:26px 0}
.evs-trust-row{display:flex;gap:18px;flex-wrap:wrap;list-style:none;padding:0;margin:0;font-size:14px;opacity:.8}
.evs-hero-art{position:relative;aspect-ratio:1;max-width:440px;width:100%;justify-self:center;display:grid;place-items:center}
.evs-hero-art img{width:72%;position:relative;z-index:1;filter:drop-shadow(0 20px 40px rgba(0,0,0,.4))}
.evs-blob{position:absolute;inset:8%;border-radius:42% 58% 63% 37%/45% 40% 60% 55%;background:conic-gradient(from 90deg,rgba(204,255,2,.25),rgba(245,79,27,.2),rgba(149,186,59,.25),rgba(204,255,2,.25));animation:evs-spin 18s linear infinite}
@keyframes evs-spin{to{transform:rotate(360deg)}}
.evs-float{position:absolute;z-index:2;background:rgba(255,255,255,.1);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.18);padding:8px 14px;border-radius:999px;font-size:14px;animation:evs-fl 5s ease-in-out infinite}
.evs-f1{top:10%;left:0}.evs-f2{bottom:14%;left:6%;animation-delay:-2s}.evs-f3{top:30%;right:0;animation-delay:-3.5s}
@keyframes evs-fl{50%{transform:translateY(-10px)}}
@media (prefers-reduced-motion:reduce){.evs-blob,.evs-float{animation:none}}

.evs-cats{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px}
.evs-cat{background:#fff;border:1px solid var(--evs-line);border-radius:var(--evs-r);padding:20px;text-decoration:none!important;color:var(--evs-ink)!important;transition:.2s;display:block}
.evs-cat:hover{border-color:var(--evs-ink);box-shadow:var(--evs-shadow);transform:translateY(-2px)}
.evs-cat i{font-style:normal;font-size:30px;display:block;margin-bottom:10px}
.evs-cat b{display:block;font-family:"Space Grotesk",sans-serif;font-size:17px}
.evs-cat small{color:var(--evs-muted)}

.evs-promo{background:var(--evs-lime);color:var(--evs-ink);margin-top:64px}
.evs-promo-in{display:grid;grid-template-columns:1.3fr 1fr;gap:40px;align-items:center;padding-top:56px;padding-bottom:56px}
.evs-promo h2{font-size:clamp(26px,3.4vw,38px);margin:14px 0;color:var(--evs-ink)}
.evs-steps{list-style:none;padding:0;margin:0;display:grid;gap:12px}
.evs-steps li{background:var(--evs-ink);color:#fff;border-radius:var(--evs-r);padding:16px 18px;display:flex;align-items:center;gap:14px;font-weight:600}
.evs-steps b{background:var(--evs-lime);color:var(--evs-ink);width:32px;height:32px;border-radius:50%;display:grid;place-items:center;font-family:"Space Grotesk",sans-serif;flex:none}

.evs-trust{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;padding-top:56px;padding-bottom:64px}
.evs-trust div{background:#fff;border:1px solid var(--evs-line);border-radius:var(--evs-r);padding:20px;display:flex;flex-direction:column;gap:4px;color:var(--evs-ink)}
.evs-trust span{font-size:26px}.evs-trust small{color:var(--evs-muted)}

/* ---------- Tarjetas de producto (portada, tienda y categorías) ---------- */
ul.products{gap:20px}
ul.products li.product{background:#fff;border:1px solid var(--evs-line);border-radius:var(--evs-r);overflow:hidden;padding:0 0 16px!important;transition:.2s;position:relative}
ul.products li.product:hover{box-shadow:var(--evs-shadow);transform:translateY(-3px)}
ul.products li.product>*:not(figure):not(.ct-media-container):not(a.woocommerce-LoopProduct-link){margin-left:16px;margin-right:16px}
ul.products li.product figure,ul.products li.product .ct-media-container{margin:0 0 12px!important;border-radius:0}
ul.products li.product .ct-media-container,ul.products li.product figure .ct-media-container{background:linear-gradient(135deg,#EFEBE2,#E3DED2)}
ul.products li.product img{border-radius:0!important}
ul.products li.product .woocommerce-loop-product__title{font-size:16px!important;line-height:1.3;margin-bottom:6px}
ul.products li.product .woocommerce-loop-product__title a{color:var(--evs-ink)}
ul.products li.product .price,.product .price{font-family:"Space Grotesk",sans-serif;font-weight:700;color:var(--evs-ink)!important}
ul.products li.product .price{font-size:19px}
.price del{color:var(--evs-muted)!important;font-weight:400;opacity:.8}
.price ins{text-decoration:none}
.evs-bs{display:block;font-family:Inter,sans-serif;font-weight:500;font-size:13px;color:var(--evs-muted);margin-top:2px}
.product .summary .evs-bs{font-size:15px}
ul.products li.product .ct-woo-card-actions,ul.products li.product .button{margin-top:10px}
ul.products li.product .button,ul.products li.product .add_to_cart_button,.single_add_to_cart_button,.woocommerce .button.alt,.wc-block-components-button:not(.is-link){background:var(--evs-lime)!important;color:var(--evs-ink)!important;border-radius:999px!important;font-weight:600!important;border:0!important}
ul.products li.product .button{width:100%;justify-content:center}
ul.products li.product .button:hover,.single_add_to_cart_button:hover{box-shadow:0 6px 18px rgba(204,255,2,.45)}
.onsale,.ct-woo-badge-onsale,[class*="onsale"]{background:var(--evs-orange)!important;color:#fff!important;border-radius:999px!important;font-weight:700}
.ct-woo-card-extra .ct-wishlist-button-archive{color:var(--evs-ink)}

/* ---------- Ficha de producto ---------- */
.product .summary .product_title{color:var(--evs-ink)}
.product .summary .price{font-size:28px}
.evs-pers{background:#F8FFE0;border:2px dashed var(--evs-olive);border-radius:var(--evs-r);padding:16px 18px;margin:18px 0}
.evs-pers p{margin:6px 0 12px}
.evs-wa-inline{display:inline-block;margin-top:14px;font-weight:600;color:#128C4A!important;text-decoration:none!important}
.variations select{border-radius:10px}

/* ---------- Pie de página ---------- */
#footer [data-row],.ct-footer [data-row]{background:var(--evs-ink)!important;color:rgba(255,255,255,.8)}
#footer a,.ct-footer a{color:rgba(255,255,255,.85)}
#footer a:hover,.ct-footer a:hover{color:var(--evs-lime)}

/* ---------- WhatsApp flotante ---------- */
.evs-wa-float{position:fixed;right:18px;bottom:18px;z-index:999;width:58px;height:58px;border-radius:50%;background:#25D366;display:grid;place-items:center;box-shadow:0 8px 24px rgba(37,211,102,.45)}
.evs-wa-float:hover{transform:scale(1.05)}

/* ---------- Responsive ---------- */
@media (max-width:980px){
  .evs-trust{grid-template-columns:repeat(2,1fr)}
  .evs-cats{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px}
  .evs-cat{min-width:160px;scroll-snap-align:start}
}
@media (max-width:720px){
  .evs-hero-in{grid-template-columns:1fr;padding-top:36px;padding-bottom:44px}
  .evs-hero-art{max-width:240px;order:-1}
  .evs-promo-in{grid-template-columns:1fr}
  .evs-trust{grid-template-columns:1fr}
  ul.products li.product .woocommerce-loop-product__title{font-size:14px!important}
  ul.products li.product .price{font-size:16px}
  ul.products li.product>*:not(figure):not(.ct-media-container):not(a.woocommerce-LoopProduct-link){margin-left:10px;margin-right:10px}
}

/* ---------- Logo y nombre en una línea ---------- */
#header .site-branding{display:flex!important;flex-direction:row!important;align-items:center;gap:12px}
#header .site-branding .site-title-container{margin:0!important}
#header .site-title{font-family:"Space Grotesk",sans-serif;font-size:22px!important;font-weight:700;line-height:1}
@media (max-width:720px){
  #header .site-logo-container img,#header .default-logo{max-height:34px}
  #header .site-title{font-size:18px!important}
  .evs-hero-art{max-width:200px}
  .evs-float{font-size:12px;padding:6px 10px}
}
