/* =============================================
   RESET & BASE STYLES
============================================= */
:root {
    --primary-color: #D4AF37;
    --secondary-color: #8B4513;
    --accent-color: #E67E22;
    --light-color: #F5F5F5;
    --dark-color: #333333;
    --white-color: #FFFFFF;
    --success-color: #4CAF50;
    --danger-color: #F44336;
    --warning-color: #FF9800;
    --info-color: #2196F3;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* =============================================
   UTILITIES
============================================= */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 50px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mb-5 { margin-bottom: 50px; }

.p-1 { padding: 10px; }
.p-2 { padding: 20px; }
.p-3 { padding: 30px; }

/* =============================================
   HEADER & NAVBAR
============================================= */
.oriental-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    padding: 15px 0;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.header-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/oriental-pattern.png');
    background-repeat: repeat;
    opacity: 0.15;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-circle {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.logo-circle:hover {
    transform: scale(1.05);
    background-color: rgba(255, 255, 255, 0.3);
}

.logo-icon {
    font-size: 24px;
    color: var(--white-color);
    font-family: 'Scheherazade New', serif;
}

.logo-text {
    font-size: 20px;
    font-family: 'Lobster', cursive;
    color: var(--white-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    margin-left: 10px;
}

.navbar ul {
    display: flex;
}

.navbar ul li {
    margin-left: 20px;
}

.navbar ul li a {
    color: var(--white-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.navbar ul li a i {
    margin-right: 8px;
}

.navbar ul li a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.navbar ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--white-color);
    transition: width 0.3s ease;
}

.navbar ul li a:hover::after {
    width: 100%;
}

/* Menu mobile */
.menu-toggle {
    display: none;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1001;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white-color);
    margin: 5px 0;
    transition: var(--transition);
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .navbar ul {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: rgba(212, 175, 55, 0.95);
        flex-direction: column;
        align-items: center;
        padding: 20px;
        clip-path: circle(0px at 90% -20%);
        transition: clip-path 0.5s ease;
        z-index: 1000;
    }

    .navbar ul.active {
        clip-path: circle(1000px at 90% -20%);
    }

    .navbar ul li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }

    .navbar ul li a {
        justify-content: center;
    }
}

/* =============================================
   FOOTER
============================================= */
.oriental-footer {
    background: linear-gradient(to right, var(--secondary-color), var(--dark-color));
    color: var(--white-color);
    padding: 50px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/oriental-pattern.png');
    background-repeat: repeat;
    opacity: 0.1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.footer-section {
    text-align: center;
}

.footer-section h3 {
    font-family: 'Scheherazade New', serif;
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.footer-section p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo .logo-circle {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.footer-logo h3 {
    margin-bottom: 0;
    font-size: 24px;
}

.footer-section ul {
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-section ul li a i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.contact-info {
    text-align: left;
}

.contact-info li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info i {
    margin-right: 10px;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.contact-info a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white-color);
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 14px;
    outline: none;
}

.newsletter-form button {
    padding: 10px 15px;
    border: none;
    border-radius: 0 30px 30px 0;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    color: var(--white-color);
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: linear-gradient(to right, var(--accent-color), var(--primary-color));
}

.footer-legal {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
}

.footer-legal p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-legal i {
    color: var(--primary-color);
    margin: 0 5px;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
}

.legal-links li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: var(--transition);
}

.legal-links li a:hover {
    color: var(--primary-color);
}

/* =============================================
   BUTTONS
============================================= */
.btn {
    display: inline-block;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    color: var(--white-color);
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    text-decoration: none;
    font-weight: 500;
}

.btn:hover {
    background: linear-gradient(to right, var(--accent-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

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

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 20px;
}

.btn-edit {
    background-color: var(--success-color);
}

.btn-edit:hover {
    background-color: #3e8e41;
}

.btn-delete {
    background-color: var(--danger-color);
}

.btn-delete:hover {
    background-color: #c62828;
}

.whatsapp-btn {
    background: linear-gradient(to right, #25D366, #128C7E);
}

.whatsapp-btn:hover {
    background: linear-gradient(to right, #128C7E, #25D366);
}

/* =============================================
   PRODUCTS & CARDS
============================================= */
.product-card {
    background: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
    margin-bottom: 20px;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-size: 20px;
}

.product-info p {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 14px;
}

.price {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 15px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

.product-detail img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.product-info h1 {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.product-info .price {
    font-size: 28px;
    margin-bottom: 20px;
}

/* =============================================
   CART
============================================= */
.cart-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    margin: 40px 0;
}

.cart-item {
    display: flex;
    align-items: center;
    background: var(--white-color);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.cart-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 15px;
}

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

.cart-item-info h3 {
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.cart-item-info p {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.item-total {
    font-weight: bold;
    color: var(--primary-color) !important;
}

.remove-item {
    color: var(--danger-color);
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
}

.remove-item:hover {
    color: #c62828;
}

.cart-summary {
    background: var(--white-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    height: fit-content;
}

.cart-summary h2 {
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-family: 'Scheherazade New', serif;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary-color);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
}

.promo-input {
    display: flex;
    gap: 10px;
}

.promo-input input {
    flex: 1;
    border-radius: 5px 0 0 5px;
}

.promo-input button {
    border-radius: 0 5px 5px 0;
    padding: 0 15px;
}

.cart-totals {
    margin: 20px 0;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.total-row:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.total-row.final-total {
    font-weight: bold;
    font-size: 18px;
    padding-top: 10px;
    border-top: 2px solid var(--primary-color);
}

#checkout-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* =============================================
   CONFIRMATION PAGE
============================================= */
.confirmation-container {
    text-align: center;
    max-width: 600px;
    margin: 60px auto;
    padding: 40px;
    background: var(--white-color);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.confirmation-icon {
    font-size: 80px;
    color: var(--success-color);
    margin-bottom: 20px;
}

.confirmation-icon i {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.confirmation-container h1 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.whatsapp-section {
    margin: 30px 0;
}

.whatsapp-btn {
    background: #25D366;
    margin-top: 15px;
}

.whatsapp-btn:hover {
    background: #128C7E;
}

.back-home {
    margin-top: 20px;
}

.back-home a {
    color: var(--primary-color);
    font-weight: 500;
}

/* =============================================
   ADMIN STYLES
============================================= */
.admin-navbar {
    background: var(--white-color);
    box-shadow: var(--shadow);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.admin-nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-logo {
    display: flex;
    align-items: center;
}

.admin-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--dark-color);
}

.admin-logo .logo-circle {
    margin-right: 10px;
}

.admin-logo .logo-icon {
    color: var(--dark-color);
}

.admin-nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.admin-nav-links li a {
    display: flex;
    align-items: center;
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 15px;
    border-radius: 5px;
}

.admin-nav-links li a.active,
.admin-nav-links li a:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

.admin-nav-links li a i {
    margin-right: 8px;
}

.admin-user {
    display: flex;
    align-items: center;
}

.btn-logout {
    background: var(--danger-color);
    color: var(--white-color);
    padding: 8px 15px;
    border-radius: 5px;
    transition: var(--transition);
}

.btn-logout:hover {
    background: #c62828;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.admin-header h1 {
    color: var(--secondary-color);
    font-family: 'Scheherazade New', serif;
}

.admin-form-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.admin-form-card h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-family: 'Scheherazade New', serif;
}

.admin-form {
    max-width: 600px;
}

.admin-form .form-group {
    margin-bottom: 20px;
}

.admin-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary-color);
}

.admin-form input,
.admin-form select,
.admin-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: var(--transition);
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.admin-form textarea {
    height: 120px;
    resize: vertical;
}

.current-image {
    margin-top: 15px;
    text-align: center;
}

.current-image img {
    max-width: 200px;
    border-radius: 5px;
    box-shadow: var(--shadow);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--white-color);
    border-radius: 8px;
    padding: 25px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-card h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-family: 'Scheherazade New', serif;
}

.stat-card p {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
}

.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

table th {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    padding: 15px;
    text-align: left;
    font-family: 'Roboto', sans-serif;
}

table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    color: var(--dark-color);
}

table tr:hover td {
    background-color: rgba(212, 175, 55, 0.1);
}

.product-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.status-badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.en\ attente {
    background-color: #FFC107;
    color: #856404;
}

.status-badge.en\ cours {
    background-color: #2196F3;
    color: white;
}

.status-badge.livré {
    background-color: #4CAF50;
    color: white;
}

.status-badge.annulé {
    background-color: #F44336;
    color: white;
}

.status-badge.active {
    background-color: #4CAF50;
    color: white;
}

.status-badge.inactive {
    background-color: #F44336;
    color: white;
}

.empty-message {
    text-align: center;
    padding: 40px;
    color: #777;
    font-style: italic;
}

/* =============================================
   AUTH PAGES
============================================= */
.auth-container {
    max-width: 500px;
    margin: 60px auto;
    padding: 40px;
    background: var(--white-color);
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.auth-container h1 {
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-family: 'Scheherazade New', serif;
}

.auth-form {
    text-align: left;
}

.auth-link {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.auth-link a {
    color: var(--primary-color);
    font-weight: 500;
}

.admin-auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.auth-card {
    background: var(--white-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.auth-card .logo-circle {
    margin: 0 auto 20px;
}

/* =============================================
   HERO BANNER & SECTIONS
============================================= */
.hero-banner {
    background: linear-gradient(rgba(212, 175, 55, 0.8), rgba(139, 69, 19, 0.8)),
                 url('../img/meringue-banner.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white-color);
    text-align: center;
    padding: 120px 0;
    position: relative;
    margin-bottom: 40px;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/oriental-pattern.png');
    opacity: 0.15;
}

.hero-banner h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-banner p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.section-title {
    text-align: center;
    position: relative;
    margin-bottom: 40px;
    font-size: 32px;
    color: var(--secondary-color);
    font-family: 'Scheherazade New', serif;
}

.section-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    margin: 15px auto 0;
}

.about-section {
    padding: 50px 0;
    background-color: var(--white-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
    text-align: justify;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }

    .hero-banner h1 {
        font-size: 36px;
    }

    .hero-banner p {
        font-size: 18px;
    }
}
/* Logo grand et lisible */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 70px; /* Taille augmentée à 70px */
    height: 70px; /* Taille augmentée à 70px */
    object-fit: contain; /* Pour conserver les proportions */
    margin-right: 12px; /* Espacement entre le logo et le texte */
    border-radius: 50%; /* Forme ronde */
    background-color: rgba(255, 255, 255, 0.2); /* Fond légèrement transparent */
    padding: 8px; /* Espacement interne pour un effet "encadré" */
    border: 2px solid rgba(255, 255, 255, 0.3); /* Bordure claire */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Ombre légère pour le relief */
    transition: transform 0.3s ease; /* Animation au survol */
}

.logo-img:hover {
    transform: scale(1.05); /* Légère augmentation au survol */
}

.logo-text {
    font-size: 24px; /* Texte plus grand */
    font-family: 'Lobster', cursive; /* Police élégante */
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /* Ombre pour améliorer la lisibilité */
    font-weight: bold; /* Texte en gras */
}

/* Version mobile (logo légèrement réduit) */
@media (max-width: 768px) {
    .logo-img {
        width: 55px;
        height: 55px;
    }

    .logo-text {
        font-size: 18px;
    }
}

/* Footer - Texte en gras et centré */
.footer-legal {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    position: relative;
    z-index: 2;
}

.copyright-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
    font-weight: bold; /* Texte en gras */
}

.copyright-text strong {
    color: #D4AF37; /* Couleur dorée pour "2026 Dar Al Meringue" */
    font-size: 18px;
}

.made-in-morocco {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.made-in-morocco i {
    color: #D4AF37;
    margin: 0 5px;
}

.made-in-morocco strong {
    color: #D4AF37;
    font-weight: bold;
}

/* =============================================
   ORDER DETAILS PAGE
============================================= */
.order-details-container {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.order-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.order-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.order-section h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-family: 'Scheherazade New', serif;
    display: flex;
    align-items: center;
}

.order-section h2 i {
    margin-right: 10px;
    color: var(--primary-color);
}

.order-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.info-item {
    display: flex;
    margin-bottom: 10px;
}

.info-label {
    font-weight: 500;
    color: var(--secondary-color);
    min-width: 120px;
}

.info-value {
    color: var(--dark-color);
}

.info-value a {
    color: var(--primary-color);
    text-decoration: none;
}

.info-value a:hover {
    text-decoration: underline;
}

.status-form {
    max-width: 300px;
}

.status-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.status-form button {
    margin-top: 10px;
}

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

.order-items-table th,
.order-items-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.order-items-table th {
    background-color: #f9f9f9;
    font-weight: 500;
    color: var(--secondary-color);
}

.order-items-table tfoot th,
.order-items-table tfoot td {
    background-color: #f0f0f0;
    font-weight: 500;
}

.order-items-table tfoot td {
    font-size: 18px;
}

.text-right {
    text-align: right;
}

.product-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.order-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: flex-end;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
}

.whatsapp-btn:hover {
    background: #128C7E;
}

.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.alert.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #4CAF50;
}

.alert.success i {
    margin-right: 10px;
    color: #4CAF50;
}

.status-badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}

.status-badge.en\ attente {
    background-color: #FFC107;
    color: #856404;
}

.status-badge.en\ cours {
    background-color: #2196F3;
    color: white;
}

.status-badge.livré {
    background-color: #4CAF50;
    color: white;
}

.status-badge.annulé {
    background-color: #F44336;
    color: white;
}
