/*
Theme Name: Minimog Child - Proveoriente
Template: minimog
Description: Child theme de Proveoriente (diseño de marca, catálogo con cotización).
Version: 2.0.0
Text Domain: minimog-child
*/

:root {
	--po-navy: #0b2a66;
	--po-navy-900: #071a42;
	--po-navy-700: #123a85;
	--po-orange: #f04e0b;
	--po-orange-600: #d64306;
	--po-ink: #0f172a;
	--po-text: #475569;
	--po-muted: #64748b;
	--po-line: #e5e9f2;
	--po-soft: #f5f7fb;
	--po-radius: 18px;
	--po-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px -12px rgba(15, 23, 42, .14);
	--po-shadow-lg: 0 30px 60px -20px rgba(7, 26, 66, .35);
	--po-font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Tipografía global ---------- */
body,
button, input, select, textarea,
h1, h2, h3, h4, h5, h6,
.menu__container a,
.woocommerce-loop-product__title,
.product_title {
	font-family: var(--po-font) !important;
}
h1, h2, h3, h4, h5, h6 { color: var(--po-ink); letter-spacing: -.02em; }
body { color: var(--po-text); }

.po-icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Layout helpers ---------- */
.po-landing #page-content,
.po-landing .page-content { padding-top: 0 !important; }
.po-landing .entry-content > *:first-child { margin-top: 0; }
.po-bleed {
	width: 100vw;
	position: relative;
	left: 50%;
	margin-left: -50vw;
}
.po-wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
html, body { overflow-x: clip; }

.po-eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--po-orange); margin-bottom: 14px;
}
.po-eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.po-eyebrow--light { color: #ffb08c; }

/* ---------- Botones ---------- */
.po-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	height: 54px; padding: 0 28px; border-radius: 12px;
	font-weight: 700; font-size: 15px; letter-spacing: .01em;
	text-decoration: none !important; border: 1.5px solid transparent;
	transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}
.po-btn .po-icon { width: 18px; height: 18px; transition: transform .2s ease; }
.po-btn:hover .po-icon { transform: translateX(3px); }
.po-btn--primary { background: var(--po-orange); color: #fff !important; box-shadow: 0 10px 24px -10px rgba(240, 78, 11, .7); }
.po-btn--primary:hover { background: var(--po-orange-600); transform: translateY(-1px); }
.po-btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff !important; background: rgba(255, 255, 255, .06); }
.po-btn--ghost:hover { background: #fff; color: var(--po-navy) !important; border-color: #fff; }
.po-btn--sm { height: 46px; padding: 0 20px; font-size: 14px; }
.po-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.po-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--po-navy) !important; }
.po-link .po-icon { width: 18px; height: 18px; transition: transform .2s; }
.po-link:hover .po-icon { transform: translateX(4px); }

.po-ico-badge {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: 52px; height: 52px; border-radius: 14px;
	background: rgba(240, 78, 11, .09); color: var(--po-orange);
}
.po-ico-badge .po-icon { width: 24px; height: 24px; }
.po-ico-badge--sm { width: 42px; height: 42px; border-radius: 12px; }
.po-ico-badge--sm .po-icon { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.po-hero2 {
	background:
		radial-gradient(900px 500px at 85% 20%, rgba(240, 78, 11, .22), transparent 60%),
		radial-gradient(700px 400px at 0% 100%, rgba(18, 58, 133, .9), transparent 70%),
		linear-gradient(135deg, var(--po-navy-900) 0%, var(--po-navy) 55%, var(--po-navy-700) 100%);
	color: #fff; overflow: hidden;
}
.po-hero2::after {
	content: ''; position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.po-hero2__grid {
	position: relative; z-index: 1;
	display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
	padding-top: 96px; padding-bottom: 110px;
}
.po-hero2 h1 {
	color: #fff; font-size: clamp(38px, 5vw, 64px); line-height: 1.04; font-weight: 800;
	letter-spacing: -.035em; margin: 0 0 22px;
}
.po-hero2 h1 em { font-style: normal; color: var(--po-orange); }
.po-lead { font-size: 18px; line-height: 1.65; color: rgba(255, 255, 255, .78); max-width: 560px; margin: 0 0 34px; }
.po-hero2__checks { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; margin: 36px 0 0; padding: 0; }
.po-hero2__checks li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.po-hero2__checks .po-icon { width: 18px; height: 18px; color: #5fe3a1; }

.po-hero2__media { position: relative; min-height: 480px; }
.po-hero2__main {
	position: absolute; inset: 0 0 0 40px; border-radius: 28px; overflow: hidden;
	box-shadow: var(--po-shadow-lg); border: 1px solid rgba(255, 255, 255, .12);
}
.po-hero2__main img { width: 100%; height: 100%; object-fit: cover; }
.po-hero2__float {
	position: absolute; display: flex; align-items: center; gap: 14px;
	background: #fff; border-radius: 16px; padding: 10px 18px 10px 10px;
	box-shadow: var(--po-shadow-lg); color: var(--po-ink); font-weight: 700; font-size: 14px;
	animation: po-float 6s ease-in-out infinite;
}
.po-hero2__float img { width: 64px; height: 64px; object-fit: contain; background: var(--po-soft); border-radius: 12px; }
.po-hero2__float--a { left: 0; bottom: 48px; }
.po-hero2__float--b { right: -12px; top: 36px; animation-delay: -3s; }
@keyframes po-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Value strip ---------- */
.po-strip { background: #fff; border-bottom: 1px solid var(--po-line); }
.po-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.po-strip__item { display: flex; align-items: center; gap: 16px; padding: 30px 24px; border-right: 1px solid var(--po-line); }
.po-strip__item:last-child { border-right: 0; }
.po-strip__item strong { display: block; color: var(--po-ink); font-size: 16px; font-weight: 700; }
.po-strip__item span:not(.po-ico-badge) { font-size: 14px; color: var(--po-muted); }

/* ---------- Secciones ---------- */
.po-section2 { padding: 96px 0 0; }
.po-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.po-head h2, .po-sectors h2, .po-about h2 {
	font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; font-weight: 800; margin: 0 0 14px;
}
.po-head p { font-size: 17px; color: var(--po-muted); margin: 0; }
.po-head--row { display: flex; align-items: flex-end; justify-content: space-between; text-align: left; max-width: none; gap: 20px; }
.po-head--row h2 { margin: 0; }

/* Categorías */
.po-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.po-cat {
	position: relative; display: flex; flex-direction: column; justify-content: space-between;
	min-height: 420px; padding: 30px; border-radius: var(--po-radius);
	background: var(--po-soft); border: 1px solid var(--po-line);
	color: var(--po-text) !important; text-decoration: none !important; overflow: hidden;
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.po-cat:hover { transform: translateY(-6px); box-shadow: var(--po-shadow); border-color: transparent; }
.po-cat__icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; background: #fff; color: var(--po-orange); box-shadow: var(--po-shadow); margin-bottom: 20px; }
.po-cat__icon .po-icon { width: 22px; height: 22px; }
.po-cat h3 { font-size: 22px; font-weight: 800; margin: 0 0 8px; }
.po-cat p { font-size: 14.5px; line-height: 1.6; margin: 0 0 16px; }
.po-cat__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--po-navy); }
.po-cat__link .po-icon { width: 16px; height: 16px; transition: transform .2s; }
.po-cat:hover .po-cat__link .po-icon { transform: translateX(4px); }
.po-cat__img { margin: 18px -10px -10px; height: 180px; display: flex; align-items: flex-end; justify-content: center; }
.po-cat__img img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s ease; }
.po-cat:hover .po-cat__img img { transform: scale(1.06); }
.po-cat--dark { background: linear-gradient(160deg, var(--po-navy) 0%, var(--po-navy-900) 100%); border-color: transparent; }
.po-cat--dark h3 { color: #fff; }
.po-cat--dark p { color: rgba(255, 255, 255, .7); }
.po-cat--dark .po-cat__link { color: #ffb08c; }
.po-cat--dark .po-cat__icon { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: none; }
.po-cat__img--icon { color: rgba(255, 255, 255, .14); }
.po-cat__img--icon .po-icon { width: 170px; height: 170px; stroke-width: 1; }

/* Productos destacados */
.po-featured .woocommerce { margin: 0; }

/* Sectores */
.po-sectors { background: var(--po-soft); margin-top: 96px; padding: 96px 0; }
.po-sectors__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.po-sectors__media { position: relative; background: #fff; border-radius: 28px; padding: 40px; box-shadow: var(--po-shadow); }
.po-sectors__media img { width: 100%; height: 460px; object-fit: contain; }
.po-sectors__badge {
	position: absolute; right: -24px; bottom: 36px; display: flex; gap: 14px; align-items: center;
	background: var(--po-navy); color: #fff; padding: 18px 22px; border-radius: 16px; box-shadow: var(--po-shadow-lg);
}
.po-sectors__badge .po-icon { width: 28px; height: 28px; color: var(--po-orange); }
.po-sectors__badge strong { display: block; font-size: 15px; }
.po-sectors__badge span { font-size: 13px; color: rgba(255, 255, 255, .7); }
.po-sectors__copy > p { font-size: 17px; color: var(--po-muted); margin-bottom: 32px; }
.po-sector-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.po-sector-list li { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--po-line); border-radius: 14px; padding: 14px 16px; }
.po-sector-list strong { display: block; color: var(--po-ink); font-size: 15px; }
.po-sector-list span:not(.po-ico-badge) { font-size: 13px; color: var(--po-muted); }

/* Pasos */
.po-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.po-step { position: relative; padding: 36px 32px; border: 1px solid var(--po-line); border-radius: var(--po-radius); background: #fff; }
.po-step__num { position: absolute; top: 26px; right: 30px; font-size: 44px; font-weight: 800; color: var(--po-line); letter-spacing: -.04em; }
.po-step h3 { font-size: 20px; font-weight: 800; margin: 22px 0 8px; }
.po-step p { margin: 0; font-size: 15px; }

/* Marcas */
.po-brands2 { text-align: center; }
.po-brands2__title { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--po-muted); margin-bottom: 26px; }
.po-brands2__row { display: flex; flex-wrap: wrap; justify-content: center; border-top: 1px solid var(--po-line); border-bottom: 1px solid var(--po-line); }
.po-brands2__row span { flex: 1 1 12%; min-width: 140px; padding: 28px 12px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: #9aa6bd; transition: color .2s; }
.po-brands2__row span:hover { color: var(--po-navy); }

/* CTA */
.po-cta2 {
	display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
	margin: 96px 0 24px; padding: 56px 60px; border-radius: 28px; color: #fff;
	background: radial-gradient(600px 300px at 100% 0%, rgba(240, 78, 11, .35), transparent 60%), linear-gradient(135deg, var(--po-navy-900), var(--po-navy));
}
.po-cta2 h2 { color: #fff; font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; margin: 0 0 10px; max-width: 640px; }
.po-cta2 p { color: rgba(255, 255, 255, .75); margin: 0; font-size: 17px; }

/* ---------- Encabezado de páginas internas ---------- */
.po-page-hero {
	background: radial-gradient(700px 300px at 90% 0%, rgba(240, 78, 11, .25), transparent 60%), linear-gradient(135deg, var(--po-navy-900), var(--po-navy));
	padding: 88px 0 80px; margin-bottom: 72px; color: #fff;
}
.po-page-hero h1 { color: #fff; font-size: clamp(34px, 4vw, 54px); font-weight: 800; margin: 0 0 12px; letter-spacing: -.03em; }
.po-page-hero p { color: rgba(255, 255, 255, .75); font-size: 18px; max-width: 640px; margin: 0; }

/* Nosotros */
.po-about { padding-top: 0; }
.po-about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.po-about__grid p { font-size: 16.5px; line-height: 1.75; }
.po-about__media { border-radius: 28px; overflow: hidden; box-shadow: var(--po-shadow-lg); }
.po-about__media img { width: 100%; height: 440px; object-fit: cover; }
.po-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.po-value { padding: 32px 28px; border: 1px solid var(--po-line); border-radius: var(--po-radius); }
.po-value h3 { font-size: 19px; font-weight: 800; margin: 20px 0 8px; }
.po-value p { font-size: 15px; margin: 0; }

/* Contacto / cotización */
.po-contact-layout { display: grid; grid-template-columns: 1.4fr .9fr; gap: 48px; align-items: start; margin-bottom: 40px; }
.po-panel { background: #fff; border: 1px solid var(--po-line); border-radius: 22px; padding: 40px; box-shadow: var(--po-shadow); }
.po-panel h2 { font-size: 26px; font-weight: 800; margin: 0 0 8px; }
.po-panel > p { color: var(--po-muted); margin-bottom: 26px; }
.po-aside { background: var(--po-soft); border-radius: 22px; padding: 36px; position: sticky; top: 120px; }
.po-aside h3 { font-size: 20px; font-weight: 800; margin: 0 0 18px; }
.po-aside ul { list-style: none; margin: 0 0 24px; padding: 0; }
.po-aside li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 15px; }
.po-aside li .po-icon { color: var(--po-orange); width: 20px; height: 20px; margin-top: 2px; }
.po-contact-cards { display: grid; gap: 12px; }
.po-contact-card { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 14px; padding: 14px 16px; border: 1px solid var(--po-line); }
.po-contact-card span:not(.po-ico-badge) { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--po-muted); }
.po-contact-card strong { color: var(--po-ink); font-size: 15px; word-break: break-word; }
.po-contact-card .po-ico-badge { width: 44px; height: 44px; }

/* ---------- Formulario ---------- */
.po-form .po-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.po-form .po-full { grid-column: 1 / -1; }
.po-form label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; color: var(--po-ink); }
.po-form input, .po-form select, .po-form textarea {
	width: 100%; border: 1.5px solid var(--po-line) !important; border-radius: 12px !important;
	background: var(--po-soft) !important; padding: 13px 16px !important; font-size: 15px; transition: border-color .2s, background .2s;
}
.po-form input:focus, .po-form select:focus, .po-form textarea:focus { border-color: var(--po-navy) !important; background: #fff !important; outline: none; }
.po-form textarea { min-height: 150px; }
.po-form button {
	margin-top: 10px; height: 56px; padding: 0 34px; border-radius: 12px !important;
	background: var(--po-orange) !important; border: 0 !important; color: #fff !important; font-weight: 700; font-size: 15px;
}
.po-form button:hover { background: var(--po-orange-600) !important; }
.po-hp { position: absolute; left: -9999px; }
.po-alert { padding: 16px 20px; border-radius: 12px; margin-bottom: 22px; font-weight: 600; }
.po-alert--ok { background: #e8f8ef; color: #136c36; }
.po-alert--err { background: #fdecec; color: #9b1c1c; }

/* ---------- Tarjetas de producto (WooCommerce) ---------- */
.po-price-quote { color: var(--po-navy); font-weight: 700; font-size: 14px; letter-spacing: .01em; }
.po-quote-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 20px; border-radius: 10px; border: 1.5px solid var(--po-navy);
	background: transparent; color: var(--po-navy) !important; font-weight: 700; font-size: 14px;
	line-height: 1.2; text-decoration: none !important; transition: all .2s;
}
.po-quote-btn:hover { background: var(--po-navy); color: #fff !important; }
.po-quote-btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.po-quote-btn--wa { background: #1faa53; border-color: #1faa53; color: #fff !important; }
.po-quote-btn--wa:hover { background: #178a43; border-color: #178a43; }
.po-loop-quote { margin-top: 14px; }
.po-loop-quote .po-quote-btn { width: 100%; }
.po-single-quote { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 12px; }
.po-single-quote .po-quote-btn { flex: 1 1 220px; height: 54px; font-size: 15px; }
.po-single-quote .po-quote-btn:not(.po-quote-btn--wa) { background: var(--po-orange); border-color: var(--po-orange); color: #fff !important; }
.po-single-quote .po-quote-btn:not(.po-quote-btn--wa):hover { background: var(--po-orange-600); border-color: var(--po-orange-600); }
.po-single-note { font-size: 14px; color: var(--po-muted); margin-bottom: 20px; }

.product .product-thumbnail, .product .product-wrapper .thumbnail { border-radius: 16px; overflow: hidden; }
.woocommerce-product-attributes th { color: var(--po-ink); }

/* ---------- Footer ---------- */
.po-footer { background: var(--po-navy-900); color: rgba(255, 255, 255, .7); padding: 80px 0 0; margin-top: 80px; }
.po-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.po-footer__logo { max-width: 230px; height: auto; margin-bottom: 22px; }
.po-footer__brand p { font-size: 15px; line-height: 1.7; max-width: 340px; margin-bottom: 24px; }
.po-footer h4 { color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin: 8px 0 22px; }
.po-footer ul { list-style: none; margin: 0; padding: 0; }
.po-footer li { margin-bottom: 12px; font-size: 15px; }
.po-footer a { color: rgba(255, 255, 255, .7) !important; transition: color .2s; }
.po-footer a:hover { color: #fff !important; }
.po-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.po-footer__contact .po-icon { color: var(--po-orange); width: 19px; height: 19px; margin-top: 2px; }
.po-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 24px; padding-bottom: 28px; font-size: 13.5px; }
.po-landing .po-cta2 + * { margin-top: 0; }

/* ---------- WhatsApp flotante ---------- */
.po-wa-float {
	position: fixed; right: 22px; bottom: 22px; z-index: 9999;
	width: 58px; height: 58px; border-radius: 50%;
	background: #25d366; display: flex; align-items: center; justify-content: center;
	box-shadow: 0 10px 24px -6px rgba(37, 211, 102, .6);
}
.po-wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
	.po-cats { grid-template-columns: repeat(2, 1fr); }
	.po-values { grid-template-columns: repeat(2, 1fr); }
	.po-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991px) {
	.po-hero2__grid, .po-sectors__grid, .po-about__grid, .po-contact-layout { grid-template-columns: 1fr; }
	.po-hero2__grid { padding-top: 64px; padding-bottom: 72px; gap: 40px; }
	.po-hero2__media { min-height: 380px; }
	.po-hero2__main { left: 0; }
	.po-hero2__float--b { right: 12px; }
	.po-strip__grid { grid-template-columns: 1fr 1fr; }
	.po-strip__item:nth-child(2) { border-right: 0; }
	.po-strip__item:nth-child(-n+2) { border-bottom: 1px solid var(--po-line); }
	.po-steps { grid-template-columns: 1fr; }
	.po-sectors__badge { right: 16px; }
	.po-aside { position: static; }
	.po-cta2 { padding: 44px 32px; }
}
@media (max-width: 640px) {
	.po-wrap { padding: 0 16px; }
	.po-section2 { padding-top: 64px; }
	.po-cats, .po-values, .po-sector-list, .po-form .po-grid { grid-template-columns: 1fr; }
	.po-cat { min-height: 360px; }
	.po-strip__grid { grid-template-columns: 1fr; }
	.po-strip__item { border-right: 0; border-bottom: 1px solid var(--po-line); padding: 20px 8px; }
	.po-head--row { flex-direction: column; align-items: flex-start; }
	.po-hero2__media { min-height: 300px; }
	.po-hero2__float { font-size: 12px; padding: 8px 12px 8px 8px; }
	.po-hero2__float img { width: 48px; height: 48px; }
	.po-sectors { padding: 64px 0; margin-top: 64px; }
	.po-sectors__media img { height: 320px; }
	.po-panel, .po-aside { padding: 26px 20px; }
	.po-footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.po-btn { width: 100%; }
}

/* ---------- Ajustes v2.1 ---------- */
.po-landing .page-content { margin-top: 0 !important; margin-bottom: 0 !important; }
.header-buttons .tm-button,
.header-buttons a {
	background: var(--po-orange) !important; border-color: var(--po-orange) !important; color: #fff !important;
	border-radius: 10px !important; font-weight: 700 !important;
}
.header-buttons a:hover { background: var(--po-orange-600) !important; border-color: var(--po-orange-600) !important; }
.po-cat__img { margin: 18px 0 0; height: 200px; padding: 16px; background: #fff; border-radius: 14px; align-items: center; }
.po-cat__img img { mix-blend-mode: normal; }
.po-cat--dark .po-cat__img { background: transparent; }
.product .woocommerce-loop-product__title,
.product .post-title { min-height: 2.9em; }
.product .post-title a, .woocommerce-loop-product__title a { font-weight: 600; color: var(--po-ink); }
.po-form input, .po-form select { height: 52px; padding-top: 0 !important; padding-bottom: 0 !important; }
.single-product .product_title { font-weight: 800; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; }
.single-product .woocommerce-product-details__short-description { font-size: 16px; line-height: 1.7; }
.woocommerce-Tabs-panel h4 { font-weight: 800; font-size: 20px; margin-top: 28px; }

/* =========================================================================
 * v3 — Catálogo, ficha de producto, menú móvil y barra inferior
 * ========================================================================= */

/* Breadcrumbs */
.po-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; margin-bottom: 18px; color: rgba(255,255,255,.6); }
.po-crumbs a { color: rgba(255,255,255,.75) !important; }
.po-crumbs a:hover { color: #fff !important; }
.po-crumbs .po-icon { width: 14px; height: 14px; opacity: .6; }
.po-crumbs span { color: #fff; }
.po-crumbs--dark { color: var(--po-muted); margin: 8px 0 26px; }
.po-crumbs--dark a { color: var(--po-muted) !important; }
.po-crumbs--dark a:hover { color: var(--po-navy) !important; }

/* Encabezado del catálogo */
.po-shop-hero {
	background: radial-gradient(700px 300px at 90% 0%, rgba(240, 78, 11, .25), transparent 60%), linear-gradient(135deg, var(--po-navy-900), var(--po-navy));
	color: #fff; padding: 48px 0 30px; margin-bottom: 44px;
}
.po-shop-hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.po-shop-hero h1 { color: #fff; font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; margin: 0 0 10px; letter-spacing: -.03em; }
.po-shop-hero p { color: rgba(255,255,255,.72); max-width: 640px; margin: 0; font-size: 16px; }
.po-shop-hero__count { flex: none; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 10px 18px; font-size: 14px; color: rgba(255,255,255,.8); }
.po-shop-hero__count strong { color: #fff; font-size: 16px; }
.po-chips { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.po-chips::-webkit-scrollbar { display: none; }
.po-chip {
	flex: none; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px;
	border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
	color: #fff !important; font-weight: 700; font-size: 14px; transition: all .2s;
}
.po-chip .po-icon { width: 18px; height: 18px; color: #ffb08c; }
.po-chip:hover { background: rgba(255,255,255,.14); }
.po-chip.is-active { background: #fff; color: var(--po-navy) !important; border-color: #fff; }
.po-chip.is-active .po-icon { color: var(--po-orange); }
.po-chips--sub { margin-top: 12px; }
.po-chip--sm { height: 36px; padding: 0 14px; font-size: 13px; background: transparent; }
.po-chip--sm em { font-style: normal; opacity: .6; font-weight: 600; }
.post-type-archive-product .page-content, .tax-product_cat .page-content { margin-top: 0 !important; }

/* Tarjetas de producto */
.po-card-brand { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--po-orange); margin: 4px 0 6px; }
.woocommerce .product .product-thumbnail { background: #fff; border: 1px solid var(--po-line); border-radius: 16px; transition: border-color .25s, box-shadow .25s; }
.woocommerce .product:hover .product-thumbnail { border-color: transparent; box-shadow: var(--po-shadow); }
.woocommerce .product .product-info { padding-top: 14px; }

/* Ficha de producto */
.po-sp-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.po-sp-brand { background: rgba(240, 78, 11, .1); color: var(--po-orange); font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.po-sp-sku { font-size: 13px; color: var(--po-muted); font-weight: 600; }
.single-product .price .po-price-quote { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; background: var(--po-soft); border: 1px solid var(--po-line); padding: 8px 14px; border-radius: 10px; }
.po-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 22px 0 6px; }
.po-spec { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--po-line); border-radius: 12px; background: #fff; }
.po-spec__ico { display: inline-flex; width: 36px; height: 36px; flex: none; align-items: center; justify-content: center; border-radius: 10px; background: var(--po-soft); color: var(--po-navy); }
.po-spec__ico .po-icon { width: 18px; height: 18px; }
.po-spec span:not(.po-spec__ico) { display: block; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--po-muted); }
.po-spec strong { display: block; font-size: 14px; color: var(--po-ink); line-height: 1.3; }
.po-spec span:not(.po-spec__ico) { line-height: 1.3; margin-bottom: 3px; }
.po-sp-trust { list-style: none; margin: 8px 0 22px; padding: 18px 20px; border-radius: 14px; background: var(--po-soft); display: grid; gap: 14px; }
.po-sp-trust li { display: flex; gap: 14px; align-items: flex-start; margin: 0; }
.po-sp-trust .po-icon { width: 22px; height: 22px; color: var(--po-orange); margin-top: 2px; }
.po-sp-trust strong { display: block; color: var(--po-ink); font-size: 14.5px; }
.po-sp-trust span { font-size: 13.5px; color: var(--po-muted); }
.single-product .woocommerce-tabs { margin-top: 40px; }
.single-product .woocommerce-Tabs-panel { max-width: 860px; }
.single-product .woocommerce-Tabs-panel ul li { margin-bottom: 8px; }
.single-product .woocommerce-product-gallery { border: 1px solid var(--po-line); border-radius: 20px; overflow: hidden; background: #fff; }
.single-product .related > h2, .single-product .up-sells > h2 { font-weight: 800; font-size: clamp(24px, 2.6vw, 32px); }

/* Menú móvil */
.po-mmenu .inner { background: var(--po-navy-900) !important; color: #fff; display: flex; flex-direction: column; width: min(88vw, 380px) !important; max-width: none !important; }
.po-mmenu__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 22px 14px; }
.po-mmenu__logo { width: 190px; height: auto; }
.po-mmenu__close { position: static !important; width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18) !important; background: rgba(255,255,255,.06) !important; color: #fff !important; display: inline-flex; align-items: center; justify-content: center; padding: 0 !important; }
.po-mmenu__close .po-icon { width: 20px; height: 20px; }
.po-mmenu__body { padding: 8px 22px 28px !important; }
.po-mmenu__label { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); margin: 16px 0 12px; }
.po-mmenu__cats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.po-mmenu__cat { display: flex; flex-direction: column; gap: 4px; padding: 16px 14px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #fff !important; }
.po-mmenu__cat-ico { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 10px; background: rgba(240, 78, 11, .18); color: #ff8a52; margin-bottom: 8px; }
.po-mmenu__cat-ico .po-icon { width: 20px; height: 20px; }
.po-mmenu__cat-name { font-weight: 700; font-size: 14.5px; line-height: 1.25; }
.po-mmenu__cat-count { font-size: 12px; color: rgba(255,255,255,.55); }
.po-mmenu__nav { display: flex; flex-direction: column; }
.po-mmenu__nav a { display: flex; align-items: center; gap: 14px; padding: 15px 2px; border-bottom: 1px solid rgba(255,255,255,.08); color: #fff !important; font-weight: 600; font-size: 16px; }
.po-mmenu__nav a .po-icon { width: 20px; height: 20px; color: rgba(255,255,255,.55); }
.po-mmenu__nav a span { flex: 1; }
.po-mmenu__nav .po-mmenu__chev { width: 16px; height: 16px; }
.po-mmenu__cta { margin-top: 26px; padding: 20px; border-radius: 16px; background: linear-gradient(135deg, rgba(240,78,11,.22), rgba(240,78,11,.06)); border: 1px solid rgba(240,78,11,.3); display: grid; gap: 10px; }
.po-mmenu__cta p { margin: 0 0 6px; font-size: 14px; color: rgba(255,255,255,.8); }
.po-mmenu__cta strong { color: #fff; }
.po-mmenu__cta .po-btn { width: 100%; height: 50px; }

/* Barra inferior móvil */
.po-mbar { display: none; }
@media (max-width: 991px) {
	.po-mbar {
		display: flex; align-items: center; justify-content: space-around;
		position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 9998;
		height: 66px; padding: 0 6px; border-radius: 20px;
		background: rgba(7, 26, 66, .96); backdrop-filter: blur(12px);
		box-shadow: 0 16px 36px -10px rgba(7, 26, 66, .6);
	}
	.po-mbar__item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; color: rgba(255,255,255,.62) !important; font-size: 11px; font-weight: 700; }
	.po-mbar__item .po-icon { width: 22px; height: 22px; }
	.po-mbar__item.is-active { color: #fff !important; }
	.po-mbar__item.is-active .po-icon { color: #ff8a52; }
	.po-mbar__quote { flex: none; display: flex; flex-direction: column; align-items: center; gap: 3px; margin-top: -30px; color: #fff !important; font-size: 11px; font-weight: 800; }
	.po-mbar__quote span { display: inline-flex; width: 58px; height: 58px; align-items: center; justify-content: center; border-radius: 18px; background: var(--po-orange); box-shadow: 0 10px 24px -6px rgba(240, 78, 11, .8); border: 4px solid var(--po-navy-900); }
	.po-mbar__quote .po-icon { width: 24px; height: 24px; }
	.po-mbar--product { justify-content: space-between; gap: 12px; padding: 0 8px 0 18px; }
	.po-mbar__info { min-width: 0; display: flex; flex-direction: column; }
	.po-mbar__info span { font-size: 11px; color: #ff8a52; font-weight: 700; }
	.po-mbar__info strong { color: #fff; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.po-mbar__cta { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 22px; border-radius: 14px; background: var(--po-orange); color: #fff !important; font-weight: 800; font-size: 15px; }
	.po-mbar__cta .po-icon { width: 20px; height: 20px; }
	.po-footer { padding-bottom: 96px; }
	.po-wa-float { display: none; }
	.shop-toolbar .switcher-view, .archive-layout-switcher, .shop-archive-layout-switcher, .wc-grid-list-switcher { display: none !important; }
}

/* =========================================================================
 * v3 — Ajustes móviles
 * ========================================================================= */
@media (max-width: 767px) {
	/* Encabezado */
	.top-bar, #page-top-bar { display: none !important; }
	.header-wrap { min-height: 64px; }
	/* Encabezado móvil azul con logo claro centrado */
	#page-header .page-header-inner,
	#page-header.header-pinned .page-header-inner,
	.header-sticky-enable #page-header .page-header-inner { background: var(--po-navy-900) !important; box-shadow: 0 6px 20px -8px rgba(7, 26, 66, .5) !important; border: 0 !important; }
	#page-header .header-wrap { position: relative; min-height: 64px; }
	#page-header .branding {
		position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0 !important; z-index: 2;
	}
	.branding__logo, .branding__logo a, .branding__logo .minimog-lazy-image { width: 172px !important; max-width: 172px !important; display: block; }
	.branding__logo img, .branding img {
		width: 172px !important; max-width: 172px !important; height: auto !important;
		content: url('/wp-content/uploads/2026/09/proveoriente-logo-light.png');
	}
	#page-header .page-open-mobile-menu, #page-header .page-open-mobile-menu *,
	#page-header .page-open-popup-search, #page-header .page-open-popup-search * { color: #fff !important; }
	#page-header .page-open-mobile-menu .burger-icon-top,
	#page-header .page-open-mobile-menu .burger-icon-middle,
	#page-header .page-open-mobile-menu .burger-icon-bottom,
	#page-header .page-open-mobile-menu span[class*="burger"] { background: #fff !important; }
	#page-header svg path { fill: currentColor; }
	#page-header .header-buttons { display: none !important; }

	/* Hero */
	.po-hero2__grid { padding-top: 40px; padding-bottom: 48px; gap: 32px; }
	.po-hero2 h1 { font-size: 36px; }
	.po-lead { font-size: 16px; margin-bottom: 26px; }
	.po-hero2__checks { gap: 10px 18px; margin-top: 24px; }
	.po-hero2__checks li { font-size: 13px; }
	.po-hero2__media { min-height: 260px; }
	.po-hero2__main { border-radius: 20px; }
	.po-hero2__float--a { left: -4px; bottom: -18px; }
	.po-hero2__float--b { right: -4px; top: -18px; }

	/* Franja de valor 2x2 */
	.po-strip__grid { grid-template-columns: 1fr 1fr; }
	.po-strip__item { flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 14px; border-right: 1px solid var(--po-line); border-bottom: 1px solid var(--po-line); }
	.po-strip__item:nth-child(2n) { border-right: 0; }
	.po-strip__item strong { font-size: 14px; }
	.po-strip__item span:not(.po-ico-badge) { font-size: 12.5px; }
	.po-ico-badge { width: 44px; height: 44px; border-radius: 12px; }
	.po-ico-badge .po-icon { width: 21px; height: 21px; }

	/* Secciones */
	.po-section2 { padding-top: 56px; }
	.po-head { margin-bottom: 28px; }
	.po-head h2, .po-sectors h2, .po-about h2 { font-size: 28px; }
	.po-head p { font-size: 15px; }

	/* Categorías: tarjetas horizontales compactas */
	.po-cats { gap: 12px; }
	.po-cat { min-height: 0; flex-direction: row; align-items: center; padding: 16px; gap: 14px; }
	.po-cat__body { flex: 1; min-width: 0; }
	.po-cat__icon { width: 36px; height: 36px; margin-bottom: 10px; }
	.po-cat h3 { font-size: 17px; margin-bottom: 4px; }
	.po-cat p { font-size: 13px; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.po-cat__link { font-size: 13px; }
	.po-cat__img { flex: none; width: 104px; height: 120px; margin: 0; padding: 8px; }
	.po-cat__img--icon .po-icon { width: 80px; height: 80px; }

	/* Productos */
	.po-head--row { flex-direction: column; align-items: flex-start; gap: 12px; }
	.po-strip__item span:not(.po-ico-badge) { line-height: 1.45; }
	.po-head--row h2 { font-size: 26px; }
	.po-link { font-size: 14px; white-space: nowrap; }
	.po-quote-btn { padding: 10px 8px; font-size: 13px; border-radius: 10px; text-align: center; }
	.po-loop-quote .po-quote-btn { min-height: 42px; }
	.product .woocommerce-loop-product__title, .product .post-title { font-size: 13.5px; }
	.po-price-quote { font-size: 13px; }

	/* Sectores */
	.po-sectors { padding: 56px 0; margin-top: 56px; }
	.po-sectors__grid { gap: 32px; }
	.po-sectors__media { display: none; }
	.po-sector-list { grid-template-columns: 1fr 1fr; gap: 10px; }
	.po-sector-list li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
	.po-sector-list strong { font-size: 14px; }
	.po-sector-list span:not(.po-ico-badge) { font-size: 12px; }

	/* Pasos compactos */
	.po-steps { gap: 12px; }
	.po-step { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 20px; }
	.po-step .po-ico-badge { grid-row: span 2; width: 48px; height: 48px; }
	.po-step h3 { margin: 0 0 4px; font-size: 17px; }
	.po-step p { font-size: 14px; }
	.po-step__num { top: 16px; right: 18px; font-size: 28px; }

	/* Marcas */
	.po-brands2__row { display: grid; grid-template-columns: repeat(4, 1fr); border: 0; gap: 8px; }
	.po-brands2__row span { min-width: 0; padding: 14px 4px; font-size: 13px; background: var(--po-soft); border-radius: 12px; }

	/* CTA */
	.po-cta2 { margin-top: 56px; padding: 32px 22px; border-radius: 22px; }
	.po-cta2 h2 { font-size: 24px; }
	.po-cta2 p { font-size: 15px; }

	/* Páginas internas */
	.po-page-hero { padding: 48px 0 44px; margin-bottom: 40px; }
	.po-page-hero p { font-size: 16px; }

	/* Catálogo */
	.po-shop-hero { padding: 28px 0 22px; margin-bottom: 26px; }
	.po-shop-hero__row { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
	.po-shop-hero p { font-size: 14px; }
	.po-shop-hero__count { padding: 6px 14px; font-size: 13px; }
	.po-chips { margin: 0 -16px; padding: 0 16px 4px; }
	.po-chip { height: 40px; padding: 0 14px; font-size: 13px; }

	/* Ficha */
	.po-specs { gap: 8px; }
	.po-spec { padding: 10px; gap: 10px; }
	.po-spec__ico { width: 32px; height: 32px; }
	.po-spec strong { font-size: 13px; }
	.single-product .product_title { font-size: 24px; }

	/* Footer */
	.po-footer { padding-top: 56px; margin-top: 56px; }
	.po-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
	.po-footer__brand { grid-column: 1 / -1; }
	.po-footer__grid > div:last-child { grid-column: 1 / -1; }
	.po-footer__bottom { flex-direction: column; text-align: left; }
}

/* =========================================================================
 * v4 — Buscador emergente y crédito del desarrollador
 * ========================================================================= */
.po-search { background: rgba(7, 26, 66, .55) !important; }
.po-search .inner { background: #fff !important; padding: 0 !important; max-height: 100vh; }
.po-search__top {
	background: radial-gradient(600px 260px at 90% 0%, rgba(240, 78, 11, .28), transparent 60%), linear-gradient(135deg, var(--po-navy-900), var(--po-navy));
	padding: 34px 0 30px; color: #fff;
}
.po-search__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.po-search__head .po-eyebrow { margin-bottom: 8px; }
.po-search__head h4 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; margin: 0; letter-spacing: -.02em; }
.po-search__close { flex: none; display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff !important; }
.po-search__close .po-icon { width: 20px; height: 20px; }
.po-search__close:hover { background: #fff; color: var(--po-navy) !important; }

.po-search__form { position: relative; display: flex; align-items: center; background: #fff; border-radius: 16px; padding: 6px; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .45); }
.po-search__form .search-field__icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--po-muted); display: flex; }
.po-search__form .search-field__icon .po-icon { width: 22px; height: 22px; }
.po-search__form .search-field { flex: 1; height: 56px !important; border: 0 !important; background: transparent !important; padding: 0 44px 0 52px !important; font-size: 16px !important; color: var(--po-ink) !important; box-shadow: none !important; }
.po-search__form .search-field::placeholder { color: #94a3b8; }
.po-search__form .search-clear { position: absolute; right: 146px; top: 50%; transform: translateY(-50%); background: transparent !important; border: 0 !important; color: var(--po-muted) !important; padding: 6px !important; display: none; }
.po-search__form .search-clear .po-icon { width: 18px; height: 18px; }
.po-search__form .search-field:not(:placeholder-shown) ~ .search-clear { display: inline-flex; }
.po-search__form .search-submit { flex: none; display: inline-flex !important; align-items: center; gap: 8px; height: 56px !important; padding: 0 24px !important; border-radius: 12px !important; background: var(--po-orange) !important; border: 0 !important; color: #fff !important; font-weight: 800; font-size: 15px; position: static !important; width: auto !important; }
.po-search__form .search-submit .po-icon { width: 18px; height: 18px; }
.po-search__form .search-submit:hover { background: var(--po-orange-600) !important; }
.po-search__form .search-btn-text { display: inline !important; }

.po-search__keys { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.po-search__keys > span { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-right: 6px; }
.po-search__key { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff !important; font-size: 13px; font-weight: 600; }
.po-search__key .po-icon { width: 14px; height: 14px; opacity: .7; }
.po-search__key:hover { background: #fff; color: var(--po-navy) !important; }

.po-search__cats { padding: 30px 0 10px; }
.po-search__label { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--po-muted); margin: 0 0 14px; }
.po-search__cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.po-search__cat { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--po-line); border-radius: 14px; color: var(--po-ink) !important; transition: all .2s; }
.po-search__cat:hover { border-color: transparent; box-shadow: var(--po-shadow); transform: translateY(-2px); }
.po-search__cat > span:nth-child(2) { flex: 1; min-width: 0; }
.po-search__cat strong { display: block; font-size: 15px; }
.po-search__cat em { font-style: normal; font-size: 12.5px; color: var(--po-muted); }
.po-search__cat-arrow { width: 18px; height: 18px; color: var(--po-muted); }
.po-search .popup-search-results { padding: 24px 0 40px; }
.po-search .popup-search-results-title { font-weight: 800; font-size: 18px; color: var(--po-ink); margin-bottom: 16px; }

/* Crédito del desarrollador */
.po-credit { display: inline-flex; align-items: center; gap: 12px; padding: 8px 14px 8px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); transition: all .25s; }
.po-credit:hover { border-color: rgba(139, 108, 255, .6); background: rgba(139, 108, 255, .1); }
.po-credit__label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.po-credit__brand { display: inline-flex; align-items: center; gap: 8px; }
.po-credit__mark { width: 22px; height: 25px; }
.po-credit__dark { fill: #d9d5e6; }
.po-credit__violet { fill: #8b6cff; }
.po-credit__name { font-size: 15px; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.po-credit__name b { color: #a58cff; font-weight: 800; }
.po-footer__bottom { align-items: center; }

/* Refuerzos sobre los estilos del tema en el formulario del buscador */
#popup-search .po-search__form { display: flex !important; flex-wrap: nowrap !important; align-items: center !important; }
#popup-search .po-search__form .search-field { order: 1; margin: 0 !important; padding-left: 54px !important; }
#popup-search .po-search__form .search-clear { order: 2; }
#popup-search .po-search__form .search-submit { position: absolute !important; top: 6px !important; right: 6px !important; bottom: auto !important; left: auto !important; z-index: 5; margin: 0 !important; transform: none !important; }
#popup-search .po-search__form .search-field { padding-right: 180px !important; }
#popup-search .po-search__form .search-clear { right: 146px !important; z-index: 4; }
@media (max-width: 767px) {
	#popup-search .po-search__form .search-submit { top: 5px !important; right: 5px !important; width: 50px !important; padding: 0 !important; justify-content: center; }
	#popup-search .po-search__form .search-field { padding-right: 96px !important; }
	#popup-search .po-search__form .search-clear { right: 60px !important; }
}
#popup-search .po-search__close { position: static !important; }
#popup-search .po-search__form .search-field__icon { left: 20px !important; right: auto !important; width: 22px; height: 22px; margin: 0 !important; pointer-events: none; z-index: 2; }
#popup-search .po-search__form .search-field__icon svg { width: 22px !important; height: 22px !important; }
.po-search__keys > span { white-space: nowrap; flex: none; }

@media (max-width: 767px) {
	.po-search__top { padding: 22px 0; }
	.po-search__head { margin-bottom: 16px; }
	.po-search__head h4 { font-size: 21px; }
	.po-search__form { border-radius: 14px; padding: 5px; }
	.po-search__form .search-field { height: 50px !important; padding-left: 44px !important; font-size: 15px !important; }
	.po-search__form .search-field__icon { left: 16px; }
	.po-search__form .search-submit { height: 50px !important; padding: 0 14px !important; }
	.po-search__form .search-btn-text { display: none !important; }
	.po-search__form .search-clear { right: 70px; }
	.po-search__keys { flex-wrap: nowrap; overflow-x: auto; margin: 16px -16px 0; padding: 0 16px; scrollbar-width: none; }
	.po-search__keys::-webkit-scrollbar { display: none; }
	.po-search__key { flex: none; }
	.po-search__cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.po-search__cat { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
	.po-search__cat-arrow { display: none; }
	.po-search__cat strong { font-size: 14px; }
	.po-credit { width: 100%; justify-content: space-between; margin-top: 6px; }
}

/* =========================================================================
 * v5 — Ficha de producto en escritorio
 * ========================================================================= */

/* Galería: sin miniaturas cuando hay una sola foto, imagen a todo el recuadro */
.woocommerce-product-gallery:has(.minimog-thumbs-swiper .swiper-slide:only-child) .minimog-thumbs-swiper-wrap { display: none !important; }
.woocommerce-product-gallery:has(.minimog-thumbs-swiper .swiper-slide:only-child) .minimog-main-swiper { margin-left: 0 !important; width: 100% !important; }
.single-product .woocommerce-product-gallery { padding: 28px; }
.single-product .col-woo-single-images .tm-sticky-column { top: 110px !important; }

/* Títulos en negrita en toda la ficha */
.single-product .minimog-tabs .tab-content h2,
.single-product .minimog-tabs .tab-content h3,
.single-product .minimog-tabs .tab-content h4 { font-weight: 800 !important; color: var(--po-ink); letter-spacing: -.02em; }
.single-product .minimog-tabs .tab-content h4 { font-size: 19px; margin: 30px 0 12px; }
.single-product .minimog-tabs .tab-content h3 { font-size: 24px; }
.single-product .entry-product-section-heading { font-weight: 800 !important; font-size: clamp(26px, 2.6vw, 34px) !important; letter-spacing: -.02em; color: var(--po-ink); }

/* Resumen más compacto */
.single-product .entry-summary .po-single-note { margin-bottom: 14px; }
.single-product .entry-summary .product-share, .single-product .entry-summary .entry-product-share { padding: 12px 0 !important; }

/* Pestañas en estilo píldora + contenido en tarjeta */
.single-product .woocommerce-main-tabs { margin-top: 72px; }
.single-product .minimog-tabs__header-wrap { border: 0 !important; margin-bottom: 0; }
.single-product .minimog-tabs__header { display: inline-flex !important; gap: 6px; padding: 6px; background: var(--po-soft); border-radius: 14px; border: 1px solid var(--po-line); }
.single-product .minimog-tabs--title-graphic-align-center .minimog-tabs__header-wrap { text-align: left !important; justify-content: flex-start !important; }
.single-product .minimog-tabs__header .tab-title { margin: 0 !important; padding: 12px 22px !important; border-radius: 10px; color: var(--po-muted) !important; font-weight: 700; font-size: 15px; border: 0 !important; transition: all .2s; }
.single-product .minimog-tabs__header .tab-title::after, .single-product .minimog-tabs__header .tab-title::before { display: none !important; }
.single-product .minimog-tabs__header .tab-title.active { background: #fff; color: var(--po-navy) !important; box-shadow: 0 2px 8px rgba(15, 23, 42, .08); }
.single-product .minimog-tabs__header .tab-title .tab-title__text { font-weight: inherit; }
.single-product .minimog-tabs__content { margin-top: 18px; padding: 0 !important; border: 1px solid var(--po-line); border-radius: 22px; background: #fff; overflow: hidden; }
.single-product .minimog-tabs__content .tab-content { padding: 44px 48px !important; box-sizing: border-box; max-width: none !important; }
.single-product .minimog-tabs__content .tab-content > * { max-width: 900px; margin-left: 0 !important; margin-right: 0 !important; }
.single-product .minimog-tabs__content .tab-content > .container, .single-product .minimog-tabs__content .tab-content .container { padding: 0 !important; max-width: 900px !important; }
.single-product .minimog-tabs__header-wrap::after, .single-product .minimog-tabs__header-wrap::before { display: none !important; }
.single-product .minimog-tabs__header-wrap { border-bottom: 0 !important; }
.single-product .minimog-tabs__content .tab-content { max-width: 920px; font-size: 16px; line-height: 1.75; }
.single-product .minimog-tabs__content .tab-content > :first-child { margin-top: 0; }
.single-product .minimog-tabs__content ul { padding-left: 0; list-style: none; }
.single-product .minimog-tabs__content ul li { position: relative; padding-left: 28px; }
.single-product .minimog-tabs__content ul li::before { content: ''; position: absolute; left: 0; top: .55em; width: 16px; height: 16px; border-radius: 50%; background: rgba(240, 78, 11, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f04e0b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.single-product .minimog-tabs__content table.woocommerce-product-attributes { border: 0; border-radius: 14px; overflow: hidden; width: 100% !important; max-width: 760px; }
.single-product .minimog-tabs__content table.woocommerce-product-attributes th,
.single-product .minimog-tabs__content table.woocommerce-product-attributes td { padding: 14px 18px !important; border: 0 !important; border-bottom: 1px solid var(--po-line) !important; font-size: 15px; }
.single-product .minimog-tabs__content table.woocommerce-product-attributes tr:nth-child(odd) { background: var(--po-soft); }
.single-product .minimog-tabs__content table.woocommerce-product-attributes th { width: 220px; font-weight: 700; }
.single-product .minimog-tabs__content table.woocommerce-product-attributes td p { margin: 0; }

/* Sin pestañas: una sola tarjeta de descripción con título */
.single-product .minimog-tabs__header-wrap { display: none !important; }
.single-product .woocommerce-main-tabs { margin-top: 56px; }
.single-product .minimog-tabs__content { margin-top: 0; }
.single-product .minimog-tabs__content .tab-content-description { gap: 48px; }
.single-product .minimog-tabs__content .tab-content-description::before {
	content: 'Descripción del producto'; display: block; flex: 0 0 240px; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; color: var(--po-ink);
	padding-top: 4px; border-top: 3px solid var(--po-orange); padding-top: 18px; align-self: flex-start;
}
.single-product .minimog-tabs__content .tab-content-description > * { flex: 1; min-width: 0; }
.single-product .minimog-tabs__content .tab-content-description hr,
.single-product .minimog-tabs__content .tab-content-description .separator { display: none; }
.single-product .entry-summary .product-popup-links { display: none !important; }

/* Sin botón de compartir */
.single-product .entry-product-share, .single-product .product-share, .single-product .product-sharing, .single-product .entry-summary .share-list { display: none !important; }

/* Franja de confianza horizontal */
.single-product .po-sp-trust {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; list-style: none;
	margin: 64px 0 0; padding: 0; background: #fff; border: 1px solid var(--po-line); border-radius: 22px; overflow: hidden;
}
.single-product .po-sp-trust li { display: flex; align-items: center; gap: 18px; padding: 28px 30px; margin: 0; border-right: 1px solid var(--po-line); }
.single-product .po-sp-trust li:last-child { border-right: 0; }
.single-product .po-sp-trust li > .po-icon {
	flex: none; width: 56px; height: 56px; padding: 15px; margin: 0; border-radius: 16px;
	background: rgba(240, 78, 11, .09); color: var(--po-orange); box-sizing: border-box;
}
.single-product .po-sp-trust strong { display: block; font-size: 16.5px; font-weight: 800; color: var(--po-ink); margin-bottom: 2px; }
.single-product .po-sp-trust span { font-size: 14px; color: var(--po-muted); line-height: 1.5; }
.single-product .woocommerce-main-tabs + .container .po-sp-band { margin-top: 28px; margin-bottom: 8px; }

/* Resumen: botón y nota más elegantes */
.single-product .entry-summary .po-single-quote .po-quote-btn { height: 58px; font-size: 16px; border-radius: 14px; box-shadow: 0 12px 26px -12px rgba(240, 78, 11, .8); }
.single-product .entry-summary .po-single-note { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; padding: 14px 16px; background: var(--po-soft); border-radius: 12px; margin-top: 4px; }

/* Banda de cotización */
.po-sp-band {
	display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
	margin: 40px 0 16px; padding: 44px 52px; border-radius: 24px; color: #fff;
	background: radial-gradient(520px 260px at 100% 0%, rgba(240, 78, 11, .32), transparent 60%), linear-gradient(135deg, var(--po-navy-900), var(--po-navy));
}
.po-sp-band__copy { max-width: 640px; }
.po-sp-band h3 { color: #fff; font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; margin: 0 0 10px; letter-spacing: -.02em; }
.po-sp-band p { color: rgba(255, 255, 255, .75); margin: 0; font-size: 16px; }
.po-sp-band .po-eyebrow { margin-bottom: 10px; }

@media (max-width: 767px) {
	.single-product .woocommerce-product-gallery { padding: 14px; }
	.single-product .woocommerce-main-tabs { margin-top: 40px; }
	.single-product .minimog-tabs__header { display: flex !important; width: 100%; }
	.single-product .minimog-tabs__header .tab-title { flex: 1; text-align: center; padding: 10px 8px !important; font-size: 14px; }
	.single-product .minimog-tabs__content { border-radius: 18px; }
	.single-product .minimog-tabs__content .tab-content { padding: 24px 18px !important; }
	.single-product .minimog-tabs__content .tab-content { font-size: 15px; }
	.single-product .minimog-tabs__content table.woocommerce-product-attributes th { width: 40%; }
	.single-product .po-sp-trust { grid-template-columns: 1fr; margin-top: 36px; border-radius: 18px; }
	.single-product .po-sp-trust li { border-right: 0; border-bottom: 1px solid var(--po-line); padding: 18px; gap: 14px; }
	.single-product .po-sp-trust li:last-child { border-bottom: 0; }
	.single-product .po-sp-trust li > .po-icon { width: 46px; height: 46px; padding: 12px; border-radius: 12px; }
	.single-product .po-sp-trust strong { font-size: 15px; }
	.single-product .po-sp-trust span { font-size: 13px; }
	.single-product .minimog-tabs__content .tab-content-description { flex-direction: column; gap: 18px; }
	.single-product .minimog-tabs__content .tab-content-description::before { flex: none; font-size: 22px; padding-top: 14px; }
	.po-sp-band { padding: 30px 22px; border-radius: 20px; margin-top: 28px; }
	.po-sp-band h3 { font-size: 22px; }
	.po-sp-band p { font-size: 15px; }
}

/* =========================================================================
 * v7 — Buscador tipo "command palette"
 * ========================================================================= */
#popup-search.po-palette {
	background: rgba(4, 14, 38, .62) !important; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	display: flex; align-items: flex-start; justify-content: center; padding: 7vh 20px 20px;
}
#popup-search.po-palette[hidden] { display: none !important; }
#popup-search.po-palette .po-palette__panel {
	position: relative !important; inset: auto !important; transform: none; margin: 0 !important;
	width: min(980px, 100%) !important; max-width: none !important; height: auto !important; max-height: 86vh;
	display: flex !important; flex-direction: column; overflow: hidden !important;
	background: #fff !important; border-radius: 24px; padding: 0 !important;
	box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06);
	animation: po-pop .22s ease-out;
}
@keyframes po-pop { from { opacity: 0; transform: translateY(-10px) scale(.985); } to { opacity: 1; transform: none; } }

/* Cabecera con la caja de búsqueda */
.po-palette__head { display: flex; align-items: center; gap: 12px; padding: 18px 18px 16px 22px; border-bottom: 1px solid var(--po-line); }
.po-palette__head .page-search-popup-content { flex: 1; min-width: 0; }
#popup-search.po-palette .po-search__form { box-shadow: none; background: transparent; padding: 0; border-radius: 0; }
#popup-search.po-palette .po-search__form .search-field { height: 58px !important; font-size: 19px !important; font-weight: 500; padding-left: 44px !important; }
#popup-search.po-palette .po-search__form .search-field__icon { left: 4px !important; color: var(--po-orange); }
#popup-search.po-palette .po-search__form .search-field__icon svg { width: 24px !important; height: 24px !important; }
#popup-search.po-palette .po-search__form .search-submit { top: 5px !important; right: 0 !important; height: 48px !important; }
#popup-search.po-palette .po-search__form .search-clear { right: 128px !important; }
.po-palette__close { flex: none; display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; background: var(--po-soft); color: var(--po-ink) !important; border: 1px solid var(--po-line); }
.po-palette__close .po-icon { width: 20px; height: 20px; }
.po-palette__close:hover { background: var(--po-ink); color: #fff !important; }

/* Cuerpo en dos columnas */
.po-palette__body { display: grid; grid-template-columns: 270px 1fr; min-height: 0; flex: 1; overflow-y: auto; }
.po-palette__side { padding: 22px 18px 22px 22px; background: var(--po-soft); border-right: 1px solid var(--po-line); }
.po-palette__main { padding: 22px 24px; min-width: 0; }
.po-palette__label { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--po-muted); margin: 0 0 12px; }
.po-palette__side .po-palette__label:not(:first-child) { margin-top: 26px; }
.po-palette__keys, .po-palette__cats, .po-palette__rows { list-style: none; margin: 0; padding: 0; }
.po-palette__keys li, .po-palette__cats li, .po-palette__rows li { margin: 0; }
.po-palette__keys a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--po-ink) !important; font-size: 14.5px; font-weight: 600; }
.po-palette__keys a .po-icon { width: 16px; height: 16px; color: var(--po-muted); }
.po-palette__keys a:hover { background: #fff; color: var(--po-orange) !important; }
.po-palette__cats a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; color: var(--po-ink) !important; }
.po-palette__cats a:hover { background: #fff; box-shadow: 0 4px 14px -6px rgba(15, 23, 42, .15); }
.po-palette__cat-ico { display: inline-flex; width: 34px; height: 34px; flex: none; align-items: center; justify-content: center; border-radius: 10px; background: #fff; color: var(--po-orange); border: 1px solid var(--po-line); }
.po-palette__cat-ico .po-icon { width: 18px; height: 18px; }
.po-palette__cat-name { flex: 1; font-size: 14.5px; font-weight: 700; }
.po-palette__cats em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--po-muted); background: #fff; border: 1px solid var(--po-line); border-radius: 999px; padding: 2px 9px; }

/* Filas (sugeridos y resultados) */
.po-palette__row { display: flex; align-items: center; gap: 16px; padding: 10px 12px; border-radius: 14px; color: var(--po-ink) !important; transition: background .15s; }
.po-palette__row:hover { background: var(--po-soft); }
.po-palette__thumb { flex: none; width: 60px; height: 60px; border-radius: 12px; border: 1px solid var(--po-line); background: #fff; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.po-palette__thumb img { width: 100%; height: 100%; object-fit: contain; }
.po-palette__info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.po-palette__info em { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--po-orange); }
.po-palette__info strong { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.po-palette__go { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--po-navy); opacity: 0; transform: translateX(-4px); transition: all .15s; }
.po-palette__go .po-icon { width: 16px; height: 16px; }
.po-palette__row:hover .po-palette__go { opacity: 1; transform: none; }

/* Resultados AJAX del tema convertidos en filas */
.po-palette__main .popup-search-results[style*="block"] + .po-palette__empty { display: none; }
#popup-search.po-palette .popup-search-results { padding: 0 !important; }
#popup-search.po-palette .popup-search-results-title { font-size: 11.5px !important; margin-bottom: 12px !important; }
#popup-search.po-palette .popup-search-current { color: var(--po-orange); }
#popup-search.po-palette .popup-search-products .minimog-grid,
#popup-search.po-palette .popup-search-products .minimog-grid-wrapper .minimog-grid { display: flex !important; flex-direction: column; gap: 2px; margin: 0 !important; }
#popup-search.po-palette .popup-search-products .grid-item { width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }
#popup-search.po-palette .popup-search-products .product-wrapper { display: flex !important; align-items: center; gap: 16px; padding: 10px 12px; border-radius: 14px; transition: background .15s; }
#popup-search.po-palette .popup-search-products .product-wrapper:hover { background: var(--po-soft); }
#popup-search.po-palette .popup-search-products .product-thumbnail { flex: none; width: 60px !important; height: 60px; margin: 0 !important; border-radius: 12px !important; box-shadow: none !important; }
#popup-search.po-palette .popup-search-products .product-thumbnail img { transform: none !important; }
#popup-search.po-palette .popup-search-products .product-info { flex: 1; min-width: 0; padding: 0 !important; text-align: left; }
#popup-search.po-palette .popup-search-products .po-card-brand { margin: 0 0 1px; font-size: 11px; }
#popup-search.po-palette .popup-search-products .woocommerce-loop-product__title { min-height: 0 !important; margin: 0 !important; font-size: 15px !important; font-weight: 700; -webkit-line-clamp: 1 !important; }
#popup-search.po-palette .popup-search-products .woocommerce-loop-product__title mark { background: rgba(240, 78, 11, .14); color: var(--po-ink); border-radius: 4px; padding: 0 2px; }
#popup-search.po-palette .popup-search-products .price { display: none !important; }
#popup-search.po-palette .popup-search-products .po-loop-quote { flex: none; margin: 0 !important; }
#popup-search.po-palette .popup-search-products .po-loop-quote .po-quote-btn { width: auto; min-height: 0; height: 38px; padding: 0 14px; font-size: 13px; }
#popup-search.po-palette .popup-search-products .product-wrapper > *:not(.product-thumbnail):not(.product-info):not(.po-loop-quote) { display: none !important; }

/* Sin resultados */
.po-palette__none { text-align: center; padding: 30px 20px; }
.po-palette__none-ico { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: 16px; background: var(--po-soft); color: var(--po-muted); margin-bottom: 14px; }
.po-palette__none-ico .po-icon { width: 26px; height: 26px; }
.po-palette__none strong { display: block; font-size: 17px; color: var(--po-ink); margin-bottom: 6px; }
.po-palette__none p { max-width: 420px; margin: 0 auto 18px; font-size: 14.5px; }

/* Pie */
.po-palette__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 22px; border-top: 1px solid var(--po-line); background: #fff; font-size: 13.5px; color: var(--po-muted); }
.po-palette__foot a:not(.tm-button) { color: var(--po-orange) !important; font-weight: 700; }
#popup-search.po-palette #btn-view-all-search-results { display: none; }
#popup-search.po-palette .popup-search-results[style*="block"] ~ * #btn-view-all-search-results,
#popup-search.po-palette:has(.popup-search-results[style*="block"]) #btn-view-all-search-results {
	display: inline-flex !important; align-items: center; height: 42px; padding: 0 20px !important; border-radius: 11px !important;
	background: var(--po-orange) !important; border: 0 !important; color: #fff !important; font-weight: 700; font-size: 14px;
}
#popup-search.po-palette #btn-view-all-search-results:hover { background: var(--po-orange-600) !important; }

@media (max-width: 767px) {
	#popup-search.po-palette { padding: 0; }
	#popup-search.po-palette .po-palette__panel { width: 100% !important; height: 100% !important; max-height: 100vh; border-radius: 0; }
	.po-palette__head { padding: 12px 12px 12px 16px; }
	#popup-search.po-palette .po-search__form .search-field { height: 50px !important; font-size: 16px !important; padding-right: 64px !important; }
	#popup-search.po-palette .po-search__form .search-submit { top: 1px !important; }
	#popup-search.po-palette .po-search__form .search-clear { right: 58px !important; }
	.po-palette__body { grid-template-columns: 1fr; }
	.po-palette__side { border-right: 0; border-bottom: 1px solid var(--po-line); padding: 16px; }
	.po-palette__keys { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 2px; scrollbar-width: none; }
	.po-palette__keys::-webkit-scrollbar { display: none; }
	.po-palette__keys a { flex: none; white-space: nowrap; background: #fff; border: 1px solid var(--po-line); border-radius: 999px; padding: 7px 12px; font-size: 13px; }
	.po-palette__cats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
	.po-palette__cats a { background: #fff; border: 1px solid var(--po-line); padding: 10px; }
	.po-palette__cats em { display: none; }
	.po-palette__side .po-palette__label:not(:first-child) { margin-top: 18px; }
	.po-palette__main { padding: 16px 10px; }
	.po-palette__go { display: none; }
	#popup-search.po-palette .popup-search-products .po-loop-quote { display: none; }
	.po-palette__foot { flex-direction: column; align-items: stretch; text-align: center; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
	#popup-search.po-palette:has(.popup-search-results[style*="block"]) #btn-view-all-search-results { justify-content: center; width: 100%; }
}

/* v7.1 — ajustes del buscador */
#popup-search.po-palette .po-palette__close { position: static !important; top: auto !important; right: auto !important; }
#popup-search.po-palette .po-search__form { background: var(--po-soft) !important; border: 1.5px solid var(--po-line) !important; border-radius: 14px !important; padding: 0 !important; transition: border-color .2s, background .2s; }
#popup-search.po-palette .po-search__form:focus-within { border-color: var(--po-orange) !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(240, 78, 11, .1) !important; }
#popup-search.po-palette .po-search__form .search-field { border: 0 !important; outline: none !important; box-shadow: none !important; height: 56px !important; padding-left: 58px !important; background: transparent !important; }
#popup-search.po-palette .po-search__form .search-field__icon { left: 16px !important; }
#popup-search.po-palette .po-search__form .search-submit { top: 5px !important; right: 5px !important; height: 44px !important; border-radius: 10px !important; }
.po-palette__main .popup-search-results:not([style*="none"]) + .po-palette__empty { display: none !important; }
#popup-search.po-palette .popup-search-results-title { text-align: left !important; }
.po-palette__body { grid-template-columns: 290px 1fr; }
.po-palette__cat-name { white-space: nowrap; }
#popup-search.po-palette .po-palette__foot #btn-view-all-search-results,
#popup-search.po-palette .po-palette__foot #btn-view-all-search-results:hover { background-color: var(--po-orange) !important; background-image: none !important; border-color: var(--po-orange) !important; color: #fff !important; box-shadow: 0 10px 22px -10px rgba(240, 78, 11, .8); }
#popup-search.po-palette .po-palette__foot #btn-view-all-search-results::before,
#popup-search.po-palette .po-palette__foot #btn-view-all-search-results::after { display: none !important; }
#popup-search.po-palette .po-palette__foot #btn-view-all-search-results * { color: #fff !important; }
#popup-search.po-palette:has(.popup-search-results:not([style*="none"])) #btn-view-all-search-results { display: inline-flex !important; align-items: center; height: 42px; padding: 0 20px !important; border-radius: 11px !important; font-weight: 700; font-size: 14px; }
#popup-search.po-palette .popup-search-products .product-wrapper { gap: 16px; }
#popup-search.po-palette .popup-search-products .product-info { display: flex; flex-direction: column; gap: 2px; }

/* v7.2 — íconos Phosphor duotone y botón "Ver todos" */
.po-icon.po-ph { fill: currentColor; stroke: none; }
.po-palette__cat-ico .po-ph, .po-mmenu__cat-ico .po-ph, .po-chip .po-ph { width: 20px; height: 20px; }
.po-cat__icon .po-ph { width: 24px; height: 24px; }
.po-cat__img--icon .po-ph { width: 150px; height: 150px; }
.po-palette__cat-ico { width: 38px; height: 38px; background: rgba(240, 78, 11, .08); border-color: rgba(240, 78, 11, .15); }

.po-palette__all { display: none; }
#popup-search.po-palette:has(.popup-search-results:not([style*="none"])) .po-palette__all {
	display: inline-flex; align-items: center; gap: 12px; height: 46px; padding: 0 6px 0 20px; border: 0; border-radius: 13px; cursor: pointer;
	background: linear-gradient(135deg, var(--po-navy), var(--po-navy-900)); color: #fff; font-family: var(--po-font); font-weight: 700; font-size: 14.5px;
	box-shadow: 0 12px 24px -12px rgba(7, 26, 66, .7); transition: transform .2s, box-shadow .2s;
}
.po-palette__all:hover { transform: translateY(-1px); box-shadow: 0 16px 30px -12px rgba(7, 26, 66, .8); }
.po-palette__all-ico { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 10px; background: var(--po-orange); }
.po-palette__all-ico .po-icon { width: 17px; height: 17px; transition: transform .2s; }
.po-palette__all:hover .po-palette__all-ico .po-icon { transform: translateX(2px); }
#popup-search.po-palette #btn-view-all-search-results { display: none !important; }
@media (max-width: 767px) {
	#popup-search.po-palette:has(.popup-search-results:not([style*="none"])) .po-palette__all { width: 100%; justify-content: space-between; }
}

/* =========================================================================
 * v8 — Catálogo: filtros, barra de herramientas, tarjeta de venta, vacío
 * ========================================================================= */
.po-shop-layout { display: grid !important; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; margin: 0 !important; align-items: start; }
.po-shop-layout > #page-main-content { width: auto !important; max-width: none !important; flex: none !important; padding: 0 !important; }
.po-shop-layout .archive-shop-actions, .po-shop-layout .active-filters-bar { display: none !important; }

/* Barra lateral */
.po-filters { position: sticky; top: 100px; }
.po-filters__head { display: none; }
.po-filters__group { padding: 22px; border: 1px solid var(--po-line); border-radius: 18px; background: #fff; margin-bottom: 16px; }
.po-filters__label { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--po-muted); margin: 0 0 12px; }
.po-filters ul { list-style: none; margin: 0; padding: 0; }
.po-filters li { margin: 0; }
.po-filters__cats > li > a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; color: var(--po-ink) !important; font-weight: 600; font-size: 14.5px; transition: background .15s; }
.po-filters__cats > li > a:hover { background: var(--po-soft); }
.po-filters__cats > li > a.is-active { background: var(--po-navy); color: #fff !important; }
.po-filters__cats > li > a.is-active .po-filters__ico { background: rgba(255,255,255,.12); color: #ffb08c; border-color: transparent; }
.po-filters__cats > li > a.is-active em { background: rgba(255,255,255,.14); color: #fff; border-color: transparent; }
.po-filters__cats > li > a > span:nth-child(2) { flex: 1; }
.po-filters__ico { display: inline-flex; width: 34px; height: 34px; flex: none; align-items: center; justify-content: center; border-radius: 10px; background: rgba(240, 78, 11, .08); border: 1px solid rgba(240, 78, 11, .14); color: var(--po-orange); }
.po-filters__ico .po-icon { width: 18px; height: 18px; }
.po-filters em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--po-muted); background: var(--po-soft); border: 1px solid var(--po-line); border-radius: 999px; padding: 1px 9px; }
.po-filters__subs { margin: 4px 0 6px 56px !important; border-left: 2px solid var(--po-line); }
.po-filters__subs a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 12px; color: var(--po-text) !important; font-size: 13.5px; font-weight: 600; border-radius: 0 10px 10px 0; margin-left: -2px; border-left: 2px solid transparent; }
.po-filters__subs a:hover { color: var(--po-navy) !important; }
.po-filters__subs a.is-active { border-left-color: var(--po-orange); color: var(--po-orange) !important; background: rgba(240, 78, 11, .05); }
.po-check { display: flex; align-items: center; gap: 12px; padding: 8px 6px; border-radius: 10px; color: var(--po-ink) !important; font-size: 14.5px; font-weight: 600; }
.po-check:hover { background: var(--po-soft); }
.po-check > span:nth-child(2) { flex: 1; }
.po-check__box { display: inline-flex; width: 20px; height: 20px; flex: none; align-items: center; justify-content: center; border-radius: 6px; border: 1.5px solid #cbd3e1; background: #fff; color: transparent; transition: all .15s; }
.po-check__box .po-icon { width: 13px; height: 13px; stroke-width: 3; }
.po-check.is-on .po-check__box { background: var(--po-orange); border-color: var(--po-orange); color: #fff; }
.po-filters__clear { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--po-orange) !important; }
.po-filters__clear .po-icon { width: 14px; height: 14px; }
.po-filters__help { padding: 22px; border-radius: 18px; color: #fff; background: radial-gradient(260px 160px at 100% 0%, rgba(240, 78, 11, .35), transparent 60%), linear-gradient(135deg, var(--po-navy), var(--po-navy-900)); }
.po-filters__help .po-ico-badge { background: rgba(255,255,255,.1); color: #ffb08c; margin-bottom: 12px; }
.po-filters__help strong { display: block; font-size: 16px; margin-bottom: 4px; }
.po-filters__help p { font-size: 13.5px; color: rgba(255,255,255,.72); margin: 0 0 12px; }
.po-filters__help a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: #ffb08c !important; }
.po-filters__help a .po-icon { width: 16px; height: 16px; }
.po-filters__backdrop { display: none; }

/* Barra de herramientas */
.po-toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 12px 12px 18px; margin-bottom: 26px; border: 1px solid var(--po-line); border-radius: 16px; background: #fff; }
.po-toolbar__filter { display: none; }
.po-toolbar__count { margin: 0; font-size: 14.5px; color: var(--po-muted); }
.po-toolbar__count strong { color: var(--po-ink); font-size: 16px; }
.po-toolbar__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.po-toolbar__chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 8px 0 12px; border-radius: 999px; background: rgba(240, 78, 11, .09); color: var(--po-orange) !important; font-size: 13px; font-weight: 700; }
.po-toolbar__chip .po-icon { width: 14px; height: 14px; }
.po-toolbar__chip:hover { background: var(--po-orange); color: #fff !important; }
.po-toolbar__sort { display: flex; align-items: center; gap: 10px; margin: 0 0 0 auto; }
.po-toolbar__sort label { font-size: 13.5px; font-weight: 700; color: var(--po-muted); margin: 0; }
.po-select { position: relative; display: inline-flex; }
.po-select select { appearance: none; -webkit-appearance: none; height: 42px; padding: 0 40px 0 14px !important; border: 1.5px solid var(--po-line) !important; border-radius: 11px !important; background: var(--po-soft) !important; font-weight: 700; font-size: 14px; color: var(--po-ink); cursor: pointer; min-width: 190px; }
.po-select select:focus { border-color: var(--po-navy) !important; outline: none; }
.po-select .po-icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; pointer-events: none; color: var(--po-muted); }

/* Chips del encabezado: solo en móvil (en escritorio está la barra lateral) */
@media (min-width: 992px) { .post-type-archive-product .po-chips, .tax-product_cat .po-chips, .search .po-shop-hero .po-chips { display: none; } .po-shop-hero { padding-bottom: 44px; } }

/* Tarjeta de venta dentro de la cuadrícula */
.po-promo { display: flex; }
.po-promo__inner {
	display: flex; flex-direction: column; align-items: flex-start; width: 100%; height: 100%; min-height: 380px; padding: 28px; border-radius: 16px; color: #fff;
	background: radial-gradient(300px 200px at 100% 0%, rgba(240, 78, 11, .4), transparent 60%), linear-gradient(160deg, var(--po-navy), var(--po-navy-900));
}
.po-promo__ico { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 14px; background: rgba(255,255,255,.1); color: #ffb08c; margin-bottom: 22px; }
.po-promo__ico .po-icon { width: 26px; height: 26px; }
.po-promo .po-eyebrow { margin-bottom: 10px; }
.po-promo h3 { color: #fff; font-size: 21px; line-height: 1.25; font-weight: 800; margin: 0 0 10px; }
.po-promo p { color: rgba(255,255,255,.72); font-size: 14px; margin: 0 0 22px; }
.po-promo .po-btn { margin-top: auto; }

/* Estado vacío */
.po-empty { text-align: center; padding: 64px 32px; border: 1px dashed #cfd7e6; border-radius: 22px; background: linear-gradient(180deg, #fff, var(--po-soft)); }
.po-empty__ico { display: inline-flex; width: 76px; height: 76px; align-items: center; justify-content: center; border-radius: 22px; background: #fff; border: 1px solid var(--po-line); color: var(--po-orange); box-shadow: var(--po-shadow); margin-bottom: 22px; }
.po-empty__ico .po-icon { width: 38px; height: 38px; }
.po-empty h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; margin: 0 0 10px; }
.po-empty > p { max-width: 520px; margin: 0 auto 22px; font-size: 16px; }
.po-empty__list { list-style: none; display: inline-grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; margin: 0 0 28px; padding: 0; text-align: left; }
.po-empty__list li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--po-ink); margin: 0; }
.po-empty__list .po-icon { width: 18px; height: 18px; color: var(--po-orange); stroke-width: 2.5; }
.po-empty .po-actions { justify-content: center; align-items: center; }
.po-empty__link { font-weight: 700; color: var(--po-navy) !important; }

/* Móvil: hoja de filtros desde abajo */
@media (max-width: 991px) {
	.po-shop-layout { grid-template-columns: 1fr; gap: 0; }
	.po-filters { position: fixed; inset: auto 0 0 0; top: auto; z-index: 10001; transform: translateY(105%); transition: transform .3s ease; }
	.po-filters__sheet { max-height: 82vh; overflow-y: auto; background: var(--po-soft); border-radius: 22px 22px 0 0; padding: 0 16px 24px; box-shadow: 0 -20px 50px -10px rgba(0,0,0,.35); }
	.po-filters__head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 1; margin: 0 -16px 14px; padding: 16px; background: var(--po-soft); border-bottom: 1px solid var(--po-line); }
	.po-filters__head strong { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; color: var(--po-ink); }
	.po-filters__head strong .po-icon { width: 20px; height: 20px; color: var(--po-orange); }
	.po-filters__close { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--po-line) !important; background: #fff !important; color: var(--po-ink) !important; padding: 0 !important; }
	.po-filters__close .po-icon { width: 18px; height: 18px; }
	.po-filters-open .po-filters { transform: none; }
	.po-filters__backdrop { position: fixed; inset: 0; z-index: 10000; background: rgba(4, 14, 38, .55); backdrop-filter: blur(3px); }
	.po-filters-open .po-filters__backdrop { display: block; }
	.po-filters-open .po-mbar { display: none; }
	.po-toolbar { padding: 8px; gap: 8px; margin-bottom: 18px; }
	.po-toolbar__filter { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px !important; border-radius: 11px !important; border: 0 !important; background: var(--po-navy) !important; color: #fff !important; font-weight: 700; font-size: 14px; }
	.po-toolbar__filter .po-icon { width: 18px; height: 18px; }
	.po-toolbar__filter b { display: inline-flex; min-width: 20px; height: 20px; align-items: center; justify-content: center; border-radius: 999px; background: var(--po-orange); font-size: 11px; }
	.po-toolbar__count { font-size: 13px; }
	.po-toolbar__sort label { display: none; }
	.po-select select { min-width: 0; width: 150px; height: 42px; font-size: 13px; }
	.po-toolbar__chips { order: 5; width: 100%; }
	.po-promo__inner { min-height: 0; padding: 22px; }
	.po-promo h3 { font-size: 18px; }
	.po-empty { padding: 40px 18px; }
	.po-empty__list { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	.po-promo { grid-column: 1 / -1; }
}

@media (min-width: 992px) { .po-shop-layout { grid-template-columns: 300px minmax(0, 1fr); } }
.po-filters__cats > li > a > span:nth-child(2) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* =========================================================================
 * v9 — Footer: firma de SolucionesQR
 * ========================================================================= */
.po-footer__sign { height: 1px; max-width: 1272px; margin: 0 auto; background: rgba(255, 255, 255, .1); }
.po-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 0 !important; padding-top: 24px; padding-bottom: 28px; }
.po-footer__legal { display: flex; flex-direction: column; gap: 3px; }
.po-footer__legal span { font-size: 13.5px; color: rgba(255,255,255,.6); }
.po-footer__legal small { font-size: 12px; color: rgba(255,255,255,.38); }

/* Crédito discreto: una línea, sin caja */
.po-credit {
	display: inline-flex !important; align-items: center; gap: 7px; padding: 0 !important; margin: 0 !important;
	background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
	font-size: 12.5px; color: rgba(255, 255, 255, .42) !important; text-decoration: none !important; white-space: nowrap;
}
.po-credit__label { font-size: 12.5px; font-weight: 500; letter-spacing: 0; text-transform: none; color: inherit; margin: 0 2px 0 0; }
.po-credit__mark { width: 13px !important; height: 15px !important; flex: none; opacity: .7; transition: opacity .2s; }
.po-credit__dark, .po-credit__violet { fill: rgba(255, 255, 255, .6); transition: fill .2s; }
.po-credit__name { font-size: 12.5px; font-weight: 700; letter-spacing: 0; color: rgba(255, 255, 255, .6); transition: color .2s; }
.po-credit__name b { font-weight: 700; color: inherit; transition: color .2s; }
.po-credit__name i { font-style: normal; font-weight: 500; color: inherit; opacity: .75; }
.po-brands2__note { margin: 14px 0 0; font-size: 12px; color: #9aa6bd; text-align: center; }

/* Logos de marcas */
.po-logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.po-logo {
	display: flex; align-items: center; justify-content: center; height: 124px; padding: 20px 24px;
	background: #fff; border: 1px solid var(--po-line); border-radius: 18px;
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.po-logo img { height: var(--h, 44px); width: auto; max-width: 78%; object-fit: contain; filter: grayscale(1); opacity: .55; transition: filter .3s ease, opacity .3s ease, transform .3s ease; }
.po-logo:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--po-shadow); }
.po-logo:hover img { filter: none; opacity: 1; transform: scale(1.04); }
@media (max-width: 991px) {
	.po-logos { grid-template-columns: repeat(4, 1fr); gap: 10px; }
	.po-logo { height: 96px; padding: 14px; border-radius: 14px; }
	.po-logo img { height: calc(var(--h, 44px) * .78); }
}
@media (max-width: 640px) {
	.po-logos { grid-template-columns: repeat(2, 1fr); }
	.po-logo { height: 88px; }
	.po-logo img { filter: none; opacity: .92; }
}
.po-credit:hover .po-credit__mark { opacity: 1; }
.po-credit:hover .po-credit__dark { fill: #e6e2f3; }
.po-credit:hover .po-credit__violet { fill: #9b7fff; }
.po-credit:hover .po-credit__name { color: #fff; }
.po-credit:hover .po-credit__name b { color: #a58cff; }

@media (max-width: 767px) {
	.po-footer__bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
	.po-credit { width: auto !important; justify-content: flex-start; }
}

/* =========================================================================
 * v6 — Encabezado azul en escritorio y tarjetas sin acciones flotantes
 * ========================================================================= */

/* Tarjetas: sin "Leer más", vista rápida ni comparar al pasar el cursor */
.product .product-actions,
.product .product-thumbnail .product-action,
.product .product-thumbnail .quick-view-btn,
.product .product-thumbnail a.button.product_type_simple { display: none !important; }
.product .product-thumbnail { cursor: pointer; }
.product:hover .product-thumbnail img { transform: scale(1.04); }
.product .product-thumbnail img { transition: transform .45s ease; }
.product .woocommerce-loop-product__title a:hover, .product .post-title a:hover { color: var(--po-orange) !important; }

/* Encabezado azul (todas las pantallas) */
.top-bar, #page-top-bar { background: linear-gradient(90deg, var(--po-orange-600), var(--po-orange) 50%, var(--po-orange-600)) !important; border-bottom: 0; }
.top-bar, .top-bar *, #page-top-bar, #page-top-bar * { color: #fff !important; }
.top-bar .top-bar-text, #page-top-bar .top-bar-text { font-weight: 600; letter-spacing: .01em; }
#page-header .page-header-inner,
.header-pinned #page-header .page-header-inner,
#page-header.header-pinned .page-header-inner {
	background: var(--po-navy-900) !important; border-bottom: 1px solid rgba(255, 255, 255, .08) !important; box-shadow: none !important;
}
.header-pinned #page-header .page-header-inner, #page-header.header-pinned .page-header-inner {
	background: rgba(7, 26, 66, .94) !important; backdrop-filter: blur(12px); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .45) !important;
}
#page-header .branding__logo img, #page-header .branding img { content: url('/wp-content/uploads/2026/09/proveoriente-logo-light.png'); }

/* Enlaces del menú */
#page-header .menu--primary > ul > li > a,
#page-header .menu__container > li > a { color: rgba(255, 255, 255, .86) !important; font-weight: 600; }
#page-header .menu__container > li > a .menu-item-wrap { position: relative; }
#page-header .menu__container > li > a:hover,
#page-header .menu__container > li.current-menu-item > a,
#page-header .menu__container > li.current-menu-ancestor > a { color: #fff !important; }
#page-header .menu__container > li > a .menu-item-title::after,
#page-header .menu__container > li > a .menu-text::after { background: var(--po-orange) !important; }
#page-header .menu__container > li > a .toggle-sub-menu,
#page-header .menu__container > li > a svg { color: currentColor !important; fill: currentColor; }

/* Submenú desplegable: tarjeta blanca */
#page-header .menu__container .sub-menu,
#page-header .menu__container .children { background: #fff !important; border-radius: 14px; box-shadow: 0 24px 48px -16px rgba(7, 26, 66, .35) !important; border: 1px solid var(--po-line); padding: 10px !important; }
#page-header .menu__container .sub-menu a { color: var(--po-ink) !important; border-radius: 8px; padding: 10px 14px !important; }
#page-header .menu__container .sub-menu a:hover { background: var(--po-soft); color: var(--po-orange) !important; }

/* Íconos del encabezado en blanco */
#page-header .header-icon, #page-header .header-icon *,
#page-header .page-open-popup-search, #page-header .page-open-popup-search * { color: #fff !important; }
#page-header .header-icon svg path { fill: currentColor; }
#page-header .header-buttons a { box-shadow: 0 10px 22px -10px rgba(240, 78, 11, .9); }

/* =========================================================================
 * v11 — Selector "Ordenar" propio
 * ========================================================================= */
.po-sort { position: relative; margin-left: auto; }
.po-sort__backdrop { display: none; }
@media (max-width: 767px) { .po-sort__backdrop { display: block; } }
.po-sort__btn {
	display: inline-flex !important; align-items: center; gap: 10px; height: 46px; padding: 0 14px !important;
	border: 1.5px solid var(--po-line) !important; border-radius: 12px !important; background: var(--po-soft) !important;
	color: var(--po-ink) !important; cursor: pointer; font-family: var(--po-font); transition: border-color .2s, background .2s;
}
.po-sort__btn:hover, .po-sort.is-open .po-sort__btn { border-color: var(--po-navy) !important; background: #fff !important; }
.po-sort__btn > .po-icon { width: 18px; height: 18px; color: var(--po-orange); }
.po-sort__txt { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; text-align: left; }
.po-sort__txt em { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--po-muted); }
.po-sort__txt strong { font-size: 14px; font-weight: 700; white-space: nowrap; }
.po-sort__chev { width: 16px !important; height: 16px !important; color: var(--po-muted); margin-left: 4px; transition: transform .2s; }
.po-sort.is-open .po-sort__chev { transform: rotate(180deg); }
.po-sort__menu {
	position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; width: 250px; padding: 8px;
	background: #fff; border: 1px solid var(--po-line); border-radius: 16px; box-shadow: 0 24px 48px -16px rgba(7, 26, 66, .3);
	opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.po-sort.is-open .po-sort__menu { opacity: 1; visibility: visible; transform: none; }
.po-sort__title { margin: 6px 10px 8px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--po-muted); }
.po-sort__opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; border-radius: 10px; color: var(--po-ink) !important; font-weight: 600; font-size: 14.5px; }
.po-sort__opt:hover { background: var(--po-soft); }
.po-sort__opt .po-icon { width: 18px; height: 18px; color: var(--po-orange); stroke-width: 2.5; opacity: 0; }
.po-sort__opt.is-on { background: rgba(240, 78, 11, .07); color: var(--po-orange) !important; }
.po-sort__opt.is-on .po-icon { opacity: 1; }

@media (max-width: 767px) {
	.po-sort { margin: 0; width: 100%; }
	.po-sort__btn { width: 100%; height: 44px; justify-content: flex-start; background: #fff !important; }
	.po-sort__txt em { display: none; }
	.po-sort__txt strong { font-size: 13.5px; }
	.po-sort__chev { margin-left: auto; }
	.po-sort__menu {
		position: fixed; left: 0; right: 0; top: auto; bottom: 0; width: auto; z-index: 10002;
		padding: 10px 12px calc(18px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; border: 0;
		box-shadow: 0 -20px 50px -10px rgba(0, 0, 0, .35); transform: translateY(100%);
		opacity: 1; transition: transform .28s ease, visibility .28s;
	}
	.po-sort.is-open .po-sort__menu { transform: none; }
	.po-sort__menu::before { content: ''; display: block; width: 40px; height: 4px; border-radius: 4px; background: #d5dbe7; margin: 4px auto 10px; }
	.po-sort__title { font-size: 12px; margin: 4px 8px 10px; }
	.po-sort__opt { padding: 15px 14px; font-size: 15.5px; }
	.po-sort__backdrop { position: fixed; inset: 0; z-index: 10001; background: rgba(4, 14, 38, .55); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
	.po-sort.is-open .po-sort__backdrop { opacity: 1; visibility: visible; }
	.po-sort-open .po-toolbar { z-index: 10003 !important; }
	.po-sort-open .po-mbar { display: none; }
}

/* =========================================================================
 * v12 — Encabezado fijo estable y espaciado marca/título
 * ========================================================================= */
.po-card-brand { margin: 2px 0 8px !important; line-height: 1.2; }
#page-header.header-pinned .page-header-inner, .header-pinned .page-header-inner { animation: none !important; }
.po-sp-top { margin-bottom: 16px; }
@media (max-width: 767px) {
	.po-card-brand { margin: 2px 0 7px !important; }
	.single-product .product_title { margin-top: 2px; line-height: 1.2; }

	/* Logo siempre centrado y del mismo tamaño, esté o no fijo el encabezado */
	#page-header .page-header-inner .header-wrap { position: relative !important; min-height: 64px !important; height: 64px; }
	#page-header .branding,
	#page-header.header-pinned .branding,
	.header-pinned #page-header .branding {
		position: absolute !important; left: 50% !important; top: 50% !important; right: auto !important;
		transform: translate(-50%, -50%) !important; margin: 0 !important; transition: none !important;
	}
	#page-header .branding__logo img,
	#page-header.header-pinned .branding__logo img,
	.header-pinned #page-header .branding__logo img {
		width: 172px !important; max-width: 172px !important; height: auto !important; max-height: none !important; transition: none !important;
	}
	#page-header .page-header-inner { transition: box-shadow .2s ease !important; transform: none !important; }
}

/* =========================================================================
 * v13 — Encabezado fijo nativo (sin el JS del tema): estable, sin saltos
 * ========================================================================= */
#page-header { position: sticky !important; top: 0; z-index: 9990; }
.admin-bar #page-header { top: 32px; }
@media (max-width: 782px) { .admin-bar #page-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar #page-header { top: 0; } }
#page-header .page-header-place-holder { display: none !important; height: 0 !important; }
#page-header .page-header-inner,
#page-header.header-pinned .page-header-inner {
	position: relative !important; top: auto !important; left: auto !important; right: auto !important;
	transform: none !important; animation: none !important;
	background: var(--po-navy-900) !important; box-shadow: 0 8px 24px -14px rgba(0, 0, 0, .55) !important;
}
@media (max-width: 767px) {
	.po-toolbar { top: 64px !important; }
}

/* =========================================================================
 * v14 — Footer móvil
 * ========================================================================= */
@media (max-width: 767px) {
	.po-footer { padding-top: 44px; margin-top: 48px; }
	.po-footer__grid { grid-template-columns: 1fr 1fr !important; gap: 0 !important; padding-bottom: 8px; }

	/* Marca centrada */
	.po-footer__brand { grid-column: 1 / -1; text-align: center; padding-bottom: 28px; margin-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.08); }
	.po-footer__logo { margin: 0 auto 14px !important; max-width: 200px; display: block; }
	.po-footer__brand p { max-width: 300px; margin: 0 auto; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.6); }
	.po-footer__brand .po-btn { display: none !important; }

	/* Columnas Catálogo / Empresa */
	.po-footer__grid > div:not(.po-footer__brand) { padding: 0 0 22px; }
	.po-footer__grid > div:nth-child(2) { padding-right: 12px; }
	.po-footer h4 { font-size: 12px; letter-spacing: .12em; margin: 0 0 14px; color: rgba(255,255,255,.95); }
	.po-footer li { margin-bottom: 10px; font-size: 14px; }

	/* Contacto a todo el ancho */
	.po-footer__grid > div:last-child { grid-column: 1 / -1; padding-top: 22px !important; border-top: 1px solid rgba(255,255,255,.08); }
	.po-footer__contact li { font-size: 14px; }

	/* Franja final centrada */
	.po-footer__sign { margin: 0 16px; }
	.po-footer { padding-bottom: 0 !important; }
	.po-footer__bottom { flex-direction: column !important; align-items: center !important; justify-content: center; text-align: center; gap: 8px !important; padding-top: 20px !important; padding-bottom: 116px !important; }
	.po-footer__legal { align-items: center; }
	.po-footer__legal span { font-size: 12.5px; }
	.po-credit { justify-content: center !important; width: auto !important; flex-wrap: wrap; gap: 6px !important; }
	.po-credit__label, .po-credit__name { font-size: 12px !important; }
}

/* Etiqueta corta del botón de cotizar en tarjetas (móvil) */
.po-qb-short { display: none; }

/* =========================================================================
 * v10 — Ajustes móviles finales (catálogo y buscador). Va al final para ganar prioridad.
 * ========================================================================= */
@media (max-width: 767px) {

	/* ---------- Catálogo ---------- */
	.po-shop-hero { padding: 22px 0 18px; margin-bottom: 0; }
	.po-shop-hero .po-crumbs { margin-bottom: 10px; font-size: 12px; }
	.po-shop-hero__row { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
	.po-shop-hero h1 { font-size: 26px; margin: 0; }
	.po-shop-hero p { display: none; }
	.po-shop-hero__count { padding: 5px 12px; font-size: 12.5px; white-space: nowrap; }
	.po-chip { height: 38px; font-size: 13px; }

	/* Barra: Filtrar + Ordenar en una fila, pegada arriba al hacer scroll */
	.po-toolbar {
		position: sticky; top: var(--header-sticky-height, 0px); z-index: 50;
		display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
		margin: 0 -16px 16px; padding: 10px 16px; border: 0; border-radius: 0;
		background: #fff !important; border-bottom: 1px solid var(--po-line) !important; box-shadow: 0 8px 18px -12px rgba(15, 23, 42, .25);
	}
	.admin-bar .po-toolbar { top: var(--header-sticky-height, 0px); }
	.po-toolbar__filter { width: 100%; justify-content: center; height: 44px; border-radius: 12px !important; }
	.po-toolbar__count { display: none; }
	.po-toolbar__sort { margin: 0; width: 100%; }
	.po-toolbar__sort .po-select, .po-toolbar__sort .po-select select { width: 100%; }
	.po-select select { height: 44px; border-radius: 12px !important; background: #fff !important; }
	.po-toolbar__chips { grid-column: 1 / -1; }
	.po-shop-layout { padding-top: 0; grid-template-columns: minmax(0, 1fr) !important; gap: 0 !important; }
	.po-shop-layout > #page-main-content { width: 100% !important; min-width: 0; }
	.po-shop-layout .minimog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }

	/* Tarjetas de producto compactas */
	.woocommerce .products .product .product-wrapper,
	.minimog-grid .grid-item.product .product-wrapper {
		display: flex; flex-direction: column; height: 100%;
		padding: 8px 8px 10px; background: #fff; border: 1px solid var(--po-line); border-radius: 16px;
	}
	.woocommerce .product .product-thumbnail { border: 0 !important; border-radius: 12px !important; background: var(--po-soft) !important; box-shadow: none !important; }
	.woocommerce .product .product-info { padding: 10px 4px 0 !important; flex: 1; }
	.product .woocommerce-loop-product__title, .product .post-title { min-height: 0 !important; font-size: 13.5px !important; line-height: 1.35 !important; margin: 0 0 6px !important; }
	.po-card-brand { font-size: 10.5px; margin: 0 0 4px; }
	.product .price .po-price-quote, .po-price-quote { font-size: 12.5px; font-weight: 700; }
	.po-loop-quote { margin: 10px 4px 0 !important; }
	.po-loop-quote .po-quote-btn { min-height: 0; height: 38px; padding: 0 8px; font-size: 13px; border-radius: 10px; background: var(--po-navy); color: #fff !important; border-color: var(--po-navy); }
	.po-qb-long { display: none; }
	.po-qb-short { display: inline; }
	.minimog-grid.lazy-grid { gap: 12px 10px !important; }

	/* ---------- Buscador ---------- */
	#popup-search.po-palette .po-palette__body { grid-template-columns: 1fr !important; overflow-x: hidden; }
	#popup-search.po-palette .po-palette__side { border-right: 0; border-bottom: 1px solid var(--po-line); padding: 16px; }
	#popup-search.po-palette .po-palette__main { padding: 16px 12px 20px; }
	#popup-search.po-palette:has(.popup-search-results:not([style*="none"])) .po-palette__side { display: none; }
	#popup-search.po-palette .po-palette__keys a { font-size: 13px; }
	#popup-search.po-palette .po-palette__cats { grid-template-columns: 1fr 1fr; }
	#popup-search.po-palette .po-palette__cats a { padding: 10px; gap: 10px; }
	#popup-search.po-palette .po-palette__cat-name { font-size: 13.5px; white-space: normal; line-height: 1.25; }
	#popup-search.po-palette .po-palette__cat-ico { width: 34px; height: 34px; }
	#popup-search.po-palette .po-palette__row,
	#popup-search.po-palette .popup-search-products .product-wrapper { gap: 12px; padding: 8px; border: 0 !important; background: transparent !important; }
	#popup-search.po-palette .po-palette__thumb,
	#popup-search.po-palette .popup-search-products .product-thumbnail { width: 56px !important; height: 56px; }
	#popup-search.po-palette .po-palette__info strong,
	#popup-search.po-palette .popup-search-products .woocommerce-loop-product__title { white-space: normal; font-size: 14px !important; line-height: 1.3 !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	#popup-search.po-palette .popup-search-products .product-info { padding: 0 !important; }
	#popup-search.po-palette .popup-search-results-title { padding: 0 8px; }
	#popup-search.po-palette .po-palette__foot { gap: 10px; }
	#popup-search.po-palette .po-palette__foot > span { font-size: 12.5px; }
	#popup-search.po-palette .po-search__form .search-field { padding-left: 50px !important; }
	#popup-search.po-palette .po-search__form .search-field__icon { left: 16px !important; }

	/* Evita desbordes horizontales en la ventana del buscador */
	#popup-search.po-palette .po-palette__body > *,
	#popup-search.po-palette .po-palette__main,
	#popup-search.po-palette .po-palette__side { min-width: 0; max-width: 100%; }
	#popup-search.po-palette .po-palette__cats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	#popup-search.po-palette .po-palette__cats a { min-width: 0; }
	#popup-search.po-palette .po-palette__info { min-width: 0; }

	/* Resultados del buscador: fila (no la tarjeta del catálogo) */
	#popup-search.po-palette .popup-search-products .grid-item.product .product-wrapper {
		flex-direction: row !important; align-items: center; height: auto; padding: 8px !important; border: 0 !important; border-radius: 14px; background: transparent;
	}
	#popup-search.po-palette .popup-search-products .product-thumbnail { background: #fff !important; border: 1px solid var(--po-line) !important; }
	#popup-search.po-palette .popup-search-products .product-info { flex: 1; padding: 0 !important; }
	#popup-search.po-palette .popup-search-products .po-loop-quote { display: none !important; }
	#popup-search.po-palette .popup-search-products .grid-item { opacity: 1 !important; }
	/* Menú móvil: tarjetas de categoría compactas */
	.po-mmenu__cat { display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; align-items: center; padding: 12px; }
	.po-mmenu__cat-ico { grid-row: span 2; width: 34px; height: 34px; margin: 0; }
	.po-mmenu__cat-name { font-size: 13.5px; }
	.po-mmenu__cat-count { font-size: 11.5px; }
	.po-mmenu__nav a { padding: 13px 2px; font-size: 15.5px; }
	.po-mmenu__nav a.is-current { color: #ffb08c !important; }
	#popup-search.po-palette .popup-search-products .woocommerce-loop-product__title,
	#popup-search.po-palette .popup-search-products .woocommerce-loop-product__title a { white-space: normal !important; text-overflow: clip; }
}
