﻿/* =================================================================
   ELITE GLOBAL v2 — Homepage Styles
   File    : Content/eg2-home.css
   Add in  : _LayoutPage_FrontEnd.cshtml <head> AFTER existing CSS
   Prefix  : eg2- (no conflicts with Porto theme classes)
   ================================================================= */

/* ── Info Strip ─────────────────────────────────────────────── */




/* =================================================================
   ELITE GLOBAL — Professional Header Styling
   File    : Content/Header-home.css
   Layout  : _LayoutPage_FrontEnd.cshtml (already references this)
   System  : .eg-wrap, .eg-header (desktop only), fallback to Porto mobile
   ================================================================= */

/* ── HEADER WRAPPER ────────────────────────────────────────────── */



.parent-cat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    padding: 10px;
    background: #f8fafc;
    border-radius: 6px;
    margin-bottom: 4px;
}

.child-cat {
    padding: 8px 10px 8px 32px;
    cursor: pointer;
    border-left: 2px solid #e5e7eb;
    margin-left: 12px;
    transition: all .2s ease;
}

    .child-cat:hover {
        background: #f1f5f9;
        color: #2563eb;
    }



.cart-toast {
    position: fixed;
    bottom: 16px;
    right: 16px;
    width: 260px; /* smaller */
    background: #fff;
    border-left: 4px solid #22c55e;
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
    padding: 10px;
    border-radius: 10px;
    z-index: 99999;
    animation: slideIn 0.25s ease;
    font-family: system-ui, sans-serif;
}

@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.toast-img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eee;
}

.toast-text strong {
    font-size: 13px;
    display: block;
    color: #111;
}

.toast-text p {
    margin: 2px 0 0;
    font-size: 11px;
    color: #666;
}

.toast-actions {
    margin-top: 8px;
    display: flex;
    gap: 6px;
}

    .toast-actions .btn {
        flex: 1;
        text-align: center;
        padding: 6px 8px;
        font-size: 12px;
        border-radius: 8px;
        text-decoration: none;
        transition: 0.2s ease;
    }

    /* light button */
    .toast-actions .viewcart {
        background: #f3f4f6;
        color: #111;
    }

    /* dark primary button */
    .toast-actions .checkout {
        background: #111827;
        color: #fff;
    }

    .toast-actions .btn:hover {
        transform: translateY(-1px);
        opacity: 0.9;
    }
















.eg-wrap {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    background: #fff;
    color: #0F172A;
}

.eg-header {
    background: #fff;
    border-bottom: 3px solid #2563EB;
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.10);
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: auto;
}

.eg-header-top {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 0;
    flex-wrap: wrap;
}

/* ── LOGO ──────────────────────────────────────────────────────── */
.eg-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

.eg-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s;
}

.eg-logo-link:hover {
    transform: scale(1.02);
}

.eg-logo-img {
    height: 50px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    display: block;
}

/* ── SEARCH BAR ────────────────────────────────────────────────── */
.eg-search {
    flex: 1;
    display: flex;
    align-items: center;
    background: #F1F5F9;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    max-width: 600px;
    min-width: 280px;
    transition: all 0.2s ease;
    height: 42px;
}

.eg-search:focus-within {
    border-color: #2563EB;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.eg-search select {
    background: #E2E8F0;
    border: none;
    outline: none;
    padding: 0 14px;
    height: 100%;
    font-size: 12px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    border-radius: 0;
    min-width: 140px;
}

.eg-search select:hover {
    background: #CBD5E1;
}

.eg-search input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    padding: 0 14px;
    height: 100%;
    font-size: 13px;
    color: #0F172A;
    font-weight: 400;
}

.eg-search input::placeholder {
    color: #94A3B8;
}

.eg-search-btn {
    background: #2563EB;
    border: none;
    padding: 0 16px;
    height: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.15s;
    border-radius: 0;
    font-size: 15px;
}

.eg-search-btn:hover {
    background: #1D4ED8;
}

/* ── HEADER ACTIONS (Icons, Profile) ───────────────────────────── */
.eg-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}

/* Dashboard / LogOff links */
.eg-header-actions > a {
    color: #334155 !important;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.15s;
    white-space: nowrap;
}

.eg-header-actions > a:hover {
    color: #2563EB !important;
    background: #EFF6FF;
}

/* ── CART ICON ─────────────────────────────────────────────────── */
.eg-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1.5px solid #E2E8F0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #475569;
    position: relative;
    transition: all 0.15s;
    font-size: 16px;
}

.eg-action-btn:hover {
    background: #EFF6FF;
    border-color: #2563EB;
    color: #2563EB;
}

.eg-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #2563EB;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3);
}

.eg-badge.green {
    background: #10B981;
}

/* ── PROFILE DROPDOWN ──────────────────────────────────────────── */
.eg-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    background: #EFF6FF;
    border: 1.5px solid #DBEAFE;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s;
}

.eg-profile:hover {
    background: #E0EFFE;
    border-color: #93C5FD;
}

.eg-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.eg-profile-info {
    line-height: 1.2;
    display: flex;
    flex-direction: column;
}

.eg-profile-info strong {
    font-size: 12px;
    font-weight: 700;
    color: #0F172A;
    display: block;
}

.eg-profile-info span {
    font-size: 10px;
    color: #64748B;
    font-weight: 400;
}

/* ── NAVIGATION BAR ────────────────────────────────────────────── */
.eg-nav {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0;
    border-top: 1px solid #F1F5F9;
    height: 48px;
    overflow-x: auto;
    overflow-y: hidden;
}

.eg-nav::-webkit-scrollbar {
    height: 3px;
}

.eg-nav::-webkit-scrollbar-track {
    background: transparent;
}

.eg-nav::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 3px;
}

.eg-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 18px;
    height: 48px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    transition: all 0.15s ease;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.eg-nav a:hover {
    color: #2563EB;
    background: #F8FAFC;
}

.eg-nav a.active {
    color: #2563EB;
    border-bottom-color: #2563EB;
    background: #EFF6FF;
}

.eg-nav a i {
    font-size: 14px;
}

/* ── INFO STRIP (below header) ─────────────────────────────────── */
.eg-infostrip {
    background: #10B981;
    padding: 10px 0;
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

.eg-infostrip-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 11px;
    color: #fff;
    padding: 0 20px;
}

.eg-infostrip-inner > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.eg-strip-icon {
    font-size: 13px;
    opacity: 0.9;
}

.eg-strip-right {
    margin-left: auto;
}

/* ── CART DROPDOWN STYLING ────────────────────────────────────── */
.cart-dropdown .dropdown-menu {
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 0;
}

.dropdown-cart-header {
    background: #24262a;
    color: #fff;
    padding: 14px 16px;
    font-weight: 600;
    border-radius: 12px 12px 0 0;
}

.dropdown-cart-products {
    max-height: 320px;
    overflow-y: auto;
}

.dropdown-cart-products .product {
    border-bottom: 1px solid #F1F5F9;
    padding: 12px;
}

.dropdown-cart-products .product:last-child {
    border-bottom: none;
}

.dropdown-cart-total {
    background: #F8FAFC;
    padding: 12px 16px;
    font-weight: 600;
    border-top: 1px solid #E2E8F0;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.dropdown-cart-action {
    padding: 8px;
}

    .dropdown-cart-action .btn {
        background: #24262a;
        color: #fff;
        border: none;
        border-radius: 8px;
        font-weight: 600;
        padding: 10px;
        width: 100%;
    }

.dropdown-cart-action .btn:hover {
    background: #1D4ED8;
}

/* ── BREADCRUMB STYLING ────────────────────────────────────────── */
.eg-breadcrumb {
    background: transparent;
    padding: 12px 20px;
    border-bottom: 1px solid #E2E8F0;
    font-size: 12px;
}

.eg-breadcrumb a {
    color: #2563EB;
    text-decoration: none;
}

.eg-breadcrumb a:hover {
    text-decoration: underline;
}

/* ── RESPONSIVE DESIGN ─────────────────────────────────────────── */

/* Tablets (≤ 991px) — hide custom header, show Porto mobile */
@media (max-width: 991px) {
    .header-bottom.sticky-header.d-lg-block {
        display: none !important;
    }
    
    .header-middle.sticky-header.d-block.d-lg-none {
        display: block !important;
    }
}

/* Medium screens (992px - 1200px) */
@media (max-width: 1200px) {
    .eg-header-top {
        gap: 14px;
        padding: 8px 0;
    }

    .eg-search {
        max-width: 400px;
    }

    .eg-nav a {
        padding: 0 14px;
        font-size: 12px;
    }

    .eg-logo-img {
        height: 45px;
        max-width: 200px;
    }
}

/* Small tablets (≤ 768px) */
@media (max-width: 768px) {
    .eg-header {
        border-bottom-width: 2px;
    }

    .eg-header-top {
        gap: 10px;
        padding: 6px 0;
    }

    .eg-search {
        max-width: 100%;
        min-width: 0;
        order: 3;
        width: 100%;
        height: 38px;
        margin-top: 6px;
    }

    .eg-header-actions {
        gap: 6px;
        order: 2;
    }

    .eg-logo {
        order: 1;
    }

    .eg-logo-img {
        height: 38px;
        max-width: 160px;
    }

    .eg-nav {
        gap: 0;
        padding: 0;
        height: 40px;
    }

    .eg-nav a {
        padding: 0 12px;
        height: 40px;
        font-size: 11px;
        text-transform: capitalize;
        letter-spacing: 0;
    }

    .eg-nav a i {
        font-size: 12px;
    }

    /* Hide profile info text on small screens, show only avatar */
    .eg-profile-info span {
        display: none;
    }

    .eg-profile-info strong {
        font-size: 11px;
    }

    .eg-header-actions > a {
        display: none;
    }
}

/* Mobile (≤ 576px) */
@media (max-width: 576px) {
    .eg-search {
        display: none;
    }

    .eg-header-actions {
        gap: 4px;
    }

    .eg-action-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .eg-nav {
        height: 36px;
        border-top: none;
        gap: 0;
    }

    .eg-nav a {
        padding: 0 10px;
        height: 36px;
        font-size: 10px;
    }

    .eg-nav a i {
        font-size: 11px;
    }

    .eg-nav a span {
        display: none;
    }

    .eg-profile {
        padding: 4px 8px;
        gap: 6px;
    }

    .eg-avatar {
        width: 28px;
        height: 28px;
        font-size: 10px;
    }

    .eg-profile-info {
        display: none;
    }

    .eg-logo-img {
        height: 32px;
        max-width: 120px;
    }
}

/* ── DARK MODE SUPPORT (optional) ──────────────────────────────── */
@media (prefers-color-scheme: dark) {
    .eg-header {
        background: #1E293B;
        border-bottom-color: #1D4ED8;
    }

    .eg-search {
        background: #334155;
        border-color: #475569;
    }

    .eg-search:focus-within {
        background: #0F172A;
        border-color: #2563EB;
    }

    .eg-search select {
        background: #475569;
        color: #E2E8F0;
    }

    .eg-search input {
        color: #F1F5F9;
    }

    .eg-search input::placeholder {
        color: #94A3B8;
    }

    .eg-nav a {
        color: #CBD5E1;
    }

    .eg-nav a:hover,
    .eg-nav a.active {
        color: #60A5FA;
    }

    .eg-profile {
        background: #334155;
        border-color: #475569;
    }
}

/* ── PRINT STYLES ──────────────────────────────────────────────── */
@media print {
    .eg-header,
    .eg-infostrip,
    .eg-nav {
        display: none;
    }
}

/* ── ACCESSIBILITY ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .eg-header,
    .eg-search,
    .eg-profile,
    .eg-nav a {
        transition: none !important;
    }
}

/* Focus visible for keyboard navigation */
.eg-nav a:focus-visible,
.eg-search:focus-visible,
.eg-search-btn:focus-visible,
.eg-action-btn:focus-visible {
    outline: 2px solid #2563EB;
    outline-offset: 2px;
}






.eg2-hero {
    background: #1e8a74;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

.eg2-hero:before{
    content:'';
    position:absolute;
    right:-150px;
    top:-100px;
    width:400px;
    height:400px;
    border-radius:50%;
    background:rgba(255,255,255,.05);
}

.eg2-hero-badge{
    display:inline-block;
    background:#DBEAFE;
    color:#1D4ED8;
    padding:8px 15px;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
    margin-bottom:20px;
}

.eg2-hero-title{
    color:#fff;
    font-size:32px;
    font-weight:500;
    line-height:1.1;
    margin-bottom:20px;
}

.eg2-hero-desc{
    color:#CBD5E1;
    font-size:18px;
    max-width:650px;
    margin-bottom:30px;
}

.eg2-hero-actions{
    display:flex;
    gap:15px;
    margin-bottom:40px;
}

.eg2-btn-primary {
    background: #1e8a74;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
}

.eg2-btn-outline{
    border:1px solid rgba(255,255,255,.25);
    color:#fff;
    padding:14px 28px;
    border-radius:12px;
    text-decoration:none;
}

.eg2-hero-stats{
    display:flex;
    gap:40px;
    flex-wrap:wrap;
}

.eg2-stat strong{
    display:block;
    color:#fff;
    font-size:28px;
    font-weight:700;
}

.eg2-stat span{
    color:#94A3B8;
}

.eg2-hero-card{
    background:#fff;
    border-radius:20px;
    padding:30px;
    box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.hero-feature{
    padding:15px 0;
    border-bottom:1px solid #E2E8F0;
    font-weight:600;
    color:#334155;
}

.hero-feature:last-child{
    border-bottom:none;
}

/*///new code*/


.eg2-infostrip {
    background: #1e8a74;
    padding: 7px 0;
}

.eg2-infostrip-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #BFDBFE;
}

    .eg2-infostrip-inner span {
        display: flex;
        align-items: center;
        gap: 5px;
    }

.eg2-strip-right {
    margin-left: auto;
}

.eg2-strip-icon {
    font-size: 13px;
    color: #93C5FD;
}

/* ── Hero Slider Overlay ────────────────────────────────────── */
.eg2-hero-slider .eg2-slide {
    position: relative;
}

.eg2-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(15,23,42,0.72) 0%, rgba(15,23,42,0.35) 60%, transparent 100%);
    display: flex;
    align-items: center;
}

.eg2-slide-content {
    padding: 0 20px;
}

.eg2-slide-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(16,185,129,0.22);
    border: 1px solid rgba(16,185,129,0.45);
    color: #6EE7B7;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
    text-transform: none;
    letter-spacing: 0;
}

.eg2-slide-title {
    font-size: 36px;
    font-weight: 700;
    color: #fff !important;
    line-height: 1.2;
    margin: 0 0 12px;
    text-transform: none;
    letter-spacing: 0;
}

.eg2-accent {
    color: #60A5FA;
}

.eg2-slide-sub {
    font-size: 15px;
    color: #BFDBFE;
    margin: 0 0 22px;
    text-transform: none;
    font-weight: 400;
}

.eg2-slide-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.eg2-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1e8a74;
    color: #fff !important;
    border: none;
    padding: 11px 22px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    transition: background 0.15s;
}

    .eg2-btn-primary:hover {
        background: #1D4ED8;
        color: #fff;
        text-decoration: none;
    }

.eg2-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: #fff !important;
    border: 1.5px solid rgba(255,255,255,0.55);
    padding: 11px 22px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    transition: background 0.15s;
}

    .eg2-btn-outline:hover {
        background: rgba(255,255,255,0.1);
        color: #fff;
        text-decoration: none;
    }

.eg2-btn-white {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: #1E3A8A !important;
    border: none;
    padding: 11px 22px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    flex-shrink: 0;
    transition: background 0.15s;
}

    .eg2-btn-white:hover {
        background: #EFF6FF;
        color: #1E3A8A;
        text-decoration: none;
    }

/* ── Trust Bar ──────────────────────────────────────────────── */
.eg2-trust-bar {
    background: #fff;
    border-top: 3px solid #2563EB;
    border-bottom: 1px solid #E2E8F0;
    padding: 20px 0;
}

.eg2-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.eg2-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    transition: border-color 0.15s;
}

    .eg2-trust-item:hover {
        border-color: #93C5FD;
    }

.eg2-trust-icon {
    width: 40px;
    height: 40px;
    background: #EFF6FF;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #2563EB;
    flex-shrink: 0;
}

.eg2-trust-text strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0F172A;
    line-height: 1.3;
}

.eg2-trust-text span {
    display: block;
    font-size: 11px;
    color: #64748B;
    margin-top: 2px;
}

/* ── Section Common ─────────────────────────────────────────── */
.eg2-section {
    padding: 40px 0;
    background: #F8FAFC;
}

.eg2-section-white {
    background: #fff;
}

.eg2-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.eg2-section-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #0F172A !important;
    margin: 0 !important;
    border: none !important;
    padding: 0 !important;
}

    .eg2-section-title::after {
        display: none !important;
    }

.eg2-section-link {
    font-size: 13px;
    font-weight: 600;
    color: #2563EB !important;
    text-decoration: none;
}

    .eg2-section-link:hover {
        color: #1D4ED8 !important;
        text-decoration: none;
    }

/* ── Category Grid ──────────────────────────────────────────── */


/* ─────────────────────────
   FOOTER LAYOUT FIX
───────────────────────── */
.eg-product-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

/* PRICE BLOCK */
.eg-price-wrap {
    flex: 0 0 auto;
}

.eg-price {
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
}

/* ─────────────────────────
   QUANTITY STEP BUTTONS
───────────────────────── */
.eg-qty {
    display: flex;
    align-items: center;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    overflow: hidden;
    height: 34px;
    background: #fff;
}

    .eg-qty button {
        width: 28px;
        height: 34px;
        border: none;
        background: #F8FAFC;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
        color: #0F172A;
        transition: 0.2s;
    }

        .eg-qty button:hover {
            background: #E2E8F0;
        }

    .eg-qty input {
        width: 40px;
        border: none;
        text-align: center;
        font-weight: 600;
        font-size: 13px;
        outline: none;
    }

/* ─────────────────────────
   ADD BUTTON (MODERN)
───────────────────────── */
.eg-add-btn {
    flex: 1;
    height: 34px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg,#2563EB,#1D4ED8);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: 0.2s;
}

    .eg-add-btn:hover {
        transform: translateY(-1px);
        background: linear-gradient(135deg,#1D4ED8,#1E40AF);
    }





.eg2-cat-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
}

.eg2-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 8px;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.15s;
    text-align: center;
    text-decoration: none !important;
    background: #fff;
}

    .eg2-cat-card:hover {
        border-color: #2563EB;
        background: #EFF6FF;
        transform: translateY(-2px);
        text-decoration: none !important;
    }

.eg2-cat-more:hover {
    border-color: #CBD5E1;
    background: #F8FAFC;
    transform: none;
}

.eg2-cat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 8px;
}

.eg2-cat-name {
    font-size: 11px;
    font-weight: 600;
    color: #0F172A;
    line-height: 1.3;
    margin-bottom: 2px;
}

.eg2-cat-sub {
    font-size: 10px;
    color: #94A3B8;
}

/* ── Product Cards (Featured Carousel) ─────────────────────── */
.eg2-prod-carousel {
    padding: 4px 0 8px;
}

.eg2-prod-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.15s, box-shadow 0.15s;
    margin: 4px;
}

    .eg2-prod-card:hover {
        border-color: #93C5FD;
        box-shadow: 0 4px 20px rgba(37,99,235,0.08);
    }



.eg2-qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    overflow: hidden;
    height: 38px;
}

    .eg2-qty-control button {
        width: 32px;
        height: 38px;
        border: none;
        background: #F8FAFC;
        font-weight: 700;
        cursor: pointer;
    }

    .eg2-qty-control input {
        width: 40px;
        border: none;
        text-align: center;
        font-weight: 600;
    }

.eg2-prod-img-wrap {
    background: #F8FAFC;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid #F1F5F9;
}

.eg2-prod-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    transition: transform 0.2s;
}

.eg2-prod-card:hover .eg2-prod-img {
    transform: scale(1.04);
}

.eg2-prod-body {
    padding: 12px 14px;
}

.eg2-prod-cat {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

    .eg2-prod-cat a {
        color: #2563EB !important;
        text-decoration: none;
    }

.eg2-prod-name {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #0F172A !important;
    line-height: 1.3;
    margin: 0 0 4px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .eg2-prod-name a {
        color: #0F172A !important;
        text-decoration: none;
    }

        .eg2-prod-name a:hover {
            color: #2563EB !important;
        }

.eg2-prod-sku {
    font-size: 10px;
    color: #94A3B8;
    margin-bottom: 3px;
}

.eg2-prod-desc {
    font-size: 11px;
    color: #475569;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 28px;
}

.eg2-prod-price {
    font-size: 16px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 8px;
    padding-top: 6px;
    border-top: 1px solid #F1F5F9;
}

    .eg2-prod-price small {
        font-size: 11px;
        font-weight: 400;
        color: #94A3B8;
    }

.eg2-prod-action {
    display: flex;
    align-items: center;
    gap: 8px;
}

.eg2-qty-wrap {
    flex-shrink: 0;
}

.eg2-qty-input {
    width: 56px !important;
    height: 34px !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 8px !important;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    padding: 0 8px !important;
    background: #F8FAFC !important;
}

.eg2-add-cart {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: #2563EB;
    color: #fff !important;
    border: none;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none !important;
    transition: background 0.15s;
    white-space: nowrap;
}

    .eg2-add-cart:hover {
        background: #1D4ED8;
        color: #fff !important;
        text-decoration: none !important;
    }

/* ── Promo Banner ───────────────────────────────────────────── */
.eg2-promo-bar {
    background: #1E3A8A;
    padding: 28px 0;
}

.eg2-promo-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.eg2-promo-tag {
    display: inline-block;
    background: rgba(16,185,129,0.2);
    color: #6EE7B7;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 6px;
}

.eg2-promo-text h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
    text-transform: none;
}

.eg2-promo-text p {
    font-size: 12px;
    color: #93C5FD;
    margin: 0;
}

.eg2-green {
    color: #10B981;
}

/* ── Widget Lists (Top Rated / Best Selling / Latest) ───────── */
.eg2-widget-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0F172A !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid #2563EB !important;
    margin-bottom: 16px !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.eg2-widget-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #F1F5F9;
}

    .eg2-widget-item:last-child {
        border-bottom: none;
    }

.eg2-widget-img {
    width: 64px;
    height: 64px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .eg2-widget-img img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 4px;
    }

.eg2-widget-info {
    flex: 1;
    min-width: 0;
}

.eg2-widget-cat a {
    font-size: 10px;
    font-weight: 600;
    color: #2563EB !important;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-decoration: none;
}

.eg2-widget-name {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #0F172A !important;
    margin: 3px 0 4px !important;
    line-height: 1.3;
}

    .eg2-widget-name a {
        color: #0F172A !important;
        text-decoration: none;
    }

        .eg2-widget-name a:hover {
            color: #2563EB !important;
        }

    .eg2-widget-name small {
        font-size: 10px;
        color: #94A3B8;
        font-weight: 400;
    }

.eg2-widget-price {
    font-size: 13px;
    font-weight: 700;
    color: #2563EB;
}

    .eg2-widget-price small {
        font-size: 10px;
        font-weight: 400;
        color: #94A3B8;
    }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .eg2-cat-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .eg2-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .eg2-slide-title {
        font-size: 24px;
    }

    .eg2-cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .eg2-infostrip-inner {
        gap: 10px;
        font-size: 11px;
    }

    .eg2-strip-right {
        display: none;
    }

    .eg2-promo-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .eg2-cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .eg2-slide-title {
        font-size: 18px;
    }

    .eg2-trust-grid {
        grid-template-columns: 1fr;
    }
}
