/* =====================================================================
   Onex Shop — index.css
   Direction : noir mat, jaune électrique, turquoise vif — identité
   graphique affirmée façon streetwear premium.
   ===================================================================== */

/* ---------------------------------------------------------------------
   Hero / carrousel
   --------------------------------------------------------------------- */
.onex-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.onex-hero__slide {
    min-height: 82vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-color: var(--ink);
    position: relative;
}

.onex-hero__slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10,10,11,0.82) 0%, rgba(10,10,11,0.45) 60%, rgba(10,10,11,0.15) 100%);
}

/*
.onex-hero__slide--dark {
    background-image:
        linear-gradient(120deg, rgba(10,10,11,0.88), rgba(10,10,11,0.6)),
        url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="1600" height="900"%3E%3Crect width="100%25" height="100%25" fill="%232B2B2E"/%3E%3C/svg%3E');
}

.onex-hero__slide--turquoise {
    background-image:
        linear-gradient(120deg, rgba(0,125,104,0.88), rgba(10,10,11,0.65)),
        url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="1600" height="900"%3E%3Crect width="100%25" height="100%25" fill="%232B2B2E"/%3E%3C/svg%3E');
}

.onex-hero__slide--noir {
    background-image:
        linear-gradient(120deg, rgba(0,0,0,0.94), rgba(0,0,0,0.7)),
        url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="1600" height="900"%3E%3Crect width="100%25" height="100%25" fill="%232B2B2E"/%3E%3C/svg%3E');
}

*/


.onex-hero__slide--dark {
  background-image: linear-gradient(120deg, rgba(10,10,11,0.88), rgba(10,10,11,0.6)), url('../images/hero/hero (1).jpg');
}

.onex-hero__slide--turquoise {
  background-image: linear-gradient(120deg, rgba(0,125,104,0.88), rgba(10,10,11,0.65)), url('../images/hero/hero (2).jpg');
}

.onex-hero__slide--noir {
  background-image: linear-gradient(120deg, rgba(0,0,0,0.94), rgba(0,0,0,0.7)), url('../images/hero/hero (4).jpg');
}


.onex-hero__content { position: relative; z-index: 2; max-width: 660px; color: var(--paper); }
.onex-hero__content h1 {
    color: var(--paper);
    font-size: clamp(2.6rem, 5.4vw, 4.6rem);
    line-height: 0.98;
}
.onex-hero__content h1 em {
    font-style: normal;
    color: var(--yellow);
}
.onex-hero__content p { color: rgba(255, 255, 255, 0.82); font-size: 1.08rem; max-width: 520px; font-family: var(--font-body); }
.onex-hero__content .eyebrow { color: var(--turquoise-light); }
.onex-hero__content .eyebrow::before { background: var(--yellow); }

.onex-hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

.onex-hero__carousel .carousel-control-prev,
.onex-hero__carousel .carousel-control-next { width: 5%; opacity: 1; }

.onex-hero__control {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid var(--yellow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--yellow);
    backdrop-filter: blur(4px);
    transition: background-color 0.25s ease, color 0.25s ease;
}

.onex-hero__control:hover { background: var(--yellow); color: var(--ink); }

.onex-hero__carousel .carousel-indicators [data-bs-target] {
    background-color: var(--yellow);
    width: 28px;
    height: 3px;
    border-radius: 2px;
}

/* ---------------------------------------------------------------------
   Bande ticker (signature) — voir .ticker-band dans global.css
   Placée entre la section hero et la section suivante (et non plus à
   l'intérieur du hero) pour ne jamais chevaucher le carrousel ni la
   barre de recherche flottante.
   --------------------------------------------------------------------- */
.onex-ticker-wrapper {
    position: relative;
    overflow: hidden;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

/* ---------------------------------------------------------------------
   Barre de recherche rapide flottante
   --------------------------------------------------------------------- */
.onex-quick-search {
    background: var(--white);
    border: 3px solid var(--ink);
    border-radius: var(--radius-md);
    box-shadow: 8px 8px 0 var(--turquoise);
    padding: 1.7rem 2rem;
    margin-top: -3.5rem;
    position: relative;
    z-index: 5;
}

.onex-quick-search__form {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    border: 2px solid var(--ink);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.5rem 0.5rem 1.4rem;
}

.onex-quick-search__form i { color: var(--ink); }

.onex-quick-search__form input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    font-family: var(--font-body);
}

.onex-quick-search__form input:focus { outline: none; }

.onex-quick-search__form .btn { border-radius: 2px; }

.onex-quick-search__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.2rem;
}

.onex-quick-search__tags a {
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-sm);
    background: var(--paper-dark);
    border: 2px solid transparent;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--ink);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.onex-quick-search__tags a:nth-child(1):hover { background: var(--turquoise); border-color: var(--ink); color: var(--white); }
.onex-quick-search__tags a:nth-child(2):hover { background: var(--ink); border-color: var(--ink); color: var(--yellow); }
.onex-quick-search__tags a:nth-child(3):hover { background: var(--yellow); border-color: var(--ink); color: var(--ink); }
.onex-quick-search__tags a:nth-child(4):hover { background: var(--turquoise-deep); border-color: var(--ink); color: var(--white); }
.onex-quick-search__tags a:nth-child(5):hover { background: var(--ink); border-color: var(--ink); color: var(--turquoise-light); }

/* ---------------------------------------------------------------------
   Réassurance
   --------------------------------------------------------------------- */
.onex-reassurance {
    padding-block: 3rem;
    border-bottom: 2px solid var(--ink);
    position: relative;
    z-index: 2;
}

.onex-reassurance__grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
    gap: 1rem;
}

.onex-reassurance__item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.9rem;
    min-width: 0;
    flex: 1 1 0;
    padding: 0.25rem 0;
}

.onex-reassurance__item i {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.onex-reassurance__item:nth-child(3n+2) i { background: var(--turquoise); color: var(--ink); }
.onex-reassurance__item:nth-child(3n+3) i { background: var(--yellow); color: var(--ink); }

.onex-reassurance__item h4 { font-size: 0.92rem; margin-bottom: 0.2rem; font-family: var(--font-body); font-weight: 700; text-transform: none; }
.onex-reassurance__item p { font-size: 0.78rem; color: var(--ink-soft); margin: 0; }

/* ---------------------------------------------------------------------
   En-têtes de section
   --------------------------------------------------------------------- */
.onex-section-heading { margin-bottom: 2.8rem; }
.onex-section-heading--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.onex-section-heading h2 { font-size: clamp(2rem, 3vw, 2.8rem); }

.onex-slider-nav { display: flex; gap: 0.6rem; }

/* ---------------------------------------------------------------------
   Grille de catégories
   --------------------------------------------------------------------- */
.onex-categories-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.2rem;
}

.onex-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2.1rem 1rem;
    background: linear-gradient(145deg, var(--white), var(--paper-dark));
    border: 2px solid var(--ink);
    border-radius: var(--radius-md);
    box-shadow: 6px 6px 0 var(--ink);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    min-height: 170px;
}

.onex-category-card:hover {
    transform: translate(-3px, -4px);
    background: var(--ink);
    color: var(--paper);
    box-shadow: 8px 8px 0 var(--yellow);
    border-color: var(--yellow);
}

.onex-category-card i {
    font-size: 1.3rem;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}

.onex-category-card:hover i {
    background: var(--yellow);
    color: var(--ink);
    transform: rotate(-8deg) scale(1.08);
}

.onex-category-card span {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

/* ---------------------------------------------------------------------
   Grille 4 colonnes (best-sellers)
   --------------------------------------------------------------------- */
.onex-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* ---------------------------------------------------------------------
   Offre spéciale + compte à rebours
   --------------------------------------------------------------------- */
.onex-special-offer { position: relative; overflow: hidden; }
.onex-special-offer::after {
    content: "";
    position: absolute;
    top: -40%;
    right: -10%;
    width: 60%;
    height: 180%;
    background: var(--turquoise);
    opacity: 0.12;
    transform: rotate(-12deg);
    pointer-events: none;
}

.onex-special-offer .onex-section-heading h2 { color: var(--yellow); }
.onex-special-offer .eyebrow { color: var(--turquoise-light); }
.onex-special-offer .eyebrow::before { background: var(--turquoise-light); }

.onex-countdown {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.onex-countdown div {
    background: var(--yellow);
    border: 2px solid var(--ink);
    border-radius: var(--radius-sm);
    padding: 1.1rem 1.5rem;
    text-align: center;
    min-width: 92px;
    box-shadow: 4px 4px 0 var(--turquoise);
}

.onex-countdown span { display: block; font-family: var(--font-display); font-size: 2.1rem; color: var(--ink); }
.onex-countdown small { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }

.onex-special-offer__products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 320px));
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

/* ---------------------------------------------------------------------
   Partenaires
   --------------------------------------------------------------------- */
.onex-partner-logo {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}

.onex-partner-logo:hover { opacity: 1; filter: grayscale(0%); transform: translateY(-3px); }
.onex-partner-logo img { max-height: 42px; width: auto; }

/* ---------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .onex-categories-grid { grid-template-columns: repeat(4, 1fr); }
    .onex-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .onex-reassurance__grid { grid-template-columns: repeat(2, 1fr); }
    .onex-special-offer__products { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .onex-reassurance__grid {
        grid-template-columns: 1fr;
    }

    .onex-reassurance__item {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .onex-categories-grid { grid-template-columns: repeat(2, 1fr); }
    .onex-hero__slide { min-height: 92vh; }
    .onex-quick-search { margin-top: -2.2rem; padding: 1.2rem; }
    .onex-quick-search__form { flex-wrap: wrap; }
    .onex-countdown { flex-wrap: wrap; }
}