/* =========================
   LAVIE RESTAURANT
   Feminine Luxury
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #fff8f5;
    color: #5a4140;
    font-family: "Cairo", sans-serif;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}


/* =========================
   HEADER
========================= */

.header {
    width: 100%;
    padding: 22px 7%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(255, 248, 245, 0.92);

    border-bottom: 1px solid rgba(185, 111, 115, 0.12);

    position: relative;
    z-index: 10;
}


/* Logo */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 48px;
    height: 48px;

    border: 1px solid #c89b8c;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #b96f73;

    font-family: "Playfair Display", serif;
    font-size: 25px;
    font-style: italic;
}

.logo-text h2 {
    font-family: "Playfair Display", serif;
    font-size: 21px;

    letter-spacing: 4px;

    color: #5a4140;
}

.logo-text span {
    display: block;

    color: #c89b8c;

    font-size: 8px;
    letter-spacing: 3px;
}


/* Navigation */

.navbar {
    display: flex;
    align-items: center;
    gap: 35px;
}

.navbar a {
    color: #765958;

    font-size: 14px;

    transition: 0.3s ease;
}

.navbar a:hover {
    color: #b96f73;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: calc(100vh - 93px);

    padding: 70px 7%;

    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 70px;

    position: relative;
}


/* Hero Content */

.hero-content {
    max-width: 560px;
}

.eyebrow {
    color: #b96f73;

    font-size: 12px;

    letter-spacing: 4px;

    margin-bottom: 18px;
}

.hero h1 {
    font-family: "Playfair Display", serif;

    font-size: clamp(55px, 7vw, 90px);

    line-height: 1.1;

    font-weight: 600;

    color: #5a4140;

    margin-bottom: 25px;
}

.hero h1 span {
    display: block;

    color: #b96f73;

    font-style: italic;
}

.hero-description {
    max-width: 480px;

    color: #856d6b;

    font-size: 15px;

    line-height: 2;

    margin-bottom: 35px;
}


/* Button */

.menu-btn {
    display: inline-flex;

    align-items: center;

    gap: 15px;

    padding: 13px 27px;

    background: #b96f73;

    color: white;

    border-radius: 30px;

    font-size: 14px;

    box-shadow: 0 10px 30px rgba(185, 111, 115, 0.18);

    transition: 0.3s ease;
}

.menu-btn:hover {
    background: #a85e63;

    transform: translateY(-3px);
}

.menu-btn span {
    font-size: 18px;
}


/* =========================
   HERO IMAGE
========================= */

.hero-visual {
    position: relative;

    display: flex;

    justify-content: center;

    align-items: center;
}


/* Decorative Circle */

.decor-circle {
    position: absolute;

    width: 450px;
    height: 450px;

    background: #f2d8d5;

    border-radius: 50%;

    z-index: 0;
}


/* Image Frame */

.hero-frame {
    width: min(400px, 80%);

    height: 530px;

    position: relative;

    z-index: 1;

    padding: 10px;

    background: #fff;

    border-radius: 220px 220px 30px 30px;

    box-shadow: 0 25px 60px rgba(90, 65, 64, 0.12);
}

.hero-frame img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 210px 210px 22px 22px;
}


/* Floating Card */

.floating-card {
    position: absolute;

    bottom: 35px;
    left: 0;

    z-index: 2;

    padding: 14px 20px;

    background: #fff;

    border-radius: 15px;

    box-shadow: 0 15px 40px rgba(90, 65, 64, 0.12);

    display: flex;

    align-items: center;

    gap: 12px;
}

.floating-card > span {
    color: #c89b8c;

    font-size: 22px;
}

.floating-card p {
    color: #856d6b;

    font-family: "Playfair Display", serif;

    font-size: 13px;
    line-height: 1.4;
}

.floating-card strong {
    color: #b96f73;

    font-size: 17px;
}


/* =========================
   MENU
========================= */

.menu-section {
    padding: 110px 7%;

    background: #fff;

    min-height: 600px;
}


/* Section Heading */

.section-heading {
    text-align: center;

    margin-bottom: 45px;
}

.section-heading > p {
    color: #b96f73;

    font-size: 11px;

    letter-spacing: 4px;
}

.section-heading h2 {
    margin-top: 8px;

    color: #5a4140;

    font-family: "Playfair Display", serif;

    font-size: 48px;

    line-height: 1.2;
}

.section-heading h2 em {
    color: #b96f73;

    font-style: italic;
}

.heading-line {
    display: block;

    width: 45px;
    height: 1px;

    background: #c89b8c;

    margin: 18px auto;
}


/* Category Buttons */

.category-buttons {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 45px;
}

.category-buttons button {
    border: 1px solid #ead6d2;

    background: transparent;

    color: #765958;

    padding: 9px 22px;

    border-radius: 25px;

    cursor: pointer;

    transition: 0.3s ease;
}

.category-buttons button:hover,
.category-buttons button.active {
    background: #b96f73;

    color: white;

    border-color: #b96f73;
}


/* Menu Grid */

.menu-grid {
    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}


/* =========================
   ABOUT
========================= */

.about {
    padding: 120px 7%;

    background: #f7e8e5;

    text-align: center;
}

.about-content {
    max-width: 650px;

    margin: auto;
}

.about h2 {
    font-family: "Playfair Display", serif;

    font-size: 50px;

    color: #5a4140;

    margin-bottom: 20px;
}

.about h2 span {
    color: #b96f73;

    font-style: italic;
}

.about-content > p:last-child {
    color: #765958;

    line-height: 2;

    font-size: 15px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .header {
        padding: 18px 5%;
    }

    .navbar {
        display: none;
    }


    .hero {
        grid-template-columns: 1fr;

        padding: 55px 5%;

        text-align: center;

        gap: 50px;
    }

    .hero-content {
        margin: auto;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        order: -1;
    }

    .decor-circle {
        width: 320px;
        height: 320px;
    }

    .hero-frame {
        width: 280px;
        height: 390px;
    }

    .floating-card {
        left: 5%;
        bottom: 20px;
    }

    .hero h1 {
        font-size: 58px;
    }


    .menu-section {
        padding: 80px 5%;
    }

    .section-heading h2 {
        font-size: 40px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }


    .about {
        padding: 90px 5%;
    }

    .about h2 {
        font-size: 40px;
    }
}
/* =========================
   MENU CARDS
========================= */

.menu-card {
    background: #fff8f5;

    border: 1px solid #f0dfdc;

    border-radius: 20px;

    overflow: hidden;

    transition: 0.35s ease;
}

.menu-card:hover {
    transform: translateY(-8px);

    box-shadow: 0 20px 45px rgba(90, 65, 64, 0.12);
}


/* Card Image */

.card-image {
    height: 250px;

    position: relative;

    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: 0.5s ease;
}

.menu-card:hover .card-image img {
    transform: scale(1.05);
}


/* Price */

.price {
    position: absolute;

    top: 15px;
    left: 15px;

    background: #fff;

    color: #b96f73;

    padding: 7px 13px;

    border-radius: 20px;

    font-family: "Playfair Display", serif;

    font-weight: 600;

    box-shadow: 0 5px 20px rgba(90, 65, 64, 0.1);
}


/* Card Content */

.card-content {
    padding: 22px;
}

.card-content h3 {
    color: #5a4140;

    font-family: "Playfair Display", serif;

    font-size: 22px;

    margin-bottom: 8px;
}

.card-content .description {
    color: #856d6b;

    font-size: 13px;

    line-height: 1.8;

    margin-bottom: 12px;
}

.ingredients {
    color: #b96f73;

    font-size: 11px;

    line-height: 1.8;
}
/* =========================
   DETAILS BUTTON
========================= */

.details-btn {
    margin-top: 18px;

    border: none;
    background: transparent;

    color: #b96f73;

    font-family: "Cairo", sans-serif;
    font-size: 13px;

    cursor: pointer;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    transition: 0.3s ease;
}

.details-btn span {
    font-size: 18px;

    transition: 0.3s ease;
}

.details-btn:hover {
    color: #8f5559;
}

.details-btn:hover span {
    transform: translateX(-5px);
}


/* =========================
   MODAL
========================= */

.modal {
    position: fixed;

    inset: 0;

    z-index: 1000;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;
}

.modal.active {
    display: flex;
}


/* Overlay */

.modal-overlay {
    position: absolute;

    inset: 0;

    background: rgba(62, 42, 42, 0.55);

    backdrop-filter: blur(7px);
}


/* Modal Box */

.modal-content {
    width: min(900px, 100%);

    max-height: 90vh;

    background: #fff8f5;

    border-radius: 25px;

    overflow: hidden;

    position: relative;
    z-index: 1;

    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    box-shadow: 0 30px 80px rgba(50, 30, 30, 0.25);
}


/* Close */

.modal-close {
    position: absolute;

    top: 15px;
    right: 15px;

    width: 38px;
    height: 38px;

    border: none;

    border-radius: 50%;

    background: white;

    color: #b96f73;

    font-size: 25px;

    cursor: pointer;

    z-index: 5;

    box-shadow: 0 5px 20px rgba(50, 30, 30, 0.1);
}


/* Modal Image */

.modal-image {
    min-height: 500px;
}

.modal-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* Modal Info */

.modal-info {
    padding: 55px 45px;

    display: flex;
    flex-direction: column;

    justify-content: center;
}

.modal-category {
    color: #b96f73;

    font-size: 10px;

    letter-spacing: 4px;

    margin-bottom: 10px;
}

.modal-info h2 {
    font-family: "Playfair Display", serif;

    color: #5a4140;

    font-size: 40px;

    line-height: 1.2;

    margin-bottom: 18px;
}

.modal-description {
    color: #856d6b;

    font-size: 14px;

    line-height: 2;
}

.modal-divider {
    width: 45px;
    height: 1px;

    background: #d9b6ae;

    margin: 25px 0;
}

.modal-info h4 {
    color: #5a4140;

    margin-bottom: 8px;
}

.modal-ingredients {
    color: #856d6b;

    font-size: 13px;

    line-height: 2;
}


/* Bottom */

.modal-bottom {
    margin-top: 30px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.modal-bottom > span {
    color: #b96f73;

    font-family: "Playfair Display", serif;

    font-size: 28px;

    font-weight: 600;
}

.order-btn {
    border: none;

    background: #b96f73;

    color: white;

    padding: 12px 25px;

    border-radius: 25px;

    cursor: pointer;

    font-family: "Cairo", sans-serif;

    transition: 0.3s ease;
}

.order-btn:hover {
    background: #a45d62;

    transform: translateY(-2px);
}


/* =========================
   MODAL MOBILE
========================= */

@media (max-width: 700px) {

    .modal-content {
        grid-template-columns: 1fr;

        max-height: 90vh;

        overflow-y: auto;
    }

    .modal-image {
        height: 250px;

        min-height: auto;
    }

    .modal-info {
        padding: 30px 25px;
    }

    .modal-info h2 {
        font-size: 30px;
    }

    .modal-bottom {
        margin-top: 25px;
    }

}
/* =========================
   LAVIE - CARD UPGRADE
========================= */

.menu-card {
    background: #fffafa;
    border: 1px solid #ead8d5;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(90, 65, 64, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(185, 111, 115, 0.16);
}

/* الصورة */

.card-image {
    height: 270px;
    position: relative;
    overflow: hidden;
    background: #f5e8e5;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.menu-card:hover .card-image img {
    transform: scale(1.06);
}

/* السعر */

.price {
    position: absolute;
    top: 16px;
    left: 16px;

    background: rgba(255, 255, 255, 0.95);
    color: #b96f73;

    padding: 8px 15px;
    border-radius: 30px;

    font-family: "Playfair Display", serif;
    font-size: 16px;
    font-weight: 600;

    box-shadow: 0 6px 20px rgba(90, 65, 64, 0.12);
}

/* محتوى البطاقة */

.card-content {
    padding: 24px 22px 22px;
}

.card-content h3 {
    color: #5a4140;

    font-family: "Playfair Display", serif;
    font-size: 22px;
    font-weight: 600;

    margin-bottom: 10px;
}

.card-content .description {
    color: #856d6b;

    font-size: 13px;
    line-height: 1.9;

    margin-bottom: 10px;
}

.card-content .ingredients {
    color: #b96f73;

    font-size: 11px;
    line-height: 1.8;

    padding-top: 5px;
}

/* زر التفاصيل */

.details-btn {
    margin-top: 18px;

    border: 1px solid #e4c8c3;
    background: transparent;

    color: #b96f73;

    padding: 8px 15px;
    border-radius: 25px;

    font-family: "Cairo", sans-serif;
    font-size: 12px;

    cursor: pointer;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    transition: all 0.3s ease;
}

.details-btn span {
    transition: transform 0.3s ease;
}

.details-btn:hover {
    background: #b96f73;
    border-color: #b96f73;
    color: white;
}

.details-btn:hover span {
    transform: translateX(-4px);
}


/* =========================
   MOBILE CARDS
========================= */

@media (max-width: 768px) {

    .card-image {
        height: 240px;
    }

    .card-content {
        padding: 20px;
    }

    .card-content h3 {
        font-size: 20px;
    }

}
/* =========================
   CARD APPEAR ANIMATION
========================= */

.menu-card {
    animation: cardAppear 0.6s ease both;
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ظهور متدرج للبطاقات */

.menu-card:nth-child(1) {
    animation-delay: 0.05s;
}

.menu-card:nth-child(2) {
    animation-delay: 0.1s;
}

.menu-card:nth-child(3) {
    animation-delay: 0.15s;
}

.menu-card:nth-child(4) {
    animation-delay: 0.2s;
}

.menu-card:nth-child(5) {
    animation-delay: 0.25s;
}

.menu-card:nth-child(6) {
    animation-delay: 0.3s;
}
/* =========================
   LAVIE POPUP UPGRADE
========================= */

.modal-content {
    border: 1px solid #ead8d5;
    border-radius: 28px;

    box-shadow:
        0 30px 90px rgba(50, 30, 30, 0.28);

    animation: modalAppear 0.35s ease both;
}

/* ظهور النافذة */

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* الصورة */

.modal-image {
    position: relative;
    overflow: hidden;
    background: #f5e8e5;
}

.modal-image img {
    transition: transform 0.6s ease;
}

.modal-content:hover .modal-image img {
    transform: scale(1.03);
}

/* زر الإغلاق */

.modal-close {
    width: 42px;
    height: 42px;

    top: 18px;
    right: 18px;

    background: rgba(255, 255, 255, 0.95);

    color: #b96f73;

    font-size: 24px;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.modal-close:hover {
    background: #b96f73;
    color: white;

    transform: rotate(90deg);
}

/* عنوان الطبق */

.modal-info h2 {
    font-size: 42px;
    color: #5a4140;
}

/* التصنيف */

.modal-category {
    color: #b96f73;
    font-weight: 600;
}

/* الخط الفاصل */

.modal-divider {
    background: #d9b6ae;
    width: 55px;
}

/* المكونات */

.modal-ingredients {
    background: #fff;
    border: 1px solid #f0dfdc;

    border-radius: 14px;

    padding: 12px 15px;

    color: #765958;
}

/* السعر + الطلب */

.modal-bottom {
    padding-top: 5px;
}

.modal-bottom > span {
    color: #b96f73;
    font-size: 30px;
}

.order-btn {
    padding: 13px 28px;

    background: #b96f73;

    box-shadow: 0 8px 25px rgba(185, 111, 115, 0.2);

    transition: all 0.3s ease;
}

.order-btn:hover {
    background: #a45d62;

    transform: translateY(-3px);

    box-shadow: 0 12px 30px rgba(185, 111, 115, 0.3);
}


/* =========================
   POPUP MOBILE
========================= */

@media (max-width: 700px) {

    .modal {
        padding: 12px;
    }

    .modal-content {
        width: 100%;
        border-radius: 22px;
    }

    .modal-image {
        height: 220px;
    }

    .modal-info {
        padding: 28px 22px;
    }

    .modal-info h2 {
        font-size: 30px;
    }

    .modal-bottom {
        gap: 15px;
    }

    .modal-bottom > span {
        font-size: 25px;
    }

    .order-btn {
        padding: 11px 20px;
    }

}
/* =========================
   RESERVATION
========================= */

.reservation {
    padding: 110px 7%;
    background: #fff8f5;
}

.reservation-content {
    max-width: 850px;
    margin: auto;
    text-align: center;
}

.reservation-content h2 {
    margin-top: 8px;

    font-family: "Playfair Display", serif;
    font-size: 50px;

    color: #5a4140;
}

.reservation-content h2 span {
    color: #b96f73;
    font-style: italic;
}

.reservation-content > p:not(.eyebrow) {
    max-width: 500px;

    margin: 18px auto 40px;

    color: #856d6b;
    font-size: 14px;
    line-height: 2;
}


/* Form */

.reservation-form {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;

    text-align: right;

    background: #fff;

    padding: 35px;

    border: 1px solid #ead8d5;

    border-radius: 25px;

    box-shadow: 0 15px 45px rgba(90, 65, 64, 0.07);
}

.form-group {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.form-group label {
    color: #5a4140;

    font-size: 13px;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;

    height: 48px;

    padding: 0 15px;

    border: 1px solid #ead8d5;

    border-radius: 12px;

    background: #fff8f5;

    color: #765958;

    font-family: "Cairo", sans-serif;

    outline: none;

    transition: 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #b96f73;

    box-shadow: 0 0 0 3px rgba(185, 111, 115, 0.08);
}


/* Reservation Button */

.reservation-btn {
    grid-column: 1 / -1;

    justify-self: center;

    margin-top: 10px;

    border: none;

    background: #b96f73;

    color: white;

    padding: 13px 30px;

    border-radius: 30px;

    font-family: "Cairo", sans-serif;

    font-size: 14px;

    cursor: pointer;

    display: flex;
    align-items: center;
    gap: 10px;

    transition: 0.3s ease;
}

.reservation-btn:hover {
    background: #a45d62;

    transform: translateY(-3px);

    box-shadow: 0 10px 25px rgba(185, 111, 115, 0.2);
}

.reservation-btn span {
    font-size: 18px;
}


/* =========================
   RESERVATION MOBILE
========================= */

@media (max-width: 600px) {

    .reservation {
        padding: 80px 5%;
    }

    .reservation-content h2 {
        font-size: 40px;
    }

    .reservation-form {
        grid-template-columns: 1fr;

        padding: 25px 20px;
    }

    .reservation-btn {
        grid-column: auto;
        width: 100%;
        justify-content: center;
    }

}
/* =========================
   FOOTER
========================= */

.footer {
    background: #5a4140;

    color: #fff8f5;

    padding: 75px 7% 25px;
}


/* Footer Container */

.footer-container {

    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1.3fr
        1fr;

    gap: 50px;

    padding-bottom: 55px;

    border-bottom: 1px solid rgba(255, 248, 245, 0.15);
}


/* Brand */

.footer-brand .logo {
    display: inline-flex;

    margin-bottom: 20px;
}

.footer-brand .logo-mark {

    border-color: #d9aaa2;

    color: #e8b8b1;
}

.footer-brand .logo-text h2 {

    color: #fff8f5;
}

.footer-brand .logo-text span {

    color: #d9aaa2;
}

.footer-brand > p {

    max-width: 260px;

    color: #d9c5c2;

    font-size: 13px;

    line-height: 2;
}


/* Titles */

.footer h3 {

    color: #f0c4bd;

    font-size: 15px;

    margin-bottom: 20px;

    font-weight: 600;
}


/* Links */

.footer-links {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 10px;
}

.footer-links a {

    color: #d9c5c2;

    font-size: 13px;

    transition: 0.3s ease;
}

.footer-links a:hover {

    color: #fff;

    transform: translateX(-4px);
}


/* Contact */

.footer-contact {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 10px;
}

.footer-contact p {

    color: #d9c5c2;

    font-size: 12px;

    line-height: 1.8;
}


/* Social */

.social-icons {

    display: flex;

    flex-direction: column;

    gap: 10px;
}

.social-icons a {

    color: #d9c5c2;

    font-size: 13px;

    transition: 0.3s ease;
}

.social-icons a:hover {

    color: #f0c4bd;

}


/* Bottom */

.footer-bottom {

    max-width: 1200px;

    margin: 22px auto 0;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    color: #cbb5b2;

    font-size: 11px;
}

.footer-bottom span {

    color: #e0aaa3;

}


/* =========================
   FOOTER MOBILE
========================= */

@media (max-width: 768px) {

    .footer {

        padding: 60px 7% 20px;

    }

    .footer-container {

        grid-template-columns: 1fr 1fr;

        gap: 40px 25px;

    }

    .footer-brand {

        grid-column: 1 / -1;

    }

    .footer-bottom {

        flex-direction: column;

        text-align: center;

        gap: 8px;

    }

}


@media (max-width: 480px) {

    .footer-container {

        grid-template-columns: 1fr;

    }

    .footer-brand {

        grid-column: auto;

    }

}
.admin-login-link {
    text-align: center;
    margin: 25px 0 15px;
}

.admin-login-link a {
    color: #9b7775;
    text-decoration: none;
    font-size: 12px;
    opacity: 0.7;
    transition: 0.3s;
}

.admin-login-link a:hover {
    color: #881319;
    opacity: 1;
}
/* ===============================
   CART
================================ */

.cart-button {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 58px;
    height: 58px;
    border: none;
    border-radius: 50%;
    background: #ac8482;
    color: white;
    font-size: 22px;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
}

#cartCount {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #d9a3a3;
    color: white;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.cart-box {
    position: fixed;
    top: 0;
    left: 0;
    width: 380px;
    max-width: 90%;
    height: 100vh;
    background: #ffffff;
    z-index: 1000;
    padding: 25px;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.15);

    transform: translateX(-110%);
    transition: transform 0.35s ease;

    overflow-y: auto;
}

.cart-box.active {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom:18px ;
    border: bottom 1px solid #ead6d2; 
}

.cart-header h2 {
    color: #5a4140;
    font-size: 22px;
}

#closeCart {
    border: none;
    background: none;
    font-size: 30px;
    color: #5a4140;
    cursor: pointer;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ead6d2;
    padding-top: 18px;
    margin-top: 20px;
    color: #5a4140;
}

.checkout-btn {
    width: 100%;
    margin-top: 20px;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: #881319;
    color: white;
    font-family: "Cairo", sans-serif;
    font-size: 16px;
    cursor: pointer;
}
/* CART ITEMS */

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid #ead6d2;
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-item-info img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 10px;
}

.cart-item-info h3 {
    color: #5a4140;
    font-size: 14px;
    margin-bottom: 4px;
}

.cart-item-info p {
    color: #881319;
    font-weight: 600;
    font-size: 13px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.quantity-btn {
    width: 27px;
    height: 27px;
    border: 1px solid #881319;
    background: white;
    color: #881319;
    border-radius: 6px;
    cursor: pointer;
    font-size: 17px;
}

.quantity-controls span {
    color: #5a4140;
    font-weight: 600;
}

.remove-cart-item {
    border: none;
    background: transparent;
    color: #881319;
    font-size: 24px;
    cursor: pointer;
}
/* ===============================
   CHECKOUT MODAL
================================ */

.checkout-modal {
    position: fixed;
    inset: 0;
    background: rgba(50, 30, 30, 0.45);
    z-index: 2000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.checkout-modal.active {
    opacity: 1;
    visibility: visible;
}

.checkout-box {
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;

    background: #ffffff;
    border-radius: 18px;
    padding: 30px;

    position: relative;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.checkout-box h2 {
    color: #5a4140;
    font-size: 25px;
    margin-bottom: 5px;
}

.checkout-subtitle {
    color: #8b7471;
    font-size: 14px;
    margin-bottom: 25px;
}

.checkout-close {
    position: absolute;
    top: 15px;
    left: 18px;

    border: none;
    background: none;

    font-size: 28px;
    color: #5a4140;
    cursor: pointer;
}

.checkout-field {
    margin-bottom: 16px;
}

.checkout-field label {
    display: block;
    margin-bottom: 7px;

    color: #5a4140;
    font-size: 14px;
    font-weight: 600;
}

.checkout-field input,
.checkout-field select,
.checkout-field textarea {
    width: 100%;
    padding: 12px;

    border: 1px solid #ead6d2;
    border-radius: 10px;

    background: #fffafa;
    color: #5a4140;

    font-family: "Cairo", sans-serif;
    font-size: 14px;

    outline: none;
}

.checkout-field input:focus,
.checkout-field select:focus,
.checkout-field textarea:focus {
    border-color: #881319;
}

.checkout-field textarea {
    min-height: 80px;
    resize: vertical;
}

.checkout-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;

    border-top: 1px solid #ead6d2;

    margin-top: 20px;
    padding-top: 18px;

    color: #5a4140;
}

.checkout-summary strong {
    color: #881319;
    font-size: 20px;
}

.confirm-order-btn {
    width: 100%;
    margin-top: 20px;
    padding: 14px;

    border: none;
    border-radius: 10px;

    background: #881319;
    color: white;

    font-family: "Cairo", sans-serif;
    font-size: 16px;
    font-weight: 600;

    cursor: pointer;
    transition: 0.3s ease;
}

.confirm-order-btn:hover {
    transform: translateY(-2px);
}
