:root{--primary:#8d5a3b;--secondary:#d5a85b;--bg:#f7f3ec;--ink:#2b241f;--muted:#756b62;--card:#fffdf9;--line:#e9e0d5;--shadow:0 18px 60px rgba(83,57,34,.11);--radius:24px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',system-ui,sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer}.shell{min-height:100vh}.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 max(18px,calc((100% - 1180px)/2));background:rgba(247,243,236,.88);backdrop-filter:blur(14px);border-bottom:1px solid rgba(126,97,67,.1);position:sticky;top:0;z-index:10}.brand{display:flex;align-items:center;gap:11px;color:var(--ink);text-decoration:none}.brand-mark{width:38px;height:38px;display:grid;place-items:center;background:var(--primary);color:#fff4df;border-radius:13px;font-size:20px;box-shadow:0 8px 20px #8d5a3b35}.brand b{display:block;font-family:'Playfair Display',serif;font-size:19px;line-height:1}.brand small{display:block;color:var(--muted);font-size:10px;letter-spacing:.1em;text-transform:uppercase;margin-top:5px}.top-actions{display:flex;align-items:center;gap:13px}.admin-link{font-size:12px;color:var(--muted);text-decoration:none}.cart-button{position:relative;border:0;background:var(--ink);color:#fff;border-radius:15px;width:47px;height:43px;font-size:19px;box-shadow:0 10px 20px #2b241f20}.cart-button i{position:absolute;right:-5px;top:-6px;min-width:19px;height:19px;padding:0 5px;border-radius:20px;background:var(--secondary);color:var(--ink);font-style:normal;font-size:11px;display:grid;place-items:center;font-weight:700}.hero{max-width:1180px;margin:0 auto;padding:54px 18px 26px;display:grid;grid-template-columns:1.15fr .85fr;gap:40px;align-items:center}.eyebrow{color:var(--primary);font-weight:700;font-size:11px;text-transform:uppercase;letter-spacing:.16em}.hero h1{font:800 clamp(40px,6vw,78px)/.98 'Playfair Display',serif;letter-spacing:-.055em;margin:14px 0 17px;max-width:680px}.hero h1 em{color:var(--primary);font-style:normal}.hero p{font-size:16px;line-height:1.6;color:var(--muted);max-width:530px;margin:0}.hero-art{min-height:280px;border-radius:38px;background:linear-gradient(145deg,#c9824b,#4a2f20);position:relative;overflow:hidden;box-shadow:var(--shadow)}.hero-art:before{content:'🧀';position:absolute;font-size:145px;right:30px;bottom:-12px;filter:drop-shadow(0 18px 14px #2b130888);transform:rotate(-13deg)}.hero-art:after{content:'A seleção da semana';position:absolute;top:24px;left:25px;color:#fff5e4;border:1px solid #ffffff55;border-radius:30px;padding:10px 14px;font-size:11px}.hero-note{position:absolute;bottom:24px;left:25px;color:#fff5e4;font:600 18px 'Playfair Display',serif}.shop{max-width:1180px;margin:0 auto;padding:20px 18px 70px}.toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:22px;flex-wrap:wrap}.search{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:14px 16px 14px 43px;min-width:min(100%,320px);color:var(--ink);outline:0}.search-wrap{position:relative}.search-wrap span{position:absolute;left:15px;top:12px;color:var(--muted)}.filters{display:flex;gap:7px;overflow:auto;padding-bottom:4px}.chip{white-space:nowrap;border:1px solid var(--line);background:transparent;color:var(--muted);padding:9px 13px;border-radius:30px;font-size:12px}.chip.active,.chip:hover{background:var(--ink);border-color:var(--ink);color:#fff}.section-heading{display:flex;align-items:end;justify-content:space-between;margin:25px 0 16px}.section-heading h2{font:700 30px 'Playfair Display',serif;margin:0}.section-heading span{font-size:12px;color:var(--muted)}.products{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.product{background:var(--card);border:1px solid #eadfd3;border-radius:var(--radius);overflow:hidden;box-shadow:0 8px 30px #53392209;transition:transform .25s,box-shadow .25s}.product:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.product-img{height:220px;background:#ded1c0;position:relative;overflow:hidden}.product-img img{width:100%;height:100%;object-fit:cover;transition:transform .45s}.product:hover .product-img img{transform:scale(1.06)}.product-tag{position:absolute;left:14px;top:14px;background:#fffdf9e8;color:var(--primary);font-size:10px;font-weight:700;padding:7px 9px;border-radius:20px}.product-body{padding:17px}.product-body h3{margin:0 0 7px;font:700 21px 'Playfair Display',serif}.product-body p{margin:0;color:var(--muted);font-size:13px;line-height:1.45;min-height:38px}.tags{display:flex;flex-wrap:wrap;gap:5px;margin:13px 0}.tag{font-size:10px;color:var(--primary);background:#f4eadc;border-radius:30px;padding:5px 8px}.product-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px}.price{font-weight:700;font-size:17px}.price small{display:block;font-weight:400;color:var(--muted);font-size:10px}.add{border:0;background:var(--primary);color:white;border-radius:13px;padding:11px 13px;font-weight:700;font-size:12px;transition:.2s}.add:hover{background:#70442b;transform:translateY(-1px)}.empty{padding:45px;text-align:center;color:var(--muted);background:var(--card);border:1px dashed var(--line);border-radius:20px;grid-column:1/-1}.drawer-backdrop{position:fixed;inset:0;background:#20150d66;z-index:20;opacity:0;pointer-events:none;transition:.25s}.drawer-backdrop.open{opacity:1;pointer-events:auto}.drawer{position:absolute;right:0;top:0;height:100%;width:min(480px,100%);background:var(--card);padding:23px;overflow:auto;transform:translateX(100%);transition:.3s;box-shadow:-15px 0 50px #27170c20}.drawer-backdrop.open .drawer{transform:none}.drawer-head{display:flex;justify-content:space-between;align-items:center}.drawer h2{font:700 28px 'Playfair Display',serif;margin:0}.close{border:0;background:#f2eadf;border-radius:12px;width:36px;height:36px;color:var(--ink)}.cart-items{display:grid;gap:10px;margin:22px 0}.cart-row{display:grid;grid-template-columns:54px 1fr auto;gap:11px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}.cart-thumb{width:54px;height:54px;border-radius:13px;object-fit:cover}.cart-row strong{font-size:13px}.cart-row small{color:var(--muted);display:block;font-size:11px;margin-top:4px}.qty{display:flex;align-items:center;gap:7px;margin-top:6px}.qty button{width:22px;height:22px;border:1px solid var(--line);background:transparent;border-radius:7px}.remove{border:0;background:none;color:#a65e4e;font-size:11px}.total-row{display:flex;justify-content:space-between;margin:18px 0 20px;font-weight:700}.checkout-form{display:grid;gap:10px}.field{display:grid;gap:6px}.field label{font-size:11px;color:var(--muted);font-weight:700}.field input,.field textarea,.field select{width:100%;border:1px solid var(--line);background:#fffaf3;border-radius:13px;padding:12px;outline:0}.field textarea{min-height:75px;resize:vertical}.primary-btn{border:0;background:var(--ink);color:#fff;border-radius:14px;padding:14px;font-weight:700}.success{padding:35px 8px;text-align:center}.success .check{width:62px;height:62px;background:#d8edd7;color:#427547;border-radius:50%;display:grid;place-items:center;font-size:28px;margin:0 auto 14px}.success h3{font:700 28px 'Playfair Display',serif;margin:0 0 8px}.success p{color:var(--muted);font-size:13px;line-height:1.5}.wa{display:inline-flex;background:#2b9f65;color:white;text-decoration:none;border-radius:13px;padding:12px 15px;font-size:12px;font-weight:700;margin-top:12px}.toast{position:fixed;bottom:20px;left:50%;transform:translate(-50%,20px);background:var(--ink);color:#fff;padding:12px 16px;border-radius:13px;font-size:12px;z-index:50;opacity:0;pointer-events:none;transition:.25s}.toast.show{opacity:1;transform:translate(-50%,0)}footer{max-width:1180px;margin:auto;padding:20px 18px 32px;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:var(--muted);font-size:11px}footer a{color:var(--primary);text-decoration:none}.admin-page{min-height:100vh;background:#f7f3ec}.admin-shell{max-width:1240px;margin:auto;padding:24px 18px 60px}.admin-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.admin-top h1{font:700 34px 'Playfair Display',serif;margin:6px 0}.admin-top p{margin:0;color:var(--muted);font-size:12px}.admin-nav{display:flex;gap:7px;overflow:auto;margin-bottom:20px}.admin-tab{white-space:nowrap;border:1px solid var(--line);background:var(--card);border-radius:12px;padding:11px 15px;font-size:12px;color:var(--muted)}.admin-tab.active{background:var(--ink);border-color:var(--ink);color:#fff}.panel{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:18px;box-shadow:0 8px 30px #53392208}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:17px}.stat{background:#fff8ed;border-radius:16px;padding:15px}.stat span{display:block;color:var(--muted);font-size:11px}.stat strong{display:block;font:700 27px 'Playfair Display',serif;margin-top:7px}.admin-table{width:100%;border-collapse:collapse;font-size:12px}.admin-table th{text-align:left;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.08em}.admin-table th,.admin-table td{padding:13px 8px;border-bottom:1px solid var(--line);vertical-align:top}.status{border:0;border-radius:20px;padding:6px 9px;font-size:10px;background:#f1e5d6;color:var(--primary)}.demand{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:15px}.demand-item{padding:11px;border-radius:13px;background:#f5eee4;font-size:11px;display:flex;justify-content:space-between;gap:8px}.admin-actions{display:flex;gap:8px;justify-content:flex-end;margin-bottom:15px;flex-wrap:wrap}.outline{background:transparent;border:1px solid var(--line);border-radius:11px;padding:10px 12px;font-size:11px}.danger{color:#a95149}.product-admin{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.product-row{display:flex;gap:12px;padding:12px;background:#fff8ef;border-radius:15px;align-items:center}.product-row img{width:64px;height:64px;border-radius:12px;object-fit:cover}.product-row h3{font-size:13px;margin:0 0 4px}.product-row p{font-size:11px;color:var(--muted);margin:0}.product-row .row-end{margin-left:auto;display:flex;gap:5px}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.form-grid .full{grid-column:1/-1}.form-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:12px}.login{min-height:100vh;display:grid;place-items:center;padding:20px;background:radial-gradient(circle at 80% 10%,#d7a85c55,transparent 35%),var(--bg)}.login-card{max-width:420px;width:100%;background:var(--card);border:1px solid var(--line);border-radius:25px;padding:28px;box-shadow:var(--shadow)}.login-card h1{font:700 34px 'Playfair Display',serif;margin:5px 0}.login-card p{color:var(--muted);font-size:13px;line-height:1.5}.login-card form{display:grid;gap:12px;margin-top:20px}.notice{font-size:11px;color:#a95149}.section-title{font:700 23px 'Playfair Display',serif;margin:0 0 14px}.color-row{display:flex;gap:10px;align-items:center}.color-row input[type=color]{padding:2px;width:45px;height:38px;border:1px solid var(--line);border-radius:10px;background:white}.variation-option img{width:52px;height:52px;object-fit:cover;border-radius:11px;flex:none}.variation-option span{flex:1}.variation-list{display:grid;gap:10px;margin-top:20px}.variation-option{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;background:#fff8ef;border:1px solid var(--line);border-radius:15px;padding:14px;color:var(--ink);transition:.2s}.variation-option:hover{border-color:var(--primary);transform:translateY(-1px);box-shadow:0 8px 20px #53392212}.variation-option b{display:block;font-size:13px}.variation-option small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.variation-option strong{white-space:nowrap;color:var(--primary);font-size:13px}.variation-option i{font-style:normal;background:var(--primary);color:#fff;border-radius:8px;padding:3px 5px;margin-left:4px}.variation-drawer{max-width:480px}@media(max-width:760px){.hero{grid-template-columns:1fr;padding-top:34px;gap:22px}.hero-art{min-height:180px}.hero-art:before{font-size:110px}.hero h1{font-size:48px}.products{grid-template-columns:repeat(2,1fr);gap:11px}.product-img{height:155px}.product-body{padding:12px}.product-body h3{font-size:17px}.product-body p{font-size:11px;min-height:48px}.product-bottom{align-items:end;flex-direction:column;gap:8px}.add{width:100%}.admin-top{align-items:flex-start;gap:10px}.admin-top .outline{padding:8px}.stats{grid-template-columns:repeat(2,1fr)}.admin-table{display:block;overflow:auto;white-space:nowrap}.demand{grid-template-columns:1fr}.product-admin,.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}footer{gap:10px;flex-direction:column}}
@media(max-width:420px){.products{grid-template-columns:1fr}.product-img{height:210px}.product-body p{min-height:auto}.product-bottom{flex-direction:row;align-items:center}.add{width:auto}}
/* Navegação mobile: feed vertical, com cartões grandes e foco em um queijo por vez. */
.catalog-controls{display:flex;align-items:center;gap:12px}.catalog-hint{display:block;color:var(--muted);font-size:11px;margin-top:5px}.view-toggle{display:flex;gap:4px;padding:3px;background:#eee5da;border-radius:13px}.view-btn{border:0;background:transparent;color:var(--muted);border-radius:10px;min-width:45px;padding:6px 7px 5px;font-size:13px;line-height:.8}.view-btn small{font-size:9px;font-weight:700}.view-btn.active{background:var(--ink);color:#fff}.products.feed{display:flex;flex-direction:column;gap:18px}.products.feed .product{display:grid;grid-template-columns:minmax(280px,1fr) minmax(260px,.8fr);min-height:340px}.products.feed .product-img{height:auto;min-height:340px}.products.feed .product-body{display:flex;flex-direction:column;justify-content:center;padding:28px}.products.feed .product-body p{min-height:0}.products.feed .product-bottom{margin-top:18px}.products.grid{display:grid}
@media(max-width:760px){.shop{padding-top:10px}.catalog-hint{font-size:10px;max-width:190px}.section-heading{align-items:center;margin:18px 0 12px}.section-heading h2{font-size:25px}.catalog-controls{gap:7px}.view-btn{min-width:38px;padding:6px 5px}.products.feed{height:auto;gap:14px}.products.feed .product{display:flex;flex-direction:column;min-height:calc(100svh - 155px);border-radius:25px;scroll-snap-align:start;box-shadow:0 12px 34px #53392218}.products.feed .product-img{height:52svh;min-height:300px;max-height:520px}.products.feed .product-body{padding:18px 17px 20px;flex:1}.products.feed .product-body h3{font-size:25px}.products.feed .product-body p{font-size:13px;line-height:1.5}.products.feed .tags{margin:10px 0}.products.feed .product-bottom{margin-top:auto;flex-direction:row;align-items:center}.products.feed .add{width:auto;padding:13px 16px;font-size:12px}.products.grid .product{min-width:0}.products.grid .product-img{height:150px}.products.grid .product-body p{min-height:48px}.products.feed:after{content:'↓ continue deslizando';display:block;text-align:center;color:var(--muted);font-size:10px;padding:2px 0 10px;letter-spacing:.04em}}
@media(max-width:420px){.products.feed .product-img{height:48svh;min-height:270px}.products.feed .product-body h3{font-size:23px}.products.grid{grid-template-columns:repeat(2,1fr)}.products.grid .product-body{padding:10px}.products.grid .product-body h3{font-size:15px}.products.grid .product-body p{font-size:10px;min-height:42px}.products.grid .product-bottom{align-items:flex-end;flex-direction:column}.products.grid .add{width:100%;padding:10px 7px}}

.brand-logo{display:block;width:170px;height:64px;object-fit:contain;pointer-events:none;user-select:none;-webkit-user-select:none;-webkit-user-drag:none;-webkit-touch-callout:none}
#brandMark{display:inline-flex;align-items:center;min-height:52px;padding:0;border:0;background:transparent;cursor:pointer;touch-action:manipulation;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
@media(max-width:420px){.brand-logo{width:160px;height:61px}}

/* Home orientada ao produto, sem imagem 3D ou promessa não verificada. */
.featured-hero{max-width:1180px;margin:auto;padding:20px 18px 8px;display:grid;grid-template-columns:minmax(300px,.78fr) minmax(380px,1.22fr);grid-template-areas:'intro photo' 'offer photo' 'next photo';column-gap:38px;align-items:center}
.feature-intro{grid-area:intro;align-self:end}.feature-intro h1{font:800 clamp(38px,4.6vw,65px)/1.04 'Playfair Display',serif;letter-spacing:-.04em;margin:9px 0 16px;max-width:540px}
.feature-photo{grid-area:photo;position:relative;overflow:hidden;border-radius:26px;background:#d6b995;height:min(57vw,590px);min-height:360px;box-shadow:var(--shadow)}
.feature-photo img{width:100%;height:100%;object-fit:cover;display:block}.photo-disclaimer{position:absolute;bottom:11px;left:11px;background:#291f1cbb;color:#fff;border-radius:20px;padding:5px 9px;font-size:10px}
.feature-offer{grid-area:offer;align-self:center}.featured-name{font:700 clamp(27px,3vw,38px)/1.15 'Playfair Display',serif;margin:5px 0}.featured-description{color:var(--muted);font-size:14px;line-height:1.4;margin:0 0 14px;max-width:390px}.featured-detail{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.featured-size{color:var(--muted);font-size:13px}.featured-price{font-size:24px;color:var(--ink)}.feature-actions{display:flex;align-items:center;gap:13px;flex-wrap:wrap;margin-top:16px}.feature-actions .primary-btn{min-height:48px;padding:11px 17px}.text-btn{padding:10px 3px;border:0;background:transparent;color:var(--primary);font-weight:700;text-decoration:underline;text-underline-offset:3px}.feature-next{grid-area:next;align-self:start;color:var(--ink);text-decoration:none;font-weight:700;font-size:13px;margin-top:20px}.feature-note{grid-area:next;align-self:end;color:var(--muted);font-size:11px;margin:49px 0 0;pointer-events:none}
.photo-missing{display:grid;place-items:center;background:linear-gradient(135deg,#efe4d0,#e5cda8)!important}.photo-missing img{display:none!important}.photo-placeholder{color:#6f5038;font-weight:700;text-align:center;padding:15px;font-size:13px}
.search-details{margin:10px 0 16px;font-size:12px;color:var(--muted)}.search-details summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px;display:inline-block;min-height:35px}.search-details label{display:block;margin:4px 0}.search-details .search{display:block;width:min(100%,400px);height:44px;font-size:16px}.catalog-grid{margin-top:8px}
@media(max-width:760px){.featured-hero{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:15px 16px 0}.feature-intro h1{font-size:clamp(31px,8.5vw,41px);line-height:1.02;margin:5px 0 13px}.feature-photo{height:clamp(220px,35svh,330px);min-height:0;border-radius:20px}.feature-offer{padding-top:13px}.featured-name{font-size:25px;margin:3px 0}.featured-description{font-size:12px;line-height:1.35;margin-bottom:9px}.featured-detail{gap:8px}.featured-price{font-size:21px}.feature-actions{margin-top:10px;gap:4px}.feature-actions .primary-btn{min-height:44px;padding:9px 12px;font-size:13px}.text-btn{font-size:12px}.feature-next{margin-top:12px;font-size:12px}.feature-note{margin:5px 0 0;font-size:11px}.shop{padding-top:8px}.shop .section-heading{margin:13px 0 9px}.shop .section-heading h2{margin:3px 0;font-size:25px}.shop .filters{margin:0}.search-details{margin:6px 0 11px}}
@media(max-width:420px){.feature-photo{height:clamp(220px,31svh,270px)}.feature-offer .featured-description{display:none}.feature-actions .primary-btn{flex:1}.feature-actions .text-btn{white-space:nowrap}}

.products.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-top:14px}
.catalog-grid .product{display:flex;flex-direction:column;min-height:0}
.catalog-grid .product-img{height:235px;min-height:0}
.catalog-grid .product-body{display:flex;flex-direction:column;flex:1;padding:17px}
.catalog-grid .product-body h3{font-size:22px;margin:0 0 7px}
.catalog-grid .product-body .product-flavor{font-size:13px;line-height:1.42;min-height:0;margin:0 0 12px;color:var(--muted)}
.catalog-grid .product-variant{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:10px 0;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}
.catalog-grid .product-variant strong{color:var(--ink);font-size:17px;white-space:nowrap}
.catalog-grid .product-bottom{display:flex;align-items:center;gap:10px;margin-top:auto}
.catalog-grid .product-bottom .add{min-height:44px;flex:1;padding:10px 12px;font-size:13px}
.more-sizes{border:0;background:transparent;color:var(--primary);text-decoration:underline;text-underline-offset:3px;font-size:12px;font-weight:700;padding:8px 2px;white-space:nowrap}
.photo-label{position:absolute;bottom:10px;left:10px;background:#291f1cbb;color:#fff;border-radius:20px;padding:4px 8px;font-size:10px}
@media(max-width:760px){.products.catalog-grid{grid-template-columns:1fr;gap:14px;margin-top:11px}.catalog-grid .product{border-radius:20px}.catalog-grid .product-img{height:210px}.catalog-grid .product-body{padding:15px}.catalog-grid .product-body h3{font-size:21px}.catalog-grid .product-body .product-flavor{font-size:12px;margin-bottom:9px}.catalog-grid .product-bottom{flex-direction:row;align-items:center;gap:9px}.catalog-grid .product-bottom .add{width:auto}.feature-photo{height:clamp(200px,28svh,240px)}}
@media(min-width:761px) and (max-width:980px){.products.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.variation-thumb{display:block;width:52px;height:52px;flex:0 0 52px!important;border-radius:11px;overflow:hidden;background:#e6d4b5}
.variation-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.variation-thumb .photo-placeholder{font-size:7px;line-height:1.1;padding:2px}

/* Galeria mobile: seleção múltipla, ordem por toque e capa separada da ordem. */
.media-editor{background:#fff9ef;border:1px solid var(--line);border-radius:20px;padding:18px;min-width:0}
.media-editor h3{margin:0 0 5px;font:700 21px 'Playfair Display',serif}.media-editor p{line-height:1.45}
.media-pick{display:inline-flex;align-items:center;justify-content:center;min-height:48px;border-radius:13px;background:var(--primary);color:white;padding:10px 17px;font-weight:700;cursor:pointer}
.media-drop{border:2px dashed #b79072;background:#fffdf9;border-radius:16px;padding:18px;min-height:100px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;cursor:pointer;text-align:center;font-size:13px;font-weight:700;color:var(--primary)}
.media-drop.drag-over{border-color:var(--primary);background:#f1e4d0;box-shadow:0 0 0 4px #8d5a3b22}
#mediaInput{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
#mediaStatus{min-height:24px;font-size:13px;color:var(--primary);font-weight:600;margin:10px 0}
.media-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.media-item{display:flex;gap:12px;align-items:center;background:white;border:1px solid var(--line);border-radius:15px;padding:8px;min-width:0}
.media-item.dragging{opacity:.45}.media-item.drop-target{outline:3px solid var(--primary);outline-offset:2px}
.media-item .drag-handle{flex:0 0 34px;min-height:48px;border:0;border-radius:9px;background:#f2e5d7;color:var(--primary);font-size:23px;font-weight:700;cursor:grab;touch-action:none;user-select:none}
.media-item .drag-handle:active{cursor:grabbing}
.media-item.is-cover{border:2px solid var(--primary)}.media-preview{width:96px;height:96px;flex:0 0 96px;position:relative;border-radius:10px;overflow:hidden;background:#e9dbca}.media-preview img{width:100%;height:100%;object-fit:cover}.media-play{position:absolute;bottom:4px;left:4px;background:#29211dcc;color:white;border-radius:8px;padding:3px 5px;font-size:10px}
.media-item-actions{flex:1;min-width:0;display:grid;gap:4px}.media-order{font-size:11px;color:var(--muted)}.media-item-actions button{border:1px solid var(--line);border-radius:9px;background:#fff9f1;color:var(--ink);min-height:36px;padding:5px 8px;font-weight:700;cursor:pointer}.media-item-actions [data-cover]{color:var(--primary)}.media-order-buttons{display:flex;gap:5px;flex-wrap:wrap}.media-order-buttons button:first-child,.media-order-buttons button:nth-child(2){min-width:44px}.media-item-actions button:disabled{opacity:.4}.media-empty{padding:20px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:14px}.legacy-photo{padding:10px;background:#fff2d7;border-radius:10px}
.gallery-trigger,.card-gallery-trigger{position:absolute;right:10px;bottom:10px;border:0;border-radius:20px;background:#fffdf1ef;color:#3b2a1f;font-weight:700;font-size:12px;min-height:36px;padding:7px 12px;cursor:pointer;box-shadow:0 2px 12px #0003}.card-gallery-trigger{bottom:8px}.gallery-overlay{position:fixed;inset:0;z-index:1000;background:#17100edc;display:flex;align-items:center;justify-content:center;padding:14px}.gallery-panel{width:min(780px,100%);max-height:95svh;background:#fff9ef;border-radius:22px;padding:14px;display:flex;flex-direction:column;gap:10px}.gallery-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.gallery-head h2{margin:0;font:700 20px 'Playfair Display',serif}.gallery-head button{min-width:44px;min-height:44px;border:0;background:#f5ead9;border-radius:12px;font-size:25px}.gallery-stage{height:min(62svh,540px);background:#281e18;border-radius:15px;display:grid;place-items:center;overflow:hidden}.gallery-stage img,.gallery-stage video{width:100%;height:100%;object-fit:contain}.gallery-strip{display:flex;gap:8px;overflow-x:auto;padding-bottom:5px}.gallery-strip button{position:relative;flex:0 0 70px;height:70px;padding:0;border:2px solid transparent;border-radius:10px;overflow:hidden;background:#ddccb9}.gallery-strip button.active{border-color:var(--primary)}.gallery-strip img{width:100%;height:100%;object-fit:cover}.gallery-strip span{position:absolute;inset:auto 3px 3px auto;color:white;text-shadow:0 1px 3px black}
@media(max-width:420px){.media-editor{padding:12px}.media-preview{width:72px;height:82px;flex-basis:72px}.media-item{gap:6px}.media-item .drag-handle{flex-basis:28px}.gallery-stage{height:55svh}}

:focus-visible{outline:3px solid var(--primary);outline-offset:3px}
button:disabled{opacity:.55;cursor:wait}

/* Painel: vitrine e aparência com prévia, sem publicar enquanto edita. */
.admin-section-head,.product-admin-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}
.admin-section-head h2,.product-admin-head h2{font:700 30px 'Playfair Display',serif;margin:4px 0}
.admin-section-head p,.product-admin-head p{font-size:13px;color:var(--muted);line-height:1.5;margin:0}
.storefront-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr);gap:18px;align-items:start}
.storefront-fields{display:grid;gap:19px}.storefront-fields .field{min-width:0}.storefront-fields .field label,.storefront-fields .field-label{display:block;font-weight:700;font-size:13px;margin-bottom:8px}
.storefront-fields input:not([type=color]),.storefront-fields select{width:100%;min-height:46px}.storefront-fields .field small{display:block;margin-top:6px;line-height:1.4}
.storefront-fields .primary-btn{min-height:48px}.storefront-preview,.theme-preview{position:sticky;top:15px;overflow:hidden}
.preview-label{font-size:10px;letter-spacing:.12em;font-weight:800;color:var(--primary);margin-bottom:12px}
.storefront-preview-photo{height:240px;position:relative;overflow:hidden;border-radius:16px;background:#e5d6c2}.storefront-preview-photo img{width:100%;height:100%;object-fit:cover}.storefront-preview-photo span{position:absolute;bottom:9px;left:9px;border-radius:10px;padding:5px 8px;background:#2b241fc9;color:white;font-size:10px}
.storefront-preview-copy{padding:14px 2px 2px}.storefront-preview-copy h2{font:700 26px/1.15 'Playfair Display',serif;margin:7px 0 14px}.storefront-preview-copy .featured-name{font-size:23px;margin:3px 0}.preview-description{color:var(--muted);font-size:12px;line-height:1.4;margin:6px 0}
.preview-price{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:10px 0}.preview-price span{font-size:12px;color:var(--muted)}.preview-price strong{font-size:21px}.preview-button{display:block;background:var(--primary);color:white;text-align:center;border-radius:12px;padding:11px 15px;font-size:13px;font-weight:700}
.palette-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.palette-list button{border:1px solid var(--line);border-radius:12px;background:white;display:grid;justify-items:center;gap:6px;padding:10px 4px;color:var(--ink);font-size:11px;cursor:pointer}.palette-list button[aria-pressed=true]{outline:2px solid var(--primary)}.palette-dots{display:flex;gap:3px}.palette-dots i{width:16px;height:16px;border-radius:50%;border:1px solid #0002}
.theme-colors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.theme-colors .field label{min-height:34px;font-size:11px}.theme-colors input[type=color]{width:100%;height:48px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:3px;cursor:pointer}
.theme-preview{--preview-primary:#e36b2c;--preview-secondary:#f4b24f;--preview-bg:#fff8ef}.theme-preview-card{background:var(--preview-bg);border-radius:16px;padding:12px;overflow:hidden}.theme-preview-brand{display:block;color:var(--preview-primary);font-weight:800;margin-bottom:10px}.theme-preview-card>img{width:100%;height:200px;object-fit:cover;border-radius:12px;background:#e5d6c2}.theme-preview-body{padding:11px 0}.theme-preview-body h3{margin:5px 0 8px;font:700 23px 'Playfair Display',serif}.theme-preview-body .eyebrow{color:var(--preview-primary)}
.theme-preview-body .eyebrow:before{content:'';display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--preview-secondary);margin-right:8px}.theme-preview-body strong{display:block;font-size:18px;margin-bottom:12px}.theme-preview .preview-button{background:var(--preview-primary)}.theme-preview-slogan{display:block;text-align:center;color:var(--muted);padding:8px}
.product-admin-head .primary-btn{min-height:46px;white-space:nowrap}.product-search-label{display:block;font-size:12px;font-weight:700;margin-bottom:6px}.product-search{width:100%;min-height:44px;margin-bottom:16px;border:1px solid var(--line);border-radius:11px;padding:8px 12px}.product-row[hidden]{display:none}.product-row-copy{min-width:0;flex:1}.product-row .featured-active{border-color:var(--primary);color:var(--primary)}.product-row .row-end button{min-height:38px}
@media(max-width:760px){.admin-section-head h2,.product-admin-head h2{font-size:25px}.storefront-layout{grid-template-columns:1fr}.storefront-preview,.theme-preview{position:static;order:-1}.storefront-preview-photo{height:180px}.storefront-preview-copy h2{font-size:21px}.storefront-preview-copy .featured-name{font-size:19px}.theme-preview-card>img{height:155px}.admin-top{flex-wrap:wrap}.admin-top>div:last-child{display:flex;gap:7px}.admin-nav{scrollbar-width:none}.admin-tab{min-height:43px}.product-row{flex-wrap:wrap}.product-row .row-end{width:100%;margin-left:0;justify-content:flex-end}.product-row img{flex:none}.product-row .row-end .outline{min-height:42px}}
@media(max-width:390px){.product-admin-head{flex-wrap:wrap}.product-admin-head .primary-btn{width:100%}.admin-section-head{align-items:flex-start}.admin-section-head .outline{font-size:10px;flex:none}.storefront-fields{padding:14px}}
[hidden]{display:none!important}
.hero{gap:22px;padding-top:35px;padding-bottom:12px}
.hero h1{font-size:clamp(38px,5vw,64px);line-height:1.05;letter-spacing:-.035em}
.hero-copy{max-width:680px}
.hero-art{min-height:210px}
.hero-art:before{font-size:110px}
.hero-steps{display:grid;gap:3px;border-left:3px solid var(--primary);padding:3px 0 3px 14px;margin:20px 0;color:var(--ink);font-size:14px}
.hero-steps span{color:var(--muted);font-size:13px;line-height:1.45}
.hero-cta{display:inline-flex;align-items:center;min-height:46px;padding:10px 18px;border-radius:14px;background:var(--ink);color:#fff;text-decoration:none;font-weight:700}
.search-wrap{flex:1;min-width:min(100%,240px)}
.search-wrap .search{width:100%;min-height:48px;font-size:16px}
.filters{max-width:100%;scrollbar-width:thin}
.filters .chip{flex:none}
.product-bottom .add{min-height:44px}
.price small{line-height:1.3}
.quick-cart{position:fixed;z-index:12;bottom:max(16px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(460px,calc(100% - 28px));min-height:52px;padding:10px 18px;border:0;border-radius:16px;background:var(--ink);color:#fff;font-weight:700;box-shadow:0 12px 32px #2b241f55}
.quick-cart b{background:var(--secondary);color:var(--ink);border-radius:50%;padding:3px 9px;margin-left:7px}
.checkout-note{font-size:13px;line-height:1.55;color:var(--muted);background:#f5eee2;padding:12px;border-radius:12px;margin:5px 0}
.checkout-note b{color:var(--ink)}
.password-wrap{position:relative;display:flex;align-items:center}
.password-wrap input{width:100%;padding-right:88px;min-height:48px}
.password-wrap button{position:absolute;right:6px;border:0;background:transparent;color:var(--primary);font-weight:700;padding:8px}
.form-error{margin:0!important;padding:10px 12px;border-radius:10px;background:#fff0ee;color:#98392f!important;font-size:13px!important}
.return-link{display:inline-block;color:var(--muted);margin-top:20px;font-size:13px;text-decoration:none}
.login-card{padding:32px}
@media(max-width:760px){.hero{padding-top:24px;gap:12px}.hero h1{font-size:clamp(34px,9vw,48px);margin:8px 0 10px}.hero p{font-size:14px}.hero-art{min-height:115px;border-radius:20px}.hero-art:before{font-size:80px;right:20px}.hero-art:after{top:12px;left:14px}.hero-note{font-size:13px;bottom:12px;left:14px}.hero-steps{margin:14px 0}.hero-cta{min-height:44px}.toolbar{display:block}.filters{margin-top:12px}.section-heading{align-items:flex-start;gap:12px;flex-wrap:wrap}.section-heading h2{font-size:24px}.products.feed .product{min-height:0}.products.feed .product-img{height:42svh;min-height:225px;max-height:400px}.products.feed .product-body{min-height:200px}.products.feed:after{padding-bottom:70px}.shop{padding-bottom:92px}.drawer{padding:20px 16px max(28px,env(safe-area-inset-bottom))}.login-card{padding:24px}}

