/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #0a0a0a;
    color: #e0e0e0;
    direction: rtl;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a, button, input, .product-card, .side-menu a, .icon-btn, .scroll-btn, select, textarea {
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
    border: none;
    text-decoration: none;
}

.main-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px;
}

/* ========== TOP HEADER ========== */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    direction: ltr;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    position: relative;
    z-index: 1001;
}

.icon-btn {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: #D4AF37;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    position: relative;
    z-index: 1002;
}

.icon-btn:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: #D4AF37;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #D4AF37;
    color: #0a0a0a;
    font-size: 0.6rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== MENU HAMBURGER ========== */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1002;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #D4AF37;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.menu-toggle.close-mode span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle.close-mode span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.close-mode span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ========== MENU OVERLAY & SIDE MENU ========== */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

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

.side-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: linear-gradient(145deg, #0f0f0f, #080808);
    z-index: 1000;
    padding: 25px 20px;
    transition: right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-left: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
}

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

.menu-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.menu-logo-small {
    font-size: 1.3rem;
    font-weight: 600;
    background: linear-gradient(135deg, #F9D423, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.side-menu ul {
    list-style: none;
    flex: 1;
    margin-top: 10px;
}

.side-menu ul li {
    margin-bottom: 15px;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.4s ease;
}

.side-menu.active ul li {
    opacity: 1;
    transform: translateX(0);
}

.side-menu.active ul li:nth-child(1) { transition-delay: 0.08s; }
.side-menu.active ul li:nth-child(2) { transition-delay: 0.16s; }
.side-menu.active ul li:nth-child(3) { transition-delay: 0.24s; }
.side-menu.active ul li:nth-child(4) { transition-delay: 0.32s; }
.side-menu.active ul li:nth-child(5) { transition-delay: 0.40s; }

.side-menu a {
    color: #ccc;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: transparent;
}

.side-menu a i {
    color: #D4AF37;
    width: 24px;
    text-align: center;
    font-size: 1.1rem;
}

.side-menu a:hover {
    color: #D4AF37;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding-right: 22px;
}

.side-menu a.active-link {
    color: #D4AF37;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding-right: 22px;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.2);
}

/* ========== CART SIDEBAR ========== */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

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

.cart-sidebar {
    position: fixed;
    top: 0;
    left: -380px;
    width: 350px;
    height: 100%;
    background: linear-gradient(145deg, #111, #0a0a0a);
    z-index: 1001;
    padding: 20px;
    transition: left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-right: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    flex-direction: column;
    direction: rtl;
}

.cart-sidebar.active {
    left: 0;
}

.cart-item {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #222;
    align-items: center;
}

.cart-item-img {
    width: 50px;
    height: 50px;
    background: #1a1a1a;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D4AF37;
    font-size: 1.3rem;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    color: #fff;
    font-weight: 500;
    font-size: 0.85rem;
}

.cart-item-price {
    color: #D4AF37;
    font-size: 0.75rem;
}

.cart-remove {
    background: none;
    color: #ff4444;
    cursor: pointer;
    font-size: 0.9rem;
}

.cart-checkout-btn {
    background: #D4AF37;
    color: #0a0a0a;
    width: 100%;
    padding: 12px;
    border-radius: 40px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 15px;
    text-align: center;
    transition: all 0.3s ease;
    font-family: 'Vazirmatn';
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cart-checkout-btn:hover {
    background: #F9D423;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* ========== LOGO AREA ========== */
.logo-area {
    text-align: center;
    padding: 20px 0 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-wrapper {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(145deg, #1a1a1a, #111);
    padding: 8px 25px;
    border: 2px solid transparent;
    background-image: linear-gradient(#0a0a0a, #0a0a0a), linear-gradient(135deg, #F9D423, #AA7C1A);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border-radius: 15px;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo-wrapper:hover {
    transform: scale(1.02);
}

.logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.4));
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #F9D423, #D4AF37, #AA7C1A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

/* ========== SEARCH SECTION ========== */
.search-section {
    display: flex;
    justify-content: center;
    margin: 15px 0 10px;
}

.search-box {
    display: flex;
    align-items: center;
    background: #151515;
    border: 1.5px solid #2a2a2a;
    border-radius: 50px;
    width: 100%;
    max-width: 450px;
    padding: 3px 8px;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.search-box:focus-within {
    border-color: #D4AF37;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    background: #1a1a1a;
}

.search-box input {
    background: transparent;
    padding: 10px 10px;
    font-family: 'Vazirmatn';
    font-size: 0.9rem;
    color: #fff;
    width: 100%;
}

.search-box input::placeholder {
    color: #777;
    font-size: 0.8rem;
}

.search-box button {
    background: none;
    color: #D4AF37;
    font-size: 1rem;
    cursor: pointer;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.search-section.hide-search {
    display: none;
}

/* ========== SECTION TITLES ========== */
.section-title-wrapper {
    margin: 35px 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #222;
    position: relative;
}

.section-title-wrapper::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(to left, #D4AF37, #F9D423, transparent);
    animation: expandLine 2s infinite alternate;
}

@keyframes expandLine {
    0% { width: 50px; opacity: 0.7; }
    100% { width: 90px; opacity: 1; }
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, #F9D423, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ========== HORIZONTAL SCROLL ========== */
.horizontal-scroll-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

.products-scroll {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 15px 50px 20px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    scroll-snap-type: x mandatory;
}

.products-scroll::-webkit-scrollbar {
    height: 3px;
}

.products-scroll::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 10px;
}

.products-scroll::-webkit-scrollbar-thumb {
    background: #D4AF37;
    border-radius: 10px;
}

/* ========== PRODUCTS GRID ========== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0 40px;
}

/* ========== FILTERS ========== */
.filters-section {
    background: linear-gradient(145deg, #121212, #0a0a0a);
    border-radius: 20px;
    padding: 18px 22px;
    margin: 10px 0 25px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    background: rgba(20, 20, 20, 0.5);
    padding: 5px 15px;
    border-radius: 50px;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.filter-label {
    color: #D4AF37;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.custom-dropdown {
    position: relative;
    min-width: 170px;
}

.dropdown-btn {
    background: #1a1a1a;
    border: 1px solid #333;
    color: #e0e0e0;
    padding: 8px 30px 8px 15px;
    border-radius: 40px;
    font-family: 'Vazirmatn';
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    white-space: nowrap;
}

.dropdown-btn:hover {
    border-color: #D4AF37;
}

.dropdown-btn i {
    color: #D4AF37;
    transition: transform 0.3s ease;
}

.dropdown-btn.open i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    background: #1a1a1a;
    border: 1px solid #D4AF37;
    border-radius: 16px;
    overflow: hidden;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 10px 15px;
    color: #ccc;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.8rem;
    text-align: right;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: rgba(212, 175, 55, 0.15);
    color: #D4AF37;
    padding-right: 20px;
}

.dropdown-item.selected {
    background: rgba(212, 175, 55, 0.25);
    color: #D4AF37;
}

.price-range {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-range input {
    background: #1a1a1a;
    border: 1px solid #333;
    color: #e0e0e0;
    padding: 8px 12px;
    border-radius: 40px;
    font-family: 'Vazirmatn';
    font-size: 0.8rem;
    width: 100px;
    text-align: center;
}

.price-range input:focus {
    border-color: #D4AF37;
}

.filter-reset {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid #D4AF37;
    color: #D4AF37;
    padding: 8px 20px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.filter-reset:hover {
    background: #D4AF37;
    color: #0a0a0a;
}

/* ========== PRODUCT CARD ========== */
.product-card {
    background: linear-gradient(145deg, #1a1a1a, #111);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid #2a2a2a;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: #D4AF37;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.2);
}

.product-image {
    width: 100%;
    height: 200px;
    background: radial-gradient(circle at center, #222, #111);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image i {
    font-size: 3rem;
    background: linear-gradient(135deg, #F9D423, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-card:hover .product-image i {
    transform: scale(1.1);
}

.product-details {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.product-category {
    font-size: 0.65rem;
    background: rgba(212, 175, 55, 0.15);
    color: #D4AF37;
    padding: 2px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 6px;
    width: fit-content;
}

.price-wrapper {
    margin: 6px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.product-price {
    font-size: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #F9D423, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.old-price {
    font-size: 0.7rem;
    color: #888;
    text-decoration: line-through;
}

.discount-badge {
    background: #ff4444;
    color: white;
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 15px;
}

.add-to-cart-btn {
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid #D4AF37;
    color: #D4AF37;
    padding: 6px 10px;
    border-radius: 25px;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    font-family: 'Vazirmatn';
}

.add-to-cart-btn:hover {
    background: #D4AF37;
    color: #0a0a0a;
}

/* ========== PRODUCT MODAL ========== */
.product-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.product-modal {
    background: linear-gradient(145deg, #151515, #0a0a0a);
    border-radius: 24px;
    max-width: 450px;
    width: 90%;
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 20px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.product-modal-overlay.active .product-modal {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 12px;
    left: 12px;
    background: none;
    color: #D4AF37;
    font-size: 1.3rem;
    cursor: pointer;
}

.modal-image {
    text-align: center;
    font-size: 3rem;
    color: #D4AF37;
    margin-bottom: 15px;
}

.modal-title {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 8px;
}

.modal-add-btn {
    background: #D4AF37;
    color: #0a0a0a;
    padding: 10px 20px;
    border-radius: 35px;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ========== AUTH & PROFILE PAGES ========== */
.auth-page, .profile-page, .checkout-page {
    background: linear-gradient(145deg, #121212, #0a0a0a);
    border-radius: 24px;
    padding: 30px;
    margin: 20px 0;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.auth-form, .profile-form, .checkout-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #D4AF37;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group input, .form-group select, .form-group textarea {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 12px 15px;
    border-radius: 12px;
    color: #fff;
    font-family: 'Vazirmatn';
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: #D4AF37;
    outline: none;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.auth-btn, .profile-btn, .checkout-btn {
    background: #D4AF37;
    color: #0a0a0a;
    padding: 12px;
    border-radius: 40px;
    font-weight: bold;
    cursor: pointer;
    font-family: 'Vazirmatn';
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
}

.auth-btn:hover, .profile-btn:hover, .checkout-btn:hover {
    background: #F9D423;
    transform: translateY(-2px);
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    color: #888;
    font-size: 0.85rem;
}

.auth-switch span {
    color: #D4AF37;
    cursor: pointer;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    flex-wrap: wrap;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #D4AF37, #F9D423);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #0a0a0a;
}

.profile-info h3 {
    color: #fff;
    font-size: 1.3rem;
}

.profile-info p {
    color: #D4AF37;
    font-size: 0.85rem;
}

.logout-btn {
    background: rgba(255, 68, 68, 0.2);
    border: 1px solid #ff4444;
    color: #ff4444;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: #ff4444;
    color: #fff;
}

/* ========== SCROLL BUTTONS ========== */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #D4AF37;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease;
    font-size: 1rem;
    z-index: 10;
}

.scroll-btn:hover {
    background: #D4AF37;
    color: #0a0a0a;
}

.scroll-btn-right {
    right: 5px;
}

.scroll-btn-left {
    left: 5px;
}

.product-card.active-slide {
    border: 2px solid transparent;
    background-image: linear-gradient(#1a1a1a, #111), linear-gradient(135deg, #F9D423, #D4AF37);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    transform: scale(1.02);
}

/* ========== DROPDOWN OVERLAY & PAGINATION ========== */
.dropdown-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 150;
    display: none;
}

.dropdown-overlay.active {
    display: block;
}

.virtual-page {
    display: none;
    padding: 20px 0;
}

.virtual-page.active-page {
    display: block;
}

.no-results {
    text-align: center;
    padding: 40px;
    color: #888;
}

.loading-state {
    text-align: center;
    padding: 30px;
    color: #D4AF37;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.pagination button {
    background: #1a1a1a;
    border: 1px solid #333;
    color: #ccc;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Vazirmatn';
}

.pagination button.active {
    background: #D4AF37;
    color: #0a0a0a;
    border-color: #D4AF37;
}

.pagination button:hover:not(.active) {
    border-color: #D4AF37;
    color: #D4AF37;
}

.pagination button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    .product-image {
        height: 170px;
    }
    .cart-sidebar {
        width: 100%;
        left: -100%;
    }
    .side-menu {
        width: 260px;
        right: -260px;
    }
    .logo-text {
        font-size: 1.3rem;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .filters-section {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 10px;
    }
    .product-image {
        height: 140px;
    }
    .product-image i {
        font-size: 2rem;
    }
}