/* === Longtgreen — Curseur + hover produits (stable click) === */
:root {
    --lg-green: #2d6a4f;
    --lg-green-dark: #1b4332;
    --lg-gold: #c9a55c;
    --lg-cream: #f5e6c8;
}

/* Curseur desktop only */
@media (hover: hover) and (pointer: fine) {
    body, body a, body button {
        cursor: none !important;
    }
    body input[type="text"], body input[type="email"], body input[type="password"],
    body input[type="number"], body input[type="tel"], body input[type="search"],
    body textarea {
        cursor: text !important;
    }
}
.lg-cursor-dot, .lg-cursor-ring {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none !important;
    z-index: 99999;
    border-radius: 50%;
    will-change: transform;
    transition: opacity 0.3s ease, width 0.25s ease, height 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}
.lg-cursor-dot {
    width: 6px; height: 6px;
    background: var(--lg-green);
    box-shadow: 0 0 8px rgba(45, 106, 79, 0.9), 0 0 16px rgba(45, 106, 79, 0.5);
}
.lg-cursor-ring {
    width: 36px; height: 36px;
    border: 1.5px solid rgba(45, 106, 79, 0.55);
    background: radial-gradient(circle, rgba(201, 165, 92, 0.10) 0%, rgba(45, 106, 79, 0.18) 50%, transparent 100%);
    box-shadow: 0 0 24px rgba(45, 106, 79, 0.25);
}
.lg-cursor-ring.lg-cursor-active {
    width: 60px; height: 60px;
    border-color: rgba(201, 165, 92, 0.8);
    background: radial-gradient(circle, rgba(201, 165, 92, 0.20) 0%, rgba(45, 106, 79, 0.30) 60%, transparent 100%);
    box-shadow: 0 0 40px rgba(201, 165, 92, 0.45);
    margin: -12px 0 0 -12px;
}
.lg-cursor-dot.lg-cursor-active {
    width: 10px; height: 10px;
    background: var(--lg-gold);
    box-shadow: 0 0 12px rgba(201, 165, 92, 0.9), 0 0 24px rgba(201, 165, 92, 0.6);
    margin: -2px 0 0 -2px;
}

/* === Hover produits — SANS translate qui derange le clic === */
.product-miniature .thumbnail-container,
.js-product-miniature .thumbnail-container {
    transition: border-color 0.3s ease, box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
    border: 2px solid transparent !important;
    border-radius: 8px !important;
    overflow: hidden;
    background: #fff;
    position: relative;
}
.product-miniature .thumbnail-container:hover {
    border-color: var(--lg-green) !important;
    box-shadow: 0 8px 24px rgba(45, 106, 79, 0.22), 0 2px 6px rgba(27, 67, 50, 0.08) !important;
}

/* Image : leger zoom mais SANS bouger les coordonnees du clic */
.product-miniature .thumbnail-container img,
.js-product-miniature .thumbnail-container img {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.product-miniature .thumbnail-container:hover img,
.js-product-miniature .thumbnail-container:hover img {
    transform: scale(1.03); /* reduit de 1.06 a 1.03 pour clic plus stable */
}

/* Prix : transition douce, pas de scale agressive */
.product-miniature .product-price-and-shipping {
    transition: color 0.3s ease;
}
.product-miniature:hover .product-price-and-shipping {
    color: var(--lg-green-dark) !important;
}

/* Badge NEW */
.product-flag.new {
    background: linear-gradient(135deg, var(--lg-green), var(--lg-green-dark)) !important;
    color: #fff !important;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(45, 106, 79, 0.35);
}

/* IMPORTANT : assure que les liens du produit sont bien cliquables */
.product-miniature a,
.js-product-miniature a {
    cursor: none !important;
    position: relative;
    z-index: 2;
}
.product-miniature .thumbnail-top {
    cursor: pointer;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .product-miniature .thumbnail-container,
    .product-miniature .thumbnail-container img,
    .product-miniature .product-price-and-shipping {
        transition: none !important;
    }
}