/*
Theme Name: La Seleccionadora
Theme URI: https://darkorchid-goldfish-189863.hostingersite.com
Author: Cozy and Cool, S.L.U.
Description: Tema a medida para La Seleccionadora. Productos que marcan la diferencia.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: la-seleccionadora
*/

/* ---------- Base ---------- */
body { -webkit-font-smoothing: antialiased; }
a:hover { color: var(--wp--preset--color--rojo-oscuro); }
.ls-wide { max-width: 1248px; margin-left: auto !important; margin-right: auto !important; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
.ls-mano { font-family: var(--wp--preset--font-family--caveat); font-weight: 700; line-height: 1.1; }
.ls-kicker { font-family: var(--wp--preset--font-family--caveat); font-weight: 700; font-size: 1.8rem; color: var(--wp--preset--color--verde); margin: 0 0 4px !important; }
.ls-center { text-align: center; }

/* ---------- Franja superior ---------- */
.ls-strip { background: var(--wp--preset--color--amarillo); font-weight: 700; font-size: 0.95rem; text-align: center; padding: 10px 16px !important; margin: 0 !important; }

/* ---------- Cabecera ---------- */
.ls-header { padding-top: 18px; padding-bottom: 18px; gap: 24px; }
.ls-logo { margin: 0 !important; line-height: 1; }
.ls-logo a { text-decoration: none; color: var(--wp--preset--color--tinta); display: inline-flex; align-items: baseline; gap: 6px; }
.ls-logo .ls-logo-la { font-family: var(--wp--preset--font-family--caveat); font-weight: 700; color: var(--wp--preset--color--rojo); font-size: 1.6rem; }
.ls-logo .ls-logo-nombre { font-family: var(--wp--preset--font-family--young-serif); font-size: 2rem; }
.ls-logo-claim { margin: 2px 0 0 !important; font-size: 0.85rem; font-weight: 700; color: var(--wp--preset--color--marron); }
.ls-header .wp-block-navigation { font-weight: 700; }
.ls-header .wp-block-navigation a { text-decoration: none; }

/* ---------- Hero ---------- */
.ls-hero { padding-top: 40px; padding-bottom: 24px; }
.ls-hero h1 { font-size: clamp(2.6rem, 5.4vw, 5rem); line-height: 1.02; letter-spacing: -0.02em; margin: 0; }
.ls-hero h1 em { font-style: normal; color: var(--wp--preset--color--rojo); }
.ls-hero .ls-sub { font-size: 1.3rem; line-height: 1.55; color: var(--wp--preset--color--marron); }

/* Lista de la compra */
.ls-lista-wrap { position: relative; min-height: 520px; }
.ls-lista { position: absolute; left: 8%; top: 12px; width: min(380px, 80%); padding: 40px 32px 28px 58px; border-radius: 6px; box-shadow: 0 18px 44px rgba(42,30,22,0.18); transform: rotate(-3deg); border-left: 3px solid #E8B4A8;
  background-color: #FFFDF6; background-image: repeating-linear-gradient(180deg, transparent 0 35px, #F0E2CC 35px 36px); }
.ls-lista:before { content: ""; position: absolute; left: 50%; top: -15px; margin-left: -55px; width: 110px; height: 30px; background: rgba(246,197,68,0.8); transform: rotate(2deg); }
.ls-lista span { display: block; font-family: var(--wp--preset--font-family--caveat); font-size: 1.85rem; line-height: 36px; color: #4A3A2E; }
.ls-lista .ls-lista-titulo { font-weight: 700; color: var(--wp--preset--color--tinta); height: 72px; }
.ls-lista .ls-rodeado { position: relative; display: inline-block; color: var(--wp--preset--color--tinta); }
.ls-lista .ls-rodeado:after { content: ""; position: absolute; left: -18px; top: -5px; right: -22px; bottom: -5px; border: 3px solid var(--wp--preset--color--rojo); border-radius: 50%; transform: rotate(-4deg); }
.ls-nota { position: absolute; right: 0; top: 230px; text-align: right; transform: rotate(5deg); }
.ls-nota .ls-mano { font-size: 2.1rem; color: var(--wp--preset--color--rojo); display: block; }
.ls-nota small { font-weight: 700; color: var(--wp--preset--color--marron); font-size: 0.95rem; }

/* ---------- Franja de campaña ---------- */
.ls-campana { background: var(--wp--preset--color--tinta); color: var(--wp--preset--color--crema); border-radius: 28px; padding: 28px 40px !important; align-items: center; gap: 24px; }
.ls-campana p { margin: 0 !important; }
.ls-campana .ls-campana-frase { font-family: var(--wp--preset--font-family--young-serif); font-size: clamp(1.5rem, 2.6vw, 2.4rem); }
.ls-campana .ls-campana-resp { font-family: var(--wp--preset--font-family--caveat); font-weight: 700; color: var(--wp--preset--color--amarillo); font-size: 2rem; white-space: nowrap; }

/* ---------- Tarjetas ---------- */
.ls-card { background: #FFFFFF; border-radius: 28px; padding: 28px !important; }
.ls-paso-num { font-family: var(--wp--preset--font-family--young-serif); font-size: 2.8rem; line-height: 1; color: var(--wp--preset--color--rojo); margin: 0 0 8px !important; }
.ls-card h3 { font-family: var(--wp--preset--font-family--nunito); font-weight: 800; font-size: 1.2rem; margin: 0 0 6px; }
.ls-card p { margin: 0; color: var(--wp--preset--color--marron); }

/* ---------- Puestos con toldo ---------- */
.ls-puesto { background: #FFFFFF; border-radius: 24px; overflow: hidden; padding: 0 !important; transition: transform .15s ease; }
.ls-puesto:hover { transform: translateY(-3px); }
.ls-puesto:before { content: ""; display: block; height: 34px; border-radius: 0 0 50% 50% / 0 0 18px 18px; background-image: repeating-linear-gradient(90deg, var(--toldo, #C8412B) 0 34px, #FFF7EC 34px 68px); }
.ls-puesto-carniceria { --toldo: #C8412B; }
.ls-puesto-charcuteria { --toldo: #6B4A2E; }
.ls-puesto-fruteria { --toldo: #2F6B3A; }
.ls-puesto-despensa { --toldo: #D9A21E; }
.ls-puesto-inner { padding: 20px 22px 26px; }
.ls-puesto h3 { font-family: var(--wp--preset--font-family--young-serif); font-weight: 400; font-size: 1.75rem; margin: 0 0 8px; }
.ls-puesto h3 a { text-decoration: none; color: var(--wp--preset--color--tinta); }
.ls-puesto p { margin: 0 0 12px; color: var(--wp--preset--color--marron); }
.ls-puesto .ls-entrar a { font-weight: 800; color: var(--wp--preset--color--rojo); text-decoration: none; }
.ls-pronto { text-align: center; color: var(--wp--preset--color--marron); }
.ls-pronto span { display: inline-block; padding: 6px 16px; margin: 4px; border-radius: 999px; border: 2px dashed #CDB79A; font-weight: 700; }

/* ---------- Bloques destacados ---------- */
.ls-por-que { background: var(--wp--preset--color--crema); border-left: 5px solid var(--wp--preset--color--rojo); border-radius: 12px; padding: 18px 22px !important; }
.ls-oscuro { background: var(--wp--preset--color--tinta); color: var(--wp--preset--color--crema); border-radius: 36px; padding: 44px !important; }
.ls-oscuro h2 { color: var(--wp--preset--color--crema); }
.ls-oscuro .ls-kicker { color: var(--wp--preset--color--amarillo); }
.ls-pautado { border-radius: 12px; padding: 44px !important; box-shadow: 0 8px 22px rgba(42,30,22,0.10);
  background-color: #FFFDF6; background-image: repeating-linear-gradient(180deg, transparent 0 35px, #F0E2CC 35px 36px); }
.ls-pautado .ls-truco { font-family: var(--wp--preset--font-family--caveat); font-weight: 700; font-size: 1.7rem; line-height: 1.3; color: var(--wp--preset--color--rojo); margin: 0 0 10px; }
.ls-promesa { background: var(--wp--preset--color--verde); color: #FFFFFF; border-radius: 40px; padding: 40px 48px !important; }
.ls-promesa h3 { font-family: var(--wp--preset--font-family--nunito); font-weight: 800; font-size: 1.1rem; margin: 0 0 4px; color: #FFFFFF; }
.ls-promesa p { margin: 0; color: #E2EEDD; }
.ls-newsletter { background: var(--wp--preset--color--amarillo); border-radius: 36px; padding: 40px !important; }
.ls-pasalo { background: var(--wp--preset--color--rojo); color: #FFFFFF; border-radius: 36px; padding: 40px !important; }
.ls-pasalo h2 { color: #FFFFFF; }
.ls-pasalo p { color: #FFE6CF; }
.ls-burbuja { background: #FFFFFF; color: var(--wp--preset--color--tinta) !important; border-radius: 20px 20px 20px 6px; padding: 14px 16px !important; max-width: 440px; }
.ls-pasalo .wp-block-button__link { background: var(--wp--preset--color--crema); color: var(--wp--preset--color--rojo); }
.ls-foto { background-color: #F1DEC3; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.45) 0 3px, transparent 3px 14px); border-radius: 24px; min-height: 220px; display: flex; align-items: flex-end; padding: 16px !important; }
.ls-foto p { font-size: 0.75rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #6B5646; margin: 0; }

/* ---------- Pie ---------- */
.ls-footer { background: var(--wp--preset--color--tinta); color: #E8DCCB; padding-top: 48px; padding-bottom: 48px; }
.ls-footer a { color: #E8DCCB; text-decoration: none; }
.ls-footer a:hover { color: var(--wp--preset--color--amarillo); }
.ls-footer .ls-logo .ls-logo-nombre { color: var(--wp--preset--color--crema); }
.ls-footer .ls-logo .ls-logo-la { color: var(--wp--preset--color--amarillo); }
.ls-footer h4 { color: var(--wp--preset--color--crema); font-family: var(--wp--preset--font-family--nunito); font-weight: 800; font-size: 1rem; margin: 0 0 8px; }
.ls-footer-cierre { font-family: var(--wp--preset--font-family--caveat); font-weight: 700; color: var(--wp--preset--color--amarillo); font-size: 1.6rem; }
.ls-footer-legal { font-size: 0.85rem; opacity: 0.85; }

/* ---------- WooCommerce ---------- */
.wc-block-components-product-badge, .wc-block-grid__product-onsale { background: var(--wp--preset--color--rojo); color: #FFFFFF; border: 0; }
.woocommerce-store-notice, p.demo_store { background: var(--wp--preset--color--tinta); }

/* ---------- Móvil ---------- */
@media (max-width: 781px) {
  .ls-lista-wrap { min-height: 420px; }
  .ls-lista { left: 0; width: 240px; padding: 26px 18px 18px 36px; }
  .ls-lista span { font-size: 1.45rem; line-height: 30px; }
  .ls-lista .ls-lista-titulo { height: 48px; }
  .ls-nota { top: 150px; }
  .ls-nota .ls-mano { font-size: 1.6rem; }
  .ls-campana { padding: 22px !important; border-radius: 22px; }
  .ls-oscuro, .ls-pautado, .ls-promesa, .ls-newsletter, .ls-pasalo { padding: 26px !important; border-radius: 26px; }
}

/* ---------- Secciones ---------- */
.ls-section { margin-top: clamp(64px, 8vw, 104px) !important; }
.ls-section-head { text-align: center; margin-bottom: 32px !important; }
.ls-section-head h2 { margin: 0; }
.ls-section-head p { color: var(--wp--preset--color--marron); margin: 8px 0 0; }
.ls-tag { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 800; margin: 0 6px 6px 0; }
.ls-tag-sel { background: var(--wp--preset--color--tinta); color: var(--wp--preset--color--amarillo); }
.ls-tag-amb { background: #E6EFE2; color: #1E4A28; }
.ls-tag-tem { background: #FFF1D6; color: #6B4A12; }
.ls-ej { background: #FFF1E6; border-radius: 14px; padding: 12px 14px !important; }
.ls-ej strong { color: var(--wp--preset--color--rojo); }
.ls-main-front { padding-bottom: 104px; }

/* ---------- Ajustes 1.0.1 ---------- */
html, body { overflow-x: clip; }
@media (min-width: 782px) { .ls-header { flex-wrap: nowrap !important; } }
.ls-puesto h3 { font-size: clamp(1.35rem, 1.8vw, 1.7rem); overflow-wrap: normal; word-break: normal; hyphens: manual; }
@media (min-width: 782px) { .ls-header .wp-block-navigation__container { flex-wrap: nowrap; gap: 22px; } .ls-header .wp-block-navigation-item { white-space: nowrap; } }
