/* ---------------------------------------------------------------
   Tretale · capa de estilos propia sobre la plantilla base
   Tema único claro (sin modo oscuro).
   --------------------------------------------------------------- */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/nunito-sans-latin-wght-normal.woff2") format("woff2");
}

:root {
  color-scheme: light only;
  --cream: #FBF6EE;
  --cream-2: #F4EADB;
  --sand: #E9DAC3;
  --oak: #C98A4B;
  --oak-dark: #A96C30;
  --sage: #7E9678;
  --sage-dark: #5F7A59;
  --sage-soft: #E4ECDF;
  --ink: #2E2A25;
  --ink-soft: #5E564C;
  --line: #E6DCCB;
  --white: #FFFFFF;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -18px rgba(70, 48, 20, .35);
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
.page { background: var(--cream); opacity: 1 !important; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 2000; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 8px; top: 8px; color: #fff; }

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -.01em;
  text-transform: none;
}
h1, .h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.08; }
h2, .h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.15; }
h3, .h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.25; }
h4, .h4 { font-size: 1.25rem; line-height: 1.3; }
h5, .h5 { font-size: 1.1rem; line-height: 1.35; }
h6, .h6 { font-size: 1rem; line-height: 1.4; letter-spacing: 0; }
p, li, dd, dt, td, th, label { font-size: 1rem; }
a { color: var(--oak-dark); transition: color .2s; }
a:hover, a:focus { color: var(--sage-dark); text-decoration: none; }
strong { font-weight: 700; color: var(--ink); }
.lead { font-size: 1.15rem; line-height: 1.65; color: var(--ink); font-weight: 400; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-dark); margin-bottom: 14px; }
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 2px; background: var(--oak); vertical-align: middle; margin-right: 10px; }
* + p { margin-top: 14px; }
h2 + p, h3 + p { margin-top: 16px; }
:focus-visible { outline: 3px solid rgba(126, 150, 120, .6); outline-offset: 2px; }

/* --- Secciones --- */
.section-t { padding: 72px 0; }
.section-t--sm { padding: 48px 0; }
.section-t--white { background: var(--white); }
.section-t--sand { background: var(--cream-2); }
.section-t--sage { background: var(--sage-soft); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head p { margin-top: 14px; }
@media (min-width: 992px) { .section-t { padding: 96px 0; } }

/* --- Botones --- */
.button { border-radius: 999px; font-family: var(--font-body); font-size: .92rem; font-weight: 800; letter-spacing: .02em; text-transform: none; padding: 12px 28px; border-width: 2px; }
.button-lg { padding: 15px 36px; font-size: 1rem; }
.button-sm { padding: 8px 20px; font-size: .85rem; }
.page .button-primary, .page .button-primary:focus, .cookie-banner .button-primary, .cookie-banner .button-primary:focus { background: var(--oak); border-color: var(--oak); color: #fff; }
.page .button-primary:hover, .page .button-primary:active, .cookie-banner .button-primary:hover { background: var(--oak-dark); border-color: var(--oak-dark); color: #fff; }
.page .button-sage, .page .button-sage:focus { background: var(--sage-dark); border-color: var(--sage-dark); color: #fff; }
.page .button-sage:hover { background: #4d6648; border-color: #4d6648; color: #fff; }
.button-outline, .button-outline:focus { background: transparent; border-color: var(--ink); color: var(--ink); }
.button-outline:hover { background: var(--ink); color: #fff; }
.button-icon .icon { font-size: 18px; vertical-align: middle; margin-right: 8px; color: inherit; }
.button + .button { margin-left: 10px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-row .button { margin: 0; }
.link-arrow { font-weight: 800; color: var(--ink); border-bottom: 2px solid var(--oak); padding-bottom: 2px; }
.link-arrow:hover { color: var(--oak-dark); }
.link-button { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; }

/* --- Barra superior y navegación --- */
.topbar { background: var(--sage-dark); color: #fff; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar p, .topbar li, .topbar a { font-size: .85rem; color: #fff; margin: 0; }
.topbar .icon { font-size: 15px; vertical-align: -2px; margin-right: 4px; color: #fff; }
.topbar__links { display: flex; gap: 22px; margin: 0; }
.topbar__links li { margin: 0; }
.topbar a:hover { color: var(--cream-2); }
@media (max-width: 991px) { .topbar { display: none; } }

.rd-navbar, .rd-navbar-static, .rd-navbar-fixed .rd-navbar-panel, .rd-navbar-fixed .rd-navbar-nav-wrap { background: var(--white); }
.rd-navbar-static { border-bottom: 1px solid var(--line); }
.rd-navbar-static .rd-navbar-inner, .rd-navbar-static.rd-navbar_inverse .rd-navbar-inner { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: space-between; padding: 14px 15px; max-width: 960px; min-height: 0; margin: 0 auto; }
@media (min-width: 1200px) { .rd-navbar-static .rd-navbar-inner, .rd-navbar-static.rd-navbar_inverse .rd-navbar-inner { max-width: 1200px; } }
@media (min-width: 1400px) { .rd-navbar-static .rd-navbar-inner, .rd-navbar-static.rd-navbar_inverse .rd-navbar-inner { max-width: 1400px; } }
.rd-navbar-static .rd-navbar-inner > * { margin-top: 0; padding: 0; }
.rd-navbar-static .rd-navbar-inner::after { display: none; }
.rd-navbar-static .rd-navbar-nav-wrap { display: flex; flex-direction: row; flex-grow: 1; align-items: center; justify-content: flex-end; gap: 0; }
.rd-navbar-static .rd-navbar-nav-wrap > * { padding: 0; }
.rd-navbar-static .rd-navbar-nav { display: flex; align-items: center; flex-wrap: nowrap; margin: 0 auto; white-space: nowrap; }
.rd-navbar-static .rd-navbar-nav > li { display: flex; align-items: center; margin: 0; padding: 0; }
.rd-navbar-static .rd-navbar-nav > li > .rd-navbar-submenu-toggle { display: inline-flex; align-items: center; justify-content: center; height: 44px; margin-left: 2px; font-size: 14px; line-height: 1; }
.rd-navbar-static .rd-navbar-nav > li + li { margin-left: 20px; }
.rd-navbar-static .rd-navbar-nav > li > a { display: inline-block; line-height: 44px; }
.page .rd-navbar-static.rd-navbar_inverse:not(.rd-navbar--is-stuck) .rd-navbar-nav > li > .rd-navbar-dropdown { top: 100%; margin-top: 16px; }
.page .rd-navbar-static.rd-navbar_inverse.rd-navbar--is-stuck .rd-navbar-nav > li > .rd-navbar-dropdown { top: 100%; margin-top: 10px; }
.rd-navbar-static .rd-navbar-panel, .rd-navbar-static.rd-navbar--is-stuck .rd-navbar-panel { flex: none; display: flex; align-items: center; }
.rd-navbar-static .rd-navbar-brand, .rd-navbar-static .rd-navbar-brand a { display: flex; align-items: center; }
@media (min-width: 1200px) { .rd-navbar-static .rd-navbar-nav > li + li { margin-left: 32px; } }
@media (min-width: 1400px) { .rd-navbar-static .rd-navbar-nav > li + li { margin-left: 42px; } }
@media (min-width: 992px) and (max-width: 1199px) { .page .rd-navbar-static .rd-navbar-brand img { width: 140px; transform: translateY(-8px); } .page .rd-navbar-static .rd-navbar-nav > li > a { font-size: .88rem; } }
.rd-navbar-static .rd-navbar-nav > li > a { font-family: var(--font-body); font-size: .95rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--ink); }
.rd-navbar-static .rd-navbar-nav > li.active > a, .rd-navbar-static .rd-navbar-nav > li > a:hover, .rd-navbar-static .rd-navbar-nav > li.focus > a { color: var(--oak-dark); }
.rd-navbar-static .rd-navbar-dropdown { border-radius: var(--radius-sm); border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; padding: 14px 20px; width: 290px; }
.rd-navbar-static .rd-navbar-dropdown li > a, .rd-navbar-fixed .rd-navbar-dropdown li > a { font-size: .92rem; color: var(--ink-soft); text-transform: none; letter-spacing: 0; }
.rd-navbar-static .rd-navbar-dropdown li > a:hover { color: var(--oak-dark); }
.rd-navbar-static.rd-navbar--is-stuck { box-shadow: 0 6px 24px -16px rgba(70, 48, 20, .5); }
.rd-navbar-static.rd-navbar--is-stuck .rd-navbar-inner { padding-top: 10px; padding-bottom: 10px; }
.rd-navbar-brand img { width: 170px; height: auto; }
/* El logo lleva una hoja encima: se sube para que la palabra «tretale» quede en la línea del menú */
.rd-navbar-static .rd-navbar-brand img { transform: translateY(-10px); transition: width .25s, transform .25s; }
.rd-navbar-static.rd-navbar--is-stuck .rd-navbar-brand img { width: 140px; transform: translateY(-8px); }
.rd-navbar-fixed .rd-navbar-brand img { height: 34px; width: auto; transform: translateY(-5px); }
.rd-navbar-fixed .rd-navbar-panel { align-items: center; border-bottom: 1px solid var(--line); }
.rd-navbar-fixed .rd-navbar-brand { margin-left: 0; }
.rd-navbar-fixed .rd-navbar-nav li > a { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: var(--ink); text-transform: none; letter-spacing: 0; }
.rd-navbar-fixed .rd-navbar-nav li.active > a, .rd-navbar-fixed .rd-navbar-nav li:hover > a { background: var(--cream-2); color: var(--oak-dark); }
.rd-navbar-toggle span, .rd-navbar-toggle span::before, .rd-navbar-toggle span::after { background: var(--ink); }
.navbar-cart { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cream-2); color: var(--ink); }
.navbar-cart .icon { font-size: 20px; color: var(--ink); }
.navbar-cart:hover { background: var(--sand); }
.navbar-cart__count { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--oak); color: #fff; font-size: .72rem; font-weight: 800; line-height: 20px; text-align: center; }
.rd-navbar-static .navbar-cart--mobile, .rd-navbar-fixed .navbar-cart--desktop { display: none; }
.rd-navbar-fixed .navbar-cart--mobile { position: fixed; top: 7px; right: 10px; z-index: 18; width: 42px; height: 42px; }

/* --- Migas --- */
.breadcrumbs-custom { background: var(--cream-2); border-bottom: 1px solid var(--line); }
.breadcrumbs-custom__inner { padding: 34px 0; text-align: center; }
.breadcrumbs-custom__title { font-family: var(--font-head); font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 500; color: var(--ink); letter-spacing: -.01em; text-transform: none; line-height: 1.15; }
.breadcrumbs-custom__path { margin-top: 10px; }
.breadcrumbs-custom__path li, .breadcrumbs-custom__path a { font-size: .88rem; color: var(--ink-soft); text-transform: none; letter-spacing: 0; }
.breadcrumbs-custom__path a:hover, .breadcrumbs-custom__path li.active { color: var(--oak-dark); }

/* --- Hero --- */
.hero { position: relative; background: var(--cream-2); overflow: hidden; }
.hero__grid { display: grid; gap: 36px; align-items: center; padding: 48px 0 56px; }
.hero__text h1 em { font-style: italic; color: var(--oak-dark); font-weight: 400; }
.hero__text .lead { margin-top: 20px; max-width: 540px; }
.hero__media { position: relative; }
.hero__media img { width: 100%; height: auto; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 220px 220px var(--radius) var(--radius); box-shadow: var(--shadow); }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; }
.hero__points li { font-size: .92rem; font-weight: 700; color: var(--ink); }
.hero__points li::before { content: "✓"; color: var(--sage-dark); font-weight: 900; margin-right: 7px; }
@media (min-width: 992px) { .hero__grid { grid-template-columns: 1fr 1.05fr; gap: 60px; padding: 72px 0 84px; } }

/* --- Categorías --- */
.cat-grid { display: grid; gap: 22px; grid-template-columns: repeat(2, 1fr); }
.cat-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-card img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.cat-card__body { padding: 16px 18px 20px; }
.cat-card__body h3 { font-size: 1.12rem; margin: 0; }
.cat-card__body p { font-size: .88rem; margin-top: 4px; color: var(--ink-soft); }
@media (max-width: 575px) { .cat-grid { grid-template-columns: 1fr 1fr; gap: 14px; } .cat-card__body { padding: 12px; } .cat-card__body h3 { font-size: .98rem; } }
@media (min-width: 992px) { .cat-grid { grid-template-columns: repeat(5, 1fr); } }

/* --- Tarjeta de producto --- */
.product-grid-t { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.product-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-align: left; transition: box-shadow .25s, transform .25s; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-card .product-img-wrap { display: block; max-width: none; background: #fff; border-bottom: 1px solid var(--line); }
.product-card .product-img-wrap img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; display: block; }
.product-card__badge { position: absolute; top: 14px; left: 14px; background: var(--sage-dark); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .04em; padding: 4px 12px; border-radius: 999px; }
.product-card .product-caption { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 22px; margin: 0; }
.product-card .product-categories { margin: 0; }
.product-card .product-categories li a { font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sage-dark); }
.product-card .product-title { margin-top: 6px; font-size: 1.12rem; line-height: 1.3; }
.product-card .product-title a { color: var(--ink); }
.product-card .product-title a:hover { color: var(--oak-dark); }
.product-card__meta { font-size: .85rem; line-height: 1.45; margin-top: 8px; color: var(--ink-soft); }
.product-card__price { margin-top: auto; padding-top: 14px; font-size: 1rem; }
.product-card__price strong { font-family: var(--font-head); font-size: 1.4rem; font-weight: 600; }
.product-card__price del { color: #A59A8B; margin-right: 4px; }
.product-card__price small { color: #8C8172; font-size: .78rem; }
.product-card__form { margin-top: 14px; }
.product-card__form .button { width: 100%; }
.owl-carousel .product-card { margin: 4px 2px 12px; }
.carousel-product .owl-dots { margin-top: 24px; }
.owl-dot span, .owl-dots .owl-dot { border-color: var(--oak) !important; }
.owl-dot.active { background: var(--oak) !important; }

/* --- Bloques de contenido --- */
.split { display: grid; gap: 36px; align-items: center; }
.split img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.split--arch img { border-radius: 200px 200px var(--radius) var(--radius); }
@media (min-width: 992px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split--reverse > :first-child { order: 2; } }
.check-list { margin-top: 20px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; color: var(--ink-soft); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--sage-soft); color: var(--sage-dark); font-size: .8rem; font-weight: 900; line-height: 22px; text-align: center; }
.check-list li strong { display: block; }

.feature-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
@media (min-width: 992px) { .feature-grid, .quote-grid { grid-template-columns: repeat(3, 1fr) !important; } }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.feature .icon { display: inline-flex; width: 54px; height: 54px; align-items: center; justify-content: center; border-radius: 50%; background: var(--cream-2); color: var(--oak-dark); font-size: 26px; margin-bottom: 16px; }
.feature h3 { font-size: 1.18rem; }
.feature p { font-size: .96rem; margin-top: 8px; }
.section-t--white .feature, .section-t--white .step { background: var(--cream); }

.steps { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: paso; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px 26px; counter-increment: paso; }
.step::before { content: counter(paso, decimal-leading-zero); font-family: var(--font-head); font-size: 2.4rem; font-style: italic; color: var(--oak); line-height: 1; display: block; margin-bottom: 12px; }
.step h3 { font-size: 1.12rem; }
.step p { font-size: .95rem; margin-top: 8px; }

.stats { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); text-align: center; }
.stats__item { padding: 10px; }
.stats__num { font-family: var(--font-head); font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--oak-dark); line-height: 1; font-weight: 500; }
.stats__label { font-size: .92rem; margin-top: 8px; color: var(--ink-soft); }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }

.banner-t { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; background-size: cover; background-position: center; }
.banner-t__card { background: rgba(255, 255, 255, .95); border-radius: var(--radius-sm); margin: 24px; padding: 28px 30px; max-width: 520px; }
.banner-t__card h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }

.inspo-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.inspo { position: relative; border-radius: var(--radius); overflow: hidden; display: block; }
.inspo img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; display: block; transition: transform .5s; }
.inspo:hover img { transform: scale(1.04); }
.inspo__label { position: absolute; left: 14px; bottom: 14px; background: #fff; color: var(--ink); border-radius: 999px; padding: 7px 16px; font-size: .88rem; font-weight: 800; }
@media (min-width: 768px) { .inspo-grid { grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 250px 250px; } .inspo:first-child { grid-row: span 2; } }

.quote-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.quote-t { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; display: flex; flex-direction: column; }
.quote-t::before { content: "“"; font-family: var(--font-head); font-size: 3.4rem; line-height: .6; color: var(--oak); display: block; margin-bottom: 6px; }
.quote-t p { font-size: .98rem; margin: 0; }
.quote-t footer { margin-top: auto; padding-top: 18px; font-size: .88rem; color: var(--ink-soft); }
.quote-t footer strong { display: block; font-size: .96rem; }

/* --- Blog --- */
.post-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-align: left; transition: box-shadow .25s, transform .25s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.post-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.post-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sage-dark); margin: 0; }
.post-card h3 { font-size: 1.18rem; margin-top: 8px; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--oak-dark); }
.post-card p.post-card__excerpt { font-size: .95rem; margin-top: 10px; }
.post-card .link-arrow { margin-top: auto; align-self: flex-start; font-size: .9rem; }
.post-card__excerpt + .link-arrow { margin-top: 16px; }

/* --- Prosa (artículos, legales) --- */
.prose { max-width: 800px; }
.prose--center { margin: 0 auto; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 44px; }
.prose h3 { font-size: 1.2rem; margin-top: 30px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul, .prose ol { margin: 16px 0 0; padding-left: 24px; }
.prose ul li { list-style: disc; margin-top: 8px; }
.prose ol li { list-style: decimal; margin-top: 8px; }
.prose li::marker { color: var(--oak); font-weight: 800; }
.prose img { border-radius: var(--radius); margin: 8px 0; }
.prose .table-responsive { margin-top: 20px; }
.prose address { font-style: normal; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 22px; margin-top: 16px; line-height: 1.7; }
.legal-meta { font-size: .88rem; color: #8C8172; }
.legal-box { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--oak); border-radius: var(--radius-sm); padding: 20px 24px; margin-top: 22px; }
.legal-box p:first-child { margin-top: 0; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 24px; margin: 24px 0 8px; }
.toc p { font-weight: 800; color: var(--ink); margin: 0 0 6px; }
.toc ol { margin: 0; columns: 2; column-gap: 32px; }
.toc li { font-size: .92rem; margin-top: 4px !important; break-inside: avoid; }
@media (max-width: 575px) { .toc ol { columns: 1; } }

.table-tretale { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; font-size: .95rem; }
.table-tretale th, .table-tretale td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .95rem; }
.table-tretale thead th { background: var(--cream-2); color: var(--ink); font-weight: 800; white-space: nowrap; }
.table-tretale tbody tr:last-child td, .table-tretale tbody tr:last-child th { border-bottom: 0; }
.table-tretale tbody th { color: var(--ink); font-weight: 700; width: 38%; }
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* --- FAQ --- */
.faq-t { display: grid; gap: 12px; }
.faq-t details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 22px; }
.faq-t summary { position: relative; list-style: none; cursor: pointer; padding: 18px 34px 18px 0; font-family: var(--font-head); font-size: 1.08rem; font-weight: 500; color: var(--ink); }
.faq-t summary::-webkit-details-marker { display: none; }
.faq-t summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-family: var(--font-body); font-size: 1.5rem; font-weight: 400; color: var(--oak-dark); transition: transform .2s; }
.faq-t details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-t details p { margin: 0; padding: 0 0 20px; font-size: .98rem; }
.faq-group + .faq-group { margin-top: 44px; }
.faq-group > h2 { font-size: 1.5rem; margin-bottom: 18px; }

/* --- Formularios --- */
.lead-wrap { display: grid; gap: 36px; }
@media (min-width: 992px) { .lead-wrap { grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; } }
.lead-form, .contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); scroll-margin-top: 110px; }
@media (min-width: 768px) { .lead-form, .contact-form { padding: 38px 40px; } }
.form-tretale .row-20 { margin-bottom: -18px; }
.form-tretale .row-20 > [class*="col"] { margin-bottom: 18px; margin-top: 0; }
.form-label-t { display: block; font-size: .9rem; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.form-label-t span { font-weight: 400; color: #8C8172; }
.form-input-t { display: block; width: 100%; min-height: 50px; padding: 11px 16px; font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; }
select.form-input-t { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%235E564C' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
textarea.form-input-t { resize: vertical; min-height: 120px; }
.form-input-t:focus { outline: 0; border-color: var(--sage); box-shadow: 0 0 0 4px rgba(126, 150, 120, .2); background: #fff; }
.form-input-t.is-invalid { border-color: #C0492F; }
.field-error { display: block; color: #A83A22; font-size: .85rem; margin-top: 4px; }
.form-check-t { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; line-height: 1.5; color: var(--ink-soft); margin: 0 0 8px; cursor: pointer; }
.form-check-t input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--sage-dark); }
.form-legal { font-size: .78rem; line-height: 1.55; color: #8C8172; margin-top: 22px; }
.form-alert { border-radius: var(--radius-sm); padding: 16px 20px; margin-bottom: 22px; font-size: .95rem; }
.form-alert p { margin: 0; }
.form-alert ul { margin: 6px 0 0; padding-left: 20px; }
.form-alert li { list-style: disc; font-size: .95rem; }
.form-alert--error { background: #FBE9E4; border: 1px solid #E9B7AA; color: #7A2A17; }
.form-alert--error strong { color: #7A2A17; }
.form-alert--ok { background: var(--sage-soft); border: 1px solid #BFD0B9; color: #2F4A2A; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.lead-aside .check-list { margin-top: 24px; }
.lead-aside__contact { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .96rem; }

/* --- Ficha de producto --- */
.pdp { display: grid; gap: 36px; }
@media (min-width: 992px) { .pdp { grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: start; } }
.pdp-gallery__main { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.pdp-gallery__main img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.pdp-gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.pdp-gallery__thumbs button { border: 2px solid transparent; border-radius: var(--radius-sm); padding: 0; overflow: hidden; background: #fff; cursor: pointer; }
.pdp-gallery__thumbs button[aria-current="true"] { border-color: var(--oak); }
.pdp-gallery__thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.pdp-info h1 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.pdp-price { margin-top: 18px; font-size: 1rem; }
.pdp-price strong { font-family: var(--font-head); font-size: 2.2rem; font-weight: 600; }
.pdp-price del { color: #A59A8B; font-size: 1.2rem; margin-right: 8px; }
.pdp-price small { display: block; color: #8C8172; font-size: .85rem; }
.pdp-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.pdp-facts div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px; }
.pdp-facts dt { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sage-dark); }
.pdp-facts dd { margin: 2px 0 0; font-size: .95rem; color: var(--ink); line-height: 1.4; }
.pdp-buy { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
.qty-input { width: 84px; min-height: 52px; text-align: center; font-size: 1.05rem; font-weight: 700; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 999px; }
.pdp-perks { margin-top: 24px; display: grid; gap: 8px; font-size: .94rem; }
.pdp-perks li { display: flex; gap: 10px; align-items: center; font-size: .94rem; }
.pdp-perks .icon { color: var(--sage-dark); font-size: 20px; }
.pdp-tabs { margin-top: 56px; }
.pdp-section { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.pdp-section + .pdp-section { margin-top: 22px; }
.pdp-section h2 { font-size: 1.45rem; }
@media (min-width: 992px) { .pdp-cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; align-items: start; } .pdp-cols .pdp-section + .pdp-section { margin-top: 0; } }

/* --- Catálogo --- */
.cat-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 38px; }
.cat-filter a { padding: 9px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-size: .92rem; font-weight: 700; }
.cat-filter a:hover { border-color: var(--oak); color: var(--oak-dark); }
.cat-filter a.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.catalog-intro { max-width: 820px; margin: 0 auto 34px; text-align: center; }

/* --- Carrito --- */
.cart-table { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cart-row { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 18px; border-bottom: 1px solid var(--line); align-items: center; }
.cart-row:last-child { border-bottom: 0; }
.cart-row img { width: 84px; height: 84px; object-fit: cover; border-radius: var(--radius-sm); background: #F6EFE3; }
.cart-row__name { font-family: var(--font-head); font-size: 1.08rem; color: var(--ink); }
.cart-row__controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.cart-row__controls .qty-input { width: 72px; min-height: 42px; }
.cart-row__total { font-weight: 800; color: var(--ink); margin-left: auto; font-size: 1.05rem; }
.cart-summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.cart-summary dl { display: flex; justify-content: space-between; margin: 0; padding: 8px 0; }
.cart-summary dl dt, .cart-summary dl dd { margin: 0; font-size: 1rem; }
.cart-summary dl dd { font-weight: 700; color: var(--ink); }
.cart-summary dl.cart-summary__total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; }
.cart-summary__total dd { font-family: var(--font-head); font-size: 1.6rem; }
.cart-layout { display: grid; gap: 30px; }
@media (min-width: 992px) { .cart-layout { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.empty-state { text-align: center; max-width: 560px; margin: 0 auto; }
.empty-state .icon { font-size: 64px; color: var(--oak); }

/* --- Equipo --- */
.team-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.team-card { text-align: center; }
.team-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 200px 200px var(--radius) var(--radius); }
.team-card h3 { font-size: 1.2rem; margin-top: 18px; }
.team-card .role { font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sage-dark); margin-top: 4px; }
.team-card p { font-size: .95rem; }
.timeline { border-left: 2px solid var(--sand); margin-left: 8px; padding-left: 28px; display: grid; gap: 26px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -36px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--oak); border: 3px solid var(--cream); box-shadow: 0 0 0 2px var(--oak); }
.timeline strong { font-family: var(--font-head); font-size: 1.2rem; font-weight: 500; display: block; }

/* --- Contacto --- */
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; }
.contact-card .icon { font-size: 26px; color: var(--oak-dark); flex: none; margin-top: 3px; }
.contact-card h3 { font-size: 1.05rem; }
.contact-card p { margin: 2px 0 0; font-size: .95rem; }

/* --- Pie --- */
.trust-strip { background: var(--white); border-top: 1px solid var(--line); padding: 34px 0; }
.trust-strip__list { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.trust-strip__list li { display: flex; gap: 14px; align-items: center; }
.trust-strip__list .icon { font-size: 32px; color: var(--sage-dark); flex: none; }
.trust-strip__list strong { display: block; font-size: .98rem; line-height: 1.3; }
.trust-strip__list span span, .trust-strip__list div > span { font-size: .85rem; color: var(--ink-soft); line-height: 1.3; }
.pre-footer-corporate { background: var(--cream-2); padding: 64px 0 48px; border-top: 1px solid var(--line); }
.pre-footer-corporate h6 { font-family: var(--font-body); font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.pre-footer-corporate p, .pre-footer-corporate li, .pre-footer-corporate dd { font-size: .95rem; color: var(--ink-soft); }
.pre-footer-corporate a { color: var(--ink-soft); }
.pre-footer-corporate a:hover { color: var(--oak-dark); }
.pre-footer-corporate .list-xxs > li + li { margin-top: 7px; }
.pre-footer-corporate .list-terms-minimal dt { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sage-dark); }
.pre-footer-corporate .list-terms-minimal dt::after { content: none; }
.pre-footer-corporate .list-terms-minimal dt, .pre-footer-corporate .list-terms-minimal dd { display: block; }
.footer-logo img { width: 160px; height: auto; margin-bottom: 8px; }
.footer-legal-id { font-size: .82rem !important; color: #8C8172 !important; }
.footer-corporate { background: var(--cream-2); border-top: 1px solid var(--line); padding: 22px 0; }
.footer-corporate__inner { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; border: 0; padding: 0; }
.footer-corporate .rights, .footer-legal-links li, .footer-legal-links a, .footer-legal-links button { font-size: .85rem; color: var(--ink-soft); margin: 0; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; }
.footer-legal-links a:hover, .footer-legal-links button:hover { color: var(--oak-dark); }

/* --- Cookies --- */
.cookie-banner { position: fixed; left: 24px; bottom: 24px; z-index: 1500; width: min(440px, calc(100vw - 20px)); max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 24px 60px -24px rgba(46, 42, 37, .5), 0 2px 8px rgba(46, 42, 37, .06); padding: 22px 22px 16px; animation: cookie-in .45s cubic-bezier(.2, .8, .2, 1) both; }
.cookie-banner[hidden] { display: none; }
@keyframes cookie-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cookie-banner { animation: none; } }
.cookie-banner__head { display: flex; gap: 14px; align-items: flex-start; }
.cookie-banner__icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--cream-2); color: var(--oak-dark); }
.cookie-banner__title { font-family: var(--font-head); font-size: 1.12rem; line-height: 1.25; color: var(--ink); margin: 2px 0 0; }
.cookie-banner .cookie-banner__text { font-size: .84rem; line-height: 1.55; color: var(--ink-soft); margin: 6px 0 0; }
.cookie-banner__text a { color: var(--oak-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.cookie-banner__prefs { margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--cream); }
.cookie-banner__prefs[hidden] { display: none; }
.cookie-switch { display: flex; gap: 14px; align-items: center; justify-content: space-between; margin: 0; padding: 12px 14px; cursor: pointer; }
.cookie-switch + .cookie-switch { border-top: 1px solid var(--line); }
.cookie-switch__text { display: block; font-size: .86rem; line-height: 1.4; color: var(--ink); }
.cookie-switch__text small { display: block; font-size: .78rem; color: var(--ink-soft); margin-top: 2px; }
.cookie-switch input { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 42px; height: 24px; margin: 0; border-radius: 999px; background: #D9D0C2; cursor: pointer; transition: background .2s; }
.cookie-switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.cookie-switch input:checked { background: var(--sage-dark); }
.cookie-switch input:checked::after { transform: translateX(18px); }
.cookie-switch input:disabled { opacity: .55; cursor: not-allowed; }
.cookie-switch input:focus-visible, .cookie-btn:focus-visible { outline: 2px solid var(--oak-dark); outline-offset: 2px; }
.cookie-banner__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.cookie-btn { appearance: none; border: 2px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff; font-family: var(--font-body); font-size: .92rem; font-weight: 800; line-height: 1.2; padding: 12px 16px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.cookie-btn:hover { background: var(--oak-dark); border-color: var(--oak-dark); }
.cookie-btn[hidden] { display: none; }
.cookie-btn--outline { grid-column: 1 / -1; background: #fff; color: var(--ink); }
.cookie-btn--outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.cookie-btn--ghost { grid-column: 1 / -1; background: none; border-color: transparent; color: var(--ink-soft); font-size: .84rem; font-weight: 700; padding: 6px; text-decoration: underline; text-underline-offset: 3px; }
.cookie-btn--ghost:hover { background: none; border-color: transparent; color: var(--oak-dark); }
@media (max-width: 575px) { .cookie-banner { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 18px 16px 12px; border-radius: 18px; } .cookie-banner__icon { width: 40px; height: 40px; } }

/* --- Utilidades --- */
.text-center-t { text-align: center; }
.mt-40 { margin-top: 40px; }
.mt-24 { margin-top: 24px; }
.note { font-size: .88rem; color: #8C8172; }
.pill { display: inline-block; background: var(--sage-soft); color: var(--sage-dark); font-size: .8rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.cta-band { background: var(--sage-dark); border-radius: var(--radius); padding: 44px 30px; text-align: center; color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #EEF3EB; max-width: 620px; margin-left: auto; margin-right: auto; }
.page .cta-band .button-primary { background: #fff; border-color: #fff; color: var(--ink); }
.page .cta-band .button-primary:hover { background: var(--cream-2); border-color: var(--cream-2); color: var(--ink); }
.cta-band .button-outline { border-color: #fff; color: #fff; }
.cta-band .button-outline:hover { background: #fff; color: var(--ink); }
.cta-band .btn-row { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* --- Ajustes sobre componentes de la plantilla --- */
.ui-to-top, .ui-to-top:active, .ui-to-top:focus { background: var(--sage-dark); color: #fff; width: 48px; height: 48px; line-height: 48px; font-size: 20px; }
.ui-to-top:hover { background: var(--oak-dark); color: #fff; }
.carousel-product .owl-stage { display: flex; }
.carousel-product .owl-item { display: flex; float: none; }
.carousel-product .owl-item .item { display: flex; width: 100%; }
.carousel-product .owl-item .product-card { width: 100%; }
@media (min-width: 992px) { .post-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* --- Ajustes tras la revisión (móvil y SEO) --- */
h1.breadcrumbs-custom__title { margin: 0; }
@media (max-width: 991px) {
  .cat-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  .cat-grid > :last-child:nth-child(odd) img { height: 100%; aspect-ratio: 4 / 3; }
}
@media (max-width: 767px) {
  .table-tretale th, .table-tretale td { padding: 10px 12px; font-size: .88rem; }
  .table-tretale td:first-child, .table-tretale tbody th { white-space: nowrap; }
  .table-tretale:has(thead th:nth-child(4)) { min-width: 560px; }
  .table-responsive:has(thead th:nth-child(4))::before { content: "Desliza la tabla para ver todas las columnas →"; display: block; font-size: .78rem; color: var(--ink-soft); margin-bottom: 6px; }
  .quote-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; margin: 0 -15px; padding: 4px 15px 14px; scrollbar-width: none; }
  .quote-grid::-webkit-scrollbar { display: none; }
  .quote-grid > * { flex: 0 0 84%; scroll-snap-align: center; }
  .inspo-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .inspo-grid .inspo:first-child { grid-column: 1 / -1; }
  .inspo img { min-height: 170px; aspect-ratio: 4 / 3; }
  .inspo__label { left: 8px; right: auto; bottom: 8px; max-width: calc(100% - 16px); padding: 5px 10px; font-size: .74rem; line-height: 1.3; border-radius: 12px; }
}
