/*
Theme Name: Tecnocam
Description: Tema de la tienda Tecnocam (hijo de Twenty Twenty-Five): rojo Tecnocam, barra de categorías oscura y tarjetas de producto como la tienda Jumpseller.
Template: twentytwentyfive
Version: 1.1.0
Text Domain: tecnocam
*/

:root {
	--tc-red: #ce1930;
	--tc-red-dark: #a8132a;
	--tc-ink: #222222;
	--tc-dark: #1b1b1f;
	--tc-darker: #111114;
	--tc-muted: #6b6f76;
	--tc-line: #e6e7ea;
	--tc-soft: #f4f5f7;
	--tc-radius: 10px;
}

body { background: #fff; color: var(--tc-ink); }
a { text-decoration: none; }

/* ---------- Encabezado ---------- */
.tc-topbar { background: var(--tc-darker); color: #fff; font-size: 13px; padding: 7px 16px; }
.tc-topbar p { margin: 0; }
.tc-topbar a { color: #fff; }
.tc-header { background: #fff; padding: 14px 16px; border-bottom: 1px solid var(--tc-line); }
.tc-header__row { gap: 24px; max-width: 1280px; margin: 0 auto; }
.tc-header .wp-block-site-logo img { width: 150px; height: auto; }
.tc-header .wp-block-search { flex: 1 1 auto; max-width: 560px; }
.tc-header .wp-block-search__inside-wrapper { border: 1px solid #d4d6da !important; border-radius: 6px; background: var(--tc-soft); padding: 0 !important; overflow: hidden; }
.tc-header .wp-block-search__input { border: 0 !important; background: transparent; padding: 10px 14px !important; font-size: 15px; }
.tc-header .wp-block-search__button { background: transparent !important; color: var(--tc-ink) !important; border: 0 !important; margin: 0 !important; padding: 0 12px !important; }
.tc-header .wp-block-search__button svg { fill: currentColor; width: 22px; height: 22px; }
.tc-header__actions { gap: 18px; }
.tc-header .wc-block-mini-cart__button { background: var(--tc-red); color: #fff; border-radius: 8px; padding: 9px 14px; font-weight: 600; }
.tc-header .wc-block-mini-cart__button:hover { background: var(--tc-red-dark); }
.tc-header .wc-block-mini-cart__badge { background: #fff; color: var(--tc-red); }
.tc-header .wc-block-mini-cart__amount { display: none; }
.tc-header .wc-block-mini-cart__button::after { content: "Carro"; margin-left: 4px; }
.tc-header .wp-block-woocommerce-customer-account a { color: var(--tc-ink); display: flex; align-items: center; gap: 6px; font-size: 14px; }

.tc-nav { background: var(--tc-dark); }
.tc-nav__inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: stretch; flex-wrap: wrap; justify-content: center; padding: 0 16px; }
.tc-nav__item { position: relative; }
.tc-nav__link { display: flex; align-items: center; gap: 6px; color: #fff; font-size: 15px; padding: 12px 14px; white-space: nowrap; }
.tc-nav__link:hover, .tc-nav__item:focus-within > .tc-nav__link { color: #ffb3bd; }
.tc-nav__link--all { background: var(--tc-red); border-radius: 6px; margin: 6px 8px 6px 0; padding: 6px 14px; font-weight: 600; }
.tc-nav__link--all:hover { background: var(--tc-red-dark); color: #fff !important; }
.tc-nav__caret { width: 10px; height: 10px; opacity: .8; }
.tc-nav__menu { display: none; position: absolute; left: 0; top: 100%; z-index: 50; min-width: 240px; background: #fff; border-radius: 0 0 8px 8px;
	box-shadow: 0 12px 28px rgba(0,0,0,.18); padding: 8px 0; list-style: none; margin: 0; }
.tc-nav__item:hover > .tc-nav__menu, .tc-nav__item:focus-within > .tc-nav__menu { display: block; }
.tc-nav__menu a { display: block; padding: 8px 18px; color: var(--tc-ink); font-size: 14px; }
.tc-nav__menu a:hover { background: var(--tc-soft); color: var(--tc-red); }
.tc-nav__menu--all { min-width: 280px; columns: 2; column-gap: 0; width: 560px; }
@media (max-width: 781px) {
	.tc-header__row { flex-wrap: wrap !important; gap: 12px; }
	.tc-header .wp-block-search { order: 3; flex-basis: 100%; max-width: none; }
	.tc-header .wp-block-site-logo img { width: 120px; }
	.tc-nav__inner { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
	.tc-nav__menu { display: none !important; }
	.tc-nav__link { font-size: 14px; padding: 10px; }
}

/* ---------- Portada ---------- */
.tc-hero { max-width: 1280px; margin: 18px auto 0; padding: 0 16px; }
.tc-hero__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.tc-hero__main { position: relative; border-radius: 14px; overflow: hidden; min-height: 360px; color: #fff; padding: 40px;
	background: radial-gradient(circle at 85% 30%, rgba(206,25,48,.55), transparent 45%), linear-gradient(135deg, #0d0d10 0%, #26262d 100%); display: flex; flex-direction: column; justify-content: center; }
.tc-hero__tag { display: inline-block; background: var(--tc-red); color: #fff; font-weight: 800; letter-spacing: .04em; padding: 6px 16px; border-radius: 4px; font-size: 14px; width: max-content; }
.tc-hero__main h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.05; margin: 18px 0 12px; font-weight: 800; color: #fff; }
.tc-hero__main h1 span { color: #ff4d63; }
.tc-hero__main p { color: #d9dbe0; font-size: 1.1rem; max-width: 520px; margin: 0 0 22px; }
.tc-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--tc-red); color: #fff !important; font-weight: 700; padding: 12px 22px; border-radius: 8px; width: max-content; }
.tc-btn:hover { background: var(--tc-red-dark); }
.tc-btn--light { background: #fff; color: var(--tc-ink) !important; }
.tc-btn--light:hover { background: #f0f0f0; }
.tc-hero__side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.tc-promo { border-radius: 14px; padding: 24px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 172px; }
.tc-promo h3 { margin: 0; font-size: 1.35rem; font-weight: 800; color: #fff; }
.tc-promo p { margin: 0; font-size: .95rem; opacity: .9; }
.tc-promo--red { background: linear-gradient(135deg, #ce1930, #8f0f22); }
.tc-promo--navy { background: linear-gradient(135deg, #0a2c4d, #154e87); }
.tc-perks { max-width: 1280px; margin: 18px auto 0; padding: 0 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tc-perk { display: flex; gap: 12px; align-items: center; border: 1px solid var(--tc-line); border-radius: var(--tc-radius); padding: 14px 16px; background: #fff; }
.tc-perk svg { flex: 0 0 34px; width: 34px; height: 34px; color: var(--tc-red); }
.tc-perk b { display: block; font-size: 15px; }
.tc-perk span { font-size: 13px; color: var(--tc-muted); }
.tc-cats { max-width: 1280px; margin: 26px auto 0; padding: 0 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.tc-cat { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; border: 1px solid var(--tc-line); border-radius: var(--tc-radius);
	padding: 14px 10px; color: var(--tc-ink); background: #fff; transition: box-shadow .15s, border-color .15s; }
.tc-cat:hover { border-color: var(--tc-red); box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.tc-cat img { width: 90px; height: 90px; object-fit: contain; }
.tc-cat__ph { width: 90px; height: 90px; border-radius: 50%; background: var(--tc-soft); display: grid; place-items: center; color: var(--tc-red); font-weight: 800; font-size: 28px; }
.tc-cat b { font-size: 14px; }
.tc-cat small { color: var(--tc-muted); }
.tc-section { max-width: 1280px; margin: 34px auto 0; padding: 0 16px; }
.tc-section__head { display: flex; align-items: flex-end; justify-content: space-between; border-bottom: 1px solid var(--tc-line); margin-bottom: 18px; }
.tc-section__head h2 { margin: 0; padding-bottom: 10px; font-size: 1.45rem; font-weight: 700; letter-spacing: .02em; position: relative; }
.tc-section__head h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 70px; height: 3px; background: var(--tc-red); }
.tc-section__head a { color: var(--tc-ink); font-size: 14px; padding-bottom: 12px; }
.tc-section__head a:hover { color: var(--tc-red); }
@media (max-width: 900px) {
	.tc-hero__grid { grid-template-columns: 1fr; }
	.tc-hero__side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
	.tc-perks { grid-template-columns: 1fr 1fr; }
	.tc-hero__main { padding: 28px 22px; min-height: 300px; }
}
@media (max-width: 560px) { .tc-hero__side { grid-template-columns: 1fr; } .tc-perks { grid-template-columns: 1fr; } }

/* ---------- Tarjetas de producto (bloques y plantillas clásicas) ---------- */
.wc-block-product-template { gap: 14px !important; }
.wc-block-product-template .wc-block-product, ul.products li.product, .tc-card {
	border: 1px solid var(--tc-line); border-radius: var(--tc-radius); background: #fff; padding: 12px 12px 14px !important;
	display: flex; flex-direction: column; transition: box-shadow .15s, border-color .15s; position: relative; }
.wc-block-product-template .wc-block-product:hover, ul.products li.product:hover { border-color: #cfd2d6; box-shadow: 0 8px 22px rgba(0,0,0,.08); }
.wc-block-product .wc-block-components-product-image img, .wc-block-product .wp-block-woocommerce-product-image img { aspect-ratio: 1 / 1; object-fit: contain !important; background: #fff; }
.wc-block-product .wp-block-woocommerce-product-sku { color: var(--tc-muted); font-size: 12px !important; text-align: center; margin: 8px 0 2px !important; }
.wc-block-product .wp-block-woocommerce-product-sku strong { font-weight: 400; }
.wc-block-product .wp-block-post-title { font-size: 15px !important; font-weight: 400; line-height: 1.3 !important; text-align: center; margin: 2px 0 6px !important;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.wc-block-product .wp-block-post-title a { color: var(--tc-ink); }
.wc-block-product .wp-block-post-title a:hover { color: var(--tc-red); }
.wc-block-product .wc-block-components-product-price, .wc-block-product .wp-block-woocommerce-product-price { text-align: center; font-size: 17px !important; font-weight: 700; color: var(--tc-ink); margin-top: auto !important; }
.wc-block-components-product-price del { color: #9a9ea5; font-weight: 400; font-size: 13px; display: block; }
.wc-block-components-product-price ins { text-decoration: none; color: var(--tc-red); }
.wc-block-product .wp-block-button__link, .wc-block-product .wc-block-components-product-button__button {
	background: var(--tc-red) !important; color: #fff !important; border-radius: 6px !important; font-size: 14px !important; padding: 8px 14px !important; border: 0 !important; width: 100%; }
.wc-block-product .wp-block-button__link:hover, .wc-block-product .wc-block-components-product-button__button:hover { background: var(--tc-red-dark) !important; }
.wc-block-product .wc-block-components-product-button { margin-top: 10px !important; margin-bottom: 0 !important; }
.wc-block-components-product-sale-badge, .wc-block-components-product-sale-badge--align-right { background: var(--tc-red) !important; color: #fff !important; border: 0 !important;
	border-radius: 4px !important; font-size: 11px !important; font-weight: 700; padding: 3px 7px !important; text-transform: none; }
.tc-badge-new { position: absolute; top: 18px; right: 18px; z-index: 2; background: #1f9d55; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 4px; }
.tc-out { color: var(--tc-muted); font-size: 13px; text-align: center; margin-top: 6px; }

/* ---------- Catálogo y producto ---------- */
.woocommerce-breadcrumb, .wc-block-breadcrumbs { font-size: 13px; color: var(--tc-muted); }
.tc-shop { max-width: 1280px; margin: 0 auto; padding: 20px 16px 0; }
.tc-shop .wp-block-query-title { font-size: 1.7rem; font-weight: 700; margin: 6px 0 10px; }
.tc-single { max-width: 1280px; margin: 0 auto; padding: 20px 16px 0; }
.tc-single .wp-block-post-title { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 700; line-height: 1.2; }
.tc-single .wp-block-woocommerce-product-price { font-size: 2rem !important; font-weight: 800; color: var(--tc-red); }
.tc-single .wp-block-woocommerce-product-price del { font-size: 1.1rem; color: #9a9ea5; }
.tc-single .single_add_to_cart_button, .tc-single .wp-block-button__link { background: var(--tc-red) !important; color: #fff !important; border-radius: 8px !important; padding: 12px 26px !important; font-weight: 700; border: 0 !important; }
.tc-single .single_add_to_cart_button:hover { background: var(--tc-red-dark) !important; }
.tc-single .quantity .qty { border-radius: 8px; border: 1px solid #d4d6da; padding: 10px; width: 70px; }
.tc-single .wc-block-components-product-stock-indicator, .tc-single .stock { font-weight: 600; color: #1f9d55; }
.tc-single .out-of-stock, .tc-single .wc-block-components-product-stock-indicator--out-of-stock { color: var(--tc-red); }
.tc-trust { list-style: none; padding: 14px 16px; margin: 18px 0 0; border: 1px solid var(--tc-line); border-radius: var(--tc-radius); background: var(--tc-soft); display: grid; gap: 8px; font-size: 14px; }
.tc-trust li { display: flex; gap: 10px; align-items: center; }
.tc-trust svg { width: 20px; height: 20px; color: var(--tc-red); flex: 0 0 20px; }
.tc-single .wp-block-woocommerce-product-image-gallery img { border: 1px solid var(--tc-line); border-radius: var(--tc-radius); background: #fff; }
.wp-block-woocommerce-product-details .wc-tabs li a, .woocommerce-tabs .tabs li a { color: var(--tc-ink); }

/* Botones generales de WooCommerce (carro, checkout) */
.wc-block-components-button:not(.is-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button,
.woocommerce a.button, .woocommerce button.button { background: var(--tc-red) !important; color: #fff !important; border-radius: 8px !important; border: 0 !important; }
.wc-block-components-button:not(.is-link):hover { background: var(--tc-red-dark) !important; }

/* ---------- Pie ---------- */
.tc-footer { background: var(--tc-darker); color: #c9cbd0; margin-top: 56px; font-size: 14px; }
.tc-footer__grid { max-width: 1280px; margin: 0 auto; padding: 44px 16px 26px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.tc-footer h4 { color: #fff; font-size: 15px; margin: 0 0 12px; text-transform: uppercase; letter-spacing: .05em; }
.tc-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.tc-footer a { color: #c9cbd0; }
.tc-footer a:hover { color: #fff; }
.tc-footer__logo { background: #fff; border-radius: 8px; padding: 8px 12px; display: inline-block; margin-bottom: 12px; }
.tc-footer__logo img { width: 130px; display: block; }
.tc-footer__pay { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tc-footer__pay span { background: #26262d; border-radius: 4px; padding: 4px 8px; font-size: 12px; color: #fff; }
.tc-footer__bottom { border-top: 1px solid #2a2a31; text-align: center; padding: 14px 16px; font-size: 13px; color: #8d9097; }
@media (max-width: 900px) { .tc-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tc-footer__grid { grid-template-columns: 1fr; } }

.tc-whatsapp { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; align-items: center; gap: 8px; background: #25d366; color: #fff !important;
	font-weight: 600; padding: 12px 18px; border-radius: 999px; box-shadow: 0 8px 22px rgba(0,0,0,.2); }
.tc-whatsapp svg { width: 22px; height: 22px; fill: #fff; }

/* ---------- Banners de la portada ---------- */
.tc-bigbanner { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 18px; border-radius: 14px; overflow: hidden;
	padding: 28px 28px 28px 40px; color: #fff; text-decoration: none; background: radial-gradient(120% 140% at 85% 30%, #3a0d16 0%, #16161a 55%, #0f0f12 100%); }
.tc-bigbanner h2 { color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.5rem); line-height: 1.1; margin: 14px 0 12px; font-weight: 800; }
.tc-bigbanner ul { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 7px; }
.tc-bigbanner li { color: #d9dade; font-size: 15px; padding-left: 22px; position: relative; }
.tc-bigbanner li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--tc-red); box-shadow: 0 0 0 3px rgba(209,25,46,.25); }
.tc-bigbanner__buy { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.tc-bigbanner__price { font-size: 1.9rem; font-weight: 800; color: #fff; }
.tc-bigbanner__media { background: #fff; border-radius: 18px; aspect-ratio: 1 / 1; max-height: 330px; justify-self: center; display: grid; place-items: center; padding: 10px; box-shadow: 0 18px 40px rgba(0,0,0,.45);
	transform: rotate(2deg); transition: transform .25s; }
.tc-bigbanner:hover .tc-bigbanner__media { transform: rotate(0) scale(1.02); }
.tc-bigbanner__media img { width: 100%; height: 100%; object-fit: contain; }
.tc-minibanners { max-width: 1280px; margin: 18px auto 0; padding: 0 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.tc-minibanner { display: grid; grid-template-columns: 1fr 96px; align-items: center; gap: 10px; padding: 14px 12px 14px 16px; border-radius: var(--tc-radius);
	background: linear-gradient(135deg, #fff 0%, var(--tc-soft) 100%); border: 1px solid var(--tc-line); color: var(--tc-ink); text-decoration: none; transition: box-shadow .15s, border-color .15s; }
.tc-minibanner:hover { border-color: #cfd2d6; box-shadow: 0 8px 22px rgba(0,0,0,.08); }
.tc-minibanner small { display: block; color: var(--tc-red); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.tc-minibanner b { display: block; font-size: 15px; line-height: 1.25; margin: 3px 0 6px; }
.tc-minibanner__price { display: block; font-weight: 800; font-size: 15px; }
.tc-minibanner__price del { color: #9a9ea5; font-weight: 400; font-size: 12px; }
.tc-minibanner__cta { display: block; margin-top: 6px; font-size: 12px; color: var(--tc-muted); }
.tc-minibanner img { width: 96px; height: 96px; object-fit: contain; background: #fff; border-radius: 10px; }
@media (max-width: 760px) { .tc-bigbanner { grid-template-columns: 1fr; padding: 26px 20px; } .tc-bigbanner__media { max-width: 280px; margin: 0 auto; } }
@media (max-width: 560px) { .tc-minibanners { grid-template-columns: 1fr; } }

/* ---------- Fotos de la ficha: cuadro estándar (fotos verticales u horizontales sin estirar la página) ---------- */
.woocommerce-product-gallery .woocommerce-product-gallery__image a,
.woocommerce-product-gallery .woocommerce-product-gallery__image { display: block; background: #fff; }
.woocommerce-product-gallery .woocommerce-product-gallery__image img,
.woocommerce-product-gallery .woocommerce-product-gallery__image img.wp-post-image {
	width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; object-fit: contain; max-height: 540px; background: #fff; }
.woocommerce-product-gallery .flex-viewport { max-height: 560px; border-radius: var(--tc-radius); }
.woocommerce-product-gallery .flex-control-thumbs li img { aspect-ratio: 1 / 1; object-fit: contain; background: #fff; border: 1px solid var(--tc-line); border-radius: 6px; }
.tc-minibanner img, .tc-cat img { aspect-ratio: 1 / 1; object-fit: contain; }

/* ---------- Carrusel de la portada (2026-10-18) ---------- */
.tc-carousel { position: relative; border-radius: 14px; overflow: hidden; min-height: 400px; background: var(--tc-darker); }
.tc-carousel__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.tc-carousel__track::-webkit-scrollbar { display: none; }
.tc-slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 12px;
	padding: 36px 84px 56px 64px; color: #fff !important; position: relative; overflow: hidden; isolation: isolate; text-decoration: none; }
.tc-slide::before { content: ""; position: absolute; right: -140px; top: -160px; width: 560px; height: 560px; border-radius: 50%; border: 70px solid rgba(255,255,255,.045); z-index: -1; }
.tc-slide::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
	background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(255,255,255,.025) 22px 23px); }
.tc-slide--dark { background: radial-gradient(circle at 76% 48%, rgba(206,25,48,.5), transparent 42%), linear-gradient(135deg, #0d0d10, #2a2a31); }
.tc-slide--red { background: radial-gradient(circle at 76% 48%, rgba(255,255,255,.28), transparent 44%), linear-gradient(135deg, #8f0f22, #e0283f); }
.tc-slide--navy { background: radial-gradient(circle at 76% 48%, rgba(70,150,255,.5), transparent 44%), linear-gradient(135deg, #061628, #154e87); }
.tc-slide--graphite { background: radial-gradient(circle at 76% 48%, rgba(255,184,0,.38), transparent 44%), linear-gradient(135deg, #16181c, #3a3f47); }
.tc-slide--wine { background: radial-gradient(circle at 76% 48%, rgba(255,110,135,.4), transparent 44%), linear-gradient(135deg, #2a0710, #7a1424); }
.tc-slide--red .tc-hero__tag, .tc-slide--red .tc-btn { background: #fff; color: var(--tc-red) !important; }
.tc-slide__chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tc-slide__off { background: #ffd400; color: #111; font-weight: 800; font-size: 14px; padding: 6px 10px; border-radius: 4px; letter-spacing: .02em; }
.tc-slide h2 { color: #fff; font-size: clamp(1.5rem, 2.5vw, 2.35rem); line-height: 1.12; margin: 14px 0 12px; font-weight: 800;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tc-slide ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; }
.tc-slide li { color: rgba(255,255,255,.85); font-size: 15px; padding-left: 22px; position: relative; }
.tc-slide li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 9px; height: 5px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg); opacity: .9; }
.tc-slide__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.tc-slide__price b { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; color: #fff; line-height: 1; }
.tc-slide__price del { color: rgba(255,255,255,.6); font-size: 1.05rem; }
.tc-slide__price small { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 3px 10px; font-size: 13px; font-weight: 600; }
.tc-slide__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.tc-slide__actions .tc-btn { box-shadow: 0 8px 22px rgba(0,0,0,.3); transition: transform .15s; }
.tc-slide:hover .tc-btn { transform: translateY(-2px); }
.tc-slide__note { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,.8); }
.tc-slide__note svg { width: 20px; height: 20px; }
.tc-slide__stock { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: #ffd400; font-weight: 700; font-size: 14px; }
.tc-slide__stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ffd400; animation: tc-pulse 1.6s infinite; }
.tc-slide__media { justify-self: center; width: min(88%, 300px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
	background: radial-gradient(circle, #fff 60%, #f1f1f3 70%); box-shadow: 0 0 0 12px rgba(255,255,255,.08), 0 0 0 28px rgba(255,255,255,.04), 0 30px 60px rgba(0,0,0,.4);
	animation: tc-float 6s ease-in-out infinite; }
.tc-slide__media img { width: 74%; height: 74%; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s; }
.tc-slide:hover .tc-slide__media img { transform: scale(1.06); }
.tc-carousel__arrow { position: absolute; top: 50%; translate: 0 -50%; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
	background: rgba(0,0,0,.25); backdrop-filter: blur(6px); color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; transition: background .15s; }
.tc-carousel__arrow:hover { background: rgba(0,0,0,.5); }
.tc-carousel__arrow svg { width: 22px; height: 22px; }
.tc-carousel__arrow--prev { left: 12px; } .tc-carousel__arrow--prev svg { rotate: 90deg; }
.tc-carousel__arrow--next { right: 12px; } .tc-carousel__arrow--next svg { rotate: -90deg; }
.tc-carousel__dots { position: absolute; left: 64px; bottom: 20px; display: flex; gap: 6px; }
.tc-carousel__dots button { width: 26px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255,255,255,.3); cursor: pointer; overflow: hidden; transition: width .25s; }
.tc-carousel__dots button[aria-current] { width: 46px; background: rgba(255,255,255,.35); }
.tc-carousel__dots button span { display: block; height: 100%; width: 0; background: #fff; border-radius: 4px; }
.tc-carousel__dots button[aria-current] span { width: 100%; }
.tc-carousel.is-playing .tc-carousel__dots button[aria-current] span { animation: tc-progress 6.5s linear; }
@keyframes tc-progress { from { width: 0; } to { width: 100%; } }
@keyframes tc-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes tc-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,212,0,.6); } 100% { box-shadow: 0 0 0 10px rgba(255,212,0,0); } }
@media (prefers-reduced-motion: reduce) { .tc-slide__media, .tc-slide__stock::before { animation: none; } }

/* Cuadros laterales */
.tc-promo { position: relative; overflow: hidden; isolation: isolate; transition: transform .15s, box-shadow .15s; }
.tc-promo:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.tc-promo::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 34px solid rgba(255,255,255,.07); z-index: -1; }
.tc-promo__thumbs { display: flex; margin-bottom: auto; }
.tc-promo__thumbs span { width: 64px; height: 64px; border-radius: 50%; background: #fff; display: grid; place-items: center; border: 3px solid rgba(255,255,255,.35);
	margin-right: -14px; box-shadow: 0 6px 14px rgba(0,0,0,.2); overflow: hidden; }
.tc-promo__thumbs img { width: 78%; height: 78%; object-fit: contain; }
.tc-promo__icon { width: 50px; height: 50px; border-radius: 12px; background: rgba(255,255,255,.12); display: grid; place-items: center; margin-bottom: auto; }
.tc-promo__icon svg { width: 28px; height: 28px; }
.tc-promo__cta { font-weight: 700; font-size: 14px; }

@media (max-width: 900px) {
	.tc-carousel { min-height: 0; }
	.tc-slide { grid-template-columns: 1fr; padding: 24px 22px 48px; gap: 6px; }
	.tc-slide__media { order: -1; width: min(62%, 220px); }
	.tc-carousel__arrow { display: none; }
	.tc-carousel__dots { left: 22px; bottom: 18px; }
}
@media (max-width: 560px) { .tc-slide ul { display: none; } .tc-slide::before { width: 360px; height: 360px; border-width: 46px; } }

/* ---------- Beneficios y banners chicos (2026-10-18 v2) ---------- */
.tc-perks { gap: 14px; }
.tc-perk { align-items: flex-start; padding: 18px; gap: 14px; border-radius: 12px; transition: border-color .15s, box-shadow .15s; }
.tc-perk:hover { border-color: rgba(206,25,48,.35); box-shadow: 0 8px 22px rgba(0,0,0,.06); }
.tc-perk__icon { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(206,25,48,.08); color: var(--tc-red); }
.tc-perk__icon svg { width: 26px; height: 26px; flex: none; }
.tc-perk b { font-size: 15px; margin-bottom: 4px; }
.tc-perk span:not(.tc-perk__icon) { font-size: 13px; line-height: 1.45; display: block; }

.tc-minibanners { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; }
.tc-minibanner { grid-template-columns: 1fr 112px; padding: 18px 16px 18px 20px; border: 0; border-radius: 14px; color: #fff !important; position: relative; overflow: hidden; isolation: isolate;
	transition: transform .15s, box-shadow .15s; }
.tc-minibanner::before { content: ""; position: absolute; right: -50px; bottom: -70px; width: 190px; height: 190px; border-radius: 50%; background: rgba(255,255,255,.08); z-index: -1; }
.tc-minibanner:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.18); border: 0; }
.tc-minibanner--red { background: linear-gradient(135deg, #a8132a, #e0283f); }
.tc-minibanner--navy { background: linear-gradient(135deg, #0a2340, #1a5a99); }
.tc-minibanner--graphite { background: linear-gradient(135deg, #1b1d22, #424852); }
.tc-minibanner--wine { background: linear-gradient(135deg, #3b0a14, #8a1a2c); }
.tc-minibanner small { color: rgba(255,255,255,.75); }
.tc-minibanner b { color: #fff; font-size: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tc-minibanner__price { font-size: 19px; color: #fff; }
.tc-minibanner__price del { color: rgba(255,255,255,.6); margin-right: 6px; }
.tc-minibanner__cta { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--tc-ink); background: #fff; border-radius: 999px; padding: 6px 14px; transition: transform .15s; }
.tc-minibanner:hover .tc-minibanner__cta { transform: translateX(3px); }
.tc-minibanner__media { position: relative; width: 112px; height: 112px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(255,255,255,.12), 0 10px 24px rgba(0,0,0,.25); }
.tc-minibanner__media img { width: 78%; height: 78%; background: none; border-radius: 0; mix-blend-mode: multiply; transition: transform .25s; }
.tc-minibanner:hover .tc-minibanner__media img { transform: scale(1.08); }
.tc-minibanner__media em { position: absolute; top: -4px; right: -4px; background: #ffd400; color: #111; font-style: normal; font-weight: 800; font-size: 12px; padding: 3px 7px; border-radius: 999px; }
.tc-footer__pay { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
.tc-footer__pay img { width: 58px; height: 36px; object-fit: contain; background: #fff; border-radius: 6px; padding: 4px 6px; box-sizing: border-box; }
.tc-footer__pay span { font-size: 12px; font-weight: 600; background: #fff; color: var(--tc-ink); border-radius: 6px; padding: 0 10px; height: 36px; display: inline-flex; align-items: center; }

/* Carrito y checkout: sin la línea «Incluyendo $X IVA» (los precios ya son con IVA). */
.wc-block-components-totals-footer-item .wc-block-components-totals-footer-item-tax { display: none !important; }

/* ---------- Banners v3 (2026-10-19): alto fijo, foto en recuadro, sin deformarse con fotos grandes ---------- */
.tc-hero__grid { align-items: stretch; }
.tc-carousel { height: 440px; min-height: 0; }
.tc-carousel__track { height: 100%; scroll-snap-stop: always; }
.tc-slide { height: 100%; box-sizing: border-box; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); padding: 36px 76px 60px 64px; gap: 24px; }
.tc-slide__text { min-width: 0; }
.tc-slide h2 { font-size: clamp(1.4rem, 2.1vw, 2rem); -webkit-line-clamp: 3; margin: 12px 0 10px; }
.tc-slide__media { position: relative; width: 300px; height: 300px; max-width: 100%; aspect-ratio: auto; border-radius: 24px; background: #fff;
	box-shadow: 0 24px 50px rgba(0,0,0,.35), 0 0 0 10px rgba(255,255,255,.07); animation: tc-float 6s ease-in-out infinite; flex: none; }
.tc-slide__media::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -26px; height: 18px; border-radius: 50%; background: rgba(0,0,0,.35); filter: blur(10px); z-index: -1; }
.tc-slide__media img { width: auto; height: auto; max-width: 80%; max-height: 80%; object-fit: contain; }
.tc-slide__free { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); color: #fff; font-weight: 700; font-size: 13px; padding: 5px 10px; border-radius: 999px; }
.tc-slide__free svg { width: 16px; height: 16px; }
.tc-hero__side { grid-template-rows: 1fr 1fr; height: 440px; }
.tc-promo { min-height: 0; }

.tc-minibanner { height: 158px; box-sizing: border-box; grid-template-columns: minmax(0, 1fr) 118px; padding: 16px 16px 16px 20px; }
.tc-minibanner__text { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.tc-minibanner small { display: inline-block; width: max-content; background: rgba(255,255,255,.16); color: #fff; padding: 3px 8px; border-radius: 999px; font-size: 10px; }
.tc-minibanner b { margin: 6px 0 4px; font-size: 15px; }
.tc-minibanner__price { font-size: 18px; }
.tc-minibanner__cta { width: max-content; margin-top: 8px; padding: 5px 12px; }
.tc-minibanner__free { position: absolute; left: 20px; bottom: 10px; display: none; }
.tc-minibanner__media { width: 118px; height: 118px; border-radius: 18px; }
.tc-minibanner__media img { width: auto !important; height: auto !important; max-width: 82% !important; max-height: 82% !important; object-fit: contain; aspect-ratio: auto !important; }

@media (max-width: 900px) {
	.tc-carousel { height: 560px; }
	.tc-slide { grid-template-columns: 1fr; grid-template-rows: 210px 1fr; padding: 22px 22px 50px; gap: 14px; }
	.tc-slide__media { width: 210px; height: 210px; justify-self: center; }
	.tc-slide h2 { -webkit-line-clamp: 2; }
	.tc-hero__side { height: auto; }
	.tc-promo { min-height: 160px; }
}
@media (max-width: 560px) { .tc-carousel { height: 540px; } .tc-minibanner { height: 150px; } }
/* Fotos dentro del recuadro, en px (el % no aplica en celdas de grilla sin alto definido). */
.tc-slide__media { display: flex !important; align-items: center; justify-content: center; overflow: hidden; }
.tc-slide__media img { max-width: 240px !important; max-height: 240px !important; width: auto !important; height: auto !important; }
.tc-minibanner__media { display: flex !important; align-items: center; justify-content: center; overflow: hidden; }
.tc-minibanner__media img { max-width: 96px !important; max-height: 96px !important; }
@media (max-width: 900px) { .tc-slide__media img { max-width: 168px !important; max-height: 168px !important; } }
