/* PrintBros Header Nav v1.0.0 — estilo koffiedrukker adaptado a la marca */

header.elementor-location-header { display: none !important; }

.pb-hdr { position: relative; z-index: 90; background: #fff; font-family: Manrope, Arial, sans-serif; box-shadow: 0 1px 0 rgba(17,17,17,.06); }
.pb-hdr *, .pb-hdr *::before, .pb-hdr *::after { box-sizing: border-box; }
.pb-hdr a { text-decoration: none; }
.pb-hdr ul { margin: 0; padding: 0; list-style: none; }
.pb-hdr-lock { width: min(100% - 48px, 1420px); margin: 0 auto; }

/* ---------- Pre-header ---------- */
.pb-hdr-pre { background: #f8f8f8; border-bottom: 1px solid #ececec; }
.pb-hdr-pre .pb-hdr-lock { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 37px; }
.pb-hdr-usps { display: flex; align-items: center; min-width: 0; overflow: hidden; }
.pb-hdr-usps-track { display: flex; align-items: center; gap: 26px; white-space: nowrap; }
.pb-hdr-usps-dup { display: none; }
.pb-hdr-usp { display: inline-flex; align-items: center; gap: 7px; color: #3d434a; font-size: 12.5px; font-weight: 600; }
.pb-hdr-usp svg { color: #00ae20; flex: 0 0 auto; }
.pb-hdr-rating { display: inline-flex; align-items: center; gap: 6px; color: #3d434a; font-size: 12.5px; font-weight: 600; }
.pb-hdr-rating-star { color: #f5ad13; font-size: 13px; }
.pb-hdr-rating strong { color: #14161a; font-weight: 800; }
.pb-hdr-rating:hover strong { color: #00871a; }
.pb-hdr-prelinks { display: flex; align-items: center; gap: 20px; flex: 0 0 auto; }
.pb-hdr-prelinks a { color: #667085; font-size: 12.5px; font-weight: 600; transition: color .15s; }
.pb-hdr-prelinks a:hover { color: #00871a; }

/* ---------- Barra principal ---------- */
.pb-hdr-main { background: #fff; }
.pb-hdr-main .pb-hdr-lock { display: flex; align-items: center; gap: 30px; min-height: 88px; }
.pb-hdr-burger { display: none; }
.pb-hdr-logo { flex: 0 0 auto; display: block; }
.pb-hdr-logo img { display: block; width: 200px; height: auto; }
.pb-hdr-search { flex: 1 1 auto; display: flex; max-width: 520px; height: 46px; margin: 0; border: 1px solid #d9dcda; border-radius: 8px; background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.pb-hdr-search:focus-within { border-color: #00ae20; box-shadow: 0 0 0 3px rgba(0,174,32,.12); }
.pb-hdr-search input[type="search"] { flex: 1 1 auto; min-width: 0; border: 0; padding: 0 16px; background: transparent; color: #171717; font: 500 14px/1 Manrope, Arial, sans-serif; outline: none; }
.pb-hdr-search input[type="search"]::placeholder { color: #7b807c; opacity: 1; }
.pb-hdr-search button { flex: 0 0 52px; display: grid; place-items: center; border: 0; background: #00ae20; color: #fff; cursor: pointer; transition: background .15s; }
.pb-hdr-search button:hover { background: #009018; }
.pb-hdr-contact { flex: 0 0 auto; display: grid; gap: 2px; margin-left: auto; text-align: right; }
.pb-hdr-contact-help { color: #667085; font-size: 11.5px; font-weight: 600; }
.pb-hdr-contact-phone { color: #14161a; font-size: 15.5px; font-weight: 800; letter-spacing: -.01em; transition: color .15s; }
.pb-hdr-contact-phone:hover { color: #00871a; }
.pb-hdr-contact-wa { display: inline-flex; align-items: center; justify-content: flex-end; gap: 5px; color: #0a7a1a; font-size: 11.5px; font-weight: 700; transition: color .15s; }
.pb-hdr-contact-wa:hover { color: #00ae20; }
.pb-hdr-contact-wa svg { width: 13px; height: 13px; }
.pb-hdr-cta { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 8px; background: #00ae20; color: #fff; font-size: 14px; font-weight: 800; letter-spacing: -.01em; transition: background .15s; }
.pb-hdr-cta:hover { background: #009018; color: #fff; }
.pb-hdr-wa-mobile { display: none; }

/* ---------- Menú de categorías ---------- */
.pb-hdr-nav { border-top: 1px solid #efefef; border-bottom: 1px solid rgba(0,174,32,.3); }
.pb-hdr-nav > .pb-hdr-lock > ul { display: flex; align-items: stretch; gap: 4px; }
.pb-hdr-nav li { position: relative; }
.pb-hdr-nav li > a { display: inline-flex; align-items: center; gap: 6px; padding: 12px 11px; color: #14161a; font-size: 14px; font-weight: 700; letter-spacing: -.01em; transition: color .12s; }
.pb-hdr-nav li > a svg { color: #98a1ab; transition: color .12s, transform .15s; }
.pb-hdr-nav li:hover > a, .pb-hdr-nav li:focus-within > a { color: #00871a; }
.pb-hdr-nav li:hover > a svg, .pb-hdr-nav li:focus-within > a svg { color: #00ae20; transform: rotate(180deg); }
.pb-hdr-nav li > a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: -1px; height: 2px; background: #00ae20; opacity: 0; transition: opacity .12s; }
.pb-hdr-nav li:hover > a::after, .pb-hdr-nav li:focus-within > a::after { opacity: 1; }
.pb-hdr-nav-all { margin-left: auto; }
.pb-hdr-nav-all > a { color: #0a7a1a !important; }

.pb-hdr-drop { position: absolute; top: 100%; left: 0; z-index: 95; min-width: 265px; padding-top: 1px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .14s, transform .14s, visibility .14s; }
.pb-hdr-nav li:hover .pb-hdr-drop, .pb-hdr-nav li:focus-within .pb-hdr-drop { opacity: 1; visibility: visible; transform: translateY(0); }
.pb-hdr-drop > ul { background: #fff; border: 1px solid #ececec; border-top: 2px solid #00ae20; border-radius: 0 0 12px 12px; box-shadow: 0 14px 30px rgba(16,24,40,.1); overflow: hidden; padding: 6px 0; }
.pb-hdr-drop a { display: flex; align-items: center; gap: 8px; padding: 9px 18px; color: #3d434a; font-size: 13.5px; font-weight: 600; white-space: nowrap; transition: background .12s, color .12s; }
.pb-hdr-drop a:hover { background: #f1faf4; color: #00871a; }
.pb-hdr-drop-all { margin-top: 6px; border-top: 1px solid #f0f0f0; }
.pb-hdr-drop-all a { padding-top: 11px; padding-bottom: 12px; color: #0a7a1a; font-weight: 800; }
.pb-hdr-drop-all a svg { flex: 0 0 auto; }

/* ---------- Drawer móvil ---------- */
.pb-hdr-drawer[hidden] { display: none; }
.pb-hdr-overlay { position: fixed; inset: 0; z-index: 998; background: rgba(15,18,20,.45); opacity: 0; transition: opacity .2s; }
.pb-hdr-drawer.is-open .pb-hdr-overlay { opacity: 1; }
.pb-hdr-panel { position: fixed; top: 0; bottom: 0; left: 0; z-index: 999; width: min(86vw, 370px); display: flex; flex-direction: column; background: #fff; box-shadow: 8px 0 30px rgba(16,24,40,.16); transform: translateX(-102%); transition: transform .24s ease; }
.pb-hdr-drawer.is-open .pb-hdr-panel { transform: translateX(0); }
.pb-hdr-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid #efefef; }
.pb-hdr-panel-head img { display: block; width: 140px; height: auto; }
.pb-hdr-panel-head button { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #e4e7ec; border-radius: 10px; background: #fff; color: #3d434a; cursor: pointer; }
.pb-hdr-panel-search { display: flex; height: 44px; margin: 14px 16px 4px; border: 1px solid #d9dcda; border-radius: 9px; overflow: hidden; }
.pb-hdr-panel-search input[type="search"] { flex: 1 1 auto; min-width: 0; border: 0; padding: 0 14px; color: #171717; font: 500 14px/1 Manrope, Arial, sans-serif; outline: none; background: transparent; }
.pb-hdr-panel-search button { flex: 0 0 48px; display: grid; place-items: center; border: 0; background: #00ae20; color: #fff; cursor: pointer; }
.pb-hdr-panel-views { position: relative; flex: 1 1 auto; overflow: hidden; }
.pb-hdr-panel-view { position: absolute; inset: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 8px 0 22px; background: #fff; transform: translateX(102%); transition: transform .22s ease; }
.pb-hdr-panel-view.is-active { transform: translateX(0); }
.pb-hdr-panel-view[data-pb-hdr-view="root"] { transform: translateX(-30%); opacity: .6; }
.pb-hdr-panel-view[data-pb-hdr-view="root"].is-active { transform: translateX(0); opacity: 1; }
.pb-hdr-panel-list li { border-bottom: 1px solid #f4f4f4; }
.pb-hdr-panel-list a, .pb-hdr-panel-list button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 13px 18px; border: 0; background: none; color: #14161a; font: 700 14.5px/1.3 Manrope, Arial, sans-serif; text-align: left; cursor: pointer; }
.pb-hdr-panel-list a svg, .pb-hdr-panel-list button svg { flex: 0 0 auto; color: #b3bac2; }
.pb-hdr-panel-all a { color: #0a7a1a; }
.pb-hdr-panel-cta { display: flex; align-items: center; justify-content: center; min-height: 46px; margin: 16px 16px 6px; border-radius: 9px; background: #00ae20; color: #fff !important; font-size: 14.5px; font-weight: 800; }
.pb-hdr-panel-links { padding: 6px 0; }
.pb-hdr-panel-links li { border: 0; }
.pb-hdr-panel-links a { display: block; padding: 8px 18px; color: #667085; font-size: 13px; font-weight: 600; }
.pb-hdr-panel-contact { display: flex; gap: 10px; padding: 10px 16px 0; }
.pb-hdr-panel-contact a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; border: 1px solid #e4e7ec; border-radius: 9px; color: #14161a; font-size: 13px; font-weight: 800; }
.pb-hdr-panel-contact a svg { color: #00ae20; }
.pb-hdr-panel-back { display: flex; align-items: center; gap: 9px; width: 100%; padding: 13px 18px; border: 0; border-bottom: 1px solid #efefef; background: #f8f8f8; color: #14161a; font: 800 14px/1.2 Manrope, Arial, sans-serif; text-align: left; cursor: pointer; }
.pb-hdr-panel-back svg { color: #00ae20; }
.pb-hdr-panel-view .pb-hdr-panel-list a { font-weight: 600; color: #3d434a; }
.pb-hdr-panel-viewall { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 16px 0; min-height: 44px; border: 1px solid #bfe8ca; border-radius: 9px; background: #f1faf4; color: #0a7a1a !important; font-size: 13.5px; font-weight: 800; }

body.pb-hdr-locked { overflow: hidden; }

/* ---------- Refuerzo de especificidad frente al color de enlace global del kit ---------- */
#pb-hdr .pb-hdr-rating { color: #3d434a; }
#pb-hdr .pb-hdr-cta, #pb-hdr .pb-hdr-cta:hover, #pb-hdr .pb-hdr-cta:focus { color: #fff; }
#pb-hdr .pb-hdr-contact-phone { color: #14161a; }
#pb-hdr .pb-hdr-contact-phone:hover { color: #00871a; }
#pb-hdr .pb-hdr-contact-wa { color: #0a7a1a; }
#pb-hdr .pb-hdr-contact-wa:hover { color: #00ae20; }
#pb-hdr .pb-hdr-wa-mobile { color: #00871a; }

/* ---------- Móvil / tablet ---------- */
@media (max-width: 1080px) {
	.pb-hdr-contact { display: none; }
}
@media (max-width: 960px) {
	.pb-hdr-lock { width: calc(100% - 28px); }
	.pb-hdr-pre .pb-hdr-lock { width: 100%; min-height: 30px; }
	.pb-hdr-prelinks { display: none; }
	.pb-hdr-usps { width: 100%; }
	/* width:max-content + translate3d: sin ellos iOS Safari no arranca el marquee
	   (el track flex se encoge y el translateX(-50%) pierde su referencia). */
	.pb-hdr-usps-track { width: max-content; gap: 30px; padding-left: 14px; will-change: transform; -webkit-animation: pb-hdr-marquee 22s linear infinite; animation: pb-hdr-marquee 22s linear infinite; }
	.pb-hdr-usps-track > * { flex: 0 0 auto; }
	.pb-hdr-usps-dup { display: inline-flex; align-items: center; gap: 30px; }
	.pb-hdr-usp, .pb-hdr-rating { font-size: 12px; }
	.pb-hdr-main .pb-hdr-lock { gap: 12px; min-height: 58px; }
	.pb-hdr-burger { display: grid; gap: 5px; place-content: center; width: 42px; height: 42px; padding: 0; border: 0; background: none; cursor: pointer; }
	.pb-hdr-burger span { display: block; width: 22px; height: 2.5px; border-radius: 2px; background: #14161a; }
	.pb-hdr-logo { margin-right: auto; }
	.pb-hdr-logo img { width: 152px; }
	.pb-hdr-search, .pb-hdr-cta { display: none; }
	.pb-hdr-wa-mobile { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #d9ecd9; border-radius: 50%; background: #f1faf4; color: #00871a; }
	.pb-hdr-nav { display: none; }
}
@-webkit-keyframes pb-hdr-marquee {
	from { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
	to { -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); }
}
@keyframes pb-hdr-marquee {
	from { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
	to { -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
	/* Sin animación el contenido no debe quedar cortado: fila deslizable con el dedo. */
	.pb-hdr-usps-track { -webkit-animation: none; animation: none; }
	.pb-hdr-usps { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
	.pb-hdr-usps::-webkit-scrollbar { display: none; }
	.pb-hdr-usps-dup { display: none !important; }
	.pb-hdr-panel, .pb-hdr-panel-view { transition: none; }
}
