/* V8 — Foram's Kitchen. Minimal, food-first, logo-matched design. */
:root{--ink:#33241e;--muted:#74665e;--dark:#542a19;--gold:#966136;--paper:#fbf8f4;--line:#e8ded5;--radius:18px}
body{font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:-.015em;-webkit-font-smoothing:antialiased}button,input,textarea,select{letter-spacing:inherit}button{transition:background-color .16s,border-color .16s,transform .16s}button:active:not(:disabled){transform:scale(.98)}
.storefront{--paper:#fbf8f4;--ink:#33241e;--muted:#74665e;--dark:#542a19;--gold:#966136;--line:#e8ded5;background:var(--paper)}
.storefront .top{background:#fbf8f4f5;border-color:var(--line);box-shadow:none}.storefront .top-inner{height:75px}.storefront .brand img,.studio .brand img{background:#fff;border-radius:12px;mix-blend-mode:multiply}.storefront .brand b{font-weight:720;color:#472517}.storefront .brand small{color:#74665e}.storefront .iconbtn{background:#fffdfb;border-color:var(--line);color:#542a19}.storefront .liked{color:#a3453c}.storefront .btn,.storefront .search-submit{border-radius:999px;background:#542a19;border-color:#542a19;color:white;min-height:42px;font-weight:650}.storefront .btn.light{background:#fffdfb;border-color:#cdbcb0;color:#542a19}.storefront .btn.danger{background:#fff;color:#a34437;border-color:#e8c8c3}.storefront .intro-kgs{background:#f2e7dc;border:0;border-radius:22px;box-shadow:none}.storefront .intro-kgs h1{color:#472517;letter-spacing:-.055em}.storefront .intro-kgs h1 em{color:#7c492a}.storefront .home-kicker{color:#805438}.storefront .intro-kgs .search{box-shadow:0 4px 20px #542a190a;border-color:#e4d6c9}.storefront .section-head h2{font-family:Georgia,serif;color:#472517;font-weight:400;letter-spacing:-.04em}.storefront .section-head p{color:var(--muted)}.storefront .filter-tabs button{background:#fffdfb;color:#6b5549;border:1px solid #e4d8cf;border-radius:999px}.storefront .filter-tabs button.active{background:#542a19;color:#fff;border-color:#542a19}.storefront .category{border:0;box-shadow:none;border-radius:18px}.storefront .category::after{background:linear-gradient(0deg,#24130ed9, #24130e66 40%,transparent 76%)}.storefront .category.active{outline:2px solid #9a6a48;outline-offset:3px;box-shadow:none}.storefront .category-title{letter-spacing:-.02em;font-weight:650}.storefront .category .cat-name small{font-weight:400}.storefront .product{border:1px solid #e9dfd6;border-radius:18px;box-shadow:none;background:#fff}.storefront .product .photo{background:#f5efe8;aspect-ratio:1.16}.storefront .product .info{padding:14px;gap:7px}.storefront .product .info h3{font-weight:680;line-height:1.3;min-height:0;letter-spacing:-.025em}.storefront .product .info small:empty{display:none}.storefront .product .info .btn{font-size:13px;min-height:40px}.storefront .product .like{width:36px;height:36px}.price-line{display:flex;align-items:center;gap:7px;flex-wrap:wrap;line-height:1.15}.price-line .price{font-weight:750;font-size:19px;color:#472517;letter-spacing:-.045em}.price-line .original-price{font-size:12px;color:#81746b}.price-line .save{font-size:10px;color:#67401f;font-weight:650;background:#f1dfc3;padding:4px 7px;border-radius:999px}.price-line .price-unknown{font-size:13px;letter-spacing:0}.storefront .assistant{background:#f3e9de;border:1px solid #e9d9ca}.storefront .footer{background:#f2e9df}.storefront .bottom-nav{background:#fffdfbf5}.storefront .bottom-nav button:first-child{color:#542a19}.storefront .bottom-nav button{color:#766357}.storefront .panel{background:#fffdfb}.storefront .field input,.storefront .field textarea,.storefront .field select{border-radius:12px;border-color:var(--line)}
/* Product detail: image first, floating actions, clear hierarchy, sticky mobile CTA. */
.storefront .detail-v8{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(24px,5vw,65px);margin:30px auto 50px;max-width:1080px;align-items:start}.detail-photo-frame{position:relative;isolation:isolate;border-radius:24px;overflow:hidden;background:#f4ece4}.storefront .detail-v8 .photo{border:0;border-radius:0;width:100%;aspect-ratio:1.08;background:#f4ece4;padding:0;touch-action:pan-y}.storefront .detail-v8 .photo img{object-fit:contain;display:block}.detail-top-actions{position:absolute;top:14px;left:14px;right:14px;display:flex;justify-content:space-between;pointer-events:none}.detail-top-actions button{pointer-events:auto}.detail-heart{position:absolute!important;right:14px;bottom:14px}.detail-dots{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:2px;padding:3px 6px;border-radius:40px;background:#fffdfbee}.detail-dots button{width:22px;height:23px;padding:0;display:grid;place-items:center}.detail-dots button::after{content:'';width:6px;height:6px;border-radius:50%;background:#cfb9a6}.detail-dots button.active::after{background:#542a19;width:12px;border-radius:10px}.detail-v8 .thumbs{justify-content:center;gap:8px}.detail-v8 .thumbs button{border-radius:12px;border:1px solid #e6d9cf;width:64px;height:64px}.detail-v8 .thumbs button.active{border:2px solid #542a19}.storefront .detail-v8 .detail-info{display:flex;flex-direction:column;gap:13px;padding:8px 0 0}.detail-kicker{font-size:10px;text-transform:uppercase;letter-spacing:.13em;font-weight:700;color:#986d4e}.storefront .detail-v8 h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(32px,4vw,45px);font-weight:400;line-height:1.08;letter-spacing:-.045em;color:#472517;overflow-wrap:anywhere}.detail-brand{color:var(--muted);font-size:14px}.detail-pricing .price-line{gap:11px}.detail-pricing .price-line .price{font-size:33px}.detail-pricing .price-line .price-unknown{font-size:20px}.detail-pricing .price-line .original-price{font-size:17px}.detail-pricing .price-line .save{font-size:12px;padding:6px 10px}.savings-note{color:#806149;font-size:12px;margin-top:-7px}.detail-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));background:#f3ebe2;border:1px solid #ebdfd3;border-radius:16px;overflow:hidden;margin-top:4px}.product-fact{display:flex;flex-direction:column;gap:4px;padding:13px 15px;min-width:0;overflow-wrap:anywhere}.product-fact:nth-child(2n){border-left:1px solid #e6d9ce}.product-fact:nth-child(n+3){border-top:1px solid #e6d9ce}.product-fact span{font-size:11px;color:#7e6b5d}.product-fact strong{font-size:14px;font-weight:650;color:#472517}.quantity-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 0}.quantity-row strong{font-size:14px}.quantity-row small{display:block;font-size:11px}.quantity-step{display:flex;align-items:center;border:1px solid #ded0c3;border-radius:999px;background:#fffdfb;overflow:hidden;flex:none}.quantity-step button{width:42px;height:42px;font-size:21px;padding:0;color:#542a19}.quantity-step output{font-weight:700;font-variant-numeric:tabular-nums;min-width:32px;text-align:center}.detail-estimate{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:var(--muted);padding:0 0 10px}.detail-estimate[hidden]{display:none}.detail-estimate strong{font-size:16px;color:#472517}.detail-accordion{border-top:1px solid #e6dacf;padding:0;margin:0}.detail-accordion summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;font-weight:650;font-size:14px;color:#472517}.detail-accordion summary::-webkit-details-marker{display:none}.detail-accordion summary::after{content:'+';font-size:19px;font-weight:400;color:#87644d}.detail-accordion[open] summary::after{content:'−'}.detail-accordion p{white-space:pre-line;overflow-wrap:anywhere;font-size:13px;color:#6e6056;line-height:1.6;padding:0 0 13px}.detail-cta{display:grid;grid-template-columns:1fr 1.25fr;gap:10px;padding:8px 0}.storefront .detail-cta .btn{min-height:50px;font-size:14px}.detail-cta svg{width:18px;height:18px}.product-page .bottom-nav{display:none}.product-page .footer{margin-top:20px}.product-page .toast{z-index:60}
/* Studio: same warm identity without changing owner workflows. */
.studio{--ink:#33241e;--dark:#542a19;--paper:#f8f4ef;--muted:#75665c;--line:#e6dbd1;--gold:#966136;background:var(--paper)}.studio .admin-nav{background:#472517;box-shadow:none}.studio .admin-nav button{color:#f1e6dd}.studio .admin-nav button.active{background:#ebd5ba;color:#472517}.studio .nav-caption,.studio .nav-footer,.studio .nav-footer small{color:#cfb9aa}.studio .card,.studio #productForm{border-color:#e7ddd4;box-shadow:none}.studio .btn{background:#542a19;border-color:#542a19;border-radius:999px}.studio .btn.light{background:white;color:#542a19;border-color:#e2d5ca}.studio .btn.danger{background:#fff4f1;color:#a03939;border-color:#efd2cc}.studio .field input,.studio .field textarea,.studio .field select,.studio .control{background:#fffdfb;border-color:#e5d9ce;color:#33241e}.studio .field input:focus,.studio .field textarea:focus,.studio .field select:focus{outline-color:#ead9c9;border-color:#9c7457}.studio .scan-box{background:#f4ece3;border-color:#e5d6c6}.studio .scan-title,.studio .scan-box .status,.studio .dropzone strong{color:#542a19}.studio .dropzone{background:#fbf7f1;border-color:#cdb7a2}.studio .dropzone:hover,.studio .dropzone.dragging{background:#f3e7d9;border-color:#9c7457}.studio .upload-icon{background:#eedfce;color:#542a19}.studio .photo-admin img{background:#f4ece3}.studio .toast{background:#542a19}.studio .studio-hero{background-color:#542a19}.studio .studio-kicker{color:#986d4e}
@media(max-width:700px){.storefront .top-inner{height:65px}.storefront .detail-v8{grid-template-columns:1fr;gap:18px;margin:10px auto 30px}.detail-photo-frame{border-radius:19px}.storefront .detail-v8 .photo{aspect-ratio:1.14}.detail-top-actions{top:10px;left:10px;right:10px}.detail-heart{right:10px;bottom:10px}.storefront .detail-v8 .detail-info{padding:0 3px;gap:10px}.storefront .detail-v8 h1{font-size:31px}.detail-pricing .price-line .price{font-size:30px}.detail-pricing .price-line .price-unknown{font-size:19px}.detail-cta{position:fixed;z-index:16;bottom:0;left:0;right:0;background:#fffdfbf5;border-top:1px solid #e5d9ce;backdrop-filter:blur(12px);padding:10px 14px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -6px 22px #542a1909}.product-page{padding-bottom:84px!important}.product-page .toast{bottom:85px}.storefront .product .info{padding:10px;gap:6px}.storefront .product .info h3{font-size:14px}.storefront .product .info .btn{font-size:11px;padding:8px 7px;min-height:37px}.storefront .product .info .iconbtn{width:33px;height:33px}.storefront .product .info .ico{width:17px;height:17px}.price-line .price{font-size:17px}.price-line .price-unknown{font-size:12px}.price-line .save{font-size:9px}.storefront .category{border-radius:15px}.detail-v8 .thumbs button{width:48px;height:48px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* V10: full photograph, compact footer and manual pack pricing. */
.storefront .detail-v8 .detail-media{min-width:0}
.storefront .detail-v8 .detail-photo-frame{background:#fffdfb;border:1px solid var(--line);border-radius:18px}
.storefront .detail-v8 .photo,.storefront .product .photo{display:block;position:relative;width:100%;height:auto;min-height:0;aspect-ratio:1/1;overflow:hidden;background:#fffdfb;padding:0}
.storefront .detail-v8 .photo img,.storefront .product .photo img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;transform:none}
.storefront .detail-v8 .photo .empty-img,.storefront .product .photo .empty-img{position:absolute;inset:0;display:grid;place-items:center}
.storefront .detail-v8 .photo{aspect-ratio:1/1}
.storefront .detail-v8 .thumbs{margin-top:9px;overflow-x:auto;max-width:100%}
.storefront .detail-v8 .thumbs button{flex:none;background:#fffdfb}
.photo-hint{font-size:11px;color:var(--muted);text-align:center;margin:6px 0 0}
.detail-top-actions .iconbtn,.detail-heart{width:38px;height:38px;background:#fffdfbf2;box-shadow:0 2px 12px #33241e10}
.storefront .footer{padding:18px 0;background:#f2e9df;border-top:1px solid var(--line)}
.storefront .footer-content{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.storefront .footer-brand{gap:9px;min-width:0}
.storefront .footer-brand img{width:40px;height:40px;border-radius:8px;flex:none}
.storefront .footer-brand strong{font-size:13px;color:var(--dark)}
.storefront .footer-brand small{font-size:11px;letter-spacing:0;color:var(--muted);line-height:1.3}
.storefront .footer-links{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;font-size:12px}
.storefront .footer-links a{text-decoration:none}
.storefront .footer-links button{padding:5px 0;color:inherit}
.storefront .footer-meta{font-size:11px;margin:10px 0 0;border-top:1px solid #e5d8cc;padding-top:10px;line-height:1.45}
.storefront.product-page .footer{margin-top:0}
.quantity-step input{width:50px;min-width:0;height:42px;border:0;background:transparent;padding:0;text-align:center;color:var(--dark);font:inherit;font-weight:700;font-variant-numeric:tabular-nums;appearance:textfield;-moz-appearance:textfield}
.quantity-step input::-webkit-inner-spin-button,.quantity-step input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.studio .pack-editor,.studio .pack-rate{border:1px solid #e6dbd1;border-radius:16px;padding:14px;background:#fbf8f4;margin:14px 0}
.pack-editor-head b,.pack-rate summary{font-weight:650;color:var(--dark)}.pack-quick{display:flex;flex-wrap:wrap;gap:6px}.pack-quick .btn{min-height:33px}.pack-rate summary{cursor:pointer}.pack-rate[open] summary{margin-bottom:10px}
@media(max-width:700px){.storefront .detail-v8{margin:10px auto 14px;gap:15px}.storefront .footer{padding:14px 0 15px}.storefront .footer-content{gap:8px;flex-direction:column;align-items:flex-start}.storefront .footer-meta{margin-top:7px;padding-top:8px}.storefront{padding-bottom:calc(62px + env(safe-area-inset-bottom,0px))}.storefront.product-page{padding-bottom:calc(71px + env(safe-area-inset-bottom,0px))!important}.storefront .detail-cta{padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px));gap:8px}.storefront .detail-cta .btn{min-height:48px}.detail-heart{bottom:9px;right:9px}.detail-top-actions{top:9px;left:9px;right:9px}.studio .pack-editor,.studio .pack-rate{padding:10px}}

/* V11 pack options */
.pack-selector{margin:20px 0}.pack-selector>strong{display:block;font-size:14px;margin-bottom:10px}.pack-choices{display:flex;flex-wrap:wrap;gap:8px}.pack-choice{min-width:86px;padding:11px 14px;border:1px solid #d8c8ba;border-radius:16px;background:#fffaf5;color:#542a19;display:flex;flex-direction:column;align-items:center;gap:3px;cursor:pointer}.pack-choice[aria-pressed="true"]{border-color:#542a19;background:#efe0d0;box-shadow:inset 0 0 0 1px #542a19}.pack-choice small{font-size:12px;color:inherit}.pack-choice:focus-visible{outline:2px solid #966136;outline-offset:2px}.extra-pack{border:1px solid #e6d9cd;border-radius:14px;background:white;padding:14px;margin-top:12px}.pack-option-inputs{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:10px}.extra-pack .pack-quick{margin-top:8px}#extraPacksSection{scroll-margin-top:100px}@media(max-width:600px){.pack-option-inputs{grid-template-columns:1fr 1fr}.pack-option-inputs>.field:first-child{grid-column:1/-1}.pack-choice{min-width:76px;padding:10px 12px}}
