/* WordPress-only additions on top of main.css (the original homepage styles):
   header cart, product price, +18 gate, inner pages and a first WooCommerce skin. */

/* === Header: cart + account === */
.header-login{position:relative;text-decoration:none}
.header-cart-count{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--color-accent);color:var(--color-foreground-on-accent);font:700 10px/18px var(--primitive-fontFamily-mono);text-align:center}
.header-cart-count[hidden]{display:none}
.header-login svg{width:18px;height:18px}
/* WooCommerce's ".woocommerce-page img{height:auto}" outranks main.css's
   .brand-mark on shop pages and blows the logo up to its natural size. */
.site-header .brand-mark{height:38px;max-width:none}

/* === Product price on homepage cards === */
.product-price{margin:-8px 0 20px;font:700 22px/1 var(--primitive-fontFamily-display);letter-spacing:-.02em;color:var(--color-foreground-on-accent)}
.product-price del{opacity:.45;font-size:.7em;margin-right:8px}
.product-price ins{text-decoration:none}
.product-deal{margin:-12px 0 20px;font:11px var(--primitive-fontFamily-mono);letter-spacing:.1em;text-transform:uppercase;opacity:.8}
.product-more{display:block;margin:-18px 0 30px;font:11px var(--primitive-fontFamily-mono);letter-spacing:.12em;color:var(--color-foreground-on-alt);text-decoration:underline;text-underline-offset:4px}
.product-more:hover{color:var(--color-primary)}
.product-media>a{display:contents}

/* === +18 age gate === */
html.age-gate-open,html.age-gate-open body{overflow:hidden}
.age-gate{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:24px;background:#020304f2;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.age-gate[hidden]{display:none}
.age-gate-box{max-width:440px;text-align:center}
.age-gate-logo{width:120px;margin-bottom:28px}
.age-gate h2{margin:12px 0 16px;font-size:clamp(34px,8vw,52px);line-height:.92;letter-spacing:-.04em}
.age-gate h2 span{color:var(--color-accent)}
.age-gate-note{margin:0 0 30px;color:var(--color-foreground-muted);font-size:15px;line-height:1.45}
.age-gate-actions{display:flex;flex-direction:column;align-items:center;gap:18px}
.age-gate .feature-cta{margin:0;border:0;cursor:pointer;padding:18px 34px;font-size:13px}
.age-gate-no{font:11px var(--primitive-fontFamily-mono);letter-spacing:.1em;color:var(--color-foreground-subtle)}

/* === Inner pages (carrito, checkout, mi cuenta, legales, tienda) === */
.vp-page{min-height:70vh;max-width:1180px;margin:0 auto;padding:140px 6vw 100px}
.vp-entry-title,.vp-shop .page-title,.vp-shop .product_title{font-size:clamp(34px,5vw,58px);line-height:.92;letter-spacing:-.04em;margin:0 0 36px;text-transform:uppercase}
.vp-entry-content{line-height:1.6;color:var(--color-foreground-muted)}
.vp-page a{color:var(--color-accent)}
.vp-page .feature-cta{color:var(--color-foreground)}

/* === WooCommerce skin (first pass) === */
/* Colombia is the only allowed country (inc/woocommerce.php), so the block checkout's
   one-option País/Región select has nothing to ask; its value is still sent. */
.wc-block-components-address-form__country{display:none!important}
/* Ciudad: the text input is replaced by a municipality list (assets/js/checkout.js). */
/* By selector, not by a class on the field: React rewrites the field's className when it
   shows a validation error, which would bring the text input back. */
.wc-block-components-address-form:has(.vp-city) .wc-block-components-address-form__city{display:none!important}
/* Same slot as the Departamento select: half width, side by side. */
.vp-city{flex:1 0 calc(50% - 12px);box-sizing:border-box}
.vp-city select:disabled{opacity:.55;cursor:not-allowed}
.vp-city.has-error .wc-blocks-components-select__container{border-color:#cc1818!important}
.vp-city-error{margin:6px 0 0;font-size:13px;color:#ff6b6b}
.woocommerce .button,.woocommerce button.button,.woocommerce a.button,.woocommerce input.button,.woocommerce #respond input#submit,
.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt,.wc-block-components-button:not(.is-link){
  background:var(--color-primary)!important;color:var(--color-foreground)!important;border-radius:var(--button-primary-radius)!important;
  font:12px var(--primitive-fontFamily-mono)!important;letter-spacing:.04em;text-transform:uppercase;padding:15px 26px!important;border:0!important}
.woocommerce .button:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,.wc-block-components-button:not(.is-link):hover{background:var(--color-accent)!important;color:var(--color-foreground-on-accent)!important}
.woocommerce input.input-text,.woocommerce textarea,.woocommerce select,.woocommerce form .form-row input.input-text,
.wc-block-components-text-input input,.wc-block-components-combobox .components-combobox-control__input,.wc-blocks-components-select__select{
  background:#0c0e0f!important;color:var(--color-foreground)!important;border:1px solid var(--color-border-default)!important;border-radius:10px!important;padding:12px 14px}
.woocommerce form .form-row label,.wc-block-components-text-input label{color:var(--color-foreground-muted)!important}
.woocommerce table.shop_table,.woocommerce-cart table.cart{border-color:var(--color-border-subtle);color:var(--color-foreground)}
.woocommerce table.shop_table td,.woocommerce table.shop_table th{border-color:var(--color-border-subtle)}
.woocommerce-message,.woocommerce-info,.woocommerce-error{background:#0c0e0f;color:var(--color-foreground);border-top-color:var(--color-accent)}
/* Product page + shop notices ("añadido", errors): one compact line like the cart's, with
   WooCommerce's "Ver carrito" button as a lime link on the right instead of a big blue pill. */
.pd-notices .woocommerce-message,.pd-notices .woocommerce-info,.pd-notices .woocommerce-error,
.shop-notices .woocommerce-message,.shop-notices .woocommerce-info,.shop-notices .woocommerce-error{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 16px;margin:0 0 8px;padding:14px 18px 14px 48px;
  border:1px solid rgba(255,255,255,.12);border-radius:14px;background:#0b0d0e;color:var(--color-foreground);
  font:13px/1.4 var(--primitive-fontFamily-mono);text-transform:uppercase;list-style:none}
.pd-notices .woocommerce-message:before,.pd-notices .woocommerce-info:before,.pd-notices .woocommerce-error:before,
.shop-notices .woocommerce-message:before,.shop-notices .woocommerce-info:before,.shop-notices .woocommerce-error:before{top:50%;left:18px;transform:translateY(-50%);color:var(--color-accent)}
.pd-notices .woocommerce-error:before,.shop-notices .woocommerce-error:before{color:#ff6b5e}
.pd-notices .woocommerce-message .button,.shop-notices .woocommerce-message .button{
  order:2;float:none;margin:0;padding:0!important;background:none!important;border:0!important;border-radius:0!important;
  color:var(--color-accent)!important;font:13px/1.4 var(--primitive-fontFamily-mono)!important;text-decoration:underline;white-space:nowrap}
.pd-notices .woocommerce-message .button:after,.shop-notices .woocommerce-message .button:after{content:" →"}
.pd-notices .woocommerce-message .button:hover,.shop-notices .woocommerce-message .button:hover{color:var(--color-foreground)!important}
.woocommerce ul.products li.product .woocommerce-loop-product__title{color:var(--color-foreground);font-size:18px}
.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--color-accent)}
/* Cart / checkout / mini-cart thumbnails: whole product, no square crop. */
.wc-block-cart-item__image img,.wc-block-components-order-summary-item__image img,.woocommerce-cart-form .product-thumbnail img{
  width:100%;height:84px;object-fit:contain;background:var(--color-surface-alt);border-radius:10px;padding:6px;box-sizing:border-box}
.woocommerce ul.products li.product img,.woocommerce div.product div.images img{background:var(--color-surface-alt);border-radius:14px}
.woocommerce-MyAccount-navigation ul{list-style:none;padding:0;margin:0 0 30px;display:flex;flex-wrap:wrap;gap:10px}
.woocommerce-MyAccount-navigation a{display:block;padding:10px 16px;border:1px solid var(--color-border-default);border-radius:999px;font:11px var(--primitive-fontFamily-mono);text-transform:uppercase;text-decoration:none}
.woocommerce-MyAccount-navigation .is-active a{background:var(--color-accent);color:var(--color-foreground-on-accent)}
@media(max-width:800px){.vp-page{padding:110px 18px 70px}}
