/* =========================================================
   Vertex — estilos
   ========================================================= */

:root {
	--bg: #0b0b0c;
	--surface: #141416;
	--surface-2: #1c1c1f;
	--line: rgba(255, 255, 255, .09);
	--text: #f3f3f3;
	--muted: #a6a6ad;
	--gold: #f5b301;
	--gold-soft: rgba(245, 179, 1, .12);
	--ok: #3ecf8e;
	--radius: 12px;
	--radius-sm: 8px;
	--container: 1200px;
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 16px/1.6 var(--font);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 750; letter-spacing: -.015em; color: #fff; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.vx-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--gold); color: #000; padding: 8px 14px; border-radius: 6px; }
.vx-skip:focus { left: 8px; }

.vx-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.vx-container--narrow { max-width: 820px; }
.vx-main { min-height: 50vh; }
.vx-icon { flex: none; vertical-align: middle; }

/* ---------- Botones ---------- */
.vx-btn,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce-page a.button, .woocommerce-page button.button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 12px 22px;
	border: 1px solid var(--gold) !important; border-radius: var(--radius-sm) !important;
	background: var(--gold) !important; color: #000 !important;
	font: 700 15px/1.2 var(--font) !important; letter-spacing: .02em; text-transform: uppercase;
	text-decoration: none !important; cursor: pointer;
	transition: transform .15s ease, filter .15s ease;
}
.vx-btn:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
	filter: brightness(1.08); transform: translateY(-1px);
}
.vx-btn--ghost { background: transparent !important; color: var(--gold) !important; }
.woocommerce button.button:disabled, .woocommerce button.button.disabled { opacity: .55 !important; cursor: not-allowed; }
.vx-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }

.vx-icon-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%;
	background: transparent; color: var(--text); cursor: pointer;
}
.vx-icon-btn:hover { background: var(--surface-2); color: var(--gold); text-decoration: none; }

/* ---------- Cabecera ---------- */
.vx-header { position: sticky; top: 0; z-index: 100; background: #0b0b0c; border-bottom: 1px solid var(--line); }
.admin-bar .vx-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .vx-header { top: 0; } }

.vx-announce { background: var(--gold); color: #000; text-align: center; font-size: 13px; font-weight: 650; padding: 6px 16px; }

/* Logo centrado: [menú] [logo] [acciones] */
.vx-header__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; height: var(--header-h); }
.vx-header__left { display: flex; align-items: center; min-width: 0; }
.vx-logo { display: inline-flex; align-items: center; justify-content: center; color: #fff; flex: none; }
.vx-logo:hover { text-decoration: none; }
.vx-logo__img { display: block; width: 170px; max-width: 170px; height: auto; max-height: 48px; object-fit: contain; }
.vx-logo__text { font-size: 22px; font-weight: 800; letter-spacing: .18em; color: var(--gold); }
.vx-header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }

.vx-menu { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.vx-menu a { display: block; padding: 8px 12px; border-radius: 6px; color: var(--text); font-weight: 550; font-size: 15px; white-space: nowrap; }
.vx-menu a:hover, .vx-menu .current-menu-item > a { color: var(--gold); text-decoration: none; background: var(--surface); }
.vx-nav-toggle { display: none; }
.vx-nav-toggle .vx-icon-close { display: none; }

.vx-cart-count {
	position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px;
	border-radius: 9px; background: var(--gold); color: #000; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center;
}
.vx-search { border-top: 1px solid var(--line); padding: 14px 0; }
.vx-search__form { display: flex; gap: 10px; }
.vx-search__form input { flex: 1; }

/* Menú móvil: panel desplegable bajo la cabecera */
@media (max-width: 960px) {
	.vx-header__bar { gap: 8px; }
	.vx-nav-toggle { display: inline-flex; }
	.vx-logo__img { width: 140px; max-width: 140px; max-height: 40px; }
	.vx-nav {
		display: none;
		position: absolute; left: 0; right: 0; top: 100%;
		max-height: calc(100vh - 100px); overflow-y: auto;
		background: #0b0b0c; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
		padding: 10px 16px 18px; box-shadow: 0 20px 40px rgba(0, 0, 0, .6);
	}
	.vx-nav.is-open { display: block; }
	.vx-menu { flex-direction: column; gap: 2px; }
	.vx-menu a { font-size: 18px; font-weight: 650; padding: 14px 12px; border-bottom: 1px solid var(--line); border-radius: 0; }
	.vx-menu li:last-child a { border-bottom: 0; }
	html.vx-nav-open { overflow: hidden; }
	html.vx-nav-open .vx-nav-toggle .vx-icon-open { display: none; }
	html.vx-nav-open .vx-nav-toggle .vx-icon-close { display: block; }
}
@media (max-width: 380px) {
	.vx-logo__img { width: 118px; max-width: 118px; }
	.vx-header__actions .vx-icon-btn, .vx-nav-toggle { width: 38px; height: 38px; }
}

/* ---------- Formularios ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="password"],
input[type="number"], input[type="url"], select, textarea,
.woocommerce form .form-row .input-text, .woocommerce form .form-row select {
	width: 100%; min-height: 46px; padding: 11px 14px;
	background: var(--surface-2); color: var(--text);
	border: 1px solid var(--line); border-radius: var(--radius-sm);
	font: 16px/1.3 var(--font);
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); outline: none; }
label { font-size: 14px; color: var(--muted); }

.select2-container--default .select2-selection--single {
	height: 46px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--text); line-height: 44px; padding-left: 14px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 44px; }
.select2-dropdown { background: var(--surface-2); border-color: var(--line); color: var(--text); }
.select2-container--default .select2-search--dropdown .select2-search__field { background: var(--bg); color: var(--text); border-color: var(--line); }
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--gold); color: #000; }

/* ---------- Secciones genéricas ---------- */
.vx-section { padding: 64px 0; }
.vx-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.vx-section__head h2 { font-size: clamp(24px, 3vw, 34px); margin: 0; }
.vx-eyebrow { color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }

/* ---------- Portada ---------- */
.vx-hero {
	position: relative; overflow: hidden;
	background:
		radial-gradient(60% 80% at 75% 40%, rgba(245, 179, 1, .14), transparent 60%),
		linear-gradient(180deg, #121214, var(--bg));
	border-bottom: 1px solid var(--line);
}
.vx-hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; padding-top: 56px; padding-bottom: 56px; }
.vx-hero__title { font-size: clamp(32px, 5vw, 56px); text-transform: uppercase; }
.vx-hero__text { color: var(--muted); font-size: 18px; max-width: 520px; }
.vx-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.vx-hero__media { position: relative; }
.vx-hero__img { width: 100%; max-width: 520px; margin-left: auto; aspect-ratio: 1; object-fit: cover; border-radius: 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }

.vx-trust { border-bottom: 1px solid var(--line); background: var(--surface); }
.vx-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.vx-trust__item { display: flex; align-items: center; gap: 14px; padding: 22px 18px; color: var(--gold); }
.vx-trust__item + .vx-trust__item { border-left: 1px solid var(--line); }
.vx-trust__item strong { display: block; color: #fff; font-size: 15px; }
.vx-trust__item span { color: var(--muted); font-size: 13px; }

.vx-promo { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.vx-promo__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.vx-promo__media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; }
.vx-promo__copy h2 { font-size: clamp(26px, 3.4vw, 38px); }
.vx-promo__price { font-size: 30px; margin: 8px 0; }
.vx-promo__desc { color: var(--muted); margin: 14px 0 22px; }
.vx-promo__desc p { margin: 0 0 4px; }

.vx-brands { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.vx-brands a {
	display: flex; flex-direction: column; gap: 2px; padding: 22px; border-radius: var(--radius);
	background: var(--surface); border: 1px solid var(--line); color: #fff; font-weight: 700; font-size: 18px;
}
.vx-brands a:hover { border-color: var(--gold); text-decoration: none; }
.vx-brands small { color: var(--muted); font-weight: 500; font-size: 13px; }

.vx-steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vx-steps__list li { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.vx-steps__n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: #000; font-weight: 800; margin-bottom: 12px; }
.vx-steps__list strong { display: block; font-size: 18px; margin-bottom: 6px; }
.vx-steps__list p { color: var(--muted); margin: 0; font-size: 15px; }

/* ---------- FAQ ---------- */
.vx-faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); margin-bottom: 10px; }
.vx-faq summary { cursor: pointer; padding: 16px 18px; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.vx-faq summary::-webkit-details-marker { display: none; }
.vx-faq summary::after { content: "+"; color: var(--gold); font-size: 20px; line-height: 1; }
.vx-faq details[open] summary::after { content: "–"; }
.vx-faq details p { padding: 0 18px 16px; margin: 0; color: var(--muted); }
.vx-faq__more { margin-top: 14px; color: var(--muted); }

/* ---------- Páginas ---------- */
.vx-page { padding: 40px 0 72px; }
.vx-page-title { font-size: clamp(26px, 4vw, 40px); margin-bottom: 24px; }
.entry-content { color: #d8d8dc; }
.entry-content a { text-decoration: underline; }
.vx-posts li { margin-bottom: 8px; }

/* =========================================================
   WooCommerce
   ========================================================= */
.vx-shop { padding: 28px 0 72px; }
.woocommerce .woocommerce-breadcrumb { color: var(--muted); font-size: 13px; margin: 0 0 18px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--muted); }
.woocommerce-products-header__title, .woocommerce .page-title { font-size: clamp(26px, 4vw, 40px); }
.woocommerce .woocommerce-result-count { color: var(--muted); font-size: 14px; }
.woocommerce .woocommerce-ordering select { width: auto; min-height: 40px; }

/* Precios */
.woocommerce .price, .woocommerce div.product p.price, .woocommerce div.product span.price, .price { color: #fff !important; font-weight: 750; }
.price del, .woocommerce .price del { color: var(--muted) !important; font-weight: 500; opacity: 1 !important; font-size: .78em; margin-right: 6px; }
.price ins, .woocommerce .price ins { text-decoration: none; color: #fff; }
.vx-savings { display: flex; align-items: center; gap: 8px; margin: -4px 0 14px; color: var(--ok); font-size: 15px; }
.vx-savings strong { color: var(--ok); }
.vx-savings__pct { background: rgba(62, 207, 142, .14); color: var(--ok); border-radius: 999px; padding: 2px 9px; font-size: 13px; font-weight: 700; }

/* Insignia oferta */
.woocommerce span.onsale {
	position: absolute; z-index: 2; width: auto;
	min-width: 0; min-height: 0; padding: 4px 10px; line-height: 1.4; border-radius: 999px;
	background: var(--gold); color: #000; font-weight: 800; font-size: 13px; top: 12px; left: 12px; right: auto; margin: 0;
}

/* Grilla de productos */
.woocommerce ul.products, .woocommerce-page ul.products {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0 0 24px; padding: 0;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	float: none !important; width: auto !important; margin: 0 !important; padding: 0 0 16px;
	display: flex; flex-direction: column; position: relative;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
	transition: border-color .2s ease, transform .2s ease;
}
.woocommerce ul.products li.product:hover { border-color: rgba(245, 179, 1, .5); transform: translateY(-2px); }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; }
.woocommerce ul.products li.product a img { margin: 0 0 14px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding: 0 16px !important; font-size: 15px !important; font-weight: 650; line-height: 1.35; color: #fff;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.woocommerce ul.products li.product .price { padding: 0 16px; margin: 6px 0 12px !important; font-size: 17px !important; }
.woocommerce ul.products li.product .star-rating { margin: 4px 16px 0; }
.woocommerce ul.products li.product .button.vx-card-btn { margin: auto 16px 0 !important; width: calc(100% - 32px); min-height: 40px; font-size: 13px !important; }

/* Ficha de producto */
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 44px; position: relative; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { float: none !important; width: auto !important; margin: 0 !important; }
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .vx-product-faq,
.woocommerce div.product .vx-showcase,
.woocommerce div.product .related,
.woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product > span.onsale { z-index: 3; }
.woocommerce div.product div.images img { border-radius: var(--radius); }
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto !important; float: none !important; }
.woocommerce div.product div.images .flex-control-thumbs img { border-radius: 8px; opacity: .55; }
.woocommerce div.product div.images .flex-control-thumbs img.flex-active, .woocommerce div.product div.images .flex-control-thumbs img:hover { opacity: 1; }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { background: var(--surface-2); }

.woocommerce div.product .product_title { font-size: clamp(24px, 3vw, 32px); margin-bottom: 10px; }
.woocommerce div.product p.price { font-size: 32px !important; margin: 0 0 10px; }
.woocommerce .star-rating span::before, .woocommerce .star-rating::before { color: var(--gold); }
.woocommerce div.product .woocommerce-product-rating { margin-bottom: 12px; }
.woocommerce div.product .woocommerce-product-rating a { color: var(--muted); font-size: 14px; }

.woocommerce div.product .stock { color: var(--gold) !important; font-weight: 650; font-size: 15px; margin: 0 0 10px; }
.woocommerce div.product .stock.out-of-stock { color: #ff6b6b !important; }

.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.woocommerce div.product form.cart::before, .woocommerce div.product form.cart::after { display: none; }
.woocommerce div.product form.cart div.quantity { margin: 0 !important; float: none; }
.woocommerce .quantity .qty { width: 72px; min-height: 54px; text-align: center; }
.woocommerce div.product form.cart .button.single_add_to_cart_button {
	flex: 1; min-height: 56px; font-size: 17px !important; float: none;
	box-shadow: 0 10px 30px rgba(245, 179, 1, .25);
}
.woocommerce div.product form.cart .variations { width: 100%; margin-bottom: 4px; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; padding: 0 0 6px; text-align: left; }
.woocommerce div.product form.cart .single_variation_wrap { width: 100%; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart { display: flex; gap: 10px; }

.vx-buybox { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 16px; margin-bottom: 14px; }
.vx-pay__title { display: flex; align-items: center; gap: 8px; font-weight: 700; margin: 0 0 10px; color: #fff; font-size: 15px; }
.vx-pay__title .vx-icon { color: var(--ok); }
.vx-pay__list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.vx-pay__list li { border: 1px solid var(--line); background: var(--surface-2); border-radius: 6px; padding: 4px 10px; font-size: 12.5px; color: #ddd; font-weight: 600; }
.vx-pay__img { max-height: 34px; width: auto; }
.vx-pay__note { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; font-size: 14px; color: var(--gold); }
.vx-assure { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.vx-assure li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: #ddd; }
.vx-assure .vx-icon { color: var(--gold); }
.vx-help { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 650; font-size: 14.5px; color: var(--ok); }

.vx-delivery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 18px; overflow: hidden; }
.vx-delivery__step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; padding: 14px 8px; }
.vx-delivery__step + .vx-delivery__step { border-left: 1px solid var(--line); }
.vx-delivery__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); margin-bottom: 4px; }
.vx-delivery__step strong { font-size: 13.5px; color: #fff; }
.vx-delivery__step span { font-size: 13px; color: var(--muted); }

.woocommerce div.product .woocommerce-product-details__short-description { color: #d4d4d8; font-size: 15px; }
.woocommerce div.product .woocommerce-product-details__short-description p { margin: 0 0 4px; }

/* Pestañas */
.woocommerce div.product .woocommerce-tabs { margin-top: 24px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; gap: 6px; padding: 0 !important; margin: 0 0 18px !important; border-bottom: 1px solid var(--line); overflow-x: auto; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs::after,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none !important; border: 0 !important; border-radius: 0 !important; margin: 0 !important; padding: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { display: block; padding: 12px 16px !important; color: var(--muted) !important; font-weight: 650; white-space: nowrap; border-bottom: 2px solid transparent; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #fff !important; border-bottom-color: var(--gold); }
.woocommerce div.product .woocommerce-tabs .panel { color: #d4d4d8; }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { display: none; }
.woocommerce div.product .woocommerce-tabs .panel img { border-radius: var(--radius); margin: 16px auto; }
.woocommerce table.shop_attributes { border-color: var(--line); }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { border-color: var(--line); background: transparent !important; color: #ddd; padding: 10px; }

.vx-showcase { margin-top: 32px; }
.vx-showcase__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; max-width: 900px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; }
.vx-showcase__grid img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.vx-showcase__grid.is-single { grid-template-columns: 1fr; max-width: 600px; }
.vx-showcase__buy { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; max-width: 520px; margin: 32px auto 8px; }
.vx-showcase__perks { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; font-size: 17px; }
.vx-showcase__perks li { display: flex; align-items: center; justify-content: center; gap: 10px; }
.vx-showcase__perks .vx-icon { color: var(--gold); }
.vx-showcase__price { font-size: 30px !important; }
.vx-showcase__buy .vx-savings { margin: 0 0 10px; justify-content: center; }
.vx-showcase__btn { width: 100%; min-height: 56px; font-size: 17px !important; box-shadow: 0 10px 30px rgba(245, 179, 1, .25); }
.vx-showcase__secure { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; margin-top: 6px; }
.vx-showcase__secure .vx-icon { color: var(--ok); }
@media (max-width: 640px) { .vx-showcase__grid { grid-template-columns: 1fr; } }
.vx-product-faq { margin-top: 24px; max-width: 820px; }
.vx-product-faq h2, .woocommerce div.product .related > h2, .woocommerce div.product .upsells > h2 { font-size: 24px; margin: 24px 0 16px; }

/* Reseñas */
.woocommerce #reviews #comments ol.commentlist li .comment-text { border-color: var(--line); border-radius: var(--radius-sm); }
.woocommerce #reviews #comments ol.commentlist li img.avatar { background: var(--surface-2); border: 0; }
.woocommerce #review_form #respond textarea { min-height: 120px; }

/* Avisos */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice {
	background: var(--surface) !important; color: var(--text) !important;
	border-top-color: var(--gold) !important; border-radius: var(--radius-sm); list-style: none;
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--gold) !important; }
.woocommerce-error { border-top-color: #ff6b6b !important; }
.woocommerce-error::before { color: #ff6b6b !important; }

/* Tablas (carrito, pedido, cuenta) */
.woocommerce table.shop_table { border-color: var(--line); border-radius: var(--radius); color: var(--text); }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color: var(--line) !important; }
.woocommerce-cart table.cart img { width: 64px; border-radius: 6px; }
.woocommerce a.remove { color: #ff6b6b !important; }
.woocommerce a.remove:hover { background: #ff6b6b; color: #fff !important; }

/* Checkout */
.vx-page--wc .vx-page-title { margin-bottom: 18px; }
.woocommerce-checkout #customer_details h3, #order_review_heading { font-size: 20px; margin: 0 0 14px; }
.woocommerce form .form-row { padding: 0; margin: 0 0 14px; }
.woocommerce form .form-row label { margin-bottom: 4px; display: block; }
.woocommerce form .form-row .required { color: var(--gold); }
.woocommerce-checkout #payment { background: var(--surface) !important; border-radius: var(--radius) !important; border: 1px solid var(--line); }
.woocommerce-checkout #payment ul.payment_methods { border-color: var(--line) !important; }
.woocommerce-checkout #payment div.payment_box { background: var(--surface-2) !important; color: #ddd !important; border-radius: var(--radius-sm); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--surface-2) !important; }
.woocommerce #payment #place_order, .woocommerce-page #payment #place_order { width: 100%; min-height: 56px; font-size: 17px !important; }
.woocommerce-checkout .woocommerce-privacy-policy-text, .woocommerce-terms-and-conditions-wrapper { color: var(--muted); font-size: 13px; }
.vx-checkout-note { display: flex; align-items: center; gap: 8px; justify-content: center; margin: 12px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
.vx-checkout-note .vx-icon { color: var(--ok); }
.vx-checkout-alt { margin: 10px 0 0; text-align: center; color: var(--muted); font-size: 12.5px; }
.vx-checkout-alt a { color: var(--muted); text-decoration: underline; }
.vx-checkout-alt a:hover { color: var(--text); }
@media (min-width: 900px) {
	html:not(.vxqc-in-frame) .woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 0 40px; align-items: start; }
	html:not(.vxqc-in-frame) .woocommerce-checkout form.checkout > * { grid-column: 1 / -1; }
	html:not(.vxqc-in-frame) .woocommerce-checkout form.checkout #customer_details { grid-column: 1; grid-row: span 2; }
	html:not(.vxqc-in-frame) .woocommerce-checkout form.checkout #order_review_heading,
	html:not(.vxqc-in-frame) .woocommerce-checkout form.checkout #order_review { grid-column: 2; }
	html:not(.vxqc-in-frame) .woocommerce-checkout .col2-set .col-1,
	html:not(.vxqc-in-frame) .woocommerce-checkout .col2-set .col-2 { float: none; width: 100%; }
}

/* Mi cuenta */
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 10px 12px; border-radius: 6px; color: var(--text); }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--surface); color: var(--gold); }

/* Dentro del popup de checkout */
.vxqc-in-frame .vx-announce, .vxqc-in-frame .vx-header, .vxqc-in-frame .vx-footer { display: none !important; }
.vxqc-in-frame .vx-page { padding-top: 16px; }

/* ---------- Barra fija ---------- */
.vx-sticky {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
	display: flex; align-items: center; gap: 14px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
	background: rgba(20, 20, 22, .97); border-top: 1px solid var(--line);
	transform: translateY(110%); transition: transform .25s ease;
}
.vx-sticky.is-visible { transform: none; }
.vx-sticky__info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.vx-sticky__name { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vx-sticky__price { font-weight: 800; color: #fff; }
.vx-sticky__price del { font-size: .8em; color: var(--muted); font-weight: 500; }
.vx-sticky__price ins { text-decoration: none; }
.vx-sticky__btn { flex: none; }
@media (min-width: 900px) {
	.vx-sticky { left: auto; right: 20px; bottom: 20px; width: 440px; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
}

/* ---------- Footer ---------- */
.vx-footer { margin-top: 0; background: #070708; border-top: 1px solid var(--line); padding-top: 56px; }
.vx-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.vx-footer__about { color: var(--muted); font-size: 14px; margin: 16px 0; max-width: 320px; }
.vx-footer__contact { list-style: none; padding: 0; margin: 0 0 14px; font-size: 14px; }
.vx-footer__contact li { margin-bottom: 8px; }
.vx-footer__contact a { color: #ddd; display: inline-flex; align-items: center; gap: 8px; }
.vx-social { display: flex; gap: 6px; }
.vx-social .vx-icon-btn { background: var(--surface); }
.vx-footer__title { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.vx-footer__list, .vx-footer .menu { list-style: none; padding: 0; margin: 0; }
.vx-footer__list li { margin-bottom: 10px; }
.vx-footer__list a { color: #ddd; font-size: 14.5px; }
.vx-footer__pay { display: flex; align-items: center; gap: 8px; color: #ddd; font-size: 14.5px; }
.vx-footer__pay .vx-icon { color: var(--ok); }
.vx-footer__methods { color: var(--muted); font-size: 13.5px; }
.vx-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.vx-footer__bottom p { margin: 0; }
.vx-footer__bottom ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.vx-footer__bottom a { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.vx-trust__grid { grid-template-columns: repeat(2, 1fr); }
	.vx-trust__item:nth-child(3) { border-left: 0; }
	.vx-trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
	.vx-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
	.vx-hero__inner { grid-template-columns: 1fr; padding-top: 32px; padding-bottom: 40px; gap: 26px; }
	.vx-hero__media { order: -1; }
	.vx-hero__img { max-width: 360px; margin: 0 auto; }
	.vx-hero__text { font-size: 16px; }
	.vx-promo__inner { grid-template-columns: 1fr; gap: 24px; }
	.vx-steps__list { grid-template-columns: 1fr; }
	.woocommerce div.product { grid-template-columns: 1fr; gap: 22px; }
	.vx-section { padding: 44px 0; }
}
@media (max-width: 640px) {
	.vx-container { padding: 0 16px; }
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 13.5px !important; padding: 0 10px !important; }
	.woocommerce ul.products li.product .price { padding: 0 10px; font-size: 15px !important; }
	.woocommerce ul.products li.product .button.vx-card-btn { margin: auto 10px 0 !important; width: calc(100% - 20px); font-size: 12px !important; padding: 8px; }
	.vx-trust__item { padding: 16px 10px; gap: 10px; }
	.vx-trust__item strong { font-size: 14px; }
	.vx-footer__grid { grid-template-columns: 1fr; }
	.vx-delivery__step strong { font-size: 12.5px; }
	.vx-delivery__step span { font-size: 12px; }
	.vx-hero__actions .vx-btn { flex: 1; }
}

.vx-showcase .vx-delivery { max-width: 520px; margin: 18px auto 0; }

/* ---------- Rastreo ---------- */
.vx-tracking__intro { color: var(--muted); font-size: 17px; }
.vx-tracking__frame { margin: 20px 0 24px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.vx-tracking__frame iframe { display: block; width: 100%; height: 720px; border: 0; }
@media (max-width: 640px) { .vx-tracking__frame iframe { height: 820px; } }
.vx-tracking__help { padding: 16px 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); color: #ddd; }
.vx-tracking__help p { margin: 0; }
.vx-thanks-track { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); color: #ddd; }
.vx-thanks-track .vx-icon { color: var(--gold); margin-top: 3px; }

/* ---------- Cuenta regresiva ---------- */
.vx-countdown {
	display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
	margin: 0 0 14px; padding: 10px 14px; border-radius: var(--radius-sm);
	background: rgba(255, 90, 60, .12); border: 1px solid rgba(255, 90, 60, .35); color: #ffb4a3; font-size: 14.5px;
}
.vx-countdown__label { font-weight: 700; color: #fff; }
.vx-countdown__time { font-weight: 800; font-variant-numeric: tabular-nums; color: #ff8a70; }
.vx-countdown.is-over { opacity: .7; }
.vx-showcase__buy .vx-countdown { justify-content: center; width: 100%; }
.vx-announce--urgent { background: #c8321e; color: #fff; }
.vx-countdown--bar { display: inline-flex; justify-content: center; margin: 0; padding: 0; background: none; border: 0; color: #fff; font-size: 13px; }
.vx-countdown--bar .vx-countdown__time { color: #fff; }
