:root {
    --ink: #0b1220;
    --muted: #667085;
    --line: #e6eaf0;
    --surface: #ffffff;
    --surface-soft: #f5f7fb;
    --brand: #1463ff;
    --brand-2: #00b7a8;
    --accent: #ff8a1f;
    --success: #16a66a;
    --shadow: 0 18px 50px rgba(21, 36, 61, .10);
    --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--ink); background: #fff; }
body.drawer-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 36px)); margin-inline: auto; }
.announcement { background: linear-gradient(90deg, #0b1220, #162844); color: #fff; font-size: 12px; }
.announcement__inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; opacity: .92; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(230,234,240,.8); }
.header-main { min-height: 86px; display: grid; grid-template-columns: 230px minmax(280px,1fr) auto; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; }
.brand__mark { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(145deg, var(--brand), #043baf); color: white; font: 800 25px/1 Space Grotesk; box-shadow: 0 10px 24px rgba(20,99,255,.28); }
.brand__text { display: grid; line-height: 1; }
.brand__text strong { font: 700 22px/1 Space Grotesk; letter-spacing: .03em; }
.brand__text small { color: var(--muted); margin-top: 5px; }
.search { height: 50px; display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; padding: 0 6px 0 16px; border: 1px solid #dce2eb; border-radius: 15px; background: #f8fafc; transition: .2s; }
.search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(20,99,255,.1); background: white; }
.search svg, .header-actions svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.search input { min-width: 0; border: 0; outline: 0; background: transparent; }
.search button { border: 0; color: white; background: var(--brand); border-radius: 11px; padding: 10px 18px; font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-button, .cart-button { min-height: 48px; border: 1px solid var(--line); background: white; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; color: var(--ink); }
.icon-button { width: 48px; }
.cart-button { padding: 0 13px; font-weight: 700; }
.cart-button b { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: white; font-size: 12px; }
.category-nav { border-top: 1px solid #edf0f4; }
.category-nav__inner { height: 48px; display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 600; }
.category-nav__inner a { color: #475467; }
.category-nav__inner a:hover { color: var(--brand); }
.category-all { border: 0; background: var(--ink); color: white; border-radius: 10px; padding: 10px 16px; font-weight: 700; }
.hero { overflow: hidden; background: radial-gradient(circle at 70% 10%, #eaf2ff 0, #fff 42%); }
.hero__grid { min-height: 610px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 40px; padding-block: 70px; }
.hero-kicker, .eyebrow { color: var(--brand); letter-spacing: .16em; font-size: 12px; font-weight: 800; }
.hero h1 { margin: 18px 0; max-width: 650px; font: 700 clamp(40px, 5vw, 68px)/1.03 Space Grotesk; letter-spacing: -.045em; }
.hero h1 em { color: var(--brand); font-style: normal; }
.hero__copy > p { max-width: 620px; color: #526075; font-size: 18px; line-height: 1.7; }
.hero__actions { display: flex; gap: 12px; margin: 30px 0 40px; }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 13px; padding: 0 22px; font-weight: 800; border: 0; }
.primary-button { background: var(--brand); color: white; box-shadow: 0 12px 26px rgba(20,99,255,.24); }
.secondary-button { border: 1px solid #dce2eb; background: white; }
.hero__stats { display: flex; gap: 34px; }
.hero__stats div { display: grid; }
.hero__stats strong { font: 700 20px/1 Space Grotesk; }
.hero__stats span { color: var(--muted); font-size: 12px; margin-top: 6px; }
.hero__visual { position: relative; min-height: 500px; display: grid; place-items: center; }
.product-stage { position: relative; width: min(540px,100%); aspect-ratio: 1.05; border-radius: 40px; background: linear-gradient(150deg, #0e1729, #1f3a5f 55%, #127a83); box-shadow: 0 40px 80px rgba(11,18,32,.25); display: grid; place-items: center; overflow: hidden; }
.product-stage::after { content:""; position:absolute; inset:auto 8% 5%; height:22%; background:radial-gradient(ellipse,rgba(0,0,0,.45),transparent 68%); filter:blur(12px); }
.product-stage > img { width: 88%; position: relative; z-index: 2; filter: drop-shadow(0 28px 22px rgba(0,0,0,.32)); transform: rotate(-3deg); }
.stage-label { position:absolute; top:28px; left:30px; color:#dce8ff; font-size:11px; letter-spacing:.2em; font-weight:800; }
.stage-card { position:absolute; z-index:4; background:rgba(255,255,255,.94); backdrop-filter:blur(12px); border:1px solid rgba(255,255,255,.8); border-radius:16px; padding:14px 16px; box-shadow:var(--shadow); display:grid; min-width:190px; }
.stage-card b { font-size:13px; }
.stage-card span { font-size:11px; color:var(--muted); margin-top:4px; }
.stage-card--top { top:58px; right:-18px; }
.stage-card--bottom { bottom:42px; left:-28px; }
.orb { position:absolute; border-radius:50%; filter:blur(1px); }
.orb--one { width:170px; height:170px; background:#86aaff; top:15px; right:-50px; opacity:.32; }
.orb--two { width:120px; height:120px; background:#35ddca; bottom:0; left:-40px; opacity:.28; }
.trust-strip { border-block:1px solid var(--line); background:#fff; }
.trust-strip__grid { display:grid; grid-template-columns:repeat(4,1fr); }
.trust-strip article { min-height:118px; padding:24px 22px; display:flex; align-items:center; gap:14px; border-right:1px solid var(--line); }
.trust-strip article:last-child { border-right:0; }
.trust-strip article > span { width:40px; height:40px; border-radius:12px; background:#edf4ff; color:var(--brand); display:grid; place-items:center; font-weight:900; }
.trust-strip article div { display:grid; }
.trust-strip b { font-size:14px; }
.trust-strip small { color:var(--muted); margin-top:5px; line-height:1.4; }
.catalog-section { padding:90px 0; background:var(--surface-soft); }
.section-heading { display:flex; align-items:end; justify-content:space-between; gap:30px; margin-bottom:32px; }
.section-heading h2, .delivery-section h2 { margin:10px 0 8px; font:700 clamp(31px,4vw,46px)/1.1 Space Grotesk; letter-spacing:-.03em; }
.section-heading p { margin:0; color:var(--muted); }
.catalog-note { max-width:330px; display:flex; align-items:center; gap:10px; padding:13px 15px; background:#fff8ed; color:#86510c; border:1px solid #ffe0ae; border-radius:14px; font-size:12px; }
.catalog-note span { width:23px; height:23px; display:grid; place-items:center; border-radius:50%; background:#ffb454; color:#fff; font-weight:800; }
.product-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.product-card { min-width:0; background:white; border:1px solid #e4e9f0; border-radius:20px; overflow:hidden; transition:transform .25s, box-shadow .25s, border-color .25s; }
.product-card:hover { transform:translateY(-6px); box-shadow:var(--shadow); border-color:#cfd9e8; }
.product-card__media { position:relative; aspect-ratio:1.15; background:linear-gradient(160deg,#f8fafc,#eef2f7); display:grid; place-items:center; overflow:hidden; }
.product-card__media img { width:88%; height:88%; object-fit:contain; transition:transform .35s; }
.product-card:hover .product-card__media img { transform:scale(1.045); }
.product-badge { position:absolute; top:13px; left:13px; z-index:2; border-radius:999px; padding:7px 10px; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.product-badge--featured { background:#fff0e3; color:#c45a00; border:1px solid #ffd0a3; }
.product-card__content { padding:18px; }
.product-meta { display:flex; justify-content:space-between; gap:10px; color:#7c8798; font-size:10px; text-transform:uppercase; letter-spacing:.08em; font-weight:700; }
.product-card h3 { min-height:58px; margin:11px 0; font-size:14px; line-height:1.42; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.delivery { display:flex; align-items:center; gap:7px; min-height:34px; margin:0 0 12px; color:#687386; font-size:11px; line-height:1.4; }
.delivery span { width:8px; height:8px; flex:0 0 auto; border-radius:50%; background:var(--success); box-shadow:0 0 0 4px rgba(22,166,106,.12); }
.price-block { display:grid; margin-bottom:16px; }
.price-block strong { font:700 21px/1.1 Space Grotesk; }
.price-block small { color:var(--muted); margin-top:5px; }
.product-card__actions { display:grid; grid-template-columns:105px 1fr; gap:9px; }
.qty-picker { min-height:44px; display:grid; grid-template-columns:32px 1fr 32px; align-items:center; border:1px solid #dfe4eb; border-radius:11px; overflow:hidden; }
.qty-picker button { height:100%; border:0; background:#f6f8fb; font-size:18px; }
.qty-picker input { width:100%; border:0; text-align:center; outline:0; appearance:textfield; }
.qty-picker input::-webkit-inner-spin-button { display:none; }
.add-button { border:0; border-radius:11px; background:var(--ink); color:#fff; font-weight:800; display:flex; align-items:center; justify-content:center; gap:7px; transition:.2s; }
.add-button:hover { background:var(--brand); }
.add-button:disabled { opacity:.6; cursor:wait; }
.add-button svg { width:17px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; }
.delivery-section { padding:50px 0; background:#fff; }
.delivery-section__grid { display:grid; grid-template-columns:1.15fr .85fr; align-items:center; gap:70px; }
.delivery-section p { color:var(--muted); line-height:1.7; }
.delivery-steps { margin-top:34px; display:grid; grid-template-columns:1fr 1fr; gap:15px; }
.delivery-steps article { display:flex; gap:13px; padding:16px; border:1px solid var(--line); border-radius:16px; }
.delivery-steps article > b { color:var(--brand); font:700 18px Space Grotesk; }
.delivery-steps article div { display:grid; }
.delivery-steps span { color:var(--muted); font-size:12px; margin-top:5px; line-height:1.5; }
.delivery-card { position:relative; padding:38px; border-radius:26px; color:#fff; background:linear-gradient(150deg,#0b1220,#17375c); box-shadow:0 30px 70px rgba(11,18,32,.2); overflow:hidden; }
.delivery-card::before { content:""; position:absolute; width:220px; height:220px; border-radius:50%; background:rgba(0,183,168,.2); right:-80px; top:-80px; }
.delivery-card__tag { color:#86efe5; font-size:10px; letter-spacing:.16em; font-weight:800; }
.delivery-card h3 { position:relative; margin:14px 0 22px; font:700 31px/1.12 Space Grotesk; }
.delivery-card ul { position:relative; list-style:none; padding:0; margin:0; display:grid; gap:13px; }
.delivery-card li { display:flex; gap:10px; align-items:center; }
.delivery-card li span { width:24px; height:24px; border-radius:50%; background:rgba(0,183,168,.2); color:#5df1e3; display:grid; place-items:center; }
.delivery-card p { position:relative; color:#b8c6da; font-size:12px; margin-top:24px; }
.footer { background:#09101d; color:#dce5f3; padding:70px 0 22px; }
.footer__grid { display:grid; grid-template-columns:1.4fr repeat(3,1fr); gap:55px; }
.brand--footer .brand__text small { color:#9dafc6; }
.footer p { color:#9dafc6; max-width:330px; line-height:1.7; }
.footer h3 { color:#fff; margin:0 0 16px; font-size:14px; }
.footer__grid > div { display:flex; flex-direction:column; align-items:flex-start; gap:10px; }
.footer__grid a, .footer__grid span { color:#9dafc6; font-size:13px; }
.footer__bottom { display:flex; justify-content:space-between; gap:20px; margin-top:50px; padding-top:22px; border-top:1px solid #1b2940; color:#74859d; font-size:11px; }
.drawer-backdrop { position:fixed; inset:0; z-index:70; background:rgba(4,10,20,.55); opacity:0; pointer-events:none; transition:.25s; backdrop-filter:blur(3px); }
.drawer-backdrop.is-open { opacity:1; pointer-events:auto; }
.cart-drawer { position:fixed; top:0; right:0; z-index:80; width:min(500px,100%); height:100dvh; background:#fff; transform:translateX(102%); transition:transform .32s ease; box-shadow:-30px 0 70px rgba(0,0,0,.18); display:grid; grid-template-rows:auto 1fr; }
.cart-drawer.is-open { transform:translateX(0); }
.cart-drawer__header { display:flex; align-items:center; justify-content:space-between; padding:24px 25px; border-bottom:1px solid var(--line); }
.cart-drawer__header h2 { margin:5px 0 0; font:700 25px Space Grotesk; }
.drawer-close { width:40px; height:40px; border:1px solid var(--line); border-radius:50%; background:#fff; font-size:25px; }
.cart-drawer__body { min-height:0; overflow:auto; display:flex; flex-direction:column; }
.cart-loading, .cart-empty { margin:auto; padding:40px; text-align:center; color:var(--muted); }
.cart-empty__icon { width:74px; height:74px; margin:0 auto 18px; display:grid; place-items:center; border-radius:50%; background:#edf4ff; color:var(--brand); font-size:35px; }
.cart-empty h3 { color:var(--ink); }
.cart-items { padding:10px 25px 0; }
.cart-item { display:grid; grid-template-columns:92px 1fr; gap:14px; padding:18px 0; border-bottom:1px solid var(--line); }
.cart-item > img { width:92px; height:92px; object-fit:contain; border-radius:14px; background:#f4f6fa; }
.cart-item__main { min-width:0; display:flex; flex-direction:column; justify-content:space-between; }
.cart-item__top { display:flex; justify-content:space-between; gap:10px; }
.cart-item__top span { color:var(--brand); font-size:9px; font-weight:800; letter-spacing:.1em; }
.cart-item__top h3 { margin:5px 0; font-size:12px; line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.cart-item__top button { width:28px; height:28px; border:0; border-radius:50%; background:#f1f3f6; }
.cart-item__bottom { display:flex; align-items:center; justify-content:space-between; gap:15px; }
.qty-picker--cart { width:100px; min-height:34px; grid-template-columns:30px 1fr 30px; }
.qty-picker--cart span { text-align:center; font-size:12px; }
.cart-summary { margin-top:auto; padding:22px 25px 28px; border-top:1px solid var(--line); background:#fafbfc; }
.cart-summary > div { display:flex; justify-content:space-between; margin-bottom:10px; font-size:13px; }
.cart-summary__total { padding-top:14px; margin-top:12px; border-top:1px solid #dfe4ea; font-size:18px!important; }
.cart-summary p { color:var(--muted); font-size:11px; line-height:1.5; }
.checkout-button { width:100%; min-height:52px; border:0; border-radius:13px; background:var(--brand); color:#fff; font-weight:800; font-size:15px; }
.secure-note { justify-content:center!important; color:#5d6b7e; margin:14px 0 0!important; }
.toast { position:fixed; left:50%; bottom:28px; z-index:120; transform:translate(-50%,25px); opacity:0; pointer-events:none; background:#0b1220; color:#fff; padding:13px 18px; border-radius:12px; box-shadow:var(--shadow); font-size:13px; transition:.25s; }
.toast.is-visible { opacity:1; transform:translate(-50%,0); }
.toast[data-type="error"] { background:#b42318; }
.system-message, .empty-catalog { padding:28px; border-radius:18px; background:#fff; border:1px solid var(--line); }
.system-message--error { background:#fff2f0; border-color:#ffc8c2; color:#9b1c13; display:grid; gap:8px; }
.empty-catalog { text-align:center; padding:70px 30px; }
.empty-catalog > div { font-size:50px; color:var(--brand); }
.empty-catalog a { color:var(--brand); font-weight:800; }
@media (max-width: 1050px) {
    .header-main { grid-template-columns:auto 1fr auto; }
    .brand__text { display:none; }
    .product-grid { grid-template-columns:repeat(3,1fr); }
    .trust-strip__grid { grid-template-columns:1fr 1fr; }
    .trust-strip article:nth-child(2) { border-right:0; }
    .trust-strip article:nth-child(-n+2) { border-bottom:1px solid var(--line); }
}
@media (max-width: 820px) {
    .announcement__inner span:last-child, .category-nav { display:none; }
    .announcement__inner { justify-content:center; }
    .header-main { min-height:72px; grid-template-columns:auto 1fr auto; gap:12px; }
    .search button, .cart-button > span, .icon-button { display:none; }
    .search { height:44px; grid-template-columns:20px 1fr; }
    .hero__grid { min-height:0; grid-template-columns:1fr; padding-block:55px; }
    .hero__copy { text-align:center; }
    .hero__copy > p { margin-inline:auto; }
    .hero__actions, .hero__stats { justify-content:center; }
    .hero__visual { min-height:420px; }
    .product-stage { width:min(470px,90%); }
    .product-grid { grid-template-columns:repeat(2,1fr); }
    .section-heading { align-items:flex-start; flex-direction:column; }
    .delivery-section__grid { grid-template-columns:1fr; gap:40px; }
    .footer__grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 560px) {
    .container { width:min(100% - 24px,1180px); }
    .announcement { font-size:10px; }
    .brand__mark { width:40px; height:40px; border-radius:12px; }
    .header-main { grid-template-columns:auto 1fr auto; }
    .cart-button { width:44px; padding:0; position:relative; }
    .cart-button b { position:absolute; top:-6px; right:-5px; width:20px; height:20px; }
    .hero h1 { font-size:42px; }
    .hero__copy > p { font-size:15px; }
    .hero__actions { flex-direction:column; }
    .hero__stats { gap:18px; justify-content:space-between; }
    .hero__stats span { font-size:10px; }
    .hero__visual { min-height:330px; }
    .product-stage { border-radius:28px; }
    .stage-card { min-width:0; padding:10px 12px; }
    .stage-card--top { top:35px; right:-5px; }
    .stage-card--bottom { bottom:25px; left:-5px; }
    .trust-strip__grid { grid-template-columns:1fr; }
    .trust-strip article { border-right:0; border-bottom:1px solid var(--line); min-height:90px; }
    .catalog-section { padding:65px 0; }
    .product-grid { grid-template-columns:1fr; }
    .product-card__media { aspect-ratio:1.35; }
    .product-card h3 { min-height:auto; }
    .delivery-steps { grid-template-columns:1fr; }
    .delivery-card { padding:28px 24px; }
    .footer__grid { grid-template-columns:1fr; gap:30px; }
    .footer__bottom { flex-direction:column; }
}

/* Tarjetas temporales de demostración */
.product-card--demo { opacity:.92; }
.product-card--demo:hover { transform:none; box-shadow:none; }
.product-card--demo .product-card__media img { filter:saturate(.78); }
.product-badge--demo { background:#eef2f7; color:#596579; }
.product-card__actions--demo { grid-template-columns:1fr; }
.add-button--demo,
.add-button--demo:hover,
.add-button--demo:disabled { background:#dfe5ec; color:#657184; cursor:not-allowed; opacity:1; }

/* Menú dinámico de líneas y categorías */
.catalog-menu { position:relative; flex:0 0 auto; }
.catalog-menu__panel { position:absolute; left:0; top:calc(100% + 10px); z-index:90; width:320px; padding:10px; background:#fff; border:1px solid var(--line); border-radius:16px; box-shadow:0 24px 60px rgba(11,18,32,.18); opacity:0; visibility:hidden; transform:translateY(-6px); transition:.18s ease; }
.catalog-menu.is-open .catalog-menu__panel { opacity:1; visibility:visible; transform:translateY(0); }
.catalog-menu__all, .catalog-menu__line > a, .catalog-menu__categories a { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px 13px; border-radius:10px; font-size:13px; }
.catalog-menu__all { color:var(--brand); font-weight:800; background:#f1f6ff; margin-bottom:5px; }
.catalog-menu__line { position:relative; }
.catalog-menu__line > a { font-weight:700; }
.catalog-menu__line > a:hover, .catalog-menu__categories a:hover { background:#f5f7fb; color:var(--brand); }
.catalog-menu__line small, .catalog-menu__categories small { color:#8792a5; font-weight:700; }
.catalog-menu__categories { display:none; position:absolute; left:calc(100% + 8px); top:-6px; width:270px; padding:10px; background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:0 22px 55px rgba(11,18,32,.16); }
.catalog-menu__line:hover .catalog-menu__categories { display:block; }
.catalog-menu__view-all { font-weight:800; color:var(--brand); border-bottom:1px solid var(--line); margin-bottom:4px; }

/* Página de catálogo ampliado */
.catalog-page { background:var(--surface-soft); padding:34px 0 90px; min-height:70vh; }
.breadcrumbs { display:flex; align-items:center; flex-wrap:wrap; gap:9px; color:#7b8798; font-size:12px; margin:4px 0 34px; }
.breadcrumbs a:hover { color:var(--brand); }
.breadcrumbs strong { color:var(--ink); }
.catalog-page__heading { display:flex; align-items:flex-end; justify-content:space-between; gap:30px; margin-bottom:34px; }
.catalog-page__heading h1 { margin:8px 0 8px; font-family:'Space Grotesk',sans-serif; font-size:clamp(36px,5vw,62px); line-height:1; }
.catalog-page__heading p { margin:0; color:var(--muted); }
.catalog-layout { display:grid; grid-template-columns:250px minmax(0,1fr); gap:28px; align-items:start; }
.catalog-sidebar { display:grid; gap:18px; position:sticky; top:132px; }
.filter-card { background:#fff; border:1px solid var(--line); border-radius:18px; padding:17px; }
.filter-card__title { display:flex; justify-content:space-between; align-items:center; padding:3px 4px 13px; border-bottom:1px solid var(--line); margin-bottom:8px; }
.filter-card__title span { display:grid; place-items:center; min-width:25px; height:25px; padding:0 7px; border-radius:999px; background:#eef4ff; color:var(--brand); font-size:11px; font-weight:800; }
.filter-group { border-top:1px solid #f0f2f5; padding-top:4px; margin-top:4px; }
.filter-link { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:10px 9px; border-radius:9px; color:#586477; font-size:13px; }
.filter-link b { color:#98a2b3; font-size:11px; }
.filter-link:hover, .filter-link.is-active { background:#eef4ff; color:var(--brand); font-weight:700; }
.filter-link--line { color:var(--ink); font-weight:700; }
.filter-sublinks { padding-left:12px; }
.filter-sublinks .filter-link { padding-block:8px; font-size:12px; }
.filter-card--info { background:#0f1c31; color:#fff; }
.filter-card--info p { color:#c5cede; font-size:12px; line-height:1.6; margin-bottom:0; }
.catalog-results { min-width:0; }
.catalog-toolbar { display:flex; align-items:center; justify-content:space-between; min-height:52px; padding:0 16px; margin-bottom:18px; background:#fff; border:1px solid var(--line); border-radius:14px; color:var(--muted); font-size:13px; }
.catalog-toolbar strong { color:var(--ink); }
.catalog-toolbar a { color:var(--brand); font-weight:700; }
.product-grid--catalog { grid-template-columns:repeat(3,minmax(0,1fr)); }
.pagination { display:flex; align-items:center; justify-content:center; gap:18px; margin-top:30px; }
.pagination a, .pagination span { padding:11px 15px; border:1px solid var(--line); border-radius:10px; background:#fff; font-size:12px; font-weight:700; }
.pagination a:hover { border-color:var(--brand); color:var(--brand); }

@media (max-width:1050px) {
    .catalog-layout { grid-template-columns:210px minmax(0,1fr); }
    .product-grid--catalog { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:820px) {
    .category-nav { display:block; overflow:visible; }
    .category-nav__inner > a { display:none; }
    .category-nav__inner { min-height:58px; }
    .catalog-menu { width:100%; }
    .category-all { width:100%; justify-content:center; }
    .catalog-menu__panel { width:100%; }
    .catalog-menu__categories { position:static; display:block; width:auto; border:0; box-shadow:none; padding:0 0 4px 14px; }
    .catalog-page__heading { align-items:flex-start; flex-direction:column; }
    .catalog-layout { grid-template-columns:1fr; }
    .catalog-sidebar { position:static; }
    .filter-card--info { display:none; }
}
@media (max-width:560px) {
    .catalog-page { padding-top:22px; }
    .breadcrumbs { margin-bottom:24px; }
    .catalog-page__heading h1 { font-size:38px; }
    .product-grid--catalog { grid-template-columns:1fr; }
}

/* Estado agotado y navegación a detalle */
.product-card { position:relative; }
.product-card__media, .product-card__content { position:relative; z-index:1; }
.product-card__image-link { display:grid; place-items:center; width:100%; height:100%; }
.product-card h3 a:hover { color:var(--brand); }
.qty-picker, .add-button { position:relative; z-index:5; }
.product-badge--soldout { background:#fdecec; color:#d93025; border:1px solid #f4b4b4; }
.product-card--soldout { order:99; }
.product-card--soldout .product-card__media img { filter:grayscale(.35); opacity:.82; }
.product-card--soldout .delivery { color:#b42318; font-weight:700; }
.product-card--soldout .delivery span { background:#d93025; box-shadow:0 0 0 4px rgba(217,48,37,.12); }
.product-card--soldout .product-card__actions { grid-template-columns:1fr; }
.add-button--disabled, .add-button--disabled:hover, .add-button--disabled:disabled { min-height:44px; background:#e4e8ee; color:#697586; cursor:not-allowed; opacity:1; }
.catalog-cta { display:flex; justify-content:center; margin-top:30px; }

/* Bloques comerciales de portada */
.section-heading--center { justify-content:center; text-align:center; }
.section-heading--compact { align-items:center; }
.section-heading--compact > a { color:var(--brand); font-weight:800; font-size:13px; }
.home-benefits { padding:82px 0; background:#fff; }
.benefit-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.benefit-grid article { padding:28px 24px; border:1px solid var(--line); border-radius:20px; text-align:center; background:#fff; }
.benefit-grid article > span { width:46px; height:46px; margin:0 auto 18px; border-radius:14px; display:grid; place-items:center; background:#edf4ff; color:var(--brand); font-size:20px; font-weight:900; }
.benefit-grid h3 { margin:0 0 10px; font:700 18px/1.2 Space Grotesk; }
.benefit-grid p { margin:0; color:var(--muted); font-size:13px; line-height:1.65; }
.contact-section { padding:5px 0 0px; background:#fff;margin-top:50px; }
.contact-panel { display:grid; grid-template-columns:1fr auto; align-items:center; gap:40px; padding:34px 38px; border-radius:24px; background:linear-gradient(135deg,#0d1c31,#123b50); color:#fff; overflow:hidden; }
.contact-panel h2 { margin:10px 0; font:700 clamp(28px,4vw,44px)/1.08 Space Grotesk; }
.contact-panel p { margin:0; max-width:680px; color:#d1dae6; line-height:1.65; }
.contact-panel__actions { display:flex; gap:12px; }
.contact-button { min-height:50px; display:inline-flex; align-items:center; justify-content:center; padding:0 20px; border-radius:13px; background:#fff; color:var(--ink); font-weight:800; white-space:nowrap; }
.contact-button--whatsapp { background:#25d366; color:#fff; }
.complementary-section { padding:50px 0; background:#f8fafc; }
.compact-carousel { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(210px,1fr); gap:16px; overflow-x:auto; padding:5px 2px 18px; scroll-snap-type:x mandatory; scrollbar-width:thin; scroll-behavior:smooth; }
.compact-card { scroll-snap-align:start; background:#fff; border:1px solid var(--line); border-radius:18px; overflow:hidden; min-width:0; }
.compact-card__image { display:grid; place-items:center; aspect-ratio:1.25; background:#f5f7fb; padding:14px; }
.compact-card__image img { width:100%; height:100%; object-fit:contain; }
.compact-card__body { display:grid; gap:7px; padding:14px; }
.compact-card__body > span { color:var(--brand); font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.compact-card__body strong { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; font-size:13px; line-height:1.4; }
.compact-card__body b { font:700 17px/1.2 Space Grotesk; }
.whatsapp-float { position:fixed; left:24px; bottom:24px; z-index:95; display:flex; align-items:center; gap:10px; min-height:58px; padding:0 22px; border-radius:999px; background:#25d366; color:#fff; box-shadow:0 14px 34px rgba(10,120,57,.32); font-weight:800; }
.whatsapp-float span { width:28px; height:28px; display:grid; place-items:center; border:2px solid #fff; border-radius:50%; }

/* Ficha individual */
.product-detail-page { padding:36px 0 90px; background:#fff; }
.product-detail { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr); gap:48px; align-items:start; }
.product-gallery__main { aspect-ratio:1.05; border:1px solid var(--line); border-radius:22px; background:#f8fafc; display:grid; place-items:center; padding:24px; overflow:hidden; }
.product-gallery__main img { width:100%; height:100%; object-fit:contain; }
.product-gallery__thumbs { display:grid; grid-template-columns:repeat(5,1fr); gap:10px; margin-top:12px; }
.product-gallery__thumbs button { aspect-ratio:1; border:1px solid var(--line); border-radius:12px; background:#fff; padding:6px; overflow:hidden; }
.product-gallery__thumbs button.is-active { border-color:var(--brand); box-shadow:0 0 0 3px rgba(20,99,255,.1); }
.product-gallery__thumbs img { width:100%; height:100%; object-fit:contain; }
.product-detail__info { position:sticky; top:150px; }
.product-detail__info h1 { margin:12px 0 14px; font:700 clamp(32px,4vw,52px)/1.05 Space Grotesk; letter-spacing:-.035em; }
.product-detail__code { color:var(--muted); font-size:12px; margin-bottom:18px; }
.detail-status { display:inline-flex; padding:8px 12px; border-radius:999px; background:#e9fbf5; color:#087d58; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.07em; }
.detail-status--soldout { background:#eef1f5; color:#667085; }
.product-detail__price { display:grid; margin:24px 0 14px; }
.product-detail__price strong { font:700 34px/1 Space Grotesk; }
.product-detail__price small { margin-top:8px; color:var(--muted); }
.product-detail__delivery { color:#526075; padding:14px 16px; border-radius:12px; background:#f5f7fb; }
.product-detail__actions { display:grid; grid-template-columns:155px 1fr; gap:12px; margin:20px 0; }
.product-detail__description { margin-top:30px; padding-top:26px; border-top:1px solid var(--line); color:#4e5b6d; line-height:1.75; }
.product-detail__description h2 { color:var(--ink); font:700 22px/1.2 Space Grotesk; }
.detail-assurance { display:flex; flex-wrap:wrap; gap:9px; margin-top:25px; }
.detail-assurance span { padding:9px 11px; border-radius:10px; background:#f5f7fb; color:#526075; font-size:11px; font-weight:700; }
.related-products { padding-top:85px; }
.product-grid--related { grid-template-columns:repeat(4,1fr); }

@media (max-width:1050px) {
    .benefit-grid { grid-template-columns:repeat(2,1fr); }
    .product-detail { grid-template-columns:1fr 1fr; gap:30px; }
    .product-grid--related { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:820px) {
    .contact-panel { grid-template-columns:1fr; }
    .contact-panel__actions { justify-content:flex-start; }
    .product-detail { grid-template-columns:1fr; }
    .product-detail__info { position:static; }
}
@media (max-width:560px) {
    .container { width:min(100% - 34px,1180px); }
    .catalog-section .container, .catalog-page .container, .product-detail-page .container, .home-benefits .container, .complementary-section .container, .contact-section .container, .delivery-section .container { width:min(100% - 36px,1180px); }
    .product-card { border-radius:18px; }
    .benefit-grid { grid-template-columns:1fr; }
    .contact-panel { padding:28px 22px; }
    .contact-panel__actions { flex-direction:column; }
    .compact-carousel { grid-auto-columns:78%; }
    .whatsapp-float { left:16px; bottom:16px; min-height:54px; padding:0 18px; }
    .product-gallery__thumbs { grid-template-columns:repeat(4,1fr); }
    .product-detail__actions { grid-template-columns:1fr; }
    .product-grid--related { grid-template-columns:1fr; }
}

/* Métodos de pago en footer */
.footer-payments p { margin:0 0 2px; font-size:12px; }
.footer-payments__logos { display:grid; gap:12px; margin:6px 0 4px; }
.footer-payments__mercadopago { width:158px; height:auto; }
.footer-payments__cards { display:flex; align-items:center; gap:10px; }
.footer-payments__cards img { width:58px; height:34px; object-fit:contain; padding:6px 8px; border-radius:7px; background:#fff; }
@media (max-width:560px) {
    .footer-payments__mercadopago { width:145px; }
}

/* Carrusel visual de portada */
.lifestyle-section{padding:72px 0;background:#fff}.lifestyle-carousel{position:relative;overflow:hidden;border-radius:24px;aspect-ratio:2.58;background:#0b1220;box-shadow:var(--shadow)}.lifestyle-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .55s ease,visibility .55s ease}.lifestyle-slide.is-active{opacity:1;visibility:visible}.lifestyle-slide>img{width:100%;height:100%;object-fit:cover}.lifestyle-slide__content{position:absolute;left:6%;top:50%;transform:translateY(-50%);max-width:520px;color:#fff;text-shadow:0 3px 18px rgba(0,0,0,.35)}.lifestyle-slide__content span{font-size:12px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.lifestyle-slide__content h2{margin:14px 0 22px;font:700 clamp(30px,4vw,58px)/1.02 Space Grotesk}.lifestyle-slide__content a{display:inline-flex;min-height:46px;align-items:center;padding:0 18px;border-radius:10px;background:#fff;color:var(--ink);font-weight:800;text-shadow:none}.lifestyle-arrow{position:absolute;top:50%;z-index:4;width:48px;height:48px;border:0;border-radius:50%;transform:translateY(-50%);background:#fff;color:var(--ink);font-size:34px;line-height:1}.lifestyle-arrow--prev{left:18px}.lifestyle-arrow--next{right:18px}.lifestyle-dots{position:absolute;z-index:4;left:50%;bottom:18px;display:flex;gap:8px;transform:translateX(-50%)}.lifestyle-dots button{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.45)}.lifestyle-dots button.is-active{background:#fff}.compact-card__delivery{display:flex;align-items:center;gap:7px;margin:2px 0 1px;color:#687386;font-size:11px;line-height:1.35}.compact-card__delivery span{width:8px;height:8px;flex:0 0 auto;border-radius:50%;background:var(--success);box-shadow:0 0 0 4px rgba(22,166,106,.12)}
@media(max-width:820px){.lifestyle-carousel{aspect-ratio:1.65}.lifestyle-slide__content{left:8%;max-width:65%}}@media(max-width:560px){.lifestyle-section{padding:45px 0}.lifestyle-carousel{aspect-ratio:.95;border-radius:18px}.lifestyle-slide__content{left:8%;right:8%;top:auto;bottom:60px;transform:none;max-width:none}.lifestyle-slide__content h2{font-size:34px}.lifestyle-arrow{width:40px;height:40px}}

/* Hero: escaparate cuadrado de productos */
.product-showcase {
    isolation: isolate;
    aspect-ratio: 1;
    width: min(520px, 100%);
    border-radius: 40px;
    background: linear-gradient(150deg, #0e1729, #1f3a5f 55%, #127a83);
}
.product-showcase::before {
    content: "";
    position: absolute;
    width: 48%;
    height: 48%;
    right: -15%;
    top: -10%;
    border-radius: 50%;
    background: rgba(129, 160, 255, .28);
    filter: blur(10px);
    z-index: 0;
}
.product-showcase::after {
    content: "";
    position: absolute;
    width: 38%;
    height: 38%;
    left: -12%;
    bottom: -12%;
    border-radius: 50%;
    background: rgba(65, 231, 204, .25);
    filter: blur(10px);
    z-index: 0;
}
.product-showcase__slide {
    position: absolute;
    inset: 7%;
    z-index: 2;
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateX(12%) scale(.92);
    transition: opacity .55s ease, transform .55s ease, visibility .55s;
    pointer-events: none;
}
.product-showcase__slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
    pointer-events: auto;
}
.product-showcase__slide.is-leaving {
    opacity: 0;
    transform: translateX(-12%) scale(.96);
}
.product-showcase__slide img {
    width: 94%;
    height: 94%;
    object-fit: contain;
    filter: drop-shadow(0 30px 25px rgba(0, 0, 0, .38));
}
.product-showcase__arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: var(--ink);
    font-size: 28px;
    line-height: 1;
    transform: translateY(-50%);
    box-shadow: 0 10px 25px rgba(0,0,0,.16);
}
.product-showcase__arrow--prev { left: 18px; }
.product-showcase__arrow--next { right: 18px; }
.product-showcase__dots {
    position: absolute;
    left: 50%;
    bottom: 20px;
    z-index: 5;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}
.product-showcase__dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.45);
    transition: width .2s, background .2s;
}
.product-showcase__dots button.is-active {
    width: 24px;
    background: #fff;
}
.hero__stats { align-items: start; }
.hero__stats div { max-width: 155px; }
.hero__stats strong { font-size: 16px; }
.hero__stats span { line-height: 1.45; }

@media (max-width: 820px) {
    .product-showcase { width: min(470px, 90vw); }
}
@media (max-width: 560px) {
    .product-showcase { width: min(100%, 420px); border-radius: 28px; }
    .product-showcase__arrow { width: 38px; height: 38px; }
    .product-showcase__arrow--prev { left: 10px; }
    .product-showcase__arrow--next { right: 10px; }
    .hero__stats div { max-width: 31%; }
    .hero__stats strong { font-size: 13px; }
}


/* Ajustes finales del hero y escaparate de productos */
.secondary-button--whatsapp {
    background: #25d366;
    border-color: #25d366;
    color: #fff;
    box-shadow: 0 12px 26px rgba(37, 211, 102, .22);
}
.secondary-button--whatsapp:hover { background: #1fbd59; border-color: #1fbd59; }
.product-showcase__slide {
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 10px;
    padding: 3% 4% 6%;
}
.product-showcase__media {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 0;
}
.product-showcase__media::before {
    content: "";
    position: absolute;
    width: 68%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 229, 203, .28), rgba(115, 137, 255, .13) 48%, transparent 72%);
    filter: blur(12px);
}
.product-showcase__slide img {
    position: relative;
    z-index: 1;
    width: 92%;
    height: 92%;
    object-fit: contain;
    transform: rotate(-2.2deg);
}
.product-showcase__slide:nth-child(even) img { transform: rotate(2.2deg); }
.product-showcase__info {
    position: relative;
    z-index: 3;
    display: grid;
    gap: 4px;
    margin-inline: 34px;
    padding: 12px 15px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 14px;
    background: rgba(7, 18, 34, .68);
    backdrop-filter: blur(10px);
    color: #fff;
    text-align: left;
}
.product-showcase__info small {
    color: #71eadc;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.product-showcase__info strong {
    overflow: hidden;
    font-size: 13px;
    line-height: 1.35;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.product-showcase__dots { bottom: 10px; }
@media (max-width: 560px) {
    .product-showcase__slide { padding-bottom: 8%; }
    .product-showcase__info { margin-inline: 28px; padding: 10px 12px; }
    .product-showcase__info strong { font-size: 12px; }
}

/* =========================================================
   AJUSTE VISUAL DEL CARRUSEL CUADRADO DEL HERO
   - Fondo más claro para productos oscuros
   - Mayor contraste sin romper la paleta azul/verde
   - Hover suave con zoom, elevación y giro mínimo
   ========================================================= */

.product-showcase {
    background:
        radial-gradient(
            circle at 50% 42%,
            rgba(255, 255, 255, .24) 0%,
            rgba(170, 207, 232, .18) 28%,
            rgba(102, 178, 194, .10) 48%,
            transparent 66%
        ),
        linear-gradient(
            145deg,
            #1a3151 0%,
            #285a78 56%,
            #23818a 100%
        );
}

/* Halo luminoso detrás de la marcadora */
.product-showcase__media::before {
    content: "";
    position: absolute;
    width: 82%;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, .46) 0%,
            rgba(205, 244, 249, .40) 19%,
            rgba(121, 226, 220, .32) 39%,
            rgba(111, 158, 246, .18) 59%,
            transparent 79%
        );
    filter: blur(24px);
    opacity: 1;
    transform: scale(1);
    transition: transform .5s ease, opacity .5s ease;
    pointer-events: none;
}

.product-showcase__media::after {
    content: "";
    position: absolute;
    width: 58%;
    height: 118%;
    left: 21%;
    top: -10%;
    background:
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, .18),
            rgba(205, 244, 249, .08) 38%,
            rgba(255, 255, 255, 0) 76%
        );
    filter: blur(36px);
    opacity: .85;
    pointer-events: none;
}
/* Mejora de presencia del producto */
.product-showcase__slide img {
    transition:
        transform .48s cubic-bezier(.2, .75, .25, 1),
        filter .48s ease;
    filter:
        drop-shadow(0 24px 22px rgba(4, 12, 24, .30))
        drop-shadow(0 7px 10px rgba(4, 12, 24, .18));
    will-change: transform;
}

/* Hover solo en dispositivos que realmente tienen cursor */
@media (hover: hover) and (pointer: fine) {
    .product-showcase__slide.is-active .product-showcase__media:hover img {
        transform: rotate(-.5deg) scale(1.075) translateY(-5px);
        filter:
            drop-shadow(0 32px 28px rgba(4, 12, 24, .36))
            drop-shadow(0 10px 14px rgba(4, 12, 24, .20));
    }

    .product-showcase__slide.is-active:nth-child(even) .product-showcase__media:hover img {
        transform: rotate(.5deg) scale(1.075) translateY(-5px);
    }

    .product-showcase__slide.is-active .product-showcase__media:hover::before {
        transform: scale(1.12);
        opacity: 1;
    }

    .product-showcase__slide.is-active .product-showcase__media:hover::after {
        opacity: 1;
        transform: scale(1.04);
    }
}

/* En móvil se mantiene estable y sin efectos de hover accidentales */
@media (max-width: 560px) {
    .product-showcase {
        background:
            radial-gradient(
                circle at 50% 40%,
                rgba(255, 255, 255, .22) 0%,
                rgba(170, 207, 232, .16) 32%,
                transparent 64%
            ),
            linear-gradient(
                145deg,
                #1a3151 0%,
                #285a78 56%,
                #23818a 100%
            );
    }

    .product-showcase__slide img {
        filter: drop-shadow(0 20px 18px rgba(4, 12, 24, .28));
    }
}

/* Información comercial dentro del carrusel principal */
.product-showcase__info {
    gap: 5px;
    padding: 13px 16px 14px;
}

.product-showcase__name {
    display: block;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.35;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.product-showcase__delivery {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 3px;
    color: rgba(255, 255, 255, .78);
    font-size: 10px;
    line-height: 1.35;
}

.product-showcase__delivery i {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #35d39a;
    box-shadow: 0 0 0 4px rgba(53, 211, 154, .14);
}

@media (max-width: 560px) {
    .product-showcase__info {
        gap: 4px;
        padding: 10px 12px 12px;
    }

    .product-showcase__delivery {
        font-size: 9px;
    }
}



/* Posición final del acceso flotante de WhatsApp */
.whatsapp-float {
    left: 24px;
    right: auto;
}

@media (max-width: 560px) {
    .whatsapp-float {
        left: 16px;
        right: auto;
    }
}

/* Marco blanco y brillo para imágenes de producto */
.product-card__media {
    position: relative;
    display: block;
    padding: 10px;
    background: #ffffff;
    overflow: hidden;
}

.product-card__image-link {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 48%, rgba(255,255,255,.98) 0%, rgba(255,255,255,.78) 24%, rgba(237,243,250,.58) 52%, rgba(230,237,246,.96) 100%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.96);
}

.product-card__image-link::before {
    content: "";
    position: absolute;
    left: 18%;
    right: 18%;
    top: 22%;
    bottom: 18%;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    filter: blur(28px);
    pointer-events: none;
}

.product-card__media img {
    position: relative;
    z-index: 1;
    width: 88%;
    height: 88%;
    object-fit: contain;
    filter: drop-shadow(0 14px 18px rgba(15,23,42,.14));
}

.product-card__media .product-badge {
    z-index: 3;
    top: 16px;
    left: 16px;
}

/* Mismo encuadre, brillo y zoom de las tarjetas grandes en el carrusel */
.compact-card__image {
    position: relative;
    display: grid;
    place-items: center;
    width: auto;
    aspect-ratio: 1.25;
    margin: 10px 10px 0;
    padding: 12px;
    border-radius: 18px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 48%, rgba(255,255,255,.98) 0%, rgba(255,255,255,.78) 24%, rgba(237,243,250,.58) 52%, rgba(230,237,246,.96) 100%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.96);
}

.compact-card__image::before {
    content: "";
    position: absolute;
    left: 18%;
    right: 18%;
    top: 22%;
    bottom: 18%;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    filter: blur(24px);
    pointer-events: none;
}

.compact-card__image img {
    position: relative;
    z-index: 1;
    display: block;
    width: 88%;
    height: 88%;
    margin: auto;
    object-fit: contain;
    object-position: center center;
    transform: scale(1);
    transform-origin: center center;
    transition: transform .35s ease;
    filter: drop-shadow(0 12px 16px rgba(15,23,42,.14));
}

.compact-card:hover .compact-card__image img {
    transform: scale(1.045);
}


/* Navegación principal y anclaje de contacto */
.category-home {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:46px;
    padding:0 22px;
    border:1px solid #dfe6f0;
    border-radius:12px;
    background:#fff;
    color:#0b1220;
    font-weight:800;
    text-decoration:none;
    white-space:nowrap;
}
.category-home:hover {
    border-color:#bfcbe0;
    background:#f7f9fc;
}
#contacto-directo {
    scroll-margin-top:190px;
}
@media (max-width: 900px) {
    #contacto-directo { scroll-margin-top:150px; }
}


/* Páginas legales */
.legal-hero { padding: 58px 0 44px; background: linear-gradient(145deg,#f7f9fc,#eef4ff); border-bottom:1px solid #e5eaf2; }
.legal-hero__inner { max-width: 900px; }
.legal-hero h1 { margin:10px 0 14px; font-family:"Space Grotesk",sans-serif; font-size:clamp(34px,5vw,58px); line-height:1.04; color:#0b1220; }
.legal-hero p { max-width:760px; margin:0 0 14px; color:#526077; font-size:18px; line-height:1.65; }
.legal-hero small { color:#78869c; }
.legal-page { padding:54px 0 80px; background:#fff; }
.legal-layout { display:grid; grid-template-columns:250px minmax(0,820px); gap:56px; align-items:start; justify-content:center; }
.legal-nav { position:sticky; top:170px; display:grid; gap:6px; padding:20px; border:1px solid #e2e8f0; border-radius:16px; background:#f8fafc; }
.legal-nav strong { margin-bottom:8px; color:#0b1220; }
.legal-nav a { padding:8px 10px; border-radius:8px; color:#536176; font-size:13px; text-decoration:none; }
.legal-nav a:hover { background:#fff; color:#2563eb; }
.legal-content section { scroll-margin-top:170px; padding:0 0 30px; margin:0 0 30px; border-bottom:1px solid #e7ecf3; }
.legal-content h2 { margin:0 0 15px; color:#0b1220; font-size:24px; }
.legal-content p,.legal-content li { color:#4c5a70; line-height:1.8; }
.legal-content ul,.legal-content ol { padding-left:22px; }
.legal-content a { color:#2563eb; font-weight:600; }
.legal-help { padding:24px; border-radius:16px; background:#0b1220; color:#fff; }
.legal-help p { margin:8px 0 0; color:#d7dfeb; }
.legal-help a { color:#8fb5ff; }
.footer__legal { display:flex; flex-wrap:wrap; justify-content:center; gap:8px 18px; }
.footer__legal a { color:inherit; font-size:13px; text-decoration:none; }
.footer__legal a:hover { text-decoration:underline; }
@media (max-width:900px) { .legal-layout{grid-template-columns:1fr;gap:28px}.legal-nav{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.legal-nav strong{grid-column:1/-1}.footer__bottom{gap:14px}.footer__legal{order:3;width:100%} }
@media (max-width:560px) { .legal-hero{padding:38px 0 30px}.legal-page{padding:34px 0 60px}.legal-nav{grid-template-columns:1fr}.legal-content h2{font-size:21px} }

/* Menú global de cuenta */
.header-account{position:relative;display:flex;align-items:center}
.header-account__trigger{position:relative}
.header-account__trigger[type="button"]{font:inherit}
.header-account--active::after{content:"";position:absolute;width:9px;height:9px;border-radius:50%;background:#22c55e;right:7px;top:7px;border:2px solid #fff;box-sizing:content-box}
.account-user-menu{position:absolute;z-index:5000;right:0;top:calc(100% + 10px);width:240px;padding:10px;background:#fff;border:1px solid #dce3ee;border-radius:16px;box-shadow:0 18px 45px rgba(15,23,42,.18)}
.account-user-menu[hidden]{display:none!important}
.account-user-menu__identity{display:grid;gap:2px;padding:10px 12px 8px;color:#172033}
.account-user-menu__identity small{font-size:12px;color:#667085;font-weight:600}
.account-user-menu__identity strong{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-user-menu a{display:flex;align-items:center;min-height:42px;padding:10px 12px;border-radius:9px;color:#172033;text-decoration:none;font-size:14px;font-weight:700}
.account-user-menu a:hover,.account-user-menu a:focus{background:#f1f5fb;color:#155eef;outline:none}
.account-user-menu__separator{display:block;height:1px;background:#e7ebf1;margin:6px 4px}
.account-user-menu .account-user-menu__logout{color:#b42318}
.account-user-menu .account-user-menu__logout:hover{background:#fff1f0;color:#b42318}
@media(max-width:700px){.account-user-menu{position:fixed;top:auto;right:12px;left:12px;width:auto;max-width:none}}

/* =========================================================
   PORTADA LIFESTYLE + BLOQUE EDITORIAL DE PRODUCTOS
   ========================================================= */
.lifestyle-section--hero {
    padding: 26px 0 26px;
    background: linear-gradient(180deg, #f5f8fd 0%, #ffffff 100%);
}
.lifestyle-section--hero .lifestyle-section__container {
    width: min(100% - 34px, 1320px);
}
.lifestyle-carousel--hero {
    aspect-ratio: 2.35;
    min-height: 510px;
    border-radius: 28px;
    box-shadow: 0 30px 75px rgba(15, 31, 57, .18);
}
.lifestyle-carousel--hero .lifestyle-slide__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(3, 10, 20, .82) 0%, rgba(3, 10, 20, .60) 33%, rgba(3, 10, 20, .18) 62%, rgba(3, 10, 20, .05) 100%),
        linear-gradient(0deg, rgba(3, 10, 20, .38), transparent 48%);
    pointer-events: none;
}
.lifestyle-carousel--hero .lifestyle-slide__content {
    z-index: 2;
    left: 7%;
    width: min(550px, 48%);
    max-width: none;
    text-shadow: 0 4px 24px rgba(0,0,0,.42);
}
.lifestyle-carousel--hero .lifestyle-slide__content span {
    display: block;
    color: #8df5e9;
    font-size: 13px;
}
.lifestyle-carousel--hero .lifestyle-slide__content h1 {
    margin: 15px 0 14px;
    color: #fff;
    font: 800 clamp(42px, 5vw, 72px)/.96 "Space Grotesk", sans-serif;
    letter-spacing: -.045em;
}
.lifestyle-carousel--hero .lifestyle-slide__content p {
    margin: 0 0 25px;
    color: rgba(255,255,255,.9);
    font-size: clamp(17px, 1.6vw, 22px);
    line-height: 1.45;
}
.lifestyle-carousel--hero .lifestyle-slide__cta {
    min-height: 52px;
    padding-inline: 24px;
    border-radius: 12px;
    background: var(--brand);
    color: #fff;
    box-shadow: 0 16px 34px rgba(31, 103, 255, .32);
}
.lifestyle-carousel--hero .lifestyle-arrow { z-index: 5; }
.lifestyle-carousel--hero .lifestyle-dots { z-index: 5; }

.product-editorial {
    padding: 84px 0;
    background: #fff;
}
.product-editorial__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
    align-items: center;
    gap: clamp(42px, 7vw, 90px);
}
.product-editorial__copy h2 {
    max-width: 650px;
    margin: 14px 0 18px;
    font: 700 clamp(34px, 4.2vw, 56px)/1.03 "Space Grotesk", sans-serif;
    letter-spacing: -.04em;
}
.product-editorial__copy > p {
    max-width: 650px;
    margin: 0 0 28px;
    color: #5c687c;
    font-size: 17px;
    line-height: 1.7;
}
.product-editorial__features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin-bottom: 28px;
}
.product-editorial__features article {
    display: grid;
    gap: 5px;
    min-height: 92px;
    padding: 17px 18px;
    border: 1px solid #e2e8f1;
    border-radius: 15px;
    background: #fbfcfe;
}
.product-editorial__features strong {
    font: 700 16px/1.2 "Space Grotesk", sans-serif;
}
.product-editorial__features span {
    color: #6a7587;
    font-size: 13px;
    line-height: 1.45;
}
.product-editorial__visual {
    display: grid;
    place-items: center;
}
.product-showcase--editorial {
    width: min(100%, 455px);
    aspect-ratio: 1;
    border-radius: 32px;
    box-shadow: 0 28px 64px rgba(15, 38, 68, .22);
}

@media (max-width: 920px) {
    .lifestyle-carousel--hero { min-height: 470px; aspect-ratio: 1.75; }
    .lifestyle-carousel--hero .lifestyle-slide__content { width: 58%; }
    .product-editorial__grid { grid-template-columns: 1fr; }
    .product-editorial__copy { text-align: center; }
    .product-editorial__copy h2,
    .product-editorial__copy > p { margin-inline: auto; }
    .product-editorial__visual { order: -1; }
}
@media (max-width: 620px) {
    .lifestyle-section--hero { padding: 14px 0 36px; }
    .lifestyle-section--hero .lifestyle-section__container { width: min(100% - 20px, 1320px); }
    .lifestyle-carousel--hero {
        min-height: 540px;
        aspect-ratio: .88;
        border-radius: 20px;
    }
    .lifestyle-carousel--hero .lifestyle-slide>img { object-position: 58% center; }
    .lifestyle-carousel--hero .lifestyle-slide__shade {
        background: linear-gradient(0deg, rgba(3,10,20,.90) 0%, rgba(3,10,20,.62) 47%, rgba(3,10,20,.12) 78%);
    }
    .lifestyle-carousel--hero .lifestyle-slide__content {
        left: 24px;
        right: 24px;
        bottom: 66px;
        top: auto;
        width: auto;
        transform: none;
    }
    .lifestyle-carousel--hero .lifestyle-slide__content h1 { font-size: clamp(36px, 12vw, 52px); }
    .lifestyle-carousel--hero .lifestyle-slide__content p { font-size: 16px; }
    .lifestyle-carousel--hero .lifestyle-arrow { width: 40px; height: 40px; }
    .lifestyle-carousel--hero .lifestyle-arrow--prev { left: 12px; }
    .lifestyle-carousel--hero .lifestyle-arrow--next { right: 12px; }
    .product-editorial { padding: 58px 0; }
    .product-editorial__features { grid-template-columns: 1fr; }
    .product-editorial__features article { min-height: 0; }
    .product-showcase--editorial { width: min(100%, 390px); }
}


/* Ajustes finales: marca, WhatsApp en cabecera y hero lifestyle */
.brand__mark--cube {
    display:grid;
    place-items:center;
    overflow:hidden;
    background:linear-gradient(145deg,#0f6bff,#0b48c8);
}
.brand__mark--cube svg {
    width:70%;
    height:70%;
    fill:none;
    stroke:#8ff4ee;
    stroke-width:3.2;
    stroke-linejoin:round;
    stroke-linecap:round;
}
.header-whatsapp {
    width:46px;
    height:46px;
    flex:0 0 46px;
    display:grid;
    place-items:center;
    border-radius:14px;
    background:#25d366;
    color:#fff;
    box-shadow:0 10px 24px rgba(37,211,102,.24);
    transition:transform .18s ease,box-shadow .18s ease,background .18s ease;
}
.header-whatsapp:hover,.header-whatsapp:focus-visible {
    transform:translateY(-1px);
    background:#1fbd59;
    box-shadow:0 12px 28px rgba(37,211,102,.34);
    outline:none;
}
.header-whatsapp svg {width:27px;height:27px;fill:currentColor}
.sr-only {position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.whatsapp-float {display:none!important}

.lifestyle-carousel--hero .lifestyle-slide__shade {
    inset:0 auto 0 0;
    width:min(58%,760px);
    background:linear-gradient(90deg,rgba(3,10,20,.78) 0%,rgba(3,10,20,.58) 46%,rgba(3,10,20,.22) 76%,transparent 100%);
}
.lifestyle-carousel--hero .lifestyle-slide__content {
    left:6%;
    width:min(470px,43%);
}
.lifestyle-carousel--hero .lifestyle-slide__content h1 {
    font-size:clamp(36px,4.15vw,60px);
    line-height:.98;
    letter-spacing:-.04em;
}
.lifestyle-carousel--hero .lifestyle-slide__content p {
    font-size:clamp(16px,1.35vw,20px);
    margin-bottom:21px;
}
.lifestyle-carousel--hero .lifestyle-slide__cta {
    min-height:48px;
    padding-inline:21px;
}

@media(max-width:1100px){
    .header-whatsapp{width:44px;height:44px;flex-basis:44px;border-radius:13px}
    .header-whatsapp svg{width:25px;height:25px}
}
@media(max-width:620px){
    .brand__mark--cube svg{width:72%;height:72%}
    .header-whatsapp{width:44px;height:44px;flex-basis:44px;border-radius:13px}
    .header-whatsapp svg{width:25px;height:25px}
    .lifestyle-carousel--hero .lifestyle-slide__shade{
        inset:auto 0 0 0;
        width:100%;
        height:64%;
        background:linear-gradient(0deg,rgba(3,10,20,.82) 0%,rgba(3,10,20,.54) 54%,transparent 100%);
    }
    .lifestyle-carousel--hero .lifestyle-slide__content{
        left:30px;
        right:30px;
        width:auto;
    }
    .lifestyle-carousel--hero .lifestyle-slide__content h1{font-size:clamp(31px,9.5vw,42px)}
    .lifestyle-carousel--hero .lifestyle-slide__content p{font-size:15px;margin-bottom:18px}
    .lifestyle-carousel--hero .lifestyle-slide__cta{min-height:46px;padding-inline:18px}
}

/* Corrección final de iconos de marca y WhatsApp */
.brand__mark--cube img{width:72%;height:72%;object-fit:contain;display:block;filter:drop-shadow(0 1px 0 rgba(255,255,255,.08))}
.brand--footer .brand__mark--cube img{width:68%;height:68%}
.header-whatsapp{padding:0;overflow:hidden}
.header-whatsapp svg{display:block;width:24px!important;height:24px!important;fill:#fff!important}
@media(max-width:620px){.header-whatsapp svg{width:23px!important;height:23px!important}.brand__mark--cube img{width:70%;height:70%}}


/* Cierre de sesión seguro mediante POST dentro del menú global. */
.account-user-menu__logout-form { margin: 0; }
.account-user-menu__logout-form .account-user-menu__logout {
    width: 100%;
    border: 0;
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.checkout-button{display:flex;align-items:center;justify-content:center;text-decoration:none;box-sizing:border-box;cursor:pointer}


/* Isotipo XCUBE compartido con el ERP, sin fondos ni escalados artificiales. */
.brand__mark.brand__mark--cube {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 13px;
    background: transparent !important;
    box-shadow: none !important;
    overflow: hidden;
}

.brand__mark.brand__mark--cube img {
    display: block;
    width: 46px;
    height: 46px;
    max-width: none;
    object-fit: contain;
}

@media (max-width: 760px) {
    .brand__mark.brand__mark--cube,
    .brand__mark.brand__mark--cube img {
        width: 42px;
        height: 42px;
    }

    .brand__mark.brand__mark--cube {
        flex-basis: 42px;
        border-radius: 12px;
    }
}


/* LOGOTIPO XCUBE FINAL: SITIO Y CORREO COMPARTEN EL MISMO PNG */
.brand__mark.brand__mark--cube {
    width: 58px !important;
    height: 58px !important;
    flex: 0 0 58px !important;
    display: block !important;
    padding: 0 !important;
    border-radius: 14px !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.brand__mark.brand__mark--cube img {
    display: block !important;
    width: 58px !important;
    height: 58px !important;
    max-width: none !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
    filter: none !important;
}

.brand--footer .brand__mark.brand__mark--cube,
.brand--footer .brand__mark.brand__mark--cube img {
    width: 52px !important;
    height: 52px !important;
    flex-basis: 52px !important;
}

@media (max-width: 760px) {
    .brand__mark.brand__mark--cube,
    .brand__mark.brand__mark--cube img {
        width: 50px !important;
        height: 50px !important;
    }

    .brand__mark.brand__mark--cube {
        flex-basis: 50px !important;
    }
}


/* LOGOTIPO XCUBE AJUSTE DEFINITIVO */
.site-header .brand__mark.brand__mark--cube {
    width: 56px !important;
    height: 56px !important;
    flex: 0 0 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 16px !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.site-header .brand__mark.brand__mark--cube img {
    display: block !important;
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    max-width: 56px !important;
    max-height: 56px !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
    filter: none !important;
}

.brand--footer .brand__mark.brand__mark--cube,
.brand--footer .brand__mark.brand__mark--cube img {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    max-width: 56px !important;
    max-height: 56px !important;
    flex-basis: 56px !important;
}

@media (max-width: 760px) {
    .site-header .brand__mark.brand__mark--cube,
    .site-header .brand__mark.brand__mark--cube img {
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        min-height: 56px !important;
        max-width: 56px !important;
        max-height: 56px !important;
    }

    .site-header .brand__mark.brand__mark--cube {
        flex-basis: 56px !important;
    }
}

/* =====================================================================
   CORTILLO - catálogo corporativo sin comercio electrónico
   Mantiene las proporciones/responsividad del template de sitio de referencia,
   reemplazando únicamente identidad visual y componentes de compra.
   ===================================================================== */
:root {
    --ink: #111214;
    --muted: #62666d;
    --line: #e3e4e7;
    --surface: #ffffff;
    --surface-soft: #f5f5f6;
    --brand: #e2171d;
    --brand-2: #a90d12;
    --accent: #e2171d;
    --success: #1d8a50;
    --shadow: 0 18px 50px rgba(0,0,0,.10);
}
body { color: var(--ink); }
.announcement { background:#070707; border-bottom:1px solid #2b2b2b; }
.site-header { background:rgba(255,255,255,.97); }
.header-main { grid-template-columns:280px minmax(280px,1fr) auto; min-height:84px; }
.cortillo-brand { width:260px; height:58px; overflow:hidden; border-radius:10px; background:#050505; padding:9px 14px; box-sizing:border-box; border:1px solid #1d1d1f; }
.cortillo-brand img { width:100%; height:100%; object-fit:contain; object-position:center; }
.search:focus-within { border-color:var(--brand); box-shadow:0 0 0 4px rgba(226,23,29,.10); }
.search button { background:var(--brand); }
.category-all { background:#111214; }
.category-nav__inner a:hover { color:var(--brand); }
.category-nav__inner > a { white-space:nowrap; }
.catalog-menu__panel.is-open { opacity:1; visibility:visible; transform:translateY(0); }
.contact-icon { width:48px; height:48px; display:grid; place-items:center; border:1px solid var(--line); border-radius:14px; background:#fff; font-size:20px; font-weight:800; }
.contact-icon:hover { border-color:var(--brand); color:var(--brand); }
.header-whatsapp { background:#188c4d!important; border-color:#188c4d!important; }
.header-whatsapp:hover { background:#13733f!important; }

.cortillo-hero { overflow:hidden; background:linear-gradient(120deg,#050505 0,#111 55%,#1b1b1b 100%); color:#fff; }
.cortillo-hero__grid { min-height:590px; display:grid; grid-template-columns:1fr .92fr; align-items:stretch; }
.cortillo-hero__copy { padding:78px 58px 72px 0; display:flex; flex-direction:column; justify-content:center; position:relative; z-index:2; }
.cortillo-hero__copy::after { content:""; position:absolute; right:-80px; top:0; bottom:0; width:150px; background:linear-gradient(105deg,transparent 0 47%,rgba(226,23,29,.9) 48% 54%,transparent 55%); pointer-events:none; }
.cortillo-hero__copy .hero-kicker { color:#ff3a40; }
.cortillo-hero h1 { margin:18px 0 20px; max-width:680px; font-family:Oswald, sans-serif; font-weight:700; font-size:clamp(48px,6vw,78px); line-height:.98; letter-spacing:-.025em; text-transform:none; }
.cortillo-hero h1 em { color:var(--brand); font-style:normal; }
.cortillo-hero__copy > p { max-width:650px; margin:0; color:#d2d2d3; font-size:18px; line-height:1.7; }
.cortillo-hero .primary-button { background:var(--brand); box-shadow:0 14px 30px rgba(226,23,29,.24); }
.cortillo-hero .secondary-button { border-color:#4a4a4a; background:#171717; color:#fff; }
.cortillo-hero .secondary-button:hover { border-color:#777; background:#222; }
.cortillo-hero__proof { display:flex; flex-wrap:wrap; gap:10px 24px; color:#d7d7d7; font-size:12px; font-weight:700; letter-spacing:.02em; }
.cortillo-hero__proof span::first-letter { color:var(--brand); }
.cortillo-hero__visual { min-height:590px; overflow:hidden; position:relative; background:#0e0e0e; }
.cortillo-hero__visual::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,#080808 0%,rgba(8,8,8,.20) 22%,transparent 55%); pointer-events:none; }
.cortillo-hero__visual img { width:100%; height:100%; object-fit:cover; object-position:center; transform:scale(1.03); }

.hero-kicker,.eyebrow { color:var(--brand); }
.section-heading h2,.catalog-page__heading h1,.product-detail__info h1,.contact-panel h2,.cortillo-services h2,.cortillo-sectors h2 { font-family:Oswald,sans-serif!important; letter-spacing:-.02em!important; }
.trust-strip article > span { background:#fff0f0; color:var(--brand); }
.trust-strip article { min-height:112px; }
.catalog-section { background:#f5f5f6; }
.product-card { border-radius:18px; }
.product-card:hover { border-color:#c9c9cc; box-shadow:0 18px 42px rgba(0,0,0,.12); }
.product-card__media { background:linear-gradient(160deg,#ffffff,#f0f0f1); }
.cortillo-product-card .product-card__media img { width:96%; height:96%; object-fit:contain; }
.product-badge--featured { background:#fff0f0; color:#a20d12; border-color:#ffc9cb; }
.product-card h3 { min-height:56px; font-size:14px; }
.cortillo-card-description { min-height:58px; margin:0 0 16px; color:#6d7178; font-size:11px; line-height:1.55; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.cortillo-card-actions { grid-template-columns:1fr 1fr; }
.cortillo-card-actions .secondary-button,.cortillo-card-actions .cortillo-card-contact-button { min-height:44px; padding:0 12px; font-size:12px; border-radius:11px; }
.cortillo-card-contact-button { border:0; color:#fff; font-weight:800; display:flex; align-items:center; justify-content:center; gap:7px; }
.cortillo-whatsapp-button { background:#188c4d; }
.cortillo-whatsapp-button:hover { background:#13733f; }

.cortillo-lines-section { padding:85px 0; background:#fff; }
.cortillo-lines-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.cortillo-line-card { min-height:180px; padding:24px; border:1px solid var(--line); border-radius:18px; background:#fff; display:flex; flex-direction:column; transition:.22s; position:relative; overflow:hidden; }
.cortillo-line-card::after { content:""; position:absolute; width:90px; height:90px; right:-42px; top:-42px; border-radius:50%; background:rgba(226,23,29,.08); transition:.22s; }
.cortillo-line-card:hover { transform:translateY(-4px); border-color:#d1d1d4; box-shadow:var(--shadow); }
.cortillo-line-card:hover::after { transform:scale(1.35); }
.cortillo-line-card__icon { width:42px; height:42px; display:grid; place-items:center; border-radius:12px; background:#111214; color:var(--brand); font-size:20px; margin-bottom:20px; }
.cortillo-line-card strong { font-size:15px; line-height:1.35; }
.cortillo-line-card small { color:var(--muted); margin-top:7px; }
.cortillo-line-card b { margin-top:auto; padding-top:18px; color:var(--brand); font-size:12px; }

.cortillo-services { padding:90px 0; background:#111214; color:#fff; }
.cortillo-services .section-heading p { color:#aeb1b6; }
.cortillo-services-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.cortillo-services-grid article { min-height:220px; padding:26px; border:1px solid #323338; border-radius:18px; background:linear-gradient(145deg,#151619,#0d0e10); position:relative; overflow:hidden; }
.cortillo-services-grid article::before { content:""; position:absolute; left:0; top:0; width:4px; height:100%; background:var(--brand); }
.cortillo-services-grid span { color:var(--brand); font:700 14px Oswald,sans-serif; letter-spacing:.12em; }
.cortillo-services-grid h3 { margin:18px 0 10px; font:600 24px/1.12 Oswald,sans-serif; }
.cortillo-services-grid p { margin:0; color:#aeb1b6; font-size:13px; line-height:1.65; }

.cortillo-sectors { padding:90px 0; background:#fff; }
.cortillo-sectors__grid { display:grid; grid-template-columns:1fr .95fr; align-items:center; gap:65px; }
.cortillo-sectors h2 { margin:12px 0 16px; font-size:clamp(36px,5vw,58px); line-height:1.03; }
.cortillo-sectors p { color:var(--muted); line-height:1.8; margin:0 0 28px; }
.cortillo-sectors__visual { height:410px; border-radius:24px; overflow:hidden; box-shadow:0 24px 55px rgba(0,0,0,.15); }
.cortillo-sectors__visual img { width:100%; height:100%; object-fit:cover; object-position:center; }

.cortillo-contact-section { margin:0; padding:0 0 70px; background:#fff; }
.cortillo-contact-panel { background:linear-gradient(135deg,#0b0b0c,#18191c); border:1px solid #2b2c30; position:relative; }
.cortillo-contact-panel::after { content:""; position:absolute; right:0; top:0; width:9px; height:100%; background:var(--brand); }
.contact-button--whatsapp { background:#188c4d!important; }
.contact-button--whatsapp:hover { background:#13733f!important; }

.cortillo-catalog-note { background:#fff1f1; color:#811014; border-color:#ffcfd1; }
.cortillo-catalog-note span { background:var(--brand); }
.filter-card__title span { background:#fff0f0; color:var(--brand); }
.filter-link.is-active { background:#fff0f0!important; color:#9b0d12!important; }
.filter-card--info { background:#151619; }
.cortillo-help-card a { display:inline-block; margin-top:10px; color:#ff5b60; font-weight:800; }
.product-grid--catalog { grid-template-columns:repeat(3,1fr); }

.cortillo-product-detail-page { background:#f7f7f8; }
.cortillo-product-detail { background:#fff; padding:28px; border:1px solid var(--line); border-radius:24px; }
.cortillo-product-info { position:static; }
.cortillo-product-info h1 { font-size:clamp(38px,4vw,58px); }
.cortillo-product-info .product-detail__description { margin-top:28px; padding-top:22px; border-top:1px solid var(--line); }
.cortillo-product-info .product-detail__description h2 { font:600 22px Oswald,sans-serif; margin:0 0 12px; }
.cortillo-product-info .product-detail__description div { color:#5f636a; line-height:1.75; font-size:14px; }
.cortillo-product-actions { display:grid; grid-template-columns:1fr; gap:10px; margin:28px 0 22px; }
.cortillo-product-actions .primary-button { background:#188c4d; box-shadow:none; }
.cortillo-product-actions .primary-button:hover { background:#13733f; }
.cortillo-assurance { grid-template-columns:1fr!important; }
.cortillo-assurance span { background:#f5f5f6!important; color:#3b3e44!important; }
.product-gallery__thumbs button.is-active { border-color:var(--brand); box-shadow:0 0 0 3px rgba(226,23,29,.1); }

.footer { background:#08090a; }
.cortillo-footer-grid { grid-template-columns:1.45fr 1fr 1.35fr; }
.cortillo-brand--footer { width:250px; height:58px; margin-bottom:10px; background:#050505; border-color:#242426; }
.cortillo-footer-bottom { border-top-color:#26272a; }
.floating-whatsapp { position:fixed; right:22px; bottom:22px; z-index:55; min-height:48px; padding:0 18px; border-radius:999px; background:#188c4d; color:#fff; font-weight:800; font-size:13px; display:flex; align-items:center; box-shadow:0 14px 30px rgba(0,0,0,.22); }
.floating-whatsapp:hover { background:#13733f; transform:translateY(-2px); }

@media (max-width:1050px) {
    .header-main { grid-template-columns:230px minmax(220px,1fr) auto; gap:18px; }
    .cortillo-brand { width:220px; }
    .cortillo-lines-grid { grid-template-columns:repeat(3,1fr); }
    .product-grid--catalog { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:820px) {
    .header-main { grid-template-columns:190px 1fr auto; }
    .cortillo-brand { width:185px; height:48px; }
    .cortillo-actions .contact-icon { display:none; }
    .cortillo-hero__grid { grid-template-columns:1fr; }
    .cortillo-hero__copy { min-height:490px; padding:58px 20px 48px 0; }
    .cortillo-hero__copy::after { display:none; }
    .cortillo-hero__visual { min-height:420px; }
    .cortillo-lines-grid { grid-template-columns:repeat(2,1fr); }
    .cortillo-services-grid { grid-template-columns:repeat(2,1fr); }
    .cortillo-sectors__grid { grid-template-columns:1fr; gap:35px; }
    .cortillo-footer-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width:560px) {
    .header-main { grid-template-columns:128px 1fr auto; gap:8px; }
    .cortillo-brand { width:124px; height:42px; border-radius:5px; }
    .header-whatsapp { width:42px!important; height:42px!important; }
    .cortillo-hero__copy { min-height:430px; padding:48px 0 38px; text-align:left; }
    .cortillo-hero h1 { font-size:52px; }
    .cortillo-hero__copy > p { font-size:15px; }
    .cortillo-hero .hero__actions { align-items:stretch; }
    .cortillo-hero__proof { display:grid; gap:8px; }
    .cortillo-hero__visual { min-height:340px; }
    .cortillo-lines-grid,.cortillo-services-grid { grid-template-columns:1fr; }
    .cortillo-services-grid article { min-height:190px; }
    .product-grid--catalog { grid-template-columns:1fr; }
    .cortillo-sectors__visual { height:300px; }
    .cortillo-footer-grid { grid-template-columns:1fr; }
    .cortillo-footer-bottom { flex-direction:column; }
    .cortillo-card-actions { grid-template-columns:1fr; }
    .floating-whatsapp { right:14px; bottom:14px; }
}


/* Cortillo - tarjetas compactas v3 */
.product-grid { align-items:start; }
.cortillo-product-card { align-self:start; }
.cortillo-product-card .product-card__media { aspect-ratio:1.42; }
.cortillo-product-card .product-card__media img { width:94%; height:94%; object-fit:contain; }
.cortillo-product-card .product-card__content { padding:14px 16px 15px; }
.cortillo-card-meta { display:block; margin:0 0 7px; line-height:1.25; }
.cortillo-card-code { display:block; color:#111214; font-size:11px; font-weight:900; letter-spacing:.075em; text-transform:uppercase; overflow-wrap:anywhere; }
.cortillo-card-category { display:block; margin-top:4px; color:#7c8798; font-size:9px; font-weight:700; letter-spacing:.075em; line-height:1.3; text-transform:uppercase; }
.cortillo-product-card h3 { min-height:0; margin:0 0 8px; font-size:14px; line-height:1.34; -webkit-line-clamp:2; }
.cortillo-card-description { min-height:0; margin:0 0 11px; color:#6d7178; font-size:10.5px; line-height:1.4; -webkit-line-clamp:2; }
.cortillo-card-actions { margin-top:10px; gap:8px; }
.cortillo-card-actions .secondary-button,
.cortillo-card-actions .cortillo-card-contact-button { min-height:40px; padding:0 10px; }

@media (max-width:700px) {
    .cortillo-product-card .product-card__media { aspect-ratio:1.35; }
    .cortillo-product-card .product-card__content { padding:13px 14px 14px; }
}


/* Cortillo v4: imágenes completas y consistentes sin descargas repetidas */
.cortillo-product-card .product-card__media {
    padding: 8px;
}
.cortillo-product-card .product-card__image-link {
    padding: 5px;
}
.cortillo-product-card .product-card__media img {
    width: 88%;
    height: 88%;
    max-width: 88%;
    max-height: 88%;
    object-fit: contain;
    object-position: center;
}
.cortillo-product-detail-page .product-gallery__main {
    padding: 28px;
}
.cortillo-product-detail-page .product-gallery__main img {
    width: 84%;
    height: 84%;
    max-width: 84%;
    max-height: 84%;
    object-fit: contain;
    object-position: center;
}
.cortillo-product-detail-page .product-gallery__thumbs img {
    object-fit: contain;
    object-position: center;
}
@media (max-width: 560px) {
    .cortillo-product-card .product-card__media img {
        width: 90%;
        height: 90%;
        max-width: 90%;
        max-height: 90%;
    }
    .cortillo-product-detail-page .product-gallery__main img {
        width: 90%;
        height: 90%;
        max-width: 90%;
        max-height: 90%;
    }
}


/* Cortillo v5: encuadre seguro de imágenes en tarjetas y ficha.
   La imagen conserva su proporción y nunca debe desbordar/cortarse. */
.cortillo-product-card .product-card__media {
    height: 220px;
    aspect-ratio: auto;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cortillo-product-card .product-card__image-link {
    width: 100%;
    height: 100%;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cortillo-product-card .product-card__media img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    flex: 0 1 auto;
}

.cortillo-product-card:hover .product-card__media img {
    transform: none;
}

.cortillo-product-detail-page .product-gallery__main {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cortillo-product-detail-page .product-gallery__main img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
}

@media (max-width: 700px) {
    .cortillo-product-card .product-card__media {
        height: 205px;
        aspect-ratio: auto;
    }
}


/* Cortillo v6: filtros permanecen en el catálogo + tarjetas parejas y compactas */
#catalogo-filtros,
#catalogo-resultados {
    scroll-margin-top: 132px;
}

/* La cuadrícula estira cada tarjeta a la altura de la más alta de SU FILA. */
.product-grid,
.product-grid--catalog {
    align-items: stretch !important;
}

.cortillo-product-card {
    align-self: stretch !important;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Mantiene la zona visual compacta y constante. */
.cortillo-product-card .product-card__media {
    height: 205px;
    flex: 0 0 205px;
}

/* El contenido completa la altura restante de la tarjeta. */
.cortillo-product-card .product-card__content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 13px 16px 14px;
}

/* Código siempre una línea; categoría reserva hasta dos líneas de forma uniforme. */
.cortillo-card-meta {
    margin-bottom: 7px;
}
.cortillo-card-code {
    min-height: 14px;
    line-height: 14px;
}
.cortillo-card-category {
    min-height: 24px;
    margin-top: 3px;
    line-height: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* El nombre tiene exactamente el espacio de dos líneas; evita que unas cards crezcan más. */
.cortillo-product-card h3 {
    min-height: 38px !important;
    max-height: 38px;
    margin: 0 0 7px;
    line-height: 19px;
    display: -webkit-box;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Si existe descripción web distinta, se limita a dos líneas y no rompe alturas. */
.cortillo-card-description {
    min-height: 0;
    max-height: 30px;
    margin: 0 0 8px;
    line-height: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Botones alineados abajo en todas las tarjetas. */
.cortillo-card-actions {
    margin-top: auto !important;
    padding-top: 4px;
}

@media (max-width: 700px) {
    #catalogo-filtros,
    #catalogo-resultados {
        scroll-margin-top: 82px;
    }

    .cortillo-product-card .product-card__media {
        height: 195px;
        flex-basis: 195px;
    }

    .cortillo-product-card .product-card__content {
        padding: 12px 14px 13px;
    }
}

/* =========================================================
   CORTILLO · SOLICITUDES DE COTIZACIÓN (sin precios / sin ERP)
   ========================================================= */
.quote-cart-button svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.quote-cart-button b { background:#d51e27; }
.quote-add-button { min-height:42px; padding:0 16px; background:#111; }
.quote-add-button:hover { background:#d51e27; }
.quote-card-actions { grid-template-columns:1fr 1fr !important; }
.quote-detail-add { display:grid; grid-template-columns:130px minmax(220px,1fr); gap:12px; margin:22px 0 12px; max-width:520px; }
.quote-detail-add-button { min-height:48px; background:#d51e27; }
.quote-detail-add-button:hover { background:#a8171e; }
.quote-contact-actions { margin-top:12px; }
.quote-cart-summary .cart-summary__total { color:#111; }
.quote-cart-summary .checkout-button { display:flex; align-items:center; justify-content:center; background:#d51e27; text-decoration:none; }
.quote-cart-summary .checkout-button:hover { background:#a8171e; }

.quote-page { padding:38px 0 88px; background:#f6f6f6; }
.quote-page__container { max-width:1180px; }
.quote-page__heading { max-width:760px; margin:22px 0 30px; }
.quote-page__heading h1 { margin:8px 0 10px; font:700 clamp(34px,5vw,54px)/1.05 Oswald,Inter,sans-serif; text-transform:uppercase; }
.quote-page__heading p { margin:0; color:#626262; line-height:1.7; }
.quote-layout { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr); gap:26px; align-items:start; }
.quote-selection, .quote-form-card, .quote-empty-panel { background:#fff; border:1px solid #e5e5e5; border-radius:18px; box-shadow:0 12px 30px rgba(0,0,0,.05); }
.quote-selection { padding:22px; }
.quote-section-title { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:12px; }
.quote-section-title h2 { margin:4px 0 0; font:700 25px/1.1 Oswald,Inter,sans-serif; }
.quote-section-title .secondary-button { min-height:42px; padding:0 16px; }
.quote-review-list { display:grid; }
.quote-review-item { display:grid; grid-template-columns:82px minmax(0,1fr) auto; gap:14px; align-items:center; padding:15px 0; border-top:1px solid #ededed; }
.quote-review-item:first-child { border-top:0; }
.quote-review-item img { width:82px; height:82px; object-fit:contain; background:#fafafa; border:1px solid #eee; border-radius:12px; padding:5px; }
.quote-review-item > div { min-width:0; display:grid; gap:4px; }
.quote-review-item strong { font-size:14px; }
.quote-review-item span { color:#d51e27; font-size:11px; font-weight:800; }
.quote-review-item small { color:#777; font-size:11px; }
.quote-review-item > b { white-space:nowrap; font-size:13px; }
.quote-form-card { position:sticky; top:150px; padding:24px; }
.quote-form-card h2 { margin:0 0 5px; font:700 27px/1.1 Oswald,Inter,sans-serif; }
.quote-form-card > p { margin:0 0 18px; color:#777; font-size:12px; }
.quote-form { display:grid; gap:14px; }
.quote-form label { display:grid; gap:6px; }
.quote-form label > span { font-size:12px; font-weight:800; color:#333; }
.quote-form input, .quote-form textarea { width:100%; border:1px solid #d8d8d8; border-radius:10px; background:#fff; color:#111; padding:12px 13px; outline:0; transition:.2s; }
.quote-form input:focus, .quote-form textarea:focus { border-color:#d51e27; box-shadow:0 0 0 3px rgba(213,30,39,.10); }
.quote-form textarea { resize:vertical; min-height:110px; }
.quote-submit-button { min-height:50px; border:0; border-radius:11px; background:#d51e27; color:#fff; font-weight:800; padding:0 18px; }
.quote-submit-button:hover { background:#a8171e; }
.quote-form > small { color:#777; line-height:1.5; }
.quote-honeypot { position:absolute!important; left:-10000px!important; width:1px!important; height:1px!important; overflow:hidden!important; }
.quote-empty-panel { padding:42px; text-align:center; }
.quote-empty-panel h2 { margin-top:0; }

.quote-confirmation-page { min-height:62vh; display:grid; align-items:center; padding:60px 0 90px; background:#f6f6f6; }
.quote-confirmation-card { max-width:700px; margin:auto; padding:42px; background:#fff; border:1px solid #e5e5e5; border-radius:20px; box-shadow:0 16px 42px rgba(0,0,0,.07); text-align:center; }
.quote-confirmation-icon { width:68px; height:68px; display:grid; place-items:center; margin:0 auto 20px; border-radius:50%; background:#e9f8ef; color:#14863c; font-size:32px; font-weight:900; }
.quote-confirmation-card h1 { margin:8px 0 12px; font:700 clamp(32px,5vw,48px)/1.05 Oswald,Inter,sans-serif; }
.quote-confirmation-card > p { max-width:560px; margin:0 auto; color:#666; line-height:1.7; }
.quote-folio { display:grid; gap:5px; max-width:380px; margin:26px auto; padding:16px; border:1px dashed #cfcfcf; border-radius:12px; background:#fafafa; }
.quote-folio span { color:#777; font-size:11px; text-transform:uppercase; letter-spacing:.12em; }
.quote-folio strong { font-size:18px; }
.quote-confirmation-actions { display:flex; justify-content:center; gap:10px; flex-wrap:wrap; }

@media (max-width: 900px) {
    .quote-layout { grid-template-columns:1fr; }
    .quote-form-card { position:static; }
}
@media (max-width: 700px) {
    .quote-card-actions { grid-template-columns:1fr !important; }
    .quote-detail-add { grid-template-columns:1fr; }
    .quote-review-item { grid-template-columns:68px minmax(0,1fr); }
    .quote-review-item img { width:68px; height:68px; }
    .quote-review-item > b { grid-column:2; }
    .quote-section-title { align-items:flex-start; flex-direction:column; }
}


/* Cortillo cotizaciones v3: controles visibles y prioritarios */
.quote-card-actions {
    grid-template-columns: 1fr 1fr !important;
}
.quote-add-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 0;
    border-radius: 12px;
    background: #d51e27 !important;
    color: #fff !important;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}
.quote-add-button:hover { background:#a8171e !important; }
.quote-cart-button {
    display: inline-flex !important;
    border: 1px solid #111 !important;
    background: #111 !important;
    color: #fff !important;
}
.quote-cart-button b { background:#d51e27 !important; color:#fff !important; }
.quote-detail-add {
    display:grid;
    grid-template-columns: 150px minmax(0,1fr);
    gap:12px;
    margin:20px 0 14px;
}
.quote-detail-add-button {
    min-height:52px;
    border:0;
    border-radius:12px;
    background:#d51e27 !important;
    color:#fff !important;
    font-weight:800;
    cursor:pointer;
}
@media (max-width:700px) {
    .quote-detail-add { grid-template-columns:1fr; }
    .quote-cart-button > span { display:none; }
}


/* =========================================================
   CORTILLO · Pasarela compacta + fichas técnicas PDF
   Las tarjetas principales conservan su tamaño original.
   ========================================================= */
.cortillo-complementary-section {
    padding:72px 0 78px;
    background:#f5f5f6;
    border-top:1px solid #ececee;
}
.cortillo-mini-heading { margin-bottom:22px; }
.cortillo-mini-heading > a {
    color:#d51e27;
    font-weight:800;
    font-size:13px;
    text-decoration:none;
}
.cortillo-mini-heading > a:hover { color:#111; }

.cortillo-mini-carousel {
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:minmax(205px,235px);
    gap:15px;
    overflow-x:auto;
    padding:4px 2px 18px;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    overscroll-behavior-inline:contain;
    scrollbar-width:thin;
    scrollbar-color:#9a9a9a transparent;
}
.cortillo-mini-carousel::-webkit-scrollbar { height:7px; }
.cortillo-mini-carousel::-webkit-scrollbar-track { background:transparent; }
.cortillo-mini-carousel::-webkit-scrollbar-thumb { background:#9a9a9a; border-radius:999px; }

.cortillo-mini-card {
    scroll-snap-align:start;
    min-width:0;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    background:#fff;
    border:1px solid #e3e3e5;
    border-radius:15px;
    box-shadow:0 8px 24px rgba(0,0,0,.035);
    transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.cortillo-mini-card:hover {
    transform:translateY(-3px);
    border-color:#d4d4d7;
    box-shadow:0 14px 30px rgba(0,0,0,.075);
}
.cortillo-mini-card__image {
    height:150px;
    display:grid;
    place-items:center;
    padding:12px;
    overflow:hidden;
    background:linear-gradient(145deg,#fff,#f1f2f3);
    border-bottom:1px solid #ededee;
}
.cortillo-mini-card__image img {
    max-width:100%;
    max-height:100%;
    width:auto;
    height:auto;
    object-fit:contain;
}
.cortillo-mini-card__body {
    flex:1;
    display:flex;
    flex-direction:column;
    padding:12px 13px 13px;
}
.cortillo-mini-card__category {
    display:block;
    margin-bottom:5px;
    color:#d51e27;
    font-size:9px;
    line-height:1.25;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.075em;
}
.cortillo-mini-card__code {
    display:block;
    margin-bottom:6px;
    color:#111;
    font-size:10px;
    line-height:1.2;
    font-weight:900;
    letter-spacing:.05em;
}
.cortillo-mini-card__title {
    min-height:38px;
    margin-bottom:12px;
    color:#111;
    font-size:12.5px;
    line-height:19px;
    font-weight:800;
    text-transform:uppercase;
    text-decoration:none;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.cortillo-mini-card__title:hover { color:#d51e27; }
.cortillo-mini-card__actions {
    margin-top:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:7px;
}
.cortillo-mini-card__actions a,
.cortillo-mini-card__actions button {
    min-height:35px;
    padding:0 8px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:9px;
    font:800 10.5px/1 Inter,Arial,sans-serif;
    text-decoration:none;
    cursor:pointer;
}
.cortillo-mini-card__actions a {
    color:#111;
    background:#fff;
    border:1px solid #dedee1;
}
.cortillo-mini-card__actions button {
    color:#fff;
    background:#d51e27;
    border:1px solid #d51e27;
}
.cortillo-mini-card__actions a:hover { border-color:#111; }
.cortillo-mini-card__actions button:hover { background:#aa171e; border-color:#aa171e; }

.cortillo-related-products { padding-top:68px; }
.cortillo-related-products .section-heading { margin-bottom:22px; }

.cortillo-tech-files {
    margin-top:24px;
    padding-top:21px;
    border-top:1px solid var(--line);
}
.cortillo-tech-files h2 {
    margin:0 0 12px;
    font:600 22px Oswald,sans-serif;
}
.cortillo-tech-files__list {
    display:flex;
    flex-wrap:wrap;
    gap:9px;
}
.cortillo-pdf-link {
    min-width:185px;
    max-width:100%;
    padding:9px 11px;
    display:flex;
    align-items:center;
    gap:9px;
    color:#222;
    background:#f7f7f8;
    border:1px solid #e3e3e5;
    border-radius:10px;
    text-decoration:none;
    transition:border-color .2s,background .2s,transform .2s;
}
.cortillo-pdf-link:hover {
    transform:translateY(-1px);
    border-color:#d51e27;
    background:#fff5f5;
}
.cortillo-pdf-link svg {
    width:24px;
    height:24px;
    flex:0 0 24px;
    fill:none;
    stroke:#d51e27;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.cortillo-pdf-link span { min-width:0; }
.cortillo-pdf-link strong { display:block; font-size:11px; line-height:1.25; }
.cortillo-pdf-link small {
    display:block;
    max-width:180px;
    margin-top:2px;
    color:#777;
    font-size:9.5px;
    line-height:1.25;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
@media (max-width:700px) {
    .cortillo-complementary-section { padding:52px 0 58px; }
    .cortillo-mini-carousel { grid-auto-columns:76%; gap:12px; }
    .cortillo-mini-card__image { height:138px; }
    .cortillo-pdf-link { width:100%; }
}


/* =========================================================
   CATÁLOGO · Scroll independiente del menú lateral
   Evita que al seleccionar categorías bajas desaparezca de
   pantalla la columna de productos.
   ========================================================= */
#catalogo-filtros {
    scroll-margin-top: 126px;
}

@media (min-width: 761px) {
    .catalog-sidebar {
        max-height: calc(100vh - 150px);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding-right: 6px;
        scrollbar-width: thin;
        scrollbar-color: #c7cbd1 transparent;
    }

    .catalog-sidebar::-webkit-scrollbar {
        width: 6px;
    }

    .catalog-sidebar::-webkit-scrollbar-track {
        background: transparent;
    }

    .catalog-sidebar::-webkit-scrollbar-thumb {
        background: #c7cbd1;
        border-radius: 999px;
    }
}

@media (max-width: 760px) {
    .catalog-sidebar {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }
}
