/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* GÉNÉRAL */
:root {
    /* Masque l'affichage par défaut du titre de la page  */
    --page-title-display: none !important;
    --primary-color: #fff;
    --font-primary: "Konkret Grotesk";
    --font-heading: "Konkret Grotesk";
}

.elementor-widget-button[disabled="true"] a {
    cursor: not-allowed;
}
.elementor-menu-toggle .e-font-icon-svg {
    fill: #fff !important;
}
/* GÉNÉRAL */

/* SHOPIFY */
/* CART STYLES */
#cart-link {
    color: white !important;
}
.navigation__view-cart {
    position: relative;
}
.navigation__view-cart__quantity {
    color: #000;
    font-size: 10px !important;
    background: #fff;
    padding: 20%;
    border-radius: 6px;
    position: absolute;
    top: -35%;
    right: 0%;
    cursor: pointer;
    display: flex;
}
.navigation__view-cart__quantity:empty {
    display: none;
}
.navigation__view-cart span {
    align-items: center;
    display: flex;
    flex-direction: row;
    font-size: 0.875rem !important;
    gap: 0.5rem;
    justify-content: center;
    white-space: nowrap;
    cursor: pointer;
}
.navigation__view-cart span::after {
    content: '';
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 45'><path fill='white' d='M 23 2 C 18.385291 2 14.559689 5.5140788 14.058594 10 L 12 10 C 9.688 10 7.7634375 11.733203 7.5234375 14.033203 L 5.0234375 38.033203 C 4.8914375 39.298203 5.30425 40.566672 6.15625 41.513672 C 7.00825 42.458672 8.228 43 9.5 43 L 38.5 43 C 39.772 43 40.99175 42.458672 41.84375 41.513672 C 42.69575 40.567672 43.106609 39.298203 42.974609 38.033203 L 40.476562 14.033203 C 40.236562 11.733203 38.312 10 36 10 L 33.953125 10 C 33.984125 10.33 34 10.664 34 11 L 34 13 L 36 13 C 36.771 13 37.412187 13.578703 37.492188 14.345703 L 39.992188 38.345703 C 40.036187 38.767703 39.898234 39.189906 39.615234 39.503906 C 39.331234 39.818906 38.924 40 38.5 40 L 9.5 40 C 9.076 40 8.6697188 39.819859 8.3867188 39.505859 C 8.1027187 39.190859 7.9638125 38.767703 8.0078125 38.345703 L 10.507812 14.345703 C 10.587813 13.578703 11.229 13 12 13 L 14 13 L 14 16.5 A 1.50015 1.50015 0 1 0 17 16.5 L 17 11 C 17 7.6687195 19.668719 5 23 5 C 25.989762 5 28.439942 7.1510842 28.912109 10 L 19.132812 10 C 19.048812 10.32 19 10.654 19 11 L 19 13 L 29 13 L 29 16.5 A 1.50015 1.50015 0 1 0 32 16.5 L 32 11 C 32 6.0472805 27.952719 2 23 2 z' /></svg>");
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 15px;
}
.navigation__view-cart span:hover {
    text-decoration: underline;
}
/* CART STYLES */

/** MODAL STYLES **/
.product-modal {
    position: fixed;
    border: none;
    padding: 0;
    z-index: 9999;
    background: #fff;
    width: 95vw !important;
    max-width: 900px !important;
    max-height: 85vh !important;
    border-radius: 0px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.product-modal::backdrop {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
}

body.modal-open {
    height: 100vh !important;
    overflow: hidden !important;
    width: 100%;
}

.product-modal__container {
    padding: 20px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
}

.product-modal__layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 100%;
    overflow: hidden;
}

.product-modal__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: auto !important;
    max-height: 40vh !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    background: #fff;
    overflow: hidden;
}

.product-modal__media img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    background: none !important;
}

.product-modal__details {
    flex: 1;
    padding-top: 10px;
}

.product-modal__description-text {
    font-weight: 500 !important;
    color: #000 !important;
}

shopify-variant-selector::part(select) {
    max-width: 100% !important;
}

/* Ajustement Responsive */
@media (max-width: 767px) {
    .product-modal {
        width: 90vw !important;
        height: auto;
        max-height: 85vh !important;
        margin: auto;
    }

    .product-modal__title {
        font-size: 1.2rem !important;
        text-align: center;
    }

    .product-modal__close-container {
        top: 5px !important;
        right: 5px !important;
    }
}

@media (min-width: 768px) {
    .product-modal {
        margin: auto;
    }

    .product-modal__media {
        max-width: 450px;
        margin: 0 auto;
    }

    .product-modal__details {
        padding-right: 50px;
    }
}

@media (min-width: 1024px) {
    .product-modal__layout {
        flex-direction: row;
        align-items: flex-start;
        gap: 30px;
        position: relative;
    }
}

.product-modal__close-container {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 99999 !important;
}

.product-modal__close {
    pointer-events: auto !important;
    cursor: pointer !important;
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #eee;
    border-radius: 0 !important;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-modal__title {
    font-size: 1.5rem !important;
    font-weight: bold;
    margin-bottom: 10px;
}

.product-modal__price-container {
    margin-bottom: 15px;
    font-weight: bold;
}

.product-modal__add-button {
    width: 100%;
    padding: 12px;
    background: #000 !important;
    border: 2px solid #000 !important;
    border-radius: 0px !important;
    color: #fff !important;
    cursor: pointer !important;
}

.product-modal__add-button:hover {
    background: none !important;
    border-color: #000 !important;
    color: #000 !important;
}
/** MODAL STYLES **/

/* CARD STYLES */
.product-card {
    all: unset;
    cursor: pointer;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: 100% !important;

    /* Design de la carte */
    background-color: #ffffff !important;
    border: none !important;
    border-radius: 0px !important;
    padding: 20px !important;
    position: relative !important;
    overflow: hidden !important;

    /* Transition pour l'élévation et la bordure */
    transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease !important;
}

.product-card:hover {
    box-shadow: none !important; /* Petit effet de pression au clic */
}

.product-card:active {
    transform: scale(0.98); /* Petit effet de pression au clic */
}

/* Image du produit */
.product-card__image-container {
    height: 250px !important; /* Hauteur identique pour toutes les cartes */
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #fff !important;
    border-radius: 0px !important;
    margin-bottom: 15px;
    overflow: hidden;
    position: relative;
}

.product-card__image-container shopify-media {
    max-height: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.product-card__image-container img {
    max-height: 100% !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important; /* Crucial : garde les proportions */
    transition: all 0.75s ease-in-out;
    opacity: 0;
}

/* Si ajoute une classe une fois chargée */
.product-card__image-container img[src] {
    opacity: 1;
}

@keyframes skeleton-shine {
    to {
        background-position-x: -200%;
    }
}

/* Zoom de l'image seule au survol */
.product-card:hover .product-card__image-container img {
    transform: scale(1.08);
}

/* Détails du produit (Typographie) */
.product-card__details {
    flex-grow: 1 !important; /* Pousse le prix vers le bas */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0;
}

/* Titre : Limitation à 2 lignes avec points de suspension */
.product-card__title {
    font-size: 16px !important;
    text-align: center !important;
    line-height: 1.4 !important;
    height: 2.8em !important; /* Réserve l'espace pour 2 lignes */
    margin: 0 0 12px 0 !important;
    color: #111827 !important;
    font-weight: 600 !important;

    /* Moteur de troncature */
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Prix : Toujours aligné en bas grâce au margin-top: auto */
.product-card__price {
    margin-top: auto !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #000 !important;
    text-align: center !important;
}

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge {
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 0px !important;
    font-size: 10px !important;
}
.badge--soldout {
    background: #1a1a1a;
    color: #fff;
}
/* CARD STYLES */
/* SHOPIFY */

/* CUSTOM SLIDER HOME */
.custom-slider-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
    padding: 20px 15px;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .custom-slider-container {
        max-width: 90%;
        padding: 20px 40px;
    }
}

@media (min-width: 1200px) {
    .custom-slider-container {
        max-width: 1200px;
        padding: 20px 0;
    }
}

.custom-slider-navigation-group {
    display: flex;
    align-items: center;
    position: relative;
    gap: 10px;
    width: 100%;
}

.custom-slider-wrapper {
    display: flex !important;
    align-items: stretch !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;

    scroll-snap-type: x mandatory;
    scroll-padding-left: 15px;

    gap: 25px;
    padding: 30px 0 !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    clip-path: inset(-20px 0 -20px 0);
}
.custom-slider-wrapper::-webkit-scrollbar {
    display: none;
}

@media (min-width: 768px) {
    .custom-slider-wrapper {
        scroll-padding-left: 40px;
    }
}

.custom-slider-slide {
    display: flex !important;
    align-items: stretch !important;
    flex-direction: column;
    flex: 0 0 85% !important;
    width: 85% !important;
    min-width: 85% !important;

    background: transparent !important;
    box-shadow: none !important;
    border: none !important;

    padding: 10px 0 25px 0 !important;
    box-sizing: border-box !important;
    scroll-snap-align: start !important;
    position: relative;
    z-index: 1;
    transition: z-index 0s;
}

@media (min-width: 768px) {
    .custom-slider-slide {
        flex: 0 0 calc(50% - 12.5px) !important;
        width: calc(50% - 12.5px) !important;
        min-width: calc(50% - 12.5px) !important;
    }
}

@media (min-width: 1024px) {
    .custom-slider-slide {
        flex: 0 0 calc(33.333% - 16.6px) !important;
        width: calc(33.333% - 16.6px) !important;
        min-width: calc(33.333% - 16.6px) !important;
    }
}

.custom-slider-slide:hover {
    z-index: 10 !important;
}

/* Flèches (Reset Elementor) */
.slider-arrow {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
    min-height: auto !important;
    position: relative;
    z-index: 5 !important;
}

.slider-arrow svg {
    width: 32px;
    height: 32px;
    fill: #1a1a1a;
    transition: fill 0.3s, transform 0.2s;
}

.slider-arrow:hover svg {
    fill: var(--primary-color);
    transform: scale(1.2);
}

/* Pagination Dots */
.custom-slider-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 35px;
    min-height: 20px;
}

.slider-dot {
    position: relative;
    width: 10px;
    height: 10px;
    background: #e0e0e0;
    border-radius: 0 !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

/* ASTUCE UX : On crée une zone de clic invisible plus large */
.slider-dot::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
}

.slider-dot.is-active {
    width: 28px !important;
    border-radius: 0 !important;
    background: #000 !important;
}
/* CUSTOM SLIDER HOME */

/* PROGRESSIVE MERCH GRID */
.product-grid-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

@media (min-width: 768px) {
    .product-grid-container {
        max-width: 90%;
        padding: 0 40px;
    }
}

@media (min-width: 1200px) {
    .product-grid-container {
        max-width: 1200px;
    }
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    padding: 20px 0;
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

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

/* --- LOGIQUE DE RÉVÉLATION --- */

/* 1. On force l'état invisible au départ sur l'élément qui porte la classe de reveal */
.js-reveal-card {
    visibility: hidden !important; /* Cache l'élément mais garde son espace */
    opacity: 0 !important;
    transform: translateY(30px) !important;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0, 0.2, 1), visibility 0.8s !important;

    /* On enlève le display: none qui casse souvent le calcul des positions du JS */
    display: flex !important;
}

/* 2. L'état visible écrase tout avec une spécificité maximale */
body .js-reveal-card.is-visible {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Style du loader */
#merch-main-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 0;
    width: 100%;
    grid-column: 1 / -1;
}

#merch-main-loader svg {
    stroke: var(--primary-color);
}
/* PREGRESSIVE MERCH GRID */


/* TOUR */
.bit-widget .bit-play-my-city-cta,
.bit-widget .bit-follow-section-cta,
.bit-widget .bit-event .bit-button {
    border-radius: 0 !important;
}

.bit-widget .bit-play-my-city-cta:hover,
.bit-widget .bit-follow-section-cta:hover,
.bit-widget .bit-event .bit-button:hover {
    background-color: #000 !important;
    color: #fff !important;
}
/* TOUR */

/* HERO SECTION */
.slift-hero {
    padding: 2em 0;
    background: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media (max-width: 767px) {
    .slift-hero {
        height: 30vh;
    }
}

.slift-title-poetic {
    color: #000;
    text-shadow: 0 0 0px rgba(254, 184, 35, 0);
    font-family: var(--font-heading), sans-serif;
    font-size: clamp(2rem, 8vw, 5rem) !important;
    text-transform: uppercase;
    margin-bottom: 10px;
}
/* HERO SECTION */


/* Skeleton cards */
.skeleton-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.skeleton-card {
    height: 100px;
    background: #f0f0f0;
    margin-bottom: 15px;
    border-radius: 0px !important;
    position: relative;
    overflow: hidden;
}

/* L'effet de vague lumineuse */
.skeleton-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* Cacher le skeleton une fois chargé */
.skeleton-hidden {
    display: none !important;
}

/* Cosmic icon effect */
.cosmic-icon {
    animation: pulse-radar 2s infinite;
}

@keyframes pulse-radar {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}

/* SLIFT TERMINAL COOKIE BANNER STYLE */
/* Conteneur principal */
.cmplz-cookiebanner {
    background-color: #000000 !important;
    border: 1px solid #fff !important;
    border-radius: 0 !important;
    font-family: var(--font-primary), Courier, monospace !important;
    text-transform: uppercase !important;
}

.cmplz-cookiebanner .cmplz-close {
    color: #fff !important;
}

/* Texte et Titre */
.cmplz-cookiebanner .cmplz-title,
.cmplz-cookiebanner .cmplz-message {
    color: #ffffff !important;
    font-size: 13px !important;
    letter-spacing: 1px;
}

/* Boutons */
.cmplz-btn {
    border-radius: 0 !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
    letter-spacing: 1px !important;
}

/* Bouton Accepter (Or) */
.cmplz-btn.cmplz-accept {
    background-color: #fff !important;
    color: #000000 !important;
    border: none !important;
}

/* Bouton Refuser / Réglages (Contour blanc) */
.cmplz-btn.cmplz-deny,
.cmplz-btn.cmplz-view-settings {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
}

/* Liens de bas de bannière */
.cmplz-links .cmplz-link {
    color: #fff !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    font-size: 10px !important;
    letter-spacing: 1px !important;
}

.cmplz-links .cmplz-link:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}
/* Remplacement du texte "Toujours activé" par "ALWAYS ACTIVE" */
.cmplz-status-accepted,
.cmplz-always-active {
    font-size: 0 !important;
}

.cmplz-status-accepted::before,
.cmplz-always-active::before {
    content: "ALWAYS ACTIVE" !important;
    font-size: 10px !important;
    color: #fff !important;
    font-family: var(--font-primary), Courier, monospace !important;
}
/* --- MOBILE OPTIMIZATION & AIRING --- */

@media (max-width: 768px) {
    .cmplz-cookiebanner {
        width: calc(100% - 20px) !important;
        margin: 10px !important;
        padding: 15px !important;
        bottom: 10px !important;
    }
}

/* SOCIAL MEDIA PLACEHOLDER STYLE */
/* Style pour le calque qui bloque Instagram/Facebook/YouTube avant consentement */
.cmplz-placeholder-element {
    background-color: #000000 !important;
    border: 1px solid #fff !important;
    border-radius: 0 !important;
    color: #ffffff !important;
    font-family: var(--font-primary), Courier, monospace !important;
    text-transform: uppercase !important;
}

/* Style du bouton "Accepter" sur le placeholder */
.cmplz-blocked-content-container .cmplz-accept-cookies {
    background-color: #fff !important;
    color: #000000 !important;
    border-radius: 0 !important;
    font-size: 10px !important;
}

.cmplz-blocked-content-notice {
    border-radius: 0 !important;
}

.cmplz-blocked-content-notice:hover {
    color: #000 !important;
}
/* --- BOUTON DE GESTION APRES ACCEPTATION --- */

.cmplz-manage-consent {
    background-color: #000000 !important;
    border: 1px solid #fff !important;
    color: #fff !important;
    font-family: var(--font-primary), Courier, monospace !important;
    text-transform: uppercase !important;
    border-radius: 0 !important;
    padding: 8px 12px !important;
    font-size: 10px !important;
}

.cmplz-manage-consent:hover {
    background-color: #fff !important;
    color: #000000 !important;
}
/* SLIFT TERMINAL COOKIE BANNER STYLE */
