body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}*{margin:0;padding:0;box-sizing:border-box}body{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;line-height:1.6;background:linear-gradient(135deg,#f0f4f8,#fff);min-height:100vh}.app{display:flex;flex-direction:column;min-height:100vh}header{display:flex;justify-content:space-between;align-items:center;padding:1rem 2rem;background:linear-gradient(135deg,#1a365d,#2c5aa0);color:#fff;box-shadow:0 4px 6px #0003;position:sticky;top:0;z-index:100}nav ul{list-style:none;display:flex}nav ul li{margin-right:2rem}nav a{color:#fff;text-decoration:none;font-weight:500;transition:color .3s}nav a:hover{color:#90caf9}.header-actions{margin-left:auto;display:flex;flex-direction:row;align-items:center;gap:.45rem}.cart-toggle{position:relative}.cart-button{cursor:pointer;padding:.5rem 1rem;background-color:#fff3;border-radius:25px;border:none;color:#fff;font-weight:500;font-size:1rem;transition:background-color .3s}.cart-button:hover{background-color:#ffffff4d}main{flex:1;padding:2rem}.main-page-animated{animation:fadeInUp .6s ease-out}@keyframes fadeInUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.hero{text-align:center;margin-bottom:3rem;padding:3rem 1rem;background:linear-gradient(135deg,#1a365d,#2c5aa0);border-radius:15px;box-shadow:0 8px 32px #00000026;animation:fadeInDown .5s ease-out;transform-style:preserve-3d;cursor:move;position:relative;overflow:hidden}.hero-light{pointer-events:none;width:300px;height:300px;border-radius:50%;background:radial-gradient(circle,#fffc,#fff6 30%,#fff0 70%);filter:blur(40px);transform:translate(-50%,-50%);mix-blend-mode:screen}@keyframes fadeInDown{0%{opacity:0;transform:translateY(-30px)}to{opacity:1;transform:translateY(0)}}.hero h1{font-size:3rem;margin-bottom:1rem;color:#fff;text-shadow:2px 2px 4px rgba(0,0,0,.2)}.hero p{font-size:1.2rem;color:#e0e7ff}.category-section{margin-bottom:3rem}.category-title{font-size:2rem;margin-bottom:1.5rem;color:#1a365d;border-bottom:3px solid #2c5aa0;padding-bottom:.5rem;animation:slideInLeft .6s ease-out}@keyframes slideInLeft{0%{opacity:0;transform:translate(-50px)}to{opacity:1;transform:translate(0)}}.products{display:flex;flex-wrap:wrap;gap:2rem;justify-content:center}.product-card{background:#fff;border-radius:15px;padding:1.5rem;width:calc(25% - 2rem);min-width:250px;text-align:center;box-shadow:0 4px 20px #1a365d1a;transition:transform .3s,box-shadow .3s;overflow:hidden;animation:fadeInScale .5s ease-out backwards;border-left:4px solid #2c5aa0}@keyframes fadeInScale{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.product-card:nth-child(1){animation-delay:.1s}.product-card:nth-child(2){animation-delay:.2s}.product-card:nth-child(3){animation-delay:.3s}.product-card:nth-child(4){animation-delay:.4s}.product-card:nth-child(5){animation-delay:.5s}.product-card:nth-child(6){animation-delay:.6s}.product-card:nth-child(7){animation-delay:.7s}.product-card:nth-child(8){animation-delay:.8s}.product-card:hover{transform:translateY(-10px);box-shadow:0 16px 64px #1a365d33}.product-card img{max-width:100%;height:150px;object-fit:cover;border-radius:10px;margin-bottom:1rem;cursor:pointer;transition:transform .3s}.product-card img:hover{transform:scale(1.05)}.product-card h3{margin-bottom:.5rem;font-size:1.2rem}.product-card .description{color:#666;font-size:.9rem;margin-bottom:1rem;height:2.4rem;overflow:hidden}.product-card .price{font-size:1.3rem;font-weight:700;color:#2c5aa0;margin-bottom:1rem}.product-card a{text-decoration:none;color:inherit}.product-card .add-to-cart{padding:.75rem 1.5rem;background:linear-gradient(135deg,#1a365d,#2c5aa0);color:#fff;border:none;border-radius:25px;cursor:pointer;font-weight:500;transition:background .3s,transform .3s}.product-card .add-to-cart:hover{background:linear-gradient(135deg,#2c5aa0,#1a365d);transform:scale(1.05)}.product-page{animation:fadeInUp .5s ease-out}.product-detail{display:flex;gap:3rem;background:#fff;padding:3rem;border-radius:15px;box-shadow:0 8px 32px #1a365d1a;margin-top:2rem}.product-detail-image{flex:1;display:flex;align-items:center;justify-content:center;background:#f0f4f8;border-radius:15px;padding:2rem;min-height:400px;border:2px solid #e3f2fd}.product-detail-image img{max-width:100%;max-height:500px;width:auto;height:auto;object-fit:contain;border-radius:10px}.product-detail-info{flex:1;display:flex;flex-direction:column;gap:1.5rem}.product-detail-info h1{font-size:2.5rem;margin:0;color:#1a365d}.product-category{font-size:1rem;color:#666;margin:0}.product-category a{color:#2c5aa0;text-decoration:none;font-weight:600}.product-category a:hover{text-decoration:underline}.product-description{font-size:1.2rem;line-height:1.8;color:#555;margin:0;padding:1rem 0;border-top:1px solid #e9ecef;border-bottom:1px solid #e9ecef}.product-detail-info .price{font-size:2rem;font-weight:700;color:#2c5aa0;margin:0}.product-detail-info button{padding:1rem 2rem;background:linear-gradient(135deg,#1a365d,#2c5aa0);color:#fff;border:none;border-radius:25px;cursor:pointer;font-size:1.1rem;font-weight:500;transition:background .3s,transform .3s;box-shadow:0 4px 15px #1a365d4d}.product-detail-info button:hover{background:linear-gradient(135deg,#2c5aa0,#1a365d);transform:translateY(-2px);box-shadow:0 6px 20px #1a365d66}.product-detail-info button:active{transform:translateY(0)}.breadcrumb{margin-bottom:2rem;font-size:1.1rem;color:#555;padding:1rem;background:#fff;border-radius:10px;box-shadow:0 2px 8px #1a365d0d;border-left:4px solid #2c5aa0}.breadcrumb a{color:#2c5aa0;text-decoration:none;transition:color .3s;font-weight:500}.breadcrumb a:hover{color:#1a365d;text-decoration:underline}.cart-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;z-index:998;animation:fadeIn .3s ease}.cart{position:fixed;top:0;right:0;width:400px;max-width:90vw;height:100vh;background:#fff;padding:0;border:none;box-shadow:-4px 0 20px #00000026;z-index:999;display:flex;flex-direction:column;animation:slideInRight .3s ease;overflow-y:auto}@keyframes slideInRight{0%{transform:translate(100%)}to{transform:translate(0)}}.cart-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;background:linear-gradient(135deg,#1a365d,#2c5aa0);color:#fff;position:sticky;top:0;z-index:1}.cart-header h2{margin:0;font-size:1.5rem}.cart-close{background:transparent;border:none;color:#fff;font-size:1.5rem;cursor:pointer;padding:.5rem;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background .3s}.cart-close:hover{background:#fff3}.cart-empty{padding:2rem;text-align:center;color:#999;font-size:1.1rem}.cart-loading{padding:2rem;text-align:center;color:#666;font-size:.95rem}.cart-loading p{margin:0;animation:pulse 1.5s ease-in-out infinite}@keyframes pulse{0%,to{opacity:.6}50%{opacity:1}}.cart-items{list-style:none;padding:1rem;flex:1;overflow-y:auto}.cart-item{display:flex;gap:1rem;padding:1rem;margin-bottom:1rem;background:#f8f9fa;border-radius:10px;transition:background .3s;border-left:3px solid #2c5aa0}.cart-item:hover{background:#e9ecef}.cart-item-image{width:60px;height:60px;object-fit:cover;border-radius:8px;background:#fff;padding:5px}.cart-item-details{flex:1;display:flex;flex-direction:column;gap:.5rem}.cart-item-details h4{margin:0;font-size:1rem;color:#1a365d}.cart-item-price{color:#2c5aa0;font-weight:700;font-size:1.1rem;margin:0}.cart-item-quantity{display:flex;align-items:center;gap:.5rem}.cart-item-quantity label{font-size:.9rem;color:#666}.cart-item-quantity input{width:60px;padding:.4rem;border:1px solid #ddd;border-radius:5px;font-size:.9rem;text-align:center}.cart-item-increment,.cart-item-decrement{background:#f0f0f0;border:1px solid #ddd;border-radius:4px;cursor:pointer;font-size:1rem;padding:.3rem .6rem;min-width:32px;transition:all .2s ease;color:#333;font-weight:700}.cart-item-increment:hover:not(:disabled),.cart-item-decrement:hover:not(:disabled){background:#007bff;color:#fff;border-color:#007bff;transform:scale(1.05)}.cart-item-increment:disabled,.cart-item-decrement:disabled{opacity:.5;cursor:not-allowed;background:#e9ecef;color:#999}.cart-item-remove{background:transparent;border:none;cursor:pointer;font-size:1.2rem;padding:.2rem .5rem;transition:transform .2s}.cart-item-remove:hover{transform:scale(1.2)}.cart-footer{padding:1.5rem;background:#f8f9fa;border-top:2px solid #e9ecef;position:sticky;bottom:0}.cart-total{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;font-size:1.3rem;padding:.5rem 0}.cart-total span{color:#2c5aa0;font-weight:700}.cart-checkout{width:100%;padding:1rem;background:linear-gradient(135deg,#1a365d,#2c5aa0);color:#fff;border:none;border-radius:25px;cursor:pointer;font-size:1.1rem;font-weight:600;transition:transform .3s,box-shadow .3s;box-shadow:0 4px 15px #1a365d4d}.cart-checkout:hover{transform:translateY(-2px);box-shadow:0 6px 20px #1a365d66}.cart-checkout:active{transform:translateY(0)}@media (hover: hover) and (pointer: fine){.cart-toggle:hover .cart,.cart-toggle:hover .cart-overlay{display:block}}@media (max-width: 768px){.products{flex-direction:column;align-items:center}.product-card{width:100%;max-width:300px}.product-detail{flex-direction:column;align-items:center;padding:1.5rem;gap:2rem}.product-detail-image{width:100%;min-height:300px}.product-detail-info h1{font-size:2rem}.product-description{font-size:1rem}.product-detail-info .price{font-size:1.5rem}header{flex-direction:column;gap:1rem}.header-actions{margin-left:0;width:auto;align-items:center}nav ul{flex-wrap:wrap;justify-content:center}nav ul li{margin:0 1rem .5rem 0}.cart{width:100%;max-width:100vw}.hero h1{font-size:2rem}.hero p{font-size:1rem}}footer{background:linear-gradient(135deg,#1a365d,#2c5aa0);color:#fff;text-align:center;padding:2rem;box-shadow:0 -4px 6px #00000026}.toast{position:fixed;top:20px;right:20px;background:#fff;padding:1rem 1.5rem;border-radius:8px;box-shadow:0 4px 16px #00000026;z-index:2000;animation:slideInToast .3s ease-out,slideOutToast .3s ease-in 2.7s forwards}@keyframes slideInToast{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes slideOutToast{0%{transform:translate(0);opacity:1}to{transform:translate(100%);opacity:0}}.toast-content{display:flex;align-items:center;gap:.75rem}.toast-icon{font-size:1.5rem;color:#2c5aa0;font-weight:700}.toast-success{border-left:4px solid #2c5aa0}.toast-success .toast-message{color:#333;font-weight:500}.toast-error{border-left:4px solid #dc3545}.toast-error .toast-message{color:#333;font-weight:500}.admin-panel{animation:fadeInUp .4s ease-out;max-width:1400px;margin:0 auto}.admin-hero{background:linear-gradient(135deg,#1a365d,#2c5aa0);border-radius:20px;padding:2rem;margin-bottom:2rem;box-shadow:0 12px 40px #1a365d26;display:flex;align-items:center;gap:2rem;color:#fff}.admin-hero>div:first-child{flex:1}.admin-kicker{font-size:.85rem;text-transform:uppercase;letter-spacing:1.2px;margin:0 0 .4rem;opacity:.9}.admin-panel h1{font-size:2.6rem;color:#fff;margin:0}.admin-stat{background:#ffffff26;padding:1.2rem 1.8rem;border-radius:14px;text-align:center;min-width:120px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.admin-stat span{display:block;font-size:2.4rem;font-weight:700;margin-bottom:.3rem}.admin-stat small{font-size:.85rem;opacity:.95}.admin-section{margin-bottom:2.5rem;background:#fff;border-radius:18px;padding:1.8rem;box-shadow:0 8px 28px #1a365d14}.admin-section h2{color:#1a365d;font-size:1.7rem;margin:0 0 1.5rem;border-bottom:2px solid rgba(26,54,93,.1);padding-bottom:.6rem}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:.6rem;border-bottom:2px solid rgba(26,54,93,.1)}.section-header h2{margin:0;border-bottom:none;padding-bottom:0}.section-header .manage-button{margin-bottom:0}.admin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;margin-bottom:2rem}.admin-card{background:linear-gradient(135deg,#f9fafb,#fff);border-radius:16px;padding:1.4rem;border:1px solid rgba(26,54,93,.08);display:flex;flex-direction:column;gap:.75rem;transition:box-shadow .3s,transform .3s}.admin-card:hover{box-shadow:0 12px 32px #1a365d1f;transform:translateY(-2px)}.admin-card h3{margin:0 0 .4rem;color:#2c5aa0;font-size:1.1rem}.admin-card label{font-weight:600;color:#333;font-size:.9rem}.admin-card input,.admin-card select,.admin-card textarea{padding:.7rem .9rem;border-radius:10px;border:1px solid rgba(26,54,93,.2);font-family:inherit;transition:border-color .3s,box-shadow .3s}.admin-card input:focus,.admin-card select:focus,.admin-card textarea:focus{outline:none;border-color:#2c5aa0;box-shadow:0 0 0 3px #2c5aa01a}.admin-card.submitted input:invalid,.admin-card.submitted select:invalid,.admin-card.submitted textarea:invalid{border-color:#dc2626!important;box-shadow:0 0 0 3px #dc26261a!important}.admin-card button{margin-top:.6rem;padding:.8rem 1.3rem;border-radius:999px;border:none;background:linear-gradient(135deg,#1a365d,#2c5aa0);color:#fff;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .3s;box-shadow:0 4px 12px #1a365d33}.admin-card button:hover{transform:translateY(-2px);box-shadow:0 6px 20px #1a365d4d}.admin-card button:active{transform:translateY(0)}.admin-card button.secondary{background:linear-gradient(135deg,#6b6b6b,#4b4b4b)}.admin-message{padding:.9rem 1.2rem;border-radius:12px;margin-bottom:1.2rem;background:#e5f2ea;color:#1f1f1f;font-weight:500;border-left:4px solid #4caf50}.admin-message.error{background:#f9e3e3;border-left-color:#e53935}.admin-table{margin-top:1.5rem}.admin-table h3{color:#1a365d;margin-bottom:1rem;font-size:1.2rem}.admin-table table{width:100%;border-collapse:collapse;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 6px 20px #1a365d12}.admin-table th,.admin-table td{padding:.85rem 1rem;border-bottom:1px solid rgba(26,54,93,.06);text-align:left;font-size:.95rem}.admin-table th{background:#edf2f7;color:#1a365d;font-weight:600}.admin-table tbody tr:hover{background:#1a365d05}.admin-table img{width:56px;height:56px;border-radius:10px;object-fit:cover;box-shadow:0 2px 8px #0000001a}@media (max-width: 768px){.admin-hero{flex-direction:column;text-align:center}.admin-panel h1{font-size:2rem}.admin-grid{grid-template-columns:1fr}.admin-table{overflow-x:auto}}.modal-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease-in-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;max-width:600px;width:90%;max-height:90vh;display:flex;flex-direction:column;animation:slideUp .3s ease-out}@keyframes slideUp{0%{transform:translateY(30px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;border-bottom:1px solid rgba(26,54,93,.1)}.modal-header h2{margin:0;color:#1a365d;font-size:1.5rem}.modal-close{background:none;border:none;font-size:1.5rem;color:#666;cursor:pointer;padding:.5rem;line-height:1;transition:color .2s;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;border-radius:50%}.modal-close:hover{color:#1a365d;background:#1a365d1a}.modal-body{padding:2rem;overflow-y:auto}.modal-tabs{display:flex;gap:.5rem;margin-bottom:2rem;border-bottom:2px solid rgba(26,54,93,.1)}.modal-tab{padding:.75rem 1.5rem;background:none;border:none;border-bottom:3px solid transparent;color:#666;font-weight:600;cursor:pointer;transition:all .2s;margin-bottom:-2px;font-size:.95rem}.modal-tab:hover{color:#2c5aa0;background:#2c5aa00d}.modal-tab.active{color:#2c5aa0;border-bottom-color:#2c5aa0;background:#2c5aa00d}.modal-form{display:flex;flex-direction:column;gap:1.2rem}.modal-form label{font-weight:600;color:#333;font-size:.9rem;margin-bottom:.4rem;display:block}.modal-form input,.modal-form select,.modal-form textarea{width:100%;padding:.75rem 1rem;border-radius:8px;border:1px solid rgba(26,54,93,.2);font-family:inherit;font-size:1rem;transition:border-color .3s,box-shadow .3s}.modal-form input:focus,.modal-form select:focus,.modal-form textarea:focus{outline:none;border-color:#2c5aa0;box-shadow:0 0 0 3px #2c5aa01a}.modal-form.submitted input:invalid,.modal-form.submitted select:invalid,.modal-form.submitted textarea:invalid{border-color:#dc2626!important;box-shadow:0 0 0 3px #dc26261a!important}.modal-form textarea{resize:vertical;min-height:80px}.modal-form button[type=submit]{margin-top:1rem;padding:.9rem 2rem;border-radius:999px;border:none;background:linear-gradient(135deg,#1a365d,#2c5aa0);color:#fff;font-weight:600;font-size:1rem;cursor:pointer;transition:transform .2s,box-shadow .3s;box-shadow:0 4px 12px #1a365d4d}.modal-form button[type=submit]:hover{transform:translateY(-2px);box-shadow:0 6px 20px #1a365d66}.modal-form button[type=submit]:active{transform:translateY(0)}.modal-form button[type=submit].secondary{background:linear-gradient(135deg,#dc2626,#b91c1c);box-shadow:0 4px 12px #dc26264d}.modal-form button[type=submit].secondary:hover{box-shadow:0 6px 20px #dc262666}.delete-warning{background:#fef2f2;border-left:4px solid #dc2626;padding:1rem;margin-bottom:1rem;border-radius:8px;color:#991b1b;font-size:.9rem}.delete-warning strong{display:block;margin-bottom:.5rem;font-size:1rem}.manage-button{padding:.75rem 1.5rem;border-radius:999px;border:none;background:linear-gradient(135deg,#1a365d,#2c5aa0);color:#fff;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .3s;box-shadow:0 4px 12px #1a365d33;margin-bottom:1.5rem}.manage-button:hover{transform:translateY(-2px);box-shadow:0 6px 20px #1a365d4d}.manage-button:active{transform:translateY(0)}.header-user{position:relative;color:#e2e8f0;font-size:.95rem}.account-trigger{border:none;background:transparent;color:inherit;font:inherit;cursor:pointer;font-weight:600;padding:.2rem .25rem .7rem;position:relative}.account-trigger:after{content:"";position:absolute;left:50%;transform:translate(-50%);bottom:.15rem;width:26px;height:6px;border-radius:999px;background:#ffffff73;transition:background-color .2s ease}.account-trigger:hover:after,.account-trigger:focus-visible:after,.header-user:focus-within .account-trigger:after{background:#ffffffbf}.account-trigger:focus-visible{outline:2px solid rgba(144,202,249,.85);outline-offset:2px;border-radius:6px}.account-panel{position:absolute;top:100%;right:0;min-width:180px;background:#fff;border-radius:10px;box-shadow:0 10px 28px #0003;padding:.45rem;display:flex;flex-direction:column;gap:.15rem;opacity:0;pointer-events:none;transform:translateY(-6px);transition:opacity .15s ease,transform .15s ease;z-index:130}.account-panel.open,.header-user:hover .account-panel,.header-user:focus-within .account-panel{opacity:1;pointer-events:auto;transform:translateY(0)}.account-panel a,.account-panel-button{color:#1a365d;text-decoration:none;font-size:.9rem;font-weight:600;border-radius:8px;padding:.5rem .65rem;text-align:left}.account-panel a:hover,.account-panel a:focus-visible,.account-panel-button:hover,.account-panel-button:focus-visible{background:#edf2f7;color:#1a365d}.account-panel-button{border:none;background:transparent;font:inherit;cursor:pointer}.header-link-button{border:none;background:transparent;color:#fff;font:inherit;cursor:pointer;font-weight:500}.header-link-button:hover{color:#90caf9}.auth-page{display:flex;align-items:center;justify-content:center;padding:2rem}.auth-card{width:100%;max-width:460px;background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 8px 24px #1a365d1f}.auth-card h1{margin-bottom:.5rem;color:#1a365d}.auth-card p{margin-bottom:.75rem}.auth-card form{display:flex;flex-direction:column;gap:.7rem}.auth-card label{font-weight:600;color:#1f2937}.auth-card input{border:1px solid #cbd5e1;border-radius:8px;padding:.65rem .75rem;font-size:1rem}.auth-card button{margin-top:.5rem;padding:.75rem;border:none;border-radius:8px;background:linear-gradient(135deg,#1a365d,#2c5aa0);color:#fff;font-weight:600;cursor:pointer}.auth-card button:disabled{opacity:.7;cursor:not-allowed}.auth-message{margin:.75rem 0;padding:.65rem .75rem;border-radius:8px;background:#ecfeff;color:#0f766e;border:1px solid #99f6e4}.auth-message.error{background:#fef2f2;color:#991b1b;border-color:#fecaca}.auth-footer-text{margin-top:1rem}
