/**
 * NOSK8 — Shop CSS v6 (archive + single-product)
 * Charte : blanc 60% / bleu nuit #1a2744 30% / noir #0a0f1a 10%
 * Mobile-first — pas d'emojis, SVG Lucide only
 */

/* ============================================================
   VARIABLES SHOP
   ============================================================ */
:root {
    --n8s-black:   #0a0f1a;
    --n8s-navy:    #1a2744;
    --n8s-navy2:   #2a3a5c;
    --n8s-white:   #fff;
    --n8s-off:     #f7f7f5;
    --n8s-border:  rgba(10,15,26,.10);
    --n8s-mute:    #666;
    --n8s-light:   #aaa;
    --n8s-radius:  8px;
    --n8s-container: 1200px;
}

/* ============================================================
   RESET WooCommerce / Elementor sur les pages shop
   ============================================================ */
.woocommerce-shop.n8shop-page,
.single-product.n8shop-page {
    background: var(--n8s-white);
}
/* Masquer les wrappers WC natifs (Blocksy injecte des divs vides) */
.woocommerce-shop .site-content > .ct-container,
.woocommerce-shop .site-content > .container,
.single-product .site-content > .ct-container,
.single-product .site-content > .container {
    max-width: none;
    padding: 0;
}
/* Cacher l'Elementor widget shop s'il existe encore en parallèle */
.elementor-widget-woocommerce-products.elementor-invisible {
    visibility: hidden !important;
}

/* ============================================================
   CONTAINER COMMUN (réutilise la classe article)
   nosk8-article__container déjà défini dans article.css
   ============================================================ */

/* ============================================================
   ARCHIVE — HERO SHOP
   ============================================================ */
.n8shop__hero {
    background: var(--n8s-black);
    padding: 56px 24px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.n8shop__hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(26,39,68,.60) 0%, transparent 70%);
    pointer-events: none;
}
.n8shop__hero-inner { position: relative; z-index: 1; }
.n8shop__hero-kicker {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.5);
    margin: 0 0 12px;
}
.n8shop__hero-title {
    font-family: var(--n8-condensed, 'Bebas Neue', sans-serif);
    font-size: clamp(3.5rem, 14vw, 7rem);
    font-weight: 800;
    line-height: .9;
    color: var(--n8s-white);
    letter-spacing: -.01em;
    margin: 0 0 16px;
}
.n8shop__hero-title span { color: rgba(255,255,255,.4); font-size: .7em; }
.n8shop__hero-sub {
    font-size: .9rem;
    color: rgba(255,255,255,.55);
    margin: 0;
    line-height: 1.6;
}

/* ============================================================
   TOOLBAR (filtres + tri)
   ============================================================ */
.n8shop__toolbar {
    position: sticky;
    top: 92px;
    z-index: 100;
    background: rgba(255,255,255,0.70);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--n8s-border);
    box-shadow: 0 2px 8px rgba(10,15,26,.04);
    transition: top .3s ease;
}
body.n8-hdr-hidden .n8shop__toolbar { top: 0; }
@media (max-width: 768px) {
    .n8shop__toolbar { top: 88px; }
}
.n8shop__toolbar-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 12px;
    padding-bottom: 12px;
    flex-wrap: wrap;
}
/* Chips catégories — desktop : wrap (tient sur 1 ligne avec les catégories actuelles) */
.n8shop__cats {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-padding-inline: 4px;
}
.n8shop__cats::-webkit-scrollbar { display: none; }
/* Mobile + tablette (<1100px) : scroll horizontal forcé, jamais 2 lignes */
@media (max-width: 1099px) {
    .n8shop__toolbar-inner { flex-wrap: nowrap; }
    .n8shop__cats { flex-wrap: nowrap; }
}
.n8shop__cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .03em;
    color: var(--n8s-black);
    background: var(--n8s-off);
    border: 1.5px solid transparent;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s, border-color .15s, color .15s;
}
.n8shop__cat-chip:hover { background: #eef0f6; border-color: rgba(26,39,68,.15); }
.n8shop__cat-chip.is-active { background: var(--n8s-navy); color: var(--n8s-white); border-color: var(--n8s-navy); }
.n8shop__cat-count { font-size: .7rem; opacity: .65; font-weight: 400; }
/* Tri + compteur */
.n8shop__orderby-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.n8shop__select-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.n8shop__orderby {
    appearance: none;
    padding: 6px 32px 6px 12px;
    font-size: .8rem;
    font-weight: 600;
    font-family: inherit;
    color: var(--n8s-black);
    background: var(--n8s-off);
    border: 1.5px solid var(--n8s-border);
    border-radius: 6px;
    cursor: pointer;
    transition: border-color .15s;
}
.n8shop__orderby:focus { outline: none; border-color: var(--n8s-navy); }
.n8shop__select-wrap svg {
    position: absolute;
    right: 9px;
    pointer-events: none;
    color: var(--n8s-mute);
}
.n8shop__count { font-size: .75rem; color: var(--n8s-light); white-space: nowrap; }

/* ============================================================
   GRILLE PRODUITS
   ============================================================ */
.n8shop__main {
    padding-top: 32px;
    padding-bottom: 56px;
}
.n8shop__grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
@media (min-width: 640px) { .n8shop__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 900px) { .n8shop__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (min-width: 1100px) { .n8shop__grid { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   CARD PRODUIT (.n8pcard)
   ============================================================ */
.n8pcard {
    list-style: none;
    background: var(--n8s-white);
}
.n8pcard__link {
    display: block;
    text-decoration: none;
    color: inherit;
}
/* Image wrapper — ratio 3:4 portrait */
.n8pcard__img-wrap {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f0f0ee;
    border-radius: var(--n8s-radius);
}
.n8pcard__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease, opacity .3s ease;
}
.n8pcard__img--hover {
    opacity: 0;
    z-index: 2;
}
.n8pcard__link:hover .n8pcard__img.has-hover { transform: scale(1.03); }
.n8pcard__link:hover .n8pcard__img--hover { opacity: 1; }
/* Badges */
.n8pcard__badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.n8pcard__badge {
    display: inline-block;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 3px 7px;
    border-radius: 4px;
    line-height: 1.4;
}
.n8pcard__badge--sale   { background: #c0392b; color: #fff; }
.n8pcard__badge--best   { background: var(--n8s-black); color: var(--n8s-white); }
.n8pcard__badge--order  { background: rgba(255,255,255,.9); color: var(--n8s-navy); border: 1px solid rgba(26,39,68,.15); }
/* Hover CTA overlay */
.n8pcard__hover-cta {
    position: absolute;
    inset: auto 0 0;
    padding: 36px 14px 14px;
    background: linear-gradient(to top, rgba(10,15,26,.70) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .25s ease, transform .25s ease;
    z-index: 3;
    pointer-events: none;
}
.n8pcard__link:hover .n8pcard__hover-cta { opacity: 1; transform: translateY(0); }
.n8pcard__hover-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
}
/* Corps de la card */
.n8pcard__body {
    padding: 12px 2px 4px;
}
.n8pcard__cat {
    display: block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--n8s-light);
    margin: 0 0 4px;
}
.n8pcard__name {
    font-size: .88rem;
    font-weight: 700;
    color: var(--n8s-black);
    margin: 0 0 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (min-width: 768px) { .n8pcard__name { font-size: .92rem; } }
.n8pcard__price {
    font-size: .9rem;
    font-weight: 800;
    color: var(--n8s-navy);
}
.n8pcard__price .woocommerce-Price-amount { font-weight: 800; }
.n8pcard__price del .woocommerce-Price-amount { font-weight: 400; color: var(--n8s-light); font-size: .82rem; }
.n8pcard__price ins { text-decoration: none; }

/* ============================================================
   PAGINATION
   ============================================================ */
.n8shop__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 48px;
    flex-wrap: wrap;
}
.n8shop__pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--n8s-black);
    background: var(--n8s-off);
    border: 1.5px solid transparent;
    transition: background .15s, border-color .15s;
}
.n8shop__pagination .page-numbers:hover { background: #eef0f6; border-color: rgba(26,39,68,.15); }
.n8shop__pagination .page-numbers.current { background: var(--n8s-navy); color: #fff; border-color: var(--n8s-navy); }
.n8shop__pagination .page-numbers.prev,
.n8shop__pagination .page-numbers.next { background: var(--n8s-white); }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.n8shop__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 64px 24px;
    text-align: center;
    color: var(--n8s-mute);
}
.n8shop__empty p { font-size: .95rem; margin: 0; }
.n8shop__empty-cta {
    display: inline-block;
    padding: 10px 22px;
    background: var(--n8s-navy);
    color: #fff;
    font-weight: 700;
    font-size: .88rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background .15s;
}
.n8shop__empty-cta:hover { background: var(--n8s-navy2); }

/* ============================================================
   BLOC CONFIANCE
   ============================================================ */
.n8shop__trust {
    background: var(--n8s-black);
    padding: 40px 24px;
}
.n8shop__trust-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
@media (min-width: 768px) { .n8shop__trust-inner { grid-template-columns: repeat(4, 1fr); } }
.n8shop__trust-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255,255,255,.85);
}
.n8shop__trust-item svg { flex-shrink: 0; margin-top: 2px; opacity: .7; }
.n8shop__trust-item strong { display: block; font-size: .85rem; font-weight: 700; color: #fff; margin-bottom: 2px; }
.n8shop__trust-item span { font-size: .78rem; opacity: .6; line-height: 1.45; }

/* ============================================================
   SINGLE PRODUCT (.n8prod)
   ============================================================ */
.n8prod {
    background: var(--n8s-white);
    min-height: 60vh;
}
.n8prod__inner {}
.n8prod__breadcrumb {
    padding-top: 18px;
    padding-bottom: 12px;
    font-size: .78rem;
    color: var(--n8s-light);
}
.n8prod__breadcrumb nav { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.n8prod__breadcrumb a { color: var(--n8s-mute); text-decoration: none; }
.n8prod__breadcrumb a:hover { color: var(--n8s-navy); text-decoration: underline; }
.n8prod__breadcrumb span { color: var(--n8s-light); }

/* Layout 2 cols */
.n8prod__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 20px;
    padding-bottom: 56px;
}
@media (min-width: 768px) {
    .n8prod__layout {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        gap: 48px;
        align-items: flex-start;
    }
}

/* Galerie */
.n8prod__gallery {}
.n8prod__main-img-wrap {
    border-radius: 10px;
    overflow: hidden;
    background: #f0f0ee;
    aspect-ratio: 3 / 4;
    position: relative;
}
.n8prod__main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity .2s ease;
}
.n8prod__thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.n8prod__thumbs::-webkit-scrollbar { display: none; }
.n8prod__thumb {
    flex-shrink: 0;
    width: 68px;
    height: 88px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    background: #f0f0ee;
    transition: border-color .15s;
}
.n8prod__thumb.is-active { border-color: var(--n8s-navy); }
.n8prod__thumb:hover { border-color: rgba(26,39,68,.4); }
.n8prod__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Sticky desktop sur la galerie */
@media (min-width: 768px) {
    .n8prod__gallery { position: sticky; top: 70px; }
}

/* Summary */
.n8prod__cat {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--n8s-light);
    margin: 0 0 8px;
}
.n8prod__title {
    font-family: var(--n8-condensed, 'Bebas Neue', sans-serif);
    font-size: clamp(1.6rem, 5vw, 2.4rem);
    font-weight: 800;
    color: var(--n8s-black);
    line-height: 1.05;
    margin: 0 0 14px;
    letter-spacing: -.01em;
}
.n8prod__price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--n8s-navy);
    margin: 0 0 16px;
}
.n8prod__price .woocommerce-Price-amount { font-weight: 800; }
.n8prod__price del .woocommerce-Price-amount { font-weight: 400; color: var(--n8s-light); font-size: 1rem; }
.n8prod__price ins { text-decoration: none; }
.n8prod__short-desc {
    font-size: .9rem;
    line-height: 1.6;
    color: #444;
    margin: 0 0 20px;
}
.n8prod__short-desc p:first-child { margin-top: 0; }
.n8prod__short-desc p:last-child { margin-bottom: 0; }

/* Formulaire WC natif — overrides style */
.n8prod__form .quantity { margin-right: 12px; }
.n8prod__form .quantity input {
    width: 60px;
    height: 44px;
    text-align: center;
    border: 1.5px solid var(--n8s-border);
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
}
.n8prod__form .single_add_to_cart_button,
.n8prod__form button[type="submit"].button {
    width: 100%;
    display: block;
    padding: 14px 24px;
    background: var(--n8s-navy);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    font-family: inherit;
    letter-spacing: .04em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background .15s, transform .15s;
    text-transform: uppercase;
}
.n8prod__form .single_add_to_cart_button:hover,
.n8prod__form button[type="submit"].button:hover {
    background: var(--n8s-navy2);
    transform: translateY(-1px);
}
/* Sélecteur variations (tailles) */
.n8prod__form .variations {
    width: 100%;
    margin-bottom: 16px;
    border-collapse: collapse;
}
.n8prod__form .variations td,
.n8prod__form .variations th { padding: 4px 0; vertical-align: middle; }
.n8prod__form .variations label { font-weight: 700; font-size: .85rem; color: var(--n8s-black); display: block; margin-bottom: 8px; }
.n8prod__form .variations select {
    width: 100%;
    padding: 10px 32px 10px 13px;
    appearance: none;
    background: var(--n8s-off) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") right 10px center no-repeat;
    border: 1.5px solid var(--n8s-border);
    border-radius: 6px;
    font-size: .9rem;
    font-family: inherit;
    color: var(--n8s-black);
    cursor: pointer;
}
.n8prod__form .variations select:focus { outline: none; border-color: var(--n8s-navy); }
.n8prod__form .reset_variations { font-size: .75rem; color: var(--n8s-mute); text-decoration: underline; }
/* Stock */
.n8prod__form .in-stock,
.n8prod__form .available-on-backorder {
    font-size: .8rem;
    color: var(--n8s-mute);
    margin: 6px 0;
}
/* Cacher le doublon summary WC */
.n8prod__stock .summary.entry-summary { display: none; }

/* Garanties */
.n8prod__guarantees {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--n8s-border);
}
.n8prod__guar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .82rem;
    color: var(--n8s-mute);
}
.n8prod__guar-item svg { flex-shrink: 0; color: var(--n8s-navy); }
.n8prod__sku { font-size: .72rem; color: var(--n8s-light); margin: 14px 0 0; }

/* Onglets */
.n8prod__tabs {
    padding-top: 48px;
    padding-bottom: 48px;
    border-top: 1px solid var(--n8s-border);
}
.n8prod__tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--n8s-border);
    margin-bottom: 28px;
    overflow-x: auto;
    scrollbar-width: none;
}
.n8prod__tabs-nav::-webkit-scrollbar { display: none; }
.n8prod__tab {
    padding: 10px 20px;
    font-size: .88rem;
    font-weight: 700;
    color: var(--n8s-mute);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    margin-bottom: -2px;
    font-family: inherit;
    transition: color .15s, border-color .15s;
    white-space: nowrap;
}
.n8prod__tab:hover { color: var(--n8s-black); }
.n8prod__tab.is-active { color: var(--n8s-navy); border-bottom-color: var(--n8s-navy); }
.n8prod__tab-panel {
    font-size: .92rem;
    line-height: 1.7;
    color: #333;
}
.n8prod__tab-panel[hidden] { display: none; }
.n8prod__tab-panel p:first-child { margin-top: 0; }
.n8prod__desc-body { max-width: 65ch; }
.n8prod__delivery-info p { margin: 0 0 10px; }
.n8prod__delivery-info a { color: var(--n8s-navy); }
.n8prod__tags { color: var(--n8s-mute); font-size: .88rem; }

/* Produits similaires */
.n8prod__related {
    background: var(--n8s-off);
    padding: 48px 0 56px;
}
.n8prod__related-title {
    font-family: var(--n8-condensed, 'Bebas Neue', sans-serif);
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 800;
    color: var(--n8s-black);
    margin: 0 0 24px;
    letter-spacing: .02em;
}
.n8prod__related-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
@media (min-width: 640px) { .n8prod__related-grid { grid-template-columns: repeat(4, 1fr); } }
.n8prod__related-card {}
.n8prod__related-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.n8prod__related-img-wrap {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 8px;
    background: #f0f0ee;
}
.n8prod__related-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.n8prod__related-link:hover .n8prod__related-img-wrap img { transform: scale(1.04); }
.n8prod__related-body { padding: 10px 2px 0; }
.n8prod__related-name { font-size: .82rem; font-weight: 700; color: var(--n8s-black); margin: 0 0 4px; line-height: 1.3; }
.n8prod__related-price { font-size: .82rem; font-weight: 800; color: var(--n8s-navy); margin: 0; }

/* ============================================================
   WC NOTICES (flash messages)
   ============================================================ */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    border-radius: 8px;
    margin: 16px 0;
    padding: 14px 18px;
    font-size: .9rem;
    line-height: 1.5;
}
.woocommerce-message { background: #e8f5e9; border-left: 3px solid #2e7d32; color: #1b5e20; }
.woocommerce-error   { background: #fdecea; border-left: 3px solid #c62828; color: #7f0000; }
.woocommerce-info    { background: #e3f2fd; border-left: 3px solid #1565c0; color: #0d47a1; }

/* ============================================================
   MINI CART (drawer slide-out)
   ============================================================ */
.n8cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(400px, 96vw);
    height: 100%;
    background: var(--n8s-white);
    box-shadow: -8px 0 40px rgba(10,15,26,.18);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.25,.46,.45,.94);
    will-change: transform;
}
.n8cart-drawer.is-open { transform: translateX(0); }
.n8cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,15,26,.45);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}
.n8cart-overlay.is-visible { opacity: 1; pointer-events: all; }
.n8cart__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--n8s-border);
    flex-shrink: 0;
}
.n8cart__head-title {
    font-family: var(--n8-condensed, 'Bebas Neue', sans-serif);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--n8s-black);
    margin: 0;
    letter-spacing: .03em;
}
.n8cart__close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--n8s-off);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--n8s-black);
    transition: background .15s;
}
.n8cart__close:hover { background: #e5e5e0; }
.n8cart__body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    -webkit-overflow-scrolling: touch;
}
.n8cart__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 48px 0;
    text-align: center;
    color: var(--n8s-mute);
}
.n8cart__empty p { font-size: .9rem; margin: 0; }
.n8cart__items { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.n8cart__item { display: flex; gap: 14px; align-items: flex-start; }
.n8cart__item-img {
    width: 72px;
    height: 93px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #f0f0ee;
}
.n8cart__item-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.n8cart__item-info { flex: 1; min-width: 0; }
.n8cart__item-name { font-size: .85rem; font-weight: 700; color: var(--n8s-black); margin: 0 0 4px; line-height: 1.3; }
.n8cart__item-meta { font-size: .75rem; color: var(--n8s-light); margin: 0 0 6px; }
.n8cart__item-price { font-size: .88rem; font-weight: 800; color: var(--n8s-navy); margin: 0; }
.n8cart__item-remove {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--n8s-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color .15s;
    padding: 0;
}
.n8cart__item-remove:hover { color: #c0392b; }
.n8cart__foot {
    padding: 16px 20px 20px;
    border-top: 1px solid var(--n8s-border);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.n8cart__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .9rem;
    color: var(--n8s-black);
}
.n8cart__total strong { font-weight: 800; font-size: 1rem; color: var(--n8s-navy); }
.n8cart__checkout {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background: var(--n8s-navy);
    color: #fff;
    font-weight: 800;
    font-size: .95rem;
    font-family: inherit;
    letter-spacing: .04em;
    text-align: center;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s;
    text-transform: uppercase;
}
.n8cart__checkout:hover { background: var(--n8s-navy2); }
.n8cart__continue {
    display: block;
    width: 100%;
    padding: 10px 20px;
    background: none;
    color: var(--n8s-mute);
    font-size: .82rem;
    font-family: inherit;
    text-align: center;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    transition: color .15s;
}
.n8cart__continue:hover { color: var(--n8s-navy); }
