:root{--bg:#fcf9f4;--surface:#fff;--ink:#26332a;--muted:#718079;--accent:#c65f43;--accent-deep:#a94730;--cream:#f6eee2;--mint:#eaf2e8;--line:#e8e6df;--shadow:0 14px 45px rgba(38,51,42,.08);font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin-top:0}h1,h2{letter-spacing:-.04em}h1{font-size:clamp(2.4rem,7vw,4.6rem);line-height:1.05}h2{font-size:clamp(1.7rem,4vw,2.4rem);line-height:1.15}p{line-height:1.65}.wrap{max-width:1180px;padding:0 24px;margin:auto}.topbar{padding:17px clamp(24px,6vw,7vw);display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px}.brand-mark{width:48px;height:48px;display:flex;align-items:center;justify-content:center;position:relative;border-radius:16px;background:var(--accent);color:white;font-size:31px;font-family:Georgia,serif;font-weight:700}.brand-mark span{position:absolute;right:5px;top:3px;font:15px system-ui}.brand-mark.large{height:64px;width:64px;font-size:40px;margin:0 auto 24px}.brand strong{font-size:1.38rem;font-weight:800;letter-spacing:-.035em}.brand small{display:block;color:var(--muted);font-size:.75rem;margin-top:1px}.top-link{font-size:.9rem;font-weight:650;color:#5b6c61}.top-link:hover{color:var(--accent)}.hero{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:40px;padding-top:70px;padding-bottom:78px}.hero-copy{padding:20px 0}.hero h1{margin:14px 0 22px}.hero h1 em{font-family:Georgia,serif;font-weight:400;color:var(--accent)}.lead{font-size:1.15rem;color:var(--muted);max-width:490px}.eyebrow{font-size:.73rem;font-weight:800;letter-spacing:.23em;color:var(--accent);margin-bottom:14px}.button{background:var(--accent);border:1px solid var(--accent);color:#fff;padding:14px 23px;border-radius:13px;font-weight:750;min-height:49px;box-shadow:0 6px 15px rgba(198,95,67,.13)}.button:hover{background:var(--accent-deep)}.hero-button{display:inline-flex;align-items:center;gap:26px;margin-top:18px}.hero-art{min-height:345px;border-radius:38px;position:relative;display:grid;place-items:center;overflow:hidden;background:radial-gradient(circle at 50% 45%,#f2cba2 0 18%,#ffe8d0 19% 43%,#f3e1d1 44% 58%,#ebcfbd 59% 59.8%,#faf0e7 60%)}.round-platter{filter:drop-shadow(0 18px 13px rgba(63,56,39,.22));font-size:9rem;transform:rotate(-12deg)}.floating-pill{position:absolute;bottom:28px;right:20px;background:white;padding:12px 16px;border-radius:40px;font-size:.82rem;font-weight:750;box-shadow:var(--shadow)}.section-top{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 26px}.section-top h2{margin:0 0 8px}.sunburst{color:#e5ae65}.muted{color:var(--muted);margin-bottom:0}.tiny-pill{white-space:nowrap;background:var(--mint);border-radius:50px;color:#377448;padding:10px 17px;font-size:.78rem;font-weight:750}.menu-content{padding-bottom:48px}.menu-tools{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:30px}.menu-tools input{flex:1;min-width:220px;max-width:390px;border:1px solid var(--line);background:white;border-radius:15px;padding:17px 18px;font-size:1rem;outline:0}.menu-tools input:focus,input:focus,textarea:focus,select:focus{border-color:var(--accent);outline:2px solid #c65f4326}.chips{display:flex;gap:9px;flex-wrap:wrap}.chip{border:1px solid var(--line);background:white;border-radius:99px;padding:11px 16px;font-weight:650;color:#52645a}.chip.active{background:var(--ink);color:#fff;border-color:var(--ink)}.category-heading{margin:35px 0 17px;font-size:1.5rem}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.product-card{position:relative;background:white;border:1px solid #eee9e0;border-radius:22px;overflow:hidden;box-shadow:0 9px 28px #26332a08}.product-card.unavailable .product-photo,.product-card.unavailable .product-details{filter:grayscale(.7);opacity:.5}.product-photo{height:205px;background:linear-gradient(145deg,#e6f0dd,#f9e6cd);display:grid;place-items:center;overflow:hidden;position:relative}.product-photo img{width:100%;height:100%;object-fit:cover}.photo-fallback{font-size:4rem}.product-details{padding:18px 20px 21px}.product-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.product-head h3{font-size:1.2rem;line-height:1.3;margin:0 0 7px}.price{color:var(--accent);white-space:nowrap;font-size:1.14rem;font-weight:850}.product-description{color:#67796e;font-size:.9rem;line-height:1.55;margin:8px 0 12px;white-space:pre-wrap}.grams{font-size:.84rem;color:#829187}.sold-out{position:absolute;top:14px;left:14px;z-index:2;padding:9px 12px;border-radius:10px;background:#26332aec;color:#fff;font-size:.87rem;font-weight:800}.no-order{display:inline-flex;background:var(--cream);padding:9px 12px;border-radius:9px;font-size:.79rem;color:#75837a;font-weight:750;margin-top:14px}.empty{padding:42px 26px;text-align:center;background:#fff;border:1px dashed #e3ddd2;border-radius:22px;color:var(--muted)}.info-strip{display:flex;justify-content:space-around;gap:15px;flex-wrap:wrap;margin-top:25px;padding-top:30px;padding-bottom:30px;border-top:1px solid var(--line);color:#6a8072;font-size:.88rem}.footer{padding-top:30px;padding-bottom:40px;color:#93a197;font-size:.83rem;text-align:center}
/* Admin */
.admin-main{padding-top:40px;padding-bottom:80px}.auth-panel{width:min(100%,470px);margin:38px auto;background:white;border:1px solid var(--line);padding:40px;border-radius:25px;box-shadow:var(--shadow);text-align:center}.auth-panel h1{font-size:2.5rem;margin:0 0 12px}.auth-panel .muted{margin-bottom:28px}.form-stack{text-align:left;display:grid;gap:17px}label{display:block;font-size:.9rem;font-weight:750;color:#4b5d50}label input:not([type=checkbox]):not([type=file]),label select,label textarea{display:block;margin-top:8px;width:100%;padding:13px 14px;border:1px solid #d9dfd9;border-radius:10px;background:#fff;min-height:48px;color:var(--ink);font-size:1rem;font-weight:450}label input[type=file]{display:block;width:100%;margin-top:8px;font-size:.85rem;font-weight:400;color:#66766b}.error{color:#c0392b;font-weight:700;min-height:18px;font-size:.88rem}.admin-welcome{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:30px}.admin-welcome h1{font-size:clamp(2rem,4vw,3rem);margin:0 0 10px}.user-spot{display:flex;align-items:center;gap:12px;font-size:.85rem;font-weight:750}.button-quiet{border:1px solid var(--line);background:#fff;padding:12px 17px;border-radius:12px;font-weight:750;color:#53645a}.button-quiet:hover{border-color:var(--accent);color:var(--accent)}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:0 0 32px}.metric{padding:20px 23px;background:white;border:1px solid var(--line);border-radius:18px}.metric span{display:block;color:var(--muted);font-size:.83rem;font-weight:650}.metric strong{display:block;font-size:2.1rem;margin-top:6px}.admin-tabs{display:flex;gap:9px;border-bottom:1px solid var(--line);margin-bottom:26px;padding-bottom:13px}.tab{background:transparent;border:0;padding:12px 16px;border-radius:12px;color:#748477;font-weight:750}.tab.active{background:var(--mint);color:#2e5942}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}.panel-heading h2{font-size:1.7rem;margin:0 0 8px}.table-list{background:white;border:1px solid var(--line);border-radius:18px;overflow:hidden}.table-row{display:flex;gap:15px;align-items:center;padding:17px 18px;border-bottom:1px solid var(--line)}.table-row:last-child{border-bottom:0}.row-thumb{height:66px;width:82px;flex:none;background:#faf0e5;border-radius:12px;overflow:hidden;display:grid;place-items:center;font-size:1.8rem}.row-thumb img{width:100%;height:100%;object-fit:cover}.row-content{min-width:0;flex:1}.row-title{font-weight:800;overflow-wrap:anywhere}.row-sub{color:var(--muted);font-size:.8rem;margin-top:5px;line-height:1.5}.row-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.small-btn{background:#fff;border:1px solid var(--line);border-radius:10px;padding:9px 12px;color:#4a5a50;font-size:.84rem;font-weight:700}.small-btn:hover{border-color:var(--accent)}.small-btn.danger{color:#ad493f}.status{padding:6px 10px;border-radius:9px;background:#e7f4ea;color:#347b4e;font-size:.75rem;font-weight:750}.status.off{background:#f2e8e5;color:#ac5443}.inline-form{display:flex;align-items:end;gap:14px;background:#fff;padding:20px;border:1px solid var(--line);border-radius:17px;margin-bottom:18px}.inline-form label{flex:1}.inline-form label:nth-child(2){flex:0 1 180px}
.item-dialog{width:min(94vw,690px);max-height:90dvh;border:0;border-radius:22px;padding:0;box-shadow:0 25px 100px #20312a55;color:var(--ink)}.item-dialog::backdrop{background:#1220188f}.item-form{padding:28px;display:grid;gap:18px}.modal-title{display:flex;justify-content:space-between;align-items:start}.modal-title h2{margin:0;font-size:1.7rem}.round-close{border:0;background:var(--cream);border-radius:50%;width:37px;height:37px;font-size:1rem}.two-fields{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.image-preview{width:100%;height:150px;background:#faf4e9;border:1px dashed #e0d8c8;border-radius:12px;display:grid;place-items:center;color:var(--muted);overflow:hidden}.image-preview img{height:100%;width:100%;object-fit:contain}.check-row{display:flex;align-items:center;gap:11px}.check-row input{width:21px;height:21px;accent-color:var(--accent)}.hint{font-size:.8rem;color:var(--muted);margin:-9px 0 0}.modal-actions{display:flex;justify-content:end;gap:10px;padding-top:10px}.toast{position:fixed;bottom:24px;right:24px;background:var(--ink);color:white;padding:15px 21px;box-shadow:var(--shadow);border-radius:12px;opacity:0;transform:translateY(16px);pointer-events:none;transition:.2s}.toast.visible{opacity:1;transform:translateY(0)}
@media(max-width:800px){.hero{grid-template-columns:1fr;padding-top:32px;padding-bottom:46px;gap:12px}.hero-art{min-height:220px}.round-platter{font-size:6rem}.product-grid{grid-template-columns:repeat(2,1fr)}.inline-form{flex-wrap:wrap}.inline-form label:nth-child(2){flex:1}.admin-welcome{align-items:flex-start;flex-direction:column}.panel-heading{align-items:flex-start;flex-direction:column}.metrics{gap:9px}}@media(max-width:540px){.topbar{padding:13px 18px}.brand-mark{width:40px;height:40px;font-size:25px;border-radius:12px}.brand strong{font-size:1.13rem}.brand small{font-size:.67rem}.top-link{font-size:.73rem}.wrap{padding-left:17px;padding-right:17px}.hero h1{font-size:2.65rem}.product-grid{grid-template-columns:1fr}.product-photo{height:225px}.tiny-pill{display:none}.menu-tools{gap:10px}.menu-tools input{max-width:100%}.metrics{grid-template-columns:1fr 1fr}.metric:last-child{grid-column:1/-1}.metric{padding:15px}.metric strong{font-size:1.7rem}.table-row{align-items:flex-start;flex-wrap:wrap}.row-actions{width:100%}.row-thumb{width:65px;height:65px}.two-fields{grid-template-columns:1fr}.item-form{padding:19px}.admin-tabs{overflow-x:auto}.tab{white-space:nowrap}.auth-panel{padding:24px}.modal-actions{flex-wrap:wrap}}


/* Spatientto Royal Gold 009 — selected permanent theme; preserve app/admin IDs and API */
:root{--bg:#090909;--surface:#181612;--ink:#f6ebd6;--muted:#b2a38c;--accent:#d8ad56;--accent-deep:#b88b3f;--cream:#242019;--mint:#2a241a;--line:#493a25;--shadow:0 18px 44px #0008;color-scheme:dark;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
body{background:radial-gradient(ellipse at 65% 0%,#322417 0%,#0c0b09 38%,#080808 75%);color:var(--ink)}
.topbar{background:#0b0a09eF;border-bottom:1px solid #74592c;padding-block:15px;position:relative;z-index:2}
.brand-mark{background:linear-gradient(140deg,#281f12,#5d431c);color:#f3d68e;border:1px solid #b38b4b;border-radius:50%;box-shadow:0 0 22px #c69b4125;font-size:29px}
.brand strong{font-family:Georgia,serif;color:#f6dfa5;font-size:1.55rem;font-weight:600;letter-spacing:.025em}
.brand small{color:#c2a66f;letter-spacing:.28em;font-weight:650;font-size:.64rem}
.top-link{color:#e6d1a7;border:1px solid #82622f;border-radius:999px;padding:12px 18px;background:#201a11}
.top-link:hover{color:#080808;background:var(--accent)}
.wrap{max-width:1350px}
.hero{grid-template-columns:1.1fr .9fr;min-height:420px;padding-top:50px;padding-bottom:55px;gap:25px;border-bottom:1px solid #6a512b}
.hero-copy{padding:12px 0}
.hero h1{font-size:clamp(3.6rem,6.5vw,6.8rem);font-family:Georgia,serif;letter-spacing:-.055em;line-height:1.02;font-weight:500;margin:12px 0 22px;text-shadow:0 4px 20px #0009}
.hero h1 em{font-style:normal;color:#e3b765;font-weight:400}
.eyebrow{color:#d4ab62;font-size:.76rem;letter-spacing:.25em}
.lead{color:#c6bba9;max-width:510px}
.button,.button-quiet,.small-btn,.tab{border-radius:999px;transition:background .2s,color .2s,transform .2s,box-shadow .2s}
.button{background:linear-gradient(120deg,#d3a454,#f3d38c,#ae7d36);color:#16110a;border-color:#cda45b;box-shadow:0 6px 22px #d8ac4b30}
.button:hover{background:#f6d690;transform:translateY(-2px);box-shadow:0 8px 28px #d8ac4b45}
.hero-button{margin-top:15px}
.hero-art{min-height:330px;background:radial-gradient(ellipse at center,#5a4321 0%,#261e13 38%,#0d0c0a 68%);border:1px solid #987744;border-radius:35px;box-shadow:inset 0 0 70px #0009,0 18px 50px #0007;isolation:isolate}
.hero-art:before,.hero-art:after{content:"";position:absolute;inset:28px;border:1px solid #b58a4666;border-radius:30px;pointer-events:none}
.hero-art:after{inset:43px;border-radius:50%;border-color:#d6a85f55}
.royal-circle{font:italic 9rem Georgia,serif;color:#e6be77;text-shadow:0 0 45px #a88135a1}
.royal-crown{position:absolute;font-size:4rem;color:#f1d08d;top:35px}
.floating-pill{background:#17120d;color:#edd49e;border:1px solid #99703e;bottom:20px;right:50%;transform:translateX(50%);box-shadow:0 0 18px #0008;letter-spacing:.19em}
.section-top{padding-top:50px;margin-bottom:24px}.section-top h2{font:normal clamp(2.2rem,4vw,3.3rem) Georgia,serif;letter-spacing:.01em;color:#f3deaf}.sunburst{color:#d6a44f}.tiny-pill{background:#292116;color:#e2be78;border:1px solid #8a682e}.muted{color:var(--muted)}
.menu-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;align-items:start}
.menu-sidebar{position:sticky;top:15px;max-height:calc(100vh - 30px);overflow-y:auto;border:1px solid #806032;background:linear-gradient(145deg,#1c1812,#11100e);border-radius:23px;padding:18px 13px;box-shadow:0 20px 35px #0007;scrollbar-width:thin;scrollbar-color:#72552b #19150f}
.sidebar-head{font:700 .77rem system-ui;letter-spacing:.2em;color:#e2c287;border-bottom:1px solid #624823;padding:7px 9px 16px;margin-bottom:12px;display:flex;justify-content:space-between}
.sidebar-foot{font:italic 1.5rem Georgia,serif;color:#a98b58;text-align:center;padding:25px 0 8px;border-top:1px solid #604925;margin-top:20px}.sidebar-foot small{display:block;font:600 .6rem system-ui;letter-spacing:.27em;margin-top:5px}
.chips{display:flex;flex-direction:column;flex-wrap:nowrap;gap:7px}
.chip{width:100%;text-align:left;background:transparent;border:1px solid transparent;color:#d3c4aa;border-radius:14px;padding:12px 14px;font-size:.88rem;line-height:1.4}
.chip:hover{background:#342917;border-color:#806132;color:#f8dfae}
.chip.active{background:linear-gradient(100deg,#e9c37b,#b7893c);border-color:#efca89;color:#14100b;box-shadow:0 4px 16px #bb893a3b}
.menu-main{min-width:0}.menu-tools{margin-bottom:8px}.menu-tools input{width:100%;max-width:none;background:#181611;border:1px solid #76603b;color:#f7ead1;border-radius:999px;padding:16px 23px;box-shadow:inset 0 0 11px #0005}.menu-tools input::placeholder{color:#ab997b}.menu-tools input:focus{outline:2px solid #d4aa6199}
.category-heading{font:normal 1.8rem Georgia,serif;color:#edcd90;border-bottom:1px solid #4e3a20;padding-bottom:12px;margin:34px 0 18px}
.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}
.product-card{background:linear-gradient(155deg,#211c15,#11100e);border:1px solid #71552d;border-radius:24px;box-shadow:0 14px 30px #0007;transition:transform .2s,border-color .2s;overflow:hidden}
.product-card:hover{transform:translateY(-3px);border-color:#c19a55}
.product-photo{height:210px;background:radial-gradient(circle,#4b3c25,#16120e);border-bottom:1px solid #6c4d26}
.product-photo img{object-fit:contain;background:#17130f}
.product-details{padding:18px 17px 19px}.product-head{flex-direction:column;gap:7px}.product-head h3{font:normal 1.23rem Georgia,serif;color:#f3e1bc;line-height:1.3}.price{color:#f0c373;font-size:1.15rem}
.product-description{color:#b8aa90;font-size:.86rem}.grams{color:#bea57c}.no-order{background:#2b2318;border:1px solid #664e2d;color:#bda578;border-radius:999px;font-size:.75rem}
.sold-out{background:#271711ed;color:#ffcb99;border:1px solid #965438;border-radius:999px}.empty{background:#211b13;border-color:#70552d}.info-strip{color:#baa177;border-color:#4e3c23}.footer{color:#a99473}
/* Admin receives the same Royal Gold palette without changing functionality */
.auth-panel,.metric,.table-list,.inline-form{background:#1b1712;border-color:#5d4628;color:var(--ink)}
.auth-panel{box-shadow:0 25px 70px #0009}.brand-mark.large{border-radius:50%}
label{color:#dfc9a3}
label input:not([type=checkbox]):not([type=file]),label select,label textarea{background:#100f0d;border-color:#6a5434;color:#f0e4d0;border-radius:16px}
.button-quiet,.small-btn{background:#241d14;border-color:#79603d;color:#e2bf80}.button-quiet:hover,.small-btn:hover{background:#3c2e1b;color:#ffdfa3}
.metric{border-radius:20px}.metric strong{color:#f2d398}.admin-tabs{border-color:#58452a}.tab{color:#bfa981}.tab.active{background:#574022;color:#ffdf9b}
.table-row{border-color:#493923}.row-sub{color:#b6a181}.row-thumb{background:#241d13}.status{background:#2d3929;color:#b5e7b0}.status.off{background:#38231b;color:#e6a58b}
.item-dialog{background:#1a1610;border:1px solid #896836;box-shadow:0 25px 80px #000c;color:var(--ink)}.item-dialog::backdrop{background:#000b}.round-close{background:#372715;color:#f5d293}.image-preview{background:#15120e;border-color:#70532e}.check-row input{accent-color:#d5a251}.toast{background:#302313;color:#fbe4b3}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1050px){.menu-layout{grid-template-columns:205px minmax(0,1fr);gap:15px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-photo{height:190px}}
@media(max-width:720px){.hero{grid-template-columns:1fr;min-height:0;padding-top:28px;padding-bottom:26px}.hero-art{min-height:155px}.royal-circle{font-size:4rem}.royal-crown{font-size:2.3rem;top:10px}.floating-pill{bottom:9px;padding:7px 12px}.hero h1{font-size:clamp(2.8rem,10vw,4.3rem)}.menu-layout{grid-template-columns:125px minmax(0,1fr);gap:10px}.menu-sidebar{padding:10px 6px;border-radius:15px;top:9px;max-height:calc(100vh - 18px)}.sidebar-head{font-size:.59rem;padding:7px 5px 11px;letter-spacing:.07em}.chip{padding:10px 8px;font-size:.75rem;border-radius:11px}.sidebar-foot{font-size:1rem}.menu-tools input{min-width:0;font-size:.85rem;padding:13px 12px}.product-grid{grid-template-columns:1fr;gap:13px}.product-photo{height:180px}.section-top{padding-top:30px}.section-top h2{font-size:2rem}.category-heading{font-size:1.45rem;margin-top:24px}.product-card{border-radius:17px}.product-details{padding:13px}.product-head h3{font-size:1.08rem}}
@media(max-width:400px){.wrap{padding-left:10px;padding-right:10px}.menu-layout{grid-template-columns:106px minmax(0,1fr);gap:7px}.chip{font-size:.69rem;padding:9px 6px}.sidebar-head{font-size:.54rem}.product-photo{height:145px}.product-head h3{font-size:1rem}.product-description{font-size:.77rem}.topbar{padding-inline:12px}.brand strong{font-size:1.05rem}.top-link{padding:9px 10px;font-size:.7rem}}
@media(prefers-reduced-motion:reduce){.product-card,.button,.button-quiet,.small-btn,.tab{transition:none}}
