:root {
    --primary-color: #00a896;
    --secondary-color: #ff9e00;
    --accent-color: #0077b6;
    --light-color: #f8f9fa;
    --dark-color: #1a1a2e;
    --success-color: #38b000;
    --danger-color: #e63946;
    --warning-color: #ffbe0b;
    --info-color: #48cae4;
    --body-bg: #ffffff;
    --text-color: #1a1a2e;
    --text-light: #4a4e69;
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Tajawal', sans-serif;
    color: var(--text-color);
    background-color: var(--body-bg);
    direction: rtl;
    text-align: right;
    padding-top: 116px;
}

/* Header */
.header {
    background-color: #fcfcfc !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #f5f5f5;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1030;
}

.header .navbar-brand {
    display: flex;
    align-items: center;
}

.header .logo {
    height: 90px !important;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.header .brand-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.header .nav-link {
    font-weight: 700;
    padding: 10px 15px !important;
    position: relative;
    transition: all 0.3s ease;
    color: rgba(0, 0, 0, 0.85) !important;
}

.header .nav-link:hover {
    color: var(--primary-color) !important;
}

.header .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.header .nav-link:hover::after,
.header .nav-link.active::after {
    width: 80%;
    right: 10%;
}

.header .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-buttons .btn {
    margin-right: 10px;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.navbar-buttons .btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border: none;
    box-shadow: 0 4px 15px rgba(0, 168, 150, 0.3);
}

.navbar-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 168, 150, 0.4);
}

.navbar-buttons .btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.navbar-buttons .btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Page Title */
.page-title-section {
    padding: 100px 0 50px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/page-title-bg.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: white;
}

.page-title {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Cart Items */
.cart-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #eee;
}

.quantity-selector {
    margin-top: 15px;
}

.quantity-selector .btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.quantity-input {
    height: 30px;
    width: 50px;
    text-align: center;
}

.cart-summary span:last-child {
    font-weight: bold;
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 991px) {
    .cart-summary {
        position: static !important;
        margin-top: 20px;
    }

    .cart-item img {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 600px) {
    .cart-item-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-item-thumb {
        margin-left: 0;
        margin-bottom: 10px;
    }

    .cart-item-actions {
        margin-right: 0;
        margin-top: 10px;
    }
}