/* ===== Foryouall Garden — organic theme ===== */
:root{
  --forest:#14532d; --forest-2:#166534; --leaf:#16a34a; --leaf-2:#22c55e; --lime:#84cc16; --mint:#dcfce7; --mint-2:#f0fdf4;
  --cream:#fbf8ef; --sand:#f3edda; --sun:#f59e0b; --sun-2:#fbbf24; --sun-soft:#fef3c7;
  --ink:#1b2a1e; --ink-2:#3d4f41; --muted:#6b7a6e; --line:#e8e2cf; --white:#fff;
  --r-sm:12px; --r:20px; --r-lg:30px;
  --sh-1:0 1px 2px rgba(20,83,45,.06),0 4px 14px rgba(20,83,45,.06);
  --sh-2:0 18px 40px -16px rgba(20,83,45,.28);
  --head:"Mitr","IBM Plex Sans Thai",sans-serif;
  --body:"IBM Plex Sans Thai",system-ui,sans-serif;
  --script:"Caveat",cursive;
  --max:1200px;
}
html{font-size:16px;scroll-behavior:smooth;scroll-padding-top:90px}
html:has(body[data-font-size="small"]){font-size:15px}
html:has(body[data-font-size="large"]){font-size:18px}
*{box-sizing:border-box;margin:0;padding:0}
[hidden]{display:none!important}
body{font-family:var(--body);background:var(--cream);color:var(--ink);line-height:1.65;-webkit-font-smoothing:antialiased;overflow-x:hidden}
main{overflow-x:clip}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button,input,select,textarea{font:inherit;color:inherit}
h1,h2,h3{font-family:var(--head);font-weight:500;line-height:1.25}
.wrap{max-width:var(--max);margin:0 auto;padding:0 24px}
section{position:relative}
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:.84rem;font-weight:600;color:var(--leaf);letter-spacing:.02em}
.eyebrow::before{content:"";width:22px;height:2px;border-radius:2px;background:var(--lime)}
.script{display:inline-block;font-family:var(--script);font-size:2rem;font-weight:700;color:var(--sun);line-height:1;transform:rotate(-4deg);transform-origin:left}
.script.light{color:var(--sun-2)}

/* Buttons */
.cta{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 26px;border-radius:999px;border:0;cursor:pointer;background:var(--forest);color:#fff;font-weight:600;font-size:1rem;box-shadow:0 10px 22px -10px rgba(20,83,45,.7);transition:transform .2s,box-shadow .2s,background .2s}
.cta:hover{transform:translateY(-2px);background:var(--forest-2);box-shadow:0 16px 28px -12px rgba(20,83,45,.75)}
.cta svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cta.ghost{background:#fff;color:var(--forest);box-shadow:var(--sh-1);border:1.5px solid var(--line)}
.cta.ghost:hover{border-color:var(--lime)}
.cta.sun{background:var(--sun-2);color:var(--forest)}
.cta.sun:hover{background:var(--sun)}
.cta.fb{background:#1877f2}
.cta.fb svg{fill:currentColor;stroke:none}
.cta:disabled{opacity:.6;cursor:wait;transform:none}

/* ===== Header ===== */
header{position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px max(24px,calc((100vw - var(--max))/2 + 24px));background:rgba(251,248,239,.82);backdrop-filter:saturate(1.4) blur(14px);-webkit-backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid transparent;transition:border-color .2s,box-shadow .2s,background .2s}
header.scrolled{background:rgba(251,248,239,.95);border-color:var(--line);box-shadow:0 8px 24px -16px rgba(20,83,45,.3)}
.logo{display:flex;align-items:center;gap:12px;flex:none}
.logo img{width:52px;height:52px;border-radius:50%;object-fit:cover;background:#fff;box-shadow:0 0 0 2px #fff,0 0 0 4px #bcd99a,0 6px 14px -6px rgba(20,83,45,.45);transition:transform .3s}
.logo:hover img{transform:rotate(-6deg) scale(1.05)}

/* Mascot greeting */
.greet{display:flex;width:fit-content;align-items:center;gap:12px;margin-bottom:22px}
.greet img{width:64px;height:64px;border-radius:50%;object-fit:cover;background:#fff;box-shadow:0 0 0 3px #fff,0 8px 18px -8px rgba(20,83,45,.5);flex:none;animation:wave 4s ease-in-out infinite;transform-origin:50% 90%}
.greet p{position:relative;background:#fff;border:1px solid var(--line);border-radius:18px 18px 18px 4px;padding:9px 16px;font-size:.95rem;font-weight:500;color:var(--forest);box-shadow:var(--sh-1)}
@keyframes wave{0%,100%{transform:rotate(0)}8%{transform:rotate(-8deg)}16%{transform:rotate(6deg)}24%{transform:rotate(0)}}
.logo b{display:block;font-family:var(--head);font-weight:500;font-size:1.15rem;line-height:1.1;color:var(--forest)}
.logo small{display:block;font-size:.78rem;color:var(--muted)}
#site-menu{display:flex;align-items:center;gap:14px}
.nav-links{display:flex;align-items:center;gap:2px}
.nav-links a,.nav-links button{padding:8px 14px;border-radius:999px;font-weight:500;font-size:.95rem;color:var(--ink-2);background:none;border:0;cursor:pointer;transition:.15s;white-space:nowrap}
.nav-links a:hover,.nav-links button:hover{background:var(--mint);color:var(--forest)}
.nav-links .nav-quiet{font-size:.85rem;color:var(--muted)}
#open-admin{background:var(--sun-soft);color:#92400e}
.font-controls{display:flex;align-items:center;gap:2px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:3px}
.font-controls span{font-size:.75rem;color:var(--muted);padding:0 6px 0 8px}
.font-controls button{width:32px;height:30px;border-radius:999px;border:0;background:none;cursor:pointer;color:var(--ink-2);font-family:var(--head)}
.font-controls button[data-font-size="small"]{font-size:12px}
.font-controls button[data-font-size="medium"]{font-size:15px}
.font-controls button[data-font-size="large"]{font-size:18px}
.font-controls button[aria-pressed="true"]{background:var(--forest);color:#fff}
.menu-toggle{display:none;width:46px;height:46px;border-radius:14px;border:1px solid var(--line);background:#fff;cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:5px}
.menu-toggle span{width:20px;height:2px;border-radius:2px;background:var(--forest);transition:.25s}
body.menu-open .menu-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
body.menu-open .menu-toggle span:nth-child(2){opacity:0}
body.menu-open .menu-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ===== Hero ===== */
.hero{padding:56px 0 110px;overflow:hidden}
.hero-bg{position:absolute;inset:0;z-index:-1;overflow:hidden}
.hero-bg .sun{position:absolute;width:420px;height:420px;border-radius:50%;right:-60px;top:-140px;background:radial-gradient(circle,#fde68a 0%,rgba(253,230,138,.35) 45%,transparent 70%)}
.hero-bg .hill{position:absolute;left:-10%;right:-10%;border-radius:50% 50% 0 0}
.hero-bg .h1{bottom:-58%;height:90%;background:#eef6dd}
.hero-bg .h2{bottom:-70%;height:85%;left:30%;right:-30%;background:#e2f0c8}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center}
.hero h1{font-size:clamp(2.4rem,5.4vw,4.2rem);font-weight:600;color:var(--forest);margin:14px 0 18px;letter-spacing:-.01em}
.hero h1 em{font-style:normal;font-weight:500;font-size:.62em;display:inline-block;margin-top:8px;color:var(--leaf);background:linear-gradient(transparent 62%,#fde68a 62%,#fde68a 92%,transparent 92%);padding:0 4px}
.hero-copy p{font-size:1.12rem;color:var(--ink-2);max-width:520px}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.hero-stats{display:flex;gap:12px;margin-top:36px;flex-wrap:wrap}
.hero-stats div{background:#fff;border:1px solid var(--line);border-radius:18px;padding:12px 18px;min-width:118px;box-shadow:var(--sh-1);position:relative;overflow:hidden}
.hero-stats div::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px}
.hero-stats .s0::before{background:var(--leaf-2)}
.hero-stats .s1::before{background:var(--sun-2)}
.hero-stats .s2::before{background:#cbd5c0}
.hero-stats dt{font-size:.84rem;color:var(--muted)}
.hero-stats dd{font-family:var(--head);font-size:1.9rem;font-weight:500;line-height:1.1;color:var(--forest)}
.hero-stats dd::after{content:" รายการ";font-family:var(--body);font-size:.8rem;font-weight:400;color:var(--muted)}

.hero-art{position:relative;aspect-ratio:1/1;max-width:520px;width:100%;margin-left:auto}
.bubble{position:absolute;overflow:hidden;background:#fff;box-shadow:var(--sh-2);border:6px solid #fff}
.bubble img{width:100%;height:100%;object-fit:cover}
.b-main{inset:6% 4% 10% 14%;border-radius:46% 54% 42% 58% / 52% 44% 56% 48%;animation:morph 14s ease-in-out infinite}
.b-a{width:34%;aspect-ratio:1;left:0;bottom:4%;border-radius:50%;animation:bob 7s ease-in-out infinite}
.b-b{width:27%;aspect-ratio:1;right:0;top:0;border-radius:50%;animation:bob 8s ease-in-out -3s infinite}
@keyframes morph{50%{border-radius:56% 44% 54% 46% / 44% 56% 44% 56%}}
@keyframes bob{50%{transform:translateY(-10px)}}
.sticker{position:absolute;right:4%;bottom:14%;width:104px;height:104px;border-radius:50%;background:var(--sun-2);color:var(--forest);display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(12deg);box-shadow:0 12px 24px -10px rgba(180,120,0,.6);font-family:var(--head);line-height:1.1;border:3px dashed rgba(20,83,45,.35);outline:6px solid var(--sun-2)}
.sticker span{font-size:.95rem}
.sticker b{font-size:1.35rem;font-weight:600}
.tag-ready{position:absolute;left:18%;top:4%;display:flex;align-items:center;gap:8px;background:#fff;border-radius:999px;padding:8px 16px;box-shadow:var(--sh-2);font-size:.9rem;font-weight:500}
.tag-ready i{width:9px;height:9px;border-radius:50%;background:var(--leaf-2);box-shadow:0 0 0 0 rgba(34,197,94,.6);animation:ping 2s infinite}
@keyframes ping{70%{box-shadow:0 0 0 8px rgba(34,197,94,0)}100%{box-shadow:0 0 0 0 rgba(34,197,94,0)}}

/* Ribbon */
.ribbon{background:var(--forest);color:#ecfccb;overflow:hidden;padding:14px 0;transform:rotate(-1.2deg);margin:-28px -10px 0;position:relative;z-index:2;box-shadow:0 10px 30px -15px rgba(20,83,45,.6)}
.ribbon-track{display:flex;gap:44px;width:max-content;animation:slide 32s linear infinite;font-family:var(--head);font-size:1.05rem}
.ribbon-track span{white-space:nowrap}
@keyframes slide{to{transform:translateX(-50%)}}

/* ===== Catalog ===== */
#catalog{padding:96px 0 72px}
.catalog-title{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:24px}
.catalog-title h2,.section-head h2{font-size:clamp(1.8rem,3.4vw,2.6rem);color:var(--forest);margin-top:6px}
#count{font-size:.92rem;color:var(--muted);background:#fff;border:1px solid var(--line);padding:6px 14px;border-radius:999px}
.controls{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-radius:22px;padding:10px;box-shadow:var(--sh-1);margin-bottom:12px;position:sticky;top:78px;z-index:20}
#tabs{display:flex;gap:6px;flex-wrap:wrap}
#tabs button{border:0;background:none;padding:10px 18px;border-radius:14px;font-weight:500;font-size:.95rem;cursor:pointer;color:var(--ink-2);transition:.15s}
#tabs button:hover{background:var(--mint-2);color:var(--forest)}
#tabs button.active{background:var(--forest);color:#fff}
.search{display:flex;gap:8px;flex:1 1 360px;justify-content:flex-end}
.search-box{position:relative;flex:1;max-width:300px}
.search-box svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:18px;height:18px;fill:none;stroke:var(--muted);stroke-width:2;stroke-linecap:round}
#query,#availability{height:46px;border-radius:14px;border:1.5px solid var(--line);background:var(--cream);padding:0 14px;outline:none;transition:.15s;font-size:.95rem}
#query{width:100%;padding-left:40px}
#query:focus,#availability:focus{border-color:var(--leaf-2);background:#fff;box-shadow:0 0 0 4px var(--mint)}
#availability{cursor:pointer}
.mobile-size{display:none}

#products{display:grid;gap:56px;margin-top:36px}
.produce-group .group-heading{display:flex;align-items:center;gap:14px;margin-bottom:20px}
.produce-group .group-heading h2{font-size:1.45rem;color:var(--forest)}
.produce-group .group-heading span{font-size:.85rem;color:var(--muted);background:#fff;border:1px solid var(--line);padding:3px 12px;border-radius:999px}
.produce-group .group-heading::after{content:"";flex:1;height:1px;background:repeating-linear-gradient(90deg,var(--line) 0 6px,transparent 6px 12px)}
.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:18px}
.product{background:#fff;border-radius:var(--r);padding:10px;border:1px solid var(--line);display:flex;flex-direction:column;transition:transform .25s,box-shadow .25s,border-color .25s}
.product:hover{transform:translateY(-4px);box-shadow:var(--sh-2);border-color:#cfe7b0}
.product-photo{aspect-ratio:1/1;border-radius:14px;overflow:hidden;background:var(--mint-2);position:relative}
.product-photo button{display:block;width:100%;height:100%;border:0;padding:0;background:none;cursor:zoom-in;position:relative}
.product-photo img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.product:hover .product-photo img{transform:scale(1.06)}
.product-photo button span{position:absolute;right:8px;bottom:8px;background:rgba(255,255,255,.92);border-radius:999px;padding:4px 10px;font-size:.75rem;font-weight:500;opacity:0;transform:translateY(4px);transition:.2s}
.product:hover .product-photo button span,.product-photo button:focus-visible span{opacity:1;transform:none}
.no-photo{height:100%;display:grid;place-items:center;color:var(--muted);font-size:.85rem;background:repeating-linear-gradient(45deg,var(--mint-2) 0 10px,#e9f7e4 10px 20px)}
.product-info{padding:12px 6px 6px;display:flex;flex-direction:column;gap:4px;flex:1}
.product-info small{font-size:.78rem;color:var(--muted)}
.product-info h3{font-size:1.12rem;color:var(--ink)}
.state{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;font-size:.8rem;font-weight:600;padding:4px 11px;border-radius:999px;margin-top:4px}
.state::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.state-0{background:#dcfce7;color:#15803d}
.state-1{background:var(--sun-soft);color:#b45309}
.state-2{background:#eef0ea;color:#6b7a6e}
.updated-date{font-size:.76rem;color:var(--muted);margin-top:auto;padding-top:8px}
.empty{text-align:center;color:var(--muted);padding:56px 16px;background:#fff;border:1.5px dashed var(--line);border-radius:var(--r)}
.empty button{margin-left:8px;border:0;background:var(--forest);color:#fff;border-radius:999px;padding:6px 14px;cursor:pointer}

/* ===== About ===== */
.about{padding:96px 0;background:var(--forest);color:#ecfccb;overflow:hidden}
.about::before{content:"";position:absolute;width:520px;height:520px;border-radius:50%;left:-200px;top:-200px;background:radial-gradient(circle,rgba(132,204,22,.25),transparent 70%)}
.about::after{content:"";position:absolute;width:420px;height:420px;border-radius:50%;right:-140px;bottom:-200px;background:radial-gradient(circle,rgba(251,191,36,.22),transparent 70%)}
.about-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:56px;align-items:center;position:relative;z-index:1}
.about h2{font-size:clamp(1.9rem,3.4vw,2.7rem);color:#fff;margin:10px 0 22px}
.about .mascot{display:block;width:180px;height:180px;border-radius:50%;object-fit:cover;background:#fff;margin-bottom:22px;box-shadow:0 0 0 6px rgba(255,255,255,.12),0 0 0 12px rgba(190,242,100,.12),0 24px 40px -18px rgba(0,0,0,.6);animation:bob 6s ease-in-out infinite}
.about blockquote{font-size:1.18rem;line-height:1.8;color:#d9f99d;border-left:3px solid var(--sun-2);padding-left:20px}
.about .sign{margin-top:14px;color:#bef264;font-family:var(--script);font-size:1.5rem}
.values{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.values article{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);border-radius:var(--r);padding:24px;transition:.25s}
.values article:hover{background:rgba(255,255,255,.12);transform:translateY(-3px)}
.v-ic{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:rgba(255,255,255,.1);font-size:1.6rem;margin-bottom:14px}
.values h3{color:#fff;font-size:1.15rem;margin-bottom:4px}
.values p{color:#c7dfb3;font-size:.94rem}

/* ===== Order ===== */
.order{padding:96px 0}
.section-head{text-align:center;margin-bottom:44px}
.section-head .eyebrow{justify-content:center}
.steps{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:22px;counter-reset:s;position:relative}
.steps li{background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);padding:34px 28px 30px;position:relative;box-shadow:var(--sh-1);transition:.25s}
.steps li:hover{transform:translateY(-4px);box-shadow:var(--sh-2)}
.steps li:not(:last-child)::after{content:"→";position:absolute;right:-22px;top:50%;transform:translateY(-50%);width:22px;text-align:center;color:var(--lime);font-size:1.4rem;font-weight:700}
.steps .n{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:var(--sun-2);color:var(--forest);font-family:var(--head);font-size:1.5rem;font-weight:600;margin-bottom:18px;box-shadow:0 0 0 6px var(--sun-soft)}
.steps h3{font-size:1.25rem;color:var(--forest);margin-bottom:6px}
.steps p{color:var(--muted)}

/* ===== Visit ===== */
.visit{padding:0 0 96px}
.visit-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:0;border-radius:var(--r-lg);overflow:hidden;box-shadow:var(--sh-2);background:#fff;padding:0;width:calc(100% - 48px);max-width:calc(var(--max) - 48px)}
.visit-card{background:linear-gradient(160deg,var(--forest-2),var(--forest));color:#fff;padding:44px;position:relative;overflow:hidden}
.visit-card::after{content:"🌿";position:absolute;right:-10px;bottom:-30px;font-size:9rem;opacity:.12;transform:rotate(-20deg)}
.visit-card h2{font-size:clamp(1.7rem,3vw,2.3rem);margin:10px 0 24px}
.contact-list{list-style:none;display:grid;gap:16px}
.contact-list li{display:flex;gap:14px;align-items:flex-start}
.contact-list li > span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:rgba(255,255,255,.12);flex:none;font-size:1.1rem}
.contact-list small{display:block;color:#bbf7d0;font-size:.8rem}
.contact-list a{text-decoration:underline;text-decoration-color:rgba(255,255,255,.35);text-underline-offset:3px}
.contact-list a:hover{text-decoration-color:#fff}
.visit-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}
.map{min-height:420px;background:var(--mint-2)}
.map iframe{width:100%;height:100%;min-height:420px;border:0;display:block}

/* ===== Footer ===== */
footer{background:#0f2e1b;color:#a7c4ae;padding:40px 0}
.foot{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.foot-brand{display:flex;align-items:center;gap:12px}
.foot-brand img{width:48px;height:48px;border-radius:50%;object-fit:cover;background:#fff;box-shadow:0 0 0 2px rgba(255,255,255,.2)}
.foot-brand b{display:block;color:#fff;font-family:var(--head);font-weight:500}
.foot-brand small{font-size:.8rem}
footer nav{display:flex;gap:18px;flex-wrap:wrap;font-size:.92rem}
footer nav a:hover{color:#fff}
footer > .wrap > small{width:100%;border-top:1px solid rgba(255,255,255,.08);padding-top:18px;font-size:.82rem}

.fab{position:fixed;right:18px;bottom:18px;z-index:40;width:58px;height:58px;border-radius:50%;background:var(--leaf);color:#fff;display:grid;place-items:center;box-shadow:0 14px 28px -10px rgba(22,163,74,.8);border:3px solid #fff;transition:transform .2s}
.fab:hover{transform:scale(1.08)}
.fab svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* ===== Dialogs ===== */
dialog{margin:auto;border:0;border-radius:var(--r-lg);padding:0;max-width:min(560px,calc(100vw - 32px));width:100%;box-shadow:0 40px 80px -20px rgba(15,46,27,.5);background:#fff;color:var(--ink);overflow:hidden}
dialog[open]{animation:pop .25s cubic-bezier(.2,.9,.3,1.2)}
@keyframes pop{from{opacity:0;transform:translateY(10px) scale(.97)}}
dialog::backdrop{background:rgba(15,46,27,.55);backdrop-filter:blur(4px)}
#zoom-dialog img{width:100%;max-height:70vh;object-fit:contain;background:var(--mint-2)}
#zoom-title{padding:16px 22px;font-family:var(--head);font-size:1.2rem;color:var(--forest)}
#zoom-close,#login-close{position:absolute;top:12px;right:12px;width:40px;height:40px;border-radius:50%;border:0;background:rgba(255,255,255,.95);box-shadow:var(--sh-1);font-size:1.4rem;line-height:1;cursor:pointer;z-index:1}
#login-dialog{max-width:min(420px,calc(100vw - 32px));padding:36px 30px 28px}
#login-dialog h2{font-size:1.5rem;color:var(--forest);margin-bottom:18px}
#login-form{display:grid;gap:14px}
#login-form label,#produce-editor label,#admin-panel label{display:grid;gap:6px;font-size:.9rem;font-weight:500;color:var(--ink-2)}
#login-form input,#produce-editor input,#produce-editor select,#admin-search{height:48px;border-radius:14px;border:1.5px solid var(--line);background:var(--cream);padding:0 14px;outline:none;width:100%;transition:.15s}
#login-form input:focus,#produce-editor input:focus,#produce-editor select:focus,#admin-search:focus{border-color:var(--leaf-2);background:#fff;box-shadow:0 0 0 4px var(--mint)}
#produce-editor input[type=file]{padding:10px 12px;height:auto}
.password-field{position:relative;display:block}
.password-field input{padding-right:48px!important}
#toggle-password{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:38px;height:38px;border:0;background:none;cursor:pointer;color:var(--muted);border-radius:10px}
#toggle-password svg{width:20px;height:20px}
#toggle-password .eye-slash{display:none}
#toggle-password[aria-pressed="true"] .eye-slash{display:inline}
#login-message,#save-message,#manage-message{font-size:.9rem;color:#b45309;min-height:1.2em}

/* ===== Admin ===== */
#admin-panel{max-width:var(--max);margin:0 auto;padding:40px 24px 80px}
.admin-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap}
.admin-heading h2{font-size:2rem;color:var(--forest)}
#close-admin{border:1.5px solid var(--line);background:#fff;border-radius:999px;padding:10px 18px;cursor:pointer;font-weight:500}
#close-admin:hover{border-color:var(--forest)}
.admin-note{color:var(--muted);margin:6px 0 24px;font-size:.92rem}
.manage-layout{display:grid;grid-template-columns:380px 1fr;gap:24px;align-items:start}
#produce-editor{display:grid;gap:14px;background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);padding:26px;position:sticky;top:96px;box-shadow:var(--sh-1)}
#editor-title{font-size:1.3rem;color:var(--forest)}
.file-help{font-size:.8rem;color:var(--muted)}
#upload-preview{width:100%;max-height:220px;object-fit:cover;border-radius:14px}
.form-actions{display:flex;gap:10px}
.form-actions .cta{flex:1}
#cancel-edit{border:1.5px solid var(--line);background:#fff;border-radius:999px;padding:0 18px;cursor:pointer}
.manage-layout > div{background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);padding:22px;box-shadow:var(--sh-1)}
.admin-cats{display:flex;gap:6px;flex-wrap:wrap;margin-top:14px;padding:6px;background:var(--cream);border:1px solid var(--line);border-radius:16px}
.admin-cats button{flex:1 1 auto;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;background:none;padding:10px 14px;border-radius:12px;font-weight:500;font-size:.92rem;cursor:pointer;color:var(--ink-2);transition:.15s;white-space:nowrap}
.admin-cats button:hover{background:#fff;color:var(--forest)}
.admin-cats button[aria-pressed="true"]{background:var(--forest);color:#fff;box-shadow:0 6px 14px -8px rgba(20,83,45,.7)}
.admin-cats em{font-style:normal;font-size:.75rem;font-weight:600;min-width:22px;padding:1px 7px;border-radius:999px;background:#fff;color:var(--forest);border:1px solid var(--line)}
.admin-cats button[aria-pressed="true"] em{background:rgba(255,255,255,.2);color:#fff;border-color:transparent}
.admin-empty{text-align:center;color:var(--muted);padding:28px 12px;border:1.5px dashed var(--line);border-radius:16px;margin-top:10px;font-size:.92rem}
.manage-toolbar{display:flex;justify-content:space-between;align-items:center;margin:14px 0 8px;font-size:.9rem;color:var(--muted)}
.manage-toolbar [role=group]{display:flex;gap:4px;background:var(--cream);padding:3px;border-radius:999px}
.manage-toolbar button{border:0;background:none;padding:6px 12px;border-radius:999px;cursor:pointer;font-size:.85rem}
.manage-toolbar button[aria-pressed="true"]{background:var(--forest);color:#fff}
#manage-message button{margin-left:8px;border:0;background:var(--sun-2);color:var(--forest);border-radius:999px;padding:4px 12px;cursor:pointer;font-weight:600}
#manage-list{display:grid;gap:10px}
#manage-list[data-view="grid"]{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}
.manage-item{display:flex;gap:14px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:16px;background:var(--cream)}
.manage-item img{width:64px;height:64px;border-radius:12px;object-fit:cover;flex:none}
.manage-item > div:nth-child(2),.manage-item > div:first-child{flex:1;min-width:0}
.manage-item h3{font-size:1rem}
.manage-item p{font-size:.8rem;color:var(--muted)}
.manage-actions{display:flex;gap:6px}
.manage-actions button{border:1.5px solid var(--line);background:#fff;border-radius:999px;padding:6px 14px;cursor:pointer;font-size:.85rem}
.manage-actions button:hover{border-color:var(--forest)}
.manage-actions .delete-item{color:#b91c1c}
.manage-actions .delete-item:hover{border-color:#b91c1c}
#manage-list[data-view="grid"] .manage-item{flex-direction:column;align-items:stretch;text-align:center}
#manage-list[data-view="grid"] .manage-item img{width:100%;height:140px}
#manage-list[data-view="grid"] .manage-actions{justify-content:center}

/* Reveal */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .7s cubic-bezier(.2,.7,.2,1),transform .7s cubic-bezier(.2,.7,.2,1)}
.reveal.in{opacity:1;transform:none}

/* ===== Responsive ===== */
@media (max-width:1080px){
  .nav-links a,.nav-links button{padding:8px 10px}
}
@media (max-width:980px){
  .hero-grid,.about-grid,.visit-grid{grid-template-columns:1fr}
  .hero-art{max-width:460px;margin:8px auto 0}
  .manage-layout{grid-template-columns:1fr}
  #produce-editor{position:static}
  .steps{grid-template-columns:1fr}
  .steps li:not(:last-child)::after{content:"↓";right:auto;left:50%;top:auto;bottom:-24px;transform:translateX(-50%)}
  .map,.map iframe{min-height:320px}
}
@media (max-width:850px){
  .menu-toggle{display:flex}
  #site-menu{position:absolute;top:calc(100% + 8px);left:16px;right:16px;flex-direction:column;align-items:stretch;gap:12px;background:#fff;border:1px solid var(--line);border-radius:22px;padding:12px;box-shadow:var(--sh-2);display:none}
  body.menu-open #site-menu{display:flex}
  .nav-links{flex-direction:column;align-items:stretch}
  .nav-links a,.nav-links button{padding:12px 14px;text-align:left;font-size:1rem}
  .font-controls{align-self:flex-start}
  .controls{top:72px}
}
@media (max-width:640px){
  .wrap{padding:0 16px}
  header{padding:10px 16px}
  .logo img{width:44px;height:44px}
  .greet img{width:54px;height:54px}
  .greet p{font-size:.88rem;padding:8px 13px}
  .about .mascot{width:140px;height:140px}
  .hero{padding:28px 0 84px}
  .hero-actions{flex-direction:column}
  .hero-actions .cta{width:100%}
  .hero-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
  .hero-stats div{min-width:0;padding:10px 12px}
  .hero-stats dd{font-size:1.5rem}
  .hero-stats dd::after{content:""}
  .sticker{width:84px;height:84px}
  .sticker b{font-size:1.1rem}
  .tag-ready{left:6%;font-size:.8rem}
  #catalog{padding:72px 0 56px}
  .controls{position:static;flex-direction:column;align-items:stretch;padding:8px}
  #tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
  #tabs::-webkit-scrollbar{display:none}
  #tabs button{flex:none}
  .search{flex:none;flex-wrap:wrap}
  .search-box{max-width:none;flex:1 1 100%}
  #availability{flex:1}
  .mobile-size{display:flex;justify-content:space-between;align-items:center;margin:4px 2px 0;font-size:.85rem;color:var(--muted)}
  .mobile-size [role=group]{display:flex;gap:2px;background:#fff;border:1px solid var(--line);padding:3px;border-radius:999px}
  .mobile-size button{border:0;background:none;padding:5px 12px;border-radius:999px;cursor:pointer;font-size:.82rem}
  .mobile-size button[aria-pressed="true"]{background:var(--forest);color:#fff}
  body[data-mobile-size="small"] .product-grid{grid-template-columns:repeat(3,1fr);gap:8px}
  body[data-mobile-size="medium"] .product-grid{grid-template-columns:repeat(2,1fr);gap:12px}
  body[data-mobile-size="large"] .product-grid{grid-template-columns:1fr;gap:14px}
  body[data-mobile-size="small"] .product{padding:6px;border-radius:14px}
  body[data-mobile-size="small"] .product-info{padding:8px 2px 2px}
  body[data-mobile-size="small"] .product-info h3{font-size:.9rem}
  body[data-mobile-size="small"] .product-info small,body[data-mobile-size="small"] .updated-date{display:none}
  body[data-mobile-size="small"] .state{font-size:.68rem;padding:2px 7px}
  body[data-mobile-size="small"] .state::before{display:none}
  .about,.order{padding:72px 0}
  .values{grid-template-columns:1fr 1fr;gap:10px}
  .values article{padding:18px}
  .visit-card{padding:30px 22px}
  .visit-grid{width:calc(100% - 32px)}
  .visit-actions .cta{flex:1}
  .foot{flex-direction:column;align-items:flex-start}
  .fab{right:14px;bottom:14px}
}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}.reveal{opacity:1;transform:none}}
