/**
 * Jimee Cosmetics — Pages statiques (contact, legal, FAQ, about, wishlist, 404, marques)
 */

/* ========== LEGAL PAGES (CGV + Politique) ========== */
.legal-hero {
    max-width: 1440px; margin: 24px auto; padding: 40px 32px;
    background: var(--black); border-radius: var(--radius-xl);
    color: #fff; width: calc(100% - 64px); text-align: center;
}
.legal-eyebrow {
    font-size: 11px; font-weight: 600; letter-spacing: 4px;
    text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.legal-hero h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 300; margin-bottom: 8px; }
.legal-hero h1 em { font-style: italic; font-weight: 600; }
.legal-meta { font-size: 13px; color: rgba(255,255,255,.5); }
.legal-content { max-width: 860px; margin: 0 auto; padding: 40px 32px 80px; }
.legal-card {
    background: var(--white); border-radius: var(--radius-xl);
    padding: 48px; box-shadow: var(--shadow-md);
}
.legal-toc { margin-bottom: 40px; padding: 24px; background: var(--warm-bg); border-radius: var(--radius-lg); }
.legal-toc h2 { font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.legal-toc ol { counter-reset: toc; padding-left: 0; }
.legal-toc li {
    counter-increment: toc; padding: 8px 0;
    border-bottom: 1px solid var(--border); font-size: 14px;
}
.legal-toc li::before {
    content: counter(toc) '.'; font-weight: 600; color: var(--gold); margin-right: 12px;
}
.legal-toc li a { color: var(--black); transition: var(--transition); }
.legal-toc li a:hover { color: var(--gold); }
.legal-section { margin-bottom: 32px; }
/* Hide duplicate h1 inside card (already in hero) */
.legal-section > h1:first-child { display: none; }

.legal-section h2 {
  font-size: 20px; font-weight: 600; margin: 32px 0 16px; padding-top: 16px;
  border-top: 1px solid var(--border);
}
.legal-section h2:first-child,
.legal-section h1 + h2 { border-top: none; margin-top: 0; padding-top: 0; }

.legal-section h3 {
  font-size: 16px; font-weight: 700; margin: 28px 0 12px; color: var(--black);
}
.legal-section p {
  font-size: 14px; line-height: 1.9; color: #555; margin-bottom: 14px;
}
.legal-section p strong {
  color: var(--black); font-weight: 600;
}
.legal-section ul, .legal-section ol {
  padding-left: 24px; margin-bottom: 16px;
}
.legal-section li {
  font-size: 14px; color: #555; line-height: 1.9; list-style: disc; margin-bottom: 6px;
}
.legal-section ol li { list-style: decimal; }
.legal-section a { color: var(--black); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.legal-section a:hover { color: var(--gold); }
.legal-highlight {
    padding: 16px 20px; background: var(--warm-bg);
    border-left: 4px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 16px 0; font-size: 14px; color: #555;
}

/* ========== CONTACT ========== */
.contact-hero {
    max-width: 1440px; margin: 24px auto; padding: 40px 32px;
    background: var(--black); border-radius: var(--radius-xl);
    color: #fff; width: calc(100% - 64px); text-align: center;
}
.contact-cards {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    max-width: 900px; margin: -40px auto 40px; padding: 0 32px; position: relative; z-index: 2;
}
.contact-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 28px 24px; text-align: center; box-shadow: var(--shadow-md);
}
.contact-card-icon {
    width: 48px; height: 48px; margin: 0 auto 12px;
    background: var(--warm-bg); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.contact-card-icon svg { width: 20px; height: 20px; }
.contact-card h3 { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.contact-card p { font-size: 13px; color: #777; }
.contact-card a { color: var(--black); font-weight: 500; }
.contact-section {
    max-width: 1100px; margin: 0 auto; padding: 0 32px 80px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form label { font-size: 13px; font-weight: 500; margin-bottom: 4px; display: block; }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%; padding: 12px 16px; border-radius: var(--radius-md);
    border: 1.5px solid var(--border); font-size: 14px;
    transition: var(--transition); background: var(--white);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    border-color: var(--black); outline: none;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form button {
    padding: 14px 32px; border-radius: var(--radius-pill);
    background: var(--black); color: var(--white);
    font-size: 14px; font-weight: 500; transition: var(--transition);
    align-self: flex-start;
}
.contact-form button:hover { background: #333; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card {
    background: var(--warm-bg); border-radius: var(--radius-lg);
    padding: 24px;
}
.contact-info-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 12px; }

/* ========== FAQ (ABOUT PAGE) ========== */
.faq-hero {
    max-width: 1440px; margin: 24px auto; padding: 40px 32px;
    background: var(--black); border-radius: var(--radius-xl);
    color: #fff; width: calc(100% - 64px); text-align: center;
}
.faq-search {
    max-width: 500px; margin: 20px auto 0;
    display: flex; align-items: center;
    background: rgba(255,255,255,.1); border-radius: var(--radius-pill);
    padding: 4px 4px 4px 20px;
}
.faq-search input {
    flex: 1; background: none; border: none; outline: none;
    color: #fff; font-size: 14px; padding: 8px 0;
}
.faq-search input::placeholder { color: rgba(255,255,255,.4); }
.faq-cat-pills {
    display: flex; gap: 8px; overflow-x: auto;
    scrollbar-width: none; -ms-overflow-style: none;
    max-width: 1440px; margin: 24px auto; padding: 0 32px;
}
.faq-cat-pills::-webkit-scrollbar { display: none; }
.faq-cat-pill {
    padding: 8px 20px; border-radius: var(--radius-pill);
    background: var(--warm-bg); font-size: 13px; font-weight: 500;
    transition: var(--transition); cursor: pointer; border: none;
    white-space: nowrap; flex-shrink: 0;
}
.faq-cat-pill:hover, .faq-cat-pill.active { background: var(--black); color: var(--white); }
.faq-content { max-width: 860px; margin: 0 auto; padding: 0 32px 80px; }
.faq-section { margin-bottom: 32px; }
.faq-section-title { font-size: 20px; font-weight: 600; margin-bottom: 16px; }
.faq-accordion {
    border: 1px solid var(--border); border-radius: var(--radius-md);
    margin-bottom: 8px; overflow: hidden;
}
.faq-accordion-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; cursor: pointer; font-size: 14px; font-weight: 500;
    transition: var(--transition);
}
.faq-accordion-header:hover { background: var(--warm-bg); }
.faq-accordion-icon {
    width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
    transition: transform .3s; flex-shrink: 0;
}
.faq-accordion.open .faq-accordion-icon { transform: rotate(45deg); }
.faq-accordion-body {
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
}
.faq-accordion.open .faq-accordion-body { max-height: 500px; }
.faq-accordion-body-inner {
    padding: 0 20px 16px; font-size: 14px; color: #555; line-height: 1.7;
}
.faq-empty {
    text-align: center; padding: 40px; color: #999; font-size: 14px; display: none;
}
.faq-empty.active { display: block; }
.faq-cta {
    text-align: center; padding: 40px; background: var(--warm-bg);
    border-radius: var(--radius-xl); margin-top: 40px;
}
.faq-cta h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.faq-cta p { font-size: 14px; color: #777; margin-bottom: 20px; }
.faq-cta a {
    display: inline-block; padding: 12px 28px; border-radius: var(--radius-pill);
    background: var(--black); color: var(--white); font-size: 13px; font-weight: 500;
}

/* ========== ABOUT PAGE — REDESIGN ========== */

/* Hero */
.about-hero {
    position: relative; max-width: 1440px; margin: 24px auto;
    width: calc(100% - 64px); border-radius: var(--radius-xl);
    overflow: hidden; min-height: 420px;
    display: flex; align-items: center; justify-content: center;
    background: url('../../assets/img/spa-hammam-detente-bien-etre.jpg') center / cover no-repeat;
}
.about-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.4) 100%);
}
.about-hero-content {
    position: relative; z-index: 2; text-align: center;
    color: #fff; padding: 60px 32px; max-width: 700px;
}
.about-eyebrow {
    display: block; font-size: 11px; font-weight: 600; letter-spacing: 4px;
    text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.about-eyebrow.dark { color: var(--gold); }
.about-hero h1 {
    font-size: clamp(30px, 5vw, 48px); font-weight: 300;
    line-height: 1.25; margin-bottom: 16px;
}
.about-hero h1 em { font-style: italic; font-weight: 600; }
.about-hero-sub {
    font-size: 15px; color: rgba(255,255,255,.7);
    line-height: 1.7; max-width: 520px; margin: 0 auto;
}

/* Story sections (text + image) */
.about-story {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
    max-width: 1200px; margin: 0 auto; padding: 64px 32px;
    align-items: center;
}
.about-story.reverse { direction: rtl; }
.about-story.reverse > * { direction: ltr; }
.about-story-text h2 {
    font-size: clamp(24px, 3.5vw, 36px); font-weight: 300;
    margin-bottom: 20px; line-height: 1.3;
}
.about-story-text h2 em { font-style: italic; font-weight: 600; }
.about-story-text p {
    font-size: 14px; line-height: 1.9; color: #555; margin-bottom: 14px;
}
.about-story-img {
    border-radius: var(--radius-xl); overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-story-img img {
    width: 100%; height: 100%; object-fit: cover;
    display: block; aspect-ratio: 4/3;
}

/* Stats bar */
.about-stats {
    display: flex; align-items: center; justify-content: center; gap: 40px;
    max-width: 1200px; margin: 0 auto; padding: 48px 32px;
    background: var(--black); border-radius: var(--radius-xl);
    margin-left: 32px; margin-right: 32px; max-width: calc(100% - 64px);
}
.about-stat { text-align: center; flex: 1; }
.about-stat-number {
    display: block; font-size: clamp(28px, 4vw, 42px); font-weight: 700;
    color: #fff; line-height: 1; margin-bottom: 6px;
}
.about-stat-label {
    font-size: 12px; color: rgba(255,255,255,.5);
    text-transform: uppercase; letter-spacing: 1px; font-weight: 500;
}
.about-stat-divider {
    width: 1px; height: 48px; background: rgba(255,255,255,.15); flex-shrink: 0;
}

/* Values section */
.about-values-section {
    max-width: 1200px; margin: 0 auto; padding: 64px 32px;
}
.about-values-header {
    text-align: center; margin-bottom: 40px;
}
.about-values-header h2 {
    font-size: clamp(24px, 3.5vw, 36px); font-weight: 300;
    margin-bottom: 8px;
}
.about-values-header h2 em { font-style: italic; font-weight: 600; }
.about-values {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.about-value {
    background: var(--warm-bg); border-radius: var(--radius-lg);
    padding: 32px 24px; text-align: center;
    transition: var(--transition);
}
.about-value:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.about-value-icon {
    width: 56px; height: 56px; margin: 0 auto 16px;
    background: var(--white); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-sm);
}
.about-value-icon svg { width: 22px; height: 22px; }
.about-value h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.about-value p { font-size: 13px; color: #777; line-height: 1.6; }

/* Gallery mosaic */
.about-gallery {
    display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px;
    gap: 12px; max-width: calc(100% - 64px); margin: 0 auto;
    padding: 0 32px;
}
.about-gallery-item {
    border-radius: var(--radius-lg); overflow: hidden;
}
.about-gallery-item.tall { grid-row: span 2; }
.about-gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    display: block; transition: transform .6s ease;
}
.about-gallery-item:hover img { transform: scale(1.05); }

/* Boutique + social */
.about-boutique {
    max-width: 1200px; margin: 0 auto; padding: 64px 32px;
}
.about-boutique-inner {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
    background: var(--black); border-radius: var(--radius-xl);
    padding: 48px; color: #fff;
}
.about-boutique h2 {
    font-size: clamp(22px, 3vw, 32px); font-weight: 300;
    margin-bottom: 28px; line-height: 1.3;
}
.about-boutique h2 em { font-style: italic; font-weight: 600; }
.about-boutique-details {
    display: flex; flex-direction: column; gap: 20px;
}
.about-boutique-detail {
    display: flex; gap: 14px; align-items: flex-start;
}
.about-boutique-detail svg { flex-shrink: 0; margin-top: 2px; color: var(--gold); }
.about-boutique-detail strong {
    display: block; font-size: 13px; font-weight: 600;
    margin-bottom: 4px; color: var(--gold);
}
.about-boutique-detail p {
    font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.6; margin: 0;
}
.about-boutique-social {
    display: flex; flex-direction: column; justify-content: center;
}
.about-boutique-social h3 {
    font-size: 20px; font-weight: 600; margin-bottom: 8px;
}
.about-boutique-social > p {
    font-size: 14px; color: rgba(255,255,255,.5); margin-bottom: 24px;
}
.about-social-links {
    display: flex; flex-direction: column; gap: 12px;
}
.about-social-link {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 20px; border-radius: var(--radius-lg);
    background: rgba(255,255,255,.08); color: #fff;
    font-size: 14px; font-weight: 500; transition: var(--transition);
}
.about-social-link:hover {
    background: rgba(255,255,255,.15); transform: translateX(4px);
}
.about-social-link svg { flex-shrink: 0; }

/* ========== TRACK ORDER (Suivre ma commande) ========== */
.track-hero {
    max-width: 1440px; margin: 24px auto; padding: 40px 32px;
    background: var(--black); border-radius: var(--radius-xl);
    color: #fff; width: calc(100% - 64px); text-align: center;
}
.track-hero h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 300; margin: 0; }
.track-hero h1 em { font-style: italic; font-weight: 600; }
.track-hero-desc {
    font-size: 14px; color: rgba(255,255,255,.6); margin-top: 12px;
    max-width: 540px; margin-left: auto; margin-right: auto; line-height: 1.6;
}

.track-wrapper {
    max-width: 720px; margin: 32px auto 80px; padding: 0 32px;
    display: flex; flex-direction: column; gap: 24px;
}
.track-card {
    background: var(--white); border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm); padding: 36px 36px 32px;
    border: 1px solid var(--border);
}

/* ========== JIMEE CUSTOM TRACKING ========== */
.jimee-track-form { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.jimee-track-field { display: flex; flex-direction: column; gap: 6px; }
.jimee-track-field label {
    font-size: 12px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1px; color: #999;
}
.jimee-track-field input {
    width: 100%; padding: 14px 18px;
    background: var(--warm-bg); border: 1px solid transparent;
    border-radius: var(--radius-pill); font-size: 14px; color: var(--black);
    transition: var(--transition); outline: none; font-family: inherit;
}
.jimee-track-field input:focus {
    background: #fff; border-color: var(--black);
    box-shadow: 0 0 0 3px rgba(0,0,0,.05);
}
.jimee-track-submit {
    align-self: flex-start;
    padding: 14px 36px; background: var(--black); color: var(--white);
    border: none; border-radius: var(--radius-pill);
    font-size: 14px; font-weight: 500; cursor: pointer;
    transition: var(--transition); font-family: inherit;
    margin-top: 8px;
}
.jimee-track-submit:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.jimee-track-error {
    display: flex; align-items: center; gap: 12px;
    background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5;
    padding: 14px 18px; border-radius: var(--radius-lg);
    font-size: 14px; line-height: 1.5; margin: 0 0 20px;
}
.jimee-track-error svg { width: 20px; height: 20px; flex-shrink: 0; color: #dc2626; }

/* ===== Tracked order details ===== */
.jimee-tracked-order { display: flex; flex-direction: column; gap: 24px; }

/* Status hero (prominent) */
.track-status {
    display: flex; align-items: center; gap: 18px;
    padding: 22px 24px; border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}
.track-status-icon {
    width: 56px; height: 56px; flex-shrink: 0;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,.04);
}
.track-status-icon svg { width: 26px; height: 26px; color: var(--black); }
.track-status-text { flex: 1; min-width: 0; }
.track-status-label {
    font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px;
    color: #999;
}
.track-status-name { font-size: 22px; font-weight: 600; color: var(--black); margin-top: 2px; }
.track-status-meta { font-size: 13px; color: #777; margin-top: 4px; }

/* Status color variants */
.track-status-step-1 { background: #fffbeb; border-color: #fcd34d; }
.track-status-step-1 .track-status-icon { background: #fef3c7; }
.track-status-step-1 .track-status-icon svg { color: #b45309; }
.track-status-step-2 { background: #eff6ff; border-color: #93c5fd; }
.track-status-step-2 .track-status-icon { background: #dbeafe; }
.track-status-step-2 .track-status-icon svg { color: #1d4ed8; }
.track-status-step-3 { background: #f5f3ff; border-color: #c4b5fd; }
.track-status-step-3 .track-status-icon { background: #ede9fe; }
.track-status-step-3 .track-status-icon svg { color: #6d28d9; }
.track-status-step-4 { background: #f0fdf4; border-color: #86efac; }
.track-status-step-4 .track-status-icon { background: #dcfce7; }
.track-status-step-4 .track-status-icon svg { color: #15803d; }
.track-status-failed { background: #fef2f2; border-color: #fca5a5; }
.track-status-failed .track-status-icon { background: #fee2e2; }
.track-status-failed .track-status-icon svg { color: #b91c1c; }

/* Progress steps */
.track-progress {
    display: flex; align-items: flex-start; justify-content: space-between;
    list-style: none; margin: 0; padding: 0;
    position: relative;
}
.track-progress::before {
    content: ""; position: absolute; top: 9px; left: 12%; right: 12%;
    height: 2px; background: var(--border); z-index: 0;
}
.track-step {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    flex: 1; position: relative; z-index: 1;
    font-size: 12px; font-weight: 500; color: #999;
}
.track-step-dot {
    width: 18px; height: 18px; border-radius: 50%;
    background: #fff; border: 2px solid var(--border);
    transition: all .25s ease; flex-shrink: 0;
}
.track-step.done .track-step-dot { background: var(--black); border-color: var(--black); }
.track-step.done .track-step-label { color: var(--black); }
.track-step.current .track-step-dot {
    background: var(--black); border-color: var(--black);
    box-shadow: 0 0 0 5px rgba(0,0,0,.1);
}
.track-step.current .track-step-label { color: var(--black); font-weight: 600; }
.track-step-label { text-align: center; }

/* Yalidine tracking number */
.track-yalidine {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--black); color: var(--white);
    padding: 16px 20px; border-radius: var(--radius-lg);
}
.track-yalidine-label {
    font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px;
    color: rgba(255,255,255,.6);
}
.track-yalidine-value { font-size: 16px; font-weight: 600; font-family: monospace; }

/* Block sections */
.track-block { padding: 0; }
.track-block-title {
    font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
    color: var(--black); margin: 0 0 14px;
}

/* Items list */
.track-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.track-item {
    display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px;
    padding: 12px; background: var(--warm-bg); border-radius: var(--radius-md);
}
.track-item-img {
    width: 56px; height: 56px; border-radius: var(--radius-sm);
    overflow: hidden; background: #fff; flex-shrink: 0;
}
.track-item-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.track-item-info { min-width: 0; }
.track-item-name { font-size: 14px; font-weight: 500; color: var(--black); line-height: 1.4; }
.track-item-qty { font-size: 12px; color: #777; margin-top: 4px; }
.track-item-price { font-size: 14px; font-weight: 600; color: var(--black); white-space: nowrap; }

/* Totals */
.track-totals {
    margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border);
    display: flex; flex-direction: column; gap: 8px;
}
.track-total-row {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 14px; color: #555;
}
.track-total-final {
    margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--border);
    font-size: 16px; font-weight: 600; color: var(--black);
}

/* Address */
.track-address {
    font-size: 14px; line-height: 1.7; color: #555; font-style: normal;
    background: var(--warm-bg); padding: 16px 20px; border-radius: var(--radius-md);
}
.track-address-phone {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 10px;
    padding: 8px 14px; background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-pill); font-size: 13px; color: #555;
}
.track-address-phone svg { width: 14px; height: 14px; }

/* Back link */
.track-back {
    display: inline-flex; align-items: center; gap: 6px;
    align-self: flex-start;
    font-size: 13px; color: #777; transition: color .2s ease;
}
.track-back svg { width: 14px; height: 14px; }
.track-back:hover { color: var(--black); }

@media (max-width: 600px) {
    .track-status { flex-direction: column; align-items: flex-start; gap: 12px; }
    .track-status-name { font-size: 18px; }
    .track-progress { font-size: 11px; }
    .track-progress::before { left: 10%; right: 10%; }
    .track-item { grid-template-columns: 48px 1fr; gap: 10px; padding: 10px; }
    .track-item-img { width: 48px; height: 48px; }
    .track-item-price { grid-column: 2; justify-self: end; font-size: 13px; }
    .track-yalidine { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* === LEGACY: WooCommerce native form (still loaded if anyone uses [woocommerce_order_tracking]) === */
.track-card .woocommerce { font-size: 14px; color: #555; }
.track-card .woocommerce-form-track-order > p:first-child { display: none; }
.track-card .woocommerce-form-track-order { display: flex; flex-direction: column; gap: 16px; margin: 0; }

/* WooCommerce notices (error / success / info) — clear visual treatment */
.track-card .woocommerce-error,
.track-card .woocommerce-message,
.track-card .woocommerce-info {
    list-style: none;
    margin: 0 0 24px;
    padding: 16px 20px 16px 52px;
    border-radius: var(--radius-lg);
    font-size: 14px; line-height: 1.5;
    position: relative;
}
.track-card .woocommerce-error li,
.track-card .woocommerce-message li,
.track-card .woocommerce-info li { margin: 0; padding: 0; }
.track-card .woocommerce-error::before,
.track-card .woocommerce-message::before,
.track-card .woocommerce-info::before {
    content: ""; position: absolute; left: 18px; top: 50%;
    width: 22px; height: 22px; transform: translateY(-50%);
    background-repeat: no-repeat; background-position: center; background-size: contain;
}
.track-card .woocommerce-error {
    background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5;
}
.track-card .woocommerce-error::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><line x1='12' y1='8' x2='12' y2='12'/><line x1='12' y1='16' x2='12.01' y2='16'/></svg>");
}
.track-card .woocommerce-message {
    background: #f0fdf4; color: #166534; border: 1px solid #86efac;
}
.track-card .woocommerce-message::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/><polyline points='22 4 12 14.01 9 11.01'/></svg>");
}
.track-card .woocommerce-info {
    background: var(--warm-bg); color: var(--black); border: 1px solid var(--border);
}
.track-card .woocommerce-info::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><line x1='12' y1='16' x2='12' y2='12'/><line x1='12' y1='8' x2='12.01' y2='8'/></svg>");
}
.track-card .form-row {
    display: flex; flex-direction: column; gap: 6px;
    margin: 0; padding: 0; width: 100%;
}
.track-card .form-row label {
    font-size: 12px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1px; color: #999;
}
.track-card .form-row input[type="text"],
.track-card .form-row input[type="email"] {
    width: 100%; padding: 14px 18px;
    background: var(--warm-bg); border: 1px solid transparent;
    border-radius: var(--radius-pill); font-size: 14px; color: var(--black);
    transition: var(--transition); outline: none; font-family: inherit;
}
.track-card .form-row input:focus {
    background: #fff; border-color: var(--black);
    box-shadow: 0 0 0 3px rgba(0,0,0,.05);
}
.track-card .woocommerce-form-track-order button[type="submit"],
.track-card .button {
    align-self: flex-start;
    padding: 14px 36px; background: var(--black); color: var(--white);
    border: none; border-radius: var(--radius-pill);
    font-size: 14px; font-weight: 500; cursor: pointer;
    transition: var(--transition); font-family: inherit;
    margin-top: 8px;
}
.track-card .woocommerce-form-track-order button[type="submit"]:hover,
.track-card .button:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* WC order tracking result table (after a successful lookup) */
.track-card .woocommerce-order .order_details,
.track-card .woocommerce-order .shop_table {
    width: 100%; border-collapse: collapse; margin-top: 16px;
}
.track-card .woocommerce-order .shop_table th,
.track-card .woocommerce-order .shop_table td {
    padding: 12px 8px; text-align: left;
    border-bottom: 1px solid var(--border); font-size: 14px;
}

.track-help {
    background: var(--warm-bg); border-radius: var(--radius-xl);
    padding: 24px 28px;
}
.track-help h2 {
    font-size: 16px; font-weight: 600; margin: 0 0 6px;
    color: var(--black);
}
.track-help p { font-size: 13px; color: #777; margin: 0 0 16px; line-height: 1.6; }
.track-help-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.track-help-link {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px; background: var(--white);
    border-radius: var(--radius-pill);
    font-size: 13px; font-weight: 500; color: var(--black);
    transition: var(--transition); border: 1px solid var(--border);
}
.track-help-link svg { width: 16px; height: 16px; }
.track-help-link:hover { background: var(--black); color: var(--white); border-color: var(--black); }

@media (max-width: 768px) {
    .track-hero { width: calc(100% - 32px); margin: 16px auto; padding: 32px 24px; }
    .track-wrapper { padding: 0 16px; margin: 24px auto 60px; }
    .track-card { padding: 24px 20px; }
    .track-help-actions { flex-direction: column; }
    .track-help-link { justify-content: center; }
}

/* ========== BRANDS A-Z ========== */
.brands-hero {
    max-width: 1440px; margin: 24px auto; padding: 40px 32px;
    background: var(--black); border-radius: var(--radius-xl);
    color: #fff; width: calc(100% - 64px); text-align: center;
}
.brands-hero h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 300; }
.brands-hero h1 em { font-style: italic; font-weight: 600; }
.brands-hero-count { font-size: 14px; color: rgba(255,255,255,.5); margin-top: 8px; }
.brands-alpha-nav {
    max-width: 1440px; margin: 0 auto; padding: 16px 32px;
    display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
}
.brands-alpha-link {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--warm-bg); display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 600; transition: var(--transition);
}
.brands-alpha-link:hover { background: var(--black); color: var(--white); }
.brands-letter-section { max-width: 1440px; margin: 0 auto; padding: 24px 32px; }
.brands-letter {
    font-size: 24px; font-weight: 700; margin-bottom: 16px;
    padding-bottom: 8px; border-bottom: 2px solid var(--black);
}
.brands-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px;
}
.brand-card-az {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 20px; background: var(--warm-bg);
    border-radius: var(--radius-lg); transition: var(--transition);
}
.brand-card-az:hover { background: var(--white); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.brand-card-az-img {
    width: 56px; height: 56px; flex-shrink: 0;
    border-radius: var(--radius-md); overflow: hidden; background: var(--white);
}
.brand-card-az-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.brand-card-az-info { flex: 1; min-width: 0; }
.brand-card-az-name { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.brand-card-az-count { font-size: 11px; color: #999; }

/* ========== WISHLIST PAGE ========== */
.wishlist-hero {
    max-width: 1440px; margin: 24px auto; padding: 28px 32px;
    background: var(--black); border-radius: var(--radius-xl);
    color: #fff; width: calc(100% - 64px);
}
.wishlist-eyebrow {
    font-size: 11px; font-weight: 600; letter-spacing: 3px;
    text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}
.wishlist-hero h1 { font-size: clamp(24px, 3.5vw, 36px); font-weight: 300; }
.wishlist-hero h1 em { font-style: italic; font-weight: 600; }
.wishlist-grid-wrapper {
    max-width: 1440px; margin: 0 auto; padding: 24px 32px 80px;
}
.wishlist-empty {
    text-align: center; padding: 80px 32px;
}
.wishlist-empty svg { width: 48px; height: 48px; color: #ccc; margin-bottom: 16px; }
.wishlist-empty h2 { font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.wishlist-empty p { font-size: 14px; color: #777; margin-bottom: 24px; }
.wishlist-empty a {
    display: inline-block; padding: 12px 28px; border-radius: var(--radius-pill);
    background: var(--black); color: #fff; font-size: 13px; font-weight: 500;
}

/* ========== 404 ========== */
.page-404 { text-align: center; padding: 80px 32px; max-width: 600px; margin: 0 auto; }
.page-404-number {
    font-size: clamp(100px, 20vw, 180px); font-weight: 800; line-height: 1;
    background: linear-gradient(135deg, var(--black) 0%, #555 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; margin-bottom: 16px;
}
.page-404 h1 { font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.page-404 p { font-size: 14px; color: #777; margin-bottom: 32px; }
.page-404-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.page-404-actions a {
    padding: 12px 28px; border-radius: var(--radius-pill);
    font-size: 13px; font-weight: 500; transition: var(--transition);
}
.page-404-actions a:first-child { background: var(--black); color: var(--white); }
.page-404-actions a:last-child { background: var(--warm-bg); color: var(--black); }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .contact-cards { grid-template-columns: 1fr; margin-top: -20px; padding: 0 16px; }
    .contact-section { grid-template-columns: 1fr; padding: 0 16px 60px; }
    .brands-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .legal-hero, .contact-hero, .faq-hero, .brands-hero, .wishlist-hero {
        margin: 0 16px 20px; padding: 28px 16px; width: calc(100% - 32px);
    }
    .legal-content, .faq-content { padding-left: 16px; padding-right: 16px; }
    .legal-card { padding: 24px; }
    .brands-letter-section { padding: 16px; }
    .wishlist-grid-wrapper { padding: 16px 16px 60px; }

    /* About page mobile */
    .about-hero {
        margin: 16px; width: calc(100% - 32px); min-height: 340px;
    }
    .about-hero-content { padding: 40px 20px; }
    .about-story {
        grid-template-columns: 1fr; gap: 28px; padding: 40px 16px;
    }
    .about-story.reverse { direction: ltr; }
    .about-story-img { order: -1; }
    .about-stats {
        flex-wrap: wrap; gap: 20px; padding: 32px 20px;
        margin-left: 16px; margin-right: 16px;
        max-width: calc(100% - 32px);
    }
    .about-stat { flex: 1 1 40%; min-width: 120px; }
    .about-stat-divider { display: none; }
    .about-values-section { padding: 40px 16px; }
    .about-values { grid-template-columns: 1fr 1fr; }
    .about-gallery {
        grid-template-columns: 1fr 1fr; grid-auto-rows: 150px;
        gap: 8px; padding: 0 16px;
    }
    .about-gallery-item.tall { grid-row: span 2; }
    .about-boutique { padding: 40px 16px; }
    .about-boutique-inner {
        grid-template-columns: 1fr; padding: 28px 20px;
    }
}
@media (max-width: 480px) {
    .brands-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .about-values { grid-template-columns: 1fr; }
    .about-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; }
}

/* ========== LE BON PLAN JIMEE ========== */
.bon-plan-page { max-width: 1440px; margin: 0 auto; }

/* Hero */
.bon-plan-hero {
    margin: 24px 32px; padding: 32px 40px;
    border-radius: var(--radius-xl); color: #fff; position: relative; overflow: hidden;
    background: var(--bordeaux);
    min-height: 260px;
}
.bon-plan-hero::before {
    content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 50%;
    background: url('../img/nyx-smoosh-lip-balm-collection-coloree.jpg') center / cover no-repeat;
}
.bon-plan-hero::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to right, var(--bordeaux) 40%, rgba(139,0,0,.4) 100%);
}
.bon-plan-hero * { position: relative; z-index: 2; }
.bon-plan-hero .breadcrumb { padding: 0 0 16px; color: rgba(255,255,255,.4); }
.bon-plan-hero .breadcrumb a { color: rgba(255,255,255,.4); }
.bon-plan-hero .breadcrumb a:hover { color: #fff; }
.bon-plan-hero .breadcrumb .sep { color: rgba(255,255,255,.6); font-size: 10px; }
.bon-plan-hero .breadcrumb .current { color: rgba(255,255,255,.7); font-weight: 500; }
.bon-plan-eyebrow {
    display: block; font-size: 11px; font-weight: 600; letter-spacing: 4px;
    text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.bon-plan-hero h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; line-height: 1.2; margin-bottom: 12px; }
.bon-plan-hero h1 em { font-style: italic; }
.bon-plan-desc { font-size: 15px; font-weight: 300; opacity: .7; line-height: 1.6; max-width: 550px; margin-bottom: 8px; }
.bon-plan-count { font-size: 13px; opacity: .5; }

/* Coupon banner */
.bon-plan-coupon { padding: 0 32px 8px; }
.bon-plan-coupon-inner {
    display: flex; align-items: center; justify-content: center; gap: 16px;
    padding: 16px 28px; border-radius: var(--radius-pill);
    background: var(--warm-bg); border: 1.5px dashed var(--gold);
}
.bon-plan-coupon-label { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #999; }
.bon-plan-coupon-code {
    font-size: 18px; font-weight: 700; letter-spacing: 3px; color: var(--bordeaux);
    padding: 4px 16px; background: #fff; border-radius: var(--radius-sm);
}
.bon-plan-coupon-desc { font-size: 13px; color: #777; }

/* Grid */
.bon-plan-grid-wrapper { padding: 24px 32px 64px; }

/* Pagination */
.bon-plan-pagination {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    padding-top: 40px;
}
.bon-plan-pagination a,
.bon-plan-pagination span {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    font-size: 14px; font-weight: 500; transition: var(--transition);
    border: 1.5px solid var(--border);
}
.bon-plan-pagination a:hover { border-color: var(--black); background: var(--black); color: #fff; }
.bon-plan-pagination .current { background: var(--black); color: #fff; border-color: var(--black); }

/* Empty state */
.bon-plan-empty {
    text-align: center; padding: 80px 32px 100px; max-width: 480px; margin: 0 auto;
}
.bon-plan-empty svg { width: 56px; height: 56px; color: var(--gold); margin-bottom: 20px; }
.bon-plan-empty h2 { font-size: 24px; font-weight: 600; margin-bottom: 12px; }
.bon-plan-empty p { font-size: 15px; color: #777; line-height: 1.6; margin-bottom: 32px; }
.bon-plan-back {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; border-radius: var(--radius-pill);
    background: var(--black); color: #fff;
    font-size: 14px; font-weight: 500; transition: var(--transition);
}
.bon-plan-back:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Card entrance animation */
.bon-plan-grid-wrapper .product-card {
    opacity: 0; transform: translateY(24px);
    animation: bonPlanIn .5s ease forwards;
}
@keyframes bonPlanIn { to { opacity: 1; transform: translateY(0); } }

@media (max-width: 768px) {
    .bon-plan-hero { margin: 16px; padding: 24px 20px; min-height: 220px; }
    .bon-plan-hero::after {
        background: linear-gradient(to right, var(--bordeaux) 50%, rgba(139,0,0,.5) 100%);
    }
    .bon-plan-grid-wrapper { padding: 16px 16px 48px; }
}
@media (max-width: 480px) {
    .bon-plan-hero { margin: 12px; padding: 20px 16px; }
    .bon-plan-grid-wrapper { padding: 12px 12px 48px; }
}
