/* ============================================================
   SECTION PRODUITS — STYLE PREMIUM CLAIR (Option 3)
   Brod'Art Studio - 2025
============================================================ */

/* ------------------------------
   FOND ET STRUCTURE DE SECTION
------------------------------ */
#products {
    background: #f7f7f7;
    padding: 40px 0;
}

.products-title {
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    margin-bottom: 28px;
    color: #333;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    max-width: 1200px;
    margin: auto;
}

/* ------------------------------
   CARTE PRODUIT — STYLE CLAIR PREMIUM
------------------------------ */
.product-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    overflow: hidden;

    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform .20s ease, box-shadow .20s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ------------------------------
   CARROUSEL IMAGE
------------------------------ */
.product-media {
    background: #f0f0f0;
    border-bottom: 1px solid #e1e1e1;
    padding: 10px;
}

.product-media .swiper-slide img {
    width: 100%;
    object-fit: contain;
    padding: 14px;
    transition: transform .25s ease;
}

.product-card:hover .swiper-slide img {
    transform: scale(1.02);
}

/* ------------------------------
   INFOS PRODUIT
------------------------------ */
.card-info {
    background: #fafafa;
    padding: 18px 20px;
    text-align: center;
    color: #444;
    border-radius: 0 0 16px 16px;
}

.product-title {
    font-size: 1.22rem;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.card-desc {
    margin-top: 8px;
    font-size: 0.90rem;
    color: #666;
    line-height: 1.40;
}

/* ------------------------------
   FLÈCHES SWIPER — Version XS discrète
------------------------------ */

.product-card .swiper-button-next,
.product-card .swiper-button-prev {
    width: 28px;         /* plus petit */
    height: 28px;

    background: #ffffffc7; /* blanc très doux */
    border: 1px solid #d8d8d8;
    border-radius: 6px;

    color: #555 !important;          /* gris moyen */
    font-size: 12px !important;      /* icône plus petite */

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 1px 2px rgba(0,0,0,0.10);  /* très léger */
    transition: background .2s ease, transform .15s ease;
}

/* Hover subtil */
.product-card .swiper-button-next:hover,
.product-card .swiper-button-prev:hover {
    background: #ffffffdd;
    transform: scale(1.05);
}

/* Icônes finesse */
.product-card .swiper-button-next::after,
.product-card .swiper-button-prev::after {
    font-size: 12px !important;
    font-weight: 500;
}

/* Centrage vertical */
.product-card .swiper-button-next,
.product-card .swiper-button-prev {
    top: 50%;
    transform: translateY(-50%);
}

/* ------------------------------
   PAGINATION
------------------------------ */
.product-card .swiper-pagination-bullet {
    background: #bbb !important;
    opacity: 1;
}

.product-card .swiper-pagination-bullet-active {
    background: #333 !important;
    width: 18px;
    border-radius: 6px;
}

/* ---------------------------------------------
   SEO BLOCK — Version premium claire et élégante
---------------------------------------------- */
.seo-block {
    background: #ffffff;               /* blanc premium */
    border: 1px solid #e2e2e2;         /* bordure douce */
    border-radius: 12px;               /* même style que les produits */
    
    padding: 18px 24px;
    margin: 24px auto 30px;

    max-width: 900px;                  /* belle largeur lisible */
    text-align: center;

    color: #555;                       /* gris élégant */
    font-size: 0.95rem;
    line-height: 1.55;

    box-shadow: 0 3px 10px rgba(0,0,0,0.06);  /* ombre douce propre */
    
    transition: box-shadow .25s ease, transform .20s ease;
}

/* Effet premium au survol */
.seo-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(0,0,0,0.08);
}


/* ------------------------------
   LIGHTBOX (déjà intégré ailleurs mais sécurisé ici)
------------------------------ */
#lightbox-viewer img {
    border-radius: 12px;
}
.product-media img {
    pointer-events: auto !important;
    cursor: zoom-in;
}
