/* Guesty Bridge — styles de base. À overrider depuis ton thème ou Elementor. */

/* ─── Grille / cartes ─────────────────────────────────────── */

.guesty-listings-grid {
    display: grid;
    grid-template-columns: repeat(var(--guesty-cols, 3), 1fr);
    gap: 24px;
}
@media (max-width: 1024px) {
    .guesty-listings-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .guesty-listings-grid { grid-template-columns: 1fr; }
}

.guesty-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.guesty-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.guesty-card__media {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f3f3f3;
}
.guesty-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.guesty-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #eee, #ddd);
}
.guesty-card__body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.guesty-card__city {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #777;
}
.guesty-card__title {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.3;
}
.guesty-card__title a { color: inherit; text-decoration: none; }
.guesty-card__specs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 12px;
    font-size: 0.875rem;
    color: #555;
}
.guesty-card__specs li:not(:last-child)::after {
    content: '·';
    margin-left: 12px;
    color: #bbb;
}
.guesty-card__price { margin-top: auto; font-size: 1rem; }
.guesty-card__price strong { font-size: 1.1rem; }
.guesty-card__cta {
    margin-top: 12px;
    display: inline-block;
    padding: 10px 16px;
    background: #111;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    transition: background 0.2s ease;
    align-self: stretch;
}
.guesty-card__cta:hover { background: #333; }

/* ─── Search bar ─────────────────────────────────────────── */

.guesty-search {
    display: flex;
    gap: 8px;
    max-width: 600px;
    margin: 0 auto 32px;
}
.guesty-search__input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}
.guesty-search__btn {
    padding: 12px 20px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
}
.guesty-search__btn:hover { background: #333; }

.guesty-empty { text-align: center; color: #777; padding: 32px; }

/* ─── Single listing ─────────────────────────────────────── */

.guesty-single {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 20px 64px;
}

.guesty-single__gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 32px;
    position: relative;
}
.guesty-single__gallery-item {
    overflow: hidden;
    background: #f3f3f3;
}
.guesty-single__gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.guesty-single__gallery-item--0 {
    grid-row: 1 / span 2;
    grid-column: 1;
}
.guesty-single__gallery-item--1 { grid-row: 1; grid-column: 2; }
.guesty-single__gallery-item--2 { grid-row: 1; grid-column: 3; }
.guesty-single__gallery-item--3 { grid-row: 2; grid-column: 2; }
.guesty-single__gallery-item--4 { grid-row: 2; grid-column: 3; }

@media (max-width: 768px) {
    .guesty-single__gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        aspect-ratio: auto;
    }
    .guesty-single__gallery-item {
        aspect-ratio: 4 / 3;
    }
    .guesty-single__gallery-item--0,
    .guesty-single__gallery-item--1,
    .guesty-single__gallery-item--2,
    .guesty-single__gallery-item--3,
    .guesty-single__gallery-item--4 {
        grid-row: auto;
        grid-column: 1;
    }
    .guesty-single__gallery-item--3,
    .guesty-single__gallery-item--4 { display: none; }
}

.guesty-single__see-all {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: #fff;
    color: #111;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
}

.guesty-single__header { margin-bottom: 24px; }
.guesty-single__title { font-size: 2rem; margin: 0 0 8px; line-height: 1.2; }
.guesty-single__location { color: #555; margin: 0; font-size: 1rem; }

.guesty-single__layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
}
@media (max-width: 900px) {
    .guesty-single__layout { grid-template-columns: 1fr; gap: 32px; }
}

.guesty-single__specs {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    color: #444;
    font-size: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 24px;
}
.guesty-single__specs li:not(:last-child)::after {
    content: '·';
    margin-left: 20px;
    color: #bbb;
}

.guesty-single__description h2,
.guesty-single__amenities h2 {
    font-size: 1.25rem;
    margin: 24px 0 12px;
}
.guesty-single__description { line-height: 1.6; color: #333; }

.guesty-single__amenities ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
    color: #444;
}
.guesty-single__amenities li::before {
    content: '✓';
    margin-right: 8px;
    color: #4a9;
}

.guesty-single__sidebar { position: sticky; top: 24px; }

.guesty-single__booking {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
.guesty-single__price {
    margin-bottom: 16px;
    font-size: 1.5rem;
}
.guesty-single__price strong { font-size: 1.75rem; }
.guesty-single__price span { color: #777; font-size: 1rem; margin-left: 4px; }

.guesty-single__book-btn {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background: #111;
    color: #fff;
    text-decoration: none;
    text-align: center;
    border-radius: 8px;
    font-weight: 500;
    transition: background 0.2s ease;
}
.guesty-single__book-btn:hover { background: #333; }

.guesty-single__book-note {
    font-size: 0.8rem;
    color: #777;
    text-align: center;
    margin: 12px 0 0;
}

/* ─── Catalog widget ─────────────────────────────────────── */

.guesty-catalog { width: 100%; }

.guesty-catalog__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    width: 100%;
    box-sizing: border-box;
}

/* Override theme defaults that force display: block / width: 100% on inputs/selects */
.guesty-catalog__toolbar > input,
.guesty-catalog__toolbar > select,
.guesty-catalog__toolbar > button {
    display: inline-flex;
    width: auto;
    margin: 0;
    box-sizing: border-box;
    line-height: normal;
    height: auto;
    max-width: 100%;
}

.guesty-catalog__search-input {
    flex: 1 1 200px;
    min-width: 150px;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    background: #fff;
    color: #111;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.guesty-catalog__search-input:focus {
    outline: none;
    border-color: #111;
}

.guesty-catalog__filter {
    flex: 0 0 auto;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    background: #fff;
    color: #111;
    cursor: pointer;
    min-width: 110px;
    box-sizing: border-box;
    transition: border-color 0.15s ease;
}
.guesty-catalog__filter:focus {
    outline: none;
    border-color: #111;
}
.guesty-catalog__filter--price {
    min-width: 90px;
}

.guesty-catalog__reset {
    flex: 0 0 auto;
    padding: 10px 16px;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    color: #777;
    font-size: 0.9rem;
    transition: all 0.15s ease;
}
.guesty-catalog__reset:hover {
    border-color: #111;
    color: #111;
}

.guesty-catalog__count {
    margin-bottom: 16px;
    font-size: 0.875rem;
    color: #777;
}

.guesty-catalog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    transition: opacity 0.2s ease;
}
.guesty-catalog__grid.is-loading { opacity: 0.5; pointer-events: none; }

@media (max-width: 1024px) {
    .guesty-catalog__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .guesty-catalog__grid { grid-template-columns: 1fr; }
}

.guesty-catalog__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 64px 24px;
    color: #777;
    background: #fafafa;
    border-radius: 12px;
}

/* Pagination */
.guesty-catalog__pagination {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
}
.guesty-catalog__page {
    min-width: 40px;
    padding: 8px 14px;
    background: #fff;
    color: #111;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.15s ease;
    text-align: center;
    line-height: 1;
}
.guesty-catalog__page:hover:not(:disabled):not(.is-active) {
    background: #111;
    color: #fff;
    border-color: #111;
}
.guesty-catalog__page.is-active {
    background: #111;
    color: #fff;
    border-color: #111;
    cursor: default;
}
.guesty-catalog__page:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.guesty-catalog__page--ellipsis {
    background: transparent;
    border: none;
    cursor: default;
    pointer-events: none;
}

/* Catalog card */
.guesty-catalog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.guesty-catalog-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}
.guesty-catalog-card__media {
    display: block;
    height: 240px;
    overflow: hidden;
    background: #f3f3f3;
}
.guesty-catalog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.guesty-catalog-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #eee, #ddd);
}
.guesty-catalog-card__body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.guesty-catalog-card__city {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #777;
}
.guesty-catalog-card__title {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.3;
}
.guesty-catalog-card__title a { color: inherit; text-decoration: none; }
.guesty-catalog-card__type {
    margin: 0;
    font-size: 0.85rem;
    color: #555;
}
.guesty-catalog-card__specs {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
    display: flex;
    gap: 12px;
    font-size: 0.85rem;
    color: #555;
}
.guesty-catalog-card__specs li:not(:last-child)::after {
    content: '·';
    margin-left: 12px;
    color: #bbb;
}
.guesty-catalog-card__footer {
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.guesty-catalog-card__price {
    font-size: 1rem;
    color: #111;
}
.guesty-catalog-card__price strong { font-size: 1.05rem; }
.guesty-catalog-card__price span { font-size: 0.8rem; color: #777; margin-left: 2px; }
.guesty-catalog-card__cta {
    padding: 8px 14px;
    background: #111;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: background 0.2s ease;
    white-space: nowrap;
}
.guesty-catalog-card__cta:hover { background: #333; }

/* ═══════════════════════════════════════════════════════════
   SINGLE LISTING WIDGETS
   ═══════════════════════════════════════════════════════════ */

/* ─── Title widget (déjà ds le code, prefixe guesty-st) ───── */
.guesty-st__wrap {}
.guesty-st__title { margin: 0; line-height: 1.2; }
.guesty-st__location { margin: 0; color: #666; }

/* ─── Header widget ──────────────────────────────────────── */
.guesty-sh {}
.guesty-sh__eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
    font-weight: 500;
}
.guesty-sh__title { margin: 0; line-height: 1.15; }
.guesty-sh__location { margin: 0; color: #666; }

/* ─── Specs widget ───────────────────────────────────────── */
.guesty-sp {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    color: #444;
}
.guesty-sp__sep { color: #bbb; }

/* ─── Gallery widget ─────────────────────────────────────── */
.guesty-sg {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}
.guesty-sg__item {
    overflow: hidden;
    background: #f3f3f3;
}
.guesty-sg__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.guesty-sg__item--0 { grid-row: 1 / span 2; grid-column: 1; }
.guesty-sg__item--1 { grid-row: 1; grid-column: 2; }
.guesty-sg__item--2 { grid-row: 1; grid-column: 3; }
.guesty-sg__item--3 { grid-row: 2; grid-column: 2; }
.guesty-sg__item--4 { grid-row: 2; grid-column: 3; }

@media (max-width: 768px) {
    .guesty-sg {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        aspect-ratio: auto;
    }
    .guesty-sg__item { aspect-ratio: 4 / 3; }
    .guesty-sg__item--0,
    .guesty-sg__item--1,
    .guesty-sg__item--2,
    .guesty-sg__item--3,
    .guesty-sg__item--4 { grid-row: auto; grid-column: 1; }
    .guesty-sg__item--3,
    .guesty-sg__item--4 { display: none; }
}

.guesty-sg__see-all {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: #fff;
    color: #111;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.15s ease;
}
.guesty-sg__see-all:hover {
    background: #fafafa;
    border-color: #999;
}

/* ─── Description widget ──────────────────────────────────── */
.guesty-sd {}
.guesty-sd__title { margin: 0 0 16px; }
.guesty-sd__content {
    line-height: 1.65;
    color: #333;
}
.guesty-sd__content.is-truncated {
    display: -webkit-box;
    -webkit-line-clamp: var(--guesty-sd-lines, 6);
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.guesty-sd__content p { margin: 0 0 1em; }
.guesty-sd__content p:last-child { margin-bottom: 0; }
.guesty-sd__toggle {
    margin-top: 12px;
    background: transparent;
    border: none;
    color: #111;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
}

/* ─── Amenities widget ────────────────────────────────────── */
.guesty-sa {}
.guesty-sa__title { margin: 0 0 20px; }
.guesty-sa__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (max-width: 640px) {
    .guesty-sa__list { grid-template-columns: 1fr !important; }
}
.guesty-sa__item {
    color: #333;
    display: flex;
    align-items: center;
    line-height: 1.5;
}
.guesty-sa__list.has-check .guesty-sa__item::before {
    content: '✓';
    margin-right: 12px;
    color: #4a9;
    font-weight: bold;
    flex-shrink: 0;
}
.guesty-sa__see-all {
    margin-top: 24px;
    padding: 10px 24px;
    background: transparent;
    color: #111;
    border: 1px solid #111;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.15s ease;
}
.guesty-sa__see-all:hover {
    background: #111;
    color: #fff;
}

/* ─── Location widget ─────────────────────────────────────── */
.guesty-sl {}
.guesty-sl__title { margin: 0 0 8px; }
.guesty-sl__address { margin: 0 0 16px; color: #666; }
.guesty-sl__map {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    z-index: 1; /* Pour que Leaflet ne passe pas au-dessus des modals */
}

/* ─── Price widget ────────────────────────────────────────── */
.guesty-sprice {}
.guesty-sprice__prefix {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 4px;
}
.guesty-sprice__main {
    line-height: 1.2;
}
.guesty-sprice__amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111;
}
.guesty-sprice__unit {
    color: #888;
    font-size: 1rem;
    margin-left: 4px;
}

/* ─── Modal (galerie + amenities) ─────────────────────────── */
.guesty-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.guesty-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}
.guesty-modal__content {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 1100px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 16px;
    padding: 60px 32px 32px;
}
.guesty-modal__content--narrow {
    max-width: 600px;
}
.guesty-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: #111;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}
.guesty-modal__close:hover { background: #f3f3f3; }
.guesty-modal__title {
    margin: 0 0 24px;
    font-size: 1.5rem;
}
.guesty-modal__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.guesty-modal__grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}
.guesty-modal__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (max-width: 640px) {
    .guesty-modal__list { grid-template-columns: 1fr; }
}
.guesty-modal__list li {
    color: #333;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}
.guesty-modal__list.has-check li::before {
    content: '✓';
    margin-right: 12px;
    color: #4a9;
    font-weight: bold;
}

/* ═══════════════════════════════════════════════════════════
   COMPLETE WIDGET (gscom__) + BOOKING CARD
   ═══════════════════════════════════════════════════════════ */

.gscom {
    max-width: 1200px;
    margin: 0 auto;
    color: #1a1a1a;
}

.gscom__gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    margin-bottom: 32px;
}
.gscom__gallery-item {
    overflow: hidden;
    background: #f3f3f3;
    min-width: 0;
}
.gscom__gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Tablette : on garde 3 colonnes mais ratio plus carré */
@media (max-width: 1024px) {
    .gscom__gallery {
        aspect-ratio: 4 / 3 !important;
        border-radius: 12px !important;
    }
}

/* Mobile : on bascule en une seule grosse photo */
@media (max-width: 768px) {
    .gscom__gallery {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
        aspect-ratio: auto !important;
        margin-bottom: 20px !important;
    }
    .gscom__gallery-item {
        aspect-ratio: 4 / 3 !important;
    }
    .gscom__gallery-item.guesty-sg__item--1,
    .gscom__gallery-item.guesty-sg__item--2,
    .gscom__gallery-item.guesty-sg__item--3,
    .gscom__gallery-item.guesty-sg__item--4 {
        display: none !important;
    }
    .guesty-sg__see-all {
        bottom: 12px !important;
        right: 12px !important;
        font-size: 0.8rem !important;
        padding: 6px 12px !important;
    }
}

.gscom__main { min-width: 0; }
.gscom__sidebar { min-width: 0; }

.gscom__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 64px;
    align-items: start;
}

/* Tablette : sidebar passe sous le contenu */
@media (max-width: 1024px) {
    .gscom__layout {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 32px !important;
    }
    .gscom__sidebar.is-sticky {
        position: relative !important;
        top: auto !important;
    }
}

/* Mobile : padding/marges réduits */
@media (max-width: 600px) {
    .gscom {
        padding: 0 !important;
    }
    .gscom__layout {
        gap: 24px !important;
    }
    .gscom__main > * + * {
        margin-top: 24px !important;
        padding-top: 24px !important;
    }
}

.gscom__main > * + * {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid #e5e5e5;
}
.gscom__main > .gscom__sh,
.gscom__main > .gscom__sh + .gscom__sp {
    border-top: none !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
}
.gscom__main > .gscom__sh + .gscom__sp {
    margin-top: 16px !important;
}

.gscom__sh__eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
    font-weight: 500;
    margin-bottom: 8px;
}
.gscom__sh__title {
    margin: 0 0 8px;
    font-size: 2rem;
    line-height: 1.15;
    font-weight: 700;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.gscom__sh__location {
    margin: 0;
    color: #666;
    font-size: 1rem;
}
.gscom__sp {
    color: #444;
    font-size: 1rem;
}
.gscom__sd__title,
.gscom__sa__title,
.gscom__sl__title {
    margin: 0 0 16px;
    font-size: 1.4rem;
    font-weight: 600;
}

/* Mobile : tailles réduites par défaut (peut être overridées dans Elementor) */
@media (max-width: 600px) {
    .gscom__sh__title { font-size: 1.5rem !important; }
    .gscom__sd__title,
    .gscom__sa__title,
    .gscom__sl__title { font-size: 1.15rem !important; }
}
.gscom__sd__toggle {
    margin-top: 12px;
    background: transparent;
    border: none;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
}

.gscom__sl__address {
    margin: 0 0 16px;
    color: #666;
}
.gscom__sl__map {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    z-index: 1;
}

.gscom__see-all {
    margin-top: 24px;
    padding: 12px 24px;
    background: #D4A855;
    color: #fff;
    border: 1px solid #D4A855;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
    transition: opacity 0.15s ease;
}
.gscom__see-all:hover {
    opacity: 0.9;
}

/* ─── Sidebar booking ──────────────────────────────────── */
.gscom__sidebar {
    width: 100%;
}
.gscom__sidebar.is-sticky {
    position: sticky;
    top: 24px;
}

.gscom__booking-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.gscom__booking-header {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}
.gscom__booking-price strong {
    font-size: 1.6rem;
    font-weight: 700;
}
.gscom__booking-price .gscom__sprice__unit {
    color: #666;
    font-size: 1rem;
    margin-left: 4px;
}

.gscom__booking-form {}
.gscom__booking-dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}
.gscom__booking-input {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 14px;
    background: #fff;
}
.gscom__booking-input label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
    font-weight: 500;
}
.gscom__booking-input input,
.gscom__booking-input select {
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
    font-size: 0.95rem;
    color: #111;
    outline: none !important;
    box-shadow: none !important;
    width: 100%;
    font-family: inherit;
    cursor: pointer;
}

.gscom__booking-input--guests {
    margin-bottom: 16px;
}

.gscom__booking-quote {
    margin-bottom: 16px;
    padding: 16px;
    background: #fafafa;
    border-radius: 8px;
}
.gscom__booking-breakdown {
    list-style: none;
    padding: 0;
    margin: 0;
}
.gscom__booking-breakdown li {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    color: #444;
    font-size: 0.95rem;
}
.gscom__booking-breakdown li.gscom__booking-total {
    border-top: 1px solid #e5e5e5;
    margin-top: 8px;
    padding-top: 12px;
    font-weight: 700;
    color: #111;
    font-size: 1.05rem;
}
.gscom__booking-quote-note {
    margin: 12px 0 0;
    font-size: 0.8rem;
    color: #888;
    font-style: italic;
}

.gscom__booking-cta {
    width: 100%;
    padding: 14px 24px;
    background: #D4A855;
    color: #fff;
    border: 1px solid #D4A855;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}
.gscom__booking-cta:hover:not(.is-disabled):not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 168, 85, 0.25);
}
.gscom__booking-cta.is-disabled,
.gscom__booking-cta:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.gscom__booking-note {
    margin: 12px 0 0;
    font-size: 0.85rem;
    color: #c00;
    text-align: center;
    min-height: 1em;
}

/* ─── Flatpickr : dates indisponibles barrées ─────────────── */
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled.prevMonthDay,
.flatpickr-day.flatpickr-disabled.nextMonthDay {
    color: #d0d0d0 !important;
    text-decoration: line-through !important;
    background: transparent !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

.flatpickr-day.flatpickr-disabled:hover {
    background: transparent !important;
    color: #d0d0d0 !important;
}

/* Date sélectionnée (style accent) */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange {
    background: #1a1a1a !important;
    border-color: #1a1a1a !important;
    color: #fff !important;
}

/* Range entre check-in et check-out */
.flatpickr-day.inRange {
    background: #f3f3f3 !important;
    border-color: #f3f3f3 !important;
    box-shadow: -5px 0 0 #f3f3f3, 5px 0 0 #f3f3f3 !important;
    color: #1a1a1a !important;
}

/* Today */
.flatpickr-day.today {
    border-color: #D4A855 !important;
}


/* ═══════════════════════════════════════════════════════════
   BOOKING CARD — Vues 2 (rate plans) et 3 (résumé)
   Tout dans la même carte sidebar, pas de modal.
   ═══════════════════════════════════════════════════════════ */

.gscom__booking-view {}

.gscom__bv-back {
    background: transparent;
    border: none;
    padding: 0 0 12px;
    cursor: pointer;
    color: #666;
    font-size: 0.85rem;
    font-family: inherit;
    text-decoration: underline;
    display: inline-block;
}
.gscom__bv-back:hover { color: #111; text-decoration: underline; }

.gscom__bv-title {
    margin: 0 0 6px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
}
.gscom__bv-sub {
    margin: 0 0 16px;
    color: #666;
    font-size: 0.85rem;
}
.gscom__bv-loading {
    text-align: center;
    padding: 32px 0;
    color: #666;
    font-size: 0.9rem;
}
.gscom__bv-error {
    padding: 16px 0;
    color: #c00;
    text-align: center;
    font-size: 0.9rem;
}

/* Rate plans liste */
.gscom__bv-rateplans {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}
.gscom__bv-rateplan {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.gscom__bv-rateplan input[type="radio"] {
    accent-color: #1a1a1a;
    flex-shrink: 0;
    margin-top: 2px;
}
.gscom__bv-rateplan:hover { border-color: #999; }
.gscom__bv-rateplan.is-selected {
    border-color: #1a1a1a;
    background: #fafafa;
}
.gscom__bv-rateplan__main {
    flex: 1;
    min-width: 0;
}
.gscom__bv-rateplan__name {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-bottom: 4px;
}
.gscom__bv-rateplan__label {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.95rem;
}
.gscom__bv-rateplan__policy {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
}
.gscom__bv-rateplan__price {
    text-align: right;
    flex-shrink: 0;
}
.gscom__bv-rateplan__price strong {
    display: block;
    font-size: 1rem;
    color: #1a1a1a;
}
.gscom__bv-rateplan__price span {
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.gscom__bv-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.4;
}
.gscom__bv-badge--ok {
    background: #e8f5e9;
    color: #2e7d32;
}
.gscom__bv-badge--no {
    background: #ffebee;
    color: #c62828;
}

/* Résumé */
.gscom__bv-summary {
    padding: 10px 14px;
    background: #fafafa;
    border-radius: 8px;
    margin-bottom: 14px;
}
.gscom__bv-summary__name {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.9rem;
}

.gscom__bv-breakdown {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
}
.gscom__bv-breakdown li {
    display: flex;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
    font-size: 0.9rem;
}
.gscom__bv-breakdown li:last-child { border-bottom: none; }
.gscom__bv-breakdown li.gscom__bv-total {
    background: #fafafa;
    font-weight: 700;
    color: #1a1a1a;
    font-size: 1rem;
}

/* Coupon */
.gscom__bv-coupon {
    margin-bottom: 16px;
}
.gscom__bv-coupon label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
    font-weight: 500;
    margin-bottom: 6px;
}
.gscom__bv-coupon__row {
    display: flex;
    gap: 6px;
}
.gscom__bv-coupon__row input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
}
.gscom__bv-coupon__row input:focus {
    outline: none;
    border-color: #1a1a1a;
}
.gscom__bv-coupon-btn {
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid #D4A855;
    background: #D4A855;
    color: #fff;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.15s ease;
}
.gscom__bv-coupon-btn:hover {
    opacity: 0.9;
}
.gscom__bv-coupon__msg {
    margin: 6px 0 0;
    font-size: 0.8rem;
    min-height: 1em;
    color: #666;
}
.gscom__bv-coupon__msg.is-error { color: #c00; }
.gscom__bv-coupon__msg.is-success { color: #2a7; }

/* ─── Mobile responsive booking card ──────────────────── */
@media (max-width: 600px) {
    .gscom__layout {
        gap: 24px !important;
    }
    .gscom__sidebar {
        width: 100%;
    }
    .gscom__sidebar.is-sticky {
        position: relative !important;
        top: auto !important;
    }
    .gscom__booking-card {
        padding: 16px !important;
    }
    .gscom__booking-dates {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
    .gscom__booking-input {
        padding: 8px 10px;
    }
    .gscom__booking-input label {
        font-size: 0.65rem;
    }
    .gscom__booking-input input,
    .gscom__booking-input select {
        font-size: 0.85rem;
    }

    /* Vues 2 + 3 mobile */
    .gscom__bv-rateplan {
        padding: 10px;
        gap: 8px;
    }
    .gscom__bv-rateplan__price {
        text-align: right;
    }
    .gscom__bv-rateplan__price strong {
        font-size: 0.9rem;
    }
    .gscom__bv-rateplan__label {
        font-size: 0.85rem;
    }
    .gscom__bv-rateplan__policy {
        font-size: 0.75rem;
    }
    .gscom__bv-title {
        font-size: 1rem;
    }
    .gscom__bv-breakdown li {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    .gscom__bv-coupon__row {
        flex-direction: column;
        gap: 6px;
    }
    .gscom__bv-coupon-btn {
        width: 100%;
    }
}

/* Sticky : ne JAMAIS être sticky sous 1024px (la sidebar tombe sous le contenu) */
@media (max-width: 1024px) {
    .gscom__sidebar.is-sticky {
        position: static !important;
        top: auto !important;
    }
}

/* ═══════════════════════════════════════════════════════════
   PAGE CHECKOUT CUSTOM (/checkout-bien/)
   ═══════════════════════════════════════════════════════════ */

.guesty-checkout-page {
    padding: 40px 20px 80px;
    background: #fafafa;
    min-height: 70vh;
}
.guesty-checkout-page__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.guesty-checkout-back {
    display: inline-block;
    margin-bottom: 20px;
    color: #666;
    text-decoration: underline;
    font-size: 0.9rem;
}
.guesty-checkout-back:hover { color: #111; }

.guesty-checkout-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 32px;
    color: #1a1a1a;
}

.guesty-checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 48px;
    align-items: start;
}

@media (max-width: 1024px) {
    .guesty-checkout-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .guesty-checkout-summary-col { order: -1; }
}

.guesty-checkout-form-col {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #e5e5e5;
}

@media (max-width: 600px) {
    .guesty-checkout-form-col { padding: 20px; }
    .guesty-checkout-page { padding: 20px 12px 60px; }
    .guesty-checkout-title { font-size: 1.4rem; }
}

.guesty-checkout-fieldset {
    border: none;
    padding: 0;
    margin: 0 0 24px;
}
.guesty-checkout-fieldset legend {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a1a;
    padding: 0;
}

.guesty-checkout-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
@media (max-width: 480px) {
    .guesty-checkout-row { grid-template-columns: 1fr; }
}

.guesty-checkout-field {
    margin-bottom: 12px;
}
.guesty-checkout-field label {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 4px;
    font-weight: 500;
}
.guesty-checkout-field input[type="text"],
.guesty-checkout-field input[type="email"],
.guesty-checkout-field input[type="tel"],
.guesty-checkout-field select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
    color: #1a1a1a;
}
.guesty-checkout-field input:focus,
.guesty-checkout-field select:focus {
    outline: none;
    border-color: #1a1a1a;
}

.guesty-checkout-field--checkbox {
    margin: 16px 0 24px;
}
.guesty-checkout-field--checkbox label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.9rem;
    color: #444;
    cursor: pointer;
}
.guesty-checkout-field--checkbox input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

.guesty-checkout-payment {
    min-height: 200px;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}
.guesty-checkout-payment iframe {
    width: 100% !important;
    border: none !important;
    background: transparent !important;
    display: block;
}

.guesty-checkout-payment-note {
    margin: 12px 0 0;
    font-size: 0.8rem;
    color: #888;
    font-style: italic;
}

.guesty-checkout-submit {
    width: 100%;
    padding: 16px 24px;
    background: #D4A855;
    color: #fff;
    border: 1px solid #D4A855;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: opacity 0.15s ease;
}
.guesty-checkout-submit:hover:not(:disabled) { opacity: 0.9; }
.guesty-checkout-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.guesty-checkout-error {
    margin: 12px 0 0;
    color: #c00;
    font-size: 0.9rem;
    text-align: center;
    min-height: 1em;
}

.guesty-checkout-loading {
    text-align: center;
    padding: 60px 20px;
}
.guesty-checkout-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f0f0f0;
    border-top-color: #D4A855;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: gco-spin 0.8s linear infinite;
}
@keyframes gco-spin {
    to { transform: rotate(360deg); }
}

/* ─── Sidebar récap ─────────────────────────────────────── */
.guesty-checkout-summary {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #e5e5e5;
    position: sticky;
    top: 20px;
}

.guesty-checkout-summary__listing {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}
.guesty-checkout-summary__listing img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
.guesty-checkout-summary__listing h3 {
    margin: 0 0 4px;
    font-size: 0.95rem;
    line-height: 1.3;
    color: #1a1a1a;
}
.guesty-checkout-summary__listing p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
}

.guesty-checkout-summary__dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
    padding: 12px;
    background: #fafafa;
    border-radius: 8px;
}
.guesty-checkout-summary__dates > div {
    display: flex;
    flex-direction: column;
}
.guesty-checkout-summary__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}
.guesty-checkout-summary__dates strong {
    color: #1a1a1a;
    font-size: 0.9rem;
}

.guesty-checkout-summary__row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.9rem;
    color: #444;
    border-bottom: 1px solid #f0f0f0;
}

.guesty-checkout-summary__total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0 4px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
}

/* ─── Page de succès ──────────────────────────────────── */
.guesty-checkout-page--success { text-align: center; }
.guesty-checkout-success {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 48px 32px;
    border-radius: 16px;
    border: 1px solid #e5e5e5;
}
.guesty-checkout-success__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #2e7d32;
    color: #fff;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-weight: bold;
}
.guesty-checkout-success h1 {
    margin: 0 0 12px;
    color: #1a1a1a;
}
.guesty-checkout-success__code {
    background: #fafafa;
    padding: 12px;
    border-radius: 8px;
    margin: 20px 0;
    font-family: ui-monospace, monospace;
}
.guesty-checkout-success__home {
    display: inline-block;
    margin-top: 16px;
    padding: 12px 24px;
    background: #D4A855;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   WIDGET CHECKOUT ELEMENTOR (préfixe gco-)
   Utilisé quand l'utilisateur a configuré une "Page template checkout"
   ═══════════════════════════════════════════════════════════ */

.gco {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 0 60px;
}

.gco-back {
    display: inline-block;
    margin-bottom: 16px;
    color: #666;
    text-decoration: underline;
    font-size: 0.9rem;
}
.gco-back:hover { color: #111; }

.gco-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 24px;
    color: #1a1a1a;
}

.gco-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 48px;
    align-items: start;
}

@media (max-width: 768px) {
    .gco .gco-grid {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }
    .gco .gco-form-col,
    .gco .gco-summary-col {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .gco .gco-summary-col { order: -1; }
    .gco .gco-summary-col.is-sticky {
        position: relative !important;
        top: auto !important;
    }
}

.gco-form-col { min-width: 0; }
.gco-form-card {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #e5e5e5;
}
@media (max-width: 600px) {
    .gco-form-card { padding: 20px; }
    .gco-title { font-size: 1.4rem; }
}

.gco-fieldset {
    border: none;
    padding: 0;
    margin: 0 0 24px;
}
.gco-fieldset legend {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a1a;
    padding: 0;
}

.gco-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
@media (max-width: 480px) {
    .gco-row { grid-template-columns: 1fr; }
}

.gco-field { margin-bottom: 12px; }
.gco-field label {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 4px;
    font-weight: 500;
}
.gco-field input[type="text"],
.gco-field input[type="email"],
.gco-field input[type="tel"],
.gco-field select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
    color: #1a1a1a;
}
.gco-field input:focus,
.gco-field select:focus {
    outline: none;
    border-color: #1a1a1a;
}

.gco-field--checkbox {
    margin: 16px 0 24px;
}
.gco-field--checkbox label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.9rem;
    color: #444;
    cursor: pointer;
}
.gco-field--checkbox input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

.gco-payment {
    min-height: 200px;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}
.gco-payment iframe {
    width: 100% !important;
    border: none !important;
    background: transparent !important;
    display: block;
}
.gco-payment-note {
    margin: 12px 0 0;
    font-size: 0.8rem;
    color: #888;
    font-style: italic;
}

.gco-submit {
    width: 100%;
    padding: 16px 24px;
    background: #D4A855;
    color: #fff;
    border: 1px solid #D4A855;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: opacity 0.15s ease;
}
.gco-submit:hover:not(:disabled) { opacity: 0.9; }
.gco-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.gco-error {
    margin: 12px 0 0;
    color: #c00;
    font-size: 0.9rem;
    text-align: center;
    min-height: 1em;
}

.gco-loading {
    text-align: center;
    padding: 60px 20px;
}
.gco-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f0f0f0;
    border-top-color: #D4A855;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: gco-spin 0.8s linear infinite;
}

/* ─── Sidebar récap (gco) ─────────────────────────────── */
.gco-summary-col { min-width: 0; }
.gco-summary-col.is-sticky {
    position: sticky;
    top: 24px;
}
@media (max-width: 768px) {
    .gco-summary-col.is-sticky { position: relative; top: auto; }
}

.gco-summary {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #e5e5e5;
}

.gco-summary-listing {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}
.gco-summary-listing img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
.gco-summary-listing h3 {
    margin: 0 0 4px;
    font-size: 0.95rem;
    line-height: 1.3;
    color: #1a1a1a;
}
.gco-summary-listing p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
}

.gco-summary-dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
    padding: 12px;
    background: #fafafa;
    border-radius: 8px;
}
.gco-summary-dates > div {
    display: flex;
    flex-direction: column;
}
.gco-summary-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}
.gco-summary-dates strong {
    color: #1a1a1a;
    font-size: 0.9rem;
}

.gco-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.9rem;
    color: #444;
    border-bottom: 1px solid #f0f0f0;
}

.gco-summary-total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0 4px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
}

/* Erreur de page (params manquants) */
.gco-error-page {
    text-align: center;
    padding: 60px 20px;
}
.gco-error-page h1 {
    color: #c00;
    margin-bottom: 12px;
}

/* ─── Récap checkout étendu (rate plan + breakdown + coupon) ─── */

/* Bloc rate plan sélectionné */
.gco-summary-rateplan {
    padding: 12px 14px;
    background: #fafafa;
    border-radius: 8px;
    margin: 14px 0;
}
.gco-summary-rateplan-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.gco-summary-rateplan-name {
    display: block;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.95rem;
    line-height: 1.3;
}
.gco-summary-rateplan-policy {
    margin: 4px 0 0;
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
}

/* Badge refundable / non-refundable */
.gco-co-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}
.gco-co-badge.is-ok {
    background: #e8f5ec;
    color: #1f7a3a;
}
.gco-co-badge.is-no {
    background: #fdecec;
    color: #a8201d;
}

/* Breakdown détaillé */
.gco-co-breakdown {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
}
.gco-co-breakdown li {
    display: flex;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
    font-size: 0.9rem;
    gap: 12px;
}
.gco-co-breakdown li:last-child { border-bottom: none; }
.gco-co-breakdown li strong {
    color: #1a1a1a;
    font-weight: 600;
    white-space: nowrap;
}
.gco-co-breakdown-loading,
.gco-co-breakdown-empty {
    color: #888 !important;
    font-style: italic;
    justify-content: center !important;
}

/* Coupon (input + bouton + message) */
.gco-co-coupon {
    margin-bottom: 16px;
}
.gco-co-coupon label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
    font-weight: 500;
    margin-bottom: 6px;
}
.gco-co-coupon-row {
    display: flex;
    gap: 6px;
}
.gco-co-coupon-row input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
}
.gco-co-coupon-row input:focus {
    outline: none;
    border-color: #111;
}
.gco-co-coupon-btn {
    padding: 8px 16px;
    border-radius: 6px;
    border: 0;
    background: #111;
    color: #fff;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    transition: background-color 0.15s ease;
}
.gco-co-coupon-btn:hover { background: #000; }
.gco-co-coupon-btn:disabled { opacity: 0.6; cursor: wait; }
.gco-co-coupon-msg {
    margin: 6px 0 0;
    font-size: 0.8rem;
    min-height: 1em;
    color: #666;
}
.gco-co-coupon-msg.is-error { color: #c00; }
.gco-co-coupon-msg.is-success { color: #2a7; }

@media (max-width: 600px) {
    .gco-co-coupon-row { flex-wrap: wrap; }
    .gco-co-coupon-btn { flex: 1; }
}
