
.iv__container {
    width: min(var(--page-width), 100% - 2 * var(--page-gutter));
    margin: 20px auto;
    font-family: var(--font-body);
}

.iv__top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
/* Menu « ⋯ » (idée d'un autre membre) : à droite, le fil d'Ariane reste près du bouton retour */
.iv__top-bar { position: relative; }
.iv__top-bar .report-menu { margin-left: auto; }

.iv__back-btn {                 /* bouton du site (btn btn-white btn-sm) */
    flex-shrink: 0;
}

.iv__back-btn i {
    font-size: var(--text-xs);
    line-height: 1;
}

.iv__breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-sm);
    color: var(--c-subtle);
    flex-wrap: wrap;
}
.iv__breadcrumb a {
    color: var(--c-muted);
    text-decoration: none;
    transition: color 0.15s;
}
.iv__breadcrumb a:hover { color: var(--c-green); }
.iv__sep { color: var(--c-subtle); }
.iv__sep-current {
    color: var(--c-text);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
}

.iv__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.iv__col-image {
    position: sticky;
    top: 76px;     align-self: start; }

.iv__image-frame {
    position: relative;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.iv__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.iv__image-frame:hover .iv__image {
    transform: scale(1.03);
}

.iv__fav-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--c-danger-bg);
    color: var(--c-danger);
    font-size: var(--text-xs);
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 1;
    letter-spacing: 0.02em;
}

.iv__col-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.iv__name {
    font-family: var(--font-display);
    font-size: var(--text-title);
    font-weight: 700;
    color: var(--c-text);
    line-height: 1.2;
    margin: 0;
}

.iv__price {
    font-family: var(--font-display);
    font-size: var(--text-hero);
    font-weight: 700;
    color: var(--c-green);
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.iv__price-unit {
    font-family: var(--font-body);
    font-size: var(--text-xl);
    color: var(--c-green);
    opacity: 0.8;
}

.iv__cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Mention sous « Voir chez le marchand » quand le lien est affilié (Affiliates) */
.iv__affiliate { margin: 8px 0 0; font-size: var(--text-xs); color: var(--c-muted); }

.iv__co-section {
    margin-top: 14px;
    padding: 14px 16px;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
}
.iv__co-title {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--c-text);
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Participant : sa part (et son remboursement) */
.iv__co-myshare {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 10px 0 0;
    padding: 10px 14px;
    background: var(--c-green-tint);
    border: 1px solid var(--c-green-light);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    line-height: 1.5;
    color: var(--c-text);
}
.iv__co-myshare i {
    margin-top: 2px;
    color: var(--c-green);
}

.iv__co-invite-form {
    display: flex;
    gap: 8px;
    margin-top: 4px;
    position: relative;
}
.iv__co-invite-input {
    flex: 1;
    padding: 8px 12px;
    font-size: var(--text-sm);
}
.iv__reserved-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--c-gold-light);
    border: 1px solid var(--c-gold);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: var(--text-md);
    color: var(--c-text);
}
.iv__reserved-avatars {
    display: flex;
    flex-shrink: 0;
}
.iv__reserved-avatar-wrap {
    margin-right: -8px;
}
.iv__reserved-avatar-wrap:last-child { margin-right: 0; }
.iv__reserved-avatar {
    width: 32px;
    height: 32px;
    background: var(--c-gold);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: var(--text-xs);
    border: 2px solid white;
}
.iv__reserved-avatar--co {
    background: var(--c-green);
}
.iv__reserved-avatar--img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid white;
}
.iv__reserved-label {
    font-size: var(--text-sm);
    line-height: 1.5;
}

.iv__divider {
    border: none;
    border-top: 1px solid var(--c-border);
    margin: 0;
}

.iv__author {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--c-surface-alt);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 14px 16px;
}
.iv__author-avatar {
    width: 40px;
    height: 40px;
    background: var(--c-subtle);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: var(--text-lg);
    flex-shrink: 0;
}
.iv__author-avatar--img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}
.iv__author-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}
.iv__author-name {
    font-weight: 600;
    font-size: var(--text-md);
    color: var(--c-text);
}
.iv__author-date {
    font-size: var(--text-xs);
    color: var(--c-subtle);
}
.iv__author-badge {
    font-size: var(--text-2xs);
    font-weight: 600;
    color: var(--c-text);
    background: var(--c-gold-light);
    border: 1px solid var(--c-gold);
    border-radius: var(--radius-pill);
    padding: 4px 10px;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.iv__description-label,
.iv__actions-label {
    font-size: var(--text-2xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-subtle);
    margin: 0 0 8px;
}
.iv__description-text {
    font-size: var(--text-md);
    color: var(--c-muted);
    line-height: 1.7;
    margin: 0;
}
.iv__description-text em {
    color: var(--c-subtle);
}

.iv__actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Favori : bouton du site (btn btn-light), cœur rouge */
.iv__fav-btn i { color: var(--c-danger); }

@media (max-width: 1024px) {
    .iv__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .iv__col-image {
        position: static;
    }
    .iv__image-frame {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 640px) {
    .iv__top-bar { flex-direction: column; align-items: flex-start; gap: 10px; }
    .iv__top-bar .report-menu { position: absolute; top: 0; right: 0; margin-left: 0; }
    .iv__cta-row .btn,
    .iv__actions-row .btn { width: 100%; box-sizing: border-box; white-space: normal; line-height: 1.2; text-align: center; }
    .iv__actions-row { flex-direction: column; }
}

/* ── Autres souhaits ─────────────────────────────────────────── */
.iv__other-wishes {
    width: min(var(--page-width), 100% - 2 * var(--page-gutter));
    margin: 56px auto 72px;
    font-family: var(--font-body);
}

.iv__other-wishes__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 32px;
    position: relative;
}
.iv__other-wishes__header::before {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--c-green);
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
}

.iv__other-wishes__eyebrow {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-green);
    margin-bottom: 6px;
}

.iv__other-wishes__title {
    font-size: var(--text-3xl);
    font-weight: 600;
    color: var(--c-text);
    margin: 0 0 14px;
}

.iv__other-wishes__link {
    font-size: var(--text-md);
    font-weight: 600;
    color: var(--c-green);
    text-decoration: none;
    border: 1.5px solid var(--c-green);
    padding: 8px 20px;
    border-radius: var(--radius-lg);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s, color 0.2s;
}
.iv__other-wishes__link:hover {
    background: var(--c-green);
    color: #fff;
}

/* Grid 4 colonnes */
.iv__other-wishes__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Carte */
.iv__owc {
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--c-border);
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
    display: flex;
    flex-direction: column;
}
.iv__owc:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

/* Tag coup de cœur */
.iv__owc__fav-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--c-danger-bg);
    color: var(--c-danger);
    font-size: var(--text-2xs);
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
    letter-spacing: 0.02em;
}

/* Image */
.iv__owc__img {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--c-surface-alt);
    overflow: hidden;
}
.iv__owc__img img {
    width: 100%;
    height: 100%;
    box-sizing: border-box;   /* le padding reste dans le carré : image entière, pas coupée à droite et en bas */
    object-fit: contain;
    padding: 14px;
    transition: transform 0.3s;
}
.iv__owc:hover .iv__owc__img img { transform: scale(1.04); }

/* Overlay réservé */
.iv__owc__reserved-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    font-size: var(--text-md);
    font-weight: 600;
    backdrop-filter: blur(2px);
}
.iv__owc__reserved-overlay i { font-size: var(--text-3xl); }

/* Body */
.iv__owc__body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.iv__owc__name {
    font-size: var(--text-md);
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.iv__owc--reserved .iv__owc__name { color: var(--c-subtle); }

.iv__owc__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
}
.iv__owc__price {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--c-text);
}
.iv__owc--reserved .iv__owc__price { color: var(--c-subtle); }

.iv__owc__reserved-chip {
    font-size: var(--text-2xs);
    font-weight: 600;
    background: var(--c-gold-light);
    color: var(--c-gold);
    padding: 4px 8px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .iv__other-wishes__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .iv__other-wishes__title { font-size: var(--text-2xl); }
    .iv__other-wishes__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
