/* Guy Book Carousel 1.4 — Splide-powered, fully scoped presentation. */
.gbc-carousel {
    --gbc-ink: #222249;
    --gbc-orange: #f46d27;
    position: relative;
    width: 100%;
    min-width: 0;
    visibility: visible;
}
.gbc-carousel *, .gbc-carousel *::before, .gbc-carousel *::after { box-sizing: border-box; }
.gbc-stage { position: relative; width: 100%; min-width: 0; }
.gbc-carousel .splide__track { width: 100%; min-width: 0; padding: 3px 0 8px; }
.gbc-carousel .splide__list { align-items: stretch; }
.gbc-carousel .gbc-slide { display: flex; height: auto; min-width: 0; }
.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,.04);
    transition: box-shadow 180ms ease;
}
.gbc-card:hover { box-shadow: 0 10px 25px rgba(13,12,42,.11); }
.gbc-cover { position: relative; width: 100%; overflow: hidden; aspect-ratio: 2 / 3; background: #151323; }
.gbc-cover-link { display: block; width: 100%; height: 100%; }
.gbc-image { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.gbc-missing-image { height: 100%; background: linear-gradient(135deg,#28223d,#554d66); }
.gbc-card-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 10px;
    text-align: center;
}
.gbc-title {
    margin: 0 0 4px !important;
    padding: 0;
    color: var(--gbc-ink);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.gbc-title a { color: inherit; text-decoration: none; }
.gbc-title a:hover, .gbc-title a:focus-visible { color: inherit; text-decoration: underline; }
.gbc-detail {
    margin: 0 0 10px !important;
    padding: 0;
    color: #696577;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.gbc-detail .amount { color: inherit; font-weight: 700; }
.gbc-price-note { white-space: nowrap; }
.gbc-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 34px;
    margin-top: auto;
    padding: 9px 12px;
    border: 0;
    border-radius: 5px;
    background: var(--gbc-orange);
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-decoration: none !important;
    transition: background-color 180ms ease;
}
.gbc-carousel a.gbc-button:hover, .gbc-carousel a.gbc-button:focus-visible { background: #da5717; color: #fff; }
.gbc-disabled { cursor: not-allowed; opacity: .88; }
.gbc-carousel .gbc-arrow {
    position: absolute;
    z-index: 5;
    top: 41%;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255,255,255,.32);
    border-radius: 14px;
    background: var(--gbc-ink);
    color: #fff;
    box-shadow: 0 10px 28px rgba(13,12,42,.24);
    cursor: pointer;
    opacity: 1;
    transform: translateY(-50%);
    transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}
.gbc-carousel .gbc-arrow svg {
    display: block;
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}
.gbc-carousel .gbc-arrow:hover:not(:disabled) {
    background: var(--gbc-orange);
    transform: translateY(calc(-50% - 2px));
    box-shadow: 0 13px 30px rgba(13,12,42,.3);
}
.gbc-carousel .gbc-prev { left: -19px; }
.gbc-carousel .gbc-next { right: -19px; }
.gbc-carousel .gbc-arrow:disabled { opacity: 0; pointer-events: none; }
.gbc-button:focus-visible, .gbc-arrow:focus-visible, .splide__pagination__page:focus-visible {
    outline: 3px solid rgba(244,109,39,.55);
    outline-offset: 3px;
}
.gbc-carousel .splide__pagination { position: static; gap: 7px; padding: 13px 0 0; }
.gbc-carousel .splide__pagination__page {
    display: block;
    width: 8px;
    height: 8px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #5b5368;
    opacity: .28;
    cursor: pointer;
    transition: width 160ms ease, opacity 160ms ease, background-color 160ms ease;
}
.gbc-carousel .splide__pagination__page.is-active { width: 22px; background: var(--gbc-orange); opacity: 1; transform: none; }
/* Safe no-JS fallback: one complete card, never a clipped row. */
.gbc-carousel:not(.is-initialized) .splide__slide { flex: 0 0 100%; width: 100%; }
.gbc-carousel:not(.is-initialized) .splide__slide:not(:first-child),
.gbc-carousel:not(.is-initialized) .gbc-arrows { display: none; }
@media (max-width: 1024px) {
    .gbc-carousel .gbc-prev { left: -8px; }
    .gbc-carousel .gbc-next { right: -8px; }
}
@media (max-width: 767px) {
    .gbc-carousel .gbc-prev { left: 9px; }
    .gbc-carousel .gbc-next { right: 9px; }
    .gbc-carousel .gbc-arrow { top: 38%; width: 42px; height: 42px; border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .gbc-card, .gbc-arrow, .gbc-button, .splide__pagination__page { transition: none !important; }
}
