    @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap');

        :root{
            --brand:#09332f;
            --accent:#1c7ed6;
            --soft:#fffffe;
            --text:#2d3436;
            --muted:#6c757d;
            --sale:#dc3545;
            --gold:#b9a87a;
        }

        body{
            font-family: 'Montserrat', Arial, Helvetica, sans-serif;
            background:var(--soft);
            color:var(--text);
            padding-top: 70px;
        }

        /* FIXED ACTION BAR */
        .action-bar {
            position: fixed;
            top: 0;
            right: 0;
            left: 0;
            background-color: #09332f;
            padding: 0;
            z-index: 1000;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
            height: 70px;
            display: flex;
            align-items: center;
        }

        .action-bar-container {
            display: flex;
            width: 100%;
            height: 100%;
            margin: 0;
            padding: 0;
        }

        .action-half {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .action-half:hover {
            background: rgba(255, 255, 255, 0.05);
        }

        .action-half::before {
            content: '';
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 1px;
            height: 40%;
            background: rgba(185, 168, 122, 0.3);
        }

        .action-half:first-child::before {
            left: 0;
        }

        .action-half:last-child::before {
            right: 0;
        }

        .action-btn {
            background: transparent;
            border: none;
            color: white;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 6px;
            padding: 10px 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
            height: 100%;
            text-decoration: none;
        }

        .action-btn:hover {
            color: #b9a87a;
        }

        .action-icon {
            font-size: 1.3rem;
            margin-bottom: 2px;
        }

        .action-text {
            font-size: 0.85rem;
            font-weight: 600;
            font-family: 'Montserrat', sans-serif;
        }

        /* HEADER */
        .catalog-header{
            background: #09332f;
            color:#fff;
            padding:60px 0 70px;
            margin-bottom:0px;
            margin-top: -20px;
        }

        .action-bar,
        .catalog-header {
            background-color: #09332f;
        }

        .catalog-header h1{font-weight:800}
        .catalog-header h2{opacity:.9;font-size:1.3rem}

        .divider{
            width:90px;height:1px;
            background: #b9a87a;
            margin:18px auto;
            border-radius:2px;
        }

        /* Visitor Counter */
        .visitor-counter {
            margin: -4rem auto 2rem;
            position: relative;
            z-index: 20;
        }

        .visitor-card {
            background: white;
            border-radius: 2rem;
            box-shadow: 0 10px 40px rgba(0,0,0,0.08);
            padding: 1.5rem;
            border: 1px solid rgba(185, 168, 122, 0.2);
            height: 100%;
        }

        .visitor-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #09332f 0%, #0d423d 100%);
            border-radius: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto;
        }

        .visitor-icon i {
            color: #b9a87a;
            font-size: 1.8rem;
        }

        .visitor-number {
            font-size: 2rem;
            font-weight: 800;
            color: #09332f;
            line-height: 1.2;
        }

        .live-indicator {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .live-dot {
            width: 10px;
            height: 10px;
            background: #4caf50;
            border-radius: 50%;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.5; transform: scale(1.1); }
        }

        /* Search Section */
        .search-section {
            max-width: 100%;
            margin: 3rem auto 0;
        }

        .search-card {
            background: white;
            border-radius: 2rem;
            box-shadow: 0 10px 40px rgba(0,0,0,0.08);
            padding: 1.5rem;
            border: 1px solid rgba(185, 168, 122, 0.2);
            height: 100%;
        }

        .search-input-wrapper {
            position: relative;
            margin-bottom: 1.5rem;
        }

        .search-input {
            width: 100%;
            padding: 1rem 3rem 1rem 1rem;
            background: #f8f9fa;
            border: 1px solid #e9ecef;
            border-radius: 1rem;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .search-input:focus {
            outline: none;
            border-color: #b9a87a;
            box-shadow: 0 0 0 3px rgba(185, 168, 122, 0.2);
        }

        .search-icon {
            position: absolute;
            right: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: #6c757d;
        }

        .clear-search {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: #6c757d;
            cursor: pointer;
            display: none;
        }

        .clear-search:hover {
            color: #09332f;
        }

        .categories-wrapper {
            margin-top: 2rem;
        }

        .categories-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 1rem;
        }

        .categories-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: #09332f;
            margin: 0;
        }

        .product-count {
            color: #6c757d;
            font-size: 0.9rem;
        }

        .categories-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem;
            max-height: 200px;
            overflow-y: auto;
            padding: 0.5rem 0;
        }

        .categories-grid::-webkit-scrollbar {
            width: 5px;
        }

        .categories-grid::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }

        .categories-grid::-webkit-scrollbar-thumb {
            background: #b9a87a;
            border-radius: 10px;
        }

        .category-btn {
            padding: 0.6rem 1.2rem;
            border-radius: 2rem;
            background: #f8f9fa;
            border: 1px solid #e9ecef;
            color: #2d3436;
            text-decoration: none;
            font-weight: 500;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            white-space: nowrap;
        }

        .category-btn:hover {
            background: #09332f;
            color: white;
            border-color: #09332f;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(9, 51, 47, 0.2);
        }

        .category-btn.active {
            background: #09332f;
            color: white;
            border-color: #09332f;
        }

        .category-count {
            background: rgba(255,255,255,0.2);
            padding: 0.2rem 0.5rem;
            border-radius: 1rem;
            font-size: 0.75rem;
        }

        .category-btn.active .category-count {
            background: rgba(255,255,255,0.3);
        }

        /* PRODUCT GRID */
        .catalog-section{
            background:#fff;
            border-radius:20px;
            margin-bottom:60px;
        }

        .section-title{
            font-weight:700;
            color:var(--brand);
            margin-bottom:30px;
            display:flex;
            align-items:center;
            gap:10px;
        }

        /* PRODUCT CARD */
        .product-card{
            border:1px solid #e9ecef;
            border-radius:18px;
            padding:18px;
            height:100%;
            transition:.25s ease;
            background:#fff;
            position: relative;
        }

        .product-card:hover{
            transform:translateY(-6px);
            box-shadow:0 15px 35px rgba(0,0,0,.08);
        }

        /* SALE BADGE */
        .sale-badge {
            position: absolute;
            left: 10px;
            background: var(--sale);
            color: white;
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            z-index: 1;
            box-shadow: 0 2px 5px rgba(220, 53, 69, 0.3);
        }

        .product-code{
            background:var(--brand);
            color:#fff;
            padding:4px 14px;
            border-radius:20px;
            font-size:.85rem;
            font-weight:700;
            display:inline-block;
            margin-bottom:10px;
        }

        .product-image{
            height:190px;
            border-radius:14px;
            display:flex;
            align-items:center;
            justify-content:center;
            margin-bottom:15px;
            overflow:hidden;
        }

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

        .product-name{
            font-size:1rem;
            font-weight:600;
            min-height:52px;
        }

        .product-footer{
            margin-top:14px;
            display:flex;
            justify-content:space-between;
            align-items:center;
        }

        .price {
            font-size: 0.9rem;
            font-weight: 800;
            color: var(--gold);
        }

        .sale-price {
            font-size: 0.9rem;
            font-weight: 800;
            color: var(--sale);
        }

        .original-price {
            font-size: 0.9rem;
            color: var(--muted);
            text-decoration: line-through;
            margin-left: 5px;
        }

        .price-container {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        /* SEARCH HIGHLIGHT */
        .highlight{
            background-color:#8d8d8d;
            padding:0 2px;
            border-radius:2px;
            color: white;
        }

        /* RESULT COUNT */
        .result-count{
            background:var(--accent);
            color:white;
            padding:6px 15px;
            border-radius:20px;
            font-size:0.9rem;
            display:none;
        }

        /* NO RESULTS MESSAGE */
        .no-results{
            text-align:center;
            padding:40px;
            color:var(--muted);
            display:none;
        }

        .no-results i{
            font-size:3rem;
            margin-bottom:15px;
            display:block;
        }

        /* LOADING INDICATOR */
        .search-loading {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            display: none;
        }


        /* Loading Overlay */
        .loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255,255,255,0.95);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            backdrop-filter: blur(5px);
        }

        @media print{
            .action-bar, .search-section, .category-filter {display:none !important}
            body{background:#fff; padding-top: 0;}
        }

        /* FOOTER */
        footer{
            background:#f8f8f8;
            color:#2c3436;
            padding:50px 0 30px;
            margin-top: 30px;
        }

        footer h6{
            font-weight:700;
            color:#2c3436;
            margin-bottom:15px;
        }

        footer i{
            color: #b9a87a;
            margin-left:8px;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .visitor-number {
                font-size: 1.5rem;
            }

            .visitor-icon {
                width: 50px;
                height: 50px;
            }

            .visitor-card {
                padding: 1.5rem;
            }

            .visitor-icon i {
                font-size: 1.5rem;
            }

            .visitor-card, .search-card {
                padding: 1.2rem;
            }

            .categories-grid {
                max-height: 150px;
            }

            .search-card {
                padding: 1.5rem;
            }

            .category-btn {
                /* padding: 0.0.5rem 1rem; */
                font-size: 0.85rem;
            }

            .action-bar {
                height: 60px;
            }

            body {
                padding-top: 60px;
            }
        }

        @media (max-width: 576px) {
            .action-bar {
                height: 65px;
            }

            .visitor-number {
               font-size: 1.3rem;
           }

           .visitor-card .d-flex {
               gap: 1rem !important;
           }

           .action-btn {
                margin-top: 7px;
            }

            body {
                padding-top: 55px;
            }
        }


        /* PAGINATION STYLING */
.pagination-wrapper {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
    direction: ltr;
}

.page-item {
    display: inline-flex;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 0.5rem;
    background: white;
    border: 1px solid rgba(185, 168, 122, 0.2);
    border-radius: 12px;
    color: #2d3436;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.page-link i {
    font-size: 0.9rem;
    color: #b9a87a;
    transition: all 0.3s ease;
}

/* Hover state */
.page-link:hover {
    background: linear-gradient(135deg, #09332f 0%, #0d423d 100%);
    border-color: #09332f;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(9, 51, 47, 0.15);
}

.page-link:hover i {
    color: #b9a87a;
}

/* Active state */
.page-item.active .page-link {
    background: linear-gradient(135deg, #09332f 0%, #0d423d 100%);
    border-color: #09332f;
    color: white;
    font-weight: 600;
    box-shadow: 0 8px 16px rgba(9, 51, 47, 0.2);
}

/* Disabled state */
.page-item.disabled .page-link {
    background: #f8f9fa;
    border-color: #e9ecef;
    color: #6c757d;
    pointer-events: none;
    opacity: 0.6;
}

.page-item.disabled .page-link i {
    color: #6c757d;
}

/* Special styling for prev/next buttons */
.page-item:first-child .page-link,
.page-item:last-child .page-link {
    padding: 0 1rem;
    gap: 8px;
    background: white;
    border: 1px solid rgba(185, 168, 122, 0.3);
}

.page-item:first-child .page-link {
    border-radius: 12px;
}

.page-item:last-child .page-link {
    border-radius: 12px;
}

.page-item:first-child .page-link:hover,
.page-item:last-child .page-link:hover {
    background: linear-gradient(135deg, #09332f 0%, #0d423d 100%);
    border-color: #09332f;
}

.page-item:first-child .page-link:hover i,
.page-item:last-child .page-link:hover i {
    color: #b9a87a;
}

/* Page info text */
.page-info {
    text-align: center;
    margin-top: 1rem;
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

.page-info span {
    color: #09332f;
    font-weight: 600;
    padding: 0 4px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-link {
        min-width: 40px;
        height: 40px;
        font-size: 0.9rem;
        border-radius: 10px;
    }

    .page-item:first-child .page-link,
    .page-item:last-child .page-link {
        padding: 0 0.8rem;
    }

    .page-item:first-child .page-link span,
    .page-item:last-child .page-link span {
        display: none;
    }

    .page-item:first-child .page-link i,
    .page-item:last-child .page-link i {
        margin: 0;
    }
}

@media (max-width: 576px) {
    .pagination {
        gap: 0.3rem;
    }

    .page-link {
        min-width: 35px;
        height: 35px;
        font-size: 0.85rem;
        border-radius: 8px;
    }

    .page-item:first-child .page-link,
    .page-item:last-child .page-link {
        padding: 0 0.6rem;
    }
}

/* RTL specific adjustments */
[dir="rtl"] .page-item:first-child .page-link i {
    transform: rotate(180deg);
}

[dir="rtl"] .page-item:last-child .page-link i {
    transform: rotate(180deg);
}

/* Animation for page changes */
.page-link {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading state for pagination */
.pagination-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #09332f;
    font-weight: 500;
    padding: 1rem;
}

.pagination-loading i {
    color: #b9a87a;
}

/* Optional: Page size selector */
.page-size-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.page-size-selector label {
    color: #2d3436;
    font-weight: 500;
    font-size: 0.9rem;
}

.page-size-selector select {
    padding: 0.5rem 2rem 0.5rem 1rem;
    border: 1px solid rgba(185, 168, 122, 0.3);
    border-radius: 10px;
    background: white;
    color: #09332f;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2309332f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 0.5rem center;
    background-size: 16px;
}

.page-size-selector select:hover {
    border-color: #09332f;
    box-shadow: 0 4px 12px rgba(9, 51, 47, 0.1);
}

.page-size-selector select:focus {
    border-color: #09332f;
    box-shadow: 0 0 0 3px rgba(185, 168, 122, 0.2);
}


/* SCROLL TO TOP BUTTON */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #09332f 0%, #0d423d 100%);
    color: white;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 20px rgba(9, 51, 47, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
    border: 2px solid #b9a87a;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(9, 51, 47, 0.4);
    background: #0d423d;
}

.scroll-to-top.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}
