/* AdsDoctor Design — piezas propias de Cajas Fuertes Tienda (sobre v2/v3: mismos tokens, tipografía y radios). */

/* ---------- Ficha: fondo neutro (no hay "color de producto") ---------- */
body.adsd-ficha-neutra { --pf: #f8f6f4; --pf2: #efebe7; --pfc: #f0642c; }
body.adsd-ficha-neutra .woocommerce-product-gallery::after { opacity: .06 !important; }

/* ---------- Sellos de certificación ---------- */
.adsd-sellos { list-style: none; margin: 4px 0 14px !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
.adsd-sellos li { margin: 0 !important; }
.adsd-sellos li::before { content: none !important; display: none !important; }
.adsd-sello { display: inline-flex; flex-direction: column; justify-content: center; min-height: 44px; padding: 6px 12px 6px 34px !important; border-radius: 12px; background: var(--vi-bg); border: 1px solid var(--vi-ln); position: relative; line-height: 1.15; }
.adsd-sello::after { content: ""; position: absolute; left: 10px; top: 50%; width: 16px; height: 16px; margin-top: -8px; background: var(--vi); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat; }
.adsd-sello strong { font-size: 13.5px; font-weight: 700; color: var(--vi-esc); }
.adsd-sello small { font-size: 11.5px; color: var(--tx2); }
.adsd-sello--fuego { background: #fff3ea; border-color: #fbd9c2; }
.adsd-sello--fuego::after { background: #e0701f; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3c1 3.5 5 5.5 5 10a5 5 0 0 1-10 0c0-2.2 1-3.6 2-4.6.3 1.6 1 2.6 2 3.1C11 9 11 6 12 3z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3c1 3.5 5 5.5 5 10a5 5 0 0 1-10 0c0-2.2 1-3.6 2-4.6.3 1.6 1 2.6 2 3.1C11 9 11 6 12 3z'/%3E%3C/svg%3E"); }
.adsd-sello--fuego strong { color: #9a4a12; }
/* En las tarjetas, más pequeños */
.adsd-card .adsd-sellos { margin: 2px 0 6px !important; gap: 4px; }
.adsd-card .adsd-sello { min-height: 0; padding: 3px 8px 3px 24px !important; border-radius: 8px; }
.adsd-card .adsd-sello::after { left: 7px; width: 12px; height: 12px; margin-top: -6px; }
.adsd-card .adsd-sello strong { font-size: 11.5px; }
.adsd-card .adsd-sello small { display: none; }

/* ---------- Selector "Modelo / medidas" ---------- */
html body.adsd-ficha3 .adsd-grupo--modelo .adsd-opcoes { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
html body.adsd-ficha3 .adsd-op--modelo { height: auto !important; min-height: 64px; padding: 10px 12px !important; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; text-align: left; line-height: 1.25; white-space: normal; }
html body.adsd-ficha3 .adsd-op--modelo span { font-size: 14.5px; font-weight: 700; }
html body.adsd-ficha3 .adsd-op--modelo em { font-style: normal; font-weight: 500; font-size: 12px; color: var(--tx2); }
html body.adsd-ficha3 .adsd-op--modelo small { margin-top: 3px; font-size: 12.5px; font-weight: 600; color: var(--vi-esc); }
html body.adsd-ficha3 .adsd-op--modelo.is-sel em, html body.adsd-ficha3 .adsd-op--modelo.is-sel small { color: rgba(255,255,255,.82) !important; }
html body.adsd-ficha3 .adsd-grupo--cierre .adsd-op, html body.adsd-ficha3 .adsd-grupo--texto .adsd-op { height: auto !important; min-height: 48px; padding: 8px 14px !important; white-space: normal; text-align: left; line-height: 1.25; }
body.adsd .adsd-op.is-esgotado span::after { content: ' · sin stock'; }
@media (max-width: 600px) {
	html body.adsd-ficha3 .adsd-grupo--modelo .adsd-opcoes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Datos del modelo elegido ---------- */
.adsd-modelo-info { margin: 14px 0 4px; padding: 14px 16px; border-radius: 18px; background: var(--bg2); border: 1px solid var(--ln); }
.adsd-modelo-info[hidden] { display: none; }
.adsd-modelo-info__t { margin: 0 0 8px !important; font-size: 13px; font-weight: 600; color: var(--tx2); letter-spacing: .02em; }
.adsd-modelo-info dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.adsd-modelo-info dl > div { display: flex; flex-direction: column; }
.adsd-modelo-info dt { font-size: 12px; color: var(--tx3); font-weight: 500; }
.adsd-modelo-info dd { margin: 0; font-size: 15px; font-weight: 600; color: var(--tx); }

/* ---------- Familias: chips de tipo de cierre con precio ---------- */
.adsd-irm__acab { height: auto !important; min-height: 48px; flex-direction: column; align-items: flex-start !important; justify-content: center; padding: 6px 14px !important; line-height: 1.2; }
.adsd-irm__acab small { font-size: 11.5px; font-weight: 500; color: var(--tx2); }
.adsd-irm__acab.is-atual small { color: rgba(255,255,255,.8); }

/* ---------- Precio a consultar ---------- */
.adsd-consultar { font-weight: 600; color: var(--vi-esc); }
.adsd-consulta { margin: 16px 0; padding: 16px; border-radius: 18px; background: var(--vi-bg); border: 1px solid var(--vi-ln); display: flex; flex-direction: column; gap: 10px; }
.adsd-consulta p { margin: 0 !important; display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--tx2); }
.adsd-consulta strong { font-size: 16px; color: var(--tx); }
html body .adsd-consulta .adsd-btn { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 14px !important; background: var(--tx); color: #fff !important; font-weight: 600; text-decoration: none !important; }
html body .adsd-consulta .adsd-btn--linha { background: #fff; color: var(--tx) !important; border: 1px solid var(--ln); }

/* ---------- Confianza con iconos del sprite ---------- */
body.adsd-ficha3 .adsd-f-confianca li { align-items: flex-start !important; }
body.adsd-ficha3 .adsd-f-confianca .adsd-i { width: 22px; height: 22px; flex: none; margin-top: 1px; }
body.adsd-ficha3 .adsd-f-confianca span { display: flex; flex-direction: column; font-size: 13.5px; color: var(--tx2); line-height: 1.35; }
body.adsd-ficha3 .adsd-f-confianca strong { color: var(--tx); font-size: 14px; font-weight: 600; }

/* ---------- Documentos PDF ---------- */
.adsd-docs { margin: 16px 0 0; }
.adsd-docs__t { margin: 0 0 8px !important; font-size: 13px; font-weight: 600; color: var(--tx2); }
.adsd-docs ul { list-style: none; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 6px; }
.adsd-docs li { margin: 0 !important; padding: 0 !important; }
.adsd-docs li::before { content: none !important; }
.adsd-docs a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--ln); border-radius: 14px; text-decoration: none !important; color: var(--tx) !important; background: #fff; transition: border-color .15s; }
.adsd-docs a:hover { border-color: var(--vi); }
.adsd-docs .adsd-i { width: 22px; height: 22px; flex: none; }
.adsd-docs span { display: flex; flex-direction: column; font-size: 14px; font-weight: 600; min-width: 0; }
.adsd-docs small { font-size: 12px; font-weight: 400; color: var(--tx3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Descripción original: tabla de medidas legible y deslizable ---------- */
body.adsd .adsd-desc--original { display: block !important; max-width: 1100px; }
.adsd-desc--original h2, .adsd-desc--original h2 span, .adsd-desc--original span[style] { color: inherit !important; }
.adsd-desc--original h2 { font-size: 20px !important; text-transform: none !important; letter-spacing: 0 !important; margin: 0 0 8px !important; }
.adsd-desc--original table { display: block; width: 100% !important; height: auto !important; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-collapse: collapse; margin: 12px 0 20px; font-size: 14px; }
.adsd-desc--original td { padding: 8px 10px !important; border: 1px solid var(--ln) !important; white-space: nowrap; width: auto !important; text-align: center; }
.adsd-desc--original tr:first-child td, .adsd-desc--original tr:nth-child(2) td { background: var(--bg2); font-weight: 600; }
.adsd-desc--original td:first-child { text-align: left; font-weight: 600; position: sticky; left: 0; background: #fff; }
.adsd-desc--original tr:first-child td:first-child, .adsd-desc--original tr:nth-child(2) td:first-child { background: var(--bg2); }
.adsd-desc--original img[src*="PDF"] { width: 48px !important; height: auto; }
.adsd-desc--original ul { padding-left: 1.2em; }
.adsd-desc--original li { margin-bottom: 6px; }
.adsd-nota { font-size: 13px; color: var(--tx2); line-height: 1.5; }

/* ---------- Home: grados explicados ---------- */
.adsd-h-grados { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.adsd-h-grados li { margin: 0 !important; padding: 0 !important; }
.adsd-h-grados li::before { content: none !important; }
.adsd-h-grados a, .adsd-h-grados__otros > div { height: 100%; display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: 22px; background: #fff; border: 1px solid var(--ln); text-decoration: none !important; color: var(--tx) !important; transition: transform .2s, box-shadow .2s, border-color .2s; }
.adsd-h-grados a:hover { transform: translateY(-3px); border-color: var(--vi-ln); box-shadow: 0 1px 2px rgba(16,16,29,.04), 0 12px 28px rgba(16,16,29,.08); }
.adsd-h-grados__n { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 8px; font-weight: 800; font-size: 18px; color: #fff; background: var(--grad); }
.adsd-h-grados li:nth-child(1) .adsd-h-grados__n { opacity: .55; }
.adsd-h-grados li:nth-child(2) .adsd-h-grados__n { opacity: .7; }
.adsd-h-grados li:nth-child(3) .adsd-h-grados__n { opacity: .85; }
.adsd-h-grados strong { font-size: 17px; }
.adsd-h-grados small { font-size: 13.5px; color: var(--tx2); line-height: 1.4; }
.adsd-h-grados small b { color: var(--tx); font-weight: 600; }
.adsd-h-grados em { margin-top: auto; padding-top: 10px; font-style: normal; font-size: 13px; font-weight: 600; color: var(--vi-esc); display: inline-flex; align-items: center; gap: 4px; }
.adsd-h-grados em .adsd-i { width: 14px; height: 14px; }
.adsd-h-grados__otros > div { background: var(--bg2); gap: 8px; }
@media (max-width: 1100px) { .adsd-h-grados { grid-template-columns: repeat(2, minmax(0, 1fr)); } .adsd-h-grados__otros { grid-column: 1 / -1; } }
@media (max-width: 480px) { .adsd-h-grados a, .adsd-h-grados__otros > div { padding: 16px; } }

/* ---------- Home: asesor ---------- */
.adsd-asesor__f { display: flex; flex-direction: column; gap: 14px; margin: 14px 0 10px; }
.adsd-asesor__f fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.adsd-asesor__f legend { font-weight: 600; font-size: 15px; margin: 0 0 8px; padding: 0; color: var(--tx); }
.adsd-asesor__f label { display: inline-flex; align-items: center; gap: 8px; margin: 0 6px 6px 0; padding: 8px 12px; border: 1px solid var(--ln); border-radius: 999px; background: #fff; font-size: 13.5px; cursor: pointer; transition: border-color .15s, background .15s; }
.adsd-asesor__f label:hover { border-color: var(--vi); }
.adsd-asesor__f label:has(input:checked) { background: var(--tx); border-color: var(--tx); color: #fff; }
.adsd-asesor__f input[type=radio] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.adsd-asesor__f label:has(input:focus-visible) { outline: 2px solid var(--vi); outline-offset: 2px; }
.adsd-asesor__res { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 18px; background: var(--vi-bg); border: 1px solid var(--vi-ln); }
.adsd-asesor__res strong { font-size: 15px; }
.adsd-asesor__res span { font-size: 14px; color: var(--tx2); line-height: 1.45; }
.adsd-asesor__res .adsd-pill { align-self: flex-start; }

/* ---------- Tarjetas: extra y precios ---------- */
.adsd-card .adsd-tams { font-size: 12.5px; color: var(--tx2); }

/* ---------- Títulos: el tema de esta web los pone en MAYÚSCULAS ---------- */
html body.adsd-v2 h1, html body.adsd-v2 h2, html body.adsd-v2 h3, html body.adsd-v2 h4, html body.adsd-v2 h5, html body.adsd-v2 h6,
html body.adsd-v2 .product_title { text-transform: none !important; }

/* ---------- Menú: 7 secciones + ayuda. "Ayuda" solo en el móvil; en escritorio ya está en la barra superior y el pie ---------- */
@media (min-width: 1024px) {
	.adsd-nav__item[data-k="ayuda"] { display: none; }
}
@media (min-width: 1024px) and (max-width: 1500px) {
	html body .adsd-nav__link { padding: 0 8px; font-size: 14px !important; gap: 2px; }
	.adsd-nav__logo { margin-right: 4px; }
	.adsd-nav__logo img { height: 38px; }
	html body .adsd-nav__busca { width: 42px; min-width: 0; padding: 0; justify-content: center; }
	html body .adsd-nav__busca span { display: none; }
}
@media (min-width: 1024px) and (max-width: 1260px) {
	html body .adsd-nav__link { padding: 0 6px; font-size: 13.5px !important; }
	html body .adsd-nav__link .adsd-i { display: none; }
	.adsd-nav__logo img { height: 34px; }
}

/* El tema pone "Zalando Sans" en negritas y etiquetas: todo en Inter como el resto */
html body.adsd-v2 strong, html body.adsd-v2 b, html body.adsd-v2 label, html body.adsd-v2 .adsd-nav *, html body.adsd-v2 .adsd-mm *, html body.adsd-v2 .adsd-pie * { font-family: var(--adsd-fonte) !important; }
html body.adsd-v2 .adsd-i { font-family: inherit !important; }
html body.adsd-v2 :is(button, em, small, input, select, textarea, dt, dd, td, th, .price, .amount, legend) { font-family: var(--adsd-fonte) !important; }

/* Botón flotante de "Call Now Button": el teléfono ya está en la cabecera y el menú (el plugin sigue activo hasta que se apruebe quitarlo) */
body.adsd-v2 #callnowbutton, body.adsd-v2 .call-now-button, body.adsd-v2 [class*="cnb-single"], body.adsd-v2 .cnb-multi { display: none !important; }

/* Logo en móvil: que no toque la lupa */
@media (max-width: 1023px) {
	.adsd-nav__logo { margin: 0 auto; min-width: 0; flex: 0 1 auto; }
	.adsd-nav__logo img { height: 30px !important; max-width: 46vw; object-fit: contain; }
}

/* Con el selector de idioma en la cabecera: entre 1024 y 1180 px solo la bandera y enlaces más compactos */
@media (min-width: 1024px) and (max-width: 1180px) {
	html body .adsd-nav .adsd-idi__cod, html body .adsd-nav .adsd-idi__seta { display: none; }
	html body .adsd-nav .adsd-idi__btn { padding: 0 8px; }
	html body .adsd-nav__link { padding: 0 4px; font-size: 13px !important; }
	.adsd-nav__barra { gap: 4px; padding: 0 8px 0 12px; }
}

/* Ficha: enlaces de contacto en una línea y lista de documentos sin viñetas del tema */
body.adsd-ficha3 .adsd-f-confianca .adsd-f-links { font-style: normal; display: block; }
.adsd-docs ul, .adsd-docs li { list-style: none !important; }
.adsd-docs li::marker { content: ""; }

/* =========================================================
   Banner principal v2: texto + composición con productos reales
   ========================================================= */
.adsd-h-hero--v2 { text-align: left; padding-top: clamp(28px, 4vw, 56px); }
.adsd-h-hero--v2::before { background: radial-gradient(closest-side, rgba(255,138,61,.22), rgba(255,138,61,0)) !important; }
.adsd-h-hero__grid { display: grid; gap: 28px; align-items: center; }
.adsd-h-hero--v2 h1 { margin-left: 0 !important; max-width: 13ch; }
.adsd-h-hero--v2 .adsd-h-hero__sub { margin-left: 0 !important; max-width: 560px; }
.adsd-h-hero--v2 .adsd-h-busca { margin-left: 0 !important; }
.adsd-h-hero--v2 .adsd-h-chips { justify-content: flex-start !important; }
.adsd-h-hero--v2 .adsd-etiqueta { margin-left: 0 !important; }

.adsd-h-hero__vis { position: relative; min-height: 360px; }
.adsd-h-hero__prod { position: relative; display: block; height: 100%; min-height: 360px; border-radius: 32px; overflow: hidden; text-decoration: none !important;
  background: radial-gradient(120% 90% at 70% 10%, #ffb27a 0%, #ff8a3d 38%, #f0642c 70%, #d9361c 100%); box-shadow: 0 40px 80px -40px rgba(217,54,28,.55); }
.adsd-h-hero__prod::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 45% at 50% 58%, rgba(255,255,255,.55), rgba(255,255,255,0) 70%); }
.adsd-h-hero__prod::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 76px; height: 26px; border-radius: 50%; background: rgba(90,20,0,.28); filter: blur(12px); }
.adsd-h-hero__img { position: absolute; inset: 22px 22px 84px; display: grid; place-items: center; z-index: 1; }
.adsd-h-hero__img img { max-width: 100%; max-height: 100%; width: auto !important; height: auto !important; object-fit: contain; mix-blend-mode: multiply; filter: drop-shadow(0 24px 30px rgba(80,20,0,.25)); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.adsd-h-hero__prod:hover .adsd-h-hero__img img { transform: translateY(-6px) scale(1.02); }
.adsd-h-hero__ficha { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 12px 16px; border-radius: 18px; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #1f1a17; }
.adsd-h-hero__ficha small { flex-basis: 100%; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #d9501c; }
.adsd-h-hero__ficha strong { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adsd-h-hero__ficha em { font-style: normal; font-weight: 700; font-size: 15px; color: #1f1a17; white-space: nowrap; }
.adsd-h-hero__mini { position: absolute; z-index: 3; width: 118px; padding: 10px 10px 8px; border-radius: 20px; background: #fff; box-shadow: 0 20px 40px -20px rgba(31,26,23,.45); text-decoration: none !important; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.adsd-h-hero__mini:hover { transform: translateY(-4px) rotate(0deg) !important; }
.adsd-h-hero__mini img { display: block; width: 100% !important; height: 90px !important; object-fit: contain; }
.adsd-h-hero__mini span { display: block; margin-top: 4px; font-size: 12px; font-weight: 700; color: #1f1a17; text-align: center; }
.adsd-h-hero__mini--1 { left: -26px; top: 36px; transform: rotate(-5deg); }
.adsd-h-hero__mini--2 { right: -18px; top: 44%; transform: rotate(4deg); }
.adsd-h-hero__sello { position: absolute; z-index: 3; display: grid; grid-template-columns: 30px auto; column-gap: 8px; align-items: center; padding: 8px 14px 8px 8px; border-radius: 16px; background: #fff; box-shadow: 0 16px 30px -18px rgba(31,26,23,.45); color: #1f1a17; }
.adsd-h-hero__sello svg { grid-row: span 2; width: 30px; height: 30px; padding: 6px; border-radius: 10px; background: #fff3ec; }
.adsd-h-hero__sello b { font-size: 13px; line-height: 1.2; }
.adsd-h-hero__sello small { font-size: 11px; color: #6b635d; line-height: 1.2; }
.adsd-h-hero__sello--1 { right: 22px; top: -14px; }
.adsd-h-hero__sello--2 { left: 18px; bottom: 96px; }
@keyframes adsdFlutua { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.adsd-h-hero__sello--1, .adsd-h-hero__mini--2 { animation: adsdFlutua 5s ease-in-out infinite; }
.adsd-h-hero__sello--2, .adsd-h-hero__mini--1 { animation: adsdFlutua 6s ease-in-out 1s infinite; }
@media (prefers-reduced-motion: reduce) { .adsd-h-hero__sello, .adsd-h-hero__mini { animation: none !important; } }

@media (min-width: 1000px) {
  .adsd-h-hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; }
  .adsd-h-hero__vis { min-height: 520px; }
  .adsd-h-hero__prod { min-height: 520px; }
  .adsd-h-hero--v2 h1 { font-size: clamp(44px, 5vw, 70px) !important; }
}
@media (max-width: 999px) {
  .adsd-h-hero__vis { margin: 4px 8px 0; min-height: 330px; }
  .adsd-h-hero__prod { min-height: 330px; }
  .adsd-h-hero__mini { width: 92px; }
  .adsd-h-hero__mini img { height: 68px !important; }
  .adsd-h-hero__mini--1 { left: -10px; top: 18px; }
  .adsd-h-hero__mini--2 { right: -8px; top: 38%; }
  .adsd-h-hero__sello--1 { right: 12px; top: -12px; }
  .adsd-h-hero__sello--2 { display: none; }
}

/* =========================================================
   Cabecera móvil: el idioma pasa a la derecha (no choca con el logo)
   ========================================================= */
@media (max-width: 1023px) {
  .adsd-nav__idioma { order: 3; margin: 0 !important; }
  .adsd-nav__logo { order: 2; min-width: 0; flex: 1 1 auto; display: flex; justify-content: center; margin: 0 8px !important; }
  .adsd-nav__logo img { max-width: 100%; height: auto; max-height: 32px; width: auto; }
  .adsd-nav__burger { order: 1; }
  .adsd-nav__acoes { order: 4; }
  html body .adsd-nav .adsd-nav__idioma .adsd-idi__btn { height: 40px; width: 40px; padding: 0 !important; justify-content: center; border: 0 !important; background: transparent !important; }
  html body .adsd-nav .adsd-nav__idioma .adsd-idi__btn > :not(.adsd-bandeira) { display: none !important; }
  .adsd-nav__idioma .adsd-bandeira { width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
  .adsd-nav__idioma .adsd-idi__menu { left: auto !important; right: 0 !important; }
}
@media (max-width: 380px) {
  .adsd-nav__logo img { max-height: 28px; }
}
/* la foto se ve con sus colores reales, en una vitrina blanca sobre el naranja */
.adsd-h-hero__img { z-index: 1 !important; inset: 34px 44px 96px !important; padding: 18px; border-radius: 26px; background: #fff; box-shadow: 0 30px 60px -28px rgba(80,20,0,.55), inset 0 0 0 1px rgba(255,255,255,.6); }
.adsd-h-hero__img img { mix-blend-mode: normal !important; filter: none !important; }
.adsd-h-hero__prod::after { display: none; }
@media (max-width: 999px) { .adsd-h-hero__img { inset: 26px 30px 92px !important; padding: 12px; } }
@media (max-width: 1023px) {
  .adsd-nav__barra > .adsd-nav__idioma { margin-left: auto !important; margin-right: -6px !important; }
  .adsd-nav__barra > .adsd-nav__acoes { margin-left: 0 !important; }
}
/* banner móvil: nunca más ancho que la pantalla */
.adsd-h-hero__grid { grid-template-columns: minmax(0, 1fr); }
.adsd-h-hero__grid > * { min-width: 0; }
@media (min-width: 1000px) { .adsd-h-hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); } }
.adsd-h-hero__img img { max-width: 100% !important; }
@media (max-width: 999px) {
  .adsd-h-hero__vis { margin: 8px 6px 0; }
  .adsd-h-hero__prod, .adsd-h-hero__vis { min-height: 300px; }
}
@media (max-width: 1023px) {
  .adsd-nav__barra > .adsd-nav__logo { position: static !important; transform: none !important; left: auto !important; flex: 1 1 auto; min-width: 0; display: flex !important; justify-content: center; margin: 0 6px !important; }
  .adsd-nav__barra > .adsd-nav__logo img { max-width: 100% !important; width: auto !important; max-height: 30px !important; height: auto !important; object-fit: contain; }
  .adsd-nav__barra > .adsd-nav__idioma { margin-left: 0 !important; margin-right: -4px !important; }
}

/* Selector de idioma (plugin adsdoctor-idioma): colores de la marca en naranja */
html body .adsd-idi__btn, html body .adsd-idi__menu button, html body .adsd-idi-movel button, html body .adsd-idi-sug p, html body .adsd-idi-sug button { color: #1f1a17; }
html body .adsd-idi__btn { border-color: #eae4df; }
html body .adsd-idi__btn:hover { background: #fff3ec; border-color: #fddcc9; }
html body .adsd-idi__menu { border-color: #eae4df; }
html body .adsd-idi__menu button:hover, html body .adsd-idi__menu button[aria-current=true] { background: #fff3ec; }
html body .adsd-idi__menu button[aria-current=true]::after { background: #f0642c; }
html body .adsd-idi-movel button { border-color: #eae4df; }
html body .adsd-idi-movel button[aria-current=true] { border-color: #f0642c; background: #fff3ec; color: #9a3412; }
html body .adsd-idi-sug { border-color: #fddcc9; }
html body .adsd-idi-sug button { border-color: #eae4df; }
html body .adsd-idi-sug button:first-child { background: #1f1a17; border-color: #1f1a17; color: #fff; }

/* Carrosséis horizontais: só deslizam na horizontal. Com overflow-x:auto o navegador tornava-os
   também "roláveis" na vertical (alguns px de sombra/hover a mais) e no telemóvel o dedo ficava
   preso neles em vez de fazer scroll à página. */
.adsd-h-montra, .adsd-h-cats, .adsd-h-chips, .adsd-grelha--deslizar, .adsd-mm__prods, .adsd-extras ul, .adsd-rv-temas, .adsd-mc__saltos, .adsd-est__trilho, .adsd-est__salas, .adsd-est__familias {
  overflow-y: hidden !important; overscroll-behavior-x: contain; touch-action: pan-x pan-y; -webkit-overflow-scrolling: touch;
}
.adsd-h-montra { padding-top: 6px !important; padding-bottom: 14px !important; }

/* =========================================================
   Paleta sobria: grafito cálido como base, naranja solo como acento
   ========================================================= */
html body.adsd {
  --vi: #d9531c;            /* naranja tostado (más serio que el del icono) */
  --vi2: #c2461a;
  --vi-esc: #9c3a12;
  --vi-bg: #f7f2ee;         /* fondos: crema neutro, no naranja */
  --vi-bg2: #f1e9e2;
  --vi-ln: #e7ddd4;
  --grad: linear-gradient(135deg, #2e2824 0%, #1f1a17 100%);   /* botones y cabeceras: grafito */
  --g-rosa: linear-gradient(165deg, #f6f1ec 0%, #efe8e1 100%);
  --g-lilas: linear-gradient(165deg, #f7f3ef 0%, #f1ece6 100%);
  --g-pessego: linear-gradient(165deg, #f6f0ea 0%, #eee6de 100%);
  --g-amar: linear-gradient(165deg, #f8f3ea 0%, #f0e8da 100%);
  --tx: #1f1a17; --tx2: #5c554f; --tx3: #8f8780; --ln: #e8e2dc; --bg2: #f5f2ef; --ac: #1f1a17;
}
/* Título del banner: grafito, con una sola palabra en naranja (sin degradado) */
html body.adsd .adsd-h-hero h1 { color: #1f1a17 !important; background: none !important; -webkit-text-fill-color: #1f1a17 !important; }
html body.adsd .adsd-h-hero h1 span { background: none !important; color: #d9531c !important; -webkit-text-fill-color: #d9531c !important; }
.adsd-etiqueta b { background: #1f1a17 !important; }
/* Barra superior neutra */
html body.adsd .adsd-topo { background: #f3eee9; border-bottom-color: #e8e2dc; }
/* Vitrina del banner: marco cálido neutro con un filo naranja, no un bloque naranja */
.adsd-h-hero__prod { background: linear-gradient(160deg, #f4ede6 0%, #e9dfd5 100%) !important; box-shadow: 0 40px 80px -44px rgba(31,26,23,.45), inset 0 0 0 1px rgba(217,83,28,.18) !important; }
.adsd-h-hero__prod::before { background: radial-gradient(60% 45% at 50% 40%, rgba(217,83,28,.10), rgba(217,83,28,0) 70%) !important; }
.adsd-h-hero--v2::before { background: radial-gradient(closest-side, rgba(217,83,28,.08), rgba(217,83,28,0)) !important; }
.adsd-h-hero__sello svg { background: #f6efe9 !important; }
/* Chat y avisos: grafito con detalle naranja */
html body .adsd-cv__lancar { background: #1f1a17 !important; }
/* el título se parte en palabras para animarlo: todas en grafito y solo "certificadas" en naranja */
html body.adsd .adsd-h-hero h1 span { color: #1f1a17 !important; -webkit-text-fill-color: #1f1a17 !important; background: none !important; }
html body.adsd .adsd-h-hero h1 > .adsd-pal:nth-child(3), html body.adsd .adsd-h-hero h1 > .adsd-pal:nth-child(3) span,
html body.adsd .adsd-h-hero h1:not([data-adsd-pal]) > span { color: #d9531c !important; -webkit-text-fill-color: #d9531c !important; }

/* Ícones próprios em dois tons (includes/icones.php): traço na cor do tema, preenchimento suave */
.adsd-ic2 { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: var(--ic-fg, currentColor); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.22em; overflow: visible; }
.adsd-ic2 .d { fill: var(--ic-fg, currentColor); fill-opacity: .2; }
.adsd-ic-tile { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 9px; background: var(--ic-bg, #f1eff7); }
.adsd-ic-tile .adsd-ic2 { width: 18px; height: 18px; }

/* tons por ícone (grafito + naranja tostado) */
.adsd-ic2 { --ic-fg: #1f1a17; }
.ic-escudo, .ic-carrinha, .ic-cadeado, .ic-diamante, .ic-alvo, .ic-telefone, .ic-caixa, .ic-casa, .ic-whatsapp, .ic-ferramenta { --ic-fg: #c2461a; --ic-bg: #f8ebe3; }
.ic-predio, .ic-loja, .ic-notas, .ic-documento, .ic-chave, .ic-regua, .ic-tijolo, .ic-pessoa, .ic-telemovel, .ic-lapis, .ic-devolver, .ic-estrela { --ic-fg: #1f1a17; --ic-bg: #efebe7; }

/* chat: botões com ícone próprio */
.adsd-cv__chips a, .adsd-cv__chips button { display: inline-flex; align-items: center; gap: 7px; }
.adsd-cv__chips .adsd-ic-tile { width: 24px; height: 24px; border-radius: 7px; margin-left: -4px; }
.adsd-cv__chips .adsd-ic-tile .adsd-ic2 { width: 16px; height: 16px; }
/* chat: grafito como base, naranja solo en el icono del botón */
html body .adsd-cv { --g: linear-gradient(135deg, #2e2824 0%, #1f1a17 100%) !important; }
html body .adsd-cv__lancar-ico { background: #d9531c !important; }
/* Botón en la ficha de producto */
.adsd-ec-boton { display: flex; align-items: center; gap: 12px; margin: 14px 0 6px; padding: 12px 14px; border: 1.5px dashed #d8c3b4; border-radius: 16px; background: #fffaf6; color: #1f1a17 !important; text-decoration: none !important; transition: border-color .2s, background .2s; }
.adsd-ec-boton:hover { border-color: #d9531c; background: #fff4ec; }
.adsd-ec-boton .adsd-ic-tile { width: 40px; height: 40px; border-radius: 12px; }
.adsd-ec-boton .adsd-ic-tile .adsd-ic2 { width: 24px; height: 24px; }
.adsd-ec-boton strong { display: block; font-size: 15px; } .adsd-ec-boton small { font-size: 12.5px; color: #5c554f; }
.ic-portatil, .ic-usb { --ic-fg: #1f1a17; --ic-bg: #efebe7; }
.ic-relogio, .ic-camara { --ic-fg: #c2461a; --ic-bg: #f8ebe3; }

/* Estudio de cajas: menú, menú móvil y banner de la home */
.adsd-nav__estudio { display: inline-flex !important; align-items: center; gap: 6px; color: #c2461a !important; font-weight: 600 !important; text-decoration: none !important; }
.adsd-nav__estudio .adsd-ic2 { width: 18px; height: 18px; --ic-fg: #c2461a; }
@media (max-width: 1359px) { .adsd-nav__item--estudio { display: none !important; } }
.adsd-mm__estudio { display: flex; align-items: center; gap: 12px; margin: 4px 0 14px; padding: 12px; border-radius: 16px; background: #1f1a17; color: #fff !important; text-decoration: none !important; }
.adsd-mm__estudio .adsd-ic-tile { width: 40px; height: 40px; border-radius: 12px; background: #fff; }
.adsd-mm__estudio .adsd-ic-tile .adsd-ic2 { width: 24px; height: 24px; }
.adsd-mm__estudio strong { display: block; font-size: 15px; } .adsd-mm__estudio small { font-size: 12.5px; color: #cfc6be; }
.adsd-mm__estudio > svg { margin-left: auto; width: 18px; height: 18px; stroke: #fff; }
.adsd-h-estudio-cf { display: grid; gap: 0; margin: clamp(36px, 5vw, 64px) 0 0; border-radius: 28px; overflow: hidden; background: #1f1a17; color: #fff; }
.adsd-h-estudio-cf__txt { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 14px; }
.adsd-h-estudio-cf__selo { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: #d9531c; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.adsd-h-estudio-cf h2 { margin: 0 !important; color: #fff !important; font-size: clamp(26px, 3.2vw, 40px) !important; line-height: 1.08 !important; letter-spacing: -.03em !important; max-width: 16ch; }
.adsd-h-estudio-cf ul { list-style: none; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 8px; }
.adsd-h-estudio-cf li { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 15px; color: #e9e2db; list-style: none; }
.adsd-h-estudio-cf li::before { display: none !important; }
.adsd-h-estudio-cf li .adsd-ic2 { width: 22px; height: 22px; --ic-fg: #ff9a6a; }
.adsd-h-estudio-cf__cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 22px; border-radius: 14px; background: #fff; color: #1f1a17 !important; font-weight: 700; text-decoration: none !important; transition: transform .2s; }
.adsd-h-estudio-cf__cta:hover { transform: translateY(-2px); }
.adsd-h-estudio-cf__cta svg { width: 18px; height: 18px; }
.adsd-h-estudio-cf__vis { display: block; min-height: 240px; }
.adsd-h-estudio-cf__vis svg { display: block; width: 100%; height: 100%; }
@media (min-width: 900px) { .adsd-h-estudio-cf { grid-template-columns: 1fr 1fr; } }


/* Aviso "añadido al carrito": botón compacto y centrado */
html body .woocommerce-notices-wrapper .woocommerce-message, html body .woocommerce-message { display: flex !important; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; }
html body .woocommerce-message .button, html body .woocommerce-message a.button.wc-forward { order: 2; display: inline-flex !important; align-items: center; justify-content: center; height: auto !important; min-height: 40px; margin: 0 !important; padding: 9px 16px !important; border-radius: 999px !important; background: #d9531c !important; color: #fff !important; font-size: 14px !important; line-height: 1.2 !important; text-decoration: none !important; float: none !important; }

/* Ficha: título más discreto (los nombres de las cajas son largos) */
html body.adsd-ficha3.single-product .summary .product_title { font-size: clamp(22px, 1.9vw, 30px) !important; line-height: 1.18 !important; letter-spacing: -0.02em !important; }
@media (max-width: 999px) { html body.adsd-ficha3.single-product .summary .product_title { font-size: 21px !important; line-height: 1.22 !important; } }
/* Ficha: el Estudio justo debajo del precio, compacto y alineado con el resto */
html body.single-product .summary p.price { line-height: 1.15 !important; margin-bottom: 12px !important; padding-bottom: 0 !important; }
html body.single-product .summary p.price * { line-height: 1.15 !important; }
html body .adsd-ec-boton { display: inline-flex !important; width: auto !important; max-width: 100%; align-items: center; gap: 10px; margin: 2px 0 18px !important; padding: 8px 14px 8px 8px !important; border: 1px solid #f0c9b5 !important; border-radius: 14px !important; background: linear-gradient(135deg, #fff7f2 0%, #fdefe6 100%) !important; box-shadow: none !important; transition: border-color .2s, transform .2s; }
html body .adsd-ec-boton:hover { border-color: #d9531c !important; transform: translateY(-1px); }
html body .adsd-ec-boton .adsd-ic-tile { width: 34px !important; height: 34px !important; border-radius: 10px !important; background: #fff !important; }
html body .adsd-ec-boton .adsd-ic-tile .adsd-ic2 { width: 20px !important; height: 20px !important; }
html body .adsd-ec-boton strong { font-size: 14px !important; line-height: 1.25; }
html body .adsd-ec-boton small { display: block; font-size: 12px !important; line-height: 1.3; color: #5c554f; }
html body .adsd-ec-boton::after { content: "›"; margin-left: 6px; font-size: 22px; line-height: 1; color: #d9531c; }
