.back-home-btn{display:flex;align-items:center;gap:6px;background:transparent;border:none;color:#fff;font-size:.95rem;font-weight:600;padding:8px 12px;margin-bottom:12px;cursor:pointer;transition:color .2s ease,background .2s ease;border-radius:6px}.back-home-btn:hover{background-color:#0000000d;color:#fff}.back-home-btn svg{font-size:1.2rem}.sidebar{width:240px;background-color:#2d3748;color:#fff;padding:30px 20px;position:fixed;left:0;top:0;bottom:0;display:flex;flex-direction:column;z-index:1100;transition:transform .3s ease-in-out;overflow-y:auto}.profile-section{display:flex;flex-direction:column;align-items:center;margin-bottom:30px;padding-bottom:20px;border-bottom:1px solid rgba(255,255,255,.1)}.profile-img{width:60px;height:60px;border-radius:50%;object-fit:cover;margin-bottom:10px}.profile-name{font-size:1rem;font-weight:700;margin:5px 0;color:#fff}.profile-email{font-size:.85rem;color:#a0aec0;margin:0}.sidebar nav{display:flex;flex-direction:column;gap:10px}.sidebar nav a,.sidebar nav button.logout-button{display:flex;align-items:center;gap:10px;padding:12px 10px;color:#fff;text-decoration:none;border-radius:8px;background:none;border:none;cursor:pointer;font-size:16px;text-align:left;width:100%;transition:background-color .3s;touch-action:manipulation}.sidebar nav a.active-link,.sidebar nav a:hover,.sidebar nav button.logout-button:hover{background-color:#4a5568}.admin-content{margin-left:240px;transition:margin-left .3s ease;min-height:100vh}.sidebar-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:transparent;z-index:1050;pointer-events:none}.sidebar-overlay.active{display:block;pointer-events:auto}.mobile-menu-btn{display:none}@media (max-width: 768px){.sidebar{transform:translate(-100%);width:240px;z-index:1100;pointer-events:auto}.sidebar.open{transform:translate(0)}.admin-content{margin-left:0}.mobile-menu-btn{display:flex;align-items:center;justify-content:center;position:fixed;top:15px;left:15px;background-color:#2d3748;color:#fff;border:none;font-size:28px;width:48px;height:48px;border-radius:8px;cursor:pointer;z-index:1200;transition:background .3s,transform .2s;box-shadow:0 2px 8px #0003;touch-action:manipulation}.mobile-menu-btn:hover{background-color:#4a5568}.mobile-menu-btn:active{transform:scale(.95)}.sidebar-overlay{display:block}}@media (max-width: 500px){.sidebar{width:220px}.sidebar-overlay.active{-webkit-clip-path:inset(0 0 0 220px);clip-path:inset(0 0 0 220px)}.mobile-menu-btn{top:10px;left:10px;width:44px;height:44px;font-size:24px}.profile-img{width:50px;height:50px}.profile-name{font-size:.9rem}.sidebar nav a,.sidebar nav button.logout-button{padding:10px 8px;font-size:15px}}@media (max-width: 360px){.sidebar{width:200px}.sidebar-overlay.active{-webkit-clip-path:inset(0 0 0 200px);clip-path:inset(0 0 0 200px)}}.app-layout{display:flex;height:100vh;font-family:Segoe UI,sans-serif}*{font-family:Segoe UI,sans-serif}.main-content{flex:1;background-color:#fff;display:flex;flex-direction:column}*{margin:0;padding:0;box-sizing:border-box}html,body{height:100%;background-color:#fff;font-family:Segoe UI,sans-serif}.loading-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100vh;background:#fff;gap:15px}.spinner{width:40px;height:40px;border:4px solid #ddd;border-top:4px solid #c30a1d;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.navbar{display:flex;justify-content:space-between;align-items:center;padding:12px 40px;background-color:#fff;height:80px;position:fixed;width:100%;top:0;left:0;z-index:999;transition:box-shadow .3s ease}.navbar.scrolled{box-shadow:0 2px 6px #00000014}.navbar-left{flex:1}.logo-img{margin-left:70px;height:26px;width:114px;object-fit:contain}.navbar-right{display:flex;align-items:center;gap:24px;flex:1;justify-content:flex-end}.icon{cursor:pointer;font-size:26px;color:#000;transition:color .2s ease}.icon:hover{color:gray}.search-wrapper{position:relative;display:flex;align-items:center}.search-form{display:flex;align-items:center;gap:8px;position:absolute;right:35px;background-color:#f9f9f9;padding:6px 12px;border-radius:30px;box-shadow:0 2px 8px #00000014;animation:fadeIn .3s ease forwards}.search-input{border:none;outline:none;background:transparent;font-size:14px;width:160px}.search-btn{background:transparent;border:none;cursor:pointer;color:#555;transition:color .2s ease}.search-btn:hover{color:#000}@keyframes fadeIn{0%{opacity:0;transform:scale(.95) translateY(-10px)}to{opacity:1;transform:scale(1) translateY(0)}}@media (max-width: 768px){.navbar{padding:10px 20px;height:70px}.logo-img{margin-left:20px;width:100px;height:24px}.navbar-right{gap:16px}.icon{font-size:22px}.search-form{right:15px;padding:5px 10px}.search-input{width:120px;font-size:13px}}@media (max-width: 480px){.navbar{flex-direction:column;align-items:flex-start;height:auto}.logo-img{margin-left:0;margin-bottom:8px;width:90px;height:22px}.navbar-right{width:100%;justify-content:space-between;gap:12px}.icon{font-size:20px}.search-form{right:15px;padding:5px 10px}.search-input{width:100px;font-size:12px}}@media (min-width: 769px) and (max-width: 1024px){.navbar{padding:10px 30px;height:70px;flex-direction:row;justify-content:space-between;align-items:center}.logo-img{margin-left:30px;width:110px;height:25px}.navbar-right{gap:20px;justify-content:flex-end;flex:1}.icon{font-size:24px}.search-form{right:20px;padding:6px 12px}.search-input{width:140px;font-size:14px}.desktop-menu{display:none}.mobile-menu{display:block}}.user-dropdown-container{position:relative;height:80px;display:flex;align-items:center;margin-left:auto;padding:0 20px}.account-icon-wrapper{display:flex;align-items:center;height:100%;cursor:pointer;padding:0 10px}.account-icon{transition:all .2s ease}.account-icon:hover{transform:scale(1.1)}.dropdown-menu{position:absolute;right:10px;top:75px;background:#fff;border-radius:8px;box-shadow:0 4px 12px #00000026;min-width:180px;z-index:1000;overflow:hidden;border:1px solid #eee}.dropdown-item{display:flex;align-items:center;padding:12px 16px;cursor:pointer;transition:background-color .2s;font-size:14px;color:#333}.dropdown-item:hover{background-color:#f5f5f5}.dropdown-item:not(:last-child){border-bottom:1px solid #eee}.dropdown-icon{margin-right:12px;font-size:18px;color:#666}.category-navbar{width:100%;position:relative}.category-title{display:flex;align-items:center;gap:6px;cursor:pointer}.arrow{display:inline-block;transition:transform .25s ease;font-size:12px}.arrow.open{transform:rotate(180deg)}.desktop-menu{display:flex;justify-content:center;align-items:center;gap:2rem;background:#fff;padding:1rem;color:#000;font-size:18px}.parent-category{position:relative;cursor:pointer;transition:color .3s ease}.parent-category:hover{color:red}.parent-category.active{color:red;font-weight:700}.submenu{position:absolute;top:100%;left:50%;transform:translate(-50%) scaleY(0);transform-origin:top;background:#fff;color:#000;min-width:800px;max-width:95vw;box-shadow:0 4px 6px #0003;z-index:10;opacity:0;visibility:hidden;transition:transform .35s cubic-bezier(.4,0,.2,1),opacity .35s ease;border-radius:8px;padding:0}.submenu.open{transform:translate(-50%) scaleY(1);opacity:1;visibility:visible;padding:1.5rem}.mega-menu{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}@media (max-width: 1200px){.mega-menu{grid-template-columns:repeat(3,1fr)}}@media (max-width: 900px){.mega-menu{grid-template-columns:repeat(2,1fr)}}@media (max-width: 600px){.mega-menu{grid-template-columns:1fr}}.submenu-item{padding:.5rem;cursor:pointer;transition:background .2s ease,color .2s ease}.submenu-item:hover{background:#f5f5f5;color:red}.mobile-menu{display:none}.burger-btn{background:none;border:none;font-size:26px;color:#000;cursor:pointer;padding:8px}.mobile-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;z-index:999}.mobile-bottom-sheet{position:fixed;bottom:0;left:0;width:100%;height:auto;max-height:90vh;background:linear-gradient(to top,#000,#111);border-radius:16px 16px 0 0;z-index:1000;display:flex;flex-direction:column;transition:transform .3s ease-in-out,height .3s ease-in-out;overflow:hidden}.mobile-bottom-sheet.open{animation:slideUp .3s ease forwards}.mobile-bottom-sheet.closed{animation:slideDown .3s ease forwards}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes slideDown{0%{transform:translateY(0)}to{transform:translateY(100%)}}.sheet-handle{width:40px;height:4px;background:#fff;border-radius:10px;margin:10px auto;flex-shrink:0}.sheet-content{display:flex;flex-direction:column;gap:0;padding:20px;overflow-y:auto;flex:0 1 auto;min-height:0}.sheet-content::-webkit-scrollbar{width:6px}.sheet-content::-webkit-scrollbar-thumb{background:#ffffff4d;border-radius:3px}.sheet-content::-webkit-scrollbar-thumb:hover{background:#ffffff80}.sheet-item{color:#fff;font-size:16px;padding:14px 0;display:flex;justify-content:space-between;align-items:center;cursor:pointer;border-bottom:1px solid rgba(255,255,255,.1)}.sheet-arrow{font-size:18px;opacity:.7;transition:transform .3s cubic-bezier(.4,0,.2,1);color:red}.sheet-arrow.open{transform:rotate(180deg)}.mobile-category-block{width:100%}.mobile-submenu{padding-left:16px;display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s ease-in-out,opacity .3s ease-in-out,padding .3s ease-in-out;opacity:0;padding-top:0;padding-bottom:0}.mobile-submenu>div{overflow:hidden}.mobile-submenu.open{grid-template-rows:1fr;opacity:1;padding-top:8px;padding-bottom:8px}.arrow{transition:transform .35s cubic-bezier(.4,0,.2,1)}.mobile-submenu-item{padding:10px 0;font-size:14px;color:#ccc;cursor:pointer;transition:color .2s ease}.mobile-submenu-item:hover{color:#fff}@media (max-width: 768px){.desktop-menu{display:none}.mobile-menu{display:block}.submenu{position:static;transform:none;width:100%;max-width:100%;border-radius:0;box-shadow:none}.submenu.open{max-height:1000px;padding:1rem}}@media (max-width: 1366px) and (min-width: 901px){.mega-menu{grid-template-columns:repeat(3,1fr)!important;gap:1rem}.submenu{max-width:95vw}}@media (max-width: 1024px){.desktop-menu{display:none}.mobile-menu{display:block}}@media (min-width: 769px) and (max-width: 1024px){.desktop-menu{display:none}.mobile-menu{display:block}.mobile-bottom-sheet{width:95%;left:2.5%;max-height:85vh;border-radius:16px}.sheet-content{padding:20px 15px}.sheet-item{font-size:16px}.mobile-submenu-item{font-size:14px;padding:10px 0}.sheet-content::-webkit-scrollbar{width:5px}.sheet-content::-webkit-scrollbar-thumb{background:#ffffff40;border-radius:3px}}.submenu.single-item{min-width:200px;max-width:300px}.submenu.single-item .mega-menu{grid-template-columns:1fr}
