.alba-about-hero { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(1.5rem, 4vw, 4rem); padding: clamp(1.5rem, 4vw, 3rem); background: linear-gradient(140deg, #deebf7, #fff 75%); border: 1px solid #d5e2ee; border-radius: 2rem; overflow: hidden; }
.alba-about-photo { align-self: end; }
.alba-about-photo img { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 24px #11345720); }
.alba-about-intro h2 { margin: .6rem 0 1rem; font: 700 clamp(2.5rem, 6vw, 4.4rem)/1.05 Georgia, serif; letter-spacing: -.035em; }
.alba-about-intro p, .alba-story > p { line-height: 1.8; color: var(--muted); }
.alba-about-intro .alba-about-lead { font: italic 1.5rem/1.4 Georgia, serif; color: var(--ink); }
.alba-contact { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 48px; margin-top: .75rem; padding: .85rem 1.1rem; border-radius: .9rem; background: var(--ink); color: white; text-decoration: none; font-weight: 700; }
.alba-contact:hover { background: #235e99; }
.alba-contact:focus-visible { outline: 3px solid #689bd0; outline-offset: 4px; }
.alba-about-intro .alba-phone { margin: .5rem 0 0; font-size: .85rem; }
.alba-story { max-width: 58rem; margin: 3rem auto 0; }
.alba-story h3 { font: 700 clamp(1.8rem, 4vw, 2.5rem)/1.2 Georgia, serif; margin: .5rem 0 1rem; }
.alba-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.alba-values article { padding: 1.4rem; background: white; border: 1px solid var(--line); border-radius: 1.2rem; }
.alba-values article > span { font: italic 1.8rem Georgia, serif; color: #5680a7; }
.alba-values h4 { margin: 1rem 0 .5rem; font-size: 1rem; }
.alba-values p { margin: 0; color: var(--muted); line-height: 1.7; font-size: .9rem; }
@media (max-width: 620px) {
  .alba-about-hero, .alba-values { grid-template-columns: 1fr; }
  .alba-about-photo { max-width: 290px; margin: auto; }
  .alba-story { margin-top: 2rem; padding: 0 .4rem; }
}
.alba-area { margin: 2rem 0 0; padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 2rem; background: white; }
.alba-area-heading h3 { font: 700 clamp(1.8rem, 4vw, 2.6rem)/1.15 Georgia, serif; margin: .6rem 0; }
.alba-area-heading > p:last-child { max-width: 46rem; color: var(--muted); line-height: 1.75; }
.alba-map-controls { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0; }
.alba-map-controls button { min-height: 44px; padding: .6rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--cream); color: var(--ink); font-weight: 700; }
.alba-map-controls button[aria-pressed="true"] { background: var(--ink); color: white; }
.alba-map-controls button:focus-visible { outline: 3px solid #689bd0; outline-offset: 3px; }
.alba-map { height: clamp(360px, 55vw, 470px); width: 100%; border-radius: 1.2rem; background: #deebf7; z-index: 0; }
.alba-map-marker span { display: block; width: 24px; height: 24px; border: 4px solid white; border-radius: 50%; background: #113457; box-shadow: 0 0 0 8px #11345725, 0 2px 8px #11345745; }
.alba-map-label { color: #113457; font: 800 14px/1.4 Inter, sans-serif; border-radius: 8px; padding: 5px 10px; }
.alba-map-note { font-size: .8rem; color: var(--muted); line-height: 1.6; }
.alba-area-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.alba-area-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.alba-area-links a { color: var(--ink); font-size: .85rem; line-height: 2; text-underline-offset: 3px; }
.alba-area-footer .alba-contact { margin: 0; }
.demo-button { border: 0; font: inherit; font-weight: 700; text-align: center; }
.alba-about-intro #alba-whatsapp { background: transparent; color: var(--ink); padding-left: 0; text-decoration: underline; font-size: .9rem; }
.alba-story .creative-note { font-size: .8rem; border-left: 3px solid #b7cce0; padding-left: .8rem; }
.alba-testimonials { margin-top: 3rem; padding: clamp(1.2rem, 3vw, 2rem); background: #e7eff7; border-radius: 2rem; }
.alba-testimonials h3 { margin: .6rem 0; font: 700 clamp(1.8rem, 4vw, 2.6rem)/1.2 Georgia, serif; }
.testimonials-notice { color: var(--ink); line-height: 1.6; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.testimonial-grid figure { display: flex; flex-direction: column; align-items: flex-start; margin: 0; padding: 1.4rem; border-radius: 1.2rem; background: white; }
.review-topic { display: inline-block; font-size: .75rem; font-weight: 700; background: #edf3f9; padding: .4rem .6rem; border-radius: .4rem; }
.testimonial-grid blockquote { margin: 1rem 0; font: italic 1.12rem/1.65 Georgia, serif; }
.testimonial-grid figcaption { display: grid; gap: .45rem; margin-top: auto; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.testimonial-grid figcaption strong { color: var(--ink); font-size: .9rem; }
.testimonial-grid figcaption a, .reviews-context a { color: var(--ink); text-underline-offset: 3px; }
.reviews-context { font-size: .8rem; line-height: 1.7; color: var(--muted); }
.demo-dialog { width: min(540px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); overflow-y: auto; padding: clamp(1.3rem, 4vw, 2rem); border: 0; border-radius: 1.5rem; color: var(--ink); background: white; }
.demo-dialog::backdrop { background: #08223bb3; backdrop-filter: blur(3px); }
.demo-close { float: right; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--cream); color: var(--ink); font-size: 1.6rem; }
.demo-dialog h2 { clear: both; font: 700 2rem/1.15 Georgia, serif; margin: 1rem 0; }
.demo-dialog p { line-height: 1.65; }
#demo-form label { display: block; margin: 1rem 0 .45rem; font-weight: 700; }
#demo-form label span { color: var(--muted); font-size: .8rem; font-weight: 400; }
#demo-form input, #demo-form textarea { width: 100%; border: 1px solid #b7cce0; border-radius: .7rem; padding: .8rem; color: var(--ink); background: white; font: inherit; }
#demo-form textarea { resize: vertical; }
#demo-form :focus-visible { outline: 3px solid #689bd0; outline-offset: 2px; }
#demo-form .demo-button { width: 100%; }
.demo-note { font-size: .8rem; color: var(--muted); }
#demo-fallback { display: inline-block; color: var(--ink); line-height: 1.6; }
@media (max-width: 620px) { .testimonial-grid { grid-template-columns: 1fr; } }
:root {
  color-scheme: light;
  --ink: #113457;
  --muted: #566574;
  --cream: #f3f6fa;
  --paper: #ffffff;
  --green: #113457;
  --lime: #deebf7;
  --orange: #235e99;
  --line: rgba(17, 52, 87, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; background: var(--cream); color: var(--ink); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.whatsapp-share { display: flex; justify-content: center; align-items: center; width: 36px; height: 36px; border-radius: 50%; background: transparent; color: #25d366; text-decoration: none; transition: background .2s, transform .15s; }
.whatsapp-share:hover { background: #e8f9f0; transform: scale(1.1); }
.whatsapp-share:focus-visible { outline: 3px solid #689bd0; outline-offset: 3px; }
.whatsapp-share svg { width: 22px; height: 22px; fill: currentColor; }
.detail-toolbar .whatsapp-share, .share-recipe { width: 44px; height: 44px; flex-shrink: 0; }
.share-recipe { display: grid; place-items: center; background: transparent; color: var(--ink); border: 0; border-radius: 50%; }
.share-recipe svg { width: 21px; height: 21px; pointer-events: none; }
.share-recipe:hover { background: #e7eff7; }
.share-recipe:disabled { opacity: .5; }
.detail-toolbar-actions { display: flex; align-items: center; gap: .1rem; flex-shrink: 0; }
.detail-toolbar > span { min-width: 0; overflow-wrap: anywhere; font-size: .8rem; font-weight: 700; }
.print-only { display: none; }
@page { margin: 16mm; }
@media print {
  body.printing-recipe > :not(#print-recipe-sheet) { display: none !important; }
  body.printing-recipe { background: white; color: #111; }
  body.printing-recipe dialog::backdrop { display: none; }
  #print-recipe-sheet { display: block; font: 11pt/1.5 Arial, sans-serif; color: #111; }
  #print-recipe-sheet h2 { font: bold 23pt/1.15 Georgia, serif; margin: 0 0 12pt; }
  #print-recipe-sheet h3 { font-size: 14pt; margin: 16pt 0 6pt; break-after: avoid; }
  #print-recipe-sheet .print-brand { font-size: 9pt; color: #444; border-bottom: 1px solid #aaa; padding-bottom: 8pt; }
  #print-recipe-sheet .source-section { line-height: 1.5; }
  #print-recipe-sheet .recipe-step, #print-recipe-sheet li { break-inside: avoid; }
  #print-recipe-sheet .time-panel, #print-recipe-sheet .equipment-panel, #print-recipe-sheet .source-note, #print-recipe-sheet .recipe-step { background: none; box-shadow: none; border: 0; padding: 0; }
  #print-recipe-sheet .scale-pill { margin: 0 0 10pt; }
  #print-recipe-sheet p, #print-recipe-sheet li { orphans: 3; widows: 3; }
}
.share-fallback { margin: 1rem 0; padding: 1rem; background: #edf3f9; border-radius: 1rem; }
.share-fallback label { display: block; font-weight: 700; font-size: .85rem; margin-bottom: .5rem; }
.share-fallback > div { display: flex; flex-wrap: wrap; gap: .5rem; }
.share-fallback input { min-width: 0; flex: 1 1 160px; padding: .7rem; border: 1px solid var(--line); border-radius: .5rem; font-size: .8rem; }
.share-fallback button { min-height: 44px; border: 0; border-radius: .5rem; background: var(--ink); color: white; padding: .6rem .8rem; }
.share-fallback p { font-size: .78rem; line-height: 1.5; color: var(--muted); margin-bottom: 0; }
.share-app { margin: 0 0 1.2rem; }
[hidden] { display: none !important; }
.install-banner { display: grid; grid-template-columns: 44px 1fr auto 44px; align-items: center; gap: .75rem; margin: 0 0 1rem; padding: .8rem; border: 1px solid #c3d6e9; border-radius: 1.1rem; background: #e5eff9; color: #113457; }
.install-banner img { border-radius: .7rem; }
.install-copy strong { font-size: .9rem; }
.install-copy p { margin: .25rem 0 0; font-size: .8rem; line-height: 1.5; }
.install-action { min-height: 44px; border: 0; border-radius: .7rem; padding: .65rem 1rem; background: #113457; color: white; font-weight: 700; font-size: .85rem; }
.install-action:disabled { opacity: .6; cursor: wait; }
.install-dismiss { width: 44px; height: 44px; border: 0; background: transparent; color: #113457; font-size: 1.5rem; }
.install-dialog { padding: 1.5rem; line-height: 1.65; }
.install-dialog > .close-button { float: right; width: 44px; height: 44px; }
.install-dialog h2 { font: 700 1.6rem Georgia, serif; margin-right: 2.5rem; }
.install-hint { color: var(--muted); font-size: .85rem; }
@media (max-width: 550px) {
  .install-banner { grid-template-columns: 40px 1fr 44px; gap: .5rem; }
  .install-banner img { width: 40px; height: 40px; }
  .install-action { grid-column: 2; justify-self: start; }
  .install-dismiss { grid-column: 3; grid-row: 1; }
}

.welcome { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; justify-content: center; align-items: center; overflow-y: auto; pointer-events: auto; background: radial-gradient(ellipse at 20% 15%, #35658f 0, transparent 65%), #113457; color: var(--paper); animation: welcome-failsafe .5s 12s forwards; }
.preload-status { width: min(280px, calc(100% - 3rem)); flex-shrink: 0; margin: 0 auto max(1rem, env(safe-area-inset-bottom)); }
.preload-label { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin-bottom: .6rem; color: #deebf7; font-size: .75rem; }
#preload-percent { white-space: nowrap; font-variant-numeric: tabular-nums; }
#preload-progress { display: block; width: 100%; height: 6px; border: 0; border-radius: 99px; overflow: hidden; appearance: none; background: #ffffff26; color: #baddfa; }
#preload-progress::-webkit-progress-bar { background: #ffffff26; border-radius: 99px; }
#preload-progress::-webkit-progress-value { background: linear-gradient(90deg, #80b6e6, #fff); border-radius: 99px; transition: width .2s; }
#preload-progress::-moz-progress-bar { background: #baddfa; border-radius: 99px; }
#preload-skip { display: block; margin: .3rem auto 0; min-height: 44px; border: 0; background: none; color: #deebf7; font-size: .75rem; text-decoration: underline; text-underline-offset: 3px; }
.welcome .alba-scene { width: min(88vw, 430px, 46dvh); aspect-ratio: 720 / 657; margin: .5rem auto .2rem; }
.welcome .welcome-content { padding-block: .6rem; flex-shrink: 0; }
@media (max-height: 650px) { .welcome .welcome-message { display: none; } .welcome .alba-scene { width: min(78vw, 39dvh); } .preload-status { margin-bottom: .3rem; } }
.welcome-content { text-align: center; padding: 2rem; }
.welcome-mark { width: min(260px, 75vw); margin: 0 auto 2rem; padding: 1rem; border-radius: 1.5rem; background: white; box-shadow: 0 16px 45px #061c3540; }
.welcome-mark img { display: block; width: 100%; height: auto; }
.welcome-content { width: 100%; padding: 1.5rem; }
.alba-scene { position: relative; display: grid; place-items: center; width: min(74vw, 300px, 38dvh); aspect-ratio: 1; margin: 1rem auto; }
.alba-portrait { display: block; width: 100%; height: 100%; object-fit: contain; background: transparent; border: 0; filter: drop-shadow(0 10px 18px #041a3240); animation: alba-portrait-in 1s cubic-bezier(.16,1,.3,1) both; }
@keyframes alba-portrait-in { from { transform: translateY(8px) scale(.97); } to { transform: none; } }
.alba-plate { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.plate-outline, .plate-inner { stroke: #bbd8ef; stroke-width: 1; stroke-dasharray: 1; animation: alba-draw 1.5s ease-out both; }
.plate-inner { stroke-opacity: .35; animation-delay: .15s; }
.alba-signature { position: relative; width: 100%; }
.welcome-prefix { margin: 0 0 -.1rem; color: #deebf7; font: italic 1.15rem Georgia, serif; animation: welcome-rise .65s .2s both; }
.alba-signature .welcome-name { font: italic 700 clamp(3rem, 13vw, 4.5rem)/1.1 Georgia, serif; margin: 0; letter-spacing: -.075em; }
.alba-signature .welcome-name span { display: inline-block; color: white; animation: alba-letter .75s cubic-bezier(.16,1,.3,1) both; }
.alba-signature .welcome-name span:nth-child(2) { animation-delay: .12s; }
.alba-signature .welcome-name span:nth-child(3) { animation-delay: .24s; }
.alba-signature .welcome-name span:nth-child(4) { animation-delay: .36s; }
.alba-flourish { display: block; width: 180px; height: 22px; margin: -.2rem auto 0; }
.alba-flourish path { stroke: #a9d5fa; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; animation: alba-draw .8s .75s both; }
.alba-spark { position: absolute; color: #deebf7; font-size: 1.6rem; animation: alba-spark 1.3s .5s both; }
.spark-one { top: 8%; right: 9%; }
.spark-two { bottom: 12%; left: 6%; font-size: 2rem; animation-delay: .7s; }
.spark-three { top: 21%; left: 1%; font-size: .8rem; animation-delay: .9s; }
.welcome .welcome-message { line-height: 1.7; animation: welcome-rise .7s .65s both; }
.welcome .welcome-mark { width: 110px; padding: .3rem .5rem; border-radius: .65rem; margin: .65rem auto 0; animation: welcome-rise .7s .9s both; }
@keyframes alba-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes alba-letter { from { opacity: 0; transform: translateY(20px) rotate(6deg); } to { opacity: 1; transform: none; } }
@keyframes alba-spark { 0% { opacity: 0; transform: scale(.3) rotate(-30deg); } 65% { opacity: 1; transform: scale(1.15) rotate(10deg); } 100% { opacity: .7; transform: scale(1) rotate(0); } }
@media (max-height: 650px) { .welcome-content { padding: .5rem; } .alba-scene { margin: .4rem auto; width: min(55vw, 29dvh); } .welcome .welcome-mark { margin-top: .4rem; width: 100px; } .welcome .welcome-message { margin: .3rem 0; font-size: .8rem; } .alba-signature .welcome-name { font-size: 2.8rem; } .welcome-prefix { font-size: .9rem; } }
@media (prefers-reduced-motion: reduce) { .welcome *, .welcome *::before, .welcome *::after { animation: none !important; } }
.welcome-eyebrow { color: var(--lime); font-size: .65rem; letter-spacing: .24em; font-weight: 700; }
.welcome-name { margin: .7rem 0; font: 700 clamp(2.4rem, 10vw, 4rem)/1 Georgia, serif; letter-spacing: -.045em; }
.welcome-name span { color: #a9d5fa; }
.welcome-brand { margin: 1rem 0; color: var(--lime); font-size: .8rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.welcome-message { font-size: .9rem; color: #dce5ef; }
.welcome-dots { display: flex; justify-content: center; gap: .45rem; margin-top: 2rem; }
.welcome-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); animation: welcome-pulse 1s ease-in-out infinite alternate; }
.welcome-dots i:nth-child(2) { animation-delay: .2s; }
.welcome-dots i:nth-child(3) { animation-delay: .4s; }
.welcome.is-ready { opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility .45s; }
@keyframes welcome-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes leaf-open { from { opacity: 0; transform: scale(.5) rotate(-15deg); } to { opacity: 1; transform: none; } }
@keyframes plate-turn { to { transform: rotate(360deg); } }
@keyframes welcome-pulse { from { opacity: .3; transform: translateY(0); } to { opacity: 1; transform: translateY(-4px); } }
@keyframes welcome-failsafe { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
  .welcome-content, .plate-ring, .welcome-leaf, .welcome-dots i { animation: none; }
  .welcome.is-ready { transition: none; }
}

.topbar { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: max(1.25rem, env(safe-area-inset-top)) 1.25rem 1rem; }
.topbar h1 { margin: 0; font-family: Georgia, serif; font-size: 1.55rem; }
.eyebrow { margin: 0 0 .2rem; color: var(--orange); font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.icon-button { width: 3rem; height: 3rem; border: 0; border-radius: 50%; background: var(--green); color: white; font-size: 1.7rem; box-shadow: 0 8px 20px rgba(33,78,52,.22); }
.collection-badge { padding: .65rem .9rem; border-radius: 999px; background: var(--lime); font-size: .8rem; font-weight: 800; }
.app-nav { display: flex; gap: .2rem; padding: .25rem; border: 1px solid var(--line); border-radius: 999px; background: white; }
.app-nav button { min-height: 40px; padding: .55rem .85rem; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-weight: 800; }
.app-nav button.active { background: var(--green); color: white; }

main { width: min(100%, 72rem); margin: auto; padding: 0 1rem 6rem; }
.hero { position: relative; overflow: hidden; min-height: 19rem; padding: 2rem 1.4rem; border-radius: 2rem; background: var(--green); color: white; }
.hero::after { content: ""; pointer-events: none; position: absolute; right: -4rem; top: -5rem; width: 15rem; height: 15rem; border: 2.8rem solid rgba(222,235,247,.12); border-radius: 50%; }
.hero-kicker { color: var(--lime); font-weight: 700; }
.hero h2 { margin: .6rem 0 2.2rem; font: 700 clamp(2.3rem, 9vw, 4.7rem)/.95 Georgia, serif; letter-spacing: -.04em; }
.search { position: relative; z-index: 1; display: flex; gap: .7rem; align-items: center; padding: .9rem 1rem; border-radius: 1rem; background: white; color: var(--ink); }
.search input { width: 100%; border: 0; outline: 0; background: transparent; }

.filters { display: flex; gap: .55rem; overflow-x: auto; padding: 1.2rem 0 .5rem; scrollbar-width: none; }
.filter { flex: none; padding: .65rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font-weight: 700; }
.filter.active { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin: 1.8rem .2rem 1rem; }
.section-heading h2 { margin: 0; font: 700 1.65rem Georgia, serif; }
#recipe-count { color: var(--muted); font-size: .85rem; }

.recipe-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.recipe-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 1.35rem; background: var(--paper); box-shadow: 0 8px 30px rgba(24,50,38,.06); }
.recipe-card button.card-main { width: 100%; padding: 0; border: 0; background: none; text-align: left; color: inherit; }
.recipe-image { display: block; width: 100%; height: 11rem; object-fit: cover; background: #e1e7ed; }
.card-body { padding: 1rem; }
.card-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: .78rem; font-weight: 700; }
.card-meta { gap: .6rem; align-items: flex-start; }
.card-meta span:last-child { text-align: right; max-width: 65%; }
.equipment-preview { color: var(--muted); font-size: .82rem; margin: .4rem 0; line-height: 1.5; }
.variant-badge { display: inline-block; background: var(--lime); padding: .3rem .6rem; border-radius: .5rem; font-size: .75rem; }
.recipe-card h3 { margin: .5rem 0 .75rem; font: 700 1.35rem Georgia, serif; }
.favorite { position: absolute; right: .65rem; top: .65rem; z-index: 2; width: 2.5rem; height: 2.5rem; border: 0; border-radius: 50%; background: rgba(255,253,247,.92); font-size: 1.3rem; color: var(--orange); }
.empty { grid-column: 1/-1; padding: 3rem 1rem; text-align: center; color: var(--muted); }

.shop-view { padding-top: .2rem; }
.shop-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.5rem; overflow: hidden; padding: clamp(1.5rem, 5vw, 3rem); border-radius: 2rem; background: linear-gradient(135deg, #e7eff7, #fff 68%); border: 1px solid #d5e2ee; }
.shop-hero h2 { max-width: 14ch; margin: .45rem 0 .8rem; font: 700 clamp(2.15rem, 7vw, 4.15rem)/.98 Georgia, serif; letter-spacing: -.035em; }
.shop-hero p:not(.eyebrow) { max-width: 42rem; margin: 0; color: var(--muted); line-height: 1.7; }
.shop-hero-mark { display: grid; place-items: center; width: clamp(5rem, 15vw, 8rem); aspect-ratio: 1; border: 1px solid #b8cbdb; border-radius: 50%; background: radial-gradient(circle at 35% 28%, #fff, #d2dfeb); color: var(--green); font: 700 clamp(1.3rem, 4vw, 2rem) Georgia, serif; box-shadow: 0 15px 35px #11345718; }
.shop-layout { display: grid; gap: 1.25rem; }
.shop-heading { align-items: center; }
.shop-heading > span { color: var(--muted); font-size: .85rem; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1rem; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 1.35rem; background: white; box-shadow: 0 8px 28px #11345709; transition: border-color .2s, transform .2s, box-shadow .2s; }
.product-card.selected { border-color: #689bd0; box-shadow: 0 10px 28px #11345718, inset 0 0 0 1px #689bd0; }
.product-image-wrap { position: relative; display: grid; place-items: center; min-height: 12rem; padding: .75rem; background: linear-gradient(145deg, #f8fafc, #e8eef4); }
.product-image-wrap img { display: block; width: 100%; height: 12rem; object-fit: contain; mix-blend-mode: multiply; }
.selected-badge { position: absolute; top: .7rem; left: .7rem; padding: .4rem .65rem; border-radius: 999px; background: var(--green); color: white; font-size: .72rem; font-weight: 800; }
.product-body { display: flex; flex-direction: column; min-height: 15.2rem; padding: 1rem; }
.product-body h3 { margin: .35rem 0 .55rem; font: 700 1.3rem/1.1 Georgia, serif; }
.product-body > p:not(.product-detail) { margin: 0 0 1rem; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.product-detail { margin: 0; color: var(--orange); font-size: .72rem; line-height: 1.45; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.product-actions { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: auto; }
.product-actions > a { color: var(--ink); font-size: .78rem; text-underline-offset: 3px; }
.add-product { min-height: 44px; padding: .65rem 1rem; border: 0; border-radius: 999px; background: var(--green); color: white; font-weight: 800; }
.quantity-control { display: flex; align-items: center; gap: .25rem; padding: .2rem; border: 1px solid #cbd9e5; border-radius: 999px; background: #f4f7fa; }
.quantity-control button { width: 38px; height: 38px; border: 0; border-radius: 50%; background: white; color: var(--ink); font-size: 1.25rem; }
.quantity-control button:disabled { opacity: .4; cursor: not-allowed; }
.quantity-control output { min-width: 1.5rem; text-align: center; font-weight: 800; }
.shop-summary { align-self: start; margin-top: 1.5rem; padding: 1.2rem; border-radius: 1.35rem; background: var(--green); color: white; box-shadow: 0 14px 34px #11345720; }
.shop-summary-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.shop-summary .eyebrow { color: #baddfa; }
.shop-summary h2 { margin: .2rem 0; font: 700 1.45rem Georgia, serif; }
.shop-count { display: grid; place-items: center; min-width: 2.4rem; height: 2.4rem; padding: 0 .6rem; border-radius: 999px; background: white; color: var(--ink); font-weight: 900; }
.shop-selection { margin: 1rem 0; padding: .9rem; border-radius: 1rem; background: #ffffff12; }
.shop-selection ul { display: grid; gap: .7rem; padding: 0; margin: 0; list-style: none; }
.shop-selection li { display: flex; justify-content: space-between; gap: .8rem; font-size: .84rem; line-height: 1.4; }
.shop-selection li strong { white-space: nowrap; }
.shop-empty { margin: 0; color: #d8e7f3; font-size: .85rem; line-height: 1.55; }
.shop-note { display: flex; justify-content: space-between; gap: .5rem; margin: 1rem 0 .45rem; font-size: .82rem; font-weight: 800; }
.shop-note span { color: #baddfa; font-weight: 400; }
.shop-summary textarea { width: 100%; resize: vertical; padding: .8rem; border: 1px solid #ffffff55; border-radius: .8rem; background: white; color: var(--ink); font: inherit; }
.shop-whatsapp { display: flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; margin-top: .85rem; padding: .75rem 1rem; border-radius: 999px; background: #25d366; color: #082d19; text-decoration: none; text-align: center; font-weight: 900; }
.shop-whatsapp.disabled { opacity: .45; cursor: not-allowed; }
.shop-disclaimer { margin: .8rem 0 0; color: #d8e7f3; font-size: .72rem; line-height: 1.5; }
.shop-sources { margin: 1.4rem .2rem 0; color: var(--muted); font-size: .78rem; line-height: 1.6; }
.shop-sources a { color: var(--ink); text-underline-offset: 3px; }

dialog { width: min(calc(100% - 1.5rem), 34rem); max-height: calc(100dvh - 1.5rem); padding: 0; border: 0; border-radius: 1.5rem; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: rgba(15,30,23,.62); backdrop-filter: blur(3px); }
.close-button { border: 0; background: none; font-size: 1.8rem; color: var(--muted); }
.detail-dialog article { padding: 1.35rem; }
.detail-dialog { scroll-behavior: auto; }
.detail-toolbar { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; background: var(--paper); padding: .35rem 1rem; margin: -1.35rem -1.35rem 1.35rem; border-bottom: 1px solid var(--line); }
.detail-toolbar .close-button { width: 44px; height: 44px; }
.source-section { line-height: 1.65; overflow-wrap: anywhere; }
.source-section ul, .equipment-panel ul { padding-left: 1.3rem; }
.source-section p { margin: .65rem 0; }
.source-section h3 { font-size: 1.3rem; }
.recipe-step { padding: .8rem 1rem; background: #f0f5fa; border-radius: .75rem; }
.equipment-panel { background: #e7eff7; padding: 1rem; border-radius: 1rem; margin: 1.2rem 0; line-height: 1.55; }
.equipment-panel h3 { margin: 0; }
.equipment-panel p, .source-caption { font-size: .8rem; color: var(--muted); line-height: 1.55; }
.equipment-shop-link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; min-height: 54px; margin-top: .9rem; padding: .75rem .85rem; border: 1px solid #b8cbdb; border-radius: .85rem; background: white; color: var(--ink); text-align: left; }
.equipment-shop-link strong, .equipment-shop-link small { display: block; }
.equipment-shop-link strong { font-size: .86rem; }
.equipment-shop-link small { margin-top: .12rem; color: var(--muted); font-size: .7rem; line-height: 1.4; }
.equipment-shop-link > span:last-child { flex: none; font-size: 1.35rem; transition: transform .2s; }
.equipment-shop-link:hover > span:last-child { transform: translateX(3px); }
.source-link a, .book-source a { color: var(--green); text-underline-offset: 3px; }
.source-link { font-size: .85rem; }
.version-picker { display: grid; gap: .5rem; margin-top: 1rem; font-weight: 700; }
.version-picker select { padding: .8rem; width: 100%; border: 1px solid var(--line); border-radius: .6rem; background: white; color: var(--ink); }
.source-note { background: #edf0f4; padding: 1rem; border-radius: .8rem; font-size: .85rem; line-height: 1.6; }
.source-note p { margin-bottom: 0; }
.book-source { margin: 1.2rem .2rem; font-size: .9rem; line-height: 1.6; }
.detail-dialog .detail-image { height: 13rem; margin: -1.35rem -1.35rem 1.2rem; border-radius: 1.5rem 1.5rem 0 0; background: #e8dfcc center/cover; display: grid; place-items: center; font-size: 4rem; }
.detail-dialog h2 { margin: .2rem 0 .5rem; font: 700 2rem Georgia, serif; }
.detail-dialog h3 { margin-top: 1.5rem; font-family: Georgia, serif; }
.detail-dialog li { margin-bottom: .45rem; }
.detail-actions { display: flex; justify-content: space-between; align-items: center; }
.delete-button { border: 0; background: transparent; color: #a43b30; }

@media (min-width: 700px) {
  .topbar { width: min(100%, 72rem); margin: auto; padding-inline: 1rem; }
  .hero { padding: 3rem; }
  .search { max-width: 34rem; }
  .shop-layout { grid-template-columns: minmax(0, 1fr) 21rem; align-items: start; }
  .shop-summary { position: sticky; top: 1rem; }
}

@media (max-width: 620px) {
  .topbar { flex-wrap: wrap; }
  .topbar > div:first-child { flex: 1 1 auto; }
  .app-nav { order: 3; width: 100%; }
  .app-nav button { flex: 1; }
  .collection-badge { font-size: .72rem; }
  .shop-hero { grid-template-columns: 1fr; }
  .shop-hero-mark { position: absolute; right: -1rem; top: -1rem; opacity: .28; }
  .shop-summary { margin-top: .5rem; }
}

/* A playful personal kitchen, with Saladmaster's navy, white and steel palette. */
.topbar { border-top: 4px solid var(--green); }
.topbar h1 { font-size: clamp(1.3rem, 5vw, 1.7rem); }
.hero { background: radial-gradient(ellipse at 95% 100%, #2e608b, transparent 65%), var(--green); box-shadow: 0 14px 35px #11345718; }
.hero h2 { margin-bottom: 1rem; }
.hero-copy { color: #deebf7; max-width: 28rem; font-size: .95rem; line-height: 1.6; margin-bottom: 1.4rem; }
.hero-sticker { display: inline-block; background: white; color: var(--ink); border-radius: 999px; padding: .45rem .8rem; font-size: .7rem; font-weight: 800; transform: rotate(-3deg); margin-bottom: .4rem; }
.surprise { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; margin-top: 1rem; padding: .75rem 1.05rem; background: #deebf7; color: #113457; border: 1px solid #fff8; border-radius: 999px; font-weight: 800; transition: transform .2s, background .2s; }
.surprise:hover { background: white; transform: rotate(-2deg); }
.surprise:active { transform: scale(.96); }
.surprise span { font-size: 1.3rem; }
.filter { min-height: 44px; background: white; transition: transform .2s, background .2s; }
.filter.active { background: var(--green); border-color: var(--green); color: white; }
.filter span { margin-right: .4rem; }
.recipe-card { box-shadow: 0 8px 28px #11345709; transition: transform .2s, box-shadow .2s; }
.recipe-image { transition: transform .4s; background-color: #e1e7ed; }
@media (hover: hover) { .recipe-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px #11345718; } }
.favorite { min-width: 44px; min-height: 44px; color: #113457; background: #fff; box-shadow: 0 3px 12px #11345720; }
.favorite[aria-pressed="true"] { color: white; background: #113457; animation: heart-pop .3s ease; }
.card-meta span:first-child { color: #235e99; }
.search:focus-within { box-shadow: 0 0 0 3px #a9d5fa; }
button:focus-visible, select:focus-visible { outline: 3px solid #689bd0; outline-offset: 3px; }
.toast { position: fixed; bottom: max(1.2rem, env(safe-area-inset-bottom)); left: 50%; transform: translate(-50%, 15px); z-index: 80; border: 1px solid #fff5; border-radius: 999px; padding: .9rem 1.3rem; max-width: calc(100% - 2rem); width: max-content; background: #113457; color: white; box-shadow: 0 8px 24px #11345725; font-size: .9rem; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.time-panel { background: #f0f5fa; border-left: 3px solid #689bd0; border-radius: .6rem; padding: .9rem 1rem; margin: 1rem 0; font-size: .9rem; line-height: 1.6; }
.time-panel p { margin: .4rem 0 0; color: var(--muted); font-size: .82rem; }
.welcome { justify-content: safe center; }
.welcome.install-interacting { animation: none; }
.welcome.install-interacting .alba-scene { width: min(64vw, 260px, 28dvh); }
#welcome-install { display: flex; align-items: center; gap: .7rem; width: 100%; min-height: 62px; margin-top: 1rem; padding: .5rem .7rem; border: 1px solid #ffffff80; border-radius: 1rem; background: #fff; color: #113457; text-align: left; box-shadow: 0 6px 20px #041a3225; font-weight: 700; }
#welcome-install img { border-radius: .65rem; flex-shrink: 0; }
#welcome-install small { display: block; margin-top: .2rem; font-size: .7rem; font-weight: 400; }
#welcome-install:disabled { opacity: .65; }
#install-help { color: #fff; font-size: .8rem; line-height: 1.5; margin: .8rem 0 0; }
.ingredient-section { border-top: 1px solid var(--line); margin-top: 1.5rem; }
.scale-pill { display: inline-flex; align-items: center; background: #f0f5fa; border: 1px solid #dce6f0; border-radius: 999px; padding: 0.25rem; margin-bottom: 1.2rem; font-size: 0.9rem; color: #113457; }
.scale-pill-label { padding: 0 0.6rem 0 0.8rem; font-weight: 600; color: #5a7b9c; }
.scale-pill-actions { display: flex; align-items: center; background: white; border-radius: 999px; box-shadow: 0 2px 6px rgba(17,52,87,0.06); }
.scale-pill button { border: none; background: transparent; color: #113457; width: 34px; height: 34px; font-weight: 500; font-size: 1.2rem; cursor: pointer; transition: background .2s, color .2s; border-radius: 50%; }
.scale-pill button:hover:not(:disabled) { background: #e5eff9; color: var(--green); }
.scale-pill button:disabled { opacity: 0.4; cursor: not-allowed; }
.scale-pill .scale-factor { min-width: 2.8rem; text-align: center; font-weight: 700; font-size: 0.95rem; }
.ingredient-section li { padding-block: .25rem; border-bottom: 1px solid #1134570b; }
@keyframes heart-pop { 50% { transform: scale(1.2) rotate(-8deg); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } .favorite[aria-pressed="true"] { animation: none; } }
