/* TARVOK: fundamentos de claridad, coherencia y adaptación de apple-design. */
body.public-view { --tv-ink:#17191b; --tv-muted:#5c6066; --tv-soft:#f5f5f7; --tv-line:#dedee2; --tv-action:#c71924; --ld-red:#c71924; font-family:Arial,Helvetica,sans-serif; line-height:1.65; }
body.public-view :where(button,input,select,textarea) { font:inherit; }
body.public-view :where(a,button,input,select,textarea,summary,[tabindex]):focus-visible { outline:3px solid #c71924; outline-offset:4px; }
body.tema-landing .ld-nav { background:#0b0b0b; }
body.tema-landing .ld-nav__links { gap:clamp(18px,2vw,32px); }
body.tema-landing .ld-nav__links>a { min-height:44px; display:inline-flex; align-items:center; }
body.tema-landing .tv-header-search>summary,body.tema-landing .tv-menu-toggle { min-width:44px; min-height:44px; border-radius:10px; }
body.tema-landing :is(.btn,.ui-button,.tv-text-link,.tv-banner-primary,.tv-banner-secondary) { min-height:48px; box-sizing:border-box; border-radius:10px; line-height:1.3; font-weight:600; }
body.tema-landing :is(.btn-red,.ui-button.primary,.tv-banner-primary) { background:var(--tv-action); border-color:var(--tv-action); color:#fff; }
body.tema-landing :is(.btn-red,.ui-button.primary,.tv-banner-primary):hover { background:#a5141d; border-color:#a5141d; }
body.tema-landing :is(.tv-kicker,.ui-eyebrow) { letter-spacing:.13em; }
body.tema-landing .tv-catalog { padding-block:80px 88px; }
body.tema-landing .tv-section-heading { align-items:end; margin-bottom:32px; gap:32px; }
body.tema-landing :is(.tv-section-heading h2,.tv-gallery-heading h2) { font-size:clamp(30px,3vw,44px); line-height:1.15; letter-spacing:-.035em; }
body.tema-landing .tv-section-heading p:not(.tv-kicker) { color:var(--tv-muted); font-size:17px; line-height:1.65; }
body.tema-landing .tv-category-links { gap:16px; margin-bottom:64px; }
body.tema-landing .tv-category-links>a { min-height:104px; border:1px solid var(--tv-line); border-radius:14px; background:#fff; color:var(--tv-ink); transition:border-color .18s,background .18s; }
body.tema-landing .tv-category-links>a:hover { background:#f8f8f9; border-color:#9b9da2; }
body.tema-landing .tv-category-links .tv-category-arrow { color:var(--tv-action); border-color:#d7d8db; }
body.tema-landing .tv-category-links>a:hover .tv-category-arrow { background:var(--tv-action); border-color:var(--tv-action); color:#fff; }
body.tema-landing .product-card { border:1px solid var(--tv-line); border-radius:16px; overflow:hidden; box-shadow:none; color:var(--tv-ink); background:#fff; }
body.tema-landing .product-card :is(h2,h3) { font-size:16px; line-height:1.45; letter-spacing:-.01em; }
body.tema-landing .product-card .product-price { font-size:18px; color:var(--tv-ink); }
body.tema-landing .product-card :is(input,button,.btn) { min-height:44px; }
body.tema-landing .tv-card-sizes a { min-width:32px; min-height:32px; display:inline-grid; place-items:center; border-radius:7px; }
body.tema-landing .tv-quote-price { color:var(--tv-muted); }
body.tema-landing .tv-photo-gallery { background:var(--tv-soft); padding-block:72px; border-color:var(--tv-line); }
body.tema-landing .tv-photo-track figure { border-radius:16px; overflow:hidden; }
body.tema-landing :is(.tv-carousel-controls,.tv-gallery-controls) button { width:44px; height:44px; border:1px solid #c9cbd0; background:#fff; color:#17191b; border-radius:50%; box-shadow:0 3px 12px #0000000d; }
body.tema-landing :is(.tv-carousel-controls,.tv-gallery-controls) button:hover { background:#17191b; color:#fff; }
body.tema-landing .tv-main-slider .oz-smart__arrow { width:48px; height:48px; border:1px solid #ffffff70; background:#0b0b0bb3; border-radius:50%; }
body.tema-landing .tv-main-slider .oz-smart__dots { padding:10px 14px; bottom:12px; }
body.tema-landing .tv-main-slider .swiper-pagination-bullet { min-width:12px; height:12px; }
body.tema-landing .tv-footer>.tv-wrap { width:calc(100% - 64px); max-width:1440px; margin-inline:auto; }
body.tema-landing .tv-footer { padding-top:64px; }
body.tema-landing .tv-footer-column>a { min-height:36px; line-height:1.5; }
body.tema-landing .tv-footer-socials>a { width:44px; height:44px; background:#c71924; }
body.tema-landing .tv-footer h2 { font-size:17px; }
body.tema-landing .tv-footer p { color:#c7c9cd; line-height:1.75; }
/* Las páginas de compra comparten superficies claras con las páginas corporativas. */
body.tema-landing:is(.tema-catalogo,.tema-producto) { background:#fff; color:var(--tv-ink); --ld-line:#dedee2; }
body.tema-landing:is(.tema-catalogo,.tema-producto) main { background:#fff; }
body.tema-landing:is(.tema-catalogo,.tema-producto) main :is(h1,h2,h3,h4,legend,.order-label) { color:var(--tv-ink); }
body.tema-landing:is(.tema-catalogo,.tema-producto) main :is(.ui-eyebrow,.product-codes,.product-short,.catalog-head p,.catalog-header p,.product-specs p,.product-description p,.breadcrumbs,.migas) { color:var(--tv-muted); }
body.tema-landing:is(.tema-catalogo,.tema-producto) main :is(input,select,textarea) { color:#17191b; background:#fff; border-color:#b8bbc0; min-height:44px; border-radius:8px; }
body.tema-landing.tema-catalogo .catalog-sidebar { color:#35383c; }
body.tema-landing.tema-catalogo .catalog-sidebar a { border-radius:8px; }
body.tema-landing.tema-catalogo .catalog-sidebar a[aria-current] { background:#f5f5f7; color:#17191b; border-color:#b8bbc0; }
body.tema-landing.tema-producto :is(.product-family,.qty-stepper,.text-action,.product-specs table,.product-specs td,.product-specs th) { border-color:#d0d2d6; }
body.tema-landing.tema-producto :is(.product-family,.qty-stepper,.product-download,.product-secondary>a:not(.product-whatsapp)) { color:#35383c; }
body.tema-landing.tema-producto .product-short { font-size:17px; line-height:1.75; }
body.tema-landing.tema-producto .product-summary h1 { font-size:clamp(28px,2.5vw,40px); line-height:1.18; letter-spacing:-.03em; }
body.tema-landing.tema-producto .product-specs { padding-top:48px; }
@media(max-width:760px) {
 body.tema-landing .tv-catalog { padding-block:40px 56px; }
 body.tema-landing .tv-section-heading { gap:24px; }
 body.tema-landing .tv-category-links { gap:8px; margin-bottom:40px; }
 body.tema-landing .tv-category-links>a { min-height:112px; padding:12px 4px; font-size:12px; }
 body.tema-landing .tv-category-links .tv-category-arrow { display:none; }
 body.tema-landing .tv-photo-gallery { padding-block:48px; }
 body.tema-landing .tv-footer>.tv-wrap { width:calc(100% - 40px); }
 body.tema-landing .tv-footer-column>a { min-height:44px; }
 body.tema-landing :is(input,select,textarea) { font-size:16px; }
 body.tema-landing .tv-banner-actions { gap:12px; flex-wrap:wrap; }
}
@media(prefers-reduced-motion:reduce) {
 body.public-view *,body.public-view *::before,body.public-view *::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
}
@media(prefers-contrast:more) {
 body.public-view { --tv-muted:#34363a; --tv-line:#878a90; }
 body.tema-landing .ld-nav { background:#000; backdrop-filter:none; }
}

body.tema-landing .product-card .cot-add-btn { background:#c71924; border-color:#c71924; border-radius:8px; }
body.tema-landing .product-card .cot-add-btn:hover { background:#a5141d; }
body.tema-landing.tema-catalogo .catalog-filters .search-control { background:#fff; border:1px solid #b8bbc0; border-radius:10px; color:#5c6066; }
body.tema-landing.tema-catalogo .catalog-filters .search-control input { background:transparent; }
body.tema-landing.tema-catalogo .catalog-filters .filter-links a[aria-current] { background:#f5f5f7; border-color:#b8bbc0; color:#17191b; }
body.tema-landing.tema-catalogo .catalog-filters .filter-links a { min-height:44px; border-radius:8px; }

body.tema-landing.tema-producto .single-order .qty-stepper :is(button,input) { color:#17191b!important; opacity:1; min-height:44px; }
body.tema-landing.tema-producto .product-secondary .text-action:not(.product-whatsapp) { color:#35383c!important; }
body.tema-landing.tema-producto :is(.datasheet-card p,.spec-list dt,.spec-list dd,.product-description-full) { color:#5c6066; }
body.tema-landing.tema-producto .product-description-full { font-size:17px; line-height:1.75; }

@media(max-width:760px) {
 body.tema-landing :is(.tv-category-links,.tv-benefits-grid,.tv-product-track,.tv-photo-track) { scrollbar-width:none; }
 body.tema-landing :is(.tv-category-links,.tv-benefits-grid,.tv-product-track,.tv-photo-track)::-webkit-scrollbar { display:none; }
 body.tema-landing .tv-category-links>a { font-size:13px; min-height:120px; }
}

/* Relación de marcas: mensaje explícito y logotipo oficial. */
body.tema-landing.tema-corporativa .tv-corporate .tv-parent-brand { position:relative; display:grid; grid-template-columns:1.15fr 1fr; gap:64px; align-items:center; padding:64px; background:#101113; border:1px solid #2d3034; overflow:hidden; }
body.tema-landing.tema-corporativa .tv-parent-brand::before { content:none; }
body.tema-landing.tema-corporativa .tv-corporate .tv-parent-brand h2 { color:#fff; font-size:clamp(30px,3vw,42px); line-height:1.15; letter-spacing:-.03em; max-width:600px; margin:16px 0 20px; }
body.tema-landing.tema-corporativa .tv-parent-brand h2>span { display:block; }
body.tema-landing.tema-corporativa .tv-corporate .tv-parent-brand p { color:#c9cbd0; max-width:510px; }
body.tema-landing.tema-corporativa .tv-corporate .tv-parent-brand .ui-eyebrow { color:#ff858b; margin:0; }
body.tema-landing.tema-corporativa .tv-parent-logo { margin:0; padding:48px 32px; background:#fff; border-radius:16px; display:flex; flex-direction:column; align-items:center; gap:30px; }
body.tema-landing.tema-corporativa .tv-parent-logo img { width:min(100%,330px); height:auto; display:block; }
body.tema-landing.tema-corporativa .tv-parent-logo figcaption { font-size:14px; line-height:1.5; text-align:center; color:#4d5158; }
body.tema-landing:has(.cot-pagehead) { background:#fff; color:#17191b; }
body.tema-landing:has(.cot-pagehead) main :is(h1,h2,h3,legend,label) { color:#17191b; }
body.tema-landing:has(.cot-pagehead) :is(.cot-lead,.ui-eyebrow,.breadcrumbs) { color:#5c6066; }
body.tema-landing .cart-empty { background:#f5f5f7; color:#17191b; border:1px solid #dedee2; border-radius:18px; }
body.tema-landing .cart-empty :is(h2,.chip,.chip-list a) { color:#17191b!important; }
body.tema-landing .cart-empty :is(p,.cart-empty-label) { color:#5c6066; }
@media(max-width:760px) {
 body.tema-landing.tema-corporativa .tv-corporate .tv-parent-brand { grid-template-columns:1fr; padding:32px 24px; gap:32px; }
 body.tema-landing.tema-corporativa .tv-parent-logo { padding:32px 20px; gap:24px; }
 body.tema-landing.tema-corporativa .tv-parent-logo figcaption { font-size:13px; }
}

body.tema-landing .tv-parent-brand { scroll-margin-top:140px; }

body.tema-landing.tema-corporativa .tv-brand-story-photo { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:64px; padding-bottom:0; scroll-margin-top:140px; }
body.tema-landing.tema-corporativa .tv-story-photo { margin:0; aspect-ratio:4/3; border-radius:18px; overflow:hidden; background:#f5f5f7; }
body.tema-landing.tema-corporativa .tv-story-photo img { display:block; width:100%; height:100%; object-fit:cover; }
body.tema-landing.tema-corporativa .tv-story-copy .ui-eyebrow { margin:0 0 20px; }
body.tema-landing.tema-corporativa .tv-story-copy h2 { margin:0 0 24px; font-size:clamp(28px,2.5vw,38px); line-height:1.18; }
body.tema-landing.tema-corporativa .tv-story-copy>p:last-child { margin:0; font-size:17px; line-height:1.8; }
@media(max-width:900px) { body.tema-landing.tema-corporativa .tv-brand-story-photo { gap:32px; } }
@media(max-width:760px) { body.tema-landing.tema-corporativa .tv-brand-story-photo { grid-template-columns:1fr; gap:28px; } body.tema-landing.tema-corporativa .tv-story-copy h2 { font-size:30px; } }

body.tema-landing .catalog-filters .filter-categorias .filter-links a { display:flex; align-items:center; gap:10px; min-height:52px; padding-block:8px; }
body.tema-landing .catalog-filters .tv-filter-category-icon { display:block; width:28px; height:32px; flex:0 0 28px; object-fit:contain; }
body.tema-landing .catalog-filters .filter-categorias .filter-links a>span { flex:1; min-width:0; line-height:1.4; }
body.tema-landing .catalog-filters .filter-categorias .filter-links a>small { flex:none; margin-left:auto; }

/* Loop de productos: cantidad y acción alineadas, sin bordes ni espacios duplicados. */
body.tema-landing .product-card .product-actions { margin-top:auto; padding-top:20px; width:100%; min-width:0; }
body.tema-landing .product-card .product-actions form.cot-add:has(.quantity) { display:grid; grid-template-columns:64px minmax(0,1fr); align-items:stretch; gap:12px; width:100%; margin:0; padding:0; }
body.tema-landing .product-card .product-actions .quantity { display:block; width:64px; min-width:0; height:48px; margin:0; padding:0; border:0; background:transparent; border-radius:0; box-sizing:border-box; }
body.tema-landing .product-card .product-actions .quantity input { display:block; width:100%; min-width:0; max-width:none; height:48px; min-height:48px; margin:0; padding:0 6px; box-sizing:border-box; border:1px solid #b8bbc0; border-radius:9px; background:#fff; color:#17191b; font-size:16px; line-height:normal; text-align:center; appearance:textfield; -moz-appearance:textfield; }
body.tema-landing .product-card .quantity input::-webkit-inner-spin-button,body.tema-landing .product-card .quantity input::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
body.tema-landing .product-card .product-actions .cot-add-btn { width:100%; min-width:0; height:48px; min-height:48px; margin:0; padding:0 12px; border-radius:9px; display:flex; justify-content:center; align-items:center; gap:8px; line-height:1.2; }
body.tema-landing .product-card .product-actions .cot-add-btn svg { width:18px; height:18px; flex:none; }
body.tema-landing .product-card .product-actions .cot-wa-tarjeta { margin-top:12px; }

body.tema-landing .tv-carousel .tv-carousel-controls button { top:50%; display:grid; place-items:center; line-height:1; padding:0; }
body.tema-landing .tv-carousel-controls button span { display:block; line-height:1; }
body.tema-landing .product-card .product-actions form.cot-add:has(.tv-card-quantity) { grid-template-columns:112px minmax(0,1fr); gap:10px; }
body.tema-landing .product-card .product-actions .tv-card-quantity { display:grid; grid-template-columns:34px minmax(0,1fr) 34px; align-items:center; width:112px; height:48px; border:1px solid #b8bbc0; border-radius:9px; overflow:hidden; background:#fff; }
body.tema-landing .product-card .tv-card-quantity label { min-width:0; margin:0; padding:0; }
body.tema-landing .product-card .product-actions .tv-card-quantity input { border:0; border-radius:0; height:46px; min-height:46px; padding:0; background:transparent; }
body.tema-landing .product-card .product-actions .tv-card-quantity button { display:grid; place-items:center; width:34px; height:46px; min-height:46px; padding:0; border:0; background:#fff; color:#17191b; font-size:22px; line-height:1; cursor:pointer; }
body.tema-landing .product-card .tv-card-quantity button:hover:not(:disabled) { background:#f0f0f2; }
body.tema-landing .product-card .tv-card-quantity button:disabled { color:#9a9da2; cursor:default; }
body.tema-landing .product-card .tv-card-quantity :is(button,input):focus-visible { outline-offset:-3px; }

body.tema-landing.tema-portada #catalogo .tv-carousel-controls { margin:0 0 4px; }

/* Uicons Regular Rounded 3.3.1, Flaticon. Attribution displayed in the footer. */
@font-face { font-family:'TARVOK Uicons'; src:url('flaticon-uicons.woff2') format('woff2'); font-display:block; }
.tv-ui-icon { display:inline-grid; place-items:center; width:20px; height:20px; flex:0 0 20px; vertical-align:middle; }
.tv-ui-icon::before { font-family:'TARVOK Uicons'!important; font-style:normal; font-weight:400!important; font-size:20px; line-height:1; -webkit-font-smoothing:antialiased; }
.tv-ui-arrow::before { content:'\f19b'; }.tv-ui-book::before { content:'\f274'; }
body.tema-landing .tv-text-link { display:inline-flex; align-items:center; justify-content:center; gap:10px; }
body.tema-landing .tv-category-links .tv-category-arrow { display:grid; place-items:center; width:32px; height:32px; flex-basis:32px; }
body.tema-landing .tv-category-links .tv-category-arrow::before { content:'\f152'; font-family:'TARVOK Uicons'!important; font-size:14px; font-weight:400; line-height:1; position:static; width:auto; height:auto; border:0; transform:none; margin:0; padding:0; }
body.tema-landing :is(.tv-carousel-controls button,.tv-gallery-controls button,.oz-smart__arrow,.oz-lightbox__nav) { display:grid; place-items:center; padding:0; font-size:0; line-height:1; }
body.tema-landing :is(.tv-carousel-controls button,.tv-gallery-controls button,.oz-smart__arrow,.oz-lightbox__nav)>:is(span,svg) { display:none; }
body.tema-landing :is(.tv-carousel-controls button,.tv-gallery-controls button,.oz-smart__arrow,.oz-lightbox__nav)::before { content:none; }
body.tema-landing :is(.tv-carousel-controls button,.tv-gallery-controls button,.oz-smart__arrow,.oz-lightbox__nav)::after { content:'\f152'; display:block; position:static; font-family:'TARVOK Uicons'!important; font-weight:400; font-size:18px; line-height:1; width:18px; height:18px; border:0; margin:0; transform:none; -webkit-font-smoothing:antialiased; }
body.tema-landing :is([data-carousel-prev],[data-gallery-prev],.oz-smart__arrow--prev,.oz-lightbox__nav--prev)::after { content:'\f151'; }
body.tema-landing .filter-group[data-colapsable]>h2 { min-height:44px; align-items:center; }
body.tema-landing .filter-group[data-colapsable]>h2::after { content:'\f150'; display:grid; place-items:center; font-family:'TARVOK Uicons'!important; font-size:14px; line-height:1; font-weight:400; width:24px; height:24px; border:0; transform:none; }
body.tema-landing .filter-group[data-colapsable]>h2[aria-expanded=false]::after { transform:rotate(-90deg); }
body.tema-landing .sort-control label { position:relative; }
body.tema-landing .sort-control select { appearance:none; -webkit-appearance:none; padding-right:40px; }
body.tema-landing .sort-control label::after { content:'\f150'; font-family:'TARVOK Uicons'!important; position:absolute; right:14px; top:50%; transform:translateY(-50%); color:#35383c; font-size:14px; line-height:1; pointer-events:none; }
body.tema-landing .tv-footer-book .tv-ui-book { color:#ff5059; width:22px; height:22px; flex-basis:22px; }
body.tema-landing .tv-footer-book .tv-ui-book::before { font-size:22px; }
body.tema-landing .tv-footer-bottom { display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; }
body.tema-landing .tv-icon-credit { color:#b9bcc2; font-size:12px; text-decoration:underline; text-underline-offset:3px; }
@media(max-width:760px) { body.tema-landing .tv-category-links .tv-category-arrow { display:none; } }

body.tema-landing .tv-carousel-controls button[data-carousel-prev]::after,body.tema-landing .tv-gallery-controls button[data-gallery-prev]::after,body.tema-landing button.oz-smart__arrow--prev::after,body.tema-landing button.oz-lightbox__nav--prev::after { content:'\f151'; }

/* Centrado óptico: compensar la métrica vertical del glifo de Uicons. */
body.tema-landing .tv-category-links .tv-category-arrow::before { width:16px; height:16px; display:grid; place-items:center; line-height:16px; font-size:14px; transform:translateY(2px); }
body.tema-landing .tv-header-search form>label.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

.tv-ui-phone::before { content:'\fa61'; }.tv-ui-envelope::before { content:'\f5de'; }.tv-ui-marker::before { content:'\f8fd'; }
body.tema-landing.tema-corporativa .tv-corporate .tv-contact-data :is(a,p) { display:grid; grid-template-columns:28px minmax(0,1fr); align-items:center; gap:14px; margin:0; padding:18px 0; }
body.tema-landing.tema-corporativa .tv-contact-data .tv-ui-icon { width:28px; height:28px; color:#c71924; }
body.tema-landing.tema-corporativa .tv-contact-data .tv-ui-icon::before { font-size:22px; }
body.tema-landing.tema-corporativa .tv-contact-value { min-width:0; overflow-wrap:anywhere; line-height:1.6; }

body.tema-landing.tema-producto .product-secondary { border-top:0!important; }

body.tema-landing.tema-producto .product-secondary { margin-top:14px!important; padding-top:0!important; }
body.tema-landing.tema-producto .product-download small { display:inline-block; margin-left:8px; padding:3px 6px; border:1px solid #c71924; border-radius:4px; background:#fff0f1; color:#a5141d!important; font-size:11px; line-height:1.2; font-weight:700; letter-spacing:.04em; opacity:1!important; }

/* Compactar el espacio entre precio y cotizacion. */
body.tema-landing .product-card .product-actions{margin-top:0;padding-top:8px}
body.tema-landing .tv-product-track{align-items:start}
body.tema-landing .tv-product-track>.product-card{height:auto}

body.tema-landing main:has([data-cot-carrito]){padding-bottom:80px!important}
@media(max-width:640px){body.tema-landing main:has([data-cot-carrito]){padding-bottom:48px!important}}
