/* Catálogo web Dafon – estilos (formato de catálogo industrial, colores de Dafon) */
:root {
	--dfn-red: #c00000;
	--dfn-red-d: #8f0000;
	--dfn-red-b: #e3170a;
	--dfn-ink: #232325;
	--dfn-text: #3a3a3c;
	--dfn-gray: #898b8a;
	--dfn-muted: #6b6d70;
	--dfn-line: #e2e3e5;
	--dfn-bg: #f4f4f5;
	--dfn-dark: #1d1d1f;
	--dfn-gold: #b98b35;
	--dfn-wa: #1faa53;
	--dfn-radius: 8px;
	--dfn-shadow: 0 6px 22px rgba(20, 20, 25, .08);
	--dfn-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
	--dfn-body: "Barlow", Arial, Helvetica, sans-serif;
}

/* ---------- Base ---------- */
.dfn, .dfn * { box-sizing: border-box; }
.dfn { font-family: var(--dfn-body); color: var(--dfn-text); font-size: 16px; line-height: 1.55; }
.dfn a { color: inherit; text-decoration: none; }
.dfn img { max-width: 100%; height: auto; display: block; }
.dfn .dfn-ico { width: 20px; height: 20px; flex: 0 0 auto; display: inline-block; vertical-align: middle; }
.dfn-wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.dfn [hidden] { display: none !important; }
.dfn button, .dfn input, .dfn textarea, .dfn select { font-family: inherit; }
.dfn button { background: none; border: 0; border-radius: 0; color: inherit; padding: 0; margin: 0; cursor: pointer; font-size: inherit; line-height: inherit; text-transform: none; box-shadow: none; }
.dfn button:hover, .dfn button:focus { background: none; color: inherit; }
.dfn :focus-visible { outline: 3px solid rgba(192, 0, 0, .35); outline-offset: 2px; }
.dfn h1, .dfn h2, .dfn h3 { font-family: var(--dfn-head); color: var(--dfn-ink); margin: 0; line-height: 1.1; letter-spacing: .01em; }
.dfn p { margin: 0 0 .8em; }
.dfn table { border-collapse: collapse; width: 100%; margin: 0; }
.dfn-main { background: #fff; padding-bottom: 56px; }
body .dfn-main.site-main, body:not([class*=elementor-page-]) .dfn-main.site-main { max-width: none; width: 100%; padding-left: 0; padding-right: 0; margin-left: 0; margin-right: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ---------- Botones ---------- */
.dfn .dfn-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--dfn-red); color: #fff; border: 2px solid var(--dfn-red); border-radius: 999px; padding: 10px 22px; font-weight: 700; font-size: 15px; line-height: 1.2; text-align: center; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.dfn .dfn-btn:hover, .dfn .dfn-btn:focus { background: var(--dfn-red-d); border-color: var(--dfn-red-d); color: #fff; }
.dfn .dfn-btn .dfn-ico { width: 18px; height: 18px; }
.dfn .dfn-btn--ghost { background: #fff; color: var(--dfn-red); }
.dfn .dfn-btn--ghost:hover { background: var(--dfn-red); color: #fff; }
.dfn .dfn-btn--light { background: #fff; color: var(--dfn-red); border-color: #fff; }
.dfn .dfn-btn--light:hover { background: transparent; color: #fff; border-color: #fff; }
.dfn .dfn-btn--wa { background: var(--dfn-wa); border-color: var(--dfn-wa); color: #fff; }
.dfn .dfn-btn--wa:hover { background: #168a42; border-color: #168a42; color: #fff; }
.dfn .dfn-btn--sm { padding: 6px 12px; font-size: 13px; }
.dfn .dfn-btn--lg { padding: 14px 28px; font-size: 17px; }
.dfn .dfn-btn--block { display: flex; width: 100%; }
.dfn .dfn-linkbtn { color: var(--dfn-red); text-decoration: underline; font-weight: 600; }

/* ---------- Cabecera ---------- */
.elementor-location-header:has(.dfn-site-header) { position: sticky; top: 0; z-index: 1000; }
.admin-bar .elementor-location-header:has(.dfn-site-header) { top: 32px; }
@media (max-width: 782px) { .admin-bar .elementor-location-header:has(.dfn-site-header) { top: 0; position: relative; } }
.elementor-location-header .elementor-widget-shortcode, .elementor-location-footer .elementor-widget-shortcode { margin: 0 !important; width: 100%; }
.dfn-site-header { position: relative; z-index: 1000; }
.dfn-topbar { background: var(--dfn-dark); color: #e8e8e8; font-size: 13.5px; max-height: 40px; overflow: hidden; transition: max-height .25s ease; }
.dfn-scrolled .dfn-topbar { max-height: 0; }
.dfn-topbar .dfn-wrap { display: flex; align-items: center; gap: 26px; height: 38px; }
.dfn-top-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; color: #e8e8e8; }
.dfn-top-item .dfn-ico { width: 16px; height: 16px; color: #ff4a3d; }
a.dfn-top-item:hover { color: #fff; }
.dfn-top-social { margin-left: auto; display: inline-flex; gap: 14px; }
.dfn-top-social a { color: #e8e8e8; display: inline-flex; }
.dfn-top-social a:hover { color: #fff; }
.dfn-top-social .dfn-ico { width: 18px; height: 18px; }
.dfn-header { background: #fff; box-shadow: 0 2px 14px rgba(0, 0, 0, .08); border-bottom: 3px solid var(--dfn-red); }
.dfn-header-in { display: flex; align-items: center; gap: 18px; height: 86px; }
.dfn-logo { flex: 0 0 auto; display: flex; align-items: center; }
.dfn-logo img { height: 58px; width: auto; }
.dfn .dfn-prod-btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: var(--dfn-red); color: #fff; width: 104px; height: 62px; border-radius: 6px; font-family: var(--dfn-head); font-weight: 700; font-size: 14px; letter-spacing: .03em; text-transform: uppercase; }
.dfn .dfn-prod-btn .dfn-ico { width: 28px; height: 28px; }
.dfn .dfn-prod-btn:hover, .dfn .dfn-prod-btn[aria-expanded="true"] { background: var(--dfn-red-d); color: #fff; }
.dfn-search { position: relative; flex: 1 1 auto; display: flex; min-width: 180px; max-width: 560px; }
.dfn .dfn-search input[type=search] { flex: 1; height: 46px; border: 1.5px solid #cfd1d4; border-right: 0; border-radius: 999px 0 0 999px; padding: 0 20px; font-size: 15.5px; color: var(--dfn-ink); background: #fff; outline: none; box-shadow: none; margin: 0; }
.dfn .dfn-search input[type=search]:focus { border-color: var(--dfn-red); }
.dfn .dfn-search button[type=submit] { width: 58px; height: 46px; background: var(--dfn-red); color: #fff; border-radius: 0 999px 999px 0; display: inline-flex; align-items: center; justify-content: center; }
.dfn .dfn-search button[type=submit]:hover { background: var(--dfn-red-d); color: #fff; }
.dfn .dfn-search button[type=submit] .dfn-ico { width: 24px; height: 24px; }
.dfn-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--dfn-line); border-radius: 10px; box-shadow: var(--dfn-shadow); max-height: 70vh; overflow: auto; z-index: 1100; padding: 6px; }
.dfn-sg { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 8px; }
.dfn-sg:hover, .dfn-sg.is-sel { background: var(--dfn-bg); }
.dfn-sg img, .dfn-sg-noimg { width: 46px; height: 46px; object-fit: contain; border-radius: 6px; background: #fff; border: 1px solid var(--dfn-line); flex: 0 0 auto; }
.dfn-sg b { display: block; font-weight: 600; color: var(--dfn-ink); font-size: 14.5px; line-height: 1.25; }
.dfn-sg small { color: var(--dfn-muted); font-size: 12.5px; }
.dfn-sg-empty { padding: 10px; color: var(--dfn-muted); font-size: 14px; }
.dfn-quick { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.dfn-quick a { position: relative; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; color: var(--dfn-ink); font-weight: 600; font-size: 13.5px; line-height: 1.15; }
.dfn-quick a:hover { background: var(--dfn-bg); color: var(--dfn-red); }
.dfn-quick .dfn-ico { width: 34px; height: 34px; padding: 6px; border-radius: 50%; background: var(--dfn-bg); color: var(--dfn-red); }
.dfn-quote-count { position: absolute; top: 2px; left: 34px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--dfn-red); color: #fff; font-size: 12px; line-height: 20px; text-align: center; }
.dfn .dfn-search-toggle { display: none; }

/* Mega menú */
.dfn-mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--dfn-line); box-shadow: 0 18px 40px rgba(0, 0, 0, .14); max-height: calc(100vh - 140px); overflow: auto; }
.dfn-mega-in { padding-top: 22px; padding-bottom: 22px; }
.dfn-mega-head { display: none; }
.dfn-mega-cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 26px; }
.dfn-mega-col--wide { grid-column: span 2; }
.dfn-mega-col--wide ul { columns: 2; column-gap: 20px; }
.dfn-mega-fam { display: block; font-family: var(--dfn-head); font-size: 20px; line-height: 1.15; font-weight: 700; color: var(--dfn-red); text-transform: uppercase; margin-bottom: 8px; padding-bottom: 6px; border-bottom: 2px solid var(--dfn-red); }
.dfn-mega ul { list-style: none; margin: 0; padding: 0; }
.dfn-mega li a { display: block; padding: 5px 0; color: var(--dfn-text); font-size: 15px; break-inside: avoid; }
.dfn-mega li a:hover { color: var(--dfn-red); }
.dfn-mega .dfn-mega-prods li a { font-size: 14px; line-height: 1.3; padding: 4px 0; }
.dfn-mega .dfn-mega-more a { color: var(--dfn-red); font-weight: 700; }
.dfn-mega-foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--dfn-line); display: flex; gap: 22px; flex-wrap: wrap; }
.dfn-mega-foot a { color: var(--dfn-red); font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.dfn-mega-mob { display: none !important; }

/* ---------- Migas ---------- */
.dfn-crumbs { background: var(--dfn-bg); border-bottom: 1px solid var(--dfn-line); font-size: 13.5px; }
.dfn-crumbs .dfn-wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding-top: 10px; padding-bottom: 10px; text-transform: uppercase; letter-spacing: .02em; color: var(--dfn-muted); }
.dfn-crumbs a { color: var(--dfn-ink); }
.dfn-crumbs a:hover { color: var(--dfn-red); }
.dfn-crumbs .dfn-ico { width: 16px; height: 16px; }
.dfn-sep .dfn-ico { width: 12px; height: 12px; color: #b5b7ba; }

/* ---------- Franja de título (familias) ---------- */
.dfn-hero-band { background: linear-gradient(120deg, var(--dfn-red-d), var(--dfn-red) 55%, #d4180c); color: #fff; padding: 46px 0 120px; text-align: center; position: relative; overflow: hidden; }
.dfn-hero-band::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 22px); pointer-events: none; }
.dfn .dfn-hero-band h1 { font-size: clamp(40px, 6vw, 72px); color: #fff; text-transform: uppercase; font-weight: 700; letter-spacing: .03em; }
.dfn-hero-band p { max-width: 760px; margin: 12px auto 0; font-size: 17px; opacity: .95; }
.dfn-hero-band + .dfn-section, .dfn-hero-band + .dfn-wrap { margin-top: -86px; position: relative; z-index: 2; }
.dfn-section { padding-top: 34px; padding-bottom: 10px; }
.dfn .dfn-h2 { font-size: 30px; text-transform: uppercase; font-weight: 700; margin-bottom: 18px; padding-left: 14px; border-left: 5px solid var(--dfn-red); }
.dfn .dfn-h2--center { text-align: center; border-left: 0; padding-left: 0; }
.dfn .dfn-h2--center::after { content: ""; display: block; width: 64px; height: 4px; background: var(--dfn-red); margin: 10px auto 0; }
.dfn .dfn-h3 { font-size: 24px; text-transform: uppercase; color: var(--dfn-ink); margin-bottom: 12px; }
.dfn-lead { color: var(--dfn-muted); font-size: 16.5px; max-width: 900px; }
.dfn-small { font-size: 13px; color: var(--dfn-muted); }

/* ---------- Tarjetas de familia/serie ---------- */
.dfn-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.dfn-tiles--sm { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.dfn-tile { display: flex; flex-direction: column; background: #fff; border-radius: var(--dfn-radius); overflow: hidden; box-shadow: var(--dfn-shadow); transition: transform .2s, box-shadow .2s; }
.dfn-tile:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, .16); }
.dfn-tile-img { display: block; aspect-ratio: 1 / 1; background: linear-gradient(180deg, #f6f6f6, #e9e9ea); overflow: hidden; }
.dfn-tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.dfn-tile:hover .dfn-tile-img img { transform: scale(1.05); }
.dfn-tile-label { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 66px; padding: 10px 12px; background: linear-gradient(180deg, #f3f3f4, #d9dadc); color: var(--dfn-ink); font-family: var(--dfn-head); font-weight: 700; font-size: 21px; text-transform: uppercase; text-align: center; line-height: 1.1; }
.dfn-tile:hover .dfn-tile-label { color: var(--dfn-red); }
.dfn-tile-label small { font-family: var(--dfn-body); font-weight: 500; font-size: 13px; color: var(--dfn-muted); text-transform: none; margin-top: 3px; }

/* ---------- Listado con filtros ---------- */
.dfn-listing { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 34px; padding-top: 28px; }
.dfn-filters { align-self: start; position: sticky; top: 150px; max-height: calc(100vh - 170px); overflow: auto; padding-right: 4px; }
.dfn-filters-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--dfn-ink); padding-bottom: 10px; margin-bottom: 4px; }
.dfn-filters-head strong { font-family: var(--dfn-head); font-size: 26px; text-transform: uppercase; color: var(--dfn-red); }
.dfn .dfn-clear { color: var(--dfn-red); text-decoration: underline; font-weight: 600; font-size: 14.5px; }
.dfn-fgroup { border-bottom: 1px solid var(--dfn-line); padding: 4px 0; }
.dfn-fgroup summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 11px 2px; font-weight: 700; text-transform: uppercase; font-size: 14.5px; color: var(--dfn-ink); letter-spacing: .02em; }
.dfn-fgroup summary::-webkit-details-marker { display: none; }
.dfn-fgroup summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--dfn-red); line-height: 1; }
.dfn-fgroup[open] summary::after { content: "–"; }
.dfn-fnav { list-style: none; margin: 0 0 8px; padding: 0; }
.dfn-fnav a { display: block; padding: 6px 8px; border-radius: 6px; font-size: 15px; }
.dfn-fnav a:hover { background: var(--dfn-bg); color: var(--dfn-red); }
.dfn-fnav a[aria-current] { background: var(--dfn-red); color: #fff; font-weight: 600; }
.dfn-fnav small { opacity: .75; }
.dfn-check { display: flex; align-items: center; gap: 10px; padding: 6px 4px; font-size: 15px; cursor: pointer; }
.dfn .dfn-check input { width: 18px; height: 18px; accent-color: var(--dfn-red); margin: 0; }
.dfn-results-head { margin-bottom: 18px; }
.dfn .dfn-title { font-size: clamp(30px, 3.6vw, 46px); text-transform: uppercase; font-weight: 700; color: var(--dfn-ink); margin-bottom: 10px; }
.dfn-results-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.dfn-count { font-weight: 600; color: var(--dfn-muted); margin-right: auto; }
.dfn .dfn-filters-toggle { display: none; }
.dfn-empty { padding: 30px; background: var(--dfn-bg); border-radius: var(--dfn-radius); text-align: center; }

/* ---------- Tarjetas de producto ---------- */
.dfn-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.dfn-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--dfn-line); border-radius: var(--dfn-radius); overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.dfn-card:hover { box-shadow: 0 12px 28px rgba(0, 0, 0, .12); transform: translateY(-3px); border-color: #d0d1d4; }
.dfn-card-img { display: block; aspect-ratio: 1 / 1; background: #fff; padding: 12px; border-bottom: 1px solid var(--dfn-line); }
.dfn-card-img img { width: 100%; height: 100%; object-fit: contain; }
.dfn-card-body { display: flex; flex-direction: column; flex: 1; padding: 14px 14px 12px; }
.dfn-card-title { font-family: var(--dfn-head); font-weight: 700; font-size: 18px; line-height: 1.15; text-transform: uppercase; color: var(--dfn-ink); text-align: center; margin-bottom: 12px; min-height: 2.3em; }
.dfn-card:hover .dfn-card-title { color: var(--dfn-red); }
.dfn-card-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; font-size: 13.5px; color: var(--dfn-muted); }
.dfn-card-meta span:first-child { font-weight: 700; letter-spacing: .06em; color: var(--dfn-ink); }
.dfn-card-meta b { color: var(--dfn-ink); }
.dfn-card-spec { font-size: 12px; text-align: right; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.dfn-card-more { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--dfn-line); color: var(--dfn-red); font-weight: 700; font-size: 14px; }
.dfn-card-more .dfn-ico { width: 14px; height: 14px; }
.dfn-noimg { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #c8c9cb; font-family: var(--dfn-head); font-size: 28px; font-weight: 700; letter-spacing: .1em; background: var(--dfn-bg); }
.dfn-noimg--lg { aspect-ratio: 1 / 1; font-size: 48px; }

/* ---------- Ficha de producto ---------- */
.dfn-product { padding-top: 26px; }
.dfn .dfn-title--product { margin-bottom: 22px; }
.dfn-product-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, .85fr); gap: 30px; align-items: start; }
.dfn-brandline { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 18px; }
.dfn-brand { font-family: var(--dfn-head); font-weight: 700; font-size: 22px; letter-spacing: .12em; color: var(--dfn-red); }
.dfn-code { color: var(--dfn-muted); border-left: 1px solid #c9cacc; padding-left: 12px; }
.dfn-code b { color: var(--dfn-ink); }
.dfn-gallery-main { border: 1px solid var(--dfn-line); border-radius: var(--dfn-radius); background: #fff; overflow: hidden; }
.dfn-gallery-main a { display: block; cursor: zoom-in; }
.dfn-gallery-main img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; padding: 10px; }
.dfn-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.dfn .dfn-thumb { width: 66px; height: 66px; border: 2px solid var(--dfn-line); border-radius: 6px; overflow: hidden; background: #fff; padding: 2px; }
.dfn .dfn-thumb img { width: 100%; height: 100%; object-fit: contain; }
.dfn .dfn-thumb.is-active, .dfn .dfn-thumb:hover { border-color: var(--dfn-red); }
.dfn-gallery .dfn-small { margin: 10px 0 12px; }
.dfn-share { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 700; color: var(--dfn-ink); }
.dfn .dfn-sh { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 6px; color: #fff; background: #6b6d70; }
.dfn .dfn-sh:hover { color: #fff; filter: brightness(1.1); background: #6b6d70; }
.dfn .dfn-sh--wa, .dfn .dfn-sh--wa:hover { background: var(--dfn-wa); }
.dfn .dfn-sh--fb, .dfn .dfn-sh--fb:hover { background: #1877f2; }
.dfn .dfn-sh--in, .dfn .dfn-sh--in:hover { background: #0a66c2; }
.dfn .dfn-table th, .dfn .dfn-table td { border: 0; border-bottom: 1px solid var(--dfn-line); padding: 10px 12px; text-align: left; vertical-align: top; font-size: 15px; background: transparent; }
.dfn .dfn-table thead th { background: var(--dfn-red); color: #fff; font-weight: 700; text-transform: uppercase; font-size: 13.5px; letter-spacing: .04em; border-bottom: 0; }
.dfn .dfn-table tbody tr:nth-child(even) td, .dfn .dfn-table tbody tr:nth-child(even) th { background: #f6f6f7; }
.dfn .dfn-table--kv tbody th { width: 46%; font-weight: 700; color: var(--dfn-ink); }
.dfn-info { border: 1.5px solid #cfd1d4; border-radius: 14px; padding: 18px 20px; background: #fff; }
.dfn .dfn-info-title { display: flex; align-items: center; gap: 10px; font-size: 30px; text-transform: uppercase; color: var(--dfn-ink); margin-bottom: 10px; }
.dfn-info-title .dfn-ico { width: 34px; height: 34px; color: var(--dfn-red); }
.dfn .dfn-info h3 { font-size: 19px; text-transform: uppercase; color: var(--dfn-ink); margin: 14px 0 6px; }
.dfn-info p { font-size: 14.5px; color: var(--dfn-muted); text-align: justify; }
.dfn-block { margin-top: 44px; }
.dfn-prose { max-width: 980px; font-size: 16px; }
.dfn-prose ul { padding-left: 20px; margin: 0 0 1em; }
.dfn-prose li { margin-bottom: 6px; }
.dfn-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dfn-tablefig { margin: 0 0 22px; }
.dfn-tablefig figcaption { font-weight: 700; color: var(--dfn-red); text-transform: uppercase; font-size: 14px; margin-bottom: 8px; letter-spacing: .03em; }
.dfn-tablefig a { display: block; cursor: zoom-in; }
.dfn-tablefig img { width: 100%; min-width: 640px; max-width: 1100px; border: 1px solid var(--dfn-line); border-radius: 6px; }
.dfn-note { font-size: 14px; color: var(--dfn-muted); border-left: 3px solid var(--dfn-gold); padding-left: 10px; }
.dfn .dfn-h2--center { margin-bottom: 22px; }
.dfn-quote-block { background: var(--dfn-bg); border-radius: 14px; padding: 26px; }
.dfn .dfn-quote-table th, .dfn .dfn-quote-table td { vertical-align: middle; text-align: center; }
.dfn .dfn-quote-table td:nth-child(2) { text-align: left; }
.dfn .dfn-quote-table tbody td { background: #fff; }
.dfn .dfn-quote-table tbody tr:nth-child(even) td { background: #fbfbfb; }
.dfn-mono { font-family: Consolas, "Courier New", monospace; font-size: 14px; white-space: nowrap; }
.dfn .dfn-qty, .dfn .dfn-size-input { width: 90px; height: 38px; border: 1.5px solid #cfd1d4; border-radius: 6px; padding: 0 8px; text-align: center; font-size: 15px; background: #fff; margin: 0; }
.dfn .dfn-size-input { width: 140px; }
.dfn-quote-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 18px; }
.dfn-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Página de cotización ---------- */
.dfn-quote-page { margin: 10px 0 40px; }
.dfn-quote-empty { padding: 30px; background: var(--dfn-bg); border-radius: 12px; text-align: center; }
.dfn-quote-form { margin-top: 26px; background: var(--dfn-bg); padding: 22px; border-radius: 12px; }
.dfn-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.dfn-form-grid label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--dfn-ink); }
.dfn .dfn-form-grid input, .dfn .dfn-form-grid textarea { border: 1.5px solid #cfd1d4; border-radius: 8px; padding: 10px 12px; font-size: 15px; background: #fff; width: 100%; margin: 0; }
.dfn .dfn-form-grid input:focus, .dfn .dfn-form-grid textarea:focus { border-color: var(--dfn-red); outline: none; }
.dfn-span2 { grid-column: span 2; }
.dfn-quote-page .dfn-quote-actions { justify-content: flex-start; }

/* ---------- Catálogos en PDF ---------- */
.dfn-dls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dfn-dl { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--dfn-line); border-radius: 10px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.dfn-dl:hover { border-color: var(--dfn-red); box-shadow: var(--dfn-shadow); }
.dfn-dl > .dfn-ico:first-child { width: 34px; height: 34px; color: var(--dfn-red); }
.dfn-dl span { flex: 1; display: flex; flex-direction: column; }
.dfn-dl b { color: var(--dfn-ink); }
.dfn-dl small { color: var(--dfn-muted); }
.dfn-dl > .dfn-ico:last-child { color: var(--dfn-muted); }

/* ---------- Inicio ---------- */
.dfn-hero { background: radial-gradient(circle at 80% 20%, #3a3a3e 0, var(--dfn-dark) 55%); color: #fff; padding: 56px 0; position: relative; overflow: hidden; }
.dfn-hero::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--dfn-red); }
.dfn-hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.dfn-eyebrow { color: var(--dfn-gold); text-transform: uppercase; letter-spacing: .18em; font-weight: 700; font-size: 14px; margin-bottom: 10px !important; }
.dfn .dfn-hero h1 { color: #fff; font-size: clamp(34px, 3.8vw, 54px); text-transform: uppercase; font-weight: 700; line-height: 1.02; margin-bottom: 16px; }
.dfn-hero-text p { font-size: 18px; color: #d6d6d8; max-width: 560px; }
.dfn-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.dfn-hero-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dfn-hero-tiles a { position: relative; display: block; border-radius: 10px; overflow: hidden; background: #eee; aspect-ratio: 4 / 3; }
.dfn-hero-tiles img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.dfn-hero-tiles a:hover img { transform: scale(1.06); }
.dfn-hero-tiles span { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 12px; background: linear-gradient(0deg, rgba(0, 0, 0, .75), transparent); color: #fff; font-family: var(--dfn-head); font-weight: 700; text-transform: uppercase; font-size: 18px; }
.dfn-fam-band { padding: 40px 0; }
.dfn-fam-band:nth-of-type(even) { background: var(--dfn-bg); }
.dfn-fam-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 18px; }
.dfn-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.dfn-chips a { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid #d4d5d8; font-size: 14px; font-weight: 600; color: var(--dfn-ink); }
.dfn-chips a:hover { border-color: var(--dfn-red); color: var(--dfn-red); }
.dfn-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dfn-values > div { background: #fff; border: 1px solid var(--dfn-line); border-radius: 12px; padding: 24px; text-align: center; }
.dfn-values .dfn-ico { width: 50px; height: 50px; color: var(--dfn-red); margin-bottom: 10px; }
.dfn .dfn-values h3 { font-size: 22px; text-transform: uppercase; margin-bottom: 8px; }
.dfn-values p { color: var(--dfn-muted); font-size: 15px; margin: 0; }
.dfn-contact-band { margin-top: 44px; background: linear-gradient(120deg, var(--dfn-red-d), var(--dfn-red)); color: #fff; padding: 40px 0; }
.dfn-contact-in { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.dfn .dfn-contact-band .dfn-h2 { color: #fff; border-left-color: #fff; }
.dfn-contact-band p { color: #ffe9e7; }
.dfn-contact-line { display: flex; align-items: center; gap: 8px; margin: 0 0 6px !important; }
.dfn-contact-line a { color: #fff; text-decoration: underline; }
.dfn-contact-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Pie ---------- */
.dfn-footer { background: var(--dfn-dark); color: #cfcfd2; font-size: 15px; }
.dfn-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 34px; padding-top: 46px; padding-bottom: 34px; }
.dfn-footer img.dfn-footer-logo { height: 58px; width: auto; max-width: 100%; background: #fff; padding: 6px 10px; border-radius: 6px; margin-bottom: 14px; }
.dfn-footer .dfn-footer-col h3 { font-family: var(--dfn-head); color: #fff; font-size: 20px; text-transform: uppercase; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--dfn-red); display: inline-block; }
.dfn-footer ul { list-style: none; margin: 0; padding: 0; }
.dfn-footer li { margin-bottom: 8px; }
.dfn-footer a { color: #e3e3e5; }
.dfn-footer a:hover { color: #fff; text-decoration: underline; }
.dfn-footer-lema { color: var(--dfn-gold); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: 13px; }
.dfn-footer-contact p { display: flex; gap: 10px; align-items: flex-start; }
.dfn-footer-contact .dfn-ico { color: #ff4a3d; margin-top: 3px; }
.dfn-footer-social { display: flex; gap: 10px; margin-top: 12px; }
.dfn-footer-social a { width: 38px; height: 38px; border-radius: 50%; background: #2f2f33; display: inline-flex; align-items: center; justify-content: center; }
.dfn-footer-social a:hover { background: var(--dfn-red); text-decoration: none; }
.dfn-footer-bottom { background: #141416; color: #9c9ca1; font-size: 13px; }
.dfn-footer-bottom .dfn-wrap { padding-top: 14px; padding-bottom: 14px; }

/* ---------- Ventanas ---------- */
.dfn-lightbox { position: fixed; inset: 0; z-index: 100000; background: rgba(10, 10, 12, .9); display: flex; align-items: center; justify-content: center; padding: 30px; cursor: zoom-out; }
.dfn-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; border-radius: 6px; }
.dfn-lightbox button { position: absolute; top: 14px; right: 18px; color: #fff; font-size: 40px; line-height: 1; background: none; border: 0; cursor: pointer; }
.dfn-toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 30px); opacity: 0; background: var(--dfn-dark); color: #fff; padding: 12px 20px; border-radius: 999px; z-index: 100001; font-family: var(--dfn-body); font-size: 15px; box-shadow: var(--dfn-shadow); transition: opacity .25s, transform .25s; }
.dfn-toast.is-in { opacity: 1; transform: translate(-50%, 0); }
.dfn-toast a { color: #ffb4ad; text-decoration: underline; }

/* ---------- Adaptación a pantallas ---------- */
@media (max-width: 1280px) {
	.dfn-quick span { display: none; }
	.dfn-quick a { padding: 6px; }
	.dfn-tiles--sm { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
	.dfn-grid, .dfn-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.dfn-product-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.dfn-info { grid-column: span 2; }
	.dfn-mega-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.dfn-footer-grid { grid-template-columns: 1fr 1fr; }
	.dfn-dls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.dfn-topbar .dfn-hide-sm { display: none; }
	.dfn-header-in { height: 70px; gap: 10px; }
	.dfn-logo img { height: 44px; }
	.dfn .dfn-prod-btn { width: 52px; height: 48px; font-size: 0; order: 3; }
	.dfn .dfn-prod-btn span { display: none; }
	.dfn-search { position: absolute; left: 0; right: 0; top: 100%; max-width: none; padding: 10px 16px; background: #fff; box-shadow: 0 8px 16px rgba(0, 0, 0, .1); display: none; }
	.dfn-search-open .dfn-search { display: flex; }
	.dfn .dfn-search-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--dfn-bg); color: var(--dfn-ink); order: 2; }
	.dfn-quick { gap: 2px; order: 1; }
	.dfn-quick a:not(.dfn-quote-link) { display: none; }
	.dfn-mega { position: fixed; top: 0; bottom: 0; max-height: none; z-index: 1200; }
	.dfn-mega-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-family: var(--dfn-head); font-size: 26px; text-transform: uppercase; color: var(--dfn-ink); }
	.dfn .dfn-mega-close .dfn-ico { width: 30px; height: 30px; }
	.dfn-mega-cols { grid-template-columns: 1fr; gap: 16px; }
	.dfn-mega-col--wide { grid-column: auto; }
	.dfn-mega-mob { display: inline-flex !important; }
	.dfn-listing { grid-template-columns: 1fr; }
	.dfn-filters { display: none; position: static; max-height: none; }
	.dfn-filters-open .dfn-filters { display: block; }
	.dfn .dfn-filters-toggle { display: inline-flex; }
	.dfn-tiles, .dfn-tiles--sm { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.dfn-tile-label { font-size: 17px; min-height: 56px; }
	.dfn-hero-in { grid-template-columns: 1fr; }
	.dfn-values { grid-template-columns: 1fr; }
	.dfn-fam-head { flex-direction: column; align-items: flex-start; }
	.dfn-hero-band { padding: 34px 0 100px; }
}
@media (max-width: 640px) {
	.dfn-wrap { padding: 0 14px; }
	.dfn-topbar .dfn-top-item span { display: none; }
	.dfn-topbar .dfn-wrap { gap: 18px; }
	.dfn-grid, .dfn-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.dfn-card-title { font-size: 15.5px; }
	.dfn-card-body { padding: 10px; }
	.dfn-product-grid { grid-template-columns: 1fr; }
	.dfn-info { grid-column: auto; }
	.dfn-footer-grid { grid-template-columns: 1fr; }
	.dfn-dls { grid-template-columns: 1fr; }
	.dfn-form-grid { grid-template-columns: 1fr; }
	.dfn-span2 { grid-column: auto; }
	.dfn-quote-block { padding: 16px; }
	.dfn .dfn-h2 { font-size: 24px; }
	.dfn-hero { padding: 36px 0; }
	/* Tabla "Listado de productos a cotizar" (ficha) */
	.dfn .dfn-quote-table th:nth-child(2), .dfn .dfn-quote-table td:nth-child(2),
	.dfn .dfn-quote-table th:nth-child(4), .dfn .dfn-quote-table td:nth-child(4) { display: none; }
	.dfn .dfn-quote-table th, .dfn .dfn-quote-table td { padding: 8px 5px; font-size: 14px; }
	.dfn .dfn-quote-table thead th { font-size: 12px; }
	.dfn .dfn-quote-table .dfn-mono { font-size: 12px; white-space: normal; word-break: break-all; }
	.dfn .dfn-quote-table .dfn-qty { width: 58px; }
	.dfn .dfn-quote-table .dfn-size-input { width: 96px; }
	.dfn .dfn-quote-table .dfn-add { font-size: 0; gap: 0; width: 40px; height: 38px; padding: 0; }
	.dfn .dfn-quote-table .dfn-add .dfn-ico { width: 18px; height: 18px; }
	/* Lista de la página de cotización: filas como tarjetas */
	.dfn-quote-list .dfn-scroll { overflow: visible; }
	.dfn .dfn-quote-list table, .dfn .dfn-quote-list tbody { display: block; width: 100%; }
	.dfn .dfn-quote-list thead { display: none; }
	.dfn .dfn-quote-list tbody tr { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 6px 14px; padding: 12px 4px; border-bottom: 1px solid var(--dfn-line); }
	.dfn .dfn-quote-list tbody td, .dfn .dfn-quote-list tbody tr:nth-child(even) td { display: block; padding: 0; border: 0; background: none; text-align: left; }
	.dfn .dfn-quote-list td:nth-child(1) { grid-column: 1 / -1; grid-row: 2; font-size: 12px; color: var(--dfn-muted); }
	.dfn .dfn-quote-list td:nth-child(2) { grid-column: 1 / -1; grid-row: 1; font-weight: 600; }
	.dfn .dfn-quote-list td:nth-child(3) { grid-row: 3; }
	.dfn .dfn-quote-list td:nth-child(3)::before { content: "Medida: "; color: var(--dfn-muted); }
	.dfn .dfn-quote-list td:nth-child(4), .dfn .dfn-quote-list td:nth-child(5) { grid-row: 3; }
	.dfn .dfn-quote-list .dfn-qty { width: 70px; }
}
