/* Fix for duplicate/misaligned mobile menu in shop pages */
.mobile-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Ensure the main header is clean */
header {
    z-index: 1000;
}

/* Hide any other potential floating menus */
.mobile-nav-wrapper, .mobile-menu-container {
    display: none !important;
}

/* Cart Table Improvements */
.cart-table-container {
    overflow-x: auto;
    background: #222;
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    color: #ffd700;
    text-align: center;
    padding: 15px;
    border-bottom: 2px solid #333;
}

.cart-table td {
    padding: 15px;
    vertical-align: middle;
    border-bottom: 1px solid #333;
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

[dir="rtl"] .cart-item-info {
    text-align: right;
}

.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.quantity-controls button {
    background: #333;
    color: #ffd700;
    border: 1px solid #ffd700;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
}

.quantity-controls button:hover {
    background: #ffd700;
    color: #000;
}

.remove-btn {
    background: transparent;
    color: #ff4444;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    transition: transform 0.2s;
}

.remove-btn:hover {
    transform: scale(1.2);
}

/* Product Card Improvements */
.add-to-cart-btn {
    background: #ffd700;
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-top: 10px;
}

.add-to-cart-btn:hover {
    background: #e6c200;
    transform: scale(1.02);
}

.product-footer {
    margin-top: 15px;
}

.price {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 10px;
}

/* RTL Support */
[dir="rtl"] .language-switch {
    margin-right: 20px;
    margin-left: 0;
}
