:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color-scheme:light;background-color:#f3f4f6;color:#111827}body{margin:0;background:#f3f4f6}.app-root{min-height:100vh;background:#f3f4f6}.main-header{position:sticky;top:0;z-index:30;background:#fff;border-bottom:1px solid #e5e7eb;padding:.6rem 1.2rem;display:flex;align-items:center;justify-content:space-between}.logo-simple{display:flex;flex-direction:column}.logo-main{font-weight:700;font-size:1.1rem}.logo-tagline{font-size:.75rem;color:#6b7280}.header-search-wrapper{flex:1;max-width:420px;margin-left:5rem;margin-right:2rem}.header-search-input{width:100%;padding:.45rem .75rem;border-radius:999px;border:1px solid #d1d5db;font-size:.9rem;outline:none}.header-search-input:focus{border-color:#2563eb;box-shadow:0 0 0 1px #2563eb40}.home{width:100%}.menu-section{background:#fff;border-bottom:1px solid #e5e7eb;padding:.6rem .75rem}.menu-label{font-size:.8rem;color:#6b7280;margin-bottom:.3rem;padding:0 .25rem}.menu-scroll{display:flex;gap:.5rem;overflow-x:auto;padding-bottom:.25rem}.menu-scroll::-webkit-scrollbar{height:4px}.menu-scroll::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:999px}.menu-item{flex-shrink:0;border-radius:999px;border:1px solid #d1d5db;padding:.35rem .9rem;font-size:.85rem;background:#f9fafb;cursor:pointer}.menu-item-active{background:#000;border-color:#2563eb;color:#fff}.banner-section{padding:.6rem .75rem .75rem}.banner-carousel{width:100%;border-radius:1rem;overflow:hidden;position:relative;background:#111827}.banner-slide{position:relative;height:220px;width:100%}.banner-image{width:100%;height:100%;object-fit:cover}.banner-overlay{position:absolute;inset:0;background:linear-gradient(to right,#0f172ad9,#0f172a33)}.banner-text{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;padding:1.2rem 1.6rem;color:#fff;max-width:60%}.banner-text h2{margin:0 0 .3rem;font-size:1.6rem}.banner-text p{margin:0;font-size:.95rem;color:#e5e7eb}.banner-dots{position:absolute;bottom:.8rem;left:50%;transform:translate(-50%);display:flex;gap:.35rem}.banner-dot{width:8px;height:8px;border-radius:999px;border:none;background:#f3f4f6b3;cursor:pointer}.banner-dot-active{width:18px;background:#facc15}.products-section{padding:.25rem .75rem .75rem}.products-header-row{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem}.products-header-row h2{margin:0;font-size:1.1rem}.products-count{font-size:.8rem;color:#6b7280}.info-text{font-size:.9rem;color:#6b7280;margin-top:.6rem}.error-text{font-size:.9rem;color:#b91c1c;margin-top:.6rem}.products-grid{margin-top:.75rem;display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.75rem;justify-content:start}.product-card{background:#fff;border-radius:.9rem;border:1px solid #e5e7eb;overflow:hidden;box-shadow:0 3px 10px #0f172a0a;transition:transform .1s ease,box-shadow .1s ease;display:flex;flex-direction:column;height:100%}.product-card:hover{transform:translateY(-2px);box-shadow:0 8px 18px #0f172a14}.product-image-wrapper{width:100%;padding-top:70%;position:relative;overflow:hidden;background:#f3f4f6}.product-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.product-content{padding:.7rem .8rem .9rem;display:flex;flex-direction:column;flex-grow:1}.product-title{margin:0 0 .2rem;font-size:.9rem;font-weight:600}.product-category-pill{display:inline-block;font-size:.72rem;font-weight:600;color:#1e40af;background:linear-gradient(135deg,#e5f0ff,#dbeafe);padding:.18rem .6rem;border-radius:999px;margin-bottom:.4rem;letter-spacing:.3px}.product-description{font-size:.8rem;color:#4b5563;min-height:32px}.product-button{margin-top:auto;width:100%;border-radius:.6rem;border:none;padding:.5rem .7rem;background:#111827;color:#fff;font-size:.85rem;cursor:pointer}.product-button:hover{background:#0f172a}@media(max-width:768px){.banner-slide{height:190px}.banner-text{max-width:75%;padding:1rem 1.2rem}.banner-text h2{font-size:1.3rem}.banner-text p{font-size:.85rem}.header-search-wrapper{max-width:260px}}@media(max-width:480px){.banner-slide{height:180px}.banner-text{max-width:90%}.products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.product-price{font-size:.95rem;font-weight:700;color:#16a34a;margin:.25rem 0 .3rem}.product-price-label{font-size:.75rem;font-weight:400;color:#6b7280}.admin-page{padding:1rem 1.2rem 2rem}.admin-top-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:.8rem}.admin-title{margin:0;font-size:1.3rem;font-weight:600}.admin-layout{display:flex;gap:1rem}.admin-main{flex:1;display:flex;flex-direction:column;gap:1rem}.admin-sidebar{width:220px;background:#fff;border-radius:.8rem;border:1px solid #e5e7eb;padding:.75rem .7rem;box-shadow:0 4px 12px #0f172a0a;height:fit-content}.admin-sidebar-title{font-size:.9rem;font-weight:600;margin-bottom:.5rem;padding:0 .4rem;color:#4b5563}.admin-sidebar-item{width:100%;text-align:left;border:none;background:transparent;border-radius:.55rem;padding:.45rem .55rem;font-size:.85rem;cursor:pointer;color:#374151}.admin-sidebar-item:hover{background:#f3f4f6}.admin-sidebar-item-active{background:#111827;color:#fff}.admin-card{background:#fff;border-radius:.8rem;border:1px solid #e5e7eb;padding:.95rem 1.1rem;box-shadow:0 4px 12px #0f172a0a}.admin-card-header{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.admin-badge-edit{font-size:.75rem;padding:.2rem .5rem;border-radius:999px;background:#fee2e2;color:#b91c1c}.admin-form-card-wide{max-width:1100px}.admin-form-wide{margin-top:.8rem;display:flex;flex-direction:column;gap:.9rem}.admin-label{display:flex;flex-direction:column;font-size:.85rem;color:#4b5563}.admin-label-full{width:100%}.admin-field-title{font-size:.8rem;font-weight:600;margin-bottom:.15rem;color:#4b5563}.admin-input,.admin-textarea{padding:.45rem .6rem;border-radius:.5rem;border:1px solid #d1d5db;font-size:.9rem;outline:none}.admin-input:focus,.admin-textarea:focus{border-color:#2563eb;box-shadow:0 0 0 1px #2563eb40}.admin-row-three{display:grid;grid-template-columns:2fr 1fr 1fr;gap:.8rem}.admin-row-bottom{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.admin-checkbox-label{display:flex;flex-direction:row;align-items:center;gap:.4rem}.admin-actions-right{display:flex;gap:.5rem}.admin-button{border-radius:.6rem;border:none;padding:.5rem .9rem;font-size:.9rem;background:#111827;color:#fff;cursor:pointer}.admin-button:disabled{opacity:.7;cursor:default}.admin-button-secondary{background:#f9fafb;color:#111827;border:1px solid #d1d5db}.admin-button-secondary:hover{background:#e5e7eb}.admin-logout-btn{border-radius:999px;border:1px solid #d1d5db;padding:.4rem .9rem;font-size:.85rem;background:#f9fafb;cursor:pointer}.admin-logout-btn:hover{background:#f87171;border-color:#f97373;color:#fff}.admin-image-preview-wrapper{margin-top:.4rem}.admin-image-preview{max-width:180px;max-height:120px;border-radius:.5rem;border:1px solid #e5e7eb;object-fit:cover}.admin-table-wrapper{overflow-x:auto}.admin-table{width:100%;border-collapse:collapse;font-size:.85rem}.admin-table th,.admin-table td{border-bottom:1px solid #e5e7eb;padding:.4rem .5rem;text-align:left}.admin-table th{background:#f9fafb;font-weight:600}.admin-table-btn{border-radius:999px;border:1px solid #d1d5db;padding:.25rem .6rem;font-size:.75rem;background:#f9fafb;cursor:pointer;margin-right:.25rem}.admin-table-btn-danger{border-color:#fecaca;background:#fef2f2;color:#b91c1c}.admin-table-btn-danger:hover{background:#ef4444;color:#fff}.admin-analytics{display:flex;flex-direction:column;gap:1rem}.analytics-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.75rem}.analytics-card{border-radius:.7rem;border:1px solid #e5e7eb;padding:.6rem .7rem;background:#f9fafb}.analytics-label{font-size:.8rem;color:#6b7280;margin-bottom:.2rem}.analytics-value{font-size:1.1rem;font-weight:700}@media(max-width:900px){.admin-layout{flex-direction:column}.admin-sidebar{width:100%;display:flex;align-items:center;gap:.4rem}.admin-sidebar-title{margin-bottom:0}.admin-row-three{grid-template-columns:1fr}.admin-row-bottom{flex-direction:column;align-items:flex-start}.admin-actions-right{justify-content:flex-end;width:100%}}.admin-toast{position:fixed;right:1.2rem;bottom:1.2rem;background:#16a34a;color:#fff;padding:.55rem 1rem;border-radius:999px;box-shadow:0 10px 25px #0000002e;font-size:.85rem;z-index:50}
