/* Guy Book Carousel — scoped so Elementor's other sliders are unaffected. */
.gbc-carousel {
    --gbc-ink: #222249;
    --gbc-orange: #f46d27;
    --gbc-gap: 18px;
    position: relative;
    width: 100%;
    min-width: 0;
}
.gbc-carousel *,
.gbc-carousel *::before,
.gbc-carousel *::after { box-sizing: border-box; }
.gbc-carousel .gbc-stage { position: relative; min-width: 0; }
.gbc-carousel .gbc-swiper {
    width: 100%;
    overflow: hidden;
    min-width: 0;
    padding: 3px 2px 7px;
}
.gbc-carousel .swiper-wrapper {
    display: flex;
    align-items: stretch;
    will-change: transform;
}
.gbc-carousel .gbc-slide {
    height: auto;
    min-width: 0;
    display: flex;
    flex-shrink: 0;
    transform: translateZ(0);
}
.gbc-carousel .gbc-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e5e5e8;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(13, 12, 42, 0.04);
    transition: box-shadow 180ms ease, transform 180ms ease;
}
.gbc-carousel .gbc-card:hover {
    box-shadow: 0 10px 25px rgba(13, 12, 42, 0.11);
}
.gbc-carousel .gbc-cover {
    aspect-ratio: 2 / 3;
    width: 100%;
    background-color: #151323;
    overflow: hidden;
    position: relative;
}
.gbc-carousel .gbc-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    max-width: none;
}
.gbc-carousel .gbc-cover-link {
    display: block;
    width: 100%;
    height: 100%;
}
.gbc-carousel .gbc-missing-image {
    height: 100%;
    background: linear-gradient(135deg, #28223d, #554d66);
}
.gbc-carousel .gbc-card-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 10px;
    min-height: 0;
}
.gbc-carousel .gbc-title {
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--gbc-ink);
    margin: 0 0 4px !important;
    padding: 0;
    word-wrap: break-word;
}
.gbc-carousel .gbc-title a {
    color: inherit;
    text-decoration: none;
}
.gbc-carousel .gbc-title a:hover,
.gbc-carousel .gbc-title a:focus-visible {
    color: inherit;
    text-decoration: underline;
}
.gbc-carousel .gbc-detail {
    font-family: inherit;
    color: #696577;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0 0 10px !important;
    padding: 0;
    word-break: break-word;
}
.gbc-carousel .gbc-detail .amount {
    color: inherit;
    font-weight: 700;
}
.gbc-carousel .gbc-price-note {
    white-space: nowrap;
}
.gbc-carousel .gbc-button {
    font-family: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 34px;
    padding: 9px 12px;
    margin-top: auto;
    border: 0;
    border-radius: 5px;
    background-color: var(--gbc-orange);
    color: #fff;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
    transition: background-color 180ms ease, transform 180ms ease;
}
.gbc-carousel a.gbc-button:hover,
.gbc-carousel a.gbc-button:focus-visible {
    background-color: #da5717;
    color: #fff;
}
.gbc-carousel a.gbc-button:focus-visible,
.gbc-carousel .gbc-arrow:focus-visible {
    outline: 2px solid var(--gbc-ink);
    outline-offset: 3px;
}
.gbc-carousel .gbc-disabled { cursor: not-allowed; opacity: .88; }
.gbc-carousel .gbc-arrow {
    position: absolute;
    z-index: 4;
    display: grid;
    place-items: center;
    top: 41%;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 50%;
    padding: 0;
    background: #fff;
    color: var(--gbc-ink);
    box-shadow: 0 2px 12px rgba(0,0,0,.15);
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease;
}
.gbc-carousel .gbc-arrow:hover { transform: translateY(-1px); box-shadow: 0 5px 16px rgba(0,0,0,.17); }
.gbc-carousel .gbc-prev { left: -15px; }
.gbc-carousel .gbc-next { right: -15px; }
.gbc-carousel .gbc-arrow.swiper-button-disabled { opacity: .35; cursor: not-allowed; }
.gbc-carousel .gbc-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 13px 0 0;
}
.gbc-carousel .gbc-pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    opacity: .28;
    display: inline-block;
    background: #5b5368;
    cursor: pointer;
}
.gbc-carousel .gbc-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--gbc-orange);
}
.gbc-carousel.gbc-is-continuous .gbc-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}
/* If Swiper JS cannot load, cards are still manually scrollable and clickable. */
.gbc-carousel:not(.gbc-initialized) .gbc-swiper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}
.gbc-carousel:not(.gbc-initialized) .gbc-slide {
    width: calc((100% - 4 * var(--gbc-gap)) / 5);
    margin-right: var(--gbc-gap);
    scroll-snap-align: start;
}
.gbc-carousel:not(.gbc-initialized) .gbc-arrow,
.gbc-carousel:not(.gbc-initialized) .gbc-pagination { display: none; }
@media (max-width: 1024px) {
    .gbc-carousel:not(.gbc-initialized) .gbc-slide {
        width: calc((100% - 2 * var(--gbc-gap)) / 3);
    }
    .gbc-carousel .gbc-prev { left: -8px; }
    .gbc-carousel .gbc-next { right: -8px; }
}
@media (max-width: 767px) {
    .gbc-carousel:not(.gbc-initialized) .gbc-slide { width: 100%; }
    .gbc-carousel .gbc-prev { left: 4px; }
    .gbc-carousel .gbc-next { right: 4px; }
    .gbc-carousel .gbc-arrow { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
    .gbc-carousel .gbc-card,
    .gbc-carousel .gbc-arrow,
    .gbc-carousel .gbc-button { transition: none !important; }
}
