/* ==========================================================================
   Bostech Medic — estilos principales
   ========================================================================== */

:root {
	--bt-blue: #0b5cc5;
	--bt-blue-600: #094fac;
	--bt-blue-700: #083f8a;
	--bt-blue-50: #edf4fd;
	--bt-blue-100: #dbe8fa;
	--bt-navy: #0d1d3b;
	--bt-green: #2c9f55;
	--bt-green-600: #23854a;
	--bt-green-50: #eaf6ef;
	--bt-text: #3a475b;
	--bt-muted: #67748a;
	--bt-border: #e2e8f0;
	--bt-bg: #ffffff;
	--bt-bg-soft: #f5f8fc;
	--bt-strip: #eaf4f2;
	--bt-radius: 10px;
	--bt-radius-sm: 6px;
	--bt-shadow: 0 1px 2px rgba(13, 29, 59, .04), 0 4px 16px rgba(13, 29, 59, .06);
	--bt-shadow-lg: 0 12px 40px rgba(13, 29, 59, .14);
	--bt-font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--bt-script: "Caveat", cursive;
	--bt-container: 1240px;
	--bt-gutter: 24px;
	--bt-header-h: 80px;
}

/* Base ------------------------------------------------------------------- */

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bt-header-h) + 16px); }
html.bt-lock { overflow: hidden; }

body {
	margin: 0;
	background: var(--bt-bg);
	color: var(--bt-text);
	font-family: var(--bt-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; }
a { color: var(--bt-blue); text-decoration: none; }
a:hover { color: var(--bt-blue-700); }
:focus-visible { outline: 2px solid var(--bt-blue); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4, h5, h6 { color: var(--bt-navy); font-weight: 700; line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.bt-skip:focus {
	clip: auto; width: auto; height: auto; margin: 0; z-index: 1000;
	top: 8px; left: 8px; padding: 10px 16px; background: #fff; color: var(--bt-navy); box-shadow: var(--bt-shadow-lg);
}

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

.bt-icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: middle; }

.bt-eyebrow {
	margin: 0 0 12px; color: var(--bt-navy); font-size: 13px; font-weight: 700;
	letter-spacing: .12em; text-transform: uppercase;
}

/* Botones y enlaces ----------------------------------------------------- */

.bt-btn,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 12px 22px; border: 2px solid transparent; border-radius: var(--bt-radius-sm);
	background: var(--bt-blue); color: #fff; font: 600 15px/1.2 var(--bt-font);
	cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s;
	text-decoration: none;
}
.bt-btn:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce #respond input#submit:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover {
	background: var(--bt-blue-600); color: #fff;
}
.woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled] { background: var(--bt-blue); opacity: .5; color: #fff; padding: 12px 22px; }
.bt-btn .bt-icon { width: 18px; height: 18px; }
.bt-btn--lg { padding: 15px 28px; font-size: 17px; }
.bt-btn--sm { padding: 9px 16px; font-size: 14px; }
.bt-btn--outline { background: #fff; border-color: var(--bt-green); color: var(--bt-navy); }
.bt-btn--outline .bt-icon { color: var(--bt-green); }
.bt-btn--outline:hover { background: var(--bt-green-50); color: var(--bt-navy); }

.bt-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--bt-blue); }
.bt-link .bt-icon { width: 16px; height: 16px; transition: transform .15s; }
.bt-link:hover .bt-icon, a:hover > .bt-link .bt-icon { transform: translateX(3px); }

/* Logo ------------------------------------------------------------------- */

.bt-logo { display: inline-flex; flex-direction: column; line-height: 1; text-decoration: none; }
.bt-logo__name { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.bt-logo__a { color: var(--bt-blue); }
.bt-logo__b { color: var(--bt-green); }
.bt-logo__tag { margin-top: 5px; color: var(--bt-blue); font-size: 8.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.custom-logo-link { display: inline-flex; }
.custom-logo { max-height: 56px; width: auto; }

/* Cabecera --------------------------------------------------------------- */

.bt-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(8px);
	border-bottom: 1px solid var(--bt-border); transition: box-shadow .2s;
}
.admin-bar .bt-header { top: 32px; }
.bt-header.is-scrolled { box-shadow: 0 4px 20px rgba(13, 29, 59, .07); }

.bt-header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--bt-header-h); }
.bt-header__brand { flex: none; }
.bt-header__toggle {
	display: none; padding: 8px; margin-left: -8px; border: 0; background: none; color: var(--bt-navy); cursor: pointer;
}
.bt-header__toggle .bt-icon { width: 26px; height: 26px; }

/* Menú principal */
.bt-nav { flex: none; }
.bt-nav__list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.bt-nav__list > li { position: relative; }
.bt-nav__list > li > a {
	display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: var(--bt-radius-sm);
	color: var(--bt-navy); font-size: 15px; font-weight: 600; white-space: nowrap;
}
.bt-nav__list > li > a:hover,
.bt-nav__list > li.current-menu-item > a,
.bt-nav__list > li.current-menu-ancestor > a { color: var(--bt-blue); }
.bt-nav__chev { width: 16px; height: 16px; transition: transform .2s; }

.bt-nav .sub-menu,
.bt-account__menu {
	position: absolute; top: calc(100% + 6px); left: 0; z-index: 20; min-width: 240px; max-height: 70vh; overflow: auto;
	margin: 0; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--bt-border);
	border-radius: var(--bt-radius); box-shadow: var(--bt-shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.bt-nav .sub-menu::before,
.bt-account__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.bt-nav .sub-menu a,
.bt-account__menu a {
	display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: var(--bt-radius-sm);
	color: var(--bt-text); font-size: 14.5px; font-weight: 500;
}
.bt-nav .sub-menu a:hover,
.bt-account__menu a:hover { background: var(--bt-blue-50); color: var(--bt-blue); }
.bt-nav .bt-sub-all { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--bt-border); }
.bt-nav .bt-sub-all a { color: var(--bt-blue); font-weight: 600; }
.bt-nav .bt-sub-all .bt-icon { width: 15px; height: 15px; }

.bt-nav__list > li:hover > .sub-menu,
.bt-nav__list > li:focus-within > .sub-menu,
.bt-nav__list > li.is-open > .sub-menu,
.bt-account:hover .bt-account__menu,
.bt-account:focus-within .bt-account__menu,
.bt-account.is-open .bt-account__menu { opacity: 1; visibility: visible; transform: none; }
.bt-nav__list > li:hover .bt-nav__chev,
.bt-nav__list > li.is-open .bt-nav__chev { transform: rotate(180deg); }

/* Buscador */
.bt-header__search { flex: 1 1 auto; min-width: 200px; max-width: 460px; margin-left: auto; }
.bt-search { position: relative; display: flex; height: 44px; }
.bt-search__icon { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--bt-muted); pointer-events: none; }
.bt-search input[type="search"] {
	flex: 1; min-width: 0; height: 100%; padding: 0 14px 0 42px; border: 1px solid var(--bt-border); border-right: 0;
	border-radius: var(--bt-radius-sm) 0 0 var(--bt-radius-sm); background: #fff; color: var(--bt-navy);
	font: 400 14.5px var(--bt-font); -webkit-appearance: none; appearance: none;
}
.bt-search input[type="search"]::placeholder { color: #8f9aab; }
.bt-search input[type="search"]:focus { outline: none; border-color: var(--bt-blue); box-shadow: 0 0 0 3px var(--bt-blue-100); }
.bt-search button {
	flex: none; width: 50px; border: 0; border-radius: 0 var(--bt-radius-sm) var(--bt-radius-sm) 0;
	background: var(--bt-blue); color: #fff; cursor: pointer; display: grid; place-items: center;
}
.bt-search button:hover { background: var(--bt-blue-600); }
.bt-search button .bt-icon { width: 20px; height: 20px; }
.bt-header__search-mobile { display: none; padding-bottom: 12px; }

/* Cuenta y carrito */
.bt-header__actions { display: flex; align-items: center; gap: 22px; flex: none; }
.bt-account { position: relative; }
.bt-account__link, .bt-cart { display: inline-flex; align-items: center; gap: 8px; color: var(--bt-navy); font-size: 14.5px; font-weight: 500; }
.bt-account__link:hover, .bt-cart:hover { color: var(--bt-blue); }
.bt-account__link > .bt-icon:first-child { width: 26px; height: 26px; }
.bt-account__menu { left: auto; right: 0; min-width: 200px; }
.bt-cart__icon { position: relative; display: inline-flex; }
.bt-cart__icon > .bt-icon { width: 28px; height: 28px; }
.bt-cart__count {
	position: absolute; top: -7px; right: -8px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
	background: var(--bt-green); color: #fff; font-size: 11px; font-weight: 700; line-height: 19px; text-align: center;
	box-shadow: 0 0 0 2px #fff;
}

/* Menú móvil (panel lateral) */
.bt-drawer { position: fixed; inset: 0; z-index: 200; }
.bt-drawer__backdrop { position: absolute; inset: 0; background: rgba(13, 29, 59, .45); opacity: 0; transition: opacity .25s; }
.bt-drawer__panel {
	position: absolute; top: 0; bottom: 0; left: 0; width: min(360px, 88vw); display: flex; flex-direction: column;
	background: #fff; box-shadow: var(--bt-shadow-lg); transform: translateX(-100%); transition: transform .25s ease;
}
.bt-drawer.is-open .bt-drawer__backdrop { opacity: 1; }
.bt-drawer.is-open .bt-drawer__panel { transform: none; }
.bt-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--bt-border); }
.bt-drawer__head .bt-logo__name { font-size: 24px; }
.bt-drawer__close { padding: 6px; border: 0; background: none; color: var(--bt-navy); cursor: pointer; }
.bt-drawer__close .bt-icon { width: 24px; height: 24px; }
.bt-drawer__nav { flex: 1; overflow-y: auto; padding: 8px 0; }
.bt-nav__list--mobile { display: block; }
.bt-nav__list--mobile > li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--bt-border); }
.bt-nav__list--mobile > li > a { flex: 1; padding: 15px 20px; border-radius: 0; font-size: 16px; }
.bt-nav__list--mobile .bt-sub-toggle {
	display: grid; place-items: center; width: 52px; align-self: stretch; border: 0; background: none; color: var(--bt-navy); cursor: pointer;
}
.bt-nav__list--mobile li.is-open > .bt-sub-toggle .bt-nav__chev { transform: rotate(180deg); }
.bt-nav__list--mobile .sub-menu {
	position: static; display: none; width: 100%; max-height: none; padding: 0 0 10px 12px; margin: 0;
	border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none;
}
.bt-nav__list--mobile li.is-open > .sub-menu { display: block; }
.bt-nav__list--mobile .sub-menu::before { display: none; }
.bt-drawer__foot { display: grid; gap: 4px; padding: 16px 20px 24px; border-top: 1px solid var(--bt-border); background: var(--bt-bg-soft); }
.bt-drawer__foot a { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: var(--bt-navy); font-weight: 500; }
.bt-drawer__foot .bt-icon { color: var(--bt-blue); }

/* Portada: banner --------------------------------------------------------- */

.bt-hero {
	position: relative; overflow: hidden; isolation: isolate;
	background: linear-gradient(100deg, #f4f8fd 0%, #eaf2fc 45%, #dfeaf8 100%);
}
.bt-hero__media { position: absolute; inset: 0 0 0 38%; z-index: -1; }
.bt-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.bt-hero.has-image .bt-hero__media::before {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(90deg, #eef4fc 0%, rgba(238, 244, 252, .85) 18%, rgba(238, 244, 252, 0) 48%);
}
.bt-hero__art { position: absolute; inset: 0; }
.bt-hero__ring {
	position: absolute; right: 8%; top: 50%; width: 420px; height: 420px; transform: translateY(-50%);
	border: 46px solid rgba(11, 92, 197, .10); border-radius: 50%;
}
.bt-hero__ring--2 { right: 26%; top: 72%; width: 220px; height: 220px; border-width: 28px; border-color: rgba(44, 159, 85, .12); }
.bt-hero__dot {
	position: absolute; right: 30%; top: 22%; width: 120px; height: 120px; border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, #5b95e0, var(--bt-blue-700)); opacity: .18;
}

.bt-hero__inner { position: relative; display: flex; align-items: center; min-height: 520px; padding-top: 48px; padding-bottom: 48px; }
.bt-hero__content { max-width: 660px; }
.bt-hero__title { max-width: 600px; margin: 0 0 18px; font-size: clamp(34px, 4.4vw, 52px); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; }
.bt-hl { color: var(--bt-blue); }
.bt-hero__text { max-width: 520px; margin: 0 0 28px; color: var(--bt-text); font-size: 19px; line-height: 1.5; }
.bt-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.bt-hero__badges { display: flex; flex-wrap: wrap; gap: 14px 22px; margin: 0; padding: 0; list-style: none; }
.bt-hero__badges li { display: flex; align-items: center; gap: 10px; color: var(--bt-text); font-size: 12.5px; line-height: 1.35; }
.bt-hero__badges .bt-icon { width: 28px; height: 28px; color: var(--bt-blue); }
.bt-hero__badges strong { display: block; color: var(--bt-navy); font-size: 13px; font-weight: 600; }

.bt-hero__script {
	position: absolute; left: 50%; top: 40px; margin: 0; max-width: 240px;
	color: var(--bt-navy); font-family: var(--bt-script); font-size: 34px; line-height: 1.05; transform: rotate(-8deg);
}
.bt-hero__script::after {
	content: ""; display: block; width: 150px; height: 10px; margin: 8px 0 0 30px;
	border-top: 3px solid var(--bt-green); border-radius: 50%; transform: rotate(-4deg);
}

.bt-hero__segments {
	position: absolute; right: var(--bt-gutter); top: 24px; display: grid; gap: 4px; margin: 0; padding: 10px 14px; list-style: none;
	background: rgba(255, 255, 255, .92); border-radius: var(--bt-radius); box-shadow: var(--bt-shadow);
}
.bt-hero__segments li { display: flex; align-items: center; gap: 10px; padding: 6px 0; color: var(--bt-text); font-size: 12.5px; line-height: 1.25; max-width: 150px; }
.bt-hero__segments .bt-icon { width: 26px; height: 26px; color: var(--bt-blue); }

/* Portada: marcas -------------------------------------------------------- */

.bt-brands { border-bottom: 1px solid var(--bt-border); background: #fff; }
.bt-brands__inner { display: flex; align-items: center; gap: 32px; min-height: 108px; padding-top: 16px; padding-bottom: 16px; }
.bt-brands__label { flex: none; margin: 0; color: var(--bt-navy); font-size: 13px; font-weight: 700; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; }
.bt-brands__track { display: flex; align-items: center; flex: 1; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.bt-brands__track::-webkit-scrollbar { display: none; }
.bt-brands__item {
	flex: 1 0 150px; display: grid; place-items: center; height: 64px; padding: 6px 18px;
	border-left: 1px solid var(--bt-border); color: var(--bt-navy); font-size: 20px; font-weight: 700;
	filter: grayscale(.2); transition: filter .15s, opacity .15s;
}
.bt-brands__item:first-child { border-left: 0; }
.bt-brands__item img { max-height: 48px; width: auto; object-fit: contain; }
.bt-brands__item:hover { filter: none; color: var(--bt-blue); }
.bt-brands .bt-placeholder { flex: 1; margin: 0; }

/* Secciones -------------------------------------------------------------- */

.bt-main { min-height: 40vh; }
.bt-home { min-height: 0; }
.bt-section { padding: 36px 0 12px; background: var(--bt-bg-soft); }
.bt-section--tight { padding-bottom: 40px; }
.bt-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.bt-section__title { margin: 0; font-size: clamp(22px, 2.2vw, 26px); font-weight: 700; }

/* Tarjetas de categoría */
.bt-cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.bt-cat-grid--page { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.bt-cat {
	display: flex; align-items: center; gap: 12px; min-height: 100px; padding: 10px 14px 10px 10px;
	background: #fff; border: 1px solid var(--bt-border); border-radius: var(--bt-radius);
	transition: border-color .15s, box-shadow .15s, transform .15s;
}
.bt-cat:hover { border-color: var(--bt-blue-100); box-shadow: var(--bt-shadow); transform: translateY(-2px); }
.bt-cat__media { flex: none; display: grid; place-items: center; width: 110px; height: 80px; color: var(--bt-blue); }
.bt-cat__media img { width: 100%; height: 100%; object-fit: contain; }
.bt-cat__media > .bt-icon { width: 40px; height: 40px; opacity: .6; }
.bt-cat__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.bt-cat__title { color: var(--bt-navy); font-size: 16px; font-weight: 700; line-height: 1.2; }
.bt-cat .bt-link { font-weight: 500; font-size: 13px; }

/* Tarjetas de producto (portada) */
.bt-pcard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bt-pcard {
	display: flex; align-items: center; gap: 14px; padding: 12px; background: #fff;
	border: 1px solid var(--bt-border); border-radius: var(--bt-radius); transition: box-shadow .15s, border-color .15s;
}
.bt-pcard:hover { border-color: var(--bt-blue-100); box-shadow: var(--bt-shadow); }
.bt-pcard__media { flex: 0 0 42%; display: grid; place-items: center; aspect-ratio: 1; }
.bt-pcard__media img { width: 100%; height: 100%; object-fit: contain; }
.bt-pcard__body { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.bt-pcard__title { margin: 0; font-size: 15.5px; line-height: 1.25; }
.bt-pcard__title a { color: var(--bt-navy); }
.bt-pcard__title a:hover { color: var(--bt-blue); }
.bt-pcard__brand { margin: 0; color: var(--bt-muted); font-size: 13.5px; }
.bt-pcard__price { margin: 4px 0 8px; color: var(--bt-blue); font-size: 22px; font-weight: 700; line-height: 1.2; }
.bt-pcard__price del { color: var(--bt-muted); font-size: 14px; font-weight: 400; }
.bt-pcard__price ins { text-decoration: none; }

.woocommerce-price-suffix { margin-left: 4px; color: var(--bt-muted); font-size: 11px; font-weight: 400; }

/* Franja de confianza ---------------------------------------------------- */

.bt-trust { background: var(--bt-strip); }
.bt-trust__grid { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 22px; padding-bottom: 22px; }
.bt-trust__item { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 4px 20px; }
.bt-trust__item + .bt-trust__item { border-left: 1px solid rgba(13, 29, 59, .12); }
.bt-trust__item > .bt-icon { width: 40px; height: 40px; color: var(--bt-green); stroke-width: 1.5; }
.bt-trust__item strong { display: block; color: var(--bt-navy); font-size: 17px; font-weight: 700; }
.bt-trust__item span { color: var(--bt-text); font-size: 14.5px; }

/* Pie de página ---------------------------------------------------------- */

.bt-footer { background: #fff; border-top: 1px solid var(--bt-border); }
.bt-footer__grid {
	display: grid; grid-template-columns: 1.3fr 1fr 1.25fr 1.4fr .9fr; gap: 32px;
	padding-top: 44px; padding-bottom: 36px;
}
.bt-footer__brand p { margin: 16px 0 0; max-width: 280px; color: var(--bt-muted); font-size: 14px; }
.bt-footer__col + .bt-footer__col { padding-left: 32px; border-left: 1px solid var(--bt-border); }
.bt-footer__title { margin: 0 0 14px; color: var(--bt-navy); font-size: 15px; font-weight: 700; }
.bt-footer__links, .bt-footer__contact { margin: 0; padding: 0; list-style: none; }
.bt-footer__links li { margin-bottom: 6px; }
.bt-footer__links a { color: var(--bt-text); font-size: 14.5px; }
.bt-footer__links a:hover { color: var(--bt-blue); }
.bt-footer__contact li { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 14.5px; }
.bt-footer__contact .bt-icon { width: 20px; height: 20px; color: var(--bt-navy); }
.bt-footer__contact a, .bt-footer__contact span { color: var(--bt-text); }
.bt-footer__contact a:hover { color: var(--bt-blue); }
.bt-footer__coverage { display: flex; gap: 12px; }
.bt-footer__coverage > .bt-icon { width: 22px; height: 22px; margin-top: 1px; color: var(--bt-navy); fill: var(--bt-navy); stroke: #fff; }
.bt-footer__coverage strong { color: var(--bt-navy); font-size: 14.5px; }
.bt-footer__coverage p { margin: 4px 0 0; color: var(--bt-muted); font-size: 13.5px; line-height: 1.5; }
.bt-footer__social { display: flex; flex-wrap: wrap; gap: 14px; }
.bt-footer__social a { display: grid; place-items: center; color: var(--bt-navy); transition: color .15s, transform .15s; }
.bt-footer__social a:hover { color: var(--bt-blue); transform: translateY(-2px); }
.bt-footer__social .bt-icon { width: 22px; height: 22px; }

.bt-footer__bottom { border-top: 1px solid var(--bt-border); }
.bt-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 16px; padding-bottom: 18px; }
.bt-footer__bottom p { margin: 0; color: var(--bt-muted); font-size: 13px; }
.bt-footer__legal ul { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.bt-footer__legal li + li::before { content: "|"; margin: 0 12px; color: var(--bt-border); }
.bt-footer__legal a { color: var(--bt-text); font-size: 13px; }
.bt-footer__legal a:hover { color: var(--bt-blue); }

/* WhatsApp flotante */
.bt-whatsapp {
	position: fixed; right: 22px; bottom: 22px; z-index: 90; display: grid; place-items: center;
	width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff;
	box-shadow: 0 6px 20px rgba(37, 211, 102, .4); transition: transform .15s;
}
.bt-whatsapp:hover { color: #fff; transform: scale(1.06); }
.bt-whatsapp .bt-icon { width: 32px; height: 32px; }

/* Páginas internas ------------------------------------------------------- */

.bt-page-head { padding: 36px 0 30px; background: linear-gradient(100deg, #f4f8fd, #e6effb); border-bottom: 1px solid var(--bt-border); }
.bt-page-head__title { margin: 6px 0 0; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.02em; }
.bt-page-head__lead { max-width: 720px; margin: 10px 0 0; font-size: 18px; }

.bt-breadcrumb, .woocommerce .woocommerce-breadcrumb { margin: 0; color: var(--bt-muted); font-size: 13.5px; }
.bt-breadcrumb a, .woocommerce .woocommerce-breadcrumb a { color: var(--bt-muted); }
.bt-breadcrumb a:hover, .woocommerce .woocommerce-breadcrumb a:hover { color: var(--bt-blue); }
.bt-bc-sep { margin: 0 8px; opacity: .5; }

.bt-page { padding: 40px 0 64px; }
.bt-prose { max-width: 820px; }
.bt-prose h2 { margin-top: 1.8em; font-size: 24px; }
.bt-prose h3 { margin-top: 1.5em; font-size: 19px; }
.bt-prose p, .bt-prose li { font-size: 16.5px; }
.bt-prose ul, .bt-prose ol { padding-left: 1.3em; }
.bt-prose li { margin-bottom: .35em; }
.bt-prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 15px; }
.bt-prose th, .bt-prose td { padding: 10px 12px; border: 1px solid var(--bt-border); text-align: left; vertical-align: top; }
.bt-prose th { background: var(--bt-bg-soft); color: var(--bt-navy); }
.bt-page > :first-child { margin-top: 0; }

/* Bloques de contenido reutilizables en páginas */
.bt-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 24px 0; }
.bt-card { padding: 22px; background: #fff; border: 1px solid var(--bt-border); border-radius: var(--bt-radius); }
.bt-card h3 { margin-top: 0; font-size: 18px; }
.bt-card p { margin: 0; font-size: 15px; }
.bt-callout { padding: 18px 20px; margin: 24px 0; border-left: 4px solid var(--bt-blue); border-radius: var(--bt-radius-sm); background: var(--bt-blue-50); }
.bt-callout p { margin: 0; }

/* Avisos y estados vacíos */
.bt-placeholder {
	margin: 0; padding: 22px; border: 2px dashed var(--bt-blue-100); border-radius: var(--bt-radius);
	background: rgba(255, 255, 255, .7); color: var(--bt-blue-700); font-size: 14.5px; text-align: center;
}
.bt-placeholder small { display: block; margin-top: 4px; color: var(--bt-muted); }

.bt-empty { max-width: 560px; margin: 48px auto; text-align: center; }
.bt-empty > .bt-icon { width: 56px; height: 56px; color: var(--bt-blue); opacity: .7; }
.bt-empty h1, .bt-empty h2 { margin: 14px 0 8px; font-size: 26px; }
.bt-empty p { margin: 0 0 22px; color: var(--bt-muted); }
.bt-empty__code { display: block; color: var(--bt-blue-100); font-size: 96px; font-weight: 800; line-height: 1; }
.bt-empty__search { max-width: 460px; margin: 0 auto 18px; }
.bt-empty--404 { margin: 72px auto; }

.bt-notice { display: flex; gap: 12px; padding: 16px 18px; margin-bottom: 24px; border-radius: var(--bt-radius); }
.bt-notice p { margin: 2px 0 0; font-size: 15px; }
.bt-notice > .bt-icon { width: 24px; height: 24px; margin-top: 1px; }
.bt-notice--success { background: var(--bt-green-50); color: #14532d; border: 1px solid #bfe5cd; }
.bt-notice--success > .bt-icon { color: var(--bt-green); }
.bt-notice--error { background: #fdecec; color: #7f1d1d; border: 1px solid #f6c3c3; }

/* Formularios ------------------------------------------------------------ */

.bt-form-wrap { margin-top: 8px; }
.bt-form { padding: 28px; background: #fff; border: 1px solid var(--bt-border); border-radius: var(--bt-radius); box-shadow: var(--bt-shadow); }
.bt-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.bt-form__legend { grid-column: 1 / -1; margin: 12px 0 0; padding-bottom: 8px; border-bottom: 1px solid var(--bt-border); font-size: 17px; }
.bt-form__legend:first-child { margin-top: 0; }
.bt-field { display: flex; flex-direction: column; gap: 6px; }
.bt-field--full { grid-column: 1 / -1; }
.bt-field > label, .bt-field legend { color: var(--bt-navy); font-size: 14px; font-weight: 600; }
.bt-field fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 6px; }
.bt-req { color: #c2410c; }

.bt-field input:not([type="checkbox"]):not([type="radio"]),
.bt-field select, .bt-field textarea,
.woocommerce form .form-row .input-text, .woocommerce form .form-row select,
.woocommerce-page form .form-row .input-text {
	width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid #cfd8e3; border-radius: var(--bt-radius-sm);
	background: #fff; color: var(--bt-navy); font: 400 15px/1.4 var(--bt-font);
}
.bt-field textarea { min-height: 120px; resize: vertical; }
.bt-field input:focus, .bt-field select:focus, .bt-field textarea:focus,
.woocommerce form .form-row .input-text:focus { outline: none; border-color: var(--bt-blue); box-shadow: 0 0 0 3px var(--bt-blue-100); }
.bt-check { display: flex; align-items: flex-start; gap: 10px; color: var(--bt-text); font-size: 14.5px; font-weight: 400; cursor: pointer; }
.bt-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--bt-blue); flex: none; }
.bt-form__note { margin: 20px 0 16px; color: var(--bt-muted); font-size: 13.5px; }
.bt-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.bt-claim-head {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; padding: 16px 18px;
	background: var(--bt-bg-soft); border: 1px solid var(--bt-border); border-radius: var(--bt-radius);
}
.bt-claim-head span { display: block; color: var(--bt-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.bt-claim-head strong { color: var(--bt-navy); font-size: 14.5px; }

/* Contacto: dos columnas */
.bt-contact { display: grid; grid-template-columns: 1fr 1.6fr; gap: 32px; align-items: start; }
.bt-contact__info { display: grid; gap: 14px; }
.bt-contact__info .bt-card { display: flex; gap: 14px; align-items: flex-start; }
.bt-contact__info .bt-icon { width: 24px; height: 24px; color: var(--bt-blue); margin-top: 2px; }

/* Marcas y categorías (páginas) */
.bt-brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.bt-brand-card {
	display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bt-border); border-radius: var(--bt-radius);
	overflow: hidden; transition: box-shadow .15s, transform .15s, border-color .15s;
}
.bt-brand-card:hover { border-color: var(--bt-blue-100); box-shadow: var(--bt-shadow); transform: translateY(-2px); }
.bt-brand-card__logo { display: grid; place-items: center; height: 120px; padding: 18px; background: var(--bt-bg-soft); }
.bt-brand-card__logo img { max-height: 80px; width: auto; object-fit: contain; }
.bt-brand-card__name { color: var(--bt-navy); font-size: 22px; font-weight: 800; }
.bt-brand-card__meta { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; }
.bt-brand-card__meta strong { color: var(--bt-navy); }
.bt-brand-card__meta small { color: var(--bt-muted); font-size: 13px; }

/* Tienda (WooCommerce) --------------------------------------------------- */

.bt-shop { padding: 28px 0 64px; }
.woocommerce-products-header { margin-bottom: 8px; }
.woocommerce-products-header__title.page-title { margin: 10px 0 8px; font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; }

.bt-archive-head { display: flex; align-items: center; gap: 24px; margin: 4px 0 18px; padding: 20px; background: var(--bt-bg-soft); border: 1px solid var(--bt-border); border-radius: var(--bt-radius); }
.bt-archive-head__logo { flex: none; display: grid; place-items: center; width: 160px; height: 100px; padding: 12px; background: #fff; border-radius: var(--bt-radius-sm); }
.bt-archive-head__logo img { max-height: 76px; width: auto; object-fit: contain; }
.bt-archive-head__desc { max-width: 820px; }
.bt-archive-head__desc p:last-child { margin-bottom: 0; }

.bt-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 22px; }
.bt-chips__label { margin-right: 4px; color: var(--bt-navy); font-size: 14px; font-weight: 600; }
.bt-chip { padding: 6px 14px; border: 1px solid var(--bt-border); border-radius: 999px; background: #fff; color: var(--bt-text); font-size: 14px; }
.bt-chip:hover { border-color: var(--bt-blue); color: var(--bt-blue); }
.bt-chip.is-active { border-color: var(--bt-blue); background: var(--bt-blue); color: #fff; }

.woocommerce .woocommerce-result-count { color: var(--bt-muted); font-size: 14px; margin: 8px 0 18px; }
.woocommerce .woocommerce-ordering select { min-height: 40px; padding: 6px 12px; border: 1px solid var(--bt-border); border-radius: var(--bt-radius-sm); font: 14px var(--bt-font); }

.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0 0 32px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
	display: flex; flex-direction: column; float: none; width: auto !important; margin: 0 !important; padding: 14px;
	background: #fff; border: 1px solid var(--bt-border); border-radius: var(--bt-radius); transition: box-shadow .15s, border-color .15s;
}
.woocommerce ul.products li.product:hover { border-color: var(--bt-blue-100); box-shadow: var(--bt-shadow); }
.woocommerce ul.products li.product a img { margin: 0 0 12px; aspect-ratio: 1; object-fit: contain; background: #fff; }
.bt-card__brand { display: block; color: var(--bt-muted); font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 4px 0 0; color: var(--bt-navy); font-size: 16px; font-weight: 700; line-height: 1.3; }
.woocommerce ul.products li.product .price { margin: 8px 0 12px; color: var(--bt-blue); font-size: 20px; font-weight: 700; }
.woocommerce ul.products li.product .price del { color: var(--bt-muted); font-size: 14px; }
.woocommerce ul.products li.product .button { margin-top: auto; width: 100%; }
.woocommerce span.onsale { min-width: 0; min-height: 0; padding: 4px 10px; border-radius: 999px; background: var(--bt-green); font-size: 12px; line-height: 1.4; top: 10px; left: 10px; }

.woocommerce nav.woocommerce-pagination ul { display: inline-flex; gap: 6px; border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
	min-width: 40px; padding: 10px; border: 1px solid var(--bt-border); border-radius: var(--bt-radius-sm); color: var(--bt-navy);
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--bt-blue); border-color: var(--bt-blue); color: #fff; }

/* Ficha de producto */
.woocommerce div.product .product_title { font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
.bt-single__brand { margin: -6px 0 12px; color: var(--bt-muted); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--bt-blue); font-size: 28px; font-weight: 700; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border-radius: var(--bt-radius-sm) var(--bt-radius-sm) 0 0; background: var(--bt-bg-soft); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: #fff; }

/* Avisos de WooCommerce */
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--bt-blue); border-radius: var(--bt-radius-sm); background: var(--bt-bg-soft); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--bt-blue); }

/* Responsivo ------------------------------------------------------------- */

@media (max-width: 1240px) {
	.bt-cat-grid { grid-template-columns: repeat(3, 1fr); }
	.bt-pcard-grid { grid-template-columns: repeat(2, 1fr); }
	.bt-footer__grid { grid-template-columns: repeat(3, 1fr); }
	.bt-footer__brand { grid-column: 1 / -1; }
	.bt-footer__col:nth-child(2) { padding-left: 0; border-left: 0; }
	.bt-hero__script { display: none; }
}

@media (max-width: 1180px) {
	:root { --bt-header-h: 70px; }
	.bt-header__toggle { display: inline-flex; }
	.bt-header__inner { gap: 16px; }
	.bt-nav { display: none; }
	.woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
	.bt-hero__media { inset: 0; opacity: .35; }
	.bt-hero.has-image .bt-hero__media::before { background: rgba(238, 244, 252, .55); }
	.bt-hero__inner { min-height: 0; flex-direction: column; align-items: flex-start; gap: 28px; }
	.bt-hero__segments { position: static; display: flex; flex-wrap: wrap; gap: 6px 18px; }
	.bt-hero__segments li { max-width: none; }
	.bt-cat-grid { grid-template-columns: repeat(2, 1fr); }
	.bt-trust__grid { grid-template-columns: 1fr; gap: 14px; }
	.bt-trust__item { justify-content: flex-start; padding: 0; }
	.bt-trust__item + .bt-trust__item { border-left: 0; }
	.bt-contact { grid-template-columns: 1fr; }
	.bt-claim-head { grid-template-columns: 1fr 1fr; }
	.woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 782px) {
	.admin-bar .bt-header { top: 46px; }
}

@media (max-width: 760px) {
	:root { --bt-gutter: 16px; }
	.bt-header__search { display: none; }
	.bt-header__search-mobile { display: block; }
	.bt-header__actions { margin-left: auto; gap: 14px; }
	.bt-account__label, .bt-account__link .bt-nav__chev, .bt-cart__label { display: none; }
	.bt-account__menu { display: none; }
	.bt-logo__name { font-size: 24px; }
	.bt-logo__tag { font-size: 7px; }
	.bt-hero__inner { padding-top: 32px; padding-bottom: 32px; }
	.bt-hero__text { font-size: 17px; }
	.bt-hero__actions .bt-btn { flex: 1 1 100%; }
	.bt-brands__inner { flex-direction: column; align-items: flex-start; gap: 10px; }
	.bt-brands__label br { display: none; }
	.bt-brands__track { width: 100%; }
	.bt-brands__item { flex-basis: 130px; }
	.bt-section__head { flex-direction: column; gap: 4px; }
	.bt-cat-grid { grid-template-columns: 1fr; }
	.bt-pcard-grid { grid-template-columns: 1fr; }
	.bt-footer__grid { grid-template-columns: 1fr; gap: 24px; }
	.bt-footer__col + .bt-footer__col { padding-left: 0; border-left: 0; }
	.bt-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
	.bt-form { padding: 20px; }
	.bt-form__grid { grid-template-columns: 1fr; }
	.bt-claim-head { grid-template-columns: 1fr; }
	.bt-archive-head { flex-direction: column; align-items: flex-start; }
	.bt-whatsapp { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

@media (max-width: 480px) {
	.woocommerce ul.products { grid-template-columns: 1fr; }
}

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