/*
Theme Name: Ferredistribución Temuco
Template: astra
Description: Tema hijo de Astra para la tienda de ferretería y seguridad industrial de Ferredistribución Temuco SpA.
Author: VendeWEB.cl
Author URI: https://vendeweb.cl
Version: 1.0.0
Text Domain: ferre-child
*/

:root {
	--fd-acento: #FFC20E;       /* amarillo seguridad: botones de compra, siempre con texto marino */
	--fd-acento-osc: #F2AE00;
	--fd-azul: #0A4FB3;         /* íconos y enlaces sobre blanco (7,4:1) */
	--fd-azul-osc: #083D8A;
	--fd-amarillo: #FFC20E;
	--fd-grafito: #0E1E36;      /* azul marino de cabecera, pie y textos */
	--fd-grafito-2: #13294B;
	--fd-gris: #5B6470;
	--fd-borde: #E3E6EA;
	--fd-humo: #F4F5F7;
	--fd-verde: #128C4B;
	--fd-wa: #1FA855;
	--fd-rojo: #D72C1E;
	--fd-radio: 10px;
	--fd-sombra: 0 1px 2px rgba(16, 24, 40, .06), 0 6px 18px rgba(16, 24, 40, .07);
	--fd-tit: 'Barlow Condensed', 'Arial Narrow', sans-serif;
	--fd-txt: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

body.fd { font-family: var(--fd-txt); color: var(--fd-grafito); background: #fff; font-size: 15px; }
body.fd h1, body.fd h2, body.fd h3, body.fd .product_title, body.fd .woocommerce-loop-product__title { font-family: var(--fd-tit); letter-spacing: .2px; color: var(--fd-grafito); }
body.fd a { color: var(--fd-azul); }
.fd-wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.fd-ico { width: 20px; height: 20px; flex: none; }
.fd-pre { display: inline-block; font: 700 13px/1 var(--fd-txt); text-transform: uppercase; letter-spacing: 1.4px; color: var(--fd-azul); margin-bottom: 10px; }
.fd-hero__txt .fd-pre, .fd-b2b .fd-pre { color: var(--fd-acento); }

/* ---------- botones ---------- */
.fd-btn, body.fd .fd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 8px; border: 2px solid transparent; font: 700 15px/1.1 var(--fd-txt); text-decoration: none !important; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; }
.fd-btn:hover { transform: translateY(-1px); }
.fd-btn--xl { padding: 15px 26px; font-size: 16px; }
.fd-btn--bloque { display: flex; width: 100%; }
.fd-btn--acento, body.fd .fd-btn--acento { background: var(--fd-acento); color: var(--fd-grafito) !important; box-shadow: 0 4px 14px rgba(242, 174, 0, .35); }
.fd-btn--acento:hover { background: var(--fd-acento-osc); }
.fd-btn--claro, body.fd .fd-btn--claro { background: rgba(255,255,255,.08); color: #fff !important; border-color: rgba(255,255,255,.7); }
.fd-btn--claro:hover { background: #fff; color: var(--fd-grafito) !important; }
.fd-btn--grafito, body.fd .fd-btn--grafito { background: var(--fd-grafito); color: #fff !important; }
.fd-btn--grafito:hover { background: #000; }
.fd-btn--wa, body.fd .fd-btn--wa { background: var(--fd-wa); color: #fff !important; }
.fd-btn--wa:hover { background: #178a45; }

/* ---------- franja superior ---------- */
.fd-franja { background: var(--fd-grafito); color: #E8EAED; font-size: 13px; }
.fd-franja__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.fd-franja span, .fd-franja a { display: inline-flex; align-items: center; gap: 7px; color: #E8EAED !important; text-decoration: none; }
.fd-franja .fd-ico { width: 16px; height: 16px; color: var(--fd-amarillo); }
.fd-franja a { font-weight: 700; color: var(--fd-amarillo) !important; }

/* ---------- cabecera ---------- */
.fd-cab { position: sticky; top: 0; z-index: 90; background: #fff; border-bottom: 1px solid var(--fd-borde); transition: box-shadow .2s; }
.fd-cab.is-fijo { box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.admin-bar .fd-cab { top: 32px; }
.fd-cab__in { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.fd-cab__menu { display: none; background: none; border: 0; padding: 6px; color: var(--fd-grafito); }
.fd-cab__menu .fd-ico { width: 28px; height: 28px; }
.fd-cab__logo { text-decoration: none !important; flex: none; }
.fd-logo { display: inline-flex; align-items: center; gap: 10px; }
.fd-logo__iso { width: 46px; height: 46px; }
.fd-logo__txt { display: flex; flex-direction: column; line-height: 1; }
.fd-logo__txt b { font: 800 25px/1 var(--fd-tit); letter-spacing: .3px; }
.fd-logo__txt b span { color: var(--fd-azul); }
.fd-pie .fd-logo__txt b span { color: var(--fd-acento); }
.fd-logo__txt small { font: 700 11.5px/1 var(--fd-txt); letter-spacing: 3.2px; color: var(--fd-gris); margin-top: 5px; }
.fd-pie .fd-logo__txt small { color: #9AA3AE; }

.fd-buscar { flex: 1; display: flex; max-width: 620px; border: 2px solid var(--fd-grafito); border-radius: 10px; overflow: hidden; background: #fff; }
.fd-buscar input[type=search] { flex: 1; border: 0 !important; padding: 12px 16px !important; font-size: 15px; outline: none; background: transparent; box-shadow: none !important; min-width: 0; }
.fd-buscar button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--fd-acento); color: var(--fd-grafito); padding: 0 20px; font-weight: 700; border-radius: 0; }
.fd-buscar button:hover { background: var(--fd-acento-osc); }
.fd-cab__acc { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.fd-cab__acc a { display: inline-flex; align-items: center; gap: 8px; color: var(--fd-grafito) !important; text-decoration: none; }
.fd-cab__acc .fd-ico { width: 26px; height: 26px; }
.fd-cab__ayuda span, .fd-carro__txt { display: flex; flex-direction: column; line-height: 1.15; }
.fd-cab__ayuda small, .fd-carro__txt small { font-size: 11.5px; color: var(--fd-gris); }
.fd-cab__ayuda b, .fd-carro__txt b { font-size: 14.5px; }
.fd-cab__ayuda .fd-ico { color: var(--fd-azul); }
.fd-carro { position: relative; }
.fd-carro__n { position: absolute; top: -6px; left: 16px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--fd-azul); color: #fff; font: 700 11.5px/20px var(--fd-txt); text-align: center; }

.fd-nav { background: var(--fd-grafito-2); }
.fd-nav__in { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.fd-nav a { display: inline-flex; align-items: center; gap: 7px; padding: 12px 14px; color: #fff !important; text-decoration: none; font-weight: 600; font-size: 14.5px; white-space: nowrap; border-bottom: 3px solid transparent; }
.fd-nav a .fd-ico { width: 18px; height: 18px; opacity: .85; }
.fd-nav a:hover, .fd-nav a[aria-current] { background: rgba(255,255,255,.07); border-bottom-color: var(--fd-acento); }
.fd-nav__todo { background: var(--fd-acento); }
.fd-nav a.fd-nav__todo { color: var(--fd-grafito) !important; font-weight: 700; }
.fd-nav a.fd-nav__todo:hover { background: var(--fd-acento-osc); }
.fd-nav__ofertas { color: var(--fd-amarillo) !important; font-weight: 800 !important; }
.fd-nav__empresas { margin-left: auto; }

/* ---------- hero ---------- */
.fd-hero { position: relative; height: clamp(420px, 44vw, 560px); background: var(--fd-grafito); overflow: hidden; }
.fd-hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s, visibility .7s; display: flex; align-items: center; }
.fd-hero__slide.is-on { opacity: 1; visibility: visible; }
.fd-hero__slide picture, .fd-hero__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fd-hero__slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,22,42,.92) 0%, rgba(10,22,42,.72) 38%, rgba(10,22,42,.08) 72%); }
.fd-hero__txt { position: relative; z-index: 2; width: 100%; color: #fff; }
.fd-hero__txt h1, .fd-hero__txt h2 { color: #fff !important; font: 800 clamp(36px, 4.6vw, 62px)/1 var(--fd-tit); max-width: 620px; margin: 0 0 16px; text-transform: uppercase; }
.fd-hero__txt p { max-width: 520px; font-size: 17.5px; line-height: 1.55; color: #E3E6EA; margin: 0 0 26px; }
.fd-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.fd-hero__dots { position: absolute; z-index: 3; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.fd-hero__dots button { width: 34px; height: 5px; padding: 0; border: 0; border-radius: 3px; background: rgba(255,255,255,.4); cursor: pointer; }
.fd-hero__dots button[aria-current] { background: var(--fd-acento); }

/* ---------- beneficios ---------- */
.fd-benef { background: var(--fd-humo); border-bottom: 1px solid var(--fd-borde); }
.fd-benef__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.fd-benef__item { display: flex; gap: 12px; align-items: center; }
.fd-benef__item .fd-ico { width: 38px; height: 38px; padding: 8px; border-radius: 50%; background: #fff; color: var(--fd-azul); box-shadow: var(--fd-sombra); }
.fd-benef__item b { display: block; font-size: 14.5px; }
.fd-benef__item span { font-size: 13px; color: var(--fd-gris); }

/* ---------- secciones ---------- */
.fd-sec { padding-top: 48px; padding-bottom: 12px; }
.fd-sec--ofertas { background: linear-gradient(180deg, #FFF8E1 0%, #fff 100%); padding-bottom: 24px; margin-top: 36px; }
.fd-sec__cab { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 22px; border-bottom: 2px solid var(--fd-borde); padding-bottom: 12px; }
.fd-sec__cab h2 { margin: 0; font-size: clamp(26px, 3vw, 34px); font-weight: 800; text-transform: uppercase; }
.fd-sec__cab a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.fd-sec__cab a .fd-ico { width: 18px; }
.fd-etq { background: var(--fd-rojo); color: #fff; padding: 0 10px; border-radius: 6px; }

.fd-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.fd-cat { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--fd-borde); border-radius: var(--fd-radio); overflow: hidden; text-decoration: none !important; transition: box-shadow .2s, transform .2s, border-color .2s; }
.fd-cat:hover { box-shadow: var(--fd-sombra); transform: translateY(-3px); border-color: var(--fd-azul); }
.fd-cat__img img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 10px; transition: transform .3s; }
.fd-cat:hover .fd-cat__img img { transform: scale(1.05); }
.fd-cat__nom { display: flex; align-items: center; gap: 8px; padding: 12px 14px 2px; font: 700 19px/1.1 var(--fd-tit); color: var(--fd-grafito); text-transform: uppercase; }
.fd-cat__nom .fd-ico { color: var(--fd-azul); }
.fd-cat__n { padding: 0 14px 14px; font-size: 13px; color: var(--fd-gris); }

/* ---------- banner empresas ---------- */
.fd-b2b { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; margin-top: 48px; padding: 40px; border-radius: 16px; background: radial-gradient(circle at 85% 20%, rgba(30,110,230,.5), transparent 50%), var(--fd-grafito); color: #E3E6EA; }
.fd-b2b h2 { color: #fff !important; font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; text-transform: uppercase; margin: 0 0 12px; line-height: 1; }
.fd-b2b p { font-size: 16px; line-height: 1.6; }
.fd-b2b ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 8px; }
.fd-b2b li { display: flex; gap: 10px; align-items: center; }
.fd-b2b li .fd-ico { color: var(--fd-amarillo); }
.fd-b2b__num { display: grid; gap: 14px; align-content: center; }
.fd-b2b__num div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 18px 20px; }
.fd-b2b__num b { display: block; font: 800 38px/1 var(--fd-tit); color: var(--fd-acento); }
.fd-b2b__num span { font-size: 14px; }

.fd-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.fd-duo__b { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 30px; min-height: 230px; border-radius: 14px; text-decoration: none !important; color: var(--fd-grafito); background: #FFF8E1; border: 1px solid #FCE7A6; background-repeat: no-repeat; background-position: right 20px center; background-size: auto 85%; }
.fd-duo__b b { font: 800 28px/1.05 var(--fd-tit); text-transform: uppercase; max-width: 60%; }
.fd-duo__b > span:not(.fd-btn):not(.fd-pre) { max-width: 58%; color: var(--fd-gris); }
.fd-duo__b .fd-btn { margin-top: auto; }
.fd-duo__b--sold { background-color: #F1F3F6; border-color: var(--fd-borde); }
.fd-duo__b strong { color: var(--fd-rojo); font-size: 18px; }

/* ---------- tienda física + FAQ ---------- */
.fd-tienda { background: var(--fd-humo); margin-top: 56px; padding: 56px 0; }
.fd-tienda__in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.fd-tienda h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 800; text-transform: uppercase; margin: 0 0 12px; }
.fd-faq h3 { font-size: 24px; text-transform: uppercase; margin: 0 0 12px; }
.fd-faq details { background: #fff; border: 1px solid var(--fd-borde); border-radius: 10px; margin-bottom: 10px; padding: 14px 18px; }
.fd-faq summary { font-weight: 700; cursor: pointer; }
.fd-faq p { margin: 10px 0 0; color: var(--fd-gris); }

/* ---------- tarjetas de producto ---------- */
body.fd ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0 0 24px !important; }
body.fd ul.products::before, body.fd ul.products::after { display: none !important; }
body.fd ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; background: #fff; border: 1px solid var(--fd-borde); border-radius: var(--fd-radio); padding: 14px !important; display: flex; flex-direction: column; position: relative; transition: box-shadow .2s, border-color .2s; }
body.fd ul.products li.product:hover { box-shadow: var(--fd-sombra); border-color: #CDD2D8; }
body.fd ul.products li.product .astra-shop-thumbnail-wrap { margin-bottom: 10px; }
body.fd ul.products li.product img { aspect-ratio: 1; object-fit: contain; border-radius: 6px; }
body.fd ul.products li.product .astra-shop-summary-wrap { display: flex; flex-direction: column; flex: 1; }
body.fd .ast-woo-product-category { display: none; }
.fd-tarjeta__sku { font-size: 11.5px; color: #8A929C; letter-spacing: .3px; }
body.fd ul.products li.product .woocommerce-loop-product__title { font: 600 15px/1.35 var(--fd-txt) !important; color: var(--fd-grafito); margin: 4px 0 8px !important; min-height: 2.7em; }
body.fd ul.products li.product .price { font: 800 24px/1.1 var(--fd-tit) !important; color: var(--fd-grafito) !important; margin-bottom: 2px !important; display: flex !important; flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 8px; }
body.fd ul.products li.product .price del { font: 500 14px var(--fd-txt); color: #8A929C; opacity: 1; }
body.fd ul.products li.product .price ins { text-decoration: none; color: var(--fd-rojo); }
.fd-ahorro { display: block; font-size: 12.5px; font-weight: 700; color: var(--fd-verde); }
.fd-ahorro--grande { font-size: 15px; margin: -6px 0 14px; }
.fd-iva { font-size: 13px; color: var(--fd-gris); margin: -6px 0 14px; }
.fd-stock { display: block; font-size: 12px; margin-top: 4px; }
.fd-stock--ok { color: var(--fd-verde); }
body.fd ul.products li.product .button, body.fd.woocommerce ul.products li.product a.button { margin-top: auto !important; width: 100%; text-align: center; background: var(--fd-acento) !important; color: var(--fd-grafito) !important; border-radius: 8px !important; padding: 12px 10px !important; font: 700 14.5px/1 var(--fd-txt) !important; border: 0 !important; }
body.fd ul.products li.product .button:hover { background: var(--fd-acento-osc) !important; }
body.fd ul.products li.product .added_to_cart { display: block; text-align: center; font-weight: 700; font-size: 13.5px; margin-top: 8px; }
body.fd ul.products li.product .astra-shop-summary-wrap > .button { margin-top: 12px !important; }
body.fd .onsale, body.fd span.onsale.fd-dcto { background: var(--fd-rojo) !important; color: #fff !important; border-radius: 6px !important; min-width: 0 !important; min-height: 0 !important; padding: 5px 9px !important; font: 800 15px/1 var(--fd-tit) !important; top: 12px !important; left: 12px !important; right: auto !important; position: absolute; z-index: 3; }
body.fd .woocommerce-loop-product__link { text-decoration: none !important; }

/* ---------- ficha de producto ---------- */
body.fd.single-product .site-content { background: #fff; }
body.fd.single-product div.product .woocommerce-product-gallery { border: 1px solid var(--fd-borde); border-radius: 12px; padding: 10px; }
body.fd.single-product .product_title { font-size: clamp(28px, 3vw, 38px) !important; font-weight: 800; line-height: 1.05; }
body.fd.single-product div.product .summary .price { font: 800 40px/1 var(--fd-tit) !important; color: var(--fd-grafito) !important; display: flex !important; flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 12px; margin-bottom: 12px; }
body.fd.single-product div.product .summary .price del { font: 500 18px var(--fd-txt); color: #8A929C; opacity: 1; }
body.fd.single-product div.product .summary .price ins { text-decoration: none; color: var(--fd-rojo); }
body.fd.single-product .stock.in-stock { color: var(--fd-verde); font-weight: 700; }
body.fd.single-product form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; padding: 16px; background: var(--fd-humo); border-radius: 12px; margin: 16px 0 !important; }
body.fd.single-product form.cart .quantity { margin: 0 !important; }
body.fd.single-product form.cart .quantity input.qty { height: 52px; width: 70px; border-radius: 8px; font-weight: 700; font-size: 17px; }
body.fd.single-product form.cart .single_add_to_cart_button { flex: 1; min-height: 52px; background: var(--fd-acento) !important; color: var(--fd-grafito) !important; border-radius: 8px !important; font: 700 16.5px var(--fd-txt) !important; margin: 0 !important; }
body.fd.single-product form.cart .single_add_to_cart_button:hover { background: var(--fd-acento-osc) !important; }
body.fd.single-product .fd-comprar-ahora { flex-basis: 100%; min-height: 52px; font-size: 16.5px; }
.fd-ficha-extra { margin: 6px 0 18px; }
.fd-confianza { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; border: 1px solid var(--fd-borde); border-radius: 12px; padding: 16px; }
.fd-confianza li { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--fd-gris); }
.fd-confianza li b { color: var(--fd-grafito); }
.fd-confianza .fd-ico { color: var(--fd-azul); width: 24px; height: 24px; }
.fd-specs { width: 100%; border-collapse: collapse; margin: 6px 0 16px; font-size: 14px; border: 1px solid var(--fd-borde); border-radius: 10px; overflow: hidden; }
.fd-specs caption { text-align: left; font: 700 18px var(--fd-tit); text-transform: uppercase; padding: 0 0 8px; }
.fd-specs th, .fd-specs td { padding: 9px 12px; border-bottom: 1px solid var(--fd-borde); text-align: left; }
.fd-specs th { width: 40%; background: var(--fd-humo); font-weight: 600; }
body.fd.single-product .product_meta { font-size: 13px; color: var(--fd-gris); }
body.fd .woocommerce-tabs ul.tabs li a { font-family: var(--fd-tit); font-size: 18px; text-transform: uppercase; }
body.fd .related > h2, body.fd .upsells > h2 { font-size: 30px; text-transform: uppercase; font-weight: 800; }

/* ---------- archivo / tienda ---------- */
body.fd .woocommerce-products-header__title, body.fd.archive .page-title { font-size: clamp(30px, 3.4vw, 44px) !important; font-weight: 800; text-transform: uppercase; }
body.fd .term-description { color: var(--fd-gris); max-width: 760px; }
body.fd .woocommerce-breadcrumb { font-size: 13px; }

/* ---------- pie ---------- */
.fd-pie { background: var(--fd-grafito); color: #C3C9D1; margin-top: 0; }
.fd-pie__in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; padding-top: 52px; padding-bottom: 40px; }
.fd-pie p { font-size: 14px; line-height: 1.6; margin: 14px 0 18px; }
.fd-pie h3 { color: #fff !important; font-size: 19px; text-transform: uppercase; margin: 0 0 14px; }
.fd-pie ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14px; }
.fd-pie a { color: #C3C9D1 !important; text-decoration: none; }
.fd-pie a:hover { color: var(--fd-acento) !important; }
.fd-pie__contacto li, .fd-tienda .fd-pie__contacto li { display: flex; gap: 10px; align-items: flex-start; }
.fd-pie__contacto .fd-ico { color: var(--fd-acento); width: 18px; height: 18px; margin-top: 1px; }
.fd-tienda .fd-pie__contacto .fd-ico { color: var(--fd-azul); }
.fd-tienda .fd-pie__contacto { list-style: none; padding: 0; margin: 16px 0 22px; display: grid; gap: 8px; }
.fd-pie__base { border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.fd-pie__base-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 16px; padding-bottom: 16px; }
.fd-pie__base a { color: #fff !important; font-weight: 700; }

/* ---------- WhatsApp flotante ---------- */
.fd-wa-flot { position: fixed; right: 18px; bottom: 18px; z-index: 99; display: flex; align-items: center; gap: 8px; background: var(--fd-wa); color: #fff !important; text-decoration: none !important; border-radius: 40px; padding: 10px 16px 10px 10px; box-shadow: 0 8px 24px rgba(0,0,0,.22); font-weight: 700; font-size: 14px; }
.fd-wa-flot svg { width: 30px; height: 30px; }

/* Astra: quitar el espacio del contenedor en la portada */
.home.fd .site-content > .ast-container { display: block; }
.home.fd #primary { margin: 0 !important; padding: 0 !important; }
body.fd .site-content { background: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
	.fd-cab__ayuda { display: none !important; }
	.fd-cats { grid-template-columns: repeat(3, 1fr); }
	body.fd ul.products { grid-template-columns: repeat(3, 1fr); }
	.fd-pie__in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
	.fd-ocultar-movil { display: none !important; }
	.fd-franja__in { justify-content: center; }
	.fd-cab__in { flex-wrap: wrap; gap: 10px 14px; min-height: 0; padding-top: 10px; padding-bottom: 10px; }
	.fd-cab__menu { display: inline-flex; }
	.fd-logo__iso { width: 38px; height: 38px; }
	.fd-logo__txt b { font-size: 21px; }
	.fd-logo__txt small { font-size: 10px; letter-spacing: 2.4px; }
	.fd-buscar { order: 3; flex-basis: 100%; max-width: none; }
	.fd-buscar button span { display: none; }
	.fd-carro__txt { display: none !important; }
	.fd-nav { display: none; }
	body.fd-nav-abierto .fd-nav { display: block; }
	.fd-nav__in { flex-direction: column; }
	.fd-nav__empresas { margin-left: 0; }
	.fd-benef__in { grid-template-columns: 1fr 1fr; }
	.fd-b2b { grid-template-columns: 1fr; padding: 28px 22px; margin-left: 16px; margin-right: 16px; }
	.fd-duo, .fd-tienda__in { grid-template-columns: 1fr; }
	.fd-hero { height: 560px; }
	.fd-hero__slide { align-items: flex-end; padding-bottom: 60px; }
	.fd-hero__slide::after { background: linear-gradient(0deg, rgba(10,22,42,.95) 0%, rgba(10,22,42,.75) 50%, rgba(10,22,42,.15) 100%); }
	.fd-wa-flot span { display: none; }
	.fd-wa-flot { padding: 12px; }
}
@media (max-width: 600px) {
	.fd-wrap { padding: 0 16px; }
	.fd-cats { grid-template-columns: 1fr 1fr; gap: 10px; }
	body.fd ul.products { grid-template-columns: 1fr 1fr; gap: 10px; }
	body.fd ul.products li.product { padding: 10px !important; }
	body.fd ul.products li.product .price { font-size: 20px !important; flex-direction: column-reverse; align-items: flex-start; gap: 0; }
	body.fd ul.products li.product .woocommerce-loop-product__title { font-size: 13.5px !important; }
	body.fd ul.products li.product .button { font-size: 13px !important; padding: 11px 6px !important; }
	.fd-benef__in { grid-template-columns: 1fr; gap: 12px; }
	.fd-pie__in { grid-template-columns: 1fr; }
	.fd-sec__cab { flex-direction: column; align-items: flex-start; }
	.fd-duo__b b, .fd-duo__b > span:not(.fd-btn):not(.fd-pre) { max-width: 100%; }
	.fd-duo__b { background-image: none !important; }
	.fd-hero__ctas .fd-btn { width: 100%; }
	.fd-franja span:first-child { font-size: 12px; }
	.fd-franja a { display: none; }
}

/* Fondos de los banners dobles (multiply funde el blanco de la foto con el color) */
.fd-duo__b--kit { background-image: url('assets/img/duo-kit.jpg'); background-blend-mode: multiply; }
.fd-duo__b--sold { background-image: url('assets/img/duo-soldadora.jpg'); background-blend-mode: multiply; }

/* Tarjeta: insignia % propia, sin los botones flotantes ni la categoría de Astra */
body.fd ul.products li.product .ast-on-card-button { display: none !important; }
body.fd ul.products li.product .astra-shop-thumbnail-wrap { position: relative; }
.fd-dcto-card { position: absolute; top: 10px; left: 10px; z-index: 3; background: var(--fd-rojo); color: #fff; border-radius: 6px; padding: 5px 9px; font: 800 16px/1 var(--fd-tit); }
body.fd ul.products li.product .ast-woo-product-category, body.fd ul.products li.product .astra-shop-summary-wrap > span.ast-woo-product-category { display: none !important; }
.fd-tarjeta__sku { display: block; margin-top: 8px; }
body.fd ul.products li.product .fd-stock { margin-bottom: 12px; }

/* Carro y pago (bloques de WooCommerce) */
body.fd .wc-block-components-checkout-place-order-button, body.fd .wc-block-cart__submit-button { background: var(--fd-acento) !important; color: var(--fd-grafito) !important; border-radius: 8px !important; font-weight: 700 !important; min-height: 54px; font-size: 17px !important; }
body.fd .wc-block-components-checkout-place-order-button:hover, body.fd .wc-block-cart__submit-button:hover { background: var(--fd-acento-osc) !important; }
body.fd .wc-block-components-radio-control__option-checked, body.fd .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted { box-shadow: inset 0 0 0 2px var(--fd-azul) !important; }
body.fd .woocommerce-checkout .entry-title, body.fd.woocommerce-cart .entry-title { font-size: 40px; text-transform: uppercase; font-weight: 800; }
