/* ==========================================================================
   Planet Hobbies — estilos
   Tokens tomados del diseño (Illustrator, lienzo 1280 px).
   ========================================================================== */

@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--red: #d4181e;
	--red-hot: #f8252e;
	--navy: #040d19;
	--navy-2: #071523;
	--ink: #040d19;
	--ink-2: #4c4c4c;
	--muted: #727272;
	--card: #f0f4f7;
	--line: #e7ebf0;
	--paper: #ffffff;
	--paper-2: #f4f4f4;
	--font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
	--container: 72rem;
	--gutter: 2.5rem;
	--radius: 1rem;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; font-size: clamp(0.875rem, 1.25vw, 1.1875rem); }
body {
	margin: 0;
	font: 400 0.9375rem/1.55 var(--font);
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 0.1875rem; }
[tabindex="-1"]:focus { outline: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ph-skip { position: absolute; left: -62.4375rem; top: 0; z-index: 100; background: var(--red-hot); color: #fff; padding: 0.5rem 0.875rem; }
.ph-skip:focus { left: 0; }
.ph-icon { flex: none; }

.ph-container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Tipografía base ---------- */
.ph-h1 { font-size: clamp(1.875rem, 3.6vw, 2.5rem); font-weight: 800; line-height: 1.08; text-transform: uppercase; letter-spacing: -.01em; }
.ph-h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; line-height: 1.1; text-transform: uppercase; letter-spacing: -.005em; }

.ph-eyebrow { display: flex; align-items: center; gap: 0.75rem; font-size: 0.75rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: #a5a5a5; margin-bottom: 0.875rem; }
.ph-eyebrow__bar { width: 2.4375rem; height: 0.25rem; border-radius: 2px; background: var(--red); flex: none; }
.ph-eyebrow--dark { color: var(--muted); }

/* ---------- Botones ---------- */
.ph-btn, .single_add_to_cart_button, .button, button.button, input[type="submit"].button {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.625rem;
	padding: 0.9375rem 1.875rem; border: 0; border-radius: 0.875rem;
	background: var(--red-hot); color: #fff !important;
	font: 600 0.9375rem/1 var(--font); letter-spacing: .01em;
	transition: background .2s var(--ease), transform .2s var(--ease);
}
.ph-btn:hover, .single_add_to_cart_button:hover, .button:hover { background: var(--red); transform: translateY(-1px); }
.ph-btn--block { width: 100%; }

.ph-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ph-link:hover { color: var(--red); }

.ph-slash { display: inline-block; width: 2.75rem; height: 4rem; background: linear-gradient(115deg, transparent 0 34%, var(--red-hot) 34% 44%, transparent 44% 58%, var(--red-hot) 58% 68%, transparent 68%); transform: skewX(-8deg); }

/* ==========================================================================
   Header
   ========================================================================== */
.ph-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: var(--navy); color: #fff; }
.ph-topbar { border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 0.75rem; }
.ph-topbar__in { display: flex; justify-content: flex-end; gap: 2.75rem; padding-block: 0.75rem; }
.ph-topbar a:hover { color: var(--red-hot); }

.ph-header__in { display: flex; align-items: center; gap: 2.25rem; padding-block: 1rem; }
.ph-logo img { width: 8.75rem; height: auto; }
.ph-header__nav { flex: 1; }
.ph-nav { display: flex; gap: 3rem; margin-left: 2.5rem; }
.ph-nav a { position: relative; display: block; padding-block: 0.5rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.ph-nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 2.4375rem; height: 0.25rem; border-radius: 2px; background: var(--red-hot); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.ph-nav a:hover::after, .ph-nav .current-menu-item > a::after, .ph-nav .current-menu-ancestor > a::after, .ph-nav .current_page_item > a::after { transform: scaleX(1); }

.ph-search { display: flex; align-items: center; width: 18.75rem; height: 2.25rem; border: 1px solid rgba(255, 255, 255, .35); border-radius: 62.4375rem; padding-left: 1rem; }
.ph-search input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; font: 400 0.8125rem var(--font); }
.ph-search input::placeholder { color: rgba(255, 255, 255, .5); }
.ph-search input:focus { outline: none; }
.ph-search button { background: none; border: 0; padding: 0 0.875rem; display: grid; place-items: center; }
.ph-cart { position: relative; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; }
.ph-cart__count { position: absolute; top: -2px; right: -0.25rem; min-width: 1.125rem; height: 1.125rem; padding: 0 0.3125rem; border-radius: 62.4375rem; background: var(--red-hot); font-size: 0.75rem; font-weight: 700; display: grid; place-items: center; }
.ph-cart__count.is-empty { display: none; }
.ph-burger { display: none; background: none; border: 0; padding: 0.375rem; }

/* ==========================================================================
   Hero (Inicio)
   ========================================================================== */
.ph-hero { position: relative; min-height: max(34rem, calc(88vh - 8rem)); color: #fff; background: var(--navy) var(--hero-bg) center / cover no-repeat; display: flex; align-items: center; }
.ph-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 13, 25, .55), rgba(4, 13, 25, 0) 60%); }
.ph-hero__in { position: relative; padding-block: 6rem 5rem; }
.ph-hero__side { position: absolute; font-size: 0.75rem; font-weight: 500; letter-spacing: .3em; color: rgba(255, 255, 255, .55); line-height: 1.9; }
.ph-hero__side--l { left: var(--gutter); top: 2.75rem; }
.ph-hero__side--r { right: var(--gutter); top: 2.75rem; text-align: right; }
.ph-hero__title { font-size: clamp(3.375rem, 8vw, 6rem); font-weight: 800; line-height: .95; letter-spacing: -.02em; margin-top: 3.125rem; }
.ph-hero__title span { display: block; font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; letter-spacing: 0; margin-top: 0.375rem; }
.ph-hero__text { max-width: 21.25rem; margin: 1.125rem 0 1.625rem; font-size: 0.875rem; color: rgba(255, 255, 255, .85); }

/* ==========================================================================
   Secciones + grilla de productos
   ========================================================================== */
.ph-section { padding-block: 4.375rem 1.875rem; }
.ph-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.75rem; }
.ph-section__head .ph-eyebrow { margin-bottom: 0.625rem; }
.ph-empty { padding: 2.5rem 0; color: var(--muted); }

.ph-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }

/* ---------- Tarjeta de producto ---------- */
.ph-card { display: flex; }
.ph-card__link { flex: 1; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.125rem 1.125rem 1rem; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.ph-card__link:hover { transform: translateY(-0.1875rem); box-shadow: 0 0.875rem 1.875rem -1.125rem rgba(4, 13, 25, .45); }
.ph-card__cat { font-size: 0.6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.ph-card__brand { display: block; margin-top: 0.3rem; font-size: 1.125rem; font-weight: 800; line-height: 1.1; letter-spacing: -.01em; }
.ph-card__title { margin-top: 0.15rem; font-size: 0.875rem; font-weight: 500; line-height: 1.3; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.ph-card__chips { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-top: 0.5rem; min-height: 1.375rem; }
.ph-card__chips span { padding: 0.1875rem 0.625rem; border: 1px solid var(--line); border-radius: 62.4375rem; background: #fff; font-size: 0.6875rem; color: var(--muted); }
.ph-card__chips span.is-brand { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 700; letter-spacing: .02em; }
.ph-card__media { position: relative; display: block; aspect-ratio: 4 / 3; margin: 0.25rem -0.5rem 0.25rem; }
.ph-card__img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; object-fit: contain; transition: transform .35s var(--ease); }
.ph-card__link:hover .ph-card__img { transform: scale(1.04); }
.ph-card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 0.625rem; margin-top: auto; }
.ph-card__go { display: grid; place-items: center; width: 2.125rem; height: 2.125rem; border-radius: 50%; background: var(--navy); color: #fff; transition: background .2s; }
.ph-card__link:hover .ph-card__go { background: var(--red-hot); }

.ph-price { display: flex; flex-direction: column; line-height: 1.1; }
.ph-price__label { font-size: 0.6875rem; color: var(--muted); }
.ph-price__now, .ph-price__now .amount, .ph-price__soldout { font-size: 1.125rem; font-weight: 800; }
.ph-price__now .woocommerce-Price-currencySymbol { margin-right: 0.25rem; }
.ph-price__now.is-sale, .ph-price__now.is-sale .amount { color: var(--red-hot); }
.ph-price__old, .ph-price__old .amount { font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.ph-price__soldout { color: var(--red-hot); }
.is-soldout .ph-card__img { opacity: .6; filter: grayscale(.4); }
.ph-price del { text-decoration: line-through; }

/* ==========================================================================
   Banner ancho
   ========================================================================== */
.ph-banner { position: relative; margin-top: 3.75rem; color: #fff; background: var(--navy) var(--banner-bg) center / cover no-repeat; }
.ph-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 13, 25, .78), rgba(4, 13, 25, .1) 60%); }
.ph-banner__in { position: relative; }
.ph-banner__in { display: flex; align-items: center; justify-content: space-between; gap: 1.875rem; min-height: max(15.6rem, 21vw); padding-block: 2.5rem; }
.ph-banner h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; line-height: 1.12; text-transform: uppercase; }
.ph-banner p { margin-top: 0.75rem; max-width: 20rem; font-size: 0.875rem; color: rgba(255, 255, 255, .8); }
.ph-banner__words { position: relative; align-self: flex-end; font-size: 0.6875rem; font-weight: 500; letter-spacing: .3em; line-height: 1.9; color: rgba(255, 255, 255, .7); text-align: right; padding-right: 3.75rem; }
.ph-banner__words .ph-slash { position: absolute; right: 0; bottom: 0; width: 2.125rem; height: 3rem; }

/* ==========================================================================
   Asesoría (formulario)
   ========================================================================== */
.ph-advisory { position: relative; margin-top: 4.375rem; min-height: max(32.5rem, 46vw); display: grid; grid-template-columns: 1fr minmax(22rem, 37%); align-items: center; color: #fff; background: var(--navy) var(--adv-bg) left center / cover no-repeat; }
.ph-advisory::before { content: none; }
.ph-advisory__panel { position: relative; grid-column: 2; padding: 3.5rem max(var(--gutter), calc((100vw - var(--container)) / 2)) 3.5rem 3rem; }
.ph-advisory h2 { font-size: 2rem; font-weight: 800; line-height: 1.1; }
.ph-advisory__sub { margin-top: 0.375rem; font-size: 1.125rem; font-weight: 700; }
.ph-advisory__text { margin: 0.875rem 0 1.375rem; max-width: 21.25rem; font-size: 0.875rem; color: rgba(255, 255, 255, .8); }
.ph-form { display: grid; gap: 0.625rem; }
.ph-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.625rem; }
.ph-form input, .ph-form textarea { width: 100%; padding: 0.875rem 1rem; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .28); border-radius: 0.5rem; color: #fff; font: 500 0.75rem var(--font); letter-spacing: .06em; }
.ph-form input::placeholder, .ph-form textarea::placeholder { color: rgba(255, 255, 255, .7); }
.ph-form textarea { resize: vertical; min-height: 5.125rem; }
.ph-form input:focus, .ph-form textarea:focus { outline: none; border-color: var(--red-hot); }
.ph-form__hp { position: absolute; left: -624.9375rem; }
.ph-form .ph-btn { margin-top: 0.375rem; padding-block: 1.0625rem; border-radius: 62.4375rem; }
.ph-notice { padding: 0.75rem 1rem; border-radius: 0.625rem; font-size: 0.875rem; margin-bottom: 0.875rem; }
.ph-notice--ok { background: rgba(46, 160, 90, .18); border: 1px solid rgba(46, 160, 90, .5); }
.ph-notice--error { background: rgba(248, 37, 46, .16); border: 1px solid rgba(248, 37, 46, .5); }

/* ==========================================================================
   Beneficios
   ========================================================================== */
.ph-benefits { padding-block: 4rem 4.375rem; }
.ph-benefits__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.875rem; margin-bottom: 2.25rem; }
.ph-benefits__head .ph-eyebrow { margin-bottom: 0.625rem; }
.ph-benefits__head > p { max-width: 23.75rem; font-size: 0.875rem; color: var(--ink-2); }
.ph-benefits__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.625rem; }
.ph-benefits__list li { display: flex; align-items: center; gap: 0.75rem; }
.ph-benefits__list img { width: 6rem; height: auto; flex: none; }
.ph-benefits__list h3 { font-size: 0.75rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.ph-benefits__list p { margin-top: 0.25rem; font-size: 0.6875rem; color: var(--muted); line-height: 1.4; }

/* ==========================================================================
   Footer
   ========================================================================== */
.ph-footer { margin-top: 0; color: #fff; background: var(--navy) var(--footer-bg) center / cover no-repeat; }
.ph-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr; gap: 2rem; padding-block: 4rem 3.375rem; }
.ph-footer__brand img { width: 9.375rem; }
.ph-footer__brand p { margin-top: 0.875rem; max-width: 13.125rem; font-size: 0.6875rem; font-weight: 600; letter-spacing: .04em; line-height: 1.6; }
.ph-social { display: flex; gap: 0.875rem; margin-top: 1.125rem; }
.ph-social img { width: 1.625rem; height: 1.625rem; opacity: .9; }
.ph-social a:hover img { opacity: 1; transform: translateY(-2px); }
.ph-social img { transition: transform .2s; }
.ph-footer__col h2 { font-size: 0.6875rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.ph-footer__list { display: grid; gap: 0.625rem; }
.ph-footer__list a { font-size: 0.75rem; color: rgba(255, 255, 255, .9); }
.ph-footer__list a:hover { color: var(--red-hot); }
.ph-footer__slogan { position: relative; align-self: center; font-size: 0.6875rem; font-weight: 500; letter-spacing: .3em; line-height: 1.9; color: rgba(255, 255, 255, .7); }
.ph-footer__slogan .ph-slash { position: absolute; right: -0.625rem; top: 50%; translate: 0 -50%; width: 3.125rem; height: 4.5rem; }
.ph-footer__bar { border-top: 1px solid rgba(255, 255, 255, .1); }
.ph-footer__bar-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.375rem; font-size: 0.6875rem; }
.ph-footer__legal { display: flex; gap: 1.625rem; }
.ph-footer__legal a:hover { color: var(--red-hot); }
.ph-pay { display: flex; align-items: center; gap: 1.375rem; }
.ph-pay img { height: 1.25rem; width: auto; }

/* ==========================================================================
   Cabecera de páginas internas / categorías
   ========================================================================== */
.ph-page-head { padding-block: 3.75rem 1.25rem; background: linear-gradient(180deg, var(--paper-2), #fff); }
.ph-page-head__title { font-size: clamp(1.875rem, 4vw, 2.75rem); font-weight: 800; text-transform: uppercase; line-height: 1.05; }
.ph-page-head__desc { margin-top: 0.625rem; max-width: 38.75rem; color: var(--ink-2); }
.ph-section--archive { padding-top: 1.875rem; }
.ph-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.25rem; font-size: 0.8125rem; color: var(--muted); }
.ph-toolbar select { padding: 0.5625rem 0.75rem; border: 1px solid var(--line); border-radius: 0.5rem; background: #fff; font: 500 0.8125rem var(--font); }
.woocommerce-pagination ul { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2.125rem; }
.woocommerce-pagination a, .woocommerce-pagination span { display: grid; place-items: center; min-width: 2.375rem; height: 2.375rem; padding: 0 0.625rem; border: 1px solid var(--line); border-radius: 0.625rem; font-weight: 600; font-size: 0.875rem; }
.woocommerce-pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }
.ph-prose { max-width: 56.25rem; }
.ph-prose > * + * { margin-top: 1em; }
.ph-prose > p a, .ph-prose > ul a, .ph-prose > ol a { color: var(--red); text-decoration: underline; }
.ph-prose--wide a { text-decoration: none; }

/* ==========================================================================
   Producto
   ========================================================================== */
/* ---------- Hero de la ficha de producto (proporción del diseño: ~2:1) ---------- */
.ph-pd-hero { --box-w: 80vw; --hero-h: clamp(30rem, min(50vw, 80vh), 62rem); position: relative; overflow: hidden; width: 100%; color: #fff; min-height: var(--hero-h); background: var(--pd-bg, radial-gradient(80% 120% at 30% 40%, #1a3a66 0%, #0a1830 55%, var(--navy) 100%)); background-size: cover; background-position: center bottom; background-repeat: no-repeat; }
/* Rejilla a todo el ancho: el vehículo casi toca el borde izquierdo y el texto ocupa ~30 % a la derecha */
.ph-pd-hero__in { position: relative; width: 80%; max-width: none; margin-inline: auto; padding-inline: 0; display: grid; grid-template-columns: minmax(0, 64fr) minmax(0, 31fr); column-gap: 3%; min-height: var(--hero-h); padding-block: 3% 3%; }
.ph-pd-hero__side { position: absolute; left: 0; top: 1.6rem; z-index: 1; font-size: 0.75rem; font-weight: 500; letter-spacing: .3em; line-height: 1.9; color: rgba(255, 255, 255, .6); }
.ph-pd-hero__media { position: relative; align-self: end; display: flex; align-items: flex-end; min-width: 0; margin-bottom: 0.5rem; }
.ph-pd-hero__main { width: 100%; max-height: calc(var(--hero-h) - 8rem); object-fit: contain; object-position: left bottom; filter: drop-shadow(0 1.2rem 1.2rem rgba(0, 0, 0, .45)); }

.ph-pd-hero__buy { display: flex; flex-direction: column; justify-content: flex-start; min-width: 0; padding-top: 2.4rem; }
.ph-pd-hero__buy h1 { display: flex; flex-direction: column; font-weight: 800; line-height: 1.02; margin-top: 0.2rem; }
.ph-pd-hero__brand { font-size: clamp(2rem, calc(var(--box-w) * .046), 4.6rem); letter-spacing: -.025em; overflow-wrap: anywhere; }
.ph-pd-hero__model { font-size: clamp(1rem, calc(var(--box-w) * .0185), 1.75rem); font-weight: 700; margin-top: 0.35rem; }
.ph-pd-hero__short { margin-top: 1rem; max-width: 22rem; font-size: 0.875rem; line-height: 1.5; color: rgba(255, 255, 255, .9); }

/* Precio a la izquierda y botón a la derecha, en la misma fila */
.ph-pd-hero__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.2rem; }
.ph-pd-hero__price { display: flex; flex-direction: column; }
.ph-pd-hero__price .ph-price__label { color: rgba(255, 255, 255, .75); font-size: 0.8125rem; }
.ph-pd-price, .ph-pd-price .amount { font-size: 1.65rem; font-weight: 800; white-space: nowrap; }
.ph-pd-price ins { text-decoration: none; }
.ph-pd-price del, .ph-pd-price del .amount { font-size: 0.875rem; font-weight: 500; opacity: .6; margin-right: 0.5rem; }
.ph-pd-hero__cart form.cart { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin: 0; }
.ph-pd-hero__cart .quantity { display: none; }
.ph-pd-hero__cart .single_add_to_cart_button { padding: 0.95rem 1.9rem; white-space: nowrap; }
.ph-pd-hero__cart table.variations { margin-bottom: 0.75rem; border-collapse: collapse; }
.ph-pd-hero__cart table.variations td, .ph-pd-hero__cart table.variations th { padding: 0.25rem 0.625rem 0.25rem 0; text-align: left; font-size: 0.8125rem; }
.ph-pd-hero__cart select { padding: 0.5625rem 0.75rem; border-radius: 0.5rem; border: 1px solid rgba(255, 255, 255, .35); background: var(--navy); color: #fff; font: 500 0.8125rem var(--font); }
.ph-pd-hero__cart .reset_variations { font-size: 0.8125rem; color: rgba(255, 255, 255, .6); }
.ph-pd-hero__cart .woocommerce-variation-add-to-cart { display: flex; gap: 0.75rem; align-items: center; }

/* Galería: carrusel de 4 miniaturas visibles, abajo en la columna del texto */
.ph-pd-hero__nav { display: flex; align-items: center; justify-content: flex-start; gap: 0.5rem; width: 100%; margin-top: 1.7rem; padding-top: 0; }
.ph-pd-hero__strip { --th-gap: 0.4rem; --visible: 3; flex: 1 1 0; min-width: 0; overflow: hidden; }
.ph-pd-hero__thumbs { display: flex; gap: var(--th-gap); transform: translateX(calc(var(--offset, 0) * -1 * (100% + var(--th-gap)) / var(--visible))); transition: transform .35s var(--ease); }
.ph-pd-hero__thumbs li { flex: 0 0 calc((100% - (var(--visible) - 1) * var(--th-gap)) / var(--visible)); min-width: 0; }
.ph-pd-hero__thumbs button { display: block; width: 100%; height: 3.9rem; padding: 0.15rem; border: 2px solid transparent; border-radius: 0.4rem; background: #fff; }
.ph-pd-hero__thumbs button:hover { border-color: var(--red-hot); }
.ph-pd-hero__main[data-lightbox-open] { cursor: zoom-in; }
.ph-pd-hero__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.ph-pd-hero__arrow { display: grid; place-items: center; flex: none; width: 1.75rem; height: 1.75rem; padding: 0; border: 0; border-radius: 50%; background: rgba(4, 13, 25, .6); color: #fff; transform: rotate(90deg); transition: background .2s, opacity .2s; }
.ph-pd-hero__arrow--next { transform: rotate(-90deg); }
.ph-pd-hero__arrow:hover { background: var(--red-hot); }
.ph-pd-hero__arrow[disabled] { opacity: .35; pointer-events: none; }

.ph-pd-sec { position: relative; padding-block: 4.375rem 1.875rem; overflow: hidden; }
.ph-pd-sec__in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.ph-pd-sec__num { position: absolute; left: var(--gutter); top: 0; font-size: 5.5rem; font-weight: 800; line-height: 1; color: #eceeef; pointer-events: none; user-select: none; }
.ph-pd-sec__copy { position: relative; padding-top: 1.875rem; padding-left: 6.875rem; }
.ph-pd-sec__copy .ph-eyebrow { padding-left: 0; }
.ph-pd-sec__text { margin-top: 1rem; max-width: 29.375rem; font-size: 0.875rem; color: var(--ink-2); line-height: 1.7; }
.ph-pd-sec__text p + p { margin-top: 1em; }
.ph-pd-sec__media { position: relative; }
.ph-pd-sec__media img { width: 100%; max-height: 28.75rem; object-fit: contain; }
.ph-pd-sec__media .ph-slash { position: absolute; right: 8%; top: 40%; }
.ph-pd-sec__side { position: absolute; right: var(--gutter); bottom: 0; font-size: 0.6875rem; font-weight: 500; letter-spacing: .3em; line-height: 1.9; color: #a5a5a5; text-align: right; }
.ph-features { display: grid; gap: 0.875rem; margin-top: 1.625rem; }
.ph-features li { display: flex; align-items: center; gap: 0.875rem; }
.ph-features img { width: 2.125rem; height: 2.125rem; flex: none; }
.ph-features strong { display: block; font-size: 0.8125rem; font-weight: 700; }
.ph-features span { display: block; font-size: 0.75rem; color: var(--muted); }
.ph-features--row { grid-template-columns: repeat(3, 1fr); margin-top: 2.5rem; }

.ph-video { color: #fff; background: var(--navy) var(--video-bg) center / cover no-repeat; margin-top: 3.125rem; }
.ph-video__in { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: max(20rem, 30vw); padding-block: 2.5rem; gap: 1.25rem; }
.ph-video h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 800; line-height: 1.1; }
.ph-video__copy p { margin-top: 0.75rem; max-width: 17.5rem; font-size: 0.8125rem; color: rgba(255, 255, 255, .8); }
.ph-video__play { display: grid; place-items: center; width: 5.75rem; height: 5.75rem; border-radius: 50%; border: 0.1875rem solid #fff; background: rgba(4, 13, 25, .35); color: #fff; transition: transform .2s var(--ease), background .2s; }
.ph-video__play:hover { transform: scale(1.08); background: var(--red-hot); }
.ph-video__words { grid-column: 3; justify-self: end; font-size: 0.6875rem; font-weight: 500; letter-spacing: .3em; line-height: 2.1; color: rgba(255, 255, 255, .75); text-align: right; }
.ph-modal { width: min(60rem, 92vw); padding: 0; border: 0; border-radius: 0.75rem; background: #000; }
.ph-modal::backdrop { background: rgba(4, 13, 25, .8); }
.ph-modal__frame { aspect-ratio: 16 / 9; }
.ph-modal__frame iframe { width: 100%; height: 100%; border: 0; }
.ph-modal__close { position: absolute; right: 0.5rem; top: 0.25rem; z-index: 2; background: none; border: 0; color: #fff; font-size: 1.875rem; }

/* ==========================================================================
   Nosotros
   ========================================================================== */
.ph-about-hero { min-height: max(16rem, 40vw); background: var(--navy) var(--about-bg) center / cover no-repeat; }
.ph-about-story .ph-pd-sec__in { max-width: none; padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2)); padding-right: 0; grid-template-columns: .9fr 1.1fr; gap: 3rem; }
.ph-about-story .ph-pd-sec__media img { max-height: none; width: 100%; height: auto; margin-left: auto; }
.ph-about-story .ph-pd-sec__text { max-width: 34rem; font-size: 0.875rem; }
.ph-about-story__tag { margin-top: 1.375rem; font-size: 1rem; font-weight: 300; letter-spacing: .02em; }
.ph-about-story__years { position: absolute; left: 6%; top: 0; z-index: 1; display: flex; flex-direction: column; font-size: 0.6875rem; letter-spacing: .12em; }
.ph-about-story__years strong { font-size: 1rem; font-weight: 800; letter-spacing: 0; }
.ph-timeline__head { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 2.5rem; padding-top: 1.875rem; }
.ph-timeline__head .ph-pd-sec__num { left: 0; }
.ph-timeline__head > div { padding: 0.625rem 0 0 8.75rem; }
.ph-timeline__head > p { font-size: 0.8125rem; color: var(--ink-2); max-width: 21.25rem; }
.ph-timeline__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2.5rem; text-align: center; position: relative; }
.ph-timeline__list::before { content: ""; position: absolute; left: 6%; right: 6%; top: 5.75rem; height: 1px; background: var(--line); }
.ph-timeline__list li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.25rem; }
.ph-timeline__list img { width: 4rem; height: 4rem; }
.ph-timeline__dot { width: 0.625rem; height: 0.625rem; border-radius: 50%; background: var(--red); margin-block: 0.625rem; }
.ph-timeline__label { font-size: 0.875rem; font-weight: 800; color: var(--red); text-transform: uppercase; }
.ph-timeline__list h3 { font-size: 0.9375rem; font-weight: 800; margin-top: 0.375rem; }
.ph-timeline__list p { font-size: 0.8438rem; color: var(--muted); max-width: 16.25rem; }
.ph-strip { margin-top: 2.5rem; padding: 1.625rem 1.25rem; background: #d9d9d9; color: #fff; text-align: center; font-size: 0.9375rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ph-brands__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.875rem; }
.ph-brands__head > p { max-width: 23.75rem; font-size: 0.8125rem; color: var(--ink-2); }
.ph-brands__list { display: flex; align-items: center; justify-content: space-around; gap: 1.875rem; margin-top: 2.125rem; padding-block: 0.625rem; }
.ph-brands__list img { height: 2.75rem; width: auto; max-width: 11.25rem; object-fit: contain; }

/* ---------- FAQ ---------- */
.ph-faq { margin-top: 0; padding-block: 4.375rem 5rem; background: #f7f7f8 var(--faq-bg) left bottom / auto 70% no-repeat; }
.ph-faq__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3.125rem; }
.ph-faq__intro p { margin-top: 0.875rem; max-width: 20rem; font-size: 0.8125rem; color: var(--ink-2); }
.ph-faq__list { display: grid; gap: 0.75rem; }
.ph-faq__item { background: rgba(255, 255, 255, .92); border: 1px solid var(--line); border-radius: 0.75rem; box-shadow: 0 0.5rem 1.375rem -1.125rem rgba(4, 13, 25, .5); }
.ph-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 0.875rem; padding: 1.125rem 1.25rem 1.125rem 1.625rem; font-size: 0.8125rem; font-weight: 700; cursor: pointer; list-style: none; position: relative; }
.ph-faq__item summary::-webkit-details-marker { display: none; }
.ph-faq__item summary::before { content: ""; position: absolute; left: 0.625rem; top: 50%; width: 0.1875rem; height: 1rem; background: var(--red-hot); transform: translateY(-50%) skewX(-18deg); }
.ph-faq__item[open] summary .ph-icon { transform: rotate(180deg); }
.ph-faq__item p { margin: 0 1.25rem 1.125rem; padding: 0.75rem 0.875rem; background: var(--card); border-radius: 0.5rem; font-size: 0.8125rem; color: var(--muted); }
.ph-faq__help { display: flex; align-items: center; gap: 1rem; padding: 1.125rem 1.375rem; background: rgba(255, 255, 255, .9); border-radius: 0.875rem; }
.ph-faq__help > div { flex: 1; font-size: 0.75rem; color: var(--muted); }
.ph-faq__help strong { display: block; font-size: 0.75rem; text-transform: uppercase; color: var(--muted); }
.ph-faq__help .ph-btn { padding: 0.8125rem 1.375rem; border-radius: 62.4375rem; font-size: 0.8125rem; }

/* ---------- Contacto ---------- */
.ph-contact__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.125rem; align-items: center; }
.ph-contact__map iframe { width: 100%; height: 21.25rem; border: 0; border-radius: 0.75rem; filter: saturate(.9); }
.ph-contact__sub { margin: 0.375rem 0 1.25rem; color: var(--muted); font-size: 0.875rem; }
.ph-contact__cards { display: grid; gap: 0.625rem; }
.ph-contact__cards li { display: flex; align-items: center; gap: 1rem; padding: 0.875rem 1.375rem 0.875rem 0.75rem; border: 1px solid var(--line); border-radius: 0.75rem; background: #fff; }
.ph-contact__cards img { width: 5.25rem; height: auto; flex: none; }
.ph-contact__cards h2 { font-size: 0.875rem; font-weight: 800; }
.ph-contact__cards a, .ph-contact__cards p { font-size: 0.8125rem; color: var(--ink-2); }
.ph-contact__cards a:hover { color: var(--red); }
.ph-contact__cards small { display: block; font-size: 0.6875rem; letter-spacing: .06em; color: #a5a5a5; }

/* ==========================================================================
   Blog, artículo, 404, filtros de categoría, descripción de producto
   ========================================================================== */
.ph-cats { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.375rem; }
.ph-cats a { padding: 0.5625rem 1.125rem; border: 1px solid var(--line); border-radius: 62.4375rem; background: #fff; font-size: 0.8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; transition: all .2s var(--ease); }
.ph-cats a:hover { border-color: var(--navy); }
.ph-cats a.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.ph-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.ph-post { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.ph-post:hover { transform: translateY(-0.1875rem); box-shadow: 0 0.875rem 1.875rem -1.125rem rgba(4, 13, 25, .45); }
.ph-post__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.ph-post__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.ph-post:hover .ph-post__media img { transform: scale(1.04); }
.ph-post__body { display: flex; flex-direction: column; gap: 0.5rem; flex: 1; padding: 1.25rem; }
.ph-post__meta { font-size: 0.6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.ph-post__title { font-size: 1.0625rem; font-weight: 800; line-height: 1.25; }
.ph-post__excerpt { font-size: 0.8125rem; color: var(--ink-2); }
.ph-post__more { margin-top: auto; padding-top: 0.375rem; }
.navigation.pagination { margin-top: 2.125rem; }
.navigation.pagination .nav-links { display: flex; justify-content: center; gap: 0.5rem; }
.navigation.pagination .page-numbers { display: grid; place-items: center; min-width: 2.375rem; height: 2.375rem; padding: 0 0.625rem; border: 1px solid var(--line); border-radius: 0.625rem; font-weight: 600; font-size: 0.875rem; }
.navigation.pagination .current { background: var(--navy); border-color: var(--navy); color: #fff; }

.ph-article { max-width: 48.75rem; margin-inline: auto; }
.ph-article__cover { margin-bottom: 1.875rem; border-radius: var(--radius); overflow: hidden; }
.ph-article__meta { margin-bottom: 0.5rem; font-size: 0.75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.ph-prose > h2 { margin-top: 1.6em; font-size: 1.5rem; font-weight: 800; line-height: 1.2; }
.ph-prose > h3 { margin-top: 1.4em; font-size: 1.125rem; font-weight: 800; }
.ph-prose > p, .ph-prose > ul li, .ph-prose > ol li { line-height: 1.75; color: var(--ink-2); }
.ph-prose > ul { list-style: disc; padding-left: 1.3em; }
.ph-prose > ol { list-style: decimal; padding-left: 1.3em; }
.ph-prose img { border-radius: 0.75rem; }
.ph-prose blockquote { margin-inline: 0; padding: 0.25rem 0 0.25rem 1.25rem; border-left: 0.25rem solid var(--red-hot); font-size: 1.0625rem; font-weight: 600; }
.ph-prose--wide { max-width: none; }

.ph-404 { padding-block: 5.625rem 6.25rem; text-align: center; background: var(--navy) radial-gradient(70% 90% at 50% 0%, #10294a, var(--navy)); color: #fff; }
.ph-404 .ph-404__code { font-size: clamp(6.875rem, 22vw, 15rem); font-weight: 900; font-style: italic; line-height: .9; letter-spacing: -.04em; color: rgba(120, 160, 230, .28); }
.ph-404 h1 { margin-top: -0.625rem; font-size: clamp(1.625rem, 4vw, 2.5rem); font-weight: 800; text-transform: uppercase; }
.ph-404 h1 + p { margin: 0.75rem auto 1.625rem; max-width: 26.25rem; color: rgba(255, 255, 255, .8); }
.ph-404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.ph-404__actions .ph-btn--ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .5); }
.ph-404__actions .ph-btn--ghost:hover { background: #fff; color: var(--navy) !important; }
.ph-404 .ph-search { margin: 1.875rem auto 0; width: min(26.25rem, 100%); }

.ph-pd-info { padding-block: 3.75rem 0.625rem; }
.ph-pd-info__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; }
.ph-pd-info h2 { margin-bottom: 0.875rem; font-size: 1.25rem; font-weight: 800; text-transform: uppercase; }
.ph-pd-info table.woocommerce-product-attributes { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.ph-pd-info table.woocommerce-product-attributes th, .ph-pd-info table.woocommerce-product-attributes td { padding: 0.75rem 0.875rem; text-align: left; border-bottom: 1px solid var(--line); }
.ph-pd-info table.woocommerce-product-attributes th { width: 40%; font-size: 0.75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ph-pd-info table.woocommerce-product-attributes p { margin: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.ph-header__in { gap: 20px; }
	.ph-nav { gap: 26px; margin-left: 10px; }
	.ph-search { width: 200px; }
	.ph-footer__grid { grid-template-columns: repeat(3, 1fr); }
	.ph-footer__slogan { grid-column: 1 / -1; }
	.ph-benefits__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	html { font-size: 16px; }
	:root { --gutter: 22px; }
	.ph-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ph-burger { display: block; margin-left: auto; order: 3; }
	.ph-header__in { flex-wrap: wrap; }
	.ph-logo { order: 1; }
	.ph-cart { order: 2; }
	.ph-search { order: 5; width: 100%; }
	.ph-header__nav { order: 4; flex-basis: 100%; display: none; }
	.ph-header.is-open .ph-header__nav { display: block; }
	.ph-nav { flex-direction: column; gap: 4px; margin: 0; }
	.ph-topbar__in { justify-content: center; gap: 18px; flex-wrap: wrap; }
	.ph-hero { min-height: 480px; }
	.ph-hero__side--r { display: none; }
	.ph-banner__in, .ph-section__head, .ph-benefits__head, .ph-brands__head { flex-direction: column; align-items: flex-start; }
	.ph-banner__words { align-self: flex-start; text-align: left; padding: 0; }
	.ph-banner__words .ph-slash { display: none; }
	.ph-advisory { grid-template-columns: 1fr; background-size: cover; }
	.ph-advisory::before { content: ""; position: absolute; inset: 0; background: rgba(7, 21, 35, .82); }
	.ph-advisory__panel { grid-column: 1; padding: 50px var(--gutter); }
	.ph-pd-hero { --hero-h: auto; --box-w: 92vw; }
	.ph-pd-hero__in { width: 92%; grid-template-columns: 1fr; min-height: 0; padding: 3.5rem 0 1.5rem; row-gap: 1rem; }
	.ph-pd-hero__media { margin-bottom: 0; }
	.ph-pd-hero__main { max-height: 22rem; }
	.ph-pd-hero__buy { padding-top: 0; }
	.ph-pd-hero__nav { justify-content: flex-start; }
	.ph-pd-hero__in, .ph-pd-sec__in, .ph-faq__grid, .ph-contact__grid, .ph-timeline__head, .ph-pd-info__grid { grid-template-columns: 1fr; }
	.ph-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ph-pd-hero__side, .ph-pd-sec__side { display: none; }
	.ph-pd-sec__copy { padding-left: 0; padding-top: 70px; }
	.ph-timeline__head > div { padding-left: 0; padding-top: 60px; }
	.ph-video__words { grid-column: 1; }
	.ph-video__in { grid-template-columns: 1fr; justify-items: start; }
	.ph-video__words { justify-self: start; text-align: left; }
	.ph-features--row { grid-template-columns: 1fr; }
	.ph-timeline__list { grid-template-columns: repeat(2, 1fr); }
	.ph-timeline__list::before { display: none; }
	.ph-brands__list { flex-wrap: wrap; justify-content: center; }
	.ph-footer__bar-in { flex-direction: column; align-items: flex-start; }
	.ph-footer__legal { flex-wrap: wrap; gap: 14px; }
}
@media (max-width: 560px) {
	.ph-posts { grid-template-columns: 1fr; }
	.ph-grid { gap: 10px; }
	.ph-card__link { padding: 12px 12px 12px; }
	.ph-card__title { font-size: 12px; }
	.ph-price__now, .ph-price__now .amount, .ph-price__soldout { font-size: 15px; }
	.ph-hero::before { background: rgba(4, 13, 25, .55); }
	.ph-benefits__list li { align-items: flex-start; }
	.ph-form__row { grid-template-columns: 1fr; }
	.ph-footer__grid { grid-template-columns: 1fr 1fr; }
	.ph-footer__brand { grid-column: 1 / -1; }
	.ph-benefits__list { grid-template-columns: 1fr; }
	.ph-faq__help { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}

.ph-article__back { margin-top: 2.125rem; }

/* Cabecera de categoría con imagen (campo "Imagen de cabecera") */
.ph-page-head--img { position: relative; color: #fff; background: var(--navy) var(--head-bg) center / cover no-repeat; padding-block: 5rem 3rem; }
.ph-page-head--img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 13, 25, .82), rgba(4, 13, 25, .25)); }
.ph-page-head--img .ph-container { position: relative; }
.ph-page-head--img .ph-eyebrow { color: rgba(255, 255, 255, .7); }
.ph-page-head--img .ph-page-head__desc { color: rgba(255, 255, 255, .85); }

/* Botón "Añadir al carrito" de la ficha con icono de carrito */
.ph-pd-hero__cart .single_add_to_cart_button::before { content: ""; width: 1.15em; height: 1.15em; margin-right: 0.15em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Legibilidad del texto de la ficha sobre los fondos de marca */
.ph-pd-hero.has-bg .ph-pd-hero__buy h1, .ph-pd-hero.has-bg .ph-pd-hero__short, .ph-pd-hero.has-bg .ph-pd-hero__price, .ph-pd-hero.has-bg .ph-eyebrow { text-shadow: 0 0.0625rem 0.75rem rgba(4, 13, 25, .7); }


/* ---------- Visor de fotos del producto ---------- */
.ph-lightbox { width: min(92vw, 70rem); max-height: 92vh; padding: 0; border: 0; border-radius: 1rem; background: #fff; color: var(--ink); overflow: hidden; }
.ph-lightbox::backdrop { background: rgba(4, 13, 25, .88); }
.ph-lightbox__fig { margin: 0; display: grid; place-items: center; padding: 2.5rem 4rem 1rem; }
.ph-lightbox__fig img { max-width: 100%; max-height: 76vh; width: auto; height: auto; object-fit: contain; }
.ph-lightbox__fig figcaption { margin-top: 0.75rem; font-size: 0.8125rem; color: var(--muted); }
.ph-lightbox__close { position: absolute; right: 0.75rem; top: 0.5rem; z-index: 2; width: 2.5rem; height: 2.5rem; border: 0; border-radius: 50%; background: var(--navy); color: #fff; font-size: 1.6rem; line-height: 1; }
.ph-lightbox__nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: var(--navy); color: #fff; font-size: 1.75rem; line-height: 1; }
.ph-lightbox__nav--prev { left: 0.75rem; }
.ph-lightbox__nav--next { right: 0.75rem; }
.ph-lightbox__close:hover, .ph-lightbox__nav:hover { background: var(--red-hot); }

/* Pantallas medianas: el contenido del hero gana ancho */
@media (max-width: 1200px) { .ph-pd-hero { --box-w: 90vw; } .ph-pd-hero__in { width: 90%; } }

/* Los filtros de categoría se quedan visibles al bajar por la grilla */
.ph-cats { position: sticky; top: var(--header-h, 7.5rem); z-index: 20; padding-block: 0.75rem; margin-top: -0.75rem; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ph-cats a { white-space: nowrap; }
@media (max-width: 900px) { .ph-cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; top: var(--header-h, 8.5rem); } .ph-cats::-webkit-scrollbar { display: none; } }

/* Galería alineada con el texto: las miniaturas ocupan todo el ancho de la columna y las flechas van encima */
.ph-pd-hero__nav { position: relative; }
.ph-pd-hero__nav .ph-pd-hero__arrow { position: absolute; top: 50%; z-index: 2; margin-top: -0.875rem; left: 0.4rem; background: rgba(4, 13, 25, .75); box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, .35); }
.ph-pd-hero__nav .ph-pd-hero__arrow--next { left: auto; right: 0.4rem; }

/* Páginas informativas (envíos, cambios, legales) */
.ph-info { display: grid; grid-template-columns: 16rem minmax(0, 1fr); gap: 3rem; align-items: start; }
.ph-info__nav { position: sticky; top: calc(var(--header-h, 7.5rem) + 1rem); padding: 1.25rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.ph-info__nav h2 { margin-bottom: 0.75rem; font-size: 0.75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ph-info__nav ul { display: grid; gap: 0.25rem; }
.ph-info__nav a { display: block; padding: 0.6rem 0.75rem; border-radius: 0.5rem; font-size: 0.875rem; font-weight: 600; }
.ph-info__nav a:hover { background: #fff; }
.ph-info__nav a.is-active { background: var(--navy); color: #fff; }
.ph-info__body { max-width: 46rem; }
.ph-info__body > h2:first-child { margin-top: 0; }
@media (max-width: 900px) { .ph-info { grid-template-columns: 1fr; gap: 1.5rem; } .ph-info__nav { position: static; } }

/* Header inteligente: compacto al bajar, oculto al seguir bajando, visible al subir */
.ph-header { transition: transform .3s var(--ease), box-shadow .3s; }
.ph-header.is-hidden { transform: translateY(-100%); }
.ph-header.is-compact { box-shadow: 0 0.5rem 1.5rem -0.75rem rgba(0, 0, 0, .6); }
.ph-topbar { transition: max-height .25s var(--ease), opacity .2s; max-height: 3rem; overflow: hidden; }
.ph-header.is-compact .ph-topbar { max-height: 0; opacity: 0; border-bottom-width: 0; }
.ph-header__in { transition: padding .25s var(--ease); }
.ph-header.is-compact .ph-header__in { padding-block: 0.5rem; }
.ph-logo img { transition: width .25s var(--ease); }
.ph-header.is-compact .ph-logo img { width: 5.75rem; }
.ph-cats { transition: top .3s var(--ease); }
@media (max-width: 900px) { .ph-header.is-compact .ph-logo img { width: 4.5rem; } }
@media (prefers-reduced-motion: reduce) { .ph-header, .ph-topbar, .ph-header__in, .ph-logo img, .ph-cats { transition: none; } }

.ph-header-spacer { height: var(--header-full, 10.4rem); }
