:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Arial,sans-serif;color:#24150d;background:#fff8e9;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:#fff8e9 url('/background.jpg') center top/520px auto repeat}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.app{max-width:920px;margin:auto;min-height:100vh;padding:0 16px 36px}.header{display:grid;grid-template-columns:60px 1fr 60px;align-items:start;gap:8px;padding:18px 0 10px}.round{border:1px solid #e2cdb1;background:#fffaf1d9;color:#23140b;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;box-shadow:0 3px 12px #52320c12}.round svg{width:27px;height:27px}.header>.round{margin-top:36px}.brand{text-align:center}.brand img{width:146px;height:146px;object-fit:cover;border-radius:50%;border:4px solid #ef9b1e;background:white;box-shadow:0 7px 19px #5b351b30}.slogan{font-size:14px;margin-top:8px;font-weight:600}.cart-trigger{position:relative}.count{position:absolute;top:-8px;right:-7px;background:#f56b09;color:white;border-radius:100px;padding:3px 8px;font-size:14px;font-weight:800}.hero{height:250px;position:relative;border-radius:25px;overflow:hidden;margin:22px 0 20px;background:linear-gradient(115deg,#3a210e,#c57d2c 55%,#f3c57d);background-size:cover;background-position:center;box-shadow:0 10px 30px #76440f33;color:#fff}.hero-copy{position:absolute;top:24px;left:34px;max-width:65%;text-shadow:0 2px 6px #0007}.hero-copy small{letter-spacing:.15em;color:#ffd27b;font-weight:800}.hero-copy h1{font-size:clamp(26px,5vw,43px);line-height:1.05;margin:12px 0;font-weight:900}.hero-copy p{font-size:15px}.hero-left,.hero-right{position:absolute;top:50%;border:2px solid #fff9;border-radius:50%;background:#261507bd;color:white;width:37px;height:37px;display:grid;place-items:center}.hero-left{left:8px}.hero-right{right:8px}.dots{position:absolute;bottom:11px;left:0;right:0;display:flex;justify-content:center;gap:7px}.dots button{border:0;width:9px;height:9px;border-radius:50%;background:#fff8}.dots button.active{background:#ffc128}.socials{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:18px 0 22px}.social{height:51px;border:2px solid;border-radius:40px;background:#fffcf6dc;display:grid;place-items:center;text-decoration:none}.social b{font-size:30px;line-height:1}.tiktok{border-color:#16c8c8;color:#111}.facebook{border-color:#1877f2;color:#1877f2}.instagram{border-color:#dd3294;color:#d72c8e}.youtube{border-color:#d71920;color:#e11920}.categories{display:flex;overflow-x:auto;gap:9px;padding:0 0 14px;scrollbar-width:none}.categories::-webkit-scrollbar{display:none}.categories button{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 auto;gap:4px;min-width:102px;height:78px;border-radius:25px;border:1px solid #e3c9a9;background:#fffaf1dd;color:#26180e;font-size:12px;font-weight:700;padding:8px}.categories svg{width:25px;height:25px}.categories button.active{background:#ffc02d;border-color:#ffb51b}.section-title{display:flex;justify-content:space-between;align-items:center;margin:12px 0 15px}.section-title h2{font-size:30px;margin:0;display:flex;align-items:center;gap:12px}.section-title h2:before{content:'';height:32px;width:6px;background:#f59610;border-radius:6px}.search{width:100%;padding:13px;border:1px solid #e4c7a0;border-radius:12px;margin-bottom:14px}.products{display:grid;gap:14px}.product{background:#fffdf9ed;display:flex;align-items:center;gap:15px;border-radius:24px;border:1px solid #e8d8c2;padding:10px;box-shadow:0 5px 13px #5d3b1516;min-height:130px}.product-img{width:31%;max-width:215px;min-width:100px;height:114px;border-radius:17px;background:linear-gradient(145deg,#f4d5a2,#a35b23);display:grid;place-items:center;overflow:hidden}.product-img img{width:100%;height:100%;object-fit:cover}.product-img span{font-size:53px}.product-info{flex:1;min-width:0}.product-info h3{font-size:17px;margin:0 0 6px}.product-info p{font-size:13px;line-height:1.35;margin:0 0 8px;color:#4d4037}.product-info strong{font-size:21px;color:#e76b0c;white-space:nowrap}.product-info small{font-size:10px;color:#806952}.add{border:0;border-radius:25px;background:#fba317;min-width:65px;height:45px;display:flex;align-items:center;justify-content:center;color:white;gap:0}.add svg{stroke-width:2.5}.sold{opacity:.6}footer{text-align:center;font-size:12px;color:#8a745b;margin:40px 0}.overlay{position:fixed;inset:0;background:#140a04a8;z-index:20;display:flex}.drawer,.cart-panel{background:#fff9ec;position:relative;padding:30px 24px;width:min(85vw,390px);height:100%;overflow:auto;box-shadow:0 0 40px #0004}.drawer{display:flex;flex-direction:column;gap:12px}.drawer img{width:140px;height:140px;border-radius:50%;object-fit:cover;align-self:center;margin-bottom:20px}.drawer>button:not(.close){display:flex;gap:12px;align-items:center;text-align:left;padding:14px;border:0;border-bottom:1px solid #e8d6bb;background:transparent;font-weight:700}.close{position:absolute;right:16px;top:16px;background:#fff4e2;border:0;border-radius:50%;width:35px;height:35px;display:grid;place-items:center}.cart-panel{margin-left:auto;width:min(100%,450px)}.cart-panel h2{margin-top:45px}.cart-row{padding:16px 0;border-bottom:1px solid #e4cfb4;display:flex;justify-content:space-between;gap:10px}.cart-row>div:first-child{display:grid;gap:5px}.cart-row small{color:#77634f}.cart-row strong{color:#d97706}.qty{display:flex;align-items:center;gap:8px}.qty button{border:1px solid #e4c9a4;border-radius:8px;background:#fff5e2;width:30px;height:30px;display:grid;place-items:center}.qty svg{width:16px}.cart-total{display:flex;justify-content:space-between;font-size:22px;margin:25px 0}.modal-wrap{align-items:center;justify-content:center;padding:14px}.modal{background:#fffaf0;position:relative;width:min(100%,520px);max-height:90vh;overflow:auto;border-radius:22px;padding:30px 22px;box-shadow:0 20px 70px #0006}.modal h2{margin:8px 40px 12px 0}.modal label,.editor label{display:grid;gap:7px;font-size:13px;font-weight:700;margin-top:17px}.modal input,.modal textarea,.editor input,.editor textarea,.editor select{width:100%;padding:12px;border:1px solid #dec8a8;border-radius:10px;background:#fff;color:#25160e}.modal textarea,.editor textarea{min-height:75px}.choices{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.choices button{border:1px solid #e0bd89;background:#fff;border-radius:10px;padding:10px}.choices button.active{background:#ffc02d;border-color:#ef9900}.modal-bottom{display:flex;justify-content:space-between;gap:10px;margin-top:25px}.primary{border:0;background:#f7a512;color:#211406;font-weight:800;padding:13px 18px;border-radius:13px;display:inline-flex;align-items:center;justify-content:center;gap:8px}.primary svg{width:18px}.full{width:100%;margin:15px 0}.admin{background:#fff9efef;border-radius:22px;padding:20px;min-height:60vh}.admin-head{display:flex;align-items:center;justify-content:space-between}.admin-head button,.share button:not(.primary){display:flex;align-items:center;gap:7px;border:1px solid #e0c8a6;background:white;padding:9px;border-radius:9px}.admin-tabs{display:flex;gap:7px;overflow-x:auto;padding:15px 0;margin-bottom:15px}.admin-tabs button{white-space:nowrap;border:1px solid #e4c7a3;background:white;padding:10px 12px;border-radius:11px}.admin-tabs button.active{background:#ffc02d}.admin-item{display:flex;align-items:center;gap:8px;border-bottom:1px solid #eadac7;padding:14px 0}.admin-item>div{flex:1;display:grid;gap:4px}.admin-item>b{flex:1}.admin-item small{color:#766450}.admin-item button{border:0;background:transparent;color:#62452b}.admin-item svg{width:18px}.warning{background:#fff0c5;border:1px solid #e5c57d;border-radius:10px;padding:12px;margin:12px 0;font-size:13px}.editor{display:grid;gap:4px}.editor .check{display:flex;align-items:center}.check input{width:auto}.preview{max-width:160px;max-height:130px;object-fit:contain;border-radius:12px}.upload{border:1px dashed #cc9b5d;border-radius:12px;padding:16px;display:flex;align-items:center;gap:10px;cursor:pointer;background:#fff3de}.upload input{display:none}.share{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}.share code{word-break:break-all}.empty{text-align:center;padding:30px}@media(max-width:520px){.app{padding:0 10px 24px}.brand img{width:126px;height:126px}.slogan{font-size:12px}.header{grid-template-columns:50px 1fr 50px}.round{width:47px;height:47px}.hero{height:208px}.hero-copy{left:29px;top:23px}.hero-copy h1{font-size:26px}.hero-copy p{font-size:13px}.socials{gap:6px}.social{height:43px}.social b{font-size:26px}.categories button{min-width:93px;height:73px}.section-title h2{font-size:26px}.product{gap:9px;padding:7px;border-radius:17px;min-height:105px}.product-img{min-width:87px;height:95px;border-radius:12px}.product-img span{font-size:39px}.product-info h3{font-size:14px}.product-info p{font-size:11px}.product-info strong{font-size:17px}.add{min-width:46px;height:39px}.add svg{width:16px}.admin{padding:12px}.modal-bottom{flex-wrap:wrap}}

/* Coffee Traffic pilot: friendly administration */
.brand-icon{width:28px;height:28px;object-fit:contain;display:block}
.instagram .brand-icon{filter:invert(23%) sepia(92%) saturate(2600%) hue-rotate(300deg)}
.facebook .brand-icon{filter:invert(31%) sepia(94%) saturate(2705%) hue-rotate(203deg)}
.youtube .brand-icon{filter:invert(17%) sepia(100%) saturate(6500%) hue-rotate(355deg)}
.social-admin-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid #eadac7;padding:14px 3px}
.social-admin-row span{margin-left:auto;font-size:12px;color:#786b58}
.social-editor-intro p,.variant-panel p{color:#75634f;font-size:13px;line-height:1.5}
.social-link-label>span{display:flex;align-items:center;gap:10px}
.icon-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:10px}
.icon-option{border:1px solid #dfc7a6;border-radius:14px;background:white;min-height:78px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#342012}
.icon-option span{font-size:30px}.icon-option small{font-size:11px}
.icon-option.selected{border:2px solid #e89b0b;background:#fff0c7;box-shadow:0 0 0 2px #ffd87577}
.variant-panel{border-top:1px solid #ead9c1;margin-top:20px;padding-top:12px}
.variant-panel h3{margin:8px 0}
.variant-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.85fr) 32px;gap:7px;align-items:center;margin:9px 0}
.variant-row input{min-width:0;width:100%;padding:10px 8px}
.variant-row button{height:37px;border:0;background:#fff0e7;color:#b54d20;border-radius:9px;font-size:23px}
.secondary-btn{border:1px solid #d9ac71;background:#fff8eb;color:#44250b;padding:11px 13px;border-radius:11px;font-weight:700}
.live-price{display:flex;justify-content:space-between;align-items:center;margin:16px 0 6px;padding:12px;background:#fff0cf;border-radius:12px}
.live-price strong{color:#d66c06}
.modal select{width:100%;padding:12px;border:1px solid #dec8a8;border-radius:10px;background:white;color:#25160e}
@media(max-width:420px){.icon-picker{grid-template-columns:repeat(3,minmax(0,1fr))}.variant-row{grid-template-columns:minmax(0,1.3fr) minmax(0,.85fr) 30px}}

/* V4: refinamiento visual no destructivo */
.socials{gap:10px;margin:17px 0 22px;align-items:center}.socials:empty{display:none}.social{height:40px;border-width:1.5px;border-radius:999px;background:rgba(255,253,248,.91);box-shadow:0 3px 10px rgba(64,39,17,.09);transition:transform .18s ease,box-shadow .18s ease}.social:active{transform:scale(.96)}.social .brand-icon{width:23px;height:23px;display:block}.social b{display:flex;align-items:center;justify-content:center}.categories{gap:9px;padding-bottom:10px}.categories button{min-width:84px;height:64px;border-radius:999px;padding:8px 14px;box-shadow:0 2px 8px rgba(55,32,12,.055);font-size:11px;line-height:1.15}.categories button span{line-height:1}.categories button.active{background:#ffbd2b;box-shadow:0 4px 13px rgba(230,145,11,.15)}.admin-quick{margin:14px 0 2px}.quick-social{width:100%;text-align:left;background:#fff9e8;border:1px solid #e7c18d;color:#2d1c0e;border-radius:15px;padding:13px 16px;font-weight:800;box-shadow:0 3px 12px #55311112}.quick-social span{display:block;font-size:11px;color:#78664e;font-weight:500;margin-top:4px}.social-config-card{border:1px solid #e8d3b8;background:#fffdf7;border-radius:16px;padding:14px;margin:14px 0}.social-config-head{display:flex;align-items:center;gap:12px}.social-config-head .brand-icon{width:25px;height:25px}.social-switch{margin:0 0 0 auto!important;display:flex!important;align-items:center;gap:7px!important;font-size:12px!important}.social-switch input{width:20px!important;height:20px;accent-color:#ee9f11}.social-config-card>label{margin-top:12px}.hero,.product,.brand img{backface-visibility:hidden}.product{box-shadow:0 5px 17px #5d3b1518}
@media(max-width:520px){.socials{gap:7px}.social{height:37px}.social .brand-icon{width:21px;height:21px}.categories button{min-width:79px;height:61px;border-radius:999px;padding:7px 11px}}
