/* ============================================================
   AtelierCox — Les bons plans du moment
   Aligned with Elementor boxed sections (max-width 1140px)
   ============================================================ */
.acox-bons-plans {
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 0 48px;
}
.acox-bons-plans__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 24px;
}
.acox-bons-plans__title {
    font-family: 'Syne', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.4;
}
.acox-bons-plans__see-all {
    font-family: 'niveau-grotesk', 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #6B9113;
    text-decoration: none;
    white-space: nowrap;
}
.acox-bons-plans__see-all:hover {
    text-decoration: underline;
}

/* Grid */
.acox-bons-plans__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* Card */
.acox-bons-plans__card {
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    color: #333;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 0;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}
.acox-bons-plans__card:hover {
    box-shadow: 0 3px 12px rgba(0,0,0,0.07);
    text-decoration: none !important;
}

/* Image */
.acox-bons-plans__card-img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f5f5f5;
}
.acox-bons-plans__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Badge Soldes — flush top-left, no radius */
.acox-bons-plans__badge-soldes {
    position: absolute;
    top: 0;
    left: 0;
    background: #6B9113;
    color: #fff;
    font-family: 'niveau-grotesk', 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    font-style: italic;
    padding: 5px 12px;
    border-radius: 0;
    line-height: 1.3;
    letter-spacing: 0.2px;
}

/* Card Body */
.acox-bons-plans__card-body {
    padding: 12px 14px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Category */
.acox-bons-plans__card-cat {
    font-family: 'niveau-grotesk', 'Inter', sans-serif;
    font-size: 11px;
    color: #888;
    line-height: 1.3;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Title */
.acox-bons-plans__card-title {
    font-family: 'niveau-grotesk', 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Dimensions */
.acox-bons-plans__card-dimensions {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'niveau-grotesk', 'Inter', sans-serif;
    font-size: 12px;
    color: #666;
    margin-bottom: 12px;
}
.acox-bons-plans__card-dimensions svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

/* Pricing row */
.acox-bons-plans__card-pricing {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}
.acox-bons-plans__card-price {
    display: flex;
    align-items: flex-start;
    gap: 0;
}
.acox-price-euros {
    font-family: 'niveau-grotesk', 'Inter', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #6B9113;
    line-height: 1;
    letter-spacing: -0.5px;
}
.acox-price-cents {
    font-family: 'niveau-grotesk', 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #6B9113;
    margin-left: 1px;
    margin-top: 1px;
    line-height: 1;
}

/* Discount badge */
.acox-bons-plans__card-discount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #6B9113;
    color: #fff;
    font-family: 'niveau-grotesk', 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 2px;
    white-space: nowrap;
    line-height: 1;
    align-self: center;
}

/* Old price — crossed out below current price */
.acox-bons-plans__card-old-price {
    font-family: 'niveau-grotesk', 'Inter', sans-serif;
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
    margin-top: 4px;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
    .acox-bons-plans__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .acox-bons-plans__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .acox-bons-plans__title { font-size: 22px; }
    .acox-bons-plans__header { flex-direction: column; gap: 6px; }
    .acox-bons-plans { padding: 24px 0 32px; }
}
@media (max-width: 480px) {
    .acox-price-euros { font-size: 22px; }
    .acox-price-cents { font-size: 10px; }
    .acox-bons-plans__card-body { padding: 10px 10px 14px; }
}

/* ---- Hover : bordure 3px visuelle (overlay ::after, sans reflow) ---- */
.acox-bons-plans__card {
    position: relative;
}
.acox-bons-plans__card:hover::after {
    content: "";
    position: absolute;
    inset: 0px;
    border: 2px solid #E5E5E2;
    pointer-events: none;
}
