/* ═══════════════════════════════════════════════════════════════════════════
   BONAP — Design System
   Thème : Épuré, minimaliste, luxe discret. Mode clair/sombre.
   Typographie : Cormorant Garamond (titres) + DM Sans (corps)
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ─── VARIABLES ────────────────────────────────────────────────────────────── */
:root {
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'DM Sans', system-ui, sans-serif;

    /* Clair (défaut) */
    --bg:           #fafafa;
    --bg-alt:       #f3f0eb;
    --surface:      #ffffff;
    --surface-2:    #f8f6f2;
    --border:       #e8e4dc;
    --border-light: #f0ece4;

    --text:         #1a1814;
    --text-muted:   #6b6660;
    --text-light:   #a09890;

    --accent:       #c8a96e;      /* Or doux */
    --accent-dark:  #b8924e;
    --accent-light: #e8d5b0;
    --accent-bg:    #fdf6e8;

    --ink:          #1a1814;      /* Boutons sombres */
    --ink-hover:    #2d2a26;

    --success:      #2d7a4f;
    --success-bg:   #e8f5ee;
    --error:        #c0392b;
    --error-bg:     #fdecea;
    --warning:      #d68910;
    --warning-bg:   #fef9e7;

    --shadow-sm:    0 1px 3px rgba(0,0,0,0.06);
    --shadow:       0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg:    0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl:    0 24px 64px rgba(0,0,0,0.16);

    --radius-sm:    4px;
    --radius:       8px;
    --radius-lg:    14px;
    --radius-xl:    20px;
    --radius-full:  999px;

    --transition:   all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    --max-width:    1200px;
    --nav-height:   70px;
}

/* Mode sombre */
[data-theme="dark"] {
    --bg:           #111010;
    --bg-alt:       #1a1816;
    --surface:      #1e1c1a;
    --surface-2:    #252220;
    --border:       #2d2a26;
    --border-light: #252220;

    --text:         #f0ece4;
    --text-muted:   #a09890;
    --text-light:   #6b6660;

    --accent:       #c8a96e;
    --accent-dark:  #d4b87e;
    --accent-light: #3d3020;
    --accent-bg:    #252015;

    --ink:          #f0ece4;
    --ink-hover:    #ffffff;

    --success-bg:   #0d2318;
    --error-bg:     #2d0f0c;
    --warning-bg:   #2d2008;

    --shadow-sm:    0 1px 3px rgba(0,0,0,0.3);
    --shadow:       0 4px 16px rgba(0,0,0,0.4);
    --shadow-lg:    0 12px 40px rgba(0,0,0,0.5);
}

/* ─── RESET & BASE ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    transition: background 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-dark); }

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

button { cursor: pointer; border: none; background: none; font-family: inherit; }

input, select, textarea {
    font-family: var(--font-body);
    font-size: 0.9375rem;
}

ul, ol { list-style: none; }

/* ─── TYPOGRAPHIE ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text);
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 300; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p { color: var(--text-muted); line-height: 1.75; }

.display-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1;
}

.eyebrow {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
}

/* ─── LAYOUT ────────────────────────────────────────────────────────────────── */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 120px 0; }

/* ─── NAVIGATION ────────────────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    transition: var(--transition-slow);
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.navbar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.navbar-logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text) !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.navbar-nav a {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: var(--transition);
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--text);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.navbar-icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    color: var(--text-muted);
    transition: var(--transition);
}

.navbar-icon-btn:hover {
    background: var(--surface-2);
    color: var(--text);
}

.cart-badge {
    position: absolute;
    top: 4px; right: 4px;
    width: 18px; height: 18px;
    background: var(--accent);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    line-height: 1;
}

/* ─── HAMBURGER MOBILE ─────────────────────────────────────────────────────── */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    transition: var(--transition);
}

.hamburger:hover { background: var(--surface-2); }
.hamburger span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--text);
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0; bottom: 0;
    background: var(--surface);
    z-index: 999;
    padding: 32px 24px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu a {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 300;
    color: var(--text);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

/* ─── BOUTONS ────────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--ink);
    color: var(--bg);
}

.btn-primary:hover {
    background: var(--ink-hover);
    color: var(--bg);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-accent {
    background: var(--accent);
    color: #fff;
}

.btn-accent:hover {
    background: var(--accent-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(200, 169, 110, 0.4);
}

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

.btn-outline:hover {
    border-color: var(--text);
    background: var(--surface-2);
    color: var(--text);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    padding: 10px 20px;
}

.btn-ghost:hover {
    background: var(--surface-2);
    color: var(--text);
}

.btn-sm { padding: 8px 18px; font-size: 0.75rem; }
.btn-lg { padding: 16px 40px; font-size: 0.85rem; }
.btn-full { width: 100%; }

/* ─── FORMULAIRES ───────────────────────────────────────────────────────────── */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    transition: var(--transition);
    font-size: 0.9375rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.15);
}

.form-control::placeholder { color: var(--text-light); }

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ─── CARTES PRODUITS ───────────────────────────────────────────────────────── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-slow);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border);
}

.product-card-img {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--surface-2);
    overflow: hidden;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-card-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--accent);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.product-card-body {
    padding: 20px;
}

.product-card-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.product-price {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text);
}

.product-price-compare {
    font-size: 0.85rem;
    color: var(--text-light);
    text-decoration: line-through;
    margin-left: 6px;
}

/* ─── HERO ───────────────────────────────────────────────────────────────────── */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-alt);
    padding-top: var(--nav-height);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 70% 50%, var(--accent-bg) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 24px;
}

.hero-title em {
    font-style: italic;
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 480px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ─── BREADCRUMB ─────────────────────────────────────────────────────────────── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-light);
    padding: 16px 0;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--border); }

/* ─── BADGES ─────────────────────────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-success  { background: var(--success-bg); color: var(--success); }
.badge-error    { background: var(--error-bg);   color: var(--error);   }
.badge-warning  { background: var(--warning-bg); color: var(--warning); }
.badge-accent   { background: var(--accent-bg);  color: var(--accent-dark); }
.badge-neutral  { background: var(--surface-2);  color: var(--text-muted); }

/* ─── FLASH MESSAGES ─────────────────────────────────────────────────────────── */
.flash {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.flash-success { background: var(--success-bg); color: var(--success); border: 1px solid var(--success); }
.flash-error   { background: var(--error-bg);   color: var(--error);   border: 1px solid var(--error);   }
.flash-warning { background: var(--warning-bg); color: var(--warning); border: 1px solid var(--warning); }

/* ─── PANIER / CHECKOUT ──────────────────────────────────────────────────────── */
.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.cart-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.cart-item-img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--surface-2);
}

.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.qty-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-2);
    color: var(--text);
    transition: var(--transition);
    font-size: 1rem;
}

.qty-btn:hover { background: var(--border); }

.qty-input {
    width: 48px;
    height: 36px;
    text-align: center;
    border: none;
    background: var(--surface);
    color: var(--text);
    font-size: 0.9rem;
    border-left: 1.5px solid var(--border);
    border-right: 1.5px solid var(--border);
}

.order-summary {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
}

.order-summary-row:last-child { border-bottom: none; }
.order-summary-total {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    padding-top: 16px !important;
}

/* ─── ÉTAPES CHECKOUT ─────────────────────────────────────────────────────────── */
.checkout-steps {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
}

.checkout-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-light);
}

.checkout-step.active { color: var(--text); }
.checkout-step.done  { color: var(--success); }

.step-num {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    transition: var(--transition);
}

.checkout-step.active .step-num {
    background: var(--ink);
    color: var(--bg);
}

.checkout-step.done .step-num {
    background: var(--success);
    color: white;
}

.step-sep {
    flex: 1;
    height: 1px;
    background: var(--border);
    min-width: 20px;
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────────── */
.footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-col h4 {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 16px;
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    font-size: 0.875rem;
    color: var(--text-muted);
}
.footer-col ul li a:hover { color: var(--accent); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ─── PAGE COMPTE ──────────────────────────────────────────────────────────── */
.account-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    padding: 40px 0;
}

.account-nav {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    height: fit-content;
}

.account-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    color: var(--text-muted);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.account-nav a:hover, .account-nav a.active {
    background: var(--surface-2);
    color: var(--text);
}

.account-nav a.active { font-weight: 600; }

/* ─── PAGE PRODUIT ─────────────────────────────────────────────────────────── */
.product-gallery {
    position: relative;
}

.product-main-img {
    aspect-ratio: 1 / 1;
    background: var(--surface-2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 12px;
}

.product-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.product-thumb {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    background: var(--surface-2);
    transition: var(--transition);
}

.product-thumb.active,
.product-thumb:hover {
    border-color: var(--accent);
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ─── RATINGS ─────────────────────────────────────────────────────────────── */
.stars {
    display: flex;
    gap: 3px;
    color: var(--accent);
    font-size: 0.9rem;
}

.stars-empty { color: var(--border); }

/* ─── TOGGLE THEME ─────────────────────────────────────────────────────────── */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--text-muted);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.theme-toggle:hover {
    background: var(--surface-2);
    color: var(--text);
}

/* ─── ANIMATIONS ─────────────────────────────────────────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-up  { animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) both; }
.animate-fade     { animation: fadeIn 0.4s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ─── LOADER ─────────────────────────────────────────────────────────────────── */
.spinner {
    width: 20px; height: 20px;
    border: 2px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    display: inline-block;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ─── DIVIDER ────────────────────────────────────────────────────────────────── */
.divider {
    height: 1px;
    background: var(--border);
    margin: 32px 0;
}

.divider-text {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-light);
    font-size: 0.8rem;
}
.divider-text::before, .divider-text::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .account-layout { grid-template-columns: 200px 1fr; }
}

@media (max-width: 768px) {
    :root { --nav-height: 60px; }
    .navbar-nav { display: none; }
    .hamburger { display: flex; }
    .mobile-menu { display: block; }
    .container { padding: 0 16px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .account-layout { grid-template-columns: 1fr; }
    .account-nav { display: none; }
    .checkout-steps { gap: 4px; }
    .checkout-step span:not(.step-num) { display: none; }
    .cart-table { font-size: 0.875rem; }
    .cart-item-img { width: 52px; height: 52px; }
    .hero { min-height: 70vh; }
    .hero-title { font-size: clamp(2.2rem, 10vw, 3.5rem); }

    /* Checkout */
    .checkout-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
    #card-element {
        background: #ffffff !important;
        border: 1.5px solid #dddddd !important;
        border-radius: 8px !important;
        padding: 16px !important;
        margin-bottom: 12px !important;
    }
    .relay-search { flex-direction: column; }
    .relay-search input { width: 100% !important; }
    #relay-map { height: 250px !important; }

    /* Shop */
    .shop-layout { grid-template-columns: 1fr !important; }
    .shop-sidebar { display: none !important; }
    .products-grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-card-body { padding: 14px; }
    .btn-lg { padding: 14px 28px; }
}/* ─── PAGE PRODUIT LAYOUT MOBILE ─── */
    .product-layout {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}
/* ─── PAGE PRODUIT MOBILE ─────────────────────────────────────────── */
@media (max-width: 768px) {
    .product-actions {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .product-actions .qty-control {
        width: 100% !important;
    }

    .product-actions .btn-add-cart {
        width: 100% !important;
    }

    .product-actions .btn {
        width: 100% !important;
    }
}