/* ═══════════════════════════════════════════════
   Game Jutsu – Product Slider  |  slider.css
═══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;900&display=swap');

/* ── Reset / Base ── */
.gjs-slider *,
.gjs-slider *::before,
.gjs-slider *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

/* ── Wrapper ── */
.gjs-slider {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    background: transparent;
    padding: 32px 0 64px;
    overflow: hidden;
}

/* ── Slide ── */
.gjs-slide {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    animation: gjsFadeIn .4s ease;
}
.gjs-slide.gjs-active {
    display: grid;
}

@keyframes gjsFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════
   LEFT – IMAGE CAROUSEL
══════════════════════════════════ */
.gjs-carousel {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: transparent;
    box-shadow: none;
}

.gjs-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.gjs-carousel-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .35s ease;
}
.gjs-carousel-item.gjs-car-active {
    opacity: 1;
}

.gjs-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Carousel arrows */
.gjs-car-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.88);
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 18px;
    cursor: pointer;
    line-height: 38px;
    text-align: center;
    color: #111;
    box-shadow: 0 2px 10px rgba(0,0,0,.15);
    transition: background .2s, transform .2s;
    z-index: 2;
    padding: 0;
}
.gjs-car-btn:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.08);
}
.gjs-car-prev { left: 10px; }
.gjs-car-next { right: 10px; }

/* Carousel dots */
.gjs-car-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}
.gjs-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(0,0,0,.25);
    cursor: pointer;
    transition: background .2s, transform .2s;
    display: inline-block;
}
.gjs-dot.gjs-dot-active,
.gjs-dot:hover {
    background: #111;
    transform: scale(1.3);
}

/* ══════════════════════════════════
   RIGHT – INFO PANEL
══════════════════════════════════ */
.gjs-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: #111;
}

/* Title */
.gjs-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    line-height: 1.15;
    color: #111;
    letter-spacing: 0;
    font-style: normal;
    margin-top: -32px;
}

/* Description */
.gjs-description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: .93rem;
    line-height: 1.65;
    color: #444;
}
.gjs-description p { margin-bottom: .5em; }
.gjs-description p:last-child { margin-bottom: 0; }

/* ── Price block ── */
.gjs-price-block {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.gjs-price {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    color: #ff333d;
    letter-spacing: -0.01em;
}

.gjs-price-original {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #999;
    text-decoration: line-through;
}

.gjs-price-promo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    color: #ff333d;
    letter-spacing: -0.01em;
}

.gjs-promo-badge {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: .65rem;
    letter-spacing: .1em;
    background: #ff333d;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* ── Platform badges ── */
.gjs-platforms {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.gjs-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 10px;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s;
    cursor: pointer;
    min-width: 70px;
    min-height: 48px;
}
.gjs-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
    filter: brightness(1.06);
}

/* Logo image inside badge */
.gjs-badge-img {
    display: block;
    height: 32px;
    width: auto;
    object-fit: contain;
}
/* eBay logo has black bg – show full width, slightly taller */
.gjs-badge-img--ebay {
    height: 28px;
    mix-blend-mode: multiply;
}

/* Vinted – teal */
.gjs-vinted {
    background: #09B2AA;
}

/* eBay – white */
.gjs-ebay {
    background: #fff;
    border: 2px solid #e5e5e5;
}

/* Rakuten – white background to show the red R cleanly */
.gjs-rakuten {
    background: #fff;
    border: 2px solid #e5e5e5;
}

/* ══════════════════════════════════
   GLOBAL NAV (between products)
══════════════════════════════════ */
.gjs-nav {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.gjs-nav-btn {
    background: none;
    border: 1.5px solid #ccc;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    transition: border-color .2s, background .2s;
    padding: 0;
}
.gjs-nav-btn:hover {
    border-color: #111;
    background: #111;
    color: #fff;
}
.gjs-nav-btn svg {
    width: 18px;
    height: 18px;
    display: block;
}

.gjs-indicators {
    display: flex;
    gap: 8px;
    align-items: center;
}

.gjs-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
    transition: background .2s, transform .2s;
    padding: 0;
}
.gjs-indicator.gjs-ind-active {
    background: #111;
    transform: scale(1.35);
}

/* ── Empty state ── */
.gjs-empty {
    font-family: 'Montserrat', sans-serif;
    font-size: .9rem;
    color: #888;
    text-align: center;
    padding: 40px 0;
}

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 780px) {
    .gjs-slide.gjs-active {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .gjs-carousel {
        aspect-ratio: 4/3;
        max-height: 340px;
    }
    .gjs-title { font-size: 1.4rem; }
    .gjs-price, .gjs-price-promo { font-size: 1.6rem; }
}

@media (max-width: 480px) {
    .gjs-slider { padding: 16px 0 56px; }
    .gjs-platforms { gap: 8px; }
    .gjs-badge { padding: 8px 14px; font-size: .78rem; }
}
