/* ================================================
   ALHIDAYA — Styles globaux
   Palette : Teal + Doré + Blanc
   ================================================ */

:root {
    --teal: #1a8f82;
    --teal-dark: #0f6b60;
    --teal-light: #e0f2f0;
    --teal-mid: #c5e8e4;
    --gold: #c4973a;
    --gold-light: #faeeda;
    --blue-dark: #0d1f2d;
    --cream: #faf9f6;
    --warm-gray: #f0ede8;
    --border: #e2ddd8;
    --text: #1a1a2e;
    --text-muted: #6b6b7b;
}

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

body {
    font-family: 'DM Sans', system-ui, sans-serif;
    background: #ffffff;
    color: var(--text);
}

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

/* ================================================
   BOUTONS GLOBAUX
   ================================================ */
.btn-alhidaya {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
}

.btn-alhidaya:hover {
    opacity: 0.88;
    color: white;
    transform: translateY(-1px);
}

.btn-alhidaya-outline {
    background: transparent;
    color: var(--teal);
    border: 1.5px solid var(--teal);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
}

.btn-alhidaya-outline:hover {
    background: var(--teal);
    color: white;
}

/* ================================================
   BREADCRUMB — Uniforme sur toutes les pages
   ================================================ */
.breadcrumb-bar {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    margin-top: 0;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.breadcrumb-nav a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-nav a:hover { color: var(--teal); }

.bc-sep { color: var(--border); }

.bc-current {
    color: var(--text);
    font-weight: 500;
}

/* ================================================
   CARTE PRODUIT
   ================================================ */
.produit-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.produit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.produit-card-img-link { text-decoration: none; }

/* .produit-card-img {
    height: 180px;
    background: #fafafa;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border);
    padding: 8px;
}

.produit-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
    mix-blend-mode: multiply;
} */
.produit-card-img {
    height: 200px;
    background: #fafafa;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border);
    padding: 8px;
}

.produit-card-img img {
    max-width: 100%;
    max-height: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s;
    mix-blend-mode: multiply;
}

.produit-card:hover .produit-card-img img {
    transform: scale(1.06);
}

.produit-no-img {
    font-size: 48px;
    color: var(--border);
}

.produit-tag {
    position: absolute;
    top: 10px; left: 10px;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    z-index: 2;
}

.tag-promo { background: #e53e3e; color: white; }
.tag-vedette { background: var(--gold); color: white; }

.wishlist-btn {
    position: absolute;
    top: 10px; right: 10px;
    width: 32px; height: 32px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.15s, border-color 0.15s;
    color: var(--text-muted);
    z-index: 2;
}

.wishlist-btn:hover {
    transform: scale(1.15);
    border-color: #e53e3e;
    color: #e53e3e;
}

.produit-card-body {
    padding: 14px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.produit-cat {
    font-size: 10px;
    color: var(--teal);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

.produit-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    line-height: 1.4;
    flex: 1;
}

.produit-name:hover { color: var(--teal); }

.produit-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.produit-price-now {
    font-size: 17px;
    font-weight: 700;
    color: var(--teal-dark);
}

.produit-price-old {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.btn-add-cart {
    width: 100%;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
}

.btn-add-cart:hover { opacity: 0.88; }

.btn-add-cart:disabled {
    background: var(--border);
    color: var(--text-muted);
    cursor: not-allowed;
}

/* ================================================
   PAGE CONFIRMATION
   ================================================ */
.confirmation-page {
    text-align: center;
    padding: 80px 20px 60px;
    max-width: 560px;
    margin: 0 auto;
}

.confirmation-icon {
    font-size: 72px;
    color: var(--teal);
    margin-bottom: 20px;
    line-height: 1;
}

.confirmation-titre {
    font-family: 'Cormorant Garamond', serif;
    font-size: 38px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.confirmation-num {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.confirmation-num strong {
    color: var(--teal-dark);
}

.confirmation-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}

.confirmation-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    text-align: left;
}

.conf-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--warm-gray);
    font-size: 14px;
}

.conf-row:last-child { border-bottom: none; }

.conf-label { color: var(--text-muted); }
.conf-val { font-weight: 500; color: var(--text); }
.conf-total { color: var(--teal-dark); font-size: 18px; font-weight: 700; }

.status-pending {
    background: var(--gold-light);
    color: #8a5c00;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.confirmation-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}