/* ==========================================================================
   OnTech: estilos del tema hijo (Storefront)
   Manual de imagen OnTech 2026: verde #009740, azul #2B75BB, blanco; Artegra Sans y Flexing.
   ========================================================================== */

/* Tipografías del manual de marca (archivos en assets/fonts) */
@font-face { font-family: 'Artegra Sans'; src: url(fonts/ArtegraSans-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Artegra Sans'; src: url(fonts/ArtegraSans-Medium.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Artegra Sans'; src: url(fonts/ArtegraSans-SemiBold.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Artegra Sans'; src: url(fonts/ArtegraSans-Bold.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Artegra Sans'; src: url(fonts/ArtegraSans-ExtraBold.woff2) format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Flexing'; src: url(fonts/flexing-regular.ttf) format('truetype'); font-weight: 400; font-display: swap; }

:root {
	--ot-ink: #14201B;
	--ot-text: #4E5A55;
	--ot-muted: #6B7671;
	--ot-bg: #F7F8F6;
	--ot-surface: #FFFFFF;
	--ot-soft: #F1F4F2;
	--ot-line: #E3E7E4;
	--ot-line-strong: #CDD4D0;
	--ot-accent: #1F5F9E;
	--ot-accent-hover: #174A7C;
	--ot-green: #007A34;
	--ot-green-brand: #009740;
	--ot-teal: #146B61;
	--ot-blue: #1F5F9E;
	--ot-tone-green: #E6F4EC;
	--ot-tone-teal: #E4F2F0;
	--ot-tone-blue: #E6EFF8;
	--ot-tone-gray: #EEF0EF;
	--ot-radius: 20px;
	--ot-radius-sm: 12px;
	--ot-shadow: 0 20px 44px -30px rgba(20, 32, 27, .35);
	--ot-font: 'Artegra Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--ot-display: 'Artegra Sans', system-ui, sans-serif;
	--ot-accent-font: 'Flexing', 'Artegra Sans', sans-serif;
	--ot-brand-gradient: linear-gradient(120deg, #2B75BB 0%, #138A7E 52%, #009740 100%);
	--ot-brand-texture: radial-gradient(ellipse at 88% 18%, rgba(255,255,255,.22), transparent 55%), radial-gradient(rgba(255,255,255,.16) 1.2px, transparent 1.7px) 0 0 / 22px 22px;
	--ot-wrap: 1248px;
	--ot-gutter: 24px;
}

/* ---------- Base ---------- */
body.ontech {
	background: var(--ot-bg);
	color: var(--ot-ink);
	font-family: var(--ot-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

.ontech h1, .ontech h2, .ontech h3, .ontech h4, .ontech h5, .ontech h6,
.ontech .ot-display {
	font-family: var(--ot-display);
	color: var(--ot-ink);
	letter-spacing: -.02em;
}

.ontech a { color: var(--ot-accent); text-decoration: none; }
.ontech a:hover { color: var(--ot-accent-hover); }
.ontech a:focus-visible,
.ontech button:focus-visible,
.ontech input:focus-visible,
.ontech summary:focus-visible { outline: 3px solid rgba(31, 95, 158, .35); outline-offset: 2px; }

.ot-icon { flex-shrink: 0; }
.ot-wrap { max-width: var(--ot-wrap); margin-left: auto; margin-right: auto; padding-left: var(--ot-gutter); padding-right: var(--ot-gutter); box-sizing: border-box; }
.ot-muted { color: var(--ot-text); }

/* Contenedor de Storefront */
.ontech .col-full { max-width: calc(var(--ot-wrap) + 2 * var(--ot-gutter)); padding-left: var(--ot-gutter); padding-right: var(--ot-gutter); box-sizing: border-box; }
.ontech.ot-is-landing #content > .col-full { max-width: none; padding: 0; }
.ontech.ot-is-landing .site-main { margin: 0; }
.ontech.ot-is-landing .content-area { width: 100%; float: none; margin: 0; }
.ontech .site-content { padding-top: 0; }
.ontech:not(.ot-is-landing) .site-content { padding-top: 32px; }
.ontech .content-area { width: 100%; float: none; margin-right: 0; }

/* ---------- Botones ---------- */
.ot-btn,
.ontech button.button, .ontech a.button, .ontech input[type="submit"], .ontech button[type="submit"]:not(.ot-plain),
.ontech .added_to_cart, .ontech .wc-block-components-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 22px;
	border-radius: var(--ot-radius-sm);
	border: 1px solid transparent;
	background: var(--ot-accent);
	color: #FFFFFF;
	font-family: var(--ot-font);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
	box-sizing: border-box;
}
.ot-btn:hover,
.ontech button.button:hover, .ontech a.button:hover, .ontech input[type="submit"]:hover, .ontech button[type="submit"]:not(.ot-plain):hover { background: var(--ot-accent-hover); color: #FFFFFF; }
.ontech a.button.alt, .ontech button.button.alt, .ontech .checkout-button, .ontech #place_order { background: var(--ot-ink); }
.ontech a.button.alt:hover, .ontech button.button.alt:hover, .ontech .checkout-button:hover, .ontech #place_order:hover { background: #27352F; }
.ontech .ot-btn, .ontech .ot-btn:hover, .ontech a.button, .ontech a.button:hover { color: #FFFFFF; }
.ot-btn--primary { background: var(--ot-accent); color: #FFFFFF; }
.ot-btn--ghost { background: var(--ot-surface); border-color: var(--ot-line-strong); color: var(--ot-ink) !important; }
.ot-btn--ghost:hover { background: var(--ot-soft); border-color: var(--ot-line-strong); color: var(--ot-ink) !important; }
.ot-btn--light { background: #FFFFFF; color: var(--ot-ink) !important; }
.ot-btn--light:hover { background: var(--ot-soft); color: var(--ot-ink) !important; }
.ot-btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; border-radius: 14px; }
.ot-btn--block { display: flex; width: 100%; }
.ot-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ot-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }

/* ---------- Campos ---------- */
.ontech input[type="text"], .ontech input[type="email"], .ontech input[type="tel"], .ontech input[type="url"],
.ontech input[type="password"], .ontech input[type="search"], .ontech input[type="number"], .ontech textarea, .ontech select,
.ontech .select2-container .select2-selection--single {
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid #DCE1DE;
	border-radius: var(--ot-radius-sm);
	background: var(--ot-surface);
	color: var(--ot-ink);
	font-family: var(--ot-font);
	font-size: 16px;
	box-shadow: none;
	box-sizing: border-box;
}
.ontech input:focus, .ontech textarea:focus, .ontech select:focus { border-color: var(--ot-accent); outline: none; box-shadow: 0 0 0 3px rgba(31, 95, 158, .15); }
.ontech .select2-container .select2-selection--single .select2-selection__rendered { line-height: 26px; padding: 0; }
.ontech .select2-container .select2-selection--single .select2-selection__arrow { top: 10px; right: 8px; }

/* ---------- Cabecera ---------- */
.ontech .site-header {
	background: var(--ot-surface) !important;
	border-bottom: 1px solid var(--ot-line);
	padding: 0 !important;
	margin-bottom: 0 !important;
	position: relative;
	z-index: 50;
}
.ot-header {
	max-width: 1360px;
	margin: 0 auto;
	height: 88px;
	padding: 0 32px;
	display: flex;
	align-items: center;
	gap: 16px;
	box-sizing: border-box;
}
.ot-logo { display: flex; align-items: center; flex-shrink: 0; }
.ot-logo__img { height: 46px !important; width: auto !important; max-width: none; display: block; }
.ot-logo__text { font-family: var(--ot-display); font-weight: 700; font-size: 24px; color: var(--ot-ink); }
.ot-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.ot-tools { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.ot-account,
.ot-cart {
	position: relative;
	width: 48px; height: 48px;
	border: 1px solid var(--ot-line);
	border-radius: var(--ot-radius-sm);
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--ot-ink) !important;
	background: var(--ot-surface);
}
.ot-account:hover, .ot-account.is-active,
.ot-cart:hover { background: var(--ot-soft); }
.ot-cart__count {
	position: absolute; top: -6px; right: -6px;
	min-width: 20px; height: 20px; padding: 0 5px;
	border-radius: 999px; background: var(--ot-green); color: #FFFFFF;
	font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; box-sizing: border-box;
}
.ot-cart__count.is-empty { display: none; }
.ot-burger, .ot-drawer__close {
	display: none;
	width: 44px; height: 44px; padding: 0;
	border: 1px solid var(--ot-line); border-radius: var(--ot-radius-sm);
	background: var(--ot-surface); color: var(--ot-ink);
	align-items: center; justify-content: center; cursor: pointer;
}
.ot-drawer__close { display: inline-flex; }

/* Menú de escritorio */
.ot-menu { list-style: none; margin: 0; padding: 0; }
.ot-menu--desktop { display: flex; align-items: center; gap: 2px; }
.ot-menu--desktop > li { position: relative; margin: 0; }
.ot-menu--desktop > li > a {
	display: flex; align-items: center; gap: 6px;
	height: 46px; padding: 0 14px;
	border-radius: 10px;
	color: var(--ot-ink); font-weight: 500; white-space: nowrap;
}
.ot-menu--desktop > li > a:hover,
.ot-menu--desktop > li:focus-within > a { background: var(--ot-soft); color: var(--ot-ink); }
.ot-menu--desktop > li.current-menu-item > a,
.ot-menu--desktop > li.current-menu-ancestor > a,
.ot-menu--desktop > li.current_page_parent > a { background: var(--ot-soft); font-weight: 600; }
.ot-menu--desktop > li > a .ot-icon { transition: transform .15s ease; }
.ot-menu--desktop > li:hover > a .ot-icon,
.ot-menu--desktop > li:focus-within > a .ot-icon { transform: rotate(180deg); }
.ot-menu--desktop .sub-menu {
	position: absolute; top: calc(100% + 8px); left: 0;
	min-width: 290px; margin: 0; padding: 8px; list-style: none;
	background: var(--ot-surface); border: 1px solid var(--ot-line); border-radius: 16px;
	box-shadow: 0 20px 40px -18px rgba(20, 32, 27, .3);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s;
	z-index: 60;
}
.ot-menu--desktop .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.ot-menu--desktop > li:hover > .sub-menu,
.ot-menu--desktop > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.ot-menu .sub-menu li { margin: 0; }
.ot-menu .sub-menu a { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 12px; color: var(--ot-ink); }
.ot-menu .sub-menu a:hover, .ot-menu .sub-menu .current-menu-item > a { background: var(--ot-bg); color: var(--ot-ink); }
.ot-sub__icon { width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ot-sub__icon--doc { background: var(--ot-tone-green); color: var(--ot-green); }
.ot-sub__icon--monitor { background: var(--ot-tone-blue); color: var(--ot-blue); }
.ot-sub__icon--wrench, .ot-sub__icon--code { background: var(--ot-tone-teal); color: var(--ot-teal); }
.ot-sub__text { display: flex; flex-direction: column; gap: 2px; }
.ot-sub__title { font-weight: 600; font-size: 15px; }
.ot-sub__desc { font-size: 13px; color: var(--ot-text); }

/* Buscador de productos */
.ot-search .woocommerce-product-search { position: relative; margin: 0; }
.ot-search .search-field {
	width: 100%; height: 48px; min-height: 48px;
	padding: 0 14px 0 42px !important;
	background: var(--ot-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%234E5A55' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 14px center !important;
	font-size: 15px;
}
.ot-search .search-field:focus { background-color: var(--ot-surface) !important; }
.ot-search button[type="submit"] {
	position: absolute !important; width: 1px; height: 1px; min-height: 0; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); border: 0; white-space: nowrap;
}
.ot-search--header { width: 250px; }
.ot-search--bar { display: none; padding: 12px 16px; background: var(--ot-surface); border-top: 1px solid var(--ot-line); }
.ot-search--drawer { padding: 16px 16px 0; }

/* Menú móvil (panel lateral) */
.ot-drawer { position: fixed; inset: 0; z-index: 1000; background: rgba(20, 32, 27, .45); }
.ot-drawer[hidden] { display: none; }
.ot-drawer__panel {
	position: absolute; top: 0; left: 0; bottom: 0;
	width: min(390px, 100%);
	background: var(--ot-surface);
	display: flex; flex-direction: column; overflow-y: auto;
	animation: ot-slide .2s ease;
}
@keyframes ot-slide { from { transform: translateX(-24px); opacity: .6; } to { transform: none; opacity: 1; } }
.ot-drawer__head { height: 68px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--ot-line); flex-shrink: 0; }
.ot-drawer__head .ot-logo__img { height: 26px !important; }
.ot-menu--drawer { padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.ot-menu--drawer > li { margin: 0; }
.ot-menu--drawer > li > a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 16px; border-radius: 14px; color: var(--ot-ink); font-size: 18px; font-weight: 500; }
.ot-menu--drawer > li.current-menu-item > a { background: var(--ot-soft); font-weight: 600; }
.ot-menu--drawer .sub-menu { list-style: none; margin: 0 0 8px 16px; padding: 0 0 0 16px; border-left: 2px solid var(--ot-line); display: flex; flex-direction: column; gap: 4px; }
.ot-menu--drawer .sub-menu a { padding: 8px 12px; }
.ot-menu--drawer .sub-menu .ot-sub__icon { width: 34px; height: 34px; border-radius: 9px; }
.ot-menu--drawer .sub-menu .ot-sub__desc { display: none; }
.ot-menu--drawer .sub-menu .ot-sub__title { font-size: 17px; font-weight: 500; }
.ot-drawer__foot { margin-top: auto; padding: 16px 16px 32px; border-top: 1px solid var(--ot-line); }
body.ot-drawer-open { overflow: hidden; }

/* ---------- Migas de pan ---------- */
.ontech .storefront-breadcrumb { margin: 0; padding: 20px 0 0; background: transparent; }
.ontech .woocommerce-breadcrumb { font-size: 15px; color: var(--ot-text); margin: 0; padding: 0; }
.ontech .woocommerce-breadcrumb a { color: var(--ot-text); }
.ontech .woocommerce-breadcrumb .breadcrumb-separator { padding: 0 8px; }
.ontech .woocommerce-breadcrumb a:first-of-type::before { display: none; }

/* ---------- Piezas comunes de la portada ---------- */
.ot-landing { padding-bottom: 120px; }
.ot-kicker { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ot-green); }
.ot-kicker::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--ot-green-brand); }
.ot-eyebrow { display: block; margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #19877B; }
.ot-c-green { color: var(--ot-green) !important; }
.ot-c-teal { color: var(--ot-teal) !important; }
.ot-c-blue { color: var(--ot-blue) !important; }
.ot-c-mint { color: #7FD4A4 !important; }
.ot-tone--green { background: var(--ot-tone-green); color: var(--ot-green); }
.ot-tone--teal { background: var(--ot-tone-teal); color: var(--ot-teal); }
.ot-tone--blue { background: var(--ot-tone-blue); color: var(--ot-blue); }
.ot-tone--gray { background: var(--ot-tone-gray); color: var(--ot-ink); }
.ot-lead { margin: 0; font-size: 20px; line-height: 1.55; color: var(--ot-text); max-width: 560px; }
.ot-lead--sm { font-size: 18px; line-height: 1.6; }
.ot-card { background: var(--ot-surface); border: 1px solid var(--ot-line); border-radius: 22px; }
.ot-pill { display: inline-block; align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--ot-teal); background: var(--ot-tone-teal); border-radius: 999px; padding: 6px 12px; margin-bottom: 12px; }
.ot-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ot-chips li { margin: 0; font-size: 14px; font-weight: 500; padding: 7px 12px; border-radius: 999px; background: var(--ot-soft); color: var(--ot-ink); }
.ot-chips--sm li { font-size: 13px; padding: 6px 11px; }
.ot-price { font-family: var(--ot-display); font-weight: 700; font-size: 22px; color: var(--ot-ink); }
.ot-price--lg { font-size: 30px; }
.ot-price del { opacity: .5; font-size: .7em; }
.ot-price ins { text-decoration: none; }
.ot-shot-empty { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 260px; color: var(--ot-line-strong); }

.ot-section { padding-top: 112px; }
.ot-section h2 { margin: 0; font-size: 42px; line-height: 1.12; font-weight: 700; }
.ot-section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.ot-section__head p { margin: 10px 0 0; font-size: 18px; color: var(--ot-text); }
.ot-section__head--center { justify-content: center; text-align: center; }
.ot-grid { display: grid; gap: 28px; }
.ot-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Hero */
.ot-hero { padding-top: 96px; padding-bottom: 88px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: center; }
.ot-hero__copy { display: flex; flex-direction: column; gap: 28px; }
.ot-hero h1 { margin: 0; font-size: 58px; line-height: 1.07; font-weight: 700; letter-spacing: -.025em; }
.ot-hero .ot-actions { margin-top: 8px; gap: 14px; }
.ot-hero__cards { display: flex; flex-direction: column; gap: 16px; }
.ot-hcard {
	display: flex; align-items: center; gap: 20px; padding: 20px 24px;
	background: var(--ot-surface); border: 1px solid var(--ot-line); border-radius: 22px;
	color: var(--ot-ink) !important; box-shadow: var(--ot-shadow);
	transition: transform .15s ease, border-color .15s ease;
}
.ot-hcard:hover { transform: translateY(-2px); border-color: var(--ot-line-strong); }
.ot-hcard > .ot-icon { color: var(--ot-text); }
.ot-hcard__media { width: 88px; height: 88px; border-radius: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.ot-hcard__media img { width: 72px; height: 72px; object-fit: contain; }
.ot-hcard__text { flex: 1 1 auto; display: flex; flex-direction: column; gap: 4px; }
.ot-hcard__text strong { font-family: var(--ot-display); font-size: 20px; font-weight: 600; }
.ot-hcard__text > span:last-child { font-size: 15px; color: var(--ot-text); }

/* Beneficios */
.ot-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: 36px 40px; background: var(--ot-surface); border: 1px solid var(--ot-line); border-radius: 24px; }
.ot-benefit { display: flex; gap: 16px; align-items: flex-start; }
.ot-benefit.ot-card { padding: 28px; border-radius: 20px; }
.ot-benefit > div { display: flex; flex-direction: column; gap: 4px; }
.ot-benefit strong { font-size: 17px; font-weight: 600; }
.ot-benefit span:not(.ot-ico) { font-size: 15px; line-height: 1.45; color: var(--ot-text); }
.ot-ico { width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Tarjeta de producto de la portada */
.ot-card--product { padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.ot-card__media { position: relative; display: flex; align-items: center; justify-content: center; height: 260px; border-radius: 16px; background: var(--ot-soft); overflow: hidden; }
.ot-card__media img { width: 220px !important; height: 220px !important; object-fit: contain; margin: 0 !important; }
.ot-badge { position: absolute; top: 14px; left: 14px; font-size: 13px; font-weight: 600; background: var(--ot-surface); border-radius: 999px; padding: 6px 12px; }
.ot-badge--stock { color: var(--ot-green); }
.ot-card__body { display: flex; flex-direction: column; gap: 6px; padding: 0 4px; }
.ot-card__title { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.3; }
.ot-card__title a { color: var(--ot-ink); }
.ot-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 4px; }
.ot-card__foot .button { min-height: 46px; padding: 0 18px; font-size: 15px; }
.ot-card__foot .added_to_cart { display: none; }

/* Destacado de Source Code */
.ot-feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; padding: 56px; background: var(--ot-surface); border: 1px solid var(--ot-line); border-radius: 28px; }
.ot-feature__copy { display: flex; flex-direction: column; gap: 22px; }
.ot-feature h2 { font-size: 40px; }
.ot-feature__media { display: block; height: 380px; border-radius: 20px; background: var(--ot-soft); border: 1px solid var(--ot-line); overflow: hidden; }
.ot-feature__media img { width: 100%; height: 100%; object-fit: cover; }

/* Llamado a la acción oscuro */
.ot-cta { display: flex; justify-content: space-between; align-items: center; gap: 48px; padding: 64px; background: var(--ot-ink); border-radius: 28px; }
.ot-cta > div { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.ot-cta h2 { color: #FFFFFF !important; font-size: 40px; }
.ot-cta p { margin: 0; font-size: 18px; line-height: 1.6; color: #C9D1CD; }
.ot-cta .ot-btn { flex-shrink: 0; }

/* Cómo funciona */
.ot-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.ot-steps li { margin: 0; padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.ot-steps h3 { margin: 0; font-size: 22px; font-weight: 600; }
.ot-steps p { margin: 0; color: var(--ot-text); }
.ot-step { font-family: var(--ot-display); font-weight: 700; font-size: 15px; }

/* Preguntas frecuentes */
.ot-faq { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px; }
.ot-faq > div:first-child p { margin: 14px 0 0; font-size: 18px; color: var(--ot-text); }
.ot-faq__list { grid-column: span 2; }
.ot-faq details { border-top: 1px solid #DCE1DE; }
.ot-faq details:last-child { border-bottom: 1px solid #DCE1DE; }
.ot-faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative; font-family: var(--ot-display); font-size: 19px; font-weight: 600; }
.ot-faq summary::-webkit-details-marker { display: none; }
.ot-faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--ot-text); }
.ot-faq details[open] summary::after { content: "–"; }
.ot-faq details p { margin: -8px 0 24px; color: var(--ot-text); }

/* ---------- Página Source Codes ---------- */
.ot-page-hero { padding-top: 88px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 20px; }
.ot-page-hero h1 { margin: 0; font-size: 56px; line-height: 1.08; font-weight: 700; letter-spacing: -.025em; }
.ot-crumbs { display: flex; gap: 8px; font-size: 15px; color: var(--ot-text); }
.ot-crumbs a { color: var(--ot-text); }
.ot-crumbs span:last-child { color: var(--ot-ink); font-weight: 500; }
.ot-sc-list { display: flex; flex-direction: column; gap: 28px; }
.ot-sc-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding: 24px; background: var(--ot-surface); border: 1px solid var(--ot-line); border-radius: 24px; }
.ot-sc-card__media { display: block; min-height: 380px; border-radius: 18px; background: var(--ot-soft); border: 1px solid var(--ot-line); overflow: hidden; }
.ot-sc-card__media img { width: 100%; height: 100%; object-fit: cover; }
.ot-sc-card__body { display: flex; flex-direction: column; gap: 16px; padding: 8px 8px 8px 0; }
.ot-sc-card__body h2 { margin: 0; font-size: 32px; }
.ot-sc-card__body h2 a { color: var(--ot-ink); }
.ot-sc-card__body .ot-pill { margin-bottom: 0; }
.ot-sc-card__body p { margin: 0; }
.ot-sc-card__foot { margin-top: auto; display: flex; flex-direction: column; gap: 14px; }

/* ---------- Tienda y categorías ---------- */
.ontech .woocommerce-products-header { padding: 16px 0 8px; }
.ontech .woocommerce-products-header__title, .ontech .entry-title { font-size: 44px; font-weight: 700; margin: 0 0 8px; }
.ontech .storefront-sorting { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 28px; padding: 0; border: 0; }
.ontech .woocommerce-ordering, .ontech .woocommerce-result-count { margin: 0; font-size: 15px; color: var(--ot-text); }
.ontech ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0 0 40px; }
.ontech ul.products::before, .ontech ul.products::after { display: none; }
.ontech ul.products li.product {
	width: auto !important; float: none !important; margin: 0 !important;
	padding: 20px; text-align: left;
	background: var(--ot-surface); border: 1px solid var(--ot-line); border-radius: 22px;
	display: flex; flex-direction: column; gap: 10px;
}
.ontech ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; gap: 10px; color: var(--ot-ink); }
.ontech ul.products li.product img { margin: 0 0 8px !important; border-radius: 16px; background: var(--ot-soft); aspect-ratio: 1; object-fit: contain; padding: 20px; box-sizing: border-box; }
.ontech ul.products li.product .woocommerce-loop-product__title { font-family: var(--ot-display); font-size: 19px; font-weight: 600; line-height: 1.3; padding: 0; margin: 0; }
.ontech ul.products li.product .price { font-family: var(--ot-display); font-size: 22px; font-weight: 700; color: var(--ot-ink); margin: 0; }
.ontech ul.products li.product .button { margin-top: auto; align-self: flex-start; }
.ontech ul.products li.product .onsale { border: 0; border-radius: 999px; background: var(--ot-tone-green); color: var(--ot-green); font-weight: 600; }
.ontech .woocommerce-pagination .page-numbers { border: 0; }
.ontech .woocommerce-pagination .page-numbers li .page-numbers { border-radius: 10px; }
.ontech .woocommerce-pagination .page-numbers li .page-numbers.current { background: var(--ot-accent); color: #FFFFFF; }

/* ---------- Ficha de producto ---------- */
.ontech.single-product div.product { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px; padding-top: 16px; }
.ontech.single-product div.product > * { grid-column: 1 / -1; }
.ontech.single-product div.product::before, .ontech.single-product div.product::after { display: none; }
.ontech.single-product div.product .woocommerce-product-gallery { grid-column: span 7; width: auto; float: none; margin: 0; background: var(--ot-surface); border: 1px solid var(--ot-line); border-radius: 24px; padding: 24px; box-sizing: border-box; }
.ontech.single-product div.product .summary { grid-column: span 5; width: auto; float: none; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.ontech.single-product div.product .summary > * { margin: 0; }
.ontech.single-product div.product .product_title { font-size: 44px; line-height: 1.08; font-weight: 700; }
.ontech.single-product div.product p.price { font-family: var(--ot-display); font-size: 36px; font-weight: 700; color: var(--ot-ink); }
.ontech.single-product div.product .woocommerce-product-details__short-description { font-size: 18px; color: var(--ot-text); }
.ontech.single-product div.product form.cart { display: flex; gap: 12px; padding: 0; margin: 0; border: 0; }
.ontech.single-product div.product form.cart .quantity .qty { width: 80px; text-align: center; }
.ontech.single-product div.product form.cart .single_add_to_cart_button { flex: 1 1 auto; min-height: 56px; font-size: 17px; }
.ontech.single-product div.product .product_meta { font-size: 14px; color: var(--ot-text); border-top: 1px solid var(--ot-line); padding-top: 16px; }
.ontech.single-product div.product .woocommerce-tabs { padding: 0; border: 0; }
.ontech .woocommerce-tabs ul.tabs { display: flex; gap: 8px; border: 0; margin: 0 0 24px; padding: 0; width: auto; float: none; }
.ontech .woocommerce-tabs ul.tabs li { border: 0; margin: 0; }
.ontech .woocommerce-tabs ul.tabs li a { padding: 10px 18px; border-radius: 10px; background: var(--ot-soft); color: var(--ot-ink); font-weight: 600; }
.ontech .woocommerce-tabs ul.tabs li.active a { background: var(--ot-ink); color: #FFFFFF; }
.ontech .woocommerce-tabs ul.tabs li::after { display: none; }
.ontech .woocommerce-tabs .panel { width: auto; float: none; background: var(--ot-surface); border: 1px solid var(--ot-line); border-radius: 22px; padding: 36px; }
.ontech .woocommerce-tabs .panel h2:first-of-type { font-size: 28px; }
.ontech .related.products > h2, .ontech .upsells.products > h2 { font-size: 32px; margin-bottom: 28px; }

/* Ficha de Source Code */
.ot-sc-actions { display: flex; flex-direction: column; gap: 10px; }
.ot-sc-actions .ot-muted { margin: 0; font-size: 14px; }
.ot-includes { display: flex; flex-direction: column; gap: 12px; padding: 22px; background: var(--ot-surface); border: 1px solid var(--ot-line); border-radius: 18px; }
.ot-includes span { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.ot-includes .ot-icon { color: var(--ot-green); }
.ot-sc-details { display: flex; flex-direction: column; gap: 0; }
.ot-sc-details > section, .ot-sc-section { padding-top: 88px; }
.ot-sc-details h2 { margin: 0 0 12px; font-size: 38px; font-weight: 700; }
.ot-sc-details > section > p { margin: 0 0 32px; font-size: 18px; color: var(--ot-text); }
.ot-sc-section .ot-chips { margin-top: 20px; }
.ot-modules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ot-module { background: var(--ot-surface); border: 1px solid var(--ot-line); border-radius: 20px; padding: 26px; }
.ot-module::before { content: ""; display: block; width: 36px; height: 6px; border-radius: 3px; margin-bottom: 18px; background: linear-gradient(90deg, #009740, #2B75BB); }
.ot-module h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.ot-module p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ot-text); }
.ot-flow { list-style: none; margin: 0; padding: 36px 40px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; background: var(--ot-surface); border: 1px solid var(--ot-line); border-radius: 24px; counter-reset: ot-flow; }
.ot-flow li { margin: 0; display: flex; flex-direction: column; gap: 10px; font-weight: 600; counter-increment: ot-flow; }
.ot-flow li::before { content: ""; height: 6px; border-radius: 3px; background: #19877B; }
.ot-flow li::after { content: counter(ot-flow); order: -1; display: none; }
.ot-flow li:nth-child(-n+2)::before { background: #009740; }
.ot-flow li:nth-child(n+5)::before { background: #2B75BB; }

/* ---------- Carrito, pago y cuenta ---------- */
.ontech table.shop_table { border: 1px solid var(--ot-line); border-radius: 18px; overflow: hidden; border-collapse: separate; background: var(--ot-surface); }
.ontech table.shop_table th { background: var(--ot-soft); font-family: var(--ot-display); font-weight: 600; }
.ontech table.shop_table td, .ontech table.shop_table th { padding: 16px 20px; border-color: var(--ot-line); }
.ontech table.shop_table td { background: var(--ot-surface); }
.ontech .cart-collaterals .cart_totals, .ontech #order_review, .ontech .woocommerce-checkout-review-order { background: transparent; }
.ontech #payment { background: var(--ot-surface) !important; border: 1px solid var(--ot-line); border-radius: 18px; }
.ontech #payment .payment_methods > li { background: transparent !important; }
.ontech .woocommerce-message, .ontech .woocommerce-info, .ontech .woocommerce-error, .ontech .woocommerce-noreviews, .ontech p.no-comments {
	border-radius: 14px; background: var(--ot-tone-blue) !important; color: var(--ot-ink) !important; border: 0; border-left: 0 !important;
}
.ontech .woocommerce-message { background: var(--ot-tone-green) !important; }
.ontech .woocommerce-error { background: #FBEAEA !important; }
.ontech .woocommerce-message a, .ontech .woocommerce-info a { color: var(--ot-accent) !important; }
.ontech .woocommerce-message::before, .ontech .woocommerce-info::before, .ontech .woocommerce-error::before { color: inherit !important; }
.ontech .woocommerce-MyAccount-navigation ul { border: 1px solid var(--ot-line); border-radius: 18px; overflow: hidden; background: var(--ot-surface); }
.ontech .woocommerce-MyAccount-navigation ul li { border-color: var(--ot-line); }
.ontech .woocommerce-MyAccount-navigation ul li a { padding: 14px 18px; color: var(--ot-ink); }
.ontech .woocommerce-MyAccount-navigation ul li.is-active a { background: var(--ot-soft); font-weight: 600; }
.ontech .woocommerce-MyAccount-navigation ul li a::before { display: none; }

/* ---------- Pie de página ---------- */
.ontech .site-footer { background: var(--ot-ink) !important; color: #C9D1CD !important; padding: 0 !important; }
.ontech .site-footer .col-full { max-width: calc(var(--ot-wrap) + 2 * var(--ot-gutter)); }
.ot-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 40px; padding: 64px 0; }
.ot-footer__brand { display: flex; flex-direction: column; gap: 16px; max-width: 360px; }
.ot-footer__brand p { margin: 0; font-size: 15px; line-height: 1.6; }
.ot-footer__logo { align-self: flex-start; background: #FFFFFF; border-radius: 12px; padding: 10px 14px; }
.ot-footer__logo .ot-logo__img { height: 28px !important; }
.ot-footer__nav { display: flex; gap: 72px; font-size: 15px; }
.ot-footer__nav div { display: flex; flex-direction: column; gap: 12px; }
.ot-footer__nav strong { color: #FFFFFF; font-weight: 600; }
.ontech .ot-footer__nav a { color: #C9D1CD; }
.ontech .ot-footer__nav a:hover { color: #FFFFFF; }
.ot-footer__copy { margin: 0; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
	.ot-search--header { width: 200px; }
	.ot-menu--desktop > li > a { padding: 0 10px; }
}

@media (max-width: 1180px) {
	.ot-header { height: 68px; padding: 0 16px; justify-content: space-between; }
	.ot-burger { display: inline-flex; }
	.ot-nav, .ot-search--header, .ot-account { display: none; }
	.ot-tools { margin-left: 0; }
	.ot-logo__img { height: 26px !important; }
	.ot-search--bar { display: block; }
}

@media (max-width: 1024px) {
	.ot-hero, .ot-feature, .ot-sc-card { grid-template-columns: 1fr; }
	.ot-hero { gap: 40px; padding-top: 56px; padding-bottom: 48px; }
	.ot-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ot-grid--3, .ontech ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ot-steps { grid-template-columns: 1fr; }
	.ot-faq { grid-template-columns: 1fr; gap: 24px; }
	.ot-faq__list { grid-column: auto; }
	.ot-cta { flex-direction: column; align-items: flex-start; padding: 40px; }
	.ot-modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ot-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 20px; }
	.ontech.single-product div.product .woocommerce-product-gallery,
	.ontech.single-product div.product .summary { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
	:root { --ot-gutter: 16px; }
	.ot-hero h1 { font-size: 34px; line-height: 1.12; }
	.ot-page-hero h1, .ontech .woocommerce-products-header__title, .ontech .entry-title, .ontech.single-product div.product .product_title { font-size: 34px; }
	.ot-lead { font-size: 17px; }
	.ot-kicker { font-size: 12px; }
	.ot-hero .ot-actions { flex-direction: column; }
	.ot-hero .ot-actions .ot-btn { width: 100%; }
	.ot-hcard { padding: 14px 16px; gap: 14px; box-shadow: none; }
	.ot-hcard__media { width: 56px; height: 56px; border-radius: 12px; }
	.ot-hcard__media img { width: 44px; height: 44px; }
	.ot-hcard__media .ot-icon { width: 24px; height: 24px; }
	.ot-hcard__text strong { font-size: 16px; }
	.ot-hcard__text > span:last-child { font-size: 14px; }
	.ot-benefits { grid-template-columns: 1fr; gap: 0; padding: 8px 20px; }
	.ot-benefits .ot-benefit { padding: 16px 0; border-bottom: 1px solid #EEF0EF; align-items: center; }
	.ot-benefits .ot-benefit:last-child { border-bottom: 0; }
	.ot-section { padding-top: 64px; }
	.ot-section h2, .ot-feature h2, .ot-cta h2, .ot-sc-details h2 { font-size: 28px; }
	.ot-section__head { margin-bottom: 20px; }
	.ot-section__head p { font-size: 16px; }
	.ot-grid--3, .ontech ul.products, .ot-modules { grid-template-columns: 1fr; }
	.ot-feature { padding: 20px; gap: 24px; }
	.ot-feature__media, .ot-sc-card__media { height: 220px; min-height: 220px; }
	.ot-sc-card { padding: 16px; }
	.ot-cta { padding: 32px 24px; }
	.ot-cta .ot-btn { width: 100%; }
	.ot-steps li { padding: 22px; }
	.ot-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 24px; }
	.ot-footer { flex-direction: column; padding: 40px 0; }
	.ot-footer__nav { gap: 48px; }
	.ontech .woocommerce-tabs .panel { padding: 22px; }
}

/* ---------- Manual de marca: logo, degradados y acentos ---------- */
.ot-logo__img--corto { display: none !important; }
.ot-kicker, .ot-eyebrow { font-family: var(--ot-accent-font); letter-spacing: .06em; }
.ot-hero-band { background: var(--ot-brand-texture), var(--ot-brand-gradient); color: #FFFFFF; }
.ot-hero-band .ot-hero h1 { color: #FFFFFF; }
.ot-hero-band .ot-kicker { color: #FFFFFF; }
.ot-hero-band .ot-kicker::before { background: #FFFFFF; }
.ot-hero-band .ot-lead { color: rgba(255,255,255,.9); }
.ontech .ot-hero-band .ot-btn--primary { background: #FFFFFF; color: var(--ot-accent) !important; }
.ontech .ot-hero-band .ot-btn--primary:hover { background: #EEF3F8; }
.ontech .ot-hero-band .ot-btn--ghost { background: transparent; border-color: rgba(255,255,255,.75); color: #FFFFFF !important; }
.ontech .ot-hero-band .ot-btn--ghost:hover { background: rgba(255,255,255,.12); }
.ot-hero-band .ot-hcard { box-shadow: 0 24px 48px -28px rgba(10,30,50,.55); }
.ot-landing > .ot-hero-band:first-child { margin-bottom: 72px; }
.ot-cta { background: var(--ot-brand-texture), var(--ot-brand-gradient); }
.ot-cta p { color: rgba(255,255,255,.92); }
.ontech .site-footer { background: linear-gradient(120deg, #1D5A93 0%, #0E6F64 55%, #007A34 100%) !important; color: #E8F0F4 !important; }
.ontech .ot-footer__nav a { color: #E8F0F4; }
.ot-footer__logo { background: none; padding: 0; border-radius: 0; }
.ot-footer__logo .ot-logo__img { height: 60px !important; }
@media (max-width: 1180px) {
	.ot-header .ot-logo__img--largo, .ot-drawer__head .ot-logo__img--largo { display: none !important; }
	.ot-header .ot-logo__img--corto, .ot-drawer__head .ot-logo__img--corto { display: block !important; height: 24px !important; }
}
.ot-cta .ot-c-mint { color: #FFFFFF !important; }
.ontech.ot-is-landing #content > .col-full { margin-left: 0; margin-right: 0; }

/* ---------- Botón flotante de WhatsApp ---------- */
.ot-whatsapp { position: fixed; right: 24px; bottom: 24px; z-index: 900; display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 22px 0 18px; border-radius: 999px; background: #1E8E4A; color: #FFFFFF !important; font-weight: 600; font-size: 16px; box-shadow: 0 16px 32px -12px rgba(10,30,20,.5); animation: ot-pulse 2.6s infinite; }
.ot-whatsapp:hover { background: #17743C; color: #FFFFFF; }
@keyframes ot-pulse { 0% { box-shadow: 0 0 0 0 rgba(30,142,74,.45); } 70% { box-shadow: 0 0 0 16px rgba(30,142,74,0); } 100% { box-shadow: 0 0 0 0 rgba(30,142,74,0); } }
@media (max-width: 640px) { .ot-whatsapp { right: 16px; bottom: 16px; width: 58px; padding: 0; justify-content: center; } .ot-whatsapp span { display: none; } }
@media (prefers-reduced-motion: reduce) { .ot-whatsapp { animation: none; } }

/* ---------- Selector de idioma y moneda ---------- */
.ot-locale { position: relative; }
.ot-locale summary { list-style: none; display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 14px; border: 1px solid var(--ot-line); border-radius: var(--ot-radius-sm); background: var(--ot-surface); cursor: pointer; font-weight: 600; font-size: 15px; color: var(--ot-ink); white-space: nowrap; }
.ot-locale summary::-webkit-details-marker { display: none; }
.ot-locale[open] summary, .ot-locale summary:hover { background: var(--ot-soft); }
.ot-locale__panel { position: absolute; right: 0; top: calc(100% + 8px); width: 260px; box-sizing: border-box; padding: 16px; background: var(--ot-surface); border: 1px solid var(--ot-line); border-radius: 16px; box-shadow: 0 20px 40px -18px rgba(20,32,27,.3); display: flex; flex-direction: column; gap: 8px; z-index: 70; }
.ot-locale__panel strong { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ot-text); }
.ot-locale__opts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 6px; margin-bottom: 6px; }
.ot-locale__opts--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.ot-locale__opts a { display: flex; align-items: center; justify-content: center; height: 40px; border: 1px solid var(--ot-line); border-radius: 10px; color: var(--ot-ink) !important; font-weight: 600; font-size: 14px; }
.ot-locale__opts a.is-active { border: 2px solid #2B75BB; background: var(--ot-tone-blue); }
.ot-locale__panel small { font-size: 12px; color: var(--ot-muted); line-height: 1.4; }
.ot-drawer__locale { padding: 8px 16px 0; }
.ot-drawer__locale .ot-locale__panel { position: static; width: auto; box-shadow: none; margin-top: 8px; }
@media (max-width: 1280px) { .ot-search--header { width: 170px; } }
@media (max-width: 1180px) { .ot-tools .ot-locale { display: none; } }
