/* ==========================================================================
   Joker Green – hoja de estilos principal
   Zonas oscuras (cabecera, hero, pie) + catálogo claro.
   Cambia la marca tocando solo las variables de :root.
   ========================================================================== */

:root {
	--black: #07090a;
	--ink: #0d1411;
	--ink-2: #14201a;
	--line: rgba(255, 255, 255, .12);
	--neon: #39ff14;          /* acento principal sobre oscuro */
	--neon-dim: #2bd10e;
	--deep: #0b5d22;          /* verde para texto/botones sobre claro (contraste AA) */
	--yellow: #ffd400;
	--red: #ff2a2a;
	--paper: #f3f4ee;
	--paper-2: #e6e9df;
	--text: #101612;
	--muted: #5a665e;
	--white: #fff;

	--f-display: "Anton", "Impact", sans-serif;
	--f-cond: "Barlow Condensed", "Arial Narrow", sans-serif;
	--f-body: "Barlow", system-ui, sans-serif;

	--wrap: 1280px;
	--radius: 6px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.55;
	color: var(--text);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; line-height: 1; letter-spacing: .01em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
.jg-skip { position: absolute; left: -999px; top: 0; z-index: 999; background: var(--yellow); color: #000; padding: .6rem 1rem; }
.jg-skip:focus { left: 8px; top: 8px; }

.jg-wrap { width: min(var(--wrap), 100% - 2rem); margin-inline: auto; }
.jg-wrap--narrow { width: min(920px, 100% - 2rem); }
.jg-i { flex: none; }

/* ---------- Botones ---------- */
.jg-btn {
	display: inline-flex; align-items: center; gap: .55rem; justify-content: center;
	min-height: 44px; padding: .7rem 1.4rem;
	font: 800 1.05rem/1 var(--f-cond); text-transform: uppercase; letter-spacing: .06em; text-decoration: none;
	background: var(--neon); color: #000; border: 2px solid var(--neon); border-radius: var(--radius);
	cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.jg-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 26px -6px rgba(57, 255, 20, .6); }
.jg-btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .55); }
.jg-btn--ghost:hover { border-color: var(--neon); color: var(--neon); box-shadow: none; }
.jg-btn--xl { padding: 1rem 1.8rem; font-size: 1.2rem; }

.jg-eyebrow {
	display: flex; align-items: center; gap: .75rem; margin: 0 0 .9rem;
	font: 800 .95rem/1 var(--f-cond); text-transform: uppercase; letter-spacing: .22em; color: var(--neon);
}
.jg-eyebrow::before { content: ""; width: 34px; height: 3px; background: linear-gradient(90deg, var(--neon), transparent); }
.jg-eyebrow--red { color: var(--red); }
.jg-eyebrow--red::before { background: linear-gradient(90deg, var(--red), transparent); }

/* ---------- Barra superior ---------- */
.jg-topbar { background: var(--black); color: #cfd8d2; font: 600 .85rem/1 var(--f-cond); letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.jg-topbar__in { display: flex; justify-content: space-between; gap: 1rem; padding-block: .6rem; }
.jg-topbar span, .jg-topbar a { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; }
.jg-topbar svg { width: 16px; height: 16px; color: var(--neon); }
.jg-topbar a:hover { color: var(--neon); }

/* ---------- Cabecera ---------- */
.jg-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--white); box-shadow: 0 6px 30px rgba(0, 0, 0, .35); }
.jg-header__in { display: grid; grid-template-columns: auto minmax(220px, 1fr) auto; align-items: center; gap: 1.5rem; padding-block: .9rem; }

.jg-logo { display: inline-flex; align-items: baseline; gap: .35rem; text-decoration: none; font-family: var(--f-display); font-size: 2.1rem; line-height: 1; text-transform: uppercase; position: relative; }
.jg-logo__joker { color: var(--white); text-shadow: 2px 2px 0 var(--red); }
.jg-logo__green { color: var(--neon); text-shadow: 0 0 22px rgba(57, 255, 20, .55); }
.jg-logo small { position: absolute; left: 0; bottom: -.95rem; font: 600 .66rem/1 var(--f-cond); letter-spacing: .32em; color: #9fb0a5; white-space: nowrap; }
.jg-logo .custom-logo { max-height: 56px; width: auto; }
.jg-logo--foot { font-size: 2.4rem; margin-bottom: 1rem; }
.jg-logo--big { font-size: 3.4rem; margin-bottom: 1rem; }

.jg-search { display: flex; position: relative; }
.jg-search input[type="search"] {
	width: 100%; min-height: 48px; padding: 0 3.4rem 0 1.1rem;
	font: 500 1rem var(--f-body); color: var(--white);
	background: #0a100d; border: 2px solid var(--line); border-radius: 999px; transition: border-color .2s, box-shadow .2s;
}
.jg-search input::placeholder { color: #8fa197; }
.jg-search input:focus { outline: none; border-color: var(--neon); box-shadow: 0 0 0 4px rgba(57, 255, 20, .15); }
.jg-search button { position: absolute; right: 4px; top: 4px; bottom: 4px; width: 44px; border: 0; border-radius: 50%; background: var(--neon); color: #000; display: grid; place-items: center; cursor: pointer; }

.jg-actions { display: flex; gap: .4rem; }
.jg-actions a { position: relative; display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .4rem .8rem; text-decoration: none; font: 700 .95rem var(--f-cond); text-transform: uppercase; letter-spacing: .06em; border-radius: var(--radius); }
.jg-actions a:hover { background: rgba(255, 255, 255, .07); color: var(--neon); }
.jg-cart-count { min-width: 22px; height: 22px; padding: 0 5px; display: inline-grid; place-items: center; background: var(--yellow); color: #000; font: 800 .8rem var(--f-cond); border-radius: 999px; }
.jg-cart-count[data-count="0"] { background: #2a352e; color: #b8c6bd; }

.jg-burger { display: none; width: 46px; height: 46px; place-items: center; background: transparent; color: var(--white); border: 2px solid var(--line); border-radius: var(--radius); cursor: pointer; }

/* Barra de navegación + megamenú */
.jg-nav { background: var(--black); border-top: 1px solid var(--line); }
.jg-nav__in { display: flex; align-items: stretch; gap: 1.5rem; }
.jg-mega { position: relative; }
.jg-mega__btn {
	display: inline-flex; align-items: center; gap: .6rem; height: 100%; min-height: 48px; padding: 0 1.3rem;
	font: 800 1.05rem var(--f-cond); text-transform: uppercase; letter-spacing: .08em;
	color: #000; background: var(--neon); border: 0; cursor: pointer;
}
/* Megamenú: familias (izquierda) → marcas + subcategorías (derecha), como en Hortitec */
.jg-mega__panel {
	position: absolute; left: 0; top: 100%; z-index: 60; width: min(1040px, 94vw);
	display: none; grid-template-columns: 300px 1fr; min-height: 440px;
	background: var(--ink); border: 1px solid var(--line); border-top: 3px solid var(--neon);
	box-shadow: 0 30px 60px -10px rgba(0, 0, 0, .65);
}
.jg-mega.is-open .jg-mega__panel, .jg-mega:hover .jg-mega__panel, .jg-mega:focus-within .jg-mega__panel { display: grid; }
.jg-mega__fam { background: #0a100d; border-right: 1px solid var(--line); padding: .4rem 0; }
.jg-mega__fam a {
	display: flex; align-items: center; gap: .7rem; padding: .78rem 1rem .78rem 1.1rem; text-decoration: none; color: #dfe8e2;
	font: 700 1rem var(--f-cond); text-transform: uppercase; letter-spacing: .05em; border-left: 3px solid transparent; transition: background .15s, color .15s, border-color .15s;
}
.jg-mega__fam a b { font: 400 1.05rem var(--f-display); color: var(--neon); min-width: 1.7rem; }
.jg-mega__fam a span { flex: 1; }
.jg-mega__fam a svg { width: 16px; height: 16px; opacity: .45; }
.jg-mega__fam a:hover, .jg-mega__fam a.is-active { background: var(--ink-2); color: var(--white); border-left-color: var(--neon); }
.jg-mega__fam a.is-active svg { opacity: 1; color: var(--neon); }
.jg-mega__detail { padding: 1.5rem 2rem 1.8rem; min-width: 0; }
.jg-mega__pane { display: none; }
.jg-mega__pane.is-active { display: block; animation: jg-pane .18s var(--ease); }
@keyframes jg-pane { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
.jg-mega__panehead { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.2rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.jg-mega__panehead strong { font: 400 1.6rem/1 var(--f-display); text-transform: uppercase; color: var(--white); }
.jg-mega__panehead a { display: inline-flex; align-items: center; gap: .4rem; font: 800 .95rem var(--f-cond); text-transform: uppercase; letter-spacing: .1em; color: var(--neon); text-decoration: none; }
.jg-mega__panehead a svg { width: 18px; height: 18px; }
.jg-mega__cols { display: grid; gap: 1.5rem 2.2rem; grid-template-columns: 1fr; }
.jg-mega__cols.has-2 { grid-template-columns: 1.35fr 1fr; }
.jg-mega__col h3 { margin-bottom: .7rem; padding-bottom: .5rem; border-bottom: 2px solid var(--neon); font: 800 .95rem var(--f-cond); text-transform: uppercase; letter-spacing: .14em; color: var(--white); }
.jg-mega__col h3 small { margin-left: .4rem; font-weight: 600; color: #8ea096; letter-spacing: .06em; }
.jg-mega__col ul { max-height: 340px; overflow-y: auto; padding-right: .5rem; scrollbar-width: thin; scrollbar-color: var(--neon) transparent; }
.jg-mega__col ul.is-long { columns: 2; column-gap: 1.5rem; max-height: none; overflow: visible; }
.jg-mega__col h3 small { display: block; margin: .2rem 0 0; }
.jg-mega__col li { break-inside: avoid; }
.jg-mega__col li a { display: flex; justify-content: space-between; gap: .6rem; padding: .22rem 0; color: #cdd8d1; text-decoration: none; font-size: .96rem; transition: transform .2s var(--ease), color .2s; }
.jg-mega__col li a em { font-style: normal; font-size: .78rem; color: #6f8277; align-self: center; }
.jg-mega__col li a:hover { color: var(--neon); transform: translateX(4px); }
.jg-mega__none { margin: 0; color: #9fb0a5; }
.jg-mega__empty { grid-column: 1 / -1; margin: 1.5rem; color: #9fb0a5; }

.jg-nav__links { display: flex; align-items: center; gap: .2rem; overflow-x: auto; scrollbar-width: none; }
.jg-nav__links a { display: block; padding: .9rem .9rem; white-space: nowrap; font: 700 1rem var(--f-cond); text-transform: uppercase; letter-spacing: .07em; text-decoration: none; color: #dfe8e2; }
.jg-nav__links a:hover { color: var(--neon); }
.jg-nav__hot a { color: var(--red); }
.jg-nav__hot a::before { content: "🔥 "; }

/* Menú móvil */
.jg-mobile { position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--white); overflow-y: auto; padding: 1rem 1.2rem 3rem; }
.jg-mobile[hidden] { display: none; }
.jg-mobile__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; font: 400 1.5rem var(--f-display); text-transform: uppercase; }
.jg-mobile__close { width: 46px; height: 46px; display: grid; place-items: center; background: transparent; color: #fff; border: 2px solid var(--line); border-radius: var(--radius); }
.jg-mobile li a { display: block; padding: 1rem 0; font: 800 1.3rem var(--f-cond); text-transform: uppercase; letter-spacing: .05em; text-decoration: none; border-bottom: 1px solid var(--line); }
.jg-mobile__fam details { border-bottom: 1px solid var(--line); }
.jg-mobile__fam summary { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; cursor: pointer; list-style: none; font: 800 1.3rem var(--f-cond); text-transform: uppercase; letter-spacing: .05em; }
.jg-mobile__fam summary::-webkit-details-marker { display: none; }
.jg-mobile__fam summary::after { content: "+"; font-size: 1.6rem; color: var(--neon); line-height: 1; }
.jg-mobile__fam details[open] summary::after { content: "–"; }
.jg-mobile__sub { padding: 0 0 1rem .4rem; }
.jg-mobile__sub p { margin: .9rem 0 .2rem; font: 800 .8rem var(--f-cond); letter-spacing: .18em; text-transform: uppercase; color: var(--neon); }
.jg-mobile__sub ul { columns: 2; column-gap: 1rem; }
.jg-mobile__sub li { break-inside: avoid; }
.jg-mobile__sub li a { padding: .45rem 0; font: 500 1rem var(--f-body); text-transform: none; letter-spacing: 0; border-bottom: 0; color: #cdd8d1; }
.jg-mobile__sub a.jg-mobile__all { display: inline-block; padding: .5rem .9rem; border: 2px solid var(--neon); border-radius: var(--radius); font: 800 .95rem var(--f-cond); text-transform: uppercase; letter-spacing: .08em; color: var(--neon); }

/* ---------- Hero ---------- */
.jg-hero {
	position: relative; overflow: hidden; isolation: isolate; color: var(--white);
	background:
		radial-gradient(60% 80% at 82% 30%, rgba(57, 255, 20, .28), transparent 62%),
		radial-gradient(40% 50% at 8% 100%, rgba(255, 42, 42, .22), transparent 70%),
		linear-gradient(135deg, #04140a 0%, var(--black) 55%, #0b1a10 100%);
}
.jg-hero::before { /* ruido */
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07; mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.jg-hero::after { /* franja diagonal neón */
	content: ""; position: absolute; z-index: -1; right: -10%; top: -20%; width: 46%; height: 160%;
	background: linear-gradient(180deg, transparent, rgba(57, 255, 20, .13), transparent);
	transform: rotate(18deg); border-left: 2px solid rgba(57, 255, 20, .35);
}
.jg-hero__ghost {
	position: absolute; z-index: -1; left: -2%; bottom: -9%; font: 400 clamp(9rem, 30vw, 27rem)/.8 var(--f-display);
	color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .07); user-select: none; pointer-events: none;
}
.jg-hero__in { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 3rem; padding-block: clamp(3rem, 8vw, 6.5rem); }
.jg-hero h1 { font-size: clamp(3.6rem, 9.5vw, 8.5rem); line-height: .88; text-shadow: 4px 4px 0 rgba(0, 0, 0, .55); }
.jg-hero h1 em { font-style: normal; color: var(--neon); text-shadow: 0 0 40px rgba(57, 255, 20, .5), 4px 4px 0 rgba(0, 0, 0, .55); }
.jg-hero__lead { max-width: 46ch; margin: 1.6rem 0 2rem; font-size: 1.2rem; color: #d3ddd6; }
.jg-hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; }

.jg-hero__card {
	position: relative; display: grid; gap: .7rem; padding: 1.4rem; text-decoration: none; color: var(--white);
	background: linear-gradient(160deg, rgba(20, 32, 26, .92), rgba(8, 12, 10, .92));
	border: 1px solid var(--line); border-top: 3px solid var(--yellow); border-radius: 10px;
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(57, 255, 20, .08);
	transform: rotate(2deg); transition: transform .35s var(--ease);
}
.jg-hero__card:hover { transform: rotate(0) translateY(-6px); }
.jg-hero__tag { justify-self: start; padding: .35rem .8rem; background: var(--red); font: 800 .9rem var(--f-cond); text-transform: uppercase; letter-spacing: .12em; transform: rotate(-2deg); }
.jg-hero__img img { width: 100%; max-height: 340px; object-fit: contain; margin-inline: auto; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .6)); }
.jg-hero__name { font: 400 1.5rem/1.1 var(--f-display); text-transform: uppercase; }
.jg-hero__price { font: 800 1.8rem var(--f-cond); color: var(--neon); }
.jg-hero__price del { color: #93a399; font-size: 1.1rem; margin-right: .5rem; }
.jg-hero__price ins { text-decoration: none; }

/* Orquestación de entrada */
@media (prefers-reduced-motion: no-preference) {
	.jg-hero__copy > * { opacity: 0; transform: translateY(24px); animation: jg-in .8s var(--ease) forwards; }
	.jg-hero__copy > :nth-child(2) { animation-delay: .1s; }
	.jg-hero__copy > :nth-child(3) { animation-delay: .22s; }
	.jg-hero__copy > :nth-child(4) { animation-delay: .34s; }
	.jg-hero__card { opacity: 0; animation: jg-card .9s .35s var(--ease) forwards; }
	@keyframes jg-in { to { opacity: 1; transform: none; } }
	@keyframes jg-card { from { opacity: 0; transform: rotate(6deg) translateY(40px); } to { opacity: 1; transform: rotate(2deg); } }
}

/* ---------- Ventajas ---------- */
.jg-usp { background: var(--yellow); color: #000; border-block: 3px solid #000; }
.jg-usp__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.jg-usp__in > div { display: grid; grid-template-columns: auto 1fr; column-gap: .8rem; align-items: center; padding: 1rem 1.1rem; border-right: 2px solid rgba(0, 0, 0, .15); }
.jg-usp__in > div:last-child { border-right: 0; }
.jg-usp svg { grid-row: span 2; width: 30px; height: 30px; }
.jg-usp strong { font: 800 1.1rem/1.1 var(--f-cond); text-transform: uppercase; letter-spacing: .05em; }
.jg-usp span { font-size: .9rem; line-height: 1.2; }

/* ---------- Secciones ---------- */
.jg-section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.jg-head { margin-bottom: 2rem; }
.jg-head h2 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
.jg-head--row { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.jg-head .jg-eyebrow { color: var(--deep); }
.jg-head .jg-eyebrow::before { background: linear-gradient(90deg, var(--deep), transparent); }
.jg-more { display: inline-flex; align-items: center; gap: .5rem; font: 800 1.05rem var(--f-cond); text-transform: uppercase; letter-spacing: .08em; text-decoration: none; color: var(--deep); border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.jg-more:hover { color: var(--text); }
.jg-empty { padding: 2rem; border: 2px dashed var(--muted); color: var(--muted); }

/* Categorías (asimétrica) */
.jg-cats { background: var(--paper); }
.jg-cats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.jg-cats__grid li.is-big { grid-column: span 2; grid-row: span 2; }
.jg-cats__grid a {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-height: 190px; padding: 1.2rem; overflow: hidden;
	color: var(--white); text-decoration: none; background: linear-gradient(150deg, var(--ink-2), var(--black)); border: 1px solid #000; border-radius: 8px;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.jg-cats__grid a::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--neon), transparent); }
.jg-cats__grid a:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -18px rgba(11, 93, 34, .7); }
.jg-cats__num { position: absolute; right: .8rem; top: .2rem; font: 400 4.5rem/1 var(--f-display); color: transparent; -webkit-text-stroke: 1.5px rgba(57, 255, 20, .35); }
.jg-cats__grid li:last-child:nth-child(4n+2) { grid-column: 1 / -1; }
.jg-cats__grid li:last-child:nth-child(4n+2) a { min-height: 150px; }
.jg-cats__grid li:last-child:nth-child(4n+2) .jg-cats__img img { object-position: center 30%; }
.jg-cats__img { position: absolute; inset: 0; opacity: .85; }
.jg-cats__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .55) 38%, rgba(0, 0, 0, .05) 70%); }
.jg-cats__img img { width: 100%; height: 100%; object-fit: cover; }
.jg-cats__name { position: relative; font: 400 1.5rem/1.05 var(--f-display); text-transform: uppercase; }
.is-big .jg-cats__name { font-size: 2.6rem; }
.jg-cats__count { position: relative; margin-top: .3rem; font: 600 .85rem var(--f-cond); letter-spacing: .12em; text-transform: uppercase; color: var(--neon); }

.jg-light { background: #fff; }
.jg-outlet { background: linear-gradient(180deg, var(--paper), var(--paper-2)); position: relative; }
.jg-outlet::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: repeating-linear-gradient(-45deg, var(--red) 0 14px, #000 14px 28px); }

/* ---------- Tarjetas de producto (WooCommerce) ---------- */
.woocommerce ul.products, ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin: 0; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product, ul.products li.product {
	position: relative; float: none !important; width: auto !important; margin: 0 !important; padding: 0 0 1rem !important;
	display: flex; flex-direction: column; text-align: left;
	background: #fff; border: 1px solid #d9ddd2; border-radius: 8px; overflow: hidden;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.woocommerce ul.products li.product:hover { transform: translateY(-5px); border-color: var(--deep); box-shadow: 0 24px 36px -22px rgba(11, 93, 34, .55); }
.woocommerce ul.products li.product a img { aspect-ratio: 1; object-fit: contain; margin: 0 !important; padding: .8rem; background: #fff; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: .3rem 1rem 0; font: 700 1.05rem/1.25 var(--f-body); text-transform: none; letter-spacing: 0; color: var(--text); }
.woocommerce ul.products li.product .price { padding: .4rem 1rem 0; font: 800 1.45rem var(--f-cond); color: var(--deep); }
.woocommerce ul.products li.product .price del { color: var(--muted); font-size: 1rem; opacity: 1; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--red); }
.woocommerce ul.products li.product .button {
	margin: .8rem 1rem 0; padding: .75rem 1rem; text-align: center; font: 800 1rem var(--f-cond); text-transform: uppercase; letter-spacing: .07em;
	background: #000; color: var(--neon); border-radius: var(--radius); margin-top: auto; transition: background .2s, color .2s;
}
.woocommerce ul.products li.product .price { margin-bottom: .8rem; }
.woocommerce ul.products li.product .button:hover { background: var(--neon); color: #000; }
.woocommerce span.onsale, .onsale {
	position: absolute; top: .7rem; left: .7rem; right: auto; min-width: 0; min-height: 0; margin: 0; padding: .35rem .7rem; line-height: 1; z-index: 2;
	background: var(--red); color: #fff; border-radius: 3px; font: 800 .85rem var(--f-cond); text-transform: uppercase; letter-spacing: .1em; transform: rotate(-3deg);
}

/* ---------- Marcas ---------- */
.jg-brands { background: var(--black); color: var(--white); padding-block: 2.4rem; border-block: 1px solid var(--line); }
.jg-brands ul { display: flex; flex-wrap: wrap; gap: .8rem 2.4rem; align-items: center; justify-content: space-between; }
.jg-brands li { font: 400 clamp(1.4rem, 3vw, 2.2rem) var(--f-display); text-transform: uppercase; color: #6f8277; letter-spacing: .04em; transition: color .2s; }
.jg-brands li:hover { color: var(--neon); }

/* ---------- Tienda física ---------- */
.jg-store { background: linear-gradient(135deg, #04140a, var(--ink)); color: var(--white); }
.jg-store__in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.jg-store h2 { font-size: clamp(2.6rem, 6vw, 5rem); margin-bottom: 1.4rem; }
.jg-store__addr { display: flex; align-items: center; gap: .6rem; margin: 0 0 1.6rem; font: 700 1.3rem var(--f-cond); letter-spacing: .04em; text-transform: uppercase; }
.jg-store__addr svg { color: var(--neon); }
.jg-store__hours { padding: 1.8rem; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-left: 4px solid var(--neon); border-radius: 8px; }
.jg-store__hours h3 { display: flex; gap: .6rem; align-items: center; margin-bottom: 1rem; font-size: 1.6rem; color: var(--neon); }
.jg-store__hours dl { margin: 0; display: grid; gap: .3rem; }
.jg-store__hours dt { font: 800 1.05rem var(--f-cond); text-transform: uppercase; letter-spacing: .08em; margin-top: .6rem; }
.jg-store__hours dd { margin: 0; color: #d3ddd6; }

/* ---------- Pie ---------- */
.jg-footer { background: var(--black); color: #c5d0c9; }
.jg-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-block: 3.5rem; }
.jg-footer h3 { margin-bottom: 1rem; font-size: 1.15rem; color: var(--neon); }
.jg-footer li { margin-bottom: .45rem; }
.jg-footer a { text-decoration: none; }
.jg-footer a:hover { color: var(--neon); }
.jg-footer address { font-style: normal; }
.jg-footer address p { margin: 0 0 .8rem; }
.jg-footer__brand p { max-width: 30ch; margin: 0 0 1.2rem; }
.jg-footer__legal { border-top: 1px solid var(--line); padding-block: 1.4rem; font-size: .85rem; color: #93a399; }
.jg-footer__legal p { margin: .25rem 0; }
.jg-footer__legal strong { color: var(--yellow); }

/* ---------- Verificación de edad ---------- */
.jg-age { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1rem; background: rgba(2, 5, 3, .92); backdrop-filter: blur(6px); }
.jg-age[hidden] { display: none; }
.jg-age__box { max-width: 480px; padding: 2.4rem 2rem; text-align: center; color: var(--white); background: linear-gradient(160deg, var(--ink-2), var(--black)); border: 1px solid var(--line); border-top: 4px solid var(--neon); border-radius: 10px; }
.jg-age__box h2 { font-size: 2.2rem; margin-bottom: .8rem; }
.jg-age__box p { color: #c5d0c9; margin: 0 0 1.6rem; }
.jg-age__btns { display: grid; gap: .7rem; }
.jg-age .jg-logo { justify-content: center; }

/* ---------- Páginas interiores / WooCommerce ---------- */
.jg-page { padding-block: 2.5rem 4.5rem; background: var(--paper); }
.jg-page__title { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 1.6rem; }
.jg-content > * + * { margin-top: 1rem; }
.woocommerce-breadcrumb { margin-bottom: 1.2rem !important; font: 600 .9rem var(--f-cond); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.woocommerce-products-header__title, .product_title { font-family: var(--f-display); text-transform: uppercase; font-weight: 400; }
.woocommerce-products-header__title { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 1rem; }
.woocommerce div.product .product_title { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.02; }
.woocommerce div.product p.price, .woocommerce div.product span.price { font: 800 2rem var(--f-cond); color: var(--deep); }
.woocommerce div.product p.price ins { color: var(--red); text-decoration: none; }
.woocommerce-ordering select, .woocommerce .quantity .qty { min-height: 44px; border: 2px solid #c9cfc2; border-radius: var(--radius); background: #fff; padding: 0 .6rem; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
	min-height: 44px; padding: .8rem 1.4rem; font: 800 1.05rem var(--f-cond); text-transform: uppercase; letter-spacing: .07em;
	background: #000; color: var(--neon); border-radius: var(--radius); transition: background .2s, color .2s;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--neon); color: #000; }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt { background: var(--deep); color: #fff; }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--neon); color: #000; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--deep); background: #fff; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--deep); }
.woocommerce table.shop_table { border-radius: 8px; background: #fff; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { min-height: 46px; padding: .6rem .8rem; border: 2px solid #c9cfc2; border-radius: var(--radius); background: #fff; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus { border-color: var(--deep); outline: none; }
.woocommerce-tabs ul.tabs li.active { border-bottom-color: var(--paper); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.woocommerce ul.products, ul.products { grid-template-columns: repeat(3, 1fr); }
	.jg-mega__panel { grid-template-columns: 250px 1fr; }
	.jg-mega__cols.has-2 { grid-template-columns: 1fr; }
	.jg-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.jg-topbar__hours { display: none; }
	.jg-header__in { grid-template-columns: auto 1fr auto; gap: .8rem; }
	.jg-burger { display: grid; }
	.jg-search { grid-column: 1 / -1; order: 5; }
	.jg-actions span:not(.jg-cart-count) { display: none; }
	.jg-nav { display: none; }
	.jg-logo { justify-self: center; font-size: 1.8rem; }
	.jg-logo small { display: none; }
	.jg-hero__in, .jg-store__in { grid-template-columns: 1fr; }
	.jg-hero__card { max-width: 420px; }
	.jg-usp__in { grid-template-columns: 1fr 1fr; }
	.jg-usp__in > div:nth-child(2) { border-right: 0; }
	.jg-usp__in > div:nth-child(-n+2) { border-bottom: 2px solid rgba(0, 0, 0, .15); }
	.jg-cats__grid { grid-template-columns: 1fr 1fr; }
	.jg-cats__grid li.is-big { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.woocommerce ul.products, ul.products { grid-template-columns: 1fr 1fr; gap: .7rem; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: .95rem; padding-inline: .7rem; }
	.woocommerce ul.products li.product .price { padding-inline: .7rem; font-size: 1.25rem; }
	.woocommerce ul.products li.product .button { margin-inline: .7rem; font-size: .9rem; padding-inline: .5rem; }
	.jg-footer__grid { grid-template-columns: 1fr; }
	.jg-hero__cta .jg-btn { width: 100%; }
	.jg-brands ul { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   Ajustes v1.1: logo con insignia, carrusel de carteles, nav
   ========================================================================== */
.jg-logo { align-items: center; gap: .7rem; }
.jg-logo__badge { width: 56px; height: 56px; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px var(--neon), 0 0 22px rgba(57, 255, 20, .35); }
.jg-logo__text { position: relative; display: inline-flex; align-items: baseline; gap: .35rem; }
.jg-logo--foot .jg-logo__badge { width: 64px; height: 64px; }
.jg-topbar__in > span:last-child { display: inline-flex; gap: 1.4rem; }
.jg-nav__links { flex: 1; min-width: 0; }
.admin-bar .jg-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .jg-header { top: 46px; } }

.jg-promos { background: var(--black); color: var(--white); }
.jg-promos .jg-head .jg-eyebrow { color: var(--neon); }
.jg-promos .jg-head .jg-eyebrow::before { background: linear-gradient(90deg, var(--neon), transparent); }
.jg-promos__nav { display: flex; gap: .5rem; }
.jg-promos__btn { width: 48px; height: 48px; display: grid; place-items: center; background: transparent; color: var(--neon); border: 2px solid var(--line); border-radius: 50%; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.jg-promos__btn:first-child svg { transform: scaleX(-1); }
.jg-promos__btn:hover { background: var(--neon); color: #000; border-color: var(--neon); }
.jg-promos__track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 1rem; scrollbar-width: thin; scrollbar-color: var(--neon) var(--ink); }
.jg-promos__track li { flex: 0 0 auto; scroll-snap-align: start; }
.jg-promos__track a { display: block; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #000; transition: transform .3s var(--ease), border-color .3s; }
.jg-promos__track a:hover { transform: translateY(-4px); border-color: var(--neon); }
.jg-promos__track img { height: clamp(340px, 42vw, 480px); width: auto; max-width: none; }
.jg-promos__track span { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem .9rem .8rem; font: 800 1rem var(--f-cond); text-transform: uppercase; letter-spacing: .08em; background: linear-gradient(0deg, rgba(0, 0, 0, .9), transparent); }

/* Tarjeta de marca para productos sin foto */
.jg-noimg { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .5rem; aspect-ratio: 1; width: 100%; padding: 1.2rem; text-align: center; color: #fff;
	background: radial-gradient(circle at 50% 35%, #1c5a2a, #0c1c12 60%, #050807); border-bottom: 3px solid var(--neon); }
.jg-noimg em { font: 800 .95rem var(--f-cond); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--neon); }
.jg-noimg strong { font: 400 clamp(1.1rem, 2.2vw, 1.7rem)/1.05 var(--f-display); text-transform: uppercase; }
.jg-noimg small { margin-top: .4rem; font: 600 .75rem var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: #9fb0a5; }
.woocommerce ul.products li.product a .jg-noimg { margin: 0; }
.woocommerce div.product div.images .jg-noimg { min-height: 380px; }

@media (max-width: 900px) {
	.jg-logo__badge { width: 44px; height: 44px; }
	.jg-logo__text { display: none; }
	.jg-topbar__in > span:last-child a:last-child { display: none; }
}
