* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a, a:link {text-decoration:none}
@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-1Thin.woff2') format('woff2');
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-2ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-3Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-4Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-5Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-9Black.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}

body {
    font-family:'Paperozi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #333;
    background-color: #fafafa;
    padding-bottom: 70px;
    overflow-x: hidden;
}

/* Side Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Side Menu */
.side-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background-color: #fafafa;
    z-index: 999;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
}

.side-menu.active {
    left: 0;
}

.side-menu-content {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
}

.menu-group {
    margin:10px;
}
.menu-group-2 {
    margin:0px 10px 10px 10px;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 18px 24px;
    border-radius: 15px;
    cursor: pointer;
    background-color: #ffffff;
    transition: background-color 0.2s ease;
    border-bottom: none;
}
.radius-top {
    border-radius: 15px 15px 0px 0px;
}
.radius-bottom {
    border-radius: 0px 0px 15px 15px;
}
.radius-no {
    border-radius: 0px;
}

.menu-item:hover {
    background-color: #f8f9fa;
}

.menu-item i {
    width: 24px;
    height: 24px;
    margin-right: 20px;
    font-size: 20px;
    color: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-item span {
    font-size: 16px;
    color: #333333;
    font-weight: 400;
    line-height: 1.4;
}

/* Side Menu Bottom */
.side-menu-bottom {
    border-top: 1px solid #e9ecef;
    padding: 0;
    background-color: #ffffff;
}

.bottom-menu-item {
    display: flex;
    align-items: center;
    padding: 18px 24px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.bottom-menu-item:hover {
    background-color: #f8f9fa;
}

.bottom-menu-item i {
    width: 24px;
    height: 24px;
    margin-right: 20px;
    font-size: 20px;
    color: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom-menu-item span {
    font-size: 16px;
    color: #333333;
    font-weight: 400;
    flex: 1;
}

/* Body shift when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 50px;
}

.header-left, .header-right {
   
}

.header-center {
    flex: 1;
    text-align: center;
}

.menu-btn, .search-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.menu-btn:hover, .search-btn:hover {
    background-color: #f0f0f0;
}

.logo {
    height: 25px;
}

/* Main Content */
main {
    margin-top: 50px;
}

/* Banner Section */
.banner-section {
    padding: 15px;
    background-color: #fff;
    margin-top:50px;
    margin-bottom: 10px;
}

.banner {
    background: linear-gradient(135deg, #D4A574, #C19A6B);
    border-radius: 12px;
    padding: 20px;
    color: white;
    position: relative;
    overflow: hidden;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner-text p {
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.4;
}

.banner-logo img {
    height: 30px;
}

/* Category Section */
.category-section {
    background-color: #fff;
    padding: 20px 15px;
    margin-bottom: 10px;
}

.category-icons {
    display: flex;
    justify-content: space-between;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.category-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 20px;
    color: #666;
}

.category-item span {
    font-size: 12px;
    color: #666;
}

/* Filter Section */
.filter-section {
    background-color: #fff;
    padding: 15px;
    margin-bottom: 10px;
}

.filter-header {
    margin-bottom: 15px;
}

.filter-text {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.filter-options {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.filter-item {
    padding: 8px 16px;
    background-color: #f8f8f8;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-item.active {
    background-color: #333;
    color: #fff;
}

.filter-item:hover {
    background-color: #e0e0e0;
}

.filter-item.active:hover {
    background-color: #333;
}

/* Hot Deals Section */
.hot-deals-section {
    background-color: #fff;
    padding: 20px 15px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.deals-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.deal-item {
    display: flex;
    gap: 15px;
}

.deal-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.deal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.deal-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.deal-title {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.deal-price {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* Popular Section */
.popular-section {
    background-color: #fff;
    padding: 20px 15px;
    margin-bottom: 10px;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.product-item {
    display: flex;
    flex-direction: column;
}

.product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
}

.product-info {
    display: flex;
    flex-direction: column;
}

.product-price {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.product-title {
    font-size: 12px;
    color: #666;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.more-btn {
    text-align: center;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.more-btn:hover {
    background-color: #f8f8f8;
}

.more-btn span {
    font-size: 14px;
    color: #666;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    border-bottom: solid 10px #fff;
    width: 100vw;
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
    color: #999;
}

.nav-item span {
    font-size: 10px;
    color: #999;
}

.nav-item.active i,
.nav-item.active span {
    color: #ff0050;
    font-weight: bold;
}

.nav-item:hover i,
.nav-item:hover span {
    color: #ff0050;
}

/* Responsive Design */
@media (max-width: 480px) {
    .side-menu {
        width: 280px;
        left: -280px;
    }
    
    .menu-item,
    .bottom-menu-item {
        padding: 16px 20px;
    }
    
    .menu-item span,
    .bottom-menu-item span {
        font-size: 15px;
    }
}

/* Scrollbar Styling */
.filter-options::-webkit-scrollbar {
    height: 4px;
}

.filter-options::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.filter-options::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

.filter-options::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.side-menu-content::-webkit-scrollbar {
    width: 4px;
}

.side-menu-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.side-menu-content::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

.side-menu-content::-webkit-scrollbar-thumb:hover {
    background: #999;
}