/*
Theme Name: Editorial Emociones
Description: Tema editorial infantil personalizado para Dónde viven las emociones.
Author: Art Made to Print
Template: storefront
Version: 2.0.0
Text Domain: editorial-emociones
*/

:root {
  --ink: #35414b;
  --ink-soft: #66717a;
  --cream: #fffaf3;
  --paper: #fff;
  --sky: #dceff0;
  --lavender: #eee8f5;
  --yellow: #f7df9d;
  --coral: #e88973;
  --coral-dark: #b95e51;
  --line: #eadfd3;
  --shadow: 0 18px 50px rgba(67, 55, 48, .09);
  --radius: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--cream); color: var(--ink); font-family: "DM Sans", "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; }
a { color: var(--coral-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #6b9da5; outline-offset: 3px; }
.container { margin: 0 auto; max-width: var(--container); padding-left: 28px; padding-right: 28px; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute !important; width: 1px; }

.editorial-header { background: rgba(255,250,243,.96); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.header-inner { align-items: center; display: flex; gap: 24px; min-height: 84px; }
.brand { align-items: center; display: inline-flex; flex: 0 0 auto; text-decoration: none; }
.brand-logo { display: block; height: auto; max-height: 52px; width: min(390px, 42vw); }
.primary-nav { margin-left: auto; }
.primary-nav .menu, .footer-menu { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.primary-nav a { color: var(--ink); font-size: .9rem; font-weight: 600; text-decoration: none; }
.primary-nav a:hover { color: var(--coral-dark); }
.header-tools { align-items: center; display: flex; gap: 12px; }
.header-search { align-items: center; border: 1px solid var(--line); border-radius: 999px; display: flex; padding: 0 8px 0 14px; }
.header-search input { background: transparent; border: 0; color: var(--ink); font: inherit; max-width: 135px; outline: 0; padding: 7px 0; }
.header-search button { background: transparent !important; border: 0 !important; color: var(--ink); cursor: pointer; font-size: 1.3rem; padding: 0 4px; }
.tool-link { align-items: center; color: var(--ink); display: inline-flex; font-size: 1.25rem; gap: 4px; position: relative; text-decoration: none; }
.tool-label { font-size: .8rem; font-weight: 600; }
.cart-count { align-items: center; background: var(--coral); border-radius: 50%; color: #fff; display: inline-flex; font-size: .68rem; height: 19px; justify-content: center; min-width: 19px; padding: 0 4px; }
.menu-toggle { background: transparent; border: 0; display: none; padding: 8px; }
.menu-toggle span:not(.screen-reader-text) { background: var(--ink); display: block; height: 2px; margin: 4px; width: 23px; }
.site-content { overflow: hidden; }

.home-hero { background: linear-gradient(120deg, var(--sky), var(--lavender)); border-radius: 0 0 54px 54px; }
.home-hero__grid { align-items: center; display: grid; gap: 60px; grid-template-columns: 1fr .85fr; min-height: 560px; }
.eyebrow { color: var(--coral-dark); font-size: .75rem; font-weight: 700; letter-spacing: .16em; margin: 0 0 10px; text-transform: uppercase; }
h1, h2, h3 { color: var(--ink); font-family: Georgia, serif; font-weight: 700; line-height: 1.1; }
.home-hero h1 { font-size: clamp(3rem, 6vw, 5.7rem); letter-spacing: -.045em; margin: 0 0 22px; max-width: 700px; }
.lead { color: var(--ink-soft); font-size: 1.18rem; max-width: 560px; }
.hero-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; }
.button, .button--primary, button, input[type="submit"], .single_add_to_cart_button { background: var(--coral) !important; border: 0 !important; border-radius: 999px !important; color: #fff !important; cursor: pointer; font-weight: 700; padding: 12px 22px; text-decoration: none; }
.button:hover, button:hover, input[type="submit"]:hover { background: var(--coral-dark) !important; }
.text-link { color: var(--coral-dark); font-weight: 700; text-decoration: none; }
.text-link span { display: inline-block; margin-left: 4px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.home-hero__illustration { align-items: center; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.55); border-radius: 50% 46% 52% 43%; display: flex; height: 390px; justify-content: center; justify-self: center; max-width: 390px; position: relative; transform: rotate(4deg); width: 100%; }
.illustration-label { bottom: 20px; color: var(--ink-soft); font-size: .68rem; left: 0; letter-spacing: .08em; position: absolute; right: 0; text-align: center; text-transform: uppercase; }
.storybook-sun { background: var(--yellow); border-radius: 50%; box-shadow: 23px 24px 0 #f1c8b7; height: 190px; position: relative; width: 190px; }
.storybook-sun:after, .storybook-sun:before { background: var(--ink); border-radius: 50%; content: ""; height: 10px; position: absolute; top: 76px; width: 10px; }
.storybook-sun:before { left: 57px; }.storybook-sun:after { left: 123px; }
.storybook-star { color: var(--coral); font-family: Georgia, serif; font-size: 2rem; position: absolute; }
.star-one { left: 18%; top: 25%; }.star-two { right: 16%; top: 33%; }.star-three { bottom: 27%; left: 22%; }
.section-block { padding-bottom: 92px; padding-top: 92px; }
.section-intro { margin-bottom: 32px; max-width: 670px; }.section-intro h2 { font-size: clamp(2rem,4vw,3.2rem); margin: 0 0 10px; }.section-intro p:last-child { color: var(--ink-soft); margin: 0; }
.home-products .products { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); margin: 0; }
.home-products .products:before, .home-products .products:after { display: none; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); float: none; margin: 0 !important; padding: 18px; position: relative; width: auto !important; }
.woocommerce ul.products li.product a img { border-radius: 16px; margin-bottom: 18px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: Georgia, serif; font-size: 1.45rem; line-height: 1.2; padding: 0; }
.woocommerce ul.products li.product .price { color: var(--coral-dark); font-size: 1.15rem; font-weight: 700; }
.woocommerce ul.products li.product .button { margin-top: 8px; }
.product-format { background: var(--yellow); border-radius: 999px; color: var(--ink); font-size: .7rem; font-weight: 700; left: 28px; padding: 5px 11px; position: absolute; text-transform: uppercase; top: 28px; z-index: 2; }
.product-format--digital { background: var(--sky); }
.story-split { align-items: center; display: grid; gap: 80px; grid-template-columns: .9fr 1.1fr; }
.story-split h2 { font-size: clamp(2rem, 4vw, 3.4rem); }.story-split p:not(.eyebrow) { color: var(--ink-soft); max-width: 580px; }
.story-split__art { background: var(--yellow); border-radius: 43% 57% 50% 40%; height: 330px; overflow: hidden; position: relative; transform: rotate(-4deg); }
.art-circle { background: var(--coral); border-radius: 50%; height: 145px; left: 24%; position: absolute; top: 23%; width: 145px; }.art-cloud { background: #fff; border-radius: 999px; height: 42px; position: absolute; width: 125px; }.cloud-one { right: 7%; top: 22%; }.cloud-two { left: 8%; top: 62%; transform: scale(.7); }
.section-tint { background: var(--lavender); }.format-grid { display: grid; gap: 22px; grid-template-columns: repeat(2,1fr); }.format-card { border-radius: var(--radius); color: var(--ink); min-height: 245px; padding: 30px; text-decoration: none; }.format-card--paper { background: var(--yellow); }.format-card--sky { background: var(--sky); }.format-card h3 { font-size: 1.8rem; margin: 50px 0 8px; }.format-card p { color: var(--ink-soft); max-width: 330px; }.format-card__number { font-family: "Patrick Hand", cursive; font-size: 1.5rem; }
.launch-card { align-items: center; background: var(--coral); border-radius: var(--radius); color: #fff; display: flex; justify-content: space-between; margin-bottom: 92px; padding-bottom: 48px; padding-top: 48px; }.launch-card h2, .launch-card p, .launch-card .eyebrow { color: #fff; }.launch-card h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); margin: 0 0 10px; }.launch-card p { margin: 0; opacity: .9; }.launch-mark { color: #fff; font-family: "Patrick Hand", cursive; font-size: 6rem; line-height: 1; opacity: .4; }
.faq { max-width: 900px; }.faq-list { border-top: 1px solid var(--line); }.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }.faq summary { cursor: pointer; font-family: Georgia, serif; font-size: 1.15rem; font-weight: 700; list-style-position: outside; }.faq details p { color: var(--ink-soft); margin: 12px 0 0 24px; }

.editorial-footer { background: #36434c; color: #f8f2ea; padding: 60px 0 20px; }.footer-grid { display: grid; gap: 50px; grid-template-columns: 1.4fr .8fr 1fr; }.brand--footer .brand-logo { max-height: 58px; width: min(410px, 100%); }.footer-grid h2 { color: #fff; font-family: "Patrick Hand", cursive; font-size: 1.35rem; font-weight: 400; }.footer-grid p { color: #d7dddf; }.footer-menu { flex-direction: column; gap: 6px; }.footer-menu a, .footer-grid a { color: #f8d3c7; text-decoration: none; }.footer-placeholder { font-size: .8rem; font-style: italic; }.footer-note { margin-top: 18px; }.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); color: #c3ced1; display: flex; font-size: .78rem; justify-content: space-between; margin-top: 45px; padding-top: 18px; }
.editorial-product-facts { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); margin: 22px 0; padding: 10px 0; }.editorial-product-facts p { align-items: baseline; display: flex; gap: 12px; margin: 8px 0; }.editorial-product-facts strong { min-width: 130px; }.editorial-product-facts span { color: var(--ink-soft); }
.woocommerce div.product div.images img { border-radius: var(--radius); }.woocommerce div.product .product_title { font-size: clamp(2rem,4vw,3.4rem); }.woocommerce-message, .woocommerce-info { border-top-color: var(--coral); }.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 11px; }.woocommerce-cart .site-main, .woocommerce-checkout .site-main { padding-top: 48px; padding-bottom: 80px; }

@media (max-width: 980px) { .primary-nav { order: 4; width: 100%; }.header-inner { flex-wrap: wrap; }.header-tools { margin-left: auto; }.primary-nav .menu { justify-content: center; }.home-hero__grid { gap: 30px; }.story-split { gap: 40px; } }
@media (max-width: 720px) {
  .container { padding-left: 20px; padding-right: 20px; }.header-inner { min-height: 72px; }.brand-logo { max-height: 40px; width: min(250px, 62vw); }.menu-toggle { display: block; margin-left: auto; order: 2; }.primary-nav { display: none; order: 5; padding-bottom: 18px; width: 100%; }.primary-nav.is-open { display: block; }.primary-nav .menu { align-items: stretch; flex-direction: column; gap: 0; }.primary-nav li { border-top: 1px solid var(--line); padding: 8px 0; }.header-tools { gap: 8px; order: 3; }.header-search { display: none; }.tool-label { display: none; }.home-hero__grid, .story-split, .footer-grid { grid-template-columns: 1fr; }.home-hero__grid { padding-bottom: 58px; padding-top: 58px; }.home-hero__illustration { height: 285px; max-width: 285px; }.storybook-sun { height: 140px; width: 140px; }.storybook-sun:before { left: 42px; top: 56px; }.storybook-sun:after { left: 91px; top: 56px; }.home-hero h1 { font-size: 3.2rem; }.section-block { padding-bottom: 60px; padding-top: 60px; }.home-products .products, .format-grid { grid-template-columns: 1fr; }.launch-card { align-items: flex-start; margin-bottom: 60px; }.launch-mark { font-size: 4rem; }.footer-bottom { flex-direction: column; gap: 8px; }.footer-grid { gap: 24px; }}
