/* =====================================================================
   DELICADECO - main.css
   CSS pur, 100% auto-hébergé sur IONOS, aucune dépendance externe.
   ===================================================================== */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2C2C2C;
    background: #FFFFFF;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #C5A059; text-decoration: none; transition: color .2s; }
a:hover { color: #B08E47; }
ul { padding: 0; margin: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-weight: 400; line-height: 1.25; }
p { margin: 0 0 1em; }

:focus-visible { outline: 2px solid #C5A059; outline-offset: 2px; border-radius: 3px; }

/* ---------- Typo ---------- */
.heading-serif { font-family: Georgia, "Times New Roman", serif; }
.heading-sans  { font-family: Arial, Helvetica, sans-serif; }

.text-muted    { color: #8C8C8C; }
.text-grey     { color: #595959; }
.text-gold     { color: #C5A059; }
.text-ink      { color: #2C2C2C; }
.text-white    { color: #FFFFFF; }
.text-red      { color: #DC2626; }
.text-green    { color: #166534; }
.text-small    { font-size: 13px; }
.text-xs       { font-size: 12px; }
.text-uppercase{ text-transform: uppercase; letter-spacing: .08em; }
.text-center   { text-align: center; }
.text-right    { text-align: right; }

/* ---------- Container ---------- */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
}
@media (min-width: 640px) { .container { padding: 0 24px; } }
@media (min-width: 1024px){ .container { padding: 0 32px; } }

/* ---------- Header / Navigation ---------- */
.site-header {
    background: #FFFFFF;
    border-bottom: 1px solid #E5E7EB;
    position: sticky; top: 0; z-index: 40;
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}
.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #2C2C2C;
}
.site-logo img { height: 56px; width: 56px; }
.site-logo__text {
    font-family: Georgia, serif;
    font-size: 22px;
    letter-spacing: .06em;
    color: #2C2C2C;
}
.main-nav {
    display: none;
    gap: 32px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
}
.main-nav a { color: #2C2C2C; }
.main-nav a:hover { color: #C5A059; }
@media (min-width: 768px) { .main-nav { display: flex; } }

.header-actions { display: flex; align-items: center; gap: 12px; }
.cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    color: #2C2C2C;
}
.cart-link:hover { color: #C5A059; }
.cart-link svg { width: 24px; height: 24px; }
.cart-badge {
    position: absolute;
    top: -2px; right: -2px;
    background: #C5A059; color: #fff;
    font-size: 11px; font-weight: 600;
    width: 20px; height: 20px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: Arial, sans-serif;
}
.mobile-menu-btn {
    background: none; border: none; padding: 8px;
    display: inline-flex; color: #2C2C2C;
}
.mobile-menu-btn svg { width: 24px; height: 24px; }
@media (min-width: 768px) { .mobile-menu-btn { display: none; } }

.mobile-nav {
    display: none;
    padding-bottom: 16px;
    font-family: Arial, sans-serif;
    font-size: 14px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
    display: block;
    padding: 10px 0;
    color: #2C2C2C;
    border-top: 1px solid #F3F4F6;
}

/* ---------- Boutons ---------- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 3px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .02em;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background .2s, color .2s, transform .2s, box-shadow .2s;
    text-align: center;
    line-height: 1.2;
}
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn--gold    { background: #C5A059; color: #FFFFFF; }
.btn--gold:hover:not(:disabled) { background: #B08E47; color: #FFFFFF; transform: translateY(-1px); }
.btn--outline { background: transparent; color: #2C2C2C; border-color: #2C2C2C; }
.btn--outline:hover { background: #2C2C2C; color: #FFFFFF; }
.btn--ghost   { background: transparent; color: #2C2C2C; }
.btn--ghost:hover { background: #F9F8F6; }
.btn--full    { width: 100%; }
.btn--small   { padding: 8px 16px; font-size: 13px; }

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(135deg, #F9F8F6 0%, #FFFFFF 100%);
    padding: 80px 0 96px;
    text-align: center;
}
.hero__logo { width: 96px; height: 96px; margin: 0 auto 24px; opacity: .9; }
.hero__title {
    font-family: Georgia, serif;
    font-size: 40px;
    line-height: 1.15;
    color: #2C2C2C;
    margin-bottom: 24px;
}
.hero__title span { color: #C5A059; }
@media (min-width: 768px) { .hero__title { font-size: 56px; } }
.hero__subtitle {
    font-size: 18px;
    color: #595959;
    max-width: 640px;
    margin: 0 auto 32px;
}
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- FAQ produit ---------- */
.product-faq { border-top: 1px solid #E5E5E5; padding-top: 40px; }
.product-faq__list { margin-top: 16px; }
.product-faq__item {
    background: #F9F8F6;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 10px;
    border: 1px solid #EFEAE0;
}
.product-faq__item summary {
    cursor: pointer;
    font-weight: 600;
    color: #2C2C2C;
    padding: 6px 0;
    list-style: none;
    position: relative;
    padding-left: 26px;
}
.product-faq__item summary::-webkit-details-marker { display: none; }
.product-faq__item summary::before {
    content: '+';
    position: absolute;
    left: 0;
    top: 4px;
    font-size: 20px;
    line-height: 1;
    color: #C5A059;
    font-weight: 700;
    transition: transform .2s;
}
.product-faq__item[open] summary::before { content: '−'; }
.product-faq__answer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #E5E5E5;
    color: #595959;
    line-height: 1.6;
}

/* ---------- Boutique : description longue catégorie ---------- */
.category-description {
    background: #F9F8F6;
    border-left: 4px solid #C5A059;
    padding: 20px 24px;
    border-radius: 4px;
    margin: 24px 0 32px;
    color: #595959;
    line-height: 1.7;
}
.category-description h2 {
    font-family: Georgia, serif;
    font-size: 22px;
    color: #2C2C2C;
    margin: 0 0 8px;
}
.category-description p { margin: 0 0 8px; }
.category-description p:last-child { margin-bottom: 0; }

/* ---------- Hero split (image | texte) ---------- */
.hero--split { text-align: left; padding: 64px 0; }
.hero-split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}
@media (min-width: 768px) {
    .hero-split-layout {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}
.hero-split-layout__media {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    background: #F9F8F6;
}
.hero-split-layout__media img {
    width: 100%;
    height: auto;
    display: block;
}
.hero-split-layout__text .hero__title {
    text-align: left;
    margin-bottom: 16px;
}
.hero-split-layout__text .hero__subtitle {
    text-align: left;
    margin: 0;
    max-width: none;
}

/* ---------- Sections ---------- */
.section          { padding: 64px 0; }
.section--cream   { background: #F9F8F6; }
.section--dark    { background: #2C2C2C; color: #FFFFFF; }
.section__title {
    font-family: Georgia, serif;
    font-size: 30px;
    text-align: center;
    margin-bottom: 16px;
    color: inherit;
}
.section__subtitle {
    text-align: center;
    color: #595959;
    max-width: 600px;
    margin: 0 auto 48px;
}

/* ---------- Grilles produits & catégories ---------- */
.grid {
    display: grid;
    gap: 24px;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) {
    .grid--3 { grid-template-columns: repeat(3, 1fr); }
    .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.card-category { display: block; color: #2C2C2C; }
.card-category__img {
    aspect-ratio: 1 / 1;
    background: #F9F8F6;
    border-radius: 4px;
    overflow: hidden;
}
.card-category__img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s ease;
}
.card-category:hover .card-category__img img { transform: scale(1.05); }
.card-category__name {
    margin-top: 16px;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    transition: color .2s;
}
.card-category:hover .card-category__name { color: #C5A059; }

.card-product {
    display: block;
    background: #FFFFFF;
    border: 1px solid #F3F4F6;
    border-radius: 4px;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
    color: #2C2C2C;
}
.card-product:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(0,0,0,.08);
}
.card-product__img {
    aspect-ratio: 1 / 1;
    background: #F9F8F6;
    overflow: hidden;
}
.card-product__img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s ease;
}
.card-product:hover .card-product__img img { transform: scale(1.05); }
.card-product__body { padding: 16px; }
.card-product__cat  { font-family: Arial, sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #8C8C8C; }
.card-product__name { font-family: Arial, sans-serif; font-size: 15px; font-weight: 500; margin: 4px 0 8px; }
.card-product__price{ font-family: Arial, sans-serif; font-size: 15px; font-weight: 500; color: #C5A059; }

/* ---------- Fiche produit ---------- */
.product-layout {
    display: grid;
    gap: 48px;
    grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .product-layout { grid-template-columns: 1fr 1fr; } }
.product-gallery__main {
    aspect-ratio: 1 / 1;
    background: #F9F8F6;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.product-gallery__thumb {
    background: #F9F8F6;
    border: 1px solid #F3F4F6;
    border-radius: 4px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
}
.product-gallery__thumb:hover { opacity: .8; }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info__cat { font-family: Arial, sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #8C8C8C; margin-bottom: 8px; }
.product-info__name { font-family: Georgia, serif; font-size: 30px; color: #2C2C2C; margin-bottom: 16px; }
.product-info__price { font-family: Arial, sans-serif; font-size: 30px; color: #C5A059; font-weight: 500; margin-bottom: 24px; }
.product-info__desc { white-space: pre-line; color: #595959; margin-bottom: 32px; }

.color-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.color-swatch input { position: absolute; opacity: 0; pointer-events: none; }
.color-swatch span {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 3px;
    font-family: Arial, sans-serif;
    font-size: 13px;
    cursor: pointer;
}
.color-swatch input:checked + span {
    background: #C5A059;
    color: #FFFFFF;
    border-color: #C5A059;
}

.qty-row { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.qty-row > div:last-child { flex: 1; }

.product-info__meta {
    border-top: 1px solid #E5E7EB;
    padding-top: 24px;
    font-size: 14px;
    color: #595959;
}
.product-info__meta p { margin: 0 0 8px; }

/* Fil d'Ariane */
.breadcrumb {
    font-family: Arial, sans-serif;
    font-size: 13px;
    color: #8C8C8C;
    margin-bottom: 32px;
}
.breadcrumb a { color: #8C8C8C; }
.breadcrumb a:hover { color: #C5A059; }
.breadcrumb .current { color: #2C2C2C; }

/* ---------- Boutique : filtres ---------- */
.shop-toolbar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}
@media (min-width: 768px) {
    .shop-toolbar { flex-direction: row; align-items: center; justify-content: space-between; }
}
.cat-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-filter {
    padding: 8px 16px;
    border-radius: 3px;
    background: #F9F8F6;
    color: #2C2C2C;
    font-family: Arial, sans-serif;
    font-size: 13px;
    border: 1px solid transparent;
}
.cat-filter:hover { background: #E5E7EB; }
.cat-filter.is-active { background: #C5A059; color: #FFFFFF; }
.search-form { display: flex; gap: 8px; }

/* ---------- Formulaires ---------- */
.form-row { margin-bottom: 16px; }
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-grid-3 {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 16px;
}
@media (max-width: 640px) {
    .form-grid-2, .form-grid-3 { grid-template-columns: 1fr; }
}
.form-label {
    display: block;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #2C2C2C;
    margin-bottom: 6px;
}
.required-mark { color: #DC2626; }
.form-input, .form-select, .form-textarea {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #E5E7EB;
    border-radius: 3px;
    background: #FFFFFF;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #2C2C2C;
    transition: border-color .2s, box-shadow .2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: #C5A059;
    box-shadow: 0 0 0 3px rgba(197,160,89,.15);
}
.form-textarea { font-family: Georgia, serif; resize: vertical; min-height: 100px; }
.form-checkbox-row {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 14px; color: #595959;
}
.form-checkbox-row input { margin-top: 4px; }

/* ---------- Panier ---------- */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
@media (min-width: 1024px) { .cart-layout { grid-template-columns: 2fr 1fr; } }

.cart-list {
    background: #FFFFFF;
    border: 1px solid #F3F4F6;
    border-radius: 4px;
}
.cart-item {
    display: flex; gap: 16px; padding: 16px;
    border-top: 1px solid #F3F4F6;
}
.cart-item:first-child { border-top: 0; }
.cart-item__img {
    width: 96px; height: 96px;
    flex-shrink: 0;
    background: #F9F8F6; border-radius: 4px;
    overflow: hidden;
}
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__body { flex: 1; min-width: 0; }
.cart-item__name { font-family: Arial, sans-serif; font-size: 15px; font-weight: 500; }
.cart-item__name a { color: #2C2C2C; }
.cart-item__name a:hover { color: #C5A059; }
.cart-item__controls {
    margin-top: 12px;
    display: flex; align-items: center; gap: 12px;
    font-family: Arial, sans-serif; font-size: 13px;
}
.cart-item__qty { width: 80px; }
.cart-item__remove {
    background: none; border: 0; color: #8C8C8C;
    font-family: Arial, sans-serif; font-size: 13px;
}
.cart-item__remove:hover { color: #DC2626; }
.cart-item__total { font-family: Arial, sans-serif; font-weight: 500; }

.cart-summary {
    background: #F9F8F6;
    border-radius: 4px;
    padding: 24px;
    position: sticky;
    top: 96px;
}
.cart-summary__title { font-family: Georgia, serif; font-size: 20px; margin-bottom: 16px; }
.summary-line { display: flex; justify-content: space-between; padding: 4px 0; font-size: 14px; font-family: Arial, sans-serif; }
.summary-total {
    border-top: 1px solid #D1D5DB;
    margin-top: 16px; padding-top: 16px;
    display: flex; justify-content: space-between;
    font-family: Arial, sans-serif; font-size: 18px; font-weight: 500;
}
.summary-total .total-amount { color: #C5A059; }

/* ---------- Footer ---------- */
.site-footer {
    background: #2C2C2C;
    color: #FFFFFF;
    margin-top: 96px;
    padding: 48px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-col h3 {
    font-family: Arial, sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #C5A059;
    margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 8px; font-size: 14px; }
.footer-col a { color: #D1D5DB; }
.footer-col a:hover { color: #C5A059; }

/* Bouton "Gérer mes cookies" dans le footer (style lien discret) */
.footer-cookie-btn {
    background: none;
    border: none;
    color: #888;
    text-decoration: underline;
    cursor: pointer;
    font: inherit;
    padding: 0;
    margin: 0;
}
.footer-cookie-btn:hover { color: #C5A059; }

/* Bandeau cookies RGPD (CNIL) */
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9000;
    background: #2C2C2C;
    color: #fff;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.25);
    padding: 16px 0;
}
.cookie-banner__content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.cookie-banner__text {
    flex: 1;
    min-width: 280px;
}
.cookie-banner__title {
    font-weight: 600;
    margin: 0 0 6px;
    font-size: 15px;
    color: #fff;
}
.cookie-banner__desc {
    margin: 0;
    font-size: 13.5px;
    color: #D1D5DB;
    line-height: 1.5;
}
.cookie-banner__desc a {
    color: #C5A059;
    text-decoration: underline;
}
.cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
@media (max-width: 640px) {
    .cookie-banner__content {
        flex-direction: column;
        align-items: stretch;
    }
    .cookie-banner__actions {
        justify-content: stretch;
    }
    .cookie-banner__actions .btn {
        flex: 1;
    }
}

/* Réseaux sociaux dans le footer */
.footer-socials {
    margin-top: 16px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.footer-social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #D1D5DB !important;
    text-decoration: none;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    transition: color .2s, border-color .2s, background .2s;
    font-size: 14px;
}
.footer-social:hover {
    color: #C5A059 !important;
    border-color: #C5A059;
    background: rgba(197, 160, 89, 0.08);
}
.footer-social svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo img { width: 40px; height: 40px; filter: invert(1); }
.footer-logo span { font-family: Georgia, serif; font-size: 16px; letter-spacing: .06em; }
.footer-tagline { color: #9CA3AF; font-size: 14px; }
.footer-bottom {
    border-top: 1px solid #4B5563;
    margin-top: 40px; padding-top: 24px;
    display: flex; flex-direction: column; gap: 8px;
    font-family: Arial, sans-serif; font-size: 13px; color: #9CA3AF;
    text-align: center;
}
@media (min-width: 768px) {
    .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ---------- Toast ---------- */
.toast {
    position: fixed;
    bottom: 24px; right: 24px;
    background: #2C2C2C; color: #FFFFFF;
    padding: 14px 20px;
    border-radius: 3px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    opacity: 0; transform: translateY(20px);
    transition: opacity .3s, transform .3s;
    z-index: 50;
    font-family: Arial, sans-serif; font-size: 14px;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.toast--success { background: #C5A059; }
.toast.toast--error   { background: #DC2626; }

/* ---------- Alerts / flash ---------- */
.alert { padding: 12px 16px; border-radius: 3px; margin-bottom: 16px; font-size: 14px; font-family: Arial, sans-serif; }
.alert--success { background: #ECFDF5; color: #166534; border: 1px solid #BBF7D0; }
.alert--error   { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.alert--info    { background: #EFF6FF; color: #1E40AF; border: 1px solid #BFDBFE; }

/* ---------- Empty state ---------- */
.empty-state {
    background: #F9F8F6;
    border-radius: 4px;
    padding: 48px;
    text-align: center;
}
.empty-state p { color: #595959; margin-bottom: 24px; }

/* ---------- Page banner (sous le hero, ex: boutique) ---------- */
.page-banner {
    background: #F9F8F6;
    border-bottom: 1px solid #E5E7EB;
    padding: 56px 0;
    text-align: center;
}
.page-banner h1 { font-family: Georgia, serif; font-size: 36px; color: #2C2C2C; margin-bottom: 12px; }
.page-banner p  { color: #595959; max-width: 640px; margin: 0 auto; }

/* ---------- Pros teaser ---------- */
.pros-teaser {
    background: #2C2C2C;
    color: #FFFFFF;
    border-radius: 8px;
    padding: 64px 32px;
    text-align: center;
}
.pros-teaser h2 { font-family: Georgia, serif; font-size: 28px; margin-bottom: 16px; }
.pros-teaser p { color: #D1D5DB; max-width: 540px; margin: 0 auto 24px; }

/* ---------- Pros page ---------- */
.pros-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}
@media (min-width: 1024px) { .pros-layout { grid-template-columns: 1fr 1fr; } }
.pros-args { font-family: Georgia, serif; }
.pros-args h2 { font-family: Georgia, serif; font-size: 22px; margin-bottom: 24px; }
.pros-args ul li {
    display: flex; gap: 12px; margin-bottom: 16px;
    color: #595959;
}
.pros-args ul li::before {
    content: "•"; color: #C5A059; font-size: 22px; line-height: 1;
}
.pros-args ul li strong { color: #2C2C2C; }
.pros-info-box {
    background: #F9F8F6;
    border-radius: 4px;
    padding: 24px;
    margin-top: 32px;
    font-family: Arial, sans-serif; font-size: 14px;
    color: #595959;
}
.pros-form {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    padding: 24px;
}
.pros-form h3 { font-family: Georgia, serif; font-size: 20px; margin-bottom: 16px; }

/* ---------- Success page ---------- */
.success-page { padding: 80px 0; text-align: center; }
.success-icon {
    width: 80px; height: 80px;
    margin: 0 auto 24px;
    background: #ECFDF5; color: #16A34A;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.success-icon svg { width: 40px; height: 40px; }
.success-page h1 { font-family: Georgia, serif; font-size: 30px; margin-bottom: 12px; }
.success-page p { color: #595959; margin-bottom: 24px; }
.success-box {
    background: #F9F8F6;
    border-radius: 4px;
    padding: 24px;
    text-align: left;
    max-width: 540px;
    margin: 0 auto 32px;
    font-family: Arial, sans-serif; font-size: 14px;
}

/* ---------- 404 / 500 ---------- */
.errpage {
    padding: 96px 0;
    text-align: center;
}
.errpage__code {
    font-family: Georgia, serif;
    font-size: 72px;
    color: #C5A059;
    margin-bottom: 16px;
}
.errpage h1 { font-family: Georgia, serif; font-size: 24px; margin-bottom: 12px; }
.errpage p { color: #595959; margin-bottom: 32px; }

/* ====================================================================
   ADMIN - Dashboard
   ==================================================================== */
.admin-body { background: #F9F8F6; min-height: 100vh; font-family: Arial, Helvetica, sans-serif; }
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 240px; flex-shrink: 0;
    background: #2C2C2C; color: #FFFFFF;
    display: none; flex-direction: column;
}
@media (min-width: 768px) { .admin-sidebar { display: flex; } }
.admin-sidebar__header {
    padding: 20px 24px;
    border-bottom: 1px solid #4B5563;
    display: flex; align-items: center; gap: 12px;
}
.admin-sidebar__header img { width: 36px; height: 36px; filter: invert(1); }
.admin-sidebar__header span {
    font-family: Georgia, serif; font-size: 16px; letter-spacing: .06em;
}
.admin-nav { flex: 1; padding: 16px; }
.admin-nav a {
    display: block;
    padding: 10px 12px;
    border-radius: 3px;
    color: #D1D5DB;
    font-size: 14px;
    margin-bottom: 4px;
    transition: background .2s, color .2s;
}
.admin-nav a:hover { background: #4B5563; color: #FFFFFF; }
.admin-nav a.is-active { background: #C5A059; color: #FFFFFF; }
.admin-sidebar__footer {
    padding: 16px;
    border-top: 1px solid #4B5563;
    font-size: 12px;
}
.admin-sidebar__footer a {
    display: block;
    color: #9CA3AF;
    margin-bottom: 4px;
}
.admin-sidebar__footer a:hover { color: #C5A059; }

.admin-main {
    flex: 1;
    padding: 24px;
}
@media (min-width: 768px) { .admin-main { padding: 40px; } }
.admin-main h1 {
    font-family: Arial, sans-serif;
    font-size: 22px;
    color: #2C2C2C;
    margin-bottom: 24px;
}
.admin-back {
    display: inline-block;
    font-size: 13px;
    color: #6B7280;
    margin-bottom: 24px;
}
.admin-back:hover { color: #C5A059; }

/* KPIs */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}
@media (min-width: 1024px) { .kpi-grid { grid-template-columns: repeat(4, 1fr); } }
.kpi-card {
    background: #FFFFFF;
    border: 1px solid #F3F4F6;
    border-radius: 4px;
    padding: 20px;
}
.kpi-card__label {
    font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
    color: #6B7280;
}
.kpi-card__value {
    font-size: 24px; font-weight: 500; color: #2C2C2C;
    margin: 8px 0 4px;
}
.kpi-card__value--gold { color: #C5A059; }
.kpi-card__meta { font-size: 12px; color: #9CA3AF; }
.kpi-card__meta--alert { color: #DC2626; }
.kpi-card__link { font-size: 12px; color: #C5A059; }

/* Cartes / panneaux admin */
.panel {
    background: #FFFFFF;
    border: 1px solid #F3F4F6;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 24px;
}
.panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid #F3F4F6;
    font-weight: 500;
}
.panel__body { padding: 20px; }

/* Tableaux admin */
.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.table th, .table td {
    padding: 12px 16px;
    text-align: left;
    border-top: 1px solid #F3F4F6;
}
.table thead th {
    background: #F9F8F6;
    font-weight: 500;
    border-top: 0;
}
.table tr:first-child td { border-top: 0; }
.table tbody tr:hover { background: #FAFAF8; }
.table .right { text-align: right; }
.table .center { text-align: center; }
.table-wrap { overflow-x: auto; border: 1px solid #F3F4F6; border-radius: 4px; background: #FFFFFF; }

.thumb-sm {
    width: 48px; height: 48px;
    background: #F9F8F6; border-radius: 3px;
    overflow: hidden;
}
.thumb-sm img { width: 100%; height: 100%; object-fit: cover; }

/* Badges statut */
.badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
}
.badge--green  { background: #DCFCE7; color: #166534; }
.badge--yellow { background: #FEF9C3; color: #854D0E; }
.badge--blue   { background: #DBEAFE; color: #1E40AF; }
.badge--purple { background: #EDE9FE; color: #5B21B6; }
.badge--red    { background: #FEE2E2; color: #991B1B; }
.badge--gray   { background: #E5E7EB; color: #374151; }

/* Actions admin */
.row-actions { display: inline-flex; align-items: center; gap: 12px; }
.link-action { font-size: 12px; color: #C5A059; }
.link-action:hover { text-decoration: underline; }
.link-danger { font-size: 12px; color: #DC2626; background: none; border: 0; padding: 0; }
.link-danger:hover { text-decoration: underline; }

/* Login admin */
.login-page {
    min-height: 100vh;
    background: #F9F8F6;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.login-card {
    background: #FFFFFF;
    border-radius: 6px;
    box-shadow: 0 8px 32px rgba(0,0,0,.04);
    padding: 32px;
    width: 100%;
    max-width: 380px;
}
.login-card__logo { text-align: center; margin-bottom: 24px; }
.login-card__logo img { width: 88px; height: 88px; margin: 0 auto; }
.login-card__title {
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 18px;
    color: #2C2C2C;
    margin: 8px 0 24px;
}

/* Pages admin : édition produit/catégorie */
.form-card {
    background: #FFFFFF;
    border: 1px solid #F3F4F6;
    border-radius: 4px;
    padding: 24px;
    max-width: 720px;
}
.form-card > * + * { margin-top: 16px; }
.form-actions { display: flex; gap: 12px; padding-top: 16px; border-top: 1px solid #F3F4F6; }

.checkbox-row { display: flex; gap: 24px; font-size: 14px; }
.checkbox-row label { display: inline-flex; align-items: center; gap: 8px; }

/* Images existantes (édition produit) */
.thumb-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.thumb-grid__item .thumb-frame {
    aspect-ratio: 1 / 1;
    background: #F9F8F6;
    border-radius: 4px;
    overflow: hidden;
}
.thumb-grid__item .thumb-frame img { width: 100%; height: 100%; object-fit: cover; }
.thumb-grid__item .thumb-remove {
    margin-top: 4px;
    font-size: 12px; color: #DC2626;
    display: flex; align-items: center; gap: 4px;
}

/* Toolbar admin (haut de liste) */
.admin-toolbar {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 24px;
}
.admin-toolbar p { margin: 0; font-size: 13px; color: #6B7280; }

/* ---------- Utilitaires ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
.mt-8 { margin-top: 64px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-6 { margin-bottom: 48px; }
.hide-mobile { display: none; }
@media (min-width: 640px) { .hide-mobile { display: inline; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ====================================================================
   WYSIWYG mini éditeur (admin v2)
   ==================================================================== */
.wysiwyg {
    border: 1px solid #E5E7EB;
    border-radius: 3px;
    background: #FFFFFF;
}
.wysiwyg__toolbar {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    padding: 6px;
    border-bottom: 1px solid #E5E7EB;
    background: #F9F8F6;
}
.wysiwyg__toolbar button {
    padding: 4px 10px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 13px;
    color: #2C2C2C;
    border-radius: 3px;
}
.wysiwyg__toolbar button:hover { background: #E5E7EB; }
.wysiwyg__toolbar button:active,
.wysiwyg__toolbar button.active { background: #C5A059; color: #FFFFFF; }
.wysiwyg__area {
    min-height: 120px;
    padding: 12px 14px;
    font-family: Georgia, serif;
    font-size: 15px;
    color: #2C2C2C;
    line-height: 1.6;
    outline: none;
}
.wysiwyg__area:focus { background: #FFFBF5; }
.wysiwyg__area p { margin: 0 0 .8em; }
.wysiwyg__area h2, .wysiwyg__area h3, .wysiwyg__area h4 { margin: 1em 0 .5em; }
.wysiwyg__area ul { padding-left: 24px; list-style: disc; }
.wysiwyg__area a { color: #C5A059; text-decoration: underline; }

/* ====================================================================
   Sélecteur de langue (header)
   ==================================================================== */
.lang-switcher {
    position: relative;
    font-family: Arial, sans-serif;
    font-size: 13px;
}
.lang-switcher__current {
    background: transparent;
    border: 1px solid #E5E7EB;
    color: #2C2C2C;
    padding: 6px 10px;
    border-radius: 3px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    letter-spacing: .04em;
}
.lang-switcher__current:hover { background: #F9F8F6; border-color: #C5A059; color: #C5A059; }
.lang-switcher__menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 3px;
    min-width: 140px;
    padding: 4px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    list-style: none;
    margin: 0;
    z-index: 50;
    display: none;
}
.lang-switcher:hover .lang-switcher__menu,
.lang-switcher:focus-within .lang-switcher__menu { display: block; }
.lang-switcher__menu a {
    display: block;
    padding: 8px 14px;
    color: #2C2C2C;
    font-size: 13px;
}
.lang-switcher__menu a:hover { background: #F9F8F6; color: #C5A059; }
.lang-switcher__menu a.is-active { color: #C5A059; font-weight: 500; }

/* ====================================================================
   Pastilles de statut de traduction (admin)
   ==================================================================== */
.lang-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    font-family: Arial, sans-serif;
    letter-spacing: .04em;
    text-decoration: none;
    transition: all .15s ease;
    border: 1px solid transparent;
}
.lang-pill:hover { transform: translateY(-1px); box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.lang-pill--ok {
    background: #DCFCE7;
    color: #166534;
    border-color: #BBF7D0;
}
.lang-pill--ok:hover { background: #BBF7D0; color: #14532D; }
.lang-pill--missing {
    background: #F3F4F6;
    color: #6B7280;
    border-color: #E5E7EB;
}
.lang-pill--missing:hover { background: #E5E7EB; color: #2C2C2C; }

/* Pastille état partiel (admin pages) */
.lang-pill--partial {
    background: #FEF3C7;
    color: #92400E;
    border-color: #FDE68A;
}
.lang-pill--partial:hover { background: #FDE68A; color: #78350F; }

/* =========================================================
   Honeypot anti-robot (champ caché aux humains, visible aux bots)
   Note : on évite display:none car certains bots l'ignorent.
   Position absolue + opacité 0 + hauteur 0 = invisible mais présent.
   ========================================================= */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.hp-field input { width: 1px; height: 1px; }

/* =========================================================
   Éditeur de point focal (admin catégories)
   ========================================================= */
.focal-editor {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.focal-editor__zone {
    position: relative;
    flex: 0 1 480px;
    max-width: 100%;
    cursor: crosshair;
    background: #F9F8F6;
    border: 1px solid #E5E5E5;
    border-radius: 6px;
    overflow: hidden;
    user-select: none;
}
.focal-editor__img {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
}
.focal-editor__point {
    position: absolute;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    margin-top: -12px;
    border-radius: 50%;
    background: rgba(197, 160, 89, .85); /* doré Delicadeco */
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,.4), 0 0 0 1px rgba(0,0,0,.2);
    pointer-events: none;
    transition: left .08s linear, top .08s linear;
}
.focal-preview {
    flex: 0 0 180px;
    text-align: center;
}
.focal-preview__label {
    font-size: 12px;
    color: #6B7280;
    margin-bottom: 6px;
}
.focal-preview__box {
    width: 180px;
    height: 180px;
    background: #F9F8F6;
    border: 1px solid #E5E5E5;
    border-radius: 6px;
    overflow: hidden;
    margin: 0 auto;
}
.focal-preview__box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.focal-preview__coords {
    font-size: 12px;
    color: #6B7280;
    margin-top: 8px;
}
.focal-preview__coords strong { color: #2C2C2C; }
.focal-reset {
    display: block;
    margin: 8px auto 0;
}
@media (max-width: 720px) {
    .focal-editor { flex-direction: column; }
    .focal-preview { margin: 0 auto; }
}

/* =========================================================
   Éditeur focal — variante compacte pour produits (plusieurs images)
   ========================================================= */
.focal-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.focal-list__item {
    padding: 16px;
    background: #FAFAFA;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
}
.focal-editor--inline .focal-editor__zone {
    flex: 0 1 360px;
}
.focal-editor--inline .focal-preview { flex: 0 0 140px; }
.focal-preview--sm .focal-preview__box {
    width: 140px;
    height: 140px;
}

/* =========================================================
   Filtres par collection (boutique)
   Style proche des .cat-filter mais plus discret (sous-filtre)
   ========================================================= */
.col-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #EAEAEA;
}
.col-filters__label {
    font-family: Arial, sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #8C8C8C;
    margin-right: 4px;
}
.col-filter {
    display: inline-block;
    padding: 5px 12px;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    background: #FFFFFF;
    color: #2C2C2C;
    font-family: Arial, sans-serif;
    font-size: 13px;
    text-decoration: none;
    transition: background .15s, color .15s, border-color .15s;
}
.col-filter:hover { background: #F3F4F6; }
.col-filter.is-active {
    background: #2C2C2C;
    border-color: #2C2C2C;
    color: #FFFFFF;
}
