:root {
    --primary-color: #c5a47e;
    --secondary-color: #3a3a3a;
    --background-color: #f5f0e9;
    --surface-color: #ffffff;
    --text-light: #7a7a7a;
    --font-family: 'Cairo', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--secondary-color);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.btn {
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--surface-color);
}

    .btn-primary:hover {
        background-color: #b3916c;
        transform: translateY(-2px);
    }

.section-padding {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.8rem;
    font-weight: 900;
    position: relative;
    padding-bottom: 10px;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background-color: var(--primary-color);
    }


.header {
    background-color: var(--background-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 80px;
    filter: none;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

    .nav-links a {
        color: var(--secondary-color);
        font-weight: 700;
    }

        .nav-links a.active, .nav-links a:hover {
            color: var(--primary-color);
        }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--secondary-color);
}

.cart-icon, .search-icon {
    font-size: 1.3rem;
    cursor: pointer;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--primary-color);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.menu-icon {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    padding: 2rem 0;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hero-content .subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-image img {
    width:75%;
    border-radius: 20px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.category-card:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.category-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    display: block;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 350px;
}

    .category-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .category-card h3 {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background-color: var(--surface-color);
        color: var(--secondary-color);
        padding: 10px 25px;
        border-radius: 30px;
        font-size: 1rem;
        width: max-content;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

.products-grid {
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    text-align: center;
}

.product-image {
    position: relative;
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1rem;
    background-color: #e9e2d9;
}

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.product-info {
    padding: 0 1rem;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.product-price {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--secondary-color);
}

.footer {
    background-color: #2c2c2c;
    color: #a0a0a0;
    padding: 5rem 0 0;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    padding-bottom: 4rem;
}

.footer-col h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--surface-color);
    margin-bottom: 1.5rem;
}

.footer-logo {
    height: 80px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-about {
    line-height: 1.8;
    max-width: 300px;
}

.footer-col ul {
    list-style: none;
}

    .footer-col ul li {
        margin-bottom: 1rem;
    }

    .footer-col ul a {
        transition: color 0.3s, padding-right 0.3s;
    }

        .footer-col ul a:hover {
            color: var(--primary-color);
            padding-right: 8px;
        }

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-contact-list i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

    .social-icons a {
        width: 40px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #444;
        border-radius: 50%;
        color: var(--surface-color);
        font-size: 1rem;
        transition: all 0.3s ease;
    }

        .social-icons a:hover {
            background-color: var(--primary-color);
            transform: translateY(-3px);
        }

.footer-bottom {
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid #444;
}

.credits {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #888;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

    .credits a {
        color: var(--surface-color);
        font-weight: 700;
        transition: color 0.3s;
    }

        .credits a:hover {
            color: var(--primary-color);
        }

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

    .animate-on-scroll.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

        .animate-on-scroll.is-visible .category-card,
        .animate-on-scroll.is-visible .step-card,
        .animate-on-scroll.is-visible .product-card {
            animation: fadeInUp 0.8s ease-out forwards;
            opacity: 0;
        }

            .animate-on-scroll.is-visible .category-card:nth-child(1),
            .animate-on-scroll.is-visible .step-card:nth-child(1),
            .animate-on-scroll.is-visible .product-card:nth-child(1) {
                animation-delay: 0.1s;
            }

            .animate-on-scroll.is-visible .category-card:nth-child(2),
            .animate-on-scroll.is-visible .step-card:nth-child(2),
            .animate-on-scroll.is-visible .product-card:nth-child(2) {
                animation-delay: 0.2s;
            }

            .animate-on-scroll.is-visible .category-card:nth-child(3),
            .animate-on-scroll.is-visible .step-card:nth-child(3),
            .animate-on-scroll.is-visible .product-card:nth-child(3) {
                animation-delay: 0.3s;
            }

            .animate-on-scroll.is-visible .category-card:nth-child(4),
            .animate-on-scroll.is-visible .step-card:nth-child(4),
            .animate-on-scroll.is-visible .product-card:nth-child(4) {
                animation-delay: 0.4s;
            }

            .animate-on-scroll.is-visible .product-card:nth-child(5) {
                animation-delay: 0.5s;
            }

            .animate-on-scroll.is-visible .product-card:nth-child(6) {
                animation-delay: 0.6s;
            }


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius:25px;

}

.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.step-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    background-color: var(--surface-color);
    border-radius: 15px;
}

.step-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border-radius: 15px;
}


@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: -1;
        margin-bottom: 2rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
}

.section-title-left {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}

    .section-title-left::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 50px;
        height: 3px;
        background-color: var(--primary-color);
    }

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.features-list {
    list-style: none;
}

    .features-list li {
        display: flex;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 1rem;
        font-size: 1rem;
    }

    .features-list i {
        color: var(--primary-color);
        font-size: 1.2rem;
        margin-top: 5px;
    }

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section-title-left {
        display: block;
    }

        .section-title-left::after {
            left: 50%;
            transform: translateX(-50%);
        }

    .features-list li {
        text-align: right;
    }
}
.page-header {
    background-color: #e9e2d9;
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 4rem;
}

    .page-header h1 {
        font-size: 2.5rem;
        font-weight: 900;
    }

    .page-header p {
        font-size: 1.1rem;
        color: var(--text-light);
    }

.shop-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

.shop-filters {
    background-color: var(--surface-color);
    padding: 2rem;
    border-radius: 10px;
    height: fit-content;
}

    .shop-filters h4 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
        padding-bottom: 10px;
        border-bottom: 1px solid #eee;
    }

.category-list li {
    margin-bottom: 1rem;
}

.category-list a {
    color: var(--text-light);
    font-weight: 700;
    transition: color 0.3s;
}

    .category-list a.active,
    .category-list a:hover {
        color: var(--primary-color);
    }

.price-filter {
    margin-bottom: 2rem;
}

.price-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 5px;
    background: #ddd;
    outline: none;
    border-radius: 5px;
}

    .price-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 20px;
        height: 20px;
        background: var(--primary-color);
        cursor: pointer;
        border-radius: 50%;
    }

.price-values {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.full-width {
    width: 100%;
}


@media (max-width: 992px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-filters {
        margin-bottom: 2rem;
    }
}

.breadcrumbs {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

    .breadcrumbs a {
        color: var(--secondary-color);
    }

        .breadcrumbs a:hover {
            color: var(--primary-color);
        }

.product-card-main {
    display: flex;
    flex-wrap: wrap;
    background-color: var(--surface-color);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    margin-bottom: 3rem;
}

.product-image-col {
    flex: 1 1 400px;
    min-width: 300px;
}

    .product-image-col img {
        width: 100%;
        border-radius: 15px;
    }

.product-info-col {
    flex: 1 1 500px;
    min-width: 300px;
    padding-right: 2rem;
}

    .product-info-col h1 {
        font-size: 2.2rem;
        margin-bottom: 2rem;
        border-bottom: 1px solid #eee;
        padding-bottom: 1.5rem;
    }

.info-group {
    margin-bottom: 1.5rem;
}

.info-label {
    display: block;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.info-text, .info-value {
    color: var(--text-light);
    line-height: 1.8;
}

.price-group {
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
    margin-top: 2rem;
}

.info-price {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
}

.btn-add-to-cart {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.details-card {
    background-color: var(--surface-color);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
}

    .details-card h2 {
        text-align: center;
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

.details-list {
    list-style: none;
}

    .details-list li {
        display: flex;
        justify-content: space-between;
        padding: 1.2rem 0;
        border-bottom: 1px solid #f0f0f0;
    }

        .details-list li:last-child {
            border-bottom: none;
        }

.detail-key {
    font-weight: 700;
    color: var(--secondary-color);
}

.detail-value {
    color: var(--text-light);
}
.contact-card {
    background-color: var(--surface-color);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.07);
    max-width: 900px;
    margin: 0 auto;
}

.contact-info-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #eee;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1rem auto;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.info-block:hover .icon-circle {
    background-color: var(--primary-color);
    color: var(--surface-color);
}

.info-block h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.info-block p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: var(--background-color);
    font-family: var(--font-family);
    font-size: 1rem;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
    margin-bottom: 1.5rem;
}

.contact-form button {
    display: block;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: flex-start;
}

.cart-items table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--surface-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.cart-items th, .cart-items td {
    padding: 1.2rem;
    text-align: right;
}

.cart-items thead {
    background-color: #f8f8f8;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-light);
}

.cart-items tbody tr {
    border-bottom: 1px solid #eee;
}

    .cart-items tbody tr:last-child {
        border-bottom: none;
    }

.product-image-cell img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.product-name-cell a {
    font-weight: 700;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 5px;
}

.remove-item {
    background: none;
    border: none;
    color: #e74c3c;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0;
}

.order-summary {
    background-color: var(--surface-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

    .order-summary h4 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #eee;
    }

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--text-light);
}

    .summary-row.total-row {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--secondary-color);
        border-top: 1px solid #eee;
        padding-top: 1rem;
    }

.checkout-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5rem;
    align-items: flex-start;
}

.billing-details, .order-summary-checkout {
    background-color: var(--surface-color);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

    .billing-details h3, .order-summary-checkout h4 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #eee;
    }

.checkout-form .form-group {
    margin-bottom: 1.5rem;
}

.checkout-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.checkout-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.checkout-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    font-family: var(--font-family);
    font-size: 1rem;
}

.summary-product-list {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.summary-product {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.step-card {
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.step-number {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 4rem;
    font-weight: 900;
    color: #eee;
    z-index: -1;
    line-height: 1;
}

.step-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.step-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.step-card p {
    color: var(--text-light);
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.text-center {
    text-align: center;
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    width: 100%;
}

.login-form-wrapper {
    background-color: var(--surface-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

    .login-form-wrapper form {
        width: 100%;
        max-width: 400px;
    }

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-logo {
    height: 90px;
    margin-bottom: 1rem;
}

.login-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: var(--text-light);
}

.login-form-wrapper .form-group {
    margin-bottom: 1.5rem;
}

.login-form-wrapper .form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.login-form-wrapper .form-control {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    font-family: var(--font-family);
    font-size: 1rem;
}

.login-form-wrapper .form-group-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.form-check-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-block {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
}

.login-image-wrapper {
    background-color: black;
}

    .login-image-wrapper img {
        width: 100%;
        height: 100vh;
        object-fit: cover;
        opacity: 0.8;
    }

.payment-selection-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2.5rem;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
}

.order-summary-payment {
    background-color: var(--surface-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 120px;
}

    .order-summary-payment h4 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #eee;
    }

.payment-options {
    background-color: var(--surface-color);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

    .payment-options h3 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

.payment-option-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

    .payment-option-card:has(input:checked) {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 2px var(--primary-color);
    }

    .payment-option-card label {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1.5rem;
        cursor: pointer;
    }

    .payment-option-card input[type="radio"] {
        margin-right: 1rem;
        accent-color: var(--primary-color);
        width: 20px;
        height: 20px;
    }

    .payment-option-card img {
        height: 40px;
        max-width: 80px;
        object-fit: contain;
    }

.payment-options button {
    margin-top: 2rem;
}

@media (max-width: 992px) {
    .checkout-layout, .payment-selection-layout {
        grid-template-columns: 1fr;
    }

    .login-container {
        grid-template-columns: 1fr;
    }

    .login-image-wrapper {
        display: none;
    }
}

@media (max-width: 1190px) {
    .nav-links {
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        background-color: var(--background-color);
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        transition: right 0.5s ease-in-out;
        z-index: 999;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

        .nav-links.active {
            right: 0;
            display: flex;
        }

    .menu-icon {
        display: block;
        z-index: 1000;
    }

    .cart-items thead {
        display: none;
    }

    .cart-items table,
    .cart-items tbody,
    .cart-items tr,
    .cart-items td {
        display: block;
        width: 100%;
    }

    .cart-items tr {
        border: 1px solid #eee;
        border-radius: 15px;
        margin-bottom: 1.5rem;
        padding: 1rem;
    }

    .cart-items td {
        border: none;
        padding: 0.5rem 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

        .cart-items td::before {
            content: attr(data-label);
            font-weight: 700;
            color: var(--secondary-color);
            text-align: right;
            padding-left: 1rem;
        }

    .product-image-cell {
        justify-content: center;
        margin-bottom: 1rem;
    }

    .product-name-cell {
        flex-direction: column;
        align-items: flex-start;
        border-top: 1px solid #eee;
        padding-top: 1rem;
    }

        .product-name-cell::before {
            display: none;
        }
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--secondary-color);
}

.search-form {
    position: relative;
    display: flex;
    align-items: center;
}

    .search-form input {
        border: 1px solid #ddd;
        border-radius: 20px;
        padding: 8px 30px 8px 30px;
        font-family: var(--font-family);
        transition: width 0.3s ease-in-out;
        width: 200px;
    }

        .search-form input:focus {
            width: 250px;
            outline: none;
            border-color: var(--primary-color);
        }

    .search-form button {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        cursor: pointer;
        color: var(--text-light);
        font-size: 1rem;
    }
.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

    .search-results-header h3 {
        margin: 0;
        font-size: 1.4rem;
    }

    .search-results-header span {
        color: var(--text-light);
    }
.orders-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--surface-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: right;
}

    .orders-table th, .orders-table td {
        padding: 1.2rem;
        border-bottom: 1px solid #eee;
    }

    .orders-table thead {
        background-color: #f8f8f8;
    }

.badge-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    background-color: #e9e2d9;
    color: var(--secondary-color);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

    .btn-outline:hover {
        background-color: var(--primary-color);
        color: var(--surface-color);
    }

.order-details-user-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.order-summary-card, .order-address-card, .order-items-card {
    background-color: var(--surface-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

    .order-summary-card h4, .order-address-card h4, .order-items-card h4 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #eee;
    }

.summary-list {
    list-style: none;
}

    .summary-list li {
        display: flex;
        justify-content: space-between;
        padding: 0.8rem 0;
    }

        .summary-list li.total {
            font-weight: 700;
            font-size: 1.2rem;
            border-top: 1px solid #eee;
            margin-top: 0.5rem;
            padding-top: 1rem;
        }

.order-address-card p {
    line-height: 2;
}

.user-menu, .auth-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

    .user-menu .nav-link, .auth-links .nav-link {
        font-weight: 700;
        padding: 5px 10px;
        border-radius: 5px;
        font-family : 'Cairo';
    }

    .user-menu form .nav-link {
        background: none;
        border: none;
        cursor: pointer;
    }

    .auth-links a:last-child {
        background-color: var(--primary-color);
        color: white;
    }

        .auth-links a:last-child:hover {
            background-color: #b3916c;
        }

.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: 1rem;
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    width: 100%;
}

.login-form-wrapper {
    background-color: var(--surface-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

    .login-form-wrapper form {
        width: 100%;
        max-width: 400px;
    }

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-logo {
    height: 90px;
    margin-bottom: 1rem;
}

.login-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: var(--text-light);
}

.login-form-wrapper .form-group {
    margin-bottom: 1.5rem;
}

.login-form-wrapper .form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.login-form-wrapper .form-control {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    font-family: var(--font-family);
    font-size: 1rem;
}

.login-form-wrapper .form-group-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.form-check-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-block {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
}

.login-image-wrapper {
    background-color: black;
}

    .login-image-wrapper img {
        width: 100%;
        height: 100vh;
        object-fit: cover;
        opacity: 0.8;
    }

@media (max-width: 992px) {
    .login-container {
        grid-template-columns: 1fr;
    }

    .login-image-wrapper {
        display: none;
    }
}
.price-group {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

    .price-group > div {
        display: flex;
        align-items: baseline;
        gap: 15px;
    }

.info-price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-accent);
}

.old-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 1.2rem;
}

.add-to-cart-form {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.quantity-control {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quantity-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.quantity-btn {
    background-color: var(--primary-accent-light);
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
    width: 45px;
    height: 45px;
    color: var(--primary-accent);
    transition: background-color 0.2s;
}

    .quantity-btn:hover {
        background-color: var(--primary-accent);
        color: white;
    }

.quantity-input {
    width: 60px;
    height: 45px;
    text-align: center;
    border: none;
    border-right: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
    font-size: 1.2rem;
    font-weight: 700;
    -moz-appearance: textfield; 
}

    .quantity-input::-webkit-outer-spin-button,
    .quantity-input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

.btn-add-to-cart {
    flex-grow: 1;
    padding: 14px;
    font-size: 1.1rem;
}
.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: flex-start;
}

.cart-items table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--surface-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.cart-items th, .cart-items td {
    padding: 1.2rem;
    text-align: right;
    vertical-align: middle;
}

.cart-items thead {
    background-color: #f8f8f8;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-light);
}

.cart-items tbody tr {
    border-bottom: 1px solid var(--border-color);
}

    .cart-items tbody tr:last-child {
        border-bottom: none;
    }

.product-image-cell img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.product-name-cell a {
    font-weight: 700;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 5px;
}

.remove-item-icon {
    background: #fdeeee;
    color: #e53e3e;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

    .remove-item-icon:hover {
        background: #e53e3e;
        color: white;
        transform: scale(1.1);
    }


.order-summary {
    background-color: var(--surface-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 120px;
}

    .order-summary h4 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--border-color);
    }

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

    .summary-row.shipping-note {
        justify-content: center;
        text-align: center;
        color: var(--text-light);
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 1rem;
    }

    .summary-row.total-row {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--text-primary);
        border-top: 1px solid var(--border-color);
        padding-top: 1rem;
    }

.qr-code-container {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--surface-color);
    border-radius: 15px;
    display: inline-block;
    box-shadow: var(--shadow-sm);
}

    .qr-code-container h4 {
        margin-bottom: 1rem;
        font-size: 1.2rem;
        color: var(--text-primary);
    }

    .qr-code-container img {
        border-radius: 8px;
    }

.access-denied-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 2rem;
}

.access-denied-box {
    background-color: var(--surface-color);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    width: 100%;
    box-shadow: var(--shadow-md);
}

    .access-denied-box .icon-wrapper {
        font-size: 4rem;
        color: #e53e3e;
        margin-bottom: 1.5rem;
    }

    .access-denied-box h1 {
        font-size: 2rem;
        font-weight: 900;
        margin-bottom: 0.5rem;
    }

    .access-denied-box .text-danger {
        font-size: 1.1rem;
        color: #e53e3e;
        font-weight: 600;
    }

    .access-denied-box p {
        color: var(--text-secondary);
        margin-bottom: 2rem;
    }

    .access-denied-box .btn {
        padding: 12px 30px;
    }
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: transparent;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    text-decoration: none;
}


.product-image {
    position: relative;
    height: 280px;
    background-color: #f5f5f5;
}

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(58, 58, 58, 0.5); 
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-size: 2rem;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 1.5rem 1rem;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.4;
    height: 3em; 
    overflow: hidden;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary-accent);
}
.form-group-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

#forgot-password {
    color: var(--primary-accent);
    text-decoration: none;
}

    #forgot-password:hover {
        text-decoration: underline;
    }
