*,:before,:after{box-sizing:border-box}:root{color:#1a1a1a;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:#f5f6f8;font-family:Outfit,Segoe UI,system-ui,-apple-system,sans-serif;font-weight:400;line-height:1.5}body{min-width:320px;margin:0}a{color:inherit}button,input,textarea{font:inherit}:root{--font-title:"Montserrat", sans-serif;--font-body:"Outfit", sans-serif}.flyer-page{background-image:var(--flyer-bg);min-height:100vh;font-family:var(--font-body);color:#1a1a1a;background-position:50%;background-size:cover;background-attachment:fixed;position:relative;overflow-x:hidden}.flyer-overlay{pointer-events:none;z-index:0;background:linear-gradient(#000000a6 0%,#0006 50%,#000000bf 100%);position:fixed;inset:0}.flyer-header,.flyer-content,.flyer-footer{z-index:1;position:relative}.flyer-header{text-align:center;max-width:1200px;margin:0 auto;padding:3rem 1.5rem 1.5rem}.flyer-header-top{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0006;border:1px solid #ffffff26;border-radius:50px;justify-content:center;align-items:center;gap:1.25rem;width:fit-content;margin-bottom:2rem;margin-left:auto;margin-right:auto;padding:.75rem 1.5rem;display:flex;box-shadow:0 4px 20px #0003}.store-logo,.store-logo-fallback{object-fit:cover;border:4px solid var(--flyer-secondary);background:var(--flyer-accent);border-radius:50%;width:70px;height:70px;box-shadow:0 4px 12px #0000004d}.store-logo-fallback{color:var(--flyer-primary);font-size:2.25rem;font-weight:900;font-family:var(--font-title);place-items:center;display:grid}.store-name{font-family:var(--font-title);color:var(--flyer-accent);text-transform:uppercase;letter-spacing:.1em;text-shadow:0 2px 4px #0006;text-align:left;margin:0;font-size:1.35rem;font-weight:900}.validity{color:var(--flyer-secondary);text-transform:uppercase;letter-spacing:.05em;text-shadow:0 1px 3px #0006;text-align:left;margin:.15rem 0 0;font-size:.95rem;font-weight:700}.flyer-title-block{text-align:center;background:radial-gradient(circle, var(--flyer-primary) 0%, #a00f1af2 100%);border:6px solid var(--flyer-secondary);border-radius:20px;max-width:90%;margin-top:1rem;padding:2rem 2.5rem;display:inline-block;position:relative;transform:rotate(-1.5deg);box-shadow:0 15px 35px #00000080,inset 0 0 20px #0006}.flyer-title-block:before{content:"";border:3px dotted var(--flyer-secondary);pointer-events:none;border-radius:24px;animation:1.5s infinite alternate pulse-border;position:absolute;inset:-8px}@keyframes pulse-border{0%{opacity:.5}to{opacity:1}}.flyer-title-block h1{font-family:var(--font-title);color:var(--flyer-accent);text-transform:uppercase;letter-spacing:.02em;text-shadow:3px 3px #000,-1px -1px #000,1px -1px #000,-1px 1px #000,1px 1px #000;margin:0;font-size:clamp(2.2rem,7vw,4.2rem);font-weight:900;line-height:1.1}.flyer-title-block p{font-family:var(--font-title);color:var(--flyer-secondary);text-transform:uppercase;letter-spacing:.05em;text-shadow:2px 2px #000000b3;margin:.75rem 0 0;font-size:1.35rem;font-weight:800}.flyer-content{max-width:1200px;margin:0 auto;padding:3rem 1.5rem}.products-section{margin-bottom:4rem}.section-title{background:var(--flyer-secondary);color:#1a1a1a;font-family:var(--font-title);text-transform:uppercase;box-shadow:5px 5px 0 var(--flyer-primary);border:2px solid #1a1a1a;border-radius:8px;margin:0 0 2rem;padding:.6rem 1.75rem;font-size:1.35rem;font-weight:900;display:inline-block;transform:skew(-6deg)}.products-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:1.5rem;display:grid}.products-grid--highlights{grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:2rem}@media (width<=480px){.products-grid,.products-grid--highlights{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:1rem}}.product-card{border:3px dashed var(--card-primary);background:#fffdf2;border-radius:14px;flex-direction:column;justify-content:space-between;transition:transform .25s cubic-bezier(.175,.885,.32,1.275),box-shadow .25s;display:flex;position:relative;overflow:hidden;box-shadow:0 10px 25px #00000059}.product-card:hover{transform:translateY(-8px)scale(1.02);box-shadow:0 15px 35px #00000073}.product-card--highlight{border:4px solid var(--card-primary);background:#fffbef;box-shadow:0 12px 30px #00000073}.product-card--highlight:after{content:"";border:2px solid var(--card-secondary);pointer-events:none;border-radius:10px;margin:2px;position:absolute;inset:0}.product-badge{background:var(--card-primary);color:#fff;font-family:var(--font-title);text-transform:uppercase;z-index:2;border:1px solid #ffffff4d;border-radius:4px;padding:.3rem .75rem;font-size:.75rem;font-weight:900;position:absolute;top:10px;left:10px;box-shadow:2px 2px 4px #00000040}.product-discount{background:var(--card-secondary);color:#1a1a1a;font-family:var(--font-title);z-index:2;border:2px solid var(--card-primary);border-radius:50%;place-items:center;min-width:46px;min-height:46px;padding:.25rem;font-size:.95rem;font-weight:900;animation:2s infinite pulse-discount;display:grid;position:absolute;top:10px;right:10px;box-shadow:0 4px 8px #00000040}@keyframes pulse-discount{0%{transform:scale(1)}50%{transform:scale(1.08)}to{transform:scale(1)}}.product-image-wrap{box-sizing:border-box;background:#fff;border-bottom:2px solid #0000000d;justify-content:center;align-items:center;height:160px;padding:.75rem;display:flex;position:relative;overflow:hidden}.product-card--highlight .product-image-wrap{height:200px;padding:1rem}@media (width<=480px){.product-image-wrap{height:120px;padding:.5rem}.product-card--highlight .product-image-wrap{height:140px;padding:.75rem}}.product-img{object-fit:contain;opacity:1;transition:transform .3s,opacity .2s ease-in}.product-img--landscape{width:100%;height:auto;max-height:88%}.product-img--portrait{width:auto;max-width:88%;height:100%}.product-img--square{width:85%;height:85%}.product-img--loading{opacity:0}.product-card:hover .product-image-wrap img{transform:scale(1.08)}.product-placeholder{background:var(--card-primary);color:#fff;width:70px;height:70px;font-size:2rem;font-weight:900;font-family:var(--font-title);border-radius:50%;place-items:center;display:grid;box-shadow:inset 0 2px 8px #0000004d}.product-info{flex-direction:column;flex-grow:1;justify-content:space-between;padding:1rem;display:flex}.product-info h3{font-family:var(--font-title);color:#1a1a1a;-webkit-line-clamp:2;-webkit-box-orient:vertical;height:2.5rem;margin:0 0 .4rem;font-size:1.05rem;font-weight:800;line-height:1.25;display:-webkit-box;overflow:hidden}@media (width<=480px){.product-info h3{height:2.15rem;font-size:.9rem}}.product-info p{color:#555;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0 0 .75rem;font-size:.8rem;line-height:1.3;display:-webkit-box;overflow:hidden}.product-prices{background:var(--card-secondary,#ffd60a);border:2px dashed var(--card-primary,#c1121f);border-radius:10px;flex-direction:column;justify-content:center;align-items:center;margin-top:auto;padding:.6rem .5rem;display:flex;position:relative;box-shadow:inset 0 0 10px #0000000d}.product-card--highlight .product-prices{border:3px solid var(--card-primary);background:#ffd60a;transform:scale(1.04)rotate(-1.5deg);box-shadow:2px 4px 12px #00000026}.price-old{font-family:var(--font-title);color:#6a6a6a;margin-bottom:-.15rem;font-size:.85rem;font-weight:700;text-decoration:line-through}.price-promo{font-family:var(--font-title);color:#111;letter-spacing:-.04em;text-shadow:0 1px #fffc;font-size:1.7rem;font-weight:900;line-height:1.1}.product-card--highlight .price-promo{color:var(--card-primary);text-shadow:1px 1px #fff;font-size:2.1rem}@media (width<=480px){.price-promo{font-size:1.45rem}.product-card--highlight .price-promo{font-size:1.65rem}}.price-unit{font-family:var(--font-title);color:#222;text-transform:uppercase;margin-top:.1rem;font-size:.75rem;font-weight:800}.flyer-footer{text-align:center;color:#ffffffd9;white-space:pre-wrap;border-top:1px solid #ffffff26;max-width:1200px;margin:2rem auto 0;padding:2rem 1.5rem 3rem;font-size:.95rem;line-height:1.5}.flyer-state{text-align:center;background:#f5f6f8;place-content:center;gap:1.5rem;min-height:100vh;padding:2rem;display:grid}.flyer-state h1{font-family:var(--font-title);color:#c1121f;margin:0}.loader{border:5px solid #ddd;border-top-color:#c1121f;border-radius:50%;width:55px;height:55px;margin:0 auto;animation:.8s cubic-bezier(.5,.1,.4,.9) infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.admin-page{background:#f4f6fa;min-height:100vh;padding:2rem}.admin-login-card{background:#fff;border:1px solid #0000000d;border-radius:16px;max-width:440px;margin:6rem auto;padding:2.5rem;box-shadow:0 10px 30px #0000000f}.admin-login-card h1{font-family:var(--font-title);color:#1a1a1a;margin:0 0 .5rem;font-size:1.75rem;font-weight:800}.admin-login-card p{color:#666;margin:0 0 2rem;font-size:.95rem}.admin-login-card form{flex-direction:column;gap:1.25rem;display:flex}.admin-login-card label{flex-direction:column;gap:.4rem;font-size:.9rem;font-weight:700;display:flex}.admin-login-card input{border:1.5px solid #e1e4e8;border-radius:10px;outline:none;padding:.75rem 1rem;transition:border-color .2s}.admin-login-card input:focus{border-color:#c1121f}.admin-login-card button{color:#fff;font-family:var(--font-title);cursor:pointer;background:#c1121f;border:none;border-radius:10px;padding:.9rem;font-weight:700;transition:background .2s}.admin-login-card button:hover{background:#a00f1a}.back-link{text-align:center;color:#555;margin-top:1.5rem;font-size:.9rem;font-weight:600;text-decoration:none;display:block}.back-link:hover{color:#1a1a1a}.error{color:#c1121f;margin:0;font-size:.9rem;font-weight:600}.admin-header{background:#fff;border-radius:16px;justify-content:space-between;align-items:center;gap:1.5rem;max-width:1200px;margin:0 auto 2rem;padding:1.25rem 2rem;display:flex;box-shadow:0 4px 15px #00000005}.admin-header h1{font-family:var(--font-title);margin:0;font-size:1.65rem;font-weight:800}.admin-header p{margin:.2/rem 0 0;color:#666;font-size:.95rem}.admin-actions{gap:.75rem;display:flex}.admin-actions button{color:#fff;font-family:var(--font-title);cursor:pointer;background:#c1121f;border:none;border-radius:8px;padding:.6rem 1.25rem;font-weight:700;transition:background .2s}.admin-actions button:hover{background:#a00f1a}.admin-actions button.secondary{color:#333;background:#edf0f4}.admin-actions button.secondary:hover{background:#e1e5eb}.admin-message{color:#2e7d32;background:#e8f5e9;border:1px solid #c8e6c9;border-radius:10px;max-width:1200px;margin:0 auto 1.5rem;padding:1rem 1.5rem;font-weight:600}.admin-grid{grid-template-columns:420px 1fr;align-items:start;gap:2rem;max-width:1200px;margin:0 auto;display:grid}@media (width<=992px){.admin-grid{grid-template-columns:1fr}}.admin-panel{background:#fff;border:1px solid #00000005;border-radius:16px;padding:2rem;box-shadow:0 4px 20px #00000008}.admin-panel h2{font-family:var(--font-title);border-bottom:2px solid #f4f6fa;margin:0 0 1.5rem;padding-bottom:.75rem;font-size:1.25rem;font-weight:800}.admin-panel label{color:#444;flex-direction:column;gap:.4rem;margin-bottom:1.25rem;font-size:.85rem;font-weight:700;display:flex}.admin-panel input[type=text],.admin-panel input[type=number],.admin-panel input[type=date],.admin-panel textarea{font-family:var(--font-body);color:#333;border:1.5px solid #e1e4e8;border-radius:8px;outline:none;padding:.65rem .9rem;transition:border-color .2s}.admin-panel input:focus,.admin-panel textarea:focus{border-color:#c1121f}.admin-panel textarea{resize:vertical;min-height:100px}.color-row,.date-row,.price-row{gap:1rem;display:flex}.color-row label,.date-row label,.price-row input{flex:1}.color-row input[type=color]{cursor:pointer;background:0 0;border:1.5px solid #e1e4e8;border-radius:8px;width:100%;height:40px;padding:.15rem}.admin-preview,.admin-logo-preview{object-fit:cover;border:2px solid #e1e4e8;border-radius:10px;width:100%;max-height:160px;margin-top:-.5rem;margin-bottom:1.25rem}.admin-logo-preview{object-fit:cover;border-radius:50%;width:80px;height:80px}.add-product-form{background:#fcfdfe;border:1.5px dashed #d1d8e0;border-radius:12px;flex-direction:column;gap:.85rem;margin-bottom:2rem;padding:1.5rem;display:flex}.add-product-form h3{font-family:var(--font-title);margin:0 0 .25rem;font-size:1.05rem;font-weight:800}.product-image-upload-field{align-items:center;gap:1rem;margin:.25rem 0;display:flex}.product-image-upload-field label{flex-grow:1;margin:0}.admin-product-preview-small{object-fit:contain;background:#fff;border:1px solid #e1e4e8;border-radius:6px;width:60px;height:60px}.add-product-form button{color:#fff;font-family:var(--font-title);cursor:pointer;background:#2d6a4f;border:none;border-radius:8px;padding:.75rem;font-weight:700;transition:background .2s}.add-product-form button:hover{background:#1b4332}.add-product-form button:disabled{cursor:not-allowed;background:#8fa89b}.product-list{flex-direction:column;gap:1.25rem;display:flex}.product-admin-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;align-items:flex-start;gap:1rem;padding:1rem;transition:box-shadow .2s;display:flex}.product-admin-card:hover{box-shadow:0 4px 12px #00000008}.product-admin-image-section{flex-direction:column;flex-shrink:0;align-items:center;gap:.5rem;width:85px;display:flex}.product-admin-thumb{object-fit:contain;background:#fff;border:1px solid #cbd5e1;border-radius:8px;width:80px;height:80px}.product-admin-thumb-placeholder{color:#64748b;text-align:center;background:#f1f5f9;border:1px dashed #cbd5e1;border-radius:8px;place-items:center;width:80px;height:80px;font-size:.75rem;font-weight:600;display:grid}.product-thumb-upload-btn{color:#c1121f;cursor:pointer;text-align:center;font-size:.75rem;font-weight:700;text-decoration:underline;margin:0!important}.product-admin-details{flex-direction:column;flex-grow:1;gap:.75rem;display:flex}.admin-row{gap:.75rem;display:flex}.admin-row input{width:100%;font-size:.85rem;padding:.45rem .75rem!important}.admin-row label{flex:1;gap:.2rem;font-size:.75rem;margin:0!important}.admin-row--actions{border-top:1px solid #e2e8f0;justify-content:space-between;align-items:center;margin-top:.25rem;padding-top:.5rem}.product-admin-card .checkbox-label{align-items:center;gap:.4rem;font-size:.85rem;font-weight:700;display:flex;flex-direction:row!important}.product-admin-card .danger{color:#ef4444;cursor:pointer;background:#fee2e2;border:1px solid #fecaca;border-radius:6px;padding:.4rem .85rem;font-size:.78rem;font-weight:700;transition:all .2s}.product-admin-card .danger:hover{color:#fff;background:#ef4444;border-color:#ef4444}.products-grid--flash-sales{grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:2rem}.section-title--flash{text-shadow:0 0 4px #ffb703;animation:1.5s infinite alternate pulse-neon;color:#ffb703!important;background:#0d0d0d!important;border:3px solid #e63946!important;box-shadow:0 0 10px #e6394666,5px 5px #e63946!important}@keyframes pulse-neon{0%{box-shadow:0 0 5px #e639464d,5px 5px #e63946}to{box-shadow:0 0 15px #e63946b3,5px 5px #e63946}}.product-card--flash-sale{background:#fffdf5!important;border:4px solid #e63946!important;box-shadow:0 15px 30px #e6394640!important}.product-card--flash-sale:after{content:"";pointer-events:none;border:2.5px solid #ffb703;border-radius:10px;margin:2px;position:absolute;inset:0}.product-badge--flash{font-family:var(--font-title);font-size:.8rem;font-weight:900;animation:1s infinite alternate flash-badge-scale;color:#fff!important;background:linear-gradient(135deg,#e63946 0%,#ff5400 100%)!important;border:1px solid #fff6!important}@keyframes flash-badge-scale{0%{transform:scale(1)}to{transform:scale(1.08)}}.price-flash-date{font-family:var(--font-title);color:#e63946;text-transform:uppercase;letter-spacing:.05em;background:#e639461a;border:1px solid #e6394640;border-radius:6px;margin-top:.5rem;padding:.25rem .6rem;font-size:.78rem;font-weight:800;animation:2s infinite flash-text-pulse;display:inline-block}@keyframes flash-text-pulse{0%{opacity:.85}50%{opacity:1}to{opacity:.85}}.flash-sale-row{background:#fff5f5;border:1.5px solid #fed7d7;border-radius:10px;align-items:center;gap:1rem;margin-bottom:.5rem;padding:.75rem 1rem;display:flex}.flash-sale-row .checkbox-label{flex-shrink:0;align-items:center;gap:.4rem;display:flex;margin:0!important}.flash-sale-row input[type=date]{border:1.5px solid #cbd5e1;border-radius:8px;flex-grow:1;font-size:.85rem;padding:.4rem .6rem!important}
