:root{color-scheme:light;--paper:#fcfaf5;--white:#fffefa;--ink:#263b30;--muted:#687066;--green:#244c3b;--sage:#eaf0e2;--border:#e7e7dc;--rust:#a44e31;--serif:Georgia,'Times New Roman',serif;--shadow:0 8px 32px #263b300c;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:16px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
*{box-sizing:border-box}body{margin:0;background:#eceee5;color:var(--ink);line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button:disabled{opacity:.6;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #b66d36;outline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.2}svg{width:22px;height:22px;display:block;flex-shrink:0}img{max-width:100%}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip-link{position:fixed;z-index:20;top:8px;left:8px;padding:12px;background:var(--green);color:white;transform:translateY(-150%)}.skip-link:focus{transform:none}.app-shell{max-width:560px;min-height:100dvh;background:var(--paper);margin:auto;box-shadow:0 0 80px #223c3012;padding-bottom:calc(92px + env(safe-area-inset-bottom))}.topbar{height:85px;padding:14px 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);background:var(--paper)}.brand{display:flex;align-items:center;gap:10px;font-family:var(--serif);font-size:1.65rem;font-weight:bold;line-height:1.2}.brand-icon{width:42px;height:46px;background:var(--green);border-radius:13px 13px 17px 17px;color:#f3ecd6;display:grid;place-items:center}.brand-icon svg{width:31px;height:31px}.brand-subtitle{display:block;font:500 .52rem/1.8 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:.13em;margin-top:2px}.icon-button{border:1px solid var(--border);background:var(--white);width:44px;height:44px;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;flex-shrink:0;font-size:1.4rem;line-height:1}.font-toggle{font-family:var(--serif);font-size:1rem;letter-spacing:-.07em}.font-toggle[aria-pressed=true]{background:var(--green);color:white;border-color:var(--green)}.welcome{position:relative;margin:20px 18px 0;padding:24px 20px 25px;background:#edf1e5;border:1px solid #e2e9d6;border-radius:5px 5px 30px 5px;overflow:hidden;min-height:218px}.hero-copy{position:relative;z-index:1}.eyebrow{font-size:.58rem;letter-spacing:.15em;font-weight:750;display:block;line-height:1.6}.welcome h1{font-family:var(--serif);font-size:2rem;letter-spacing:-.055em;line-height:1.08;margin:13px 0 12px;font-weight:normal;max-width:80%}.welcome h1 em{font-weight:normal;color:var(--green)}.welcome p{font-size:.74rem;max-width:62%;color:#536550}.hero-link{display:inline-flex;align-items:center;gap:13px;font-size:.72rem;font-weight:650;margin-top:16px;border-bottom:1px solid #a0b29b;padding-bottom:3px;min-height:32px}.hero-art{position:absolute;width:163px;height:155px;right:-9px;bottom:4px;opacity:.95}.search-wrap{padding:20px 20px 14px;position:sticky;top:0;z-index:5;background:var(--paper)}.search-box{display:flex;align-items:center;gap:10px;padding:0 14px;background:var(--white);border:1px solid #d5ddcf;border-radius:13px;box-shadow:0 2px 5px #263b3003;min-height:54px}.search-box>span{color:#63765e}.search-box input{width:100%;min-width:0;border:0;outline:none;background:transparent;color:var(--ink);height:52px;font-size:1rem}.search-box:focus-within{outline:2px solid #718a66;outline-offset:2px}.search-box input:focus-visible{outline:none}.search-box input::-webkit-search-cancel-button{-webkit-appearance:none}.search-box .icon-button{width:30px;height:36px;border:0;background:transparent}.search-box input::placeholder{font-size:.86rem;color:#7c8276}.catalog-body{padding:0 20px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:6px 0 14px}.section-heading h2{font-size:.88rem;font-weight:650}.handwritten{font:italic .74rem var(--serif);color:#798269}.categories{display:flex;gap:9px;overflow-x:auto;scrollbar-width:none;margin:0 -20px;padding:0 20px 17px;overscroll-behavior-x:contain}.categories::-webkit-scrollbar{display:none}.category-button{padding:0;border:0;background:transparent;min-width:64px;flex:0 0 64px;display:flex;flex-direction:column;align-items:center;gap:8px;font-size:.65rem;font-weight:550;line-height:1.15;text-align:center}.category-visual{width:58px;height:58px;display:grid;place-items:center;border:1px solid #e5e7db;background:#f0efdf;border-radius:50%;font-size:1.6rem;transition:background .15s}.category-button[aria-pressed=true] .category-visual{background:var(--green);color:#fff9e8;border-color:var(--green);box-shadow:0 0 0 3px var(--paper),0 0 0 4px #b4c4aa}.category-button[aria-pressed=true]{font-weight:750}.category-button:first-child .category-visual svg{width:23px;height:23px}.results-toolbar{border-top:1px solid var(--border);padding-top:22px;margin-top:3px;display:flex;align-items:center;justify-content:space-between;gap:10px;scroll-margin-top:88px}.results-toolbar .eyebrow{color:#8b7258;margin-bottom:5px}.results-toolbar h1{font:normal 1.5rem var(--serif);letter-spacing:-.04em;display:flex;align-items:center;gap:8px}.results-toolbar #result-count{font:500 .65rem -apple-system,BlinkMacSystemFont,sans-serif;background:#e9eddf;border:1px solid #dfe5d5;border-radius:30px;padding:3px 7px;color:#566b4a;letter-spacing:0}.filter-button{display:flex;align-items:center;gap:6px;justify-content:center;border:1px solid #dce1d4;border-radius:9px;background:var(--white);font-size:.74rem;min-height:44px;padding:9px 11px;white-space:nowrap}.filter-button svg{width:15px;height:15px}.active-filters{display:flex;gap:7px;flex-wrap:wrap}.active-filters:not(:empty){margin-top:12px}.filter-chip{display:flex;align-items:center;gap:7px;min-height:44px;border:1px solid #c8d5be;background:#eaf0e1;border-radius:30px;font-size:.76rem;padding:7px 13px}.catalog-notice{font-size:.69rem;color:var(--muted);margin:11px 0 16px}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.product-card{background:var(--white);border:1px solid var(--border);border-radius:13px;overflow:hidden;position:relative;display:flex;flex-direction:column;min-width:0}.product-visual{height:118px;background:var(--tone,#edf0e0);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.product-visual:before{content:'';position:absolute;border:1px solid #fff9;border-radius:50%;height:98px;width:98px;transform:translate(4px,16px)}.product-visual:after{content:'';position:absolute;border:1px solid #fff6;border-radius:50%;height:78px;width:78px;transform:translate(-9px,0)}.product-emoji{font-size:3.1rem;line-height:1;position:relative;z-index:1;filter:drop-shadow(0 5px 5px #64593312);transition:transform .2s}.save-button{position:absolute;top:8px;right:8px;border:1px solid #fff8;background:#fffdfaeb;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;color:#53674c;z-index:2}.save-button svg{width:19px;height:19px}.save-button[aria-pressed=true]{color:var(--rust)}.save-button[aria-pressed=true] svg{fill:var(--rust)}.card-content{padding:12px 12px 8px;flex:1}.card-category{font-size:.54rem;letter-spacing:.09em;text-transform:uppercase;color:#757b64;font-weight:700;margin-bottom:5px}.card-title{font-size:.95rem;letter-spacing:-.025em;font-weight:680;line-height:1.2}.card-link:after{content:'';position:absolute;inset:0;z-index:1}.card-link:focus-visible{outline:0}.product-card:focus-within{outline:3px solid #b66d36;outline-offset:3px}.card-description{font-size:.71rem;line-height:1.5;color:#697162;margin-top:7px}.card-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:10px}.mini-tag{font-size:.56rem;background:#f3f4ec;color:#596b4d;border-radius:5px;padding:3px 6px}.stock{display:flex;gap:5px;align-items:center;color:#746e5d;font-size:.6rem;margin-top:10px}.stock:before{content:'';width:5px;height:5px;background:#b39869;border-radius:50%;flex-shrink:0}.stock.disponible{color:#345d35}.stock.disponible:before{background:#5a8b50}.stock.agotado{color:#9b4934}.stock.agotado:before{background:#b26044}.card-footer{display:flex;align-items:center;justify-content:space-between;margin:1px 12px 10px;border-top:1px solid #efefe6;padding-top:5px;font-size:.65rem;font-weight:600}.card-footer>span{display:flex;gap:5px;align-items:center}.card-footer svg{width:13px;height:13px}.add-button{border:1px solid #dce3d3;border-radius:8px;background:#f0f4e8;width:44px;height:44px;display:grid;place-items:center;position:relative;z-index:2}.add-button svg{width:17px;height:17px}.add-button.added{background:var(--green);color:white}.end-note{padding:32px 0 24px;display:flex;align-items:center;justify-content:center;gap:11px;text-align:left;color:#657358}.end-note>span{font-size:2rem;color:#90a17f}.end-note p{font:italic .9rem var(--serif)}.end-note small{display:block;font:normal .65rem/1.5 -apple-system,BlinkMacSystemFont,sans-serif;margin-top:4px;color:#7b8271}.bottom-nav{position:fixed;z-index:8;bottom:0;width:100%;max-width:560px;display:grid;grid-template-columns:repeat(4,1fr);background:#fffef9f5;border-top:1px solid #dfe4d6;padding:9px 12px calc(9px + env(safe-area-inset-bottom));backdrop-filter:blur(16px)}.bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:4px;min-height:54px;justify-content:center;font-size:.63rem;color:#7c8376}.bottom-nav a[aria-current=page]{color:var(--green);font-weight:750}.bottom-nav a[aria-current=page]>span:first-child{background:#ebf0e3;box-shadow:0 0 0 5px #ebf0e3;border-radius:7px}.bottom-nav svg{width:21px;height:21px}.nav-icon-wrap{position:relative}.nav-badge{position:absolute;top:-7px;right:-13px;min-width:17px;height:17px;display:grid;place-items:center;background:var(--rust);color:white;border:2px solid var(--white);border-radius:30px;font-size:.48rem;font-weight:bold;padding:0 2px}.empty-state{text-align:center;padding:35px 15px}.empty-state .empty-icon{font-size:2.3rem;margin-bottom:16px;display:block}.empty-state h2{font:normal 1.5rem var(--serif);margin-bottom:10px}.empty-state p{font-size:.85rem;color:var(--muted);max-width:300px;margin:0 auto 18px}.empty-state .button{margin:4px}.button{min-height:48px;border-radius:11px;padding:12px 17px;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:600;font-size:.86rem;line-height:1.4;text-align:center}.button svg{width:19px;height:19px}.button-primary{background:var(--green);color:white}.button-secondary{background:var(--white);border-color:#ced8c6;color:var(--green)}.button-plain{background:transparent;border-color:var(--border);color:var(--muted)}.full-width{width:100%}.page-view{padding:26px 20px}.page-intro{margin-bottom:24px}.page-intro .eyebrow{color:#8b7258;margin-bottom:8px}.page-intro h1{font:normal 2rem var(--serif);letter-spacing:-.045em}.page-intro p{font-size:.85rem;color:var(--muted);margin-top:10px}.notice{padding:15px;border:1px solid #e5dcc8;background:#f7f1e4;border-radius:12px;font-size:.8rem;line-height:1.6}.notice strong{display:block;margin-bottom:3px}.notice.safety{background:#fcf0e5;border-color:#edc7a7;color:#823e24}.notice.pending{background:#f8f3dc;border-color:#e8dbaf;color:#6f5e29}.page-notice{margin-bottom:20px}.detail-top{display:flex;align-items:center;justify-content:space-between;padding:12px 20px}.back-button{display:flex;align-items:center;gap:7px;min-height:44px;border:0;background:transparent;font-size:.8rem;padding:5px 0}.detail-actions{display:flex;gap:8px}.detail-actions .save-button{position:static;border-color:var(--border)}.detail-cover{margin:0 20px;height:180px;border-radius:14px;background:var(--tone);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.detail-cover:before{content:'';border:1px solid #fff9;width:210px;height:210px;position:absolute;border-radius:50%;transform:translate(70px,12px)}.detail-cover .product-emoji{font-size:5.7rem}.detail-cover .cover-caption{position:absolute;bottom:12px;left:15px;font-size:.63rem;color:#555d48;background:#fffc;padding:4px 8px;border-radius:20px}.detail-body{padding:24px 20px}.detail-category{color:#7b8067;margin-bottom:7px}.detail-body h1{font:normal 2rem/1.1 var(--serif);letter-spacing:-.05em}.detail-description{font-size:.88rem;color:#616e5d;line-height:1.7;margin-top:15px}.detail-body .stock{font-size:.76rem}.commercial-info{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:18px 0}.commercial-info strong{font-size:1rem}.commercial-info small{display:block;color:var(--muted);font-size:.7rem}.detail-body>.notice{margin:18px 0}.detail-tabs{display:flex;gap:9px;margin:23px -20px 24px;padding:0 20px 8px;overflow-x:auto;scrollbar-width:none}.detail-tabs a{white-space:nowrap;min-height:44px;padding:10px 14px;border:1px solid var(--border);background:var(--white);border-radius:30px;font-size:.76rem}.detail-section{margin-top:26px;scroll-margin-top:16px}.detail-section h2{font:normal 1.4rem var(--serif);letter-spacing:-.03em;display:flex;align-items:center;gap:10px;margin-bottom:15px}.detail-section h2 svg{color:#6e8259;width:20px;height:20px}.section-intro{font-size:.76rem;color:var(--muted);margin:-6px 0 15px}.type-list{display:grid;gap:9px}.type-card{background:var(--white);border:1px solid var(--border);border-radius:10px;padding:14px}.type-card h3{font-size:.85rem;margin-bottom:5px}.type-card p{font-size:.79rem;line-height:1.6;color:var(--muted)}.use-list{list-style:none;margin:0;padding:0;display:grid;gap:11px}.use-list li{display:flex;align-items:flex-start;gap:12px;font-size:.87rem;line-height:1.65;padding:13px;background:#f0f3e9;border-radius:10px}.use-list li>span{color:#6a8051;flex-shrink:0;line-height:1.8}.steps{counter-reset:step;list-style:none;padding:0;margin:0}.steps li{position:relative;padding:0 0 22px 45px;font-size:.87rem;line-height:1.7;counter-increment:step}.steps li:before{content:counter(step,decimal-leading-zero);position:absolute;left:0;top:0;color:#7c8f65;font:normal 1.1rem var(--serif);background:#edf0e3;border-radius:50%;width:32px;height:32px;display:grid;place-items:center}.advice{background:#f4efdf;padding:18px;border-radius:12px;font-size:.86rem;line-height:1.7}.video-link{font-size:.8rem;display:flex;gap:8px;align-items:center;text-decoration:underline;text-underline-offset:4px;margin-top:15px;min-height:44px}.precautions{border:1px solid #e6d8bd;background:#faf5e9;border-radius:12px;padding:16px;margin-top:25px}.precautions summary{font-size:.88rem;font-weight:650;min-height:30px;cursor:pointer}.precautions ul{margin:12px 0 0;padding-left:19px;font-size:.8rem;line-height:1.7}.precautions li+li{margin-top:9px}.listen-button{margin-top:16px}.related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.list-items{display:grid;gap:12px;margin-bottom:24px}.list-item{display:grid;grid-template-columns:56px 1fr 44px;align-items:start;gap:12px;background:var(--white);border:1px solid var(--border);padding:14px 12px;border-radius:13px}.list-image{height:56px;display:grid;place-items:center;background:var(--tone);border-radius:10px;font-size:1.9rem}.list-item h2{font-size:.94rem;line-height:1.3;margin-bottom:5px}.list-item small{display:block;font-size:.71rem;color:var(--muted)}.remove-button{border:0;background:transparent;min-height:44px;width:44px;display:grid;place-items:center;color:#8b7665}.remove-button svg{width:18px}.list-note-label{font-size:.7rem;margin-top:12px;display:block;color:var(--muted)}.list-note{width:100%;min-width:0;border:1px solid #dfe4d5;border-radius:7px;padding:9px;font-size:1rem;margin-top:5px;background:var(--paper);color:var(--ink)}.list-actions{display:grid;gap:10px;margin-top:20px}.list-summary{font-size:.78rem;color:var(--muted);margin:16px 0}.guide-card{padding:20px;border:1px solid var(--border);border-radius:13px;background:var(--white);margin-bottom:14px}.guide-card .guide-number{display:inline-block;font:italic 1.1rem var(--serif);color:#83916e;margin-bottom:9px}.guide-card h2{font:normal 1.3rem var(--serif);margin-bottom:10px}.guide-card p{font-size:.86rem;color:var(--muted);line-height:1.7}.guide-card p+p{margin-top:10px}.sheet{width:min(100%,560px);max-width:560px;max-height:90dvh;margin:auto auto 0;padding:22px 22px calc(24px + env(safe-area-inset-bottom));border:0;border-radius:24px 24px 0 0;background:var(--paper);color:var(--ink);overscroll-behavior:contain}.sheet::backdrop{background:#172b2370;backdrop-filter:blur(3px)}body:has(dialog[open]){overflow:hidden}.sheet-handle{width:34px;height:4px;border-radius:10px;background:#d3d9c9;margin:-9px auto 18px}.sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}.sheet-heading h2{font:normal 1.7rem var(--serif);letter-spacing:-.04em}.sheet-heading .eyebrow{font-size:.53rem;margin-bottom:5px;color:#7b826b}.sheet fieldset{margin:0;padding:0;border:0}.sheet legend,.field-label{font-size:.85rem;font-weight:650;margin-bottom:12px}.occasion-options{display:flex;flex-wrap:wrap;gap:8px}.radio-chip{position:relative}.radio-chip input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}.radio-chip span{border:1px solid #dce1d1;border-radius:30px;padding:10px 15px;display:block;font-size:.82rem;min-height:44px;background:var(--white)}.radio-chip input:checked+span{border-color:var(--green);background:var(--green);color:white}.radio-chip input:focus-visible+span{outline:3px solid #b66d36;outline-offset:3px}.field-label{display:block;margin-top:24px}.sheet select{width:100%;min-height:48px;border:1px solid #d3dcc9;border-radius:10px;background:var(--white);color:var(--ink);padding:10px;font-size:1rem}.sheet-actions{display:flex;gap:10px;margin-top:28px}.sheet-actions>*{flex:1}.sheet textarea{width:100%;font-size:1rem;border:1px solid var(--border);border-radius:9px;padding:12px;color:var(--ink);background:white;margin-top:15px}.toast{position:fixed;z-index:30;bottom:calc(96px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);max-width:calc(100% - 30px);width:max-content;background:#243c2f;color:#fffbee;padding:12px 18px;font-size:.8rem;line-height:1.4;border-radius:11px;box-shadow:0 4px 18px #1b2a2330;pointer-events:none}.large-text{font-size:20px}.large-text .product-grid,.large-text .related-grid{grid-template-columns:1fr}.large-text .product-visual{height:155px}.large-text .card-title{font-size:1.05rem}.large-text .card-description{font-size:.84rem}.large-text .card-category,.large-text .mini-tag,.large-text .stock{font-size:.7rem}.large-text .hero-art{opacity:.25}.large-text .welcome p{max-width:85%}.large-text .welcome h1{max-width:100%;font-size:1.8rem}.large-text .categories{gap:14px}.large-text .category-button{min-width:77px;flex-basis:77px;font-size:.7rem}.large-text .brand-subtitle{font-size:.46rem}.large-text .handwritten{display:none}.large-text .results-toolbar h1{font-size:1.3rem}.large-text .card-footer{font-size:.8rem}.large-text .detail-cover .product-emoji{font-size:4.5rem}.large-text .list-item{grid-template-columns:44px 1fr 32px;gap:8px}.large-text .list-image{height:44px}.large-text .remove-button{width:32px}.large-text .bottom-nav a{font-size:.56rem}
@media(min-width:440px){.welcome{padding:28px 24px;min-height:240px}.welcome h1{font-size:2.35rem}.hero-art{width:190px;height:180px}.welcome p{font-size:.8rem}.product-visual{height:146px}.product-emoji{font-size:3.7rem}.card-content{padding:14px}.card-title{font-size:1.02rem}.card-description{font-size:.77rem}.card-category{font-size:.58rem}.mini-tag{font-size:.63rem}.stock{font-size:.66rem}.card-footer{margin-left:14px;margin-right:14px}.categories{gap:12px}.category-button{flex-basis:69px}.card-footer{font-size:.72rem}}
@media(max-width:350px){.topbar{padding:14px 16px}.brand{font-size:1.4rem}.brand-subtitle{font-size:.46rem}.welcome{margin-left:14px;margin-right:14px;padding:22px 15px}.welcome h1{font-size:1.8rem}.hero-art{right:-35px;width:145px}.welcome .eyebrow{font-size:.5rem}.welcome p{max-width:65%}.catalog-body{padding:0 14px}.search-wrap{padding-left:14px;padding-right:14px}.product-grid{gap:12px 8px}.card-content{padding:11px 10px 8px}.card-title{font-size:.87rem}.card-footer{margin-left:10px;margin-right:10px}.product-visual{height:107px}.card-footer>span{font-size:.58rem}.section-heading .handwritten{display:none}.filter-button{font-size:.68rem;padding:8px}.results-toolbar h1{font-size:1.25rem}.large-text .results-toolbar{flex-wrap:wrap}.large-text .brand-subtitle{font-size:.4rem}}
@media(hover:hover){.product-card:hover .product-emoji{transform:translateY(-3px) rotate(-4deg)}.button:hover,.filter-button:hover{filter:brightness(.97)}.card-link:hover{text-decoration:underline;text-underline-offset:3px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Tamaños de lectura en pantallas pequeñas, sin depender del zoom. */
.card-description{font-size:.8rem}.card-category{font-size:.625rem}.mini-tag{font-size:.65rem}.stock{font-size:.72rem}.catalog-notice{font-size:.76rem}.bottom-nav a{font-size:.7rem}.category-button{font-size:.7rem}.card-price{margin-top:9px;font-size:.85rem}.card-price small{display:block;font-size:.72rem;color:var(--muted)}.updated-note{font-size:.74rem;color:var(--muted);margin-top:7px}.list-image{min-width:0}.list-item>div{min-width:0}h1,h2,h3,p,a{overflow-wrap:break-word}

/* Fotografía referencial: conserva la imagen completa y la atribución. */
.product-visual{height:auto;aspect-ratio:1.12}
.has-photo{background:#fff}
.has-photo:before,.has-photo:after{display:none}
.product-photo{display:block;width:100%;height:100%;object-fit:contain}
.product-visual .product-photo{padding:8px 8px 25px}
.photo-label{position:absolute;bottom:6px;left:8px;font-size:.53rem;color:#74776b;background:#fffef4e8;border-radius:4px;padding:2px 5px}
.detail-cover.has-photo{height:260px;border:1px solid var(--border)}
.detail-cover .product-photo{padding:12px 12px 40px}
.photo-credit{margin:10px 24px 0;font-size:.66rem;line-height:1.6;color:var(--muted)}
.photo-credit a{text-decoration:underline;text-underline-offset:3px}
.list-image{overflow:hidden}
.list-image .product-emoji{font-size:2rem}
.list-image .product-photo{padding:4px}

/* Favoritos: una sola acción por tarjeta, al alcance del pulgar. */
.bottom-nav{grid-template-columns:repeat(3,1fr)}
.card-footer .save-button{position:relative;top:auto;right:auto;border:1px solid #dce3d3;background:#f0f4e8;border-radius:10px}
.card-footer .save-button[aria-pressed=true],.favorite-action[aria-pressed=true]{background:#f7e6df;border-color:#d9b4a3;color:var(--rust)}
.favorite-action[aria-pressed=true] svg{fill:var(--rust)}

.details-button{position:absolute;top:8px;right:8px;width:44px;height:44px;display:grid;place-items:center;border:1px solid #e5e3d9;background:#fffdf8ed;border-radius:50%;z-index:2;color:var(--green)}
.details-button svg{width:20px;height:20px}

/* Ilustraciones originales de fondo cálido, sin recortar los productos. */
.has-photo{background:#faf9f3}
.product-visual .product-photo{padding:0;object-fit:cover}
.photo-label{background:#faf9f3e8;color:#626b55}
.detail-cover .product-photo{padding:0;object-fit:contain}
.detail-cover.has-photo{background:#faf9f3}

/* Controles de lectura siempre al alcance, con ajuste desplegable desde Aa. */
.topbar{position:sticky;top:0;z-index:12;height:auto;min-height:85px;gap:10px;flex-wrap:wrap}
.brand{min-width:0;flex:1;font-size:1.4rem}
.brand-icon{flex-shrink:0}
.accessibility-actions{display:flex;gap:6px;align-items:center;margin-left:auto}
.font-panel{position:absolute;top:calc(100% + 8px);right:12px;width:min(340px,calc(100vw - 24px));max-height:calc(100dvh - 120px);overflow-y:auto;background:var(--white);border:1px solid #ced8c6;border-radius:18px;padding:18px;box-shadow:0 12px 35px #203d302b}
.font-panel:before{content:'';position:absolute;top:0;right:62px;width:26px;height:3px;background:var(--green);border-radius:0 0 3px 3px}
.font-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:16px}
.font-panel h2{font:normal 1.15rem var(--serif)}
.font-panel label{display:block;font-size:.8rem}
.font-panel output{font-weight:700;display:block;color:var(--green);margin-top:5px;font-size:1rem}
.font-range{display:flex;align-items:center;gap:12px;margin:12px 0}
.font-range input{min-width:0;width:100%;height:44px;accent-color:var(--green);cursor:pointer}
.font-preview{font-size:.85rem;line-height:1.6;margin:12px 0 16px;color:var(--muted)}
.font-panel .button{width:100%}
#speech-toggle[aria-pressed=true]{background:var(--green);border-color:var(--green);color:white;box-shadow:0 0 0 3px #dce8ce}
.reading-status{padding:10px 20px;background:#eaf0e2;color:var(--green);font-size:.8rem;border-bottom:1px solid var(--border)}
.read-word{border-radius:3px;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.reading-active .read-word{cursor:pointer}
.reading-phrase{background:#f1e8ab;color:#263b30}
.reading-word{background:#ffdd64;color:#172b23;box-shadow:0 2px 0 #b58c1f}
/* El enlace expandido no debe interceptar los toques sobre el texto leído. */
.reading-active .card-link:after{display:none}
.large-text .topbar{align-items:center}
.large-text .brand-subtitle{font-size:.46rem}
.large-text .results-toolbar{flex-wrap:wrap}
.large-text .bottom-nav{padding-top:6px;padding-bottom:calc(6px + env(safe-area-inset-bottom))}
.large-text .bottom-nav a{font-size:.6rem}
.idea-list{display:grid;gap:10px}
.idea-card{border:1px solid #dce3d3;border-radius:13px;background:var(--white);overflow:hidden;scroll-margin-top:150px}
.idea-card h3{margin:0}
.idea-toggle{border:0;width:100%;min-height:64px;background:#f0f4e8;display:flex;align-items:center;justify-content:space-between;gap:16px;text-align:left;padding:16px;font-size:.92rem;font-weight:650;line-height:1.45}
.idea-toggle span{min-width:0}
.idea-toggle svg{width:20px;height:20px;transition:transform .15s}
.idea-toggle[aria-expanded=true]{background:var(--green);color:white}
.idea-toggle[aria-expanded=true] svg{transform:rotate(45deg)}
.idea-preparation{padding:18px 16px 8px}
.recipe-yield{font-size:.8rem;color:var(--muted);margin-bottom:18px}
.idea-preparation h4{font-size:.9rem;margin:16px 0 10px}
.recipe-ingredients{padding-left:20px;font-size:.85rem;line-height:1.6;margin:0 0 24px}
.recipe-ingredients li+li{margin-top:6px}
.recipe-note{background:#f7f2e4;border-radius:8px;padding:12px;font-size:.8rem;line-height:1.6;margin:0 0 10px;color:#655e49}
.detail-section{scroll-margin-top:150px}
.results-toolbar{margin-bottom:18px}
.large-text .idea-toggle{font-size:.9rem}
.large-text .idea-card,.large-text .detail-section{scroll-margin-top:190px}
@media(max-width:350px){.categories{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}}
@media(max-width:350px){.topbar{padding:12px}.brand{gap:7px;font-size:1.25rem}.brand-icon{width:34px;height:39px}.brand-icon svg{width:25px}.brand-subtitle{font-size:.4rem;letter-spacing:.06em}.large-text .brand{flex-basis:100%}.large-text .accessibility-actions{margin-left:0}}

/* ===== Lectura cómoda para adultos mayores =====
   Letra mínima cercana a 16 px, contraste AA, botones de 48 px o más,
   íconos siempre acompañados de texto y nada escondido en desplazamientos laterales. */
:root{--muted:#4f574d;--ink:#22352b}
body{line-height:1.55}
.app-shell{padding-bottom:calc(104px + env(safe-area-inset-bottom))}

/* Cabecera: botones con nombre visible */
.topbar{padding:12px 16px;min-height:76px}
.brand{font-size:1.35rem;gap:9px}
.brand-icon{width:38px;height:42px}
.brand-icon svg{width:27px;height:27px}
.brand-subtitle{font-size:.6rem;letter-spacing:.1em;color:#4f574d}
.accessibility-actions{gap:8px}
.pill-button{display:inline-flex;align-items:center;gap:7px;min-height:48px;padding:0 13px;border:1.5px solid #c3cfba;background:var(--white);border-radius:30px;font-size:.95rem;font-weight:650;color:var(--green);white-space:nowrap;line-height:1}
.pill-button svg{width:22px;height:22px}
.pill-icon{font-family:var(--serif);font-size:1.12rem;letter-spacing:-.06em;font-weight:700}
.font-toggle[aria-expanded=true]{background:var(--sage);border-color:var(--green)}
#speech-toggle[aria-pressed=true]{background:var(--green);border-color:var(--green);color:#fff;box-shadow:0 0 0 3px #dce8ce}
@media(max-width:420px){.topbar{padding:10px 14px}.brand-subtitle{display:none}.brand{font-size:1.22rem;gap:8px}.brand-icon{width:34px;height:38px}.pill-button{padding:0 11px;font-size:.9rem}}
.large-text .topbar{row-gap:8px}
.large-text .accessibility-actions{margin-left:auto}

/* Panel Letra y voz */
.font-panel:before{display:none}
.font-panel{width:min(360px,calc(100vw - 20px));right:10px}
.font-panel h2{font-size:1.3rem}
.font-panel label{font-size:1rem;font-weight:650}
.font-panel output{font-size:1.4rem}
.font-range .icon-button{width:54px;height:54px;font-size:1.7rem;border:1.5px solid #c3cfba;color:var(--green)}
.font-preview{font-size:1rem;color:var(--ink)}
.voice-settings{border:0;padding:16px 0 0;margin:0 0 14px;border-top:1px solid var(--border)}
.voice-settings legend{font-size:1rem;font-weight:650;margin-bottom:10px;padding:0;float:left;width:100%}
.speed-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px;clear:both}
.speed-options .radio-chip span{text-align:center;font-size:.95rem;font-weight:650;padding:12px 6px;min-height:50px;border-width:1.5px}
.font-panel .button{min-height:52px}

/* Buscador y categorías visibles de una vez */
.search-box{min-height:60px;border:1.5px solid #b9c6b0;border-radius:16px}
.search-box input{height:58px;font-size:1.06rem}
.search-box input::placeholder{font-size:1rem;color:#5f665b}
.search-box .icon-button{width:44px;height:44px;font-size:1.7rem}
.section-heading h2{font-size:1.12rem;font-weight:700}
.handwritten{font-size:.9rem;color:#5d6650}
.categories{display:flex;flex-wrap:wrap;gap:10px 8px;overflow:visible;margin:0;padding:0 0 20px}
.category-button{flex:0 0 auto;min-width:0;flex-direction:row;gap:8px;padding:4px 15px 4px 4px;min-height:54px;border:1.5px solid #d3dbc9;background:var(--white);border-radius:40px;font-size:1rem;font-weight:600;color:var(--ink)}
.category-visual{width:44px;height:44px;font-size:1.4rem;border:0;background:#efeedf}
.category-button:first-child .category-visual svg{width:22px;height:22px}
.category-button[aria-pressed=true]{background:var(--green);color:#fff;border-color:var(--green);font-weight:750}
.category-button[aria-pressed=true] .category-visual{background:#fffdf5;color:var(--green);box-shadow:none;border:0}
.large-text .categories{gap:10px 8px}
.large-text .category-button{min-width:0;flex-basis:auto;font-size:1rem}
@media(max-width:350px){.categories{margin:0;padding:0 0 18px}}

/* Resultados */
.eyebrow{font-size:.72rem;letter-spacing:.12em}
.results-toolbar .eyebrow,.page-intro .eyebrow{color:#7a5f45}
.results-toolbar h1{font-size:1.65rem}
.results-toolbar #result-count{font-size:.9rem;padding:3px 9px;color:#3f5634}
.filter-button{font-size:1rem;min-height:50px;padding:0 15px;font-weight:650;border:1.5px solid #c3cfba;border-radius:14px;color:var(--green)}
.filter-button svg{width:20px;height:20px}
.filter-chip{font-size:.95rem;min-height:48px;padding:8px 15px}

/* Tarjetas en una columna: foto, nombre grande y dos acciones con texto */
.product-grid,.related-grid{grid-template-columns:1fr;gap:14px}
.product-card{display:grid;grid-template-columns:112px minmax(0,1fr);grid-template-areas:"visual content" "footer footer";border:1.5px solid var(--border);border-radius:18px}
.product-visual{grid-area:visual;aspect-ratio:1;height:auto;margin:12px 0 0 12px;border-radius:12px}
.card-content{grid-area:content;padding:12px 14px 4px}
.card-category{font-size:.75rem;color:#5d6450;letter-spacing:.08em}
.card-title{font-size:1.22rem;line-height:1.25}
.card-description{font-size:1rem;line-height:1.5;color:var(--muted)}
.mini-tag{font-size:.8rem;padding:4px 8px;color:#3f5234;background:#eef1e6}
.stock{font-size:.85rem}
.card-footer{grid-area:footer;display:flex;gap:10px;margin:8px 12px 12px;padding-top:10px;border-top:1px solid #ecebe1}
.details-button{position:relative;top:auto;right:auto;flex:1;width:auto;height:auto;min-height:50px;border:0;border-radius:12px;background:var(--green);color:#fff;display:flex;align-items:center;justify-content:center;gap:6px;font-size:1.02rem;font-weight:650;z-index:2}
.details-button svg{width:20px;height:20px}
.card-footer .save-button{width:auto;height:auto;min-height:50px;padding:0 16px;display:flex;gap:7px;align-items:center;justify-content:center;font-size:1rem;font-weight:650;border:1.5px solid #c3cfba;background:var(--white);border-radius:12px;color:var(--green)}
.card-footer .save-button svg{width:20px;height:20px}
.large-text .product-card{grid-template-columns:1fr;grid-template-areas:"visual" "content" "footer"}
.large-text .product-visual{aspect-ratio:16/10;margin:12px 12px 0}
.large-text .card-title{font-size:1.2rem}
.large-text .card-description{font-size:1rem}
.large-text .card-category,.large-text .mini-tag,.large-text .stock{font-size:.75rem}
@media(min-width:440px){.product-visual{height:auto}.card-title{font-size:1.25rem}.card-description{font-size:1rem}.card-category{font-size:.75rem}.mini-tag{font-size:.8rem}}
@media(max-width:350px){.product-card{grid-template-columns:92px minmax(0,1fr)}.card-title{font-size:1.1rem}.card-footer{flex-wrap:wrap}}

/* Navegación inferior más legible */
.bottom-nav{padding:6px 10px calc(6px + env(safe-area-inset-bottom));border-top:1.5px solid #d6dccd}
.bottom-nav a{font-size:.88rem;color:#46513f;min-height:62px;gap:5px;font-weight:600}
.bottom-nav svg{width:26px;height:26px}
.bottom-nav a[aria-current=page]{color:var(--green);font-weight:800}
.large-text .bottom-nav a{font-size:.72rem}
.end-note p{font-size:1rem}.end-note small{font-size:.88rem;color:#5d6650}

/* Ficha */
.back-button{min-height:50px;padding:0 16px 0 10px;border:1.5px solid #c3cfba;border-radius:30px;background:var(--white);font-size:1rem;font-weight:650;color:var(--green)}
.detail-top .icon-button{width:50px;height:50px;border-width:1.5px}
.photo-credit{font-size:.8rem}
.detail-category{font-size:.75rem}
.detail-description{font-size:1.06rem;color:#38463b;line-height:1.7}
.detail-main-actions{display:grid;gap:10px;margin:22px 0 4px}
.button{font-size:1rem;min-height:52px;border-radius:14px}
.button-secondary{border-width:1.5px}
.listen-button svg{width:22px;height:22px}
.detail-tabs{flex-wrap:wrap;overflow:visible;margin:24px 0}
.detail-tabs a{font-size:.95rem;min-height:48px;display:flex;align-items:center;font-weight:600;border:1.5px solid #d3dbc9;color:var(--green)}
.detail-section h2{font-size:1.55rem}
.section-intro{font-size:.98rem;margin-top:-4px}
.type-card{border-width:1.5px;padding:16px}
.type-card h3{font-size:1.05rem}
.type-card p{font-size:1rem;color:var(--muted)}
.idea-toggle{font-size:1.05rem;min-height:68px;gap:12px}
.idea-action{display:flex;align-items:center;gap:6px;font-size:.88rem;font-weight:700;white-space:nowrap;background:var(--white);color:var(--green);border-radius:30px;padding:7px 10px 7px 13px;border:1.5px solid #c3cfba}
.idea-toggle .idea-action svg{width:18px;height:18px}
.idea-toggle .when-open,.idea-toggle[aria-expanded=true] .when-closed{display:none}
.idea-toggle[aria-expanded=true] .when-open{display:inline}
.idea-toggle[aria-expanded=true] .idea-action{background:#ffffff1f;color:#fff;border-color:#ffffff55}
.idea-preparation .listen-button{width:100%;margin-bottom:16px}
.recipe-yield{font-size:.98rem}
.idea-preparation h4{font-size:1.08rem}
.recipe-ingredients{font-size:1.04rem;line-height:1.65}
.steps li{font-size:1.04rem;padding-left:50px}
.steps li:before{content:counter(step);width:36px;height:36px;font:700 1.05rem -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#fff;background:var(--green)}
.recipe-note{font-size:.98rem}
.advice{font-size:1.02rem}
.precautions summary{font-size:1.02rem}
.precautions ul{font-size:1rem}
.notice{font-size:.98rem}
.updated-note{font-size:.88rem}

/* Guía y diálogos */
.page-intro p,.guide-card p{font-size:1.02rem}
.guide-card h2{font-size:1.4rem}
.sheet legend,.field-label{font-size:1.02rem}
.radio-chip span{font-size:.98rem;min-height:48px}
.sheet select{min-height:52px}
.sheet-heading .eyebrow{font-size:.7rem}
.toast{font-size:1rem;bottom:calc(100px + env(safe-area-inset-bottom))}

/* Barra de lectura: pausar, repetir, velocidad y detener siempre a mano */
.reading-bar{position:fixed;z-index:9;left:50%;transform:translateX(-50%);bottom:calc(86px + env(safe-area-inset-bottom));width:min(calc(100% - 16px),544px);background:#1f3f31;color:#fff;border-radius:18px;padding:10px;box-shadow:0 10px 30px #13261e55}
.reading-bar .reading-status{padding:2px 6px;background:none;border:0;color:#fff;font-size:.95rem;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.reading-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:8px}
.reading-controls button{min-height:60px;border:0;border-radius:12px;background:#ffffff1c;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:.85rem;font-weight:650;padding:4px}
.reading-controls button svg{width:24px;height:24px}
.reading-controls button:focus-visible{outline:3px solid #ffdd64;outline-offset:2px}
#reading-pause[aria-pressed=true]{background:#ffdd64;color:#1d2b22}
.reading-active .app-shell{padding-bottom:calc(220px + env(safe-area-inset-bottom))}
.reading-paused .reading-word{background:#ffe58a}
.reading-phrase{background:#f6eeb8}
.large-text .reading-controls button{font-size:.7rem}
.brand>span:last-child{white-space:nowrap}
.font-toggle.pill-button{font-family:inherit;letter-spacing:0}
@media(max-width:400px){.brand-icon{display:none}.pill-button{padding:0 10px}}
.categories,.large-text .categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.category-button,.large-text .category-button{padding:4px 10px 4px 4px;gap:8px;justify-content:flex-start;text-align:left;font-size:.98rem}
.category-visual{width:40px;height:40px;flex-shrink:0;font-size:1.3rem}
@media(min-width:440px){.categories{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:420px){.section-heading .handwritten{display:none}}
.results-toolbar{flex-wrap:wrap;row-gap:12px}
.results-toolbar h1{white-space:nowrap}
.detail-tabs{padding:0}
#detail-view h1:focus:not(:focus-visible),#detail-view h1[tabindex="-1"]:focus{outline:none}
.idea-action{flex-shrink:0}
.reading-phrase{box-shadow:.28em 0 0 #f6eeb8}
.reading-word{box-shadow:0 2px 0 #b58c1f}
.large-text .brand{flex:0 0 auto}
.large-text .product-visual{height:auto}

/* ===== Ingredientes del puesto ===== */
.recipe-ingredients li,.cook-ingredients li{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px}
.stall-tag{display:inline-flex;align-items:center;gap:5px;min-height:32px;padding:3px 11px 3px 8px;border-radius:20px;background:#e3ecd9;color:#1f4031;font-size:.82rem;font-weight:700;line-height:1.2;text-decoration:none;border:1.5px solid #b9cdaa;position:relative;z-index:2}
.stall-tag svg{width:16px;height:16px}
.stall-tag.is-own{background:#f6efd9;border-color:#e3d3a5;color:#5b4a1c}
.stall-tag.is-out{background:#f7e6df;border-color:#d9b4a3;color:#7b3521}
.stall-summary{display:flex;align-items:flex-start;gap:8px;margin:-10px 0 22px;padding:12px 14px;border-radius:12px;background:#eef3e7;font-size:.98rem;font-weight:600;color:#2c4a37}
.stall-summary svg{width:22px;height:22px;flex-shrink:0}
.recipe-actions{display:grid;gap:10px;margin-bottom:18px}
.recipe-actions .listen-button{margin:0}
.idea-preparation .recipe-actions .listen-button{margin-bottom:0}
.cook-button svg{width:22px;height:22px}

/* ===== Modo cocina: un paso por pantalla ===== */
.focus-mode .bottom-nav{display:none}
.focus-mode .app-shell{padding-bottom:calc(24px + env(safe-area-inset-bottom))}
.focus-mode.reading-active .app-shell{padding-bottom:calc(200px + env(safe-area-inset-bottom))}
.focus-mode .reading-bar{bottom:calc(10px + env(safe-area-inset-bottom))}
.cook-view,.show-view{padding:14px 20px 0;min-height:calc(100dvh - 90px);display:flex;flex-direction:column}
.cook-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}
.cook-wake{font-size:.85rem;color:var(--muted);display:flex;align-items:center;gap:6px;text-align:right}
.cook-wake:before{content:'';width:9px;height:9px;border-radius:50%;background:#5a8b50;flex-shrink:0}
.cook-eyebrow{color:#7a5f45;margin-bottom:6px}
.cook-view h1,.show-view h1{font:normal 1.75rem/1.15 var(--serif);letter-spacing:-.03em}
.cook-view h1:focus,.show-view h1:focus,.cook-screen:focus{outline:none}
.cook-progress{height:10px;border-radius:10px;background:#e4e8dc;margin:16px 0 20px;overflow:hidden}
.cook-progress span{display:block;height:100%;background:var(--green);border-radius:10px;transition:width .25s}
.cook-screen{flex:1;padding-bottom:20px}
.cook-screen h2{font:normal 1.5rem var(--serif);margin-bottom:6px}
.cook-hint{font-size:.95rem;color:var(--muted);margin:-8px 0 14px}
.cook-ingredients{list-style:none;padding:0;margin:0 0 22px;display:grid;gap:10px}
.cook-ingredients li{background:var(--white);border:1.5px solid var(--border);border-radius:14px;padding:10px 12px}
.cook-ingredients li.is-checked{background:#eef3e7}
.cook-check{display:flex;align-items:center;gap:12px;flex:1 1 100%;min-height:48px;font-size:1.12rem;line-height:1.4;cursor:pointer}
.cook-check input{width:30px;height:30px;flex-shrink:0;accent-color:var(--green);margin:0}
.is-checked .cook-check span{text-decoration:line-through;text-decoration-thickness:2px;color:var(--muted)}
.cook-ingredients .stall-tag{margin-left:42px}
.cook-stall{background:var(--white);border:1.5px dashed #b9cdaa;border-radius:14px;padding:14px;margin-bottom:22px;display:grid;gap:12px;font-size:1rem}
.cook-saved{display:flex;align-items:center;gap:8px;color:#2c5a38;font-weight:650}
.cook-step-label{display:inline-block;font-weight:800;font-size:1.15rem;color:var(--green);background:var(--sage);padding:6px 14px;border-radius:30px;margin-bottom:18px}
.cook-step-text{font:normal 1.7rem/1.4 var(--serif);color:var(--ink);letter-spacing:-.01em}
.cook-done .cook-step-label{background:var(--green);color:#fff}
.cook-done .recipe-note{margin-top:20px}
.cook-controls{position:sticky;bottom:0;background:var(--paper);padding:12px 0 calc(14px + env(safe-area-inset-bottom));border-top:1.5px solid var(--border);display:grid;gap:10px;margin:0 -20px;padding-left:20px;padding-right:20px}
.cook-controls .listen-button{width:100%;margin:0}
.cook-nav{display:grid;grid-template-columns:1fr 1.4fr;gap:10px}
.cook-nav .button{min-height:64px;font-size:1.12rem;font-weight:700}
.cook-nav svg{width:22px;height:22px}
.reading-active .cook-controls{bottom:calc(150px + env(safe-area-inset-bottom))}
.large-text .cook-step-text{font-size:1.5rem}
.large-text .cook-nav{grid-template-columns:1fr}

/* ===== Mostrar en el puesto ===== */
.show-button{margin:4px 0 18px;min-height:58px;font-size:1.05rem}
.show-button svg{width:24px;height:24px}
.show-intro{font-size:1.02rem;color:var(--muted);margin:10px 0 18px}
.show-list{list-style:none;padding:0;margin:0;display:grid;gap:12px}
.show-item{display:grid;grid-template-columns:92px minmax(0,1fr) 44px;align-items:center;gap:14px;padding:10px;background:var(--white);border:2px solid #cfd8c5;border-radius:18px;cursor:pointer;min-height:112px}
.show-item:focus-within{outline:3px solid #b66d36;outline-offset:3px}
.show-photo{width:92px;height:92px;border-radius:12px;overflow:hidden;background:#faf9f3;display:grid;place-items:center}
.show-photo .product-photo{width:100%;height:100%;object-fit:cover}
.show-photo .product-emoji{font-size:2.6rem}
.show-text{display:grid;gap:4px;min-width:0}
.show-name{font-size:1.65rem;font-weight:800;line-height:1.15;color:var(--ink)}
.show-types{font-size:1.02rem;color:var(--muted)}
.show-check{width:44px;height:44px;border-radius:50%;border:2.5px solid #b9c6b0;display:grid;place-items:center;color:transparent}
.show-check svg{width:26px;height:26px;stroke-width:2.6}
.show-item.is-done{background:#eef1e8;border-color:#e1e5d9}
.show-item.is-done .show-name{text-decoration:line-through;text-decoration-thickness:3px;color:#6b7266}
.show-item.is-done .show-photo{opacity:.55}
.show-item.is-done .show-check{background:var(--green);border-color:var(--green);color:#fff}
.show-count{text-align:center;font-size:1.15rem;font-weight:700;margin:20px 0 28px;color:var(--green)}
.large-text .show-item{grid-template-columns:72px minmax(0,1fr) 40px}
.large-text .show-photo{width:72px;height:72px}

/* ===== Interruptor de alto contraste ===== */
.contrast-toggle{display:flex;align-items:center;gap:12px;padding:14px 0;margin:0 0 12px;border-top:1px solid var(--border);border-bottom:1px solid var(--border);cursor:pointer;position:relative}
.contrast-toggle input{position:absolute;opacity:0;width:1px;height:1px}
.contrast-switch{width:54px;height:32px;border-radius:20px;background:#cfd6c8;position:relative;flex-shrink:0;transition:background .15s}
.contrast-switch:after{content:'';position:absolute;top:3px;left:3px;width:26px;height:26px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0004;transition:transform .15s}
.contrast-toggle input:checked+.contrast-switch{background:var(--green)}
.contrast-toggle input:checked+.contrast-switch:after{transform:translateX(22px)}
.contrast-toggle input:focus-visible+.contrast-switch{outline:3px solid #b66d36;outline-offset:3px}
.contrast-toggle strong{display:block;font-size:1rem}
.contrast-toggle small{display:block;font-size:.88rem;color:var(--muted);font-weight:400}
.font-panel .contrast-toggle{display:flex;font-weight:400}
.recipe-ingredients li{display:list-item}
.recipe-ingredients .stall-tag{margin-left:8px;vertical-align:middle}

.focus-mode .toast{bottom:auto;top:calc(90px + env(safe-area-inset-top))}
.cook-wake{display:none}
.screen-awake .cook-wake{display:flex}

/* ===== Marca Los Caseritos =====
   Verde oscuro de la marca, rojo de los delantales, verde hoja y fondo crema del logo.
   Títulos en letra redondeada, como el logotipo. */
:root{--paper:#fff9f2;--white:#fffdf8;--ink:#0d2c19;--green:#1a4229;--sage:#ecf1e2;--border:#e8e1d3;--rust:#9e2621;--leaf:#4a6f2a;--muted:#47524a;
  --serif:ui-rounded,'SF Pro Rounded','Nunito','Varela Round','Arial Rounded MT Bold','Segoe UI',system-ui,sans-serif}
body{background:#f3eee3}
.app-shell{background:var(--paper)}
.topbar,.search-wrap{background:var(--paper)}
.bottom-nav{background:#fffaf3f5}

/* Cabecera: insignia de los caseritos, nombre completo y botones Letra / Escuchar.
   Una sola fila mientras quepa; si no cabe (letra grande), los botones bajan a una segunda fila. */
.topbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;padding:10px 14px;min-height:0}
.brand{flex:1 1 0%;min-width:0;gap:10px;font-family:var(--serif);font-weight:800;letter-spacing:-.01em;color:var(--ink)}
.brand>span:last-child{white-space:normal}
.brand-mark{flex:0 0 auto;display:block;line-height:0}
.brand-mark img{display:block;height:52px;width:auto}
.brand-name{font-size:1.3rem;line-height:1.05;min-width:0}
.brand-subtitle{display:block;font:700 .56rem/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:.11em;text-transform:uppercase;color:var(--rust);margin-top:3px}
.accessibility-actions{flex:0 0 auto;margin-left:auto;gap:6px}
/* Botones cuadrados con ícono y palabra debajo: ocupan menos ancho y no tapan el nombre. */
.topbar .pill-button{flex-direction:column;justify-content:center;gap:2px;min-width:58px;min-height:56px;padding:4px 6px;border-radius:14px;font-size:.8rem;line-height:1.1}
.topbar .pill-button svg{width:22px;height:22px}
.topbar .pill-icon{font-size:1.1rem;line-height:1}
.large-text .brand{flex-basis:100%}
.large-text .brand-subtitle{display:block}
.large-text .accessibility-actions{margin-left:0;width:100%}
.large-text .topbar .pill-button{flex:1;flex-direction:row;gap:8px;min-height:52px}
@media(max-width:400px){.brand-subtitle{display:none}.brand-name{font-size:1.22rem}.brand-mark img{height:48px}}
@media(max-width:350px){.brand-mark img{height:42px}.brand-name{font-size:1.15rem}.brand-subtitle{display:none}.topbar .pill-button{min-width:54px}}

/* Ilustración de los caseritos al inicio del catálogo, centrada, con el lema y el separador de hojas */
.brand-hero{padding:16px 20px 4px;display:flex;flex-direction:column;align-items:center;text-align:center;color:var(--ink)}
.hero-couple{display:block;width:min(78%,300px);margin:0 auto}
.hero-couple img{display:block;width:100%;height:auto}
.hero-tagline{font:700 clamp(.72rem,3.3vw,.9rem)/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:.2em;text-transform:uppercase;color:var(--ink);margin-top:10px}
.hero-divider{width:min(64%,230px);height:auto;color:var(--rust);margin-top:6px}
.hero-divider .leaf-a{fill:var(--leaf)}.hero-divider .leaf-b{fill:#6e9440}
.large-text .hero-couple{width:min(70%,260px)}
.large-text .hero-tagline{letter-spacing:.1em;font-size:clamp(.7rem,3.4vw,.85rem)}

/* Categorías: columnas que se ajustan al ancho del nombre (nunca se salen del recuadro) */
.categories,.large-text .categories{grid-template-columns:repeat(auto-fill,minmax(min(100%,10em),1fr));gap:8px}
.category-button,.large-text .category-button{min-width:0;padding:4px 8px 4px 4px;gap:6px}
.category-visual{width:38px;height:38px;font-size:1.25rem}
.category-button>span:last-child{min-width:0;overflow-wrap:anywhere;hyphens:auto}
@media(min-width:440px){.categories{grid-template-columns:repeat(auto-fill,minmax(min(100%,10em),1fr))}}
@media(max-width:367px){.category-button,.large-text .category-button{font-size:.9rem}.category-visual{width:34px;height:34px;font-size:1.1rem}.categories,.large-text .categories{grid-template-columns:repeat(auto-fill,minmax(min(100%,9.4em),1fr))}}

/* Títulos redondeados, con peso como el logotipo */
.results-toolbar h1,.detail-body h1,.detail-section h2,.page-intro h1,.guide-card h2,.sheet-heading h2,.font-panel h2,
.cook-view h1,.show-view h1,.cook-screen h2,.empty-state h2,.section-heading h2{font-family:var(--serif);font-weight:800;letter-spacing:-.015em}
.cook-step-text{font-family:var(--serif);font-weight:600;letter-spacing:0}
.end-note p{font:700 1rem var(--serif);color:var(--ink)}
.end-note>span{color:var(--leaf)}
.end-note>span svg{width:30px;height:30px}
.guide-card .guide-number{font:700 .95rem var(--serif);color:var(--rust);font-style:normal}

/* Acentos: rojo de los delantales y verde hoja */
.eyebrow,.results-toolbar .eyebrow,.page-intro .eyebrow,.cook-eyebrow{color:var(--rust)}
.detail-section h2 svg{color:var(--leaf)}
.handwritten{color:var(--leaf)}
.results-toolbar{border-top:2px solid var(--rust);border-image:linear-gradient(90deg,transparent,var(--rust) 20%,var(--rust) 80%,transparent) 1}
.category-visual{background:#f4eedf}
.steps li:before{background:var(--green)}
.stall-tag{background:#e6eed9;border-color:#b6c9a0;color:#203f14}
.stall-summary{background:#eef2e4;color:#1d3a14}
.cook-progress span{background:var(--leaf)}
.reading-bar{background:#0d2c19}
.reading-word{background:#ffd95a}

/* Recetario */
.recipe-types{margin-bottom:6px}
.recipe-product-label{margin-top:12px}
.recipe-product{width:100%;min-height:54px;border:1.5px solid #c3cfba;border-radius:12px;background:var(--white);color:var(--ink);padding:10px 12px;font-size:1.05rem;font-weight:600}
.recipe-count{font-size:.95rem;color:var(--muted);margin:16px 0 12px;font-weight:600}
.recipe-list{display:grid;gap:14px;margin-bottom:24px}
.recipe-card{position:relative;display:grid;grid-template-columns:64px minmax(0,1fr);gap:4px 12px;padding:14px;background:var(--white);border:1.5px solid var(--border);border-radius:18px}
.recipe-card:focus-within{outline:3px solid #b66d36;outline-offset:3px}
.recipe-emoji{width:64px;height:64px;display:grid;place-items:center;border-radius:16px;background:var(--sage);font-size:2.1rem;line-height:1}
.recipe-card-body{min-width:0}
.recipe-card .card-title{font-size:1.2rem;line-height:1.2}
.recipe-meta{font-size:.9rem;color:var(--muted);margin-top:4px;font-weight:600}
.recipe-card .card-description{font-size:.98rem;line-height:1.5;margin-top:6px;color:#4c554a}
.recipe-uses{display:flex;gap:6px;align-items:flex-start;margin-top:8px;font-size:.88rem;color:#203f14;background:#eef2e4;border-radius:10px;padding:6px 9px}
.recipe-uses svg{width:16px;height:16px;margin-top:3px}
.recipe-open{grid-column:1/-1;margin-top:8px}
.recipe-group-title{font:800 1.35rem var(--serif);margin:14px 0 0}
.recipe-home-notice{margin:0}
.recipe-help{margin-top:8px}
.recipe-help .video-link{margin-top:6px}
.recipe-cover{margin:0 20px;height:150px;border-radius:18px;background:var(--sage);display:grid;place-items:center;font-size:4.6rem;line-height:1}
.recipe-facts{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 18px}
.recipe-facts>span{background:#f4eedf;border-radius:30px;padding:6px 12px;font-size:.95rem;font-weight:600}
.recipe-heading{font:800 1.4rem var(--serif);margin:22px 0 12px}
.recipe-stall-list,.recipe-links{list-style:none;margin:0 0 14px;padding:0;display:grid;gap:8px}
.recipe-stall-list a,.recipe-links a{display:flex;align-items:center;gap:12px;min-height:60px;padding:8px 12px 8px 8px;border:1.5px solid var(--border);border-radius:14px;background:var(--white);font-weight:650;font-size:1.02rem}
.recipe-stall-list a>span:nth-child(2),.recipe-links a>span:nth-child(2){flex:1;min-width:0}
.recipe-links a>span:first-child{width:44px;height:44px;display:grid;place-items:center;background:var(--sage);border-radius:12px;font-size:1.5rem}
.recipe-links small{display:block;font-size:.85rem;font-weight:500;color:var(--muted)}
.recipe-stall-photo{width:48px;height:48px;border-radius:12px;overflow:hidden;background:var(--tone);display:grid;place-items:center;flex-shrink:0;position:relative}
.recipe-stall-photo img{width:100%;height:100%;object-fit:cover}
.recipe-stall-photo .product-emoji{font-size:1.6rem}
.recipe-stall-photo .photo-label{display:none}
.recipe-stall-list svg,.recipe-links svg{width:18px;height:18px;color:var(--green)}
.large-text .recipe-card{grid-template-columns:1fr}
.large-text .recipe-emoji{width:56px;height:56px}

/* Inversión inteligente del iPhone (Accesibilidad > Inversión inteligente): Safari invierte la página
   pero el logo vectorial también se invertía (caras oscuras). Se vuelve a invertir para que se vea original. */
@media (inverted-colors: inverted){.brand-mark img,.hero-couple img{filter:invert(1) hue-rotate(180deg)}}

.weekly-link { margin-bottom: 1rem; }
