/* SHOP - Premium Product Cards */

.section__shop{
    --card-gap: 24px; /* Espace uniforme entre les cartes */
    width: 90%;
    padding: 100px 5% 220px;
    position: relative;
}

.shop__title{
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 44px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--colorHeading);
    margin-bottom: var(--spacing-md);
}

.shop__description{
    color: var(--colorText);
    width: 40%;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.7;
    padding-top: 10px;
    opacity: 0.9;
}

.shop__categories{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding-top: 50px;
}

.shop__category{
    margin: 0 15px 15px 0;
    background: var(--glassBackground);
    border: 1px solid var(--borderGlass);
    color: var(--colorText);
    font-weight: 500;
    font-size: 15px;
    padding: 20px 70px;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transitionMedium);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.shop__category:hover{
    background: var(--glassBackgroundHover);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--colorHeading);
    transform: translateY(-2px);
}

.shop__categories .active{
    background: var(--colorMainGradient);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadowGlow);
}

.shop__categories .active:hover{
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--colorMainGlow);
}


.shop__category:nth-child(1){
    margin-left: 0px;
}

.shop__cards{
    margin-top: 40px;
}

/* Grille + alignements uniformes (4 cartes par ligne) */
.shop__cards .row{
    display: flex;
    flex-wrap: wrap;
    gap: var(--card-gap);
    align-items: stretch; /* mêmes hauteurs visuelles */
}

/* Colonne générique pour une carte */
.shop__cards .col-lg-4{
    width: calc((100% - 3 * var(--card-gap)) / 4);
    display: flex;
}

/* À l'intérieur, la carte occupe toute la hauteur */
.shop__cards .col-lg-4 > .shop__card{ flex: 1; }

.shop__card{
    background: var(--glassBackground);
    border: 1px solid var(--borderGlass);
    border-radius: var(--radius-xl);
    padding: 22px 22px 26px 22px; /* plus compact */
    margin-bottom: 0; /* géré par gap */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px; /* respiration interne homogène */
    min-height: 460px; /* plus compact, mais cohérent */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transitionMedium);
    box-shadow: var(--shadowSm);
    position: relative;
    overflow: hidden;
}

.shop__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--colorMainGradient);
    opacity: 0;
    transition: var(--transitionMedium);
}

.shop__card:hover {
    background: var(--glassBackgroundHover);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-6px);
    box-shadow: var(--shadowLg);
}

.shop__card:hover::before {
    opacity: 1;
}

/* Etire les colonnes et les cartes pour aligner les hauteurs sur chaque ligne */

.shop__icon{
    width: 1880px; /* proportion demandée */
    height: auto;
    max-width: 100%;
    display: block;
    margin: 10px auto 18px auto;
}

.shop__card__title{
    font-size: 20px; /* titre plus visible */
    font-weight: 700;
    color: var(--colorHeading);
    margin-top: 0;
    margin-bottom: 8px; /* descriptions rapprochées */
    letter-spacing: -0.01em;
    text-align: left;
}

.shop__card__description{
    color: var(--colorText);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.55;
    margin-top: 0;
    margin-bottom: 14px; /* plus compact */
    opacity: 0.9;
    flex-grow: 0;
    text-align: left;
}

.shop__card__price{
    margin-top: auto; /* pousse le bloc prix+CTA vers le bas */
    margin-bottom: 12px;
    font-weight: 500;
    font-size: 13px; /* label discret */
    color: rgba(255,255,255,0.75);
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.shop__card__price span{
    margin-left: 2px;
    background: var(--colorMainGradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 20px;
}

.shop__card__purchase{
    margin-top: 0;
    background: var(--colorMainGradient);
    color: white;
    font-weight: 700;
    font-size: 14px;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transitionMedium);
    box-shadow: var(--shadowGlow);
    align-self: flex-start; /* bouton aligné au texte */
}

.shop__card__purchase:hover{
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--colorMainGlow);
}

.shop__card__icon{
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

.shop__card__icon path,
.shop__card__icon line {
    stroke: white !important;
}


@media only screen and (max-width: 1100px) {
    .section__shop{
        padding: 50px 5% 160px;
    }

    .shop__title{
        font-size: 38px;
    }

    .shop__description{
        width: 100%;
        font-size: 14px;
        padding-top: 5px;
    }

    .shop__card__purchase{
        width: 150px;
    }
    .shop__card{ min-height: 440px; }
}

@media only screen and (max-width: 900px) {
    .shop__category{
        width: 100%;
        text-align: center;
        margin: 0 0 12px;
    }
}
@media only screen and (max-width: 800px) {
    .shop__card{ min-height: 420px; }
}

/* GRILLE 4 COLONNES POUR SHOP - avec gap uniforme */
@media only screen and (max-width: 1400px) {
    .shop__cards .col-lg-4{ width: calc((100% - 2 * var(--card-gap)) / 3); }
}
@media only screen and (max-width: 1000px) {
    .shop__cards .col-lg-4{ width: calc((100% - 1 * var(--card-gap)) / 2); }
}
@media only screen and (max-width: 700px) {
    .shop__cards .col-lg-4{ width: 100%; }
}











