/* =============================================
   THEME FR2 - WELLNESS NATURE (Pharmacie)
   Style: Vert Nature / Beige - Classes préfixées "wn-"
   ============================================= */

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

:root {
    /* Couleurs Wellness Nature */
    --wn-primary: #2D5A27;
    --wn-primary-light: #4A7C44;
    --wn-primary-dark: #1E3D1A;
    --wn-secondary: #8B7355;
    --wn-accent: #C4A77D;
    --wn-bg: #FEFDFB;
    --wn-bg-alt: #F5F1EB;
    --wn-bg-cream: #FAF8F5;

    --wn-text: #2C2C2C;
    --wn-text-light: #5A5A5A;
    --wn-text-muted: #8A8A8A;

    --wn-border: #E8E4DE;
    --wn-border-light: #F0EDE8;

    --wn-success: #4A7C44;
    --wn-warning: #D4A853;
    --wn-danger: #C75B5B;
    --wn-info: #5B8EC7;

    --wn-white: #FFFFFF;
    --wn-black: #1A1A1A;

    --wn-shadow-sm: 0 1px 3px rgba(45, 90, 39, 0.06);
    --wn-shadow: 0 2px 8px rgba(45, 90, 39, 0.08);
    --wn-shadow-md: 0 4px 16px rgba(45, 90, 39, 0.1);
    --wn-shadow-lg: 0 8px 32px rgba(45, 90, 39, 0.12);

    --wn-radius-sm: 6px;
    --wn-radius: 12px;
    --wn-radius-lg: 16px;
    --wn-radius-xl: 24px;
    --wn-radius-pill: 50px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--wn-bg);
    color: var(--wn-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

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

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

/* =============================================
   Announcement Bar - Bandeau supérieur
   ============================================= */

.wn-announcement-bar {
    background: var(--wn-bg-alt);
    color: var(--wn-primary);
    font-size: 0.8125rem;
    font-weight: 500;
    overflow: hidden;
    border-bottom: 1px solid var(--wn-border-light);
}

.wn-announcement-track {
    display: flex;
    align-items: center;
    height: 40px;
    overflow: hidden;
}

.wn-announcement-scroll {
    display: flex;
    animation: wnMarquee 40s linear infinite;
    white-space: nowrap;
}

.wn-announcement-scroll:hover {
    animation-play-state: paused;
}

.wn-announcement-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 48px;
}

.wn-announcement-item svg {
    width: 16px;
    height: 16px;
    color: var(--wn-primary-light);
}

@keyframes wnMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-25%); }
}

/* =============================================
   Site Header - Header Principal
   ============================================= */

.wn-site-header {
    background: var(--wn-bg);
    position: relative;
    z-index: 1000;
    box-shadow: var(--wn-shadow);
}

.wn-header-top {
    padding: 16px 0;
    border-bottom: 1px solid var(--wn-border-light);
}

.wn-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Logo Centré */
.wn-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.wn-brand img {
    height: 48px;
    width: auto;
}

.wn-brand-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--wn-primary) 0%, var(--wn-primary-light) 100%);
    border-radius: var(--wn-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wn-white);
}

.wn-brand-icon svg {
    width: 28px;
    height: 28px;
}

.wn-brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--wn-primary);
    letter-spacing: -0.02em;
}

/* Menu Hamburger Mobile */
.wn-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--wn-primary);
    border-radius: var(--wn-radius);
    transition: background 0.2s;
}

.wn-menu-toggle:hover {
    background: var(--wn-bg-alt);
}

.wn-menu-toggle svg {
    width: 24px;
    height: 24px;
}

@media (min-width: 769px) {
    .wn-menu-toggle {
        display: none;
    }
}

/* Barre de Recherche Pill */
.wn-search-wrap {
    flex: 1;
    max-width: 600px;
    display: none;
}

@media (min-width: 769px) {
    .wn-search-wrap {
        display: block;
    }
}

.wn-search-form {
    display: flex;
    align-items: center;
    height: 48px;
    background: var(--wn-bg-alt);
    border: 2px solid var(--wn-border);
    border-radius: var(--wn-radius-pill);
    overflow: visible;
    transition: border-color 0.2s, box-shadow 0.2s;
    position: relative;
}

.wn-search-form:focus-within {
    border-color: var(--wn-primary);
    box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.1);
    background: var(--wn-white);
}

.wn-search-icon {
    width: 20px;
    height: 20px;
    margin-left: 18px;
    color: var(--wn-text-muted);
    flex-shrink: 0;
}

.wn-search-input {
    flex: 1;
    height: 100%;
    padding: 0 18px;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    color: var(--wn-text);
    outline: none;
}

.wn-search-input::placeholder {
    color: var(--wn-text-muted);
}

.wn-search-select {
    height: 100%;
    padding: 0 16px;
    border: none;
    border-left: 1px solid var(--wn-border);
    background: transparent;
    font-size: 0.875rem;
    color: var(--wn-text-light);
    cursor: pointer;
    outline: none;
    min-width: 140px;
    display: none;
}

@media (min-width: 992px) {
    .wn-search-select {
        display: block;
    }
}

/* Boutons Header (Panier, Compte) */
.wn-header-tools {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wn-tool-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    color: var(--wn-text-light);
    border-radius: var(--wn-radius);
    transition: all 0.2s;
    position: relative;
}

.wn-tool-btn:hover {
    background: var(--wn-bg-alt);
    color: var(--wn-primary);
}

.wn-tool-btn svg {
    width: 24px;
    height: 24px;
}

.wn-tool-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    display: none;
}

@media (min-width: 769px) {
    .wn-tool-label {
        display: block;
    }
}

/* Bouton recherche mobile */
.wn-search-toggle {
    display: flex;
}

@media (min-width: 769px) {
    .wn-search-toggle {
        display: none;
    }
}

/* Navigation Principale */
.wn-main-nav {
    background: var(--wn-white);
    border-bottom: 1px solid var(--wn-border-light);
    display: none;
}

@media (min-width: 769px) {
    .wn-main-nav {
        display: block;
    }
}

.wn-nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
    overflow-x: auto;
    scrollbar-width: none;
}

.wn-nav-list::-webkit-scrollbar {
    display: none;
}

.wn-nav-link {
    display: block;
    padding: 14px 24px;
    color: var(--wn-text);
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
    position: relative;
    transition: color 0.2s;
}

.wn-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--wn-primary);
    border-radius: 3px 3px 0 0;
    transition: width 0.25s ease;
}

.wn-nav-link:hover {
    color: var(--wn-primary);
}

.wn-nav-link:hover::after {
    width: 60%;
}

/* Recherche Mobile Overlay */
.wn-mobile-search {
    display: none;
    padding: 12px 16px;
    background: var(--wn-bg-alt);
    border-bottom: 1px solid var(--wn-border);
}

.wn-mobile-search.active {
    display: block;
}

.wn-mobile-search-form {
    display: flex;
    align-items: center;
    height: 44px;
    background: var(--wn-white);
    border: 2px solid var(--wn-primary);
    border-radius: var(--wn-radius-pill);
    overflow: hidden;
}

.wn-mobile-search-icon {
    width: 18px;
    height: 18px;
    margin-left: 14px;
    color: var(--wn-primary);
}

.wn-mobile-search-input {
    flex: 1;
    height: 100%;
    padding: 0 14px;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    outline: none;
}

/* =============================================
   Mobile Drawer - Menu Mobile
   ============================================= */

.wn-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 2000;
}

.wn-mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.wn-mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: var(--wn-bg);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 2001;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.wn-mobile-overlay.active .wn-mobile-drawer {
    transform: translateX(0);
}

.wn-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--wn-bg-alt);
    border-bottom: 1px solid var(--wn-border);
}

.wn-drawer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wn-drawer-brand img {
    height: 36px;
}

.wn-drawer-brand span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--wn-primary);
}

.wn-drawer-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wn-text-light);
    border-radius: var(--wn-radius);
    transition: background 0.2s;
}

.wn-drawer-close:hover {
    background: var(--wn-border-light);
}

.wn-drawer-close svg {
    width: 24px;
    height: 24px;
}

.wn-drawer-nav {
    flex: 1;
    padding: 16px 0;
}

.wn-drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--wn-text);
    font-weight: 500;
    font-size: 0.95rem;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}

.wn-drawer-link:hover {
    background: var(--wn-bg-alt);
    border-left-color: var(--wn-primary);
    color: var(--wn-primary);
}

.wn-drawer-link svg {
    width: 20px;
    height: 20px;
    color: var(--wn-primary-light);
}

.wn-drawer-divider {
    height: 1px;
    background: var(--wn-border);
    margin: 12px 20px;
}

.wn-drawer-footer {
    padding: 20px;
    background: var(--wn-bg-alt);
    border-top: 1px solid var(--wn-border);
}

.wn-drawer-footer a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--wn-primary);
    color: var(--wn-white);
    border-radius: var(--wn-radius);
    font-weight: 600;
    justify-content: center;
}

.wn-drawer-footer a svg {
    width: 20px;
    height: 20px;
}

body.wn-menu-open {
    overflow: hidden;
}

/* =============================================
   Autocomplete Dropdown
   ============================================= */

.wn-autocomplete-dropdown {
    display: none;
    background: var(--wn-white);
    border: 1px solid var(--wn-border);
    border-radius: var(--wn-radius);
    box-shadow: var(--wn-shadow-lg);
    max-height: 400px;
    overflow-y: auto;
    position: absolute;
    z-index: 9999;
    width: 100%;
    top: 100%;
    left: 0;
}

.wn-autocomplete-dropdown.show {
    display: block;
}

.wn-autocomplete-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid var(--wn-border-light);
}

.wn-autocomplete-item:last-child {
    border-bottom: none;
}

.wn-autocomplete-item:hover,
.wn-autocomplete-item.selected {
    background: var(--wn-bg-alt);
}

.wn-autocomplete-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--wn-radius-sm);
    background: var(--wn-bg-alt);
}

.wn-autocomplete-text {
    flex: 1;
    min-width: 0;
}

.wn-autocomplete-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--wn-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wn-autocomplete-name strong {
    color: var(--wn-primary);
}

.wn-autocomplete-price {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--wn-primary);
    margin-top: 3px;
}

.wn-autocomplete-loading,
.wn-autocomplete-no-results,
.wn-autocomplete-error {
    padding: 20px;
    text-align: center;
    color: var(--wn-text-muted);
    font-size: 0.9rem;
}

.wn-autocomplete-error {
    color: var(--wn-danger);
}

/* =============================================
   Container & Layout
   ============================================= */

.wn-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.wn-main {
    min-height: calc(100vh - 200px);
    padding: 0;
}

/* =============================================
   Breadcrumb - Fil d'Ariane
   ============================================= */

.wn-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    font-size: 0.875rem;
    color: var(--wn-text-muted);
    flex-wrap: wrap;
}

.wn-breadcrumb a {
    color: var(--wn-text-light);
    transition: color 0.2s;
}

.wn-breadcrumb a:hover {
    color: var(--wn-primary);
}

.wn-breadcrumb svg {
    width: 14px;
    height: 14px;
    color: var(--wn-text-muted);
}

.wn-breadcrumb span:last-child {
    color: var(--wn-primary);
    font-weight: 500;
}

/* =============================================
   Section Titre
   ============================================= */

.wn-section-header {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--wn-bg-alt);
}

.wn-section-header h1,
.wn-section-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--wn-text);
    margin: 0 0 8px 0;
}

.wn-section-header p {
    color: var(--wn-text-light);
    font-size: 1rem;
    margin: 0;
}

/* =============================================
   Products Section - Accueil
   ============================================= */

.wn-products-section {
    padding: 40px 0 60px;
}

.wn-home-intro {
    font-size: 1rem;
    color: var(--wn-text-light);
    margin-bottom: 24px;
    line-height: 1.7;
}

/* Sort Bar */
.wn-sort-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--wn-bg-alt);
    border-radius: var(--wn-radius);
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.wn-results-count {
    font-size: 0.9rem;
    color: var(--wn-text-light);
    font-weight: 500;
}

.wn-sort-select {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wn-sort-select label {
    font-size: 0.875rem;
    color: var(--wn-text-muted);
}

.wn-sort-select select {
    padding: 8px 14px;
    border: 1px solid var(--wn-border);
    border-radius: var(--wn-radius-sm);
    background: var(--wn-white);
    font-size: 0.875rem;
    color: var(--wn-text);
    cursor: pointer;
    outline: none;
}

.wn-sort-select select:focus {
    border-color: var(--wn-primary);
}

/* =============================================
   Products Grid - Grille Produits
   ============================================= */

.wn-items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 576px) {
    .wn-items-grid {
        gap: 20px;
    }
}

@media (min-width: 768px) {
    .wn-items-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

@media (min-width: 1024px) {
    .wn-items-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* =============================================
   Product Card - Carte Produit
   ============================================= */

.wn-item-box {
    background: var(--wn-white);
    border-radius: var(--wn-radius-lg);
    overflow: hidden;
    box-shadow: var(--wn-shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.wn-item-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--wn-shadow-md);
}

.wn-item-link-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Image */
.wn-item-visual {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--wn-bg-alt);
}

.wn-item-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.wn-item-box:hover .wn-item-visual img {
    transform: scale(1.05);
}

/* Badge Promo - Forme organique/feuille */
.wn-promo-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, var(--wn-primary) 0%, var(--wn-primary-light) 100%);
    color: var(--wn-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px 6px 20px 6px;
    z-index: 2;
}

/* Body */
.wn-item-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wn-item-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--wn-text);
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Rating */
.wn-item-stars {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.wn-stars-filled {
    color: var(--wn-accent);
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.wn-rating-value {
    font-size: 0.8rem;
    color: var(--wn-text-muted);
    font-weight: 500;
}

/* Summary */
.wn-item-summary {
    font-size: 0.9rem;
    color: var(--wn-text-light);
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Prix */
.wn-item-pricing {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 12px;
}

.wn-item-cost {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--wn-primary);
}

.wn-item-was {
    font-size: 0.85rem;
    color: var(--wn-text-muted);
    text-decoration: line-through;
}

/* Bouton Acheter */
.wn-item-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    background: var(--wn-primary);
    color: var(--wn-white);
    border-radius: var(--wn-radius);
    font-size: 0.875rem;
    font-weight: 600;
    transition: background 0.2s;
    position: relative;
    z-index: 2;
}

.wn-item-action:hover {
    background: var(--wn-primary-dark);
}

.wn-item-action svg {
    width: 18px;
    height: 18px;
}

/* =============================================
   Pagination
   ============================================= */

.wn-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    padding: 20px 0;
    flex-wrap: wrap;
}

.wn-pagination .wn-btn {
    padding: 10px 20px;
}

.wn-page-info {
    font-size: 0.9rem;
    color: var(--wn-text-muted);
    padding: 0 16px;
}

.wn-pagination-numbers {
    display: flex;
    gap: 6px;
}

.wn-pagination-number {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--wn-radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--wn-text-light);
    transition: all 0.2s;
}

.wn-pagination-number:hover {
    background: var(--wn-bg-alt);
    color: var(--wn-primary);
}

.wn-pagination-number.active {
    background: var(--wn-primary);
    color: var(--wn-white);
}

/* =============================================
   Buttons
   ============================================= */

.wn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--wn-radius);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
}

.wn-btn-primary {
    background: var(--wn-primary);
    color: var(--wn-white);
}

.wn-btn-primary:hover {
    background: var(--wn-primary-dark);
}

.wn-btn-outline {
    background: transparent;
    color: var(--wn-primary);
    border: 2px solid var(--wn-primary);
}

.wn-btn-outline:hover {
    background: var(--wn-primary);
    color: var(--wn-white);
}

/* =============================================
   Reassurance Section
   ============================================= */

.wn-reassurance-section {
    padding: 40px 0 60px;
}

.wn-reassurance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 768px) {
    .wn-reassurance-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

.wn-reassurance-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: var(--wn-white);
    border-radius: var(--wn-radius-lg);
    border: 1px solid var(--wn-border-light);
}

.wn-reassurance-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--wn-bg-alt) 0%, var(--wn-border-light) 100%);
    border-radius: var(--wn-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wn-reassurance-icon svg {
    width: 24px;
    height: 24px;
    color: var(--wn-primary);
}

.wn-reassurance-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wn-reassurance-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--wn-text);
}

.wn-reassurance-desc {
    font-size: 0.8rem;
    color: var(--wn-text-muted);
}

/* =============================================
   Category Page
   ============================================= */

.wn-category-page {
    padding: 20px 0 60px;
}

.wn-category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--wn-bg-alt);
}

.wn-category-header-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--wn-text);
    margin: 0 0 8px 0;
}

@media (min-width: 768px) {
    .wn-category-header-text h1 {
        font-size: 1.75rem;
    }
}

.wn-category-header-text p {
    font-size: 0.95rem;
    color: var(--wn-text-light);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .wn-category-header {
        flex-direction: column;
        gap: 12px;
    }
}

/* =============================================
   Categories Grid
   ============================================= */

.wn-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (min-width: 768px) {
    .wn-categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

@media (min-width: 1024px) {
    .wn-categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.wn-category-card {
    display: block;
    background: var(--wn-white);
    border-radius: var(--wn-radius-lg);
    overflow: hidden;
    box-shadow: var(--wn-shadow-sm);
    transition: transform 0.25s, box-shadow 0.25s;
}

.wn-category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--wn-shadow-md);
}

.wn-category-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--wn-bg-alt);
}

.wn-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.wn-category-card:hover .wn-category-image img {
    transform: scale(1.05);
}

.wn-category-info {
    padding: 16px;
}

.wn-category-info h2 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--wn-text);
    margin: 0 0 6px 0;
}

.wn-category-info p {
    font-size: 0.85rem;
    color: var(--wn-text-muted);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =============================================
   Product Page - Page Produit
   ============================================= */

.wn-product-page {
    padding: 0 0 60px;
}

@media (max-width: 768px) {
    .wn-product-page .wn-container {
        padding: 0;
    }

    .wn-product-page .wn-breadcrumb {
        padding: 16px 20px;
    }
}

.wn-product-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 992px) {
    .wn-product-layout {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}

/* Product Media */
.wn-product-media {
    position: relative;
}

.wn-product-image-main {
    position: relative;
    background: var(--wn-white);
    border-radius: var(--wn-radius-lg);
    overflow: hidden;
}

@media (max-width: 768px) {
    .wn-product-image-main {
        border-radius: 0;
    }
}

.wn-product-image-main img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    cursor: zoom-in;
}

.wn-product-discount-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, var(--wn-primary) 0%, var(--wn-primary-light) 100%);
    color: var(--wn-white);
    font-size: 0.875rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 20px 6px 20px 6px;
    z-index: 2;
}

.wn-product-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    padding: 0 16px;
    overflow-x: auto;
}

@media (min-width: 769px) {
    .wn-product-thumbnails {
        padding: 0;
    }
}

.wn-thumb {
    width: 70px;
    height: 70px;
    border-radius: var(--wn-radius-sm);
    overflow: hidden;
    border: 2px solid var(--wn-border);
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.2s;
}

.wn-thumb:hover,
.wn-thumb.active {
    border-color: var(--wn-primary);
}

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

/* Product Info */
.wn-product-info {
    padding: 20px;
}

@media (min-width: 992px) {
    .wn-product-info {
        padding: 0;
    }
}

.wn-product-info-inner {
    background: var(--wn-white);
    border-radius: var(--wn-radius-lg);
    padding: 24px;
    border: 1px solid var(--wn-border-light);
}

@media (max-width: 768px) {
    .wn-product-info-inner {
        border-radius: 0;
        border: 0;
        border-top: 1px solid var(--wn-border-light);
    }
}

.wn-product-header {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.wn-product-ref {
    font-size: 0.8rem;
    color: var(--wn-text-muted);
}

.wn-product-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--wn-radius-pill);
}

.wn-product-stock.in-stock {
    background: rgba(74, 124, 68, 0.1);
    color: var(--wn-success);
}

.wn-product-stock.low-stock {
    background: rgba(212, 168, 83, 0.1);
    color: var(--wn-warning);
}

.wn-product-stock svg {
    width: 14px;
    height: 14px;
}

.wn-product-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--wn-text);
    margin: 0 0 16px 0;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .wn-product-title {
        font-size: 1.75rem;
    }
}

/* Social Proof */
.wn-product-social-proof {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.wn-product-social-proof .wn-stars-filled {
    color: var(--wn-accent);
    font-size: 1rem;
}

.wn-product-social-proof .wn-rating-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--wn-text);
}

.wn-product-social-proof .separator {
    color: var(--wn-text-muted);
}

.wn-product-social-proof .sales-info {
    font-size: 0.85rem;
    color: #2D5A27;
    font-weight: 800;
}

/* Product Description */
.wn-product-excerpt {
    font-size: 0.95rem;
    color: var(--wn-text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

.wn-product-excerpt .check {
    color: var(--wn-primary);
    font-weight: 700;
}

.wn-product-summary {
    font-size: 0.9rem;
    color: var(--wn-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: var(--wn-bg-alt);
    border-radius: var(--wn-radius);
}

/* Pricing */
.wn-product-pricing {
    margin-bottom: 20px;
    padding: 16px;
    background: var(--wn-bg-alt);
    border-radius: var(--wn-radius);
}

.wn-pricing-main {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.wn-product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--wn-primary);
}

.wn-product-price-old {
    font-size: 1.1rem;
    color: var(--wn-text-muted);
    text-decoration: line-through;
}

.wn-price-discount-badge {
    background: var(--wn-danger);
    color: var(--wn-white);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--wn-radius-sm);
}

.wn-pricing-savings {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--wn-success);
    font-weight: 500;
}

.wn-pricing-savings svg {
    width: 18px;
    height: 18px;
}

/* Buy Button */
.wn-btn-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--wn-primary) 0%, var(--wn-primary-light) 100%);
    color: var(--wn-white);
    border-radius: var(--wn-radius);
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(45, 90, 39, 0.3);
}

.wn-btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 90, 39, 0.4);
}

.wn-btn-buy svg {
    width: 22px;
    height: 22px;
}

/* Guarantees */
.wn-product-guarantees {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--wn-border-light);
}

@media (min-width: 576px) {
    .wn-product-guarantees {
        grid-template-columns: repeat(3, 1fr);
    }
}

.wn-guarantee {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--wn-bg-alt);
    border-radius: var(--wn-radius);
}

.wn-guarantee svg {
    width: 32px;
    height: 32px;
    color: var(--wn-primary);
    flex-shrink: 0;
}

.wn-guarantee div {
    display: flex;
    flex-direction: column;
}

.wn-guarantee strong {
    font-size: 0.85rem;
    color: var(--wn-text);
}

.wn-guarantee span {
    font-size: 0.75rem;
    color: var(--wn-text-muted);
}

/* Product Description Section */
.wn-product-description {
    margin-top: 40px;
    background: var(--wn-white);
    border-radius: var(--wn-radius-lg);
    overflow: hidden;
    border: 1px solid var(--wn-border-light);
}

@media (max-width: 768px) {
    .wn-mobile-padding-wrapper {
        padding: 0 20px;
    }
}

.wn-description-tabs {
    border-bottom: 1px solid var(--wn-border-light);
}

.wn-description-tab {
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--wn-primary);
    background: var(--wn-bg-alt);
    border: none;
    cursor: pointer;
}

.wn-description-text {
    padding: 24px;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--wn-text);
}

.wn-description-text h2,
.wn-description-text h3,
.wn-description-text h4 {
    margin: 24px 0 12px;
    color: var(--wn-text);
}

.wn-description-text h2:first-child,
.wn-description-text h3:first-child {
    margin-top: 0;
}

.wn-description-text p {
    margin-bottom: 16px;
}

.wn-description-text ul,
.wn-description-text ol {
    margin: 16px 0;
    padding-left: 24px;
}

.wn-description-text li {
    margin-bottom: 8px;
}

/* Similar Products */
.wn-similar-products {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid var(--wn-bg-alt);
}

@media (max-width: 768px) {
    .wn-similar-products {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.wn-similar-products h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--wn-text);
    margin-bottom: 24px;
}

/* Sticky CTA Mobile */
.wn-sticky-cta-mobile {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--wn-white);
    border-top: 1px solid var(--wn-border);
    padding: 12px 16px;
    z-index: 1000;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
    .wn-sticky-cta-mobile {
        display: block;
    }

    .wn-product-page {
        padding-bottom: 0px;
    }
}

.wn-sticky-cta-content {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.wn-sticky-cta-image {
    display: block;
    width: 50px;
    height: 50px;
    min-width: 50px;
    max-width: 50px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: var(--wn-radius);
    background-color: #f5f5f5;
    border: 1px solid var(--wn-border);
}

.wn-sticky-cta-info {
    flex: 1;
    min-width: 0;
}

.wn-sticky-cta-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--wn-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wn-sticky-cta-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--wn-primary);
}

.wn-sticky-cta-btn {
    padding: 12px 24px;
    background: var(--wn-primary);
    color: var(--wn-white);
    border-radius: var(--wn-radius);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Image Modal */
.wn-image-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.wn-image-modal.show {
    display: flex;
}

.wn-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    color: var(--wn-white);
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.2s;
}

.wn-modal-close:hover {
    opacity: 0.7;
}

.wn-modal-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

/* =============================================
   Cart Page - Panier
   ============================================= */

.wn-cart-page {
    padding: 30px 0 60px;
    min-height: 60vh;
}

.wn-cart-container {
    background: var(--wn-white);
    border-radius: var(--wn-radius-lg);
    border: 1px solid var(--wn-border-light);
    box-shadow: var(--wn-shadow);
    padding: 48px 32px;
    text-align: center;
    max-width: 480px;
    margin: 32px auto 0;
}

.wn-cart-icon {
    color: var(--wn-border);
    margin-bottom: 20px;
}

.wn-cart-icon svg {
    width: 80px;
    height: 80px;
}

.wn-cart-container h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--wn-text);
    margin: 0 0 12px 0;
}

.wn-cart-container p {
    font-size: 1rem;
    color: var(--wn-text-light);
    margin: 0 0 28px 0;
}

@media (max-width: 767px) {
    .wn-cart-page {
        padding: 20px 0 40px;
    }

    .wn-cart-container {
        margin: 20px 16px 0;
        padding: 36px 24px;
    }

    .wn-cart-icon svg {
        width: 60px;
        height: 60px;
    }

    .wn-cart-container h1 {
        font-size: 1.25rem;
    }
}

/* =============================================
   Account Page - Compte
   ============================================= */

.wn-account-page {
    padding: 30px 0 60px;
    min-height: 60vh;
}

.wn-account-container {
    max-width: 420px;
    margin: 32px auto 0;
}

.wn-account-form {
    background: var(--wn-white);
    border-radius: var(--wn-radius-lg);
    border: 1px solid var(--wn-border-light);
    box-shadow: var(--wn-shadow);
    padding: 40px 32px;
    text-align: center;
}

.wn-account-icon {
    color: var(--wn-primary);
    margin-bottom: 16px;
}

.wn-account-icon svg {
    width: 50px;
    height: 50px;
}

.wn-account-form h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--wn-text);
    margin: 0 0 8px 0;
}

.wn-account-form > p {
    font-size: 0.95rem;
    color: var(--wn-text-light);
    margin: 0 0 28px 0;
}

.wn-account-form form {
    text-align: left;
}

.wn-form-group {
    margin-bottom: 18px;
}

.wn-form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--wn-text);
    margin-bottom: 6px;
}

.wn-form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--wn-border);
    border-radius: var(--wn-radius);
    font-size: 1rem;
    color: var(--wn-text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.wn-form-group input:focus {
    outline: none;
    border-color: var(--wn-primary);
    box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.1);
}

.wn-form-group input::placeholder {
    color: var(--wn-text-muted);
}

.wn-account-form .wn-btn-primary {
    width: 100%;
    margin-top: 8px;
}

.wn-account-switch {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--wn-border-light);
}

.wn-account-switch a {
    color: var(--wn-primary);
    font-size: 0.95rem;
    font-weight: 500;
}

.wn-account-switch a:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .wn-account-page {
        padding: 20px 0 40px;
    }

    .wn-account-container {
        margin: 20px 16px 0;
    }

    .wn-account-form {
        padding: 32px 24px;
    }

    .wn-account-form h1 {
        font-size: 1.25rem;
    }
}

/* =============================================
   Search Page
   ============================================= */

.wn-search-page {
    padding: 30px 0 60px;
}

.wn-search-header {
    margin-bottom: 24px;
}

.wn-search-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--wn-text);
    margin: 0 0 8px 0;
}

.wn-search-count {
    font-size: 0.95rem;
    color: var(--wn-text-light);
}

.wn-search-error {
    background: rgba(199, 91, 91, 0.1);
    color: var(--wn-danger);
    padding: 16px 20px;
    border-radius: var(--wn-radius);
    margin-bottom: 24px;
}

.wn-no-results {
    text-align: center;
    padding: 48px 24px;
    color: var(--wn-text-light);
}

.wn-no-results a {
    color: var(--wn-primary);
    font-weight: 500;
}

.wn-no-results a:hover {
    text-decoration: underline;
}

/* =============================================
   Error Page - 404
   ============================================= */

.wn-error-page {
    text-align: center;
    padding: 80px 24px;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wn-error-page h1 {
    font-size: 6rem;
    font-weight: 800;
    color: var(--wn-primary);
    margin: 0;
    line-height: 1;
}

.wn-error-page h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--wn-text);
    margin: 16px 0;
}

.wn-error-page p {
    font-size: 1rem;
    color: var(--wn-text-light);
    margin: 0 0 32px 0;
}

/* =============================================
   Legal Pages
   ============================================= */

.wn-legal-page {
    padding: 30px 0 60px;
    max-width: 800px;
    margin: 0 auto;
}

.wn-legal-page h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--wn-text);
    margin: 0 0 24px 0;
}

.wn-legal-content {
    background: var(--wn-white);
    border-radius: var(--wn-radius-lg);
    padding: 32px;
    border: 1px solid var(--wn-border-light);
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--wn-text);
}

.wn-legal-content h2 {
    font-size: 1.25rem;
    margin: 32px 0 16px;
    color: var(--wn-text);
}

.wn-legal-content h2:first-child {
    margin-top: 0;
}

.wn-legal-content p {
    margin-bottom: 16px;
}

.wn-legal-content ul,
.wn-legal-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.wn-legal-content li {
    margin-bottom: 8px;
}

.wn-company-info {
    margin-top: 32px;
    padding: 24px;
    background: var(--wn-bg-alt);
    border-radius: var(--wn-radius);
}

.wn-company-info h2 {
    font-size: 1.1rem;
    margin: 0 0 16px 0;
}

.wn-company-info p {
    margin-bottom: 8px;
}

.wn-company-info a {
    color: var(--wn-primary);
}

.wn-company-info a:hover {
    text-decoration: underline;
}

/* =============================================
   Footer - Pied de page
   ============================================= */

.wn-site-footer {
    background: linear-gradient(180deg, var(--wn-bg-alt) 0%, var(--wn-bg-cream) 50%, rgba(45, 90, 39, 0.05) 100%);
    margin-top: 40px;
}

/* Newsletter */
.wn-newsletter {
    padding: 48px 24px;
    text-align: center;
    border-bottom: 1px solid var(--wn-border);
}

.wn-newsletter h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--wn-text);
    margin: 0 0 8px 0;
}

.wn-newsletter p {
    font-size: 0.95rem;
    color: var(--wn-text-light);
    margin: 0 0 24px 0;
}

.wn-newsletter-form {
    display: flex;
    max-width: 460px;
    margin: 0 auto;
    gap: 12px;
}

.wn-newsletter-input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid var(--wn-border);
    border-radius: var(--wn-radius-pill);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.wn-newsletter-input:focus {
    border-color: var(--wn-primary);
}

.wn-newsletter-btn {
    padding: 14px 28px;
    background: var(--wn-primary);
    color: var(--wn-white);
    border-radius: var(--wn-radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s;
}

.wn-newsletter-btn:hover {
    background: var(--wn-primary-dark);
}

@media (max-width: 480px) {
    .wn-newsletter-form {
        flex-direction: column;
    }

    .wn-newsletter-btn {
        width: 100%;
    }
}

/* Footer Grid */
.wn-footer-main {
    padding: 48px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.wn-footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

@media (min-width: 768px) {
    .wn-footer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }
}

.wn-footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--wn-text);
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--wn-primary);
    display: inline-block;
}

.wn-footer-col p {
    font-size: 0.9rem;
    color: var(--wn-text-light);
    line-height: 1.6;
    margin-bottom: 8px;
}

.wn-footer-col ul {
    list-style: none;
}

.wn-footer-col li {
    margin-bottom: 10px;
}

.wn-footer-col a {
    font-size: 0.9rem;
    color: var(--wn-text-light);
    transition: color 0.2s;
}

.wn-footer-col a:hover {
    color: var(--wn-primary);
}

.wn-footer-address {
    font-style: normal;
}

.wn-footer-phone a,
.wn-footer-email a {
    color: var(--wn-primary);
}

/* Social Links */
.wn-social-links {
    margin-top: 20px;
}

.wn-social-links h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--wn-text);
    margin: 0 0 12px 0;
}

.wn-social-links a {
    display: inline-block;
    margin-right: 12px;
    color: var(--wn-text-light);
    font-size: 0.9rem;
}

.wn-social-links a:hover {
    color: var(--wn-primary);
}

/* Hours */
.wn-footer-hours ul {
    list-style: none;
}

.wn-footer-hours li {
    font-size: 0.85rem;
    color: var(--wn-text-light);
    margin-bottom: 6px;
}

.wn-footer-hours li strong {
    color: var(--wn-text);
}

/* Footer Bottom */
.wn-footer-bottom {
    text-align: center;
    padding: 24px;
    border-top: 1px solid var(--wn-border);
    background: rgba(45, 90, 39, 0.03);
}

.wn-footer-bottom p {
    font-size: 0.875rem;
    color: var(--wn-text-muted);
    margin: 0;
}

/* =============================================
   Utilities
   ============================================= */

.wn-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;
}
