﻿
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.eg-wrap {
    font-family: 'Inter', -apple-system, sans-serif;
    background: #F8FAFC;
    color: #0F172A;
    font-size: 13px;
    line-height: 1.5;
}

.eg-header {
    background: #fff;
    border-bottom: 1px solid #E2E8F0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.eg-header-top {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
}

.eg-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.eg-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.eg-logo-img {
    height: 58px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    transition: all 0.3s ease;
}

    .eg-logo-img:hover {
        transform: scale(1.03);
    }

/* Sticky header ke liye */
.eg-header {
    min-height: 75px;
}

/* Tablet */
@media (max-width: 991px) {
    .eg-logo-img {
        height: 50px;
        max-width: 180px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .eg-logo-img {
        height: 42px;
        max-width: 150px;
    }
}




.eg-logo-img {
    height: 45px;
    width: auto;
    
    object-fit: contain;
    filter: contrast(1.05) saturate(1.1);
}

.eg-search {
    flex: 1;
    display: flex;
    align-items: center;
    background: #F1F5F9;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    max-width: 520px;
    transition: border-color 0.2s;
}

    .eg-search:focus-within {
        border-color: #2563EB;
        background: #fff;
    }

    .eg-search select {
        background: #E2E8F0;
        border: none;
        outline: none;
        padding: 0 10px 0 12px;
        height: 40px;
        font-size: 12px;
        font-weight: 500;
        color: #475569;
        cursor: pointer;
    }

    .eg-search input {
        flex: 1;
        border: none;
        background: transparent;
        outline: none;
        padding: 0 12px;
        height: 40px;
        font-size: 13px;
        color: #0F172A;
        min-width: 0;
    }

.eg-search-btn {
    background: #2563EB;
    border: none;
    padding: 0 16px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #fff;
}

.eg-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.eg-action-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid #E2E8F0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #475569;
    position: relative;
    transition: all 0.15s;
}

    .eg-action-btn:hover {
        background: #F1F5F9;
        border-color: #CBD5E1;
    }

.eg-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #2563EB;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

    .eg-badge.green {
        background: #10B981;
    }

.eg-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #F1F5F9;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid #E2E8F0;
}

.eg-avatar {
    width: 28px;
    height: 28px;
    background: #2563EB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}

.eg-profile-info {
    line-height: 1.2;
}

    .eg-profile-info strong {
        font-size: 12px;
        font-weight: 600;
        color: #0F172A;
        display: block;
    }

    .eg-profile-info span {
        font-size: 10px;
        color: #64748B;
    }

.eg-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0 20px 0;
    border-top: 1px solid #F1F5F9;
    height: 40px;
    overflow-x: auto;
}

    .eg-nav a {
        display: flex;
        align-items: center;
        gap: 5px;
        padding: 0 12px;
        height: 40px;
        font-size: 12px;
        font-weight: 500;
        color: #475569;
        text-decoration: none;
        border-bottom: 2px solid transparent;
        white-space: nowrap;
        transition: color 0.15s;
    }

        .eg-nav a.active {
            color: #2563EB;
            border-bottom-color: #2563EB;
        }

        .eg-nav a:hover {
            color: #2563EB;
        }

.eg-hero {
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 60%, #3B82F6 100%);
    padding: 32px 20px;
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
    overflow: hidden;
}

    .eg-hero::before {
        content: '';
        position: absolute;
        right: -40px;
        top: -40px;
        width: 320px;
        height: 320px;
        background: rgba(255,255,255,0.05);
        border-radius: 50%;
    }

    .eg-hero::after {
        content: '';
        position: absolute;
        right: 80px;
        bottom: -60px;
        width: 200px;
        height: 200px;
        background: rgba(16,185,129,0.15);
        border-radius: 50%;
    }

.eg-hero-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.eg-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16,185,129,0.2);
    border: 1px solid rgba(16,185,129,0.4);
    color: #6EE7B7;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.eg-hero h1 {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 10px;
}

.eg-hero p {
    font-size: 13px;
    color: #BFDBFE;
    margin-bottom: 18px;
    max-width: 360px;
}

.eg-hero-btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-primary {
    background: #10B981;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.btn-outline {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.4);
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(4px);
}

.eg-hero-stats {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.eg-hero-stat {
    text-align: center;
}

    .eg-hero-stat strong {
        display: block;
        font-size: 18px;
        font-weight: 700;
        color: #fff;
    }

    .eg-hero-stat span {
        font-size: 10px;
        color: #93C5FD;
    }

.eg-hero-visual {
    width: 220px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.eg-hero-card {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 10px 14px;
    backdrop-filter: blur(8px);
}

.eg-hero-card-label {
    font-size: 10px;
    color: #93C5FD;
    font-weight: 500;
    margin-bottom: 4px;
}

.eg-hero-card-val {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.eg-hero-card-sub {
    font-size: 10px;
    color: #6EE7B7;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.eg-cats {
    display: flex;
    gap: 10px;
    padding: 16px 20px;
    background: #fff;
    border-bottom: 1px solid #E2E8F0;
    overflow-x: auto;
}

.eg-cat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s;
}

    .eg-cat:hover, .eg-cat.active {
        background: #EFF6FF;
        border-color: #2563EB;
    }

.eg-cat-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.eg-cat span {
    font-size: 12px;
    font-weight: 500;
    color: #334155;
}

.eg-cat small {
    font-size: 10px;
    color: #94A3B8;
    display: block;
}

.eg-main {
    display: flex;
    gap: 0;
}

.eg-sidebar {
    width: 200px;
    flex-shrink: 0;
    background: #fff;
    border-right: 1px solid #E2E8F0;
    padding: 16px;
}

    .eg-sidebar h3 {
        font-size: 12px;
        font-weight: 600;
        color: #64748B;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        margin-bottom: 10px;
        margin-top: 16px;
    }

        .eg-sidebar h3:first-child {
            margin-top: 0;
        }

.eg-filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
}

    .eg-filter-item:hover {
        background: #F1F5F9;
    }

    .eg-filter-item input {
        accent-color: #2563EB;
    }

    .eg-filter-item label {
        font-size: 12px;
        color: #334155;
        cursor: pointer;
        flex: 1;
    }

    .eg-filter-item span {
        font-size: 10px;
        color: #94A3B8;
        background: #F1F5F9;
        padding: 1px 6px;
        border-radius: 10px;
    }

.eg-price-range {
    padding: 4px 8px;
}

    .eg-price-range input[type=range] {
        width: 100%;
        accent-color: #2563EB;
    }

.eg-price-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #64748B;
}

.eg-sidebar-btn {
    width: 100%;
    padding: 8px;
    background: #2563EB;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 14px;
}

.eg-content {
    flex: 1;
    padding: 16px;
    min-width: 0;
}

.eg-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 10px;
}

.eg-toolbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.eg-result-count {
    font-size: 13px;
    color: #475569;
}

    .eg-result-count strong {
        color: #0F172A;
        font-weight: 600;
    }

.eg-sort {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .eg-sort select {
        padding: 6px 10px;
        border: 1px solid #E2E8F0;
        border-radius: 8px;
        font-size: 12px;
        color: #334155;
        background: #fff;
        outline: none;
    }

.eg-view-btns {
    display: flex;
    gap: 4px;
}

.eg-view-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #94A3B8;
    background: #fff;
}

    .eg-view-btn.active {
        background: #2563EB;
        color: #fff;
        border-color: #2563EB;
    }

/*.eg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}*/

/*.eg-sidebar {
    height: 100vh;*/ /* full screen height */
    /*overflow-y: auto;*/ /* vertical scroll */
    /*padding-right: 8px;*/ /* scrollbar space fix */
/*}*/


.searchbox {
    position: relative;
    width: 100%;
    max-width: 500px;
}

    .searchbox .form-control {
        padding-right: 35px;
    }

    .searchbox .input-group-prepend {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }

    .searchbox .input-group-text {
        background: transparent;
        border: none;
        padding: 0;
        cursor: pointer;
    }

    .searchbox .fa-times {
        color: #6c757d;
    }

        .searchbox .fa-times:hover {
            color: #dc3545;
        }


.eg-product {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.2s;
    cursor: pointer;
}

    .eg-product:hover {
        border-color: #93C5FD;
    }


[class*=col-] {
    padding-left: 2px;
    padding-right: 10px;
    padding-bottom: 8px;
}

.eg-product-img {
    position: relative;
    background: #F8FAFC;
    height: 128px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #F1F5F9;
}

    .eg-product-img .prod-emoji {
        font-size: 52px;
    }

.eg-product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 6px;
}

    .eg-product-badge.new {
        background: #ECFDF5;
        color: #065F46;
    }

    .eg-product-badge.hot {
        background: #FEF3C7;
        color: #92400E;
    }

    .eg-product-badge.sale {
        background: #FEE2E2;
        color: #991B1B;
    }

.eg-wish {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #CBD5E1;
    cursor: pointer;
}

.eg-product-body {
    padding: 12px;
}

.eg-product-cat {
    font-size: 10px;
    color: #2563EB;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.eg-product-name {
    font-size: 13px;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 3px;
    line-height: 1.3;
}

.eg-product-sku {
    font-size: 10px;
    color: #94A3B8;
    margin-bottom: 6px;
}

.eg-stars {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 6px;
}

    .eg-stars i {
        font-size: 11px;
        color: #F59E0B;
    }

    .eg-stars span {
        font-size: 10px;
        color: #64748B;
    }

.eg-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #F1F5F9;
}

.eg-price {
    font-size: 16px;
    font-weight: 700;
    color: #0F172A;
}

    .eg-price small {
        font-size: 10px;
        font-weight: 400;
        color: #94A3B8;
    }

    .eg-price del {
        font-size: 11px;
        font-weight: 400;
        color: #CBD5E1;
        display: block;
        line-height: 1;
    }

.eg-stock {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    margin-top: 4px;
}

.eg-stock-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.eg-add-btn {
    background: #2563EB;
    color: #fff;
    border: none;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background 0.15s;
}

    .eg-add-btn:hover {
        background: #1D4ED8;
    }

.eg-qty {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #F1F5F9;
    border-radius: 8px;
    padding: 4px;
}

    .eg-qty button {
        width: 22px;
        height: 22px;
        border: none;
        background: #fff;
        border-radius: 6px;
        cursor: pointer;
        font-size: 14px;
        color: #475569;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .eg-qty span {
        font-size: 12px;
        font-weight: 600;
        color: #0F172A;
        min-width: 14px;
        text-align: center;
    }

.eg-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    padding-bottom: 8px;
}

.eg-page-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    background: #fff;
}

    .eg-page-btn.active {
        background: #2563EB;
        color: #fff;
        border-color: #2563EB;
    }

.eg-info-bar {
    display: flex;
    gap: 10px;
    padding: 10px 20px;
    background: #EFF6FF;
    border-bottom: 1px solid #DBEAFE;
}

.eg-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #1E40AF;
}

