/*
Theme Name: Tienda Ecuador
Description: Tienda de regalos con juguetes y tecnología, preparada para WooCommerce.
Version: 0.2.0
Requires PHP: 8.1
Author: Proyecto Tienda Ecuador
License: GPL-2.0-or-later
Text Domain: tienda-ecuador
*/
@font-face{font-family:Outfit;src:url('assets/outfit-variable.ttf') format('truetype');font-weight:100 900;font-style:normal;font-display:swap}
/* Design: variance 7 / motion 5 / density 5. Layers: header 20, search 30, skip 40.
   Radius system: panels 24px, images 18px, fields 12px, action buttons full-pill. */
:root{color-scheme:light;--bg:#fcfcfd;--surface:#f1f2f5;--panel:#f8edef;--ink:#24242c;--muted:#62626d;--accent:#c3394b;--accent-hover:#a92a3a;--accent-soft:#f8e4e8;--line:#dedee5;--on-accent:#fff8fa;--width:1280px;--radius:24px;--header-bg:rgba(252,252,253,.96)}
:root[data-theme=dark]{color-scheme:dark;--bg:#19191f;--surface:#25252d;--panel:#2e242a;--ink:#f5f4f7;--muted:#c2bec8;--accent:#f38c9c;--accent-hover:#ffadba;--accent-soft:#392730;--line:#42414c;--on-accent:#251c22;--header-bg:rgba(25,25,31,.96)}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]){color-scheme:dark;--bg:#19191f;--surface:#25252d;--panel:#2e242a;--ink:#f5f4f7;--muted:#c2bec8;--accent:#f38c9c;--accent-hover:#ffadba;--accent-soft:#392730;--line:#42414c;--on-accent:#251c22;--header-bg:rgba(25,25,31,.96)}}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:var(--bg);color:var(--ink);font-family:Outfit,system-ui,sans-serif;line-height:1.6;-webkit-font-smoothing:antialiased}a{color:inherit;text-underline-offset:4px}button,input,textarea,select{font:inherit}button,a,input,select,textarea,summary{touch-action:manipulation}img{display:block;max-width:100%;height:auto}svg{width:22px;height:22px;stroke-width:1.7;flex-shrink:0}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}[hidden]{display:none!important}.wrap{width:min(calc(100% - 64px),var(--width));margin-inline:auto}.skip-link{position:fixed;top:-100px;left:16px;z-index:40;padding:12px 20px;background:var(--accent);color:var(--on-accent);border-radius:12px}.skip-link:focus{top:12px}:focus-visible{outline:3px solid var(--accent);outline-offset:5px}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.preview-notice{padding:8px 16px;text-align:center;font-size:12px;line-height:1.4;letter-spacing:.02em;background:var(--accent-soft);color:var(--ink);border-bottom:1px solid var(--line)}
.site-header{position:sticky;top:0;z-index:20;background:var(--header-bg);border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}.header-row{height:80px;display:flex;align-items:center;gap:36px}.brand{display:inline-flex;gap:11px;align-items:center;text-decoration:none;font-size:22px;letter-spacing:-.75px;font-weight:650;white-space:nowrap}.brand-symbol{display:grid;place-items:center;width:38px;height:38px;background:var(--accent);color:var(--on-accent);border-radius:12px;transform:rotate(-7deg)}.brand-symbol svg{width:24px;height:24px}.custom-logo{max-width:220px;max-height:48px;width:auto}.site-nav{display:flex;align-items:center;gap:30px;margin-left:auto}.site-nav a{font-size:14px;font-weight:450;text-decoration:none;white-space:nowrap}.site-nav a:hover{color:var(--accent)}.cart-link{display:flex;align-items:center;gap:8px;padding-left:22px;border-left:1px solid var(--line)}.header-actions{display:flex;gap:7px}.icon-button{display:inline-grid;place-items:center;width:40px;height:40px;padding:8px;border:0;border-radius:50%;background:transparent;color:var(--ink);transition:background .2s,transform .2s}.icon-button:hover{background:var(--accent-soft)}.icon-button:active{transform:scale(.94)}.menu-toggle{display:none}.search-panel{padding:20px 0 26px}.search-form{display:flex;gap:12px;max-width:850px;margin:auto}.search-form input{min-width:0;flex:1;border:1px solid var(--line);border-radius:12px;padding:12px 18px;background:var(--surface);color:var(--ink)}.search-form input::placeholder{color:var(--muted);opacity:1}
.button,button.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:52px;padding:14px 26px;border-radius:999px;border:1px solid transparent;background:var(--accent);color:var(--on-accent);font-weight:550;font-size:15px;line-height:1.4;text-decoration:none;white-space:nowrap;transition:background .2s,transform .2s}.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover{background:var(--accent-hover);color:var(--on-accent);transform:translateY(-2px)}.button:active{transform:translateY(0) scale(.98)}.button.secondary{background:transparent;border-color:var(--line);color:var(--ink)}
h1,h2,h3,p,figure{margin:0}h1,h2,h3{line-height:1.08;font-weight:550;letter-spacing:-1.2px}h2{font-size:clamp(30px,3vw,42px)}h3{font-size:23px}p{color:var(--muted)}.hero{display:grid;grid-template-columns:1fr 1.08fr;gap:24px;align-items:center;margin-top:28px;padding:36px 36px 26px 52px;background:var(--panel);border-radius:var(--radius);min-height:535px;overflow:hidden}.hero-copy{padding:22px 0 42px}.eyebrow{display:flex;gap:14px;align-items:center;font-size:11px;letter-spacing:1.8px;text-transform:uppercase;font-weight:550;color:var(--accent);margin-bottom:25px}.eyebrow span{color:var(--muted)}h1{font-size:clamp(44px,4.9vw,70px);letter-spacing:-2.7px;line-height:1.05;margin-bottom:24px;font-weight:600}h1 span{color:var(--accent)}.hero-copy>p:not(.eyebrow){max-width:35ch;font-size:17px;line-height:1.65;margin-bottom:30px}.hero-visual{min-width:0}.hero-image{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:18px}.hero-visual figcaption{font-size:11px;text-align:center;line-height:1.4;margin-top:12px;color:var(--muted)}.section-heading{margin-bottom:30px}.section-heading p{font-size:16px;line-height:1.5;margin-top:12px}.categories-section{padding-block:64px 42px}.category-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px}.category-tile{text-decoration:none;min-width:0;display:block}.category-photo{position:relative;overflow:hidden;border-radius:18px;background:var(--surface);aspect-ratio:1.6}.category-photo img{position:absolute;top:50%;left:0;width:200%;max-width:none;height:auto;transform:translateY(-50%);transition:transform .5s cubic-bezier(.2,.7,.2,1)}.category-tile:nth-child(2) .category-photo img{left:-100%}.category-tile:hover .category-photo img{transform:translateY(-50%) scale(1.025)}.category-copy{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 3px 0}.category-copy h3{font-size:30px;line-height:1.12;letter-spacing:-.9px}.category-copy p{font-size:14px;margin-top:12px}.circle-arrow{display:grid;place-items:center;width:48px;height:48px;border:1px solid var(--line);border-radius:50%;transition:background .2s,color .2s,transform .2s}.category-tile:hover .circle-arrow{background:var(--accent);color:var(--on-accent);border-color:transparent;transform:rotate(5deg)}.image-note{font-size:11px;line-height:1.5;margin-top:26px}.catalog-section{padding-block:32px 72px}.catalog-empty{padding:34px 0;display:flex;align-items:center;gap:26px;border-block:1px solid var(--line)}.empty-icon{display:grid;place-items:center;background:var(--accent-soft);border-radius:18px;color:var(--accent);width:86px;height:86px;flex-shrink:0}.empty-icon svg{width:37px;height:37px}.catalog-empty h3{font-size:24px;letter-spacing:-.6px;margin-bottom:10px}.catalog-empty p{font-size:15px}.availability-note{display:inline-block;margin-top:15px;font-size:12px;font-weight:500;color:var(--accent)}
.buying-section{background:var(--surface);padding-block:64px}.buying-layout{display:grid;grid-template-columns:1fr 1.1fr;gap:80px}.buying-heading h2{line-height:1.15;max-width:17ch}.buying-heading p{max-width:30ch;font-size:16px;margin-top:20px}.buying-heading>svg{color:var(--accent);width:64px;height:64px;margin-top:30px;transform:rotate(-9deg);stroke-width:1.1}.steps{margin:0;padding:0;list-style:none;display:grid;gap:26px}.steps li{display:grid;grid-template-columns:36px 1fr;gap:22px}.steps li+li{border-top:1px solid var(--line);padding-top:26px}.step-number{font-size:13px;color:var(--accent);font-variant-numeric:tabular-nums;padding-top:3px}.steps h3{font-size:22px;letter-spacing:-.5px;margin-bottom:10px}.steps p{font-size:15px;max-width:43ch}.questions-section{padding-block:72px}.questions{max-width:100%}.questions details{border-bottom:1px solid var(--line);padding:22px 0}.questions summary{display:flex;justify-content:space-between;align-items:center;gap:20px;cursor:pointer;list-style:none;font-size:18px;font-weight:450}.questions summary::-webkit-details-marker{display:none}.questions summary svg{color:var(--accent);transition:transform .2s}.questions details[open] summary svg{transform:rotate(45deg)}.questions details p{max-width:70ch;margin-top:16px;font-size:15px}
.site-footer{background:var(--surface);padding:44px 0 24px}.footer-main{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding-bottom:38px}.footer-main>p{font-size:24px;line-height:1.2;letter-spacing:-.4px;color:var(--ink)}.footer-row{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid var(--line);padding-top:22px;font-size:12px;color:var(--muted)}.footer-links,.footer-links ul{display:flex;flex-wrap:wrap;gap:20px;list-style:none;padding:0;margin:0}.footer-links a{text-decoration:none}.footer-links a:hover{text-decoration:underline}
.content-area{padding-block:48px;min-height:50dvh}.content-area h1{font-size:clamp(32px,4vw,52px);max-width:100%;letter-spacing:-1.4px}.entry-content{max-width:800px}.entry-content p{margin-bottom:18px}.entry-content h2,.entry-content h3{margin-block:30px 18px}.woocommerce-result-count,.woocommerce-ordering{color:var(--muted)}.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px;padding:0;list-style:none}.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{width:auto!important;float:none;margin:0!important;min-width:0}.woocommerce ul.products li.product a img{aspect-ratio:1;object-fit:contain;width:100%;background:var(--surface);border-radius:18px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:20px;letter-spacing:-.5px;padding:18px 0 10px}.woocommerce ul.products li.product .price{color:var(--accent);font-size:18px;font-weight:550}.woocommerce a.button{font-size:13px;min-height:44px;padding:10px 18px;white-space:normal;text-align:center}.woocommerce ul.products li.product a{text-decoration:none}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce select,.woocommerce input.input-text{padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);max-width:100%}.woocommerce form .form-row label{color:var(--ink)}.woocommerce div.product .product_title{font-size:42px}.woocommerce div.product p.price{color:var(--accent)}.woocommerce-breadcrumb{color:var(--muted)!important;margin-bottom:24px!important;font-size:13px!important}.woocommerce-breadcrumb a{color:inherit!important}.woocommerce-error,.woocommerce-info,.woocommerce-message{background:var(--surface);color:var(--ink);border-color:var(--accent);border-radius:12px}.woocommerce-info::before,.woocommerce-message::before{color:var(--accent)}.woocommerce table.shop_table{border-color:var(--line);border-radius:12px}.woocommerce .woocommerce-ordering{max-width:100%}.woocommerce .woocommerce-ordering select{width:100%;max-width:100%}.woocommerce .woocommerce-notices-wrapper:empty{display:none}
@media(prefers-reduced-motion:no-preference){.hero-copy{animation:hero-enter .65s cubic-bezier(.2,.7,.2,1) both}.hero-visual{animation:hero-enter .8s .08s cubic-bezier(.2,.7,.2,1) both}.will-reveal{opacity:0;transform:translateY(18px);transition:opacity .65s,transform .65s cubic-bezier(.2,.7,.2,1)}.will-reveal.is-visible{opacity:1;transform:none}.category-tile:nth-child(2){transition-delay:.08s}@keyframes hero-enter{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}}
@media(min-width:1600px){.hero{min-height:560px}h1{font-size:72px}}
@media(max-width:1100px){.header-row{gap:24px}.site-nav{gap:22px}.hero{padding:30px 28px 22px 36px;min-height:480px;gap:20px}h1{font-size:clamp(42px,5.1vw,57px);letter-spacing:-2px}.hero-copy>p:not(.eyebrow){font-size:16px}.hero-visual figcaption{font-size:10px}.buying-layout{gap:50px}.category-copy h3{font-size:27px}.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){html{scroll-padding-top:88px}.wrap{width:calc(100% - 32px)}.header-row{height:68px;gap:8px;position:relative}.brand{font-size:18px;letter-spacing:-.5px;gap:9px}.brand-symbol{width:32px;height:32px;border-radius:10px}.brand-symbol svg{width:21px;height:21px}.header-actions{gap:1px;margin-left:auto}.icon-button{width:36px;height:36px;padding:7px}.menu-toggle{display:inline-grid}.site-nav{display:flex;position:absolute;top:68px;left:-16px;right:-16px;align-items:stretch;flex-direction:column;gap:0;background:var(--bg);padding:12px 24px 20px;border-bottom:1px solid var(--line);margin:0}.js .site-nav{display:none}.js .site-nav.is-open{display:flex}.site-nav a{padding:12px 0;font-size:16px}.cart-link{border-left:0}.search-panel{padding:12px 0 18px}.search-form{gap:8px}.search-form input{padding:12px;font-size:14px;width:100%}.search-form .button{padding:12px 18px;gap:8px;min-height:46px}.search-form .button svg{display:none}.hero{grid-template-columns:1fr;margin-top:16px;padding:28px 24px 18px;gap:22px;border-radius:20px;min-height:0}.hero-copy{padding:0}.eyebrow{font-size:10px;letter-spacing:1.5px;gap:10px;margin-bottom:19px}h1{font-size:clamp(37px,8.6vw,62px);letter-spacing:-1.6px;line-height:1.05;margin-bottom:18px}.hero-copy>p:not(.eyebrow){font-size:15px;line-height:1.55;max-width:33ch;margin-bottom:23px}.hero-copy .button{min-height:48px;font-size:14px;padding:13px 21px;gap:20px}.hero-image{aspect-ratio:1.4;object-fit:cover;border-radius:14px}.hero-visual figcaption{max-width:33ch;margin:10px auto 0;line-height:1.5;font-size:10px}.categories-section{padding-block:42px 26px}h2{font-size:30px;letter-spacing:-1px}.section-heading{margin-bottom:24px}.section-heading p{font-size:14px;margin-top:10px}.category-grid{grid-template-columns:1fr;gap:32px}.category-photo{aspect-ratio:1.4}.category-copy{padding-top:18px}.category-copy h3{font-size:29px}.category-copy p{margin-top:10px;font-size:13px}.circle-arrow{width:44px;height:44px}.image-note{font-size:10px;margin-top:22px}.catalog-section{padding-block:22px 44px}.catalog-empty{align-items:flex-start;gap:16px;padding:26px 0}.empty-icon{width:48px;height:48px;border-radius:12px}.empty-icon svg{width:25px;height:25px}.catalog-empty h3{font-size:21px;line-height:1.2;margin-bottom:10px}.catalog-empty p{font-size:14px}.availability-note{font-size:11px}.buying-section{padding-block:40px}.buying-layout{grid-template-columns:1fr;gap:30px}.buying-heading h2{max-width:100%}.buying-heading p{font-size:14px;max-width:100%;margin-top:15px}.buying-heading>svg{display:none}.steps{gap:22px}.steps li{gap:16px;grid-template-columns:28px 1fr}.steps li+li{padding-top:22px}.steps h3{font-size:21px}.steps p{font-size:14px}.questions-section{padding-block:44px}.questions summary{font-size:16px;gap:16px;line-height:1.45}.questions details{padding:19px 0}.questions details p{font-size:14px}.site-footer{padding:32px 0 22px}.footer-main{flex-direction:column;gap:22px;padding-bottom:26px}.footer-main>p{font-size:24px}.footer-row{flex-direction:column;align-items:flex-start;gap:15px;padding-top:20px}.footer-links,.footer-links ul{gap:15px}.content-area{padding-block:32px}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:17px}.woocommerce div.product .product_title{font-size:32px}.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{float:none;margin-bottom:18px}.woocommerce ul.products li.product .price{font-size:16px}}
@media(max-width:359px){.brand{font-size:16px;gap:7px}.brand-symbol{width:28px;height:28px}.icon-button{width:32px;height:34px;padding:6px}.hero{padding:25px 19px 16px}h1{font-size:34px;letter-spacing:-1.5px}.hero-copy>p:not(.eyebrow){font-size:14px}}
@media(prefers-reduced-transparency:reduce){.site-header{background:var(--bg);backdrop-filter:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.will-reveal{opacity:1!important;transform:none!important}}

/* Three catalog departments: technology, toys and Christmas. */
.category-tile--christmas{grid-column:1/-1;display:grid;grid-template-columns:1fr 1.1fr;align-items:center;gap:36px;padding:24px 24px 24px 42px;background:var(--panel);border-radius:var(--radius)}
.category-tile--christmas .category-photo{order:2;aspect-ratio:2}
.category-tile.category-tile--christmas .category-photo img{width:100%;height:100%;object-fit:cover;object-position:center 55%}
.category-tile--christmas .category-copy{order:1;padding:0;gap:24px}
.category-tile--christmas .category-copy h3{font-size:clamp(30px,3.1vw,44px)}
.category-tile--christmas .season-label{font-size:13px;font-weight:550;color:var(--accent);margin:0 0 12px}
.catalog-group{margin-top:38px}.catalog-group+.catalog-group{padding-top:36px;border-top:1px solid var(--line)}
.catalog-group-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:26px}
.catalog-group-heading h3{font-size:27px}.catalog-group-heading>a{display:inline-flex;gap:12px;align-items:center;white-space:nowrap;text-decoration:none;color:var(--accent);font-size:14px;font-weight:500}
@media(max-width:767px){.category-tile--christmas{grid-template-columns:1fr;gap:20px;padding:20px}.category-tile--christmas .category-photo{order:0;aspect-ratio:1.8}.category-tile--christmas .category-copy{order:1}.category-tile--christmas .category-copy h3{font-size:30px}.catalog-group-heading{align-items:flex-start;gap:18px}.catalog-group-heading h3{font-size:24px}.catalog-group-heading>a{font-size:13px;gap:6px}.catalog-group{margin-top:30px}}