/* ==========================================================================
   Decisoft StockBoats — Page single bateau
   ========================================================================== */

.dsb-single__hero .row {
    flex-wrap: nowrap;
}

@media screen and (max-width: 771px) {
    .dsb-single__hero .row{
        flex-wrap: wrap;
        order: 1;
        margin-bottom: 32px;
    }
}
   
/* ── Galerie ─────────────────────────────────────────────────────────────── */
.dsb-gallery{
    margin-bottom: 32px;
}

@media screen and (max-width: 771px) {
    .dsb-single__gallery-col{
        order: 2;
    }
}
.dsb-gallery__main {
    width: 100%;
    overflow: hidden;
    background: #f1f1f1;
}
.dsb-gallery__main-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

@media screen and (max-width: 771px) {
    .dsb-gallery__main-img {
        height: 300px;
    }
}
.dsb-gallery__thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
}
.dsb-gallery__thumb {
    width: 110px;
    height: 72px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    flex-shrink: 0;
    border: 2px solid transparent;
}
.dsb-gallery__thumb:hover,
.dsb-gallery__thumb--active {
    opacity: 1;
    border-color: #D72064;
}
.dsb-gallery__placeholder {
    width: 100%;
    height: 380px;
    background: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
}
.dsb-gallery__placeholder svg {
    width: 80px;
    height: 80px;
}

/* ── Infos bateau ────────────────────────────────────────────────────────── */

.dsb-single__info-col {
    height: max-content;
    padding: 2rem !important;
    top: 120px !important;
    background: #FFF;
    box-shadow: 0 4px 50px 0 rgba(0, 0, 0, 0.10);
}

@media screen and (max-width: 771px) {
    .dsb-single__info-col{
        position: relative !important;
        top: 32px !important;
    }
}

.dsb-single__title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 10px;
    color: #1a1a1a !important;
}
.dsb-single__location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #666;
    margin: 0 0 20px;
}
.dsb-icon-pin {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #D72064;
}

/* ── Table caractéristiques ──────────────────────────────────────────────── */
.dsb-single__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-bottom: 24px;
}
.dsb-single__table tr {
    border-bottom: 1px solid #eee;
}
.dsb-single__table th {
    text-align: left;
    font-weight: 400;
    color: #888;
    padding: 8px 12px 8px 0;
    white-space: nowrap;
    width: 40%;
}
.dsb-single__table td {
    font-weight: 600;
    padding: 8px 0;
    color: #1a1a1a;
}

/* ── Prix ────────────────────────────────────────────────────────────────── */
.dsb-single__price {
    font-size: 30px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px;
}
.dsb-single__price-ttc {
    font-size: 14px;
    font-weight: 500;
    color: #666;
}

/* ── Description & mention ───────────────────────────────────────────────── */
.dsb-single__desc {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 12px;
}
.dsb-single__mention {
    font-size: 12px;
    color: #777;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* ── Boutons CTA ─────────────────────────────────────────────────────────── */
.dsb-single__cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.dsb-btn {
    display: block;
    width: 100%;
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: inherit !important;
    border: 2px solid transparent;
    transition: background 0.2s, color 0.2s;
}
.dsb-btn--primary {
    background: #D72064;
    color: #fff;
    border-color: #D72064;
}
.dsb-btn--outline {
    background: transparent;
    color: black;
    border-color: #D72064;
    cursor: default;
}

/* ── Section onglets ─────────────────────────────────────────────────────── */
.dsb-single__tabs-section.et_pb_section {
    margin-top: 32px;
    padding: 0;
    display: block;
}
.dsb-single__tabs-section .et_pb_row {
    display: block;
}
.dsb-tabs__nav {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 32px;
    gap: 0;
}
.dsb-tabs__btn {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}
.dsb-tabs__btn:hover {
    color: #1a1a1a;
}
.dsb-tabs__btn--active {
    color: #1a1a1a;
    border-bottom-color: #D72064;
}
.dsb-tabs__panel {
    display: none;
    padding-left: 24px;
}
.dsb-tabs__panel--active {
    display: block;
}
.dsb-tabs__panel-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px;
    color: black;
}

/* ── Liste caractéristiques ──────────────────────────────────────────────── */
.dsb-specs__list {
    list-style: disc;
    padding-left: 20px;
    columns: 2;
    gap: 32px;
    font-size: 14px;
    line-height: 1.8;
}
@media (max-width: 600px) {
    .dsb-specs__list {
        columns: 1;
    }
}

/* ── Grille équipements ──────────────────────────────────────────────────── */
.dsb-equip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 32px;
}
.dsb-equip-family__title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #D72064 !important;
    margin: 0 0 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 6px;
}
.dsb-equip-family__list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    line-height: 1.8;
    color: #444;
}

/* ── Carrousel pleine largeur ────────────────────────────────────────────── */
.dsb-fullgallery {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 48px;
    margin-bottom: 2rem;
    background: #111;

}
.dsb-fullgallery__track {
    display: flex;
    transition: transform 0.4s ease;
}
.dsb-fullgallery__slide {
    flex: 0 0 100%;
}
.dsb-fullgallery__slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}
.dsb-fullgallery__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    color: #fff;
    border: none;
    width: 48px;
    height: 48px;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 2;
}
.dsb-fullgallery__arrow:hover {
    background: rgba(0,0,0,0.75);
}
.dsb-fullgallery__arrow--prev { left: 16px; }
.dsb-fullgallery__arrow--next { right: 16px; }
