/* E-pin oyun vitrin — yüzey değişkenleri (kategori sayfası kartlarıyla uyumlu) */
.orvix-ep-game {
    --orvix-ep-primary: #3762ea;
    --orvix-cat-surface: #ffffff;
    --orvix-cat-surface-muted: #f8fafc;
    --orvix-cat-border: rgba(17, 24, 39, 0.08);
    --orvix-cat-shadow: 0 14px 28px -30px rgba(17, 24, 39, 0.35);
    width: 100%;
    padding: 0 0 3rem;
}

html[data-bs-theme="dark"] .orvix-ep-game {
    --orvix-cat-surface: #151a2f;
    --orvix-cat-surface-muted: #11162a;
    --orvix-cat-border: rgba(255, 255, 255, 0.1);
    --orvix-cat-shadow: 0 18px 36px -32px rgba(0, 0, 0, 0.7);
}

.orvix-ep-game__hero-grid {
    display: grid;
    gap: 1.25rem;
    align-items: start;
    margin-top: 0;
}

@media (min-width: 992px) {
    .orvix-ep-game__hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(210px, 24%);
        margin-top: 0;
    }
}

.orvix-ep-game__side {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.orvix-ep-game__visual {
    border-radius: 18px 18px 0 0;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-bottom: 0;
    background: #0f172a;
    min-height: 200px;
}

.orvix-ep-game__visual-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 320px;
}

.orvix-ep-game__visual-ph {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 3rem;
}

.orvix-ep-game__meta {
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-top: 0;
    border-radius: 0 0 18px 18px;
    background: var(--orvix-cat-surface);
    padding: 0.85rem 1rem 1rem;
    margin-top: -2px;
    box-shadow: var(--orvix-cat-shadow);
}

html[data-bs-theme="dark"] .orvix-ep-game__meta {
    border-color: rgba(255, 255, 255, 0.12);
}

.orvix-ep-game__meta-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.45rem 0;
}

.orvix-ep-game__meta-row + .orvix-ep-game__meta-row {
    border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.orvix-ep-game__meta-ic {
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--orvix-ep-primary);
    background: color-mix(in srgb, var(--orvix-ep-primary) 16%, transparent);
    color: var(--orvix-ep-primary);
    font-size: 1.3rem;
    flex: 0 0 auto;
}

.orvix-ep-game__meta-lbl {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bs-body-color);
    color: color-mix(in srgb, var(--bs-body-color) 52%, transparent);
}

.orvix-ep-game__meta-val {
    font-weight: 700;
    font-size: 0.95rem;
}

.orvix-ep-game__product-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Ürün kartı — mobil kart; masaüstünde tek satır grid (default tema) */
.orvix-ep-game__row {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0.85rem 0.95rem;
    border-radius: 16px;
    border: 1px solid var(--orvix-cat-border);
    background: var(--orvix-cat-surface);
    box-shadow: var(--orvix-cat-shadow);
}

.orvix-ep-game__row-top {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.orvix-ep-game__row-main {
    flex: 1 1 auto;
    min-width: 0;
}

.orvix-ep-game__row-promo {
    margin-bottom: 0.28rem;
}

.orvix-ep-game__row-badge-pro {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.16);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.35);
}

html[data-bs-theme="dark"] .orvix-ep-game__row-badge-pro {
    background: rgba(34, 197, 94, 0.22);
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.35);
}

.orvix-ep-game__row-title {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
}

.orvix-ep-game__row-tag {
    display: block;
    margin-top: 0.22rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--bs-body-color);
    color: color-mix(in srgb, var(--bs-body-color) 58%, transparent);
}

.orvix-ep-game__row-hr {
    border: 0;
    border-top: 1px solid var(--orvix-cat-border);
    margin: 0.15rem 0;
    opacity: 1;
}

.orvix-ep-game__row-pricebar {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.orvix-ep-game__row-cur {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--orvix-ep-primary);
    letter-spacing: -0.02em;
}

html[data-bs-theme="dark"] .orvix-ep-game__row-cur {
    color: var(--orvix-ep-primary);
}

.orvix-ep-game__row-old {
    font-size: 0.82rem;
    text-decoration: line-through;
    color: var(--bs-body-color);
    color: color-mix(in srgb, var(--bs-body-color) 48%, transparent);
}

.orvix-ep-game__row-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    flex-wrap: nowrap;
}

.orvix-ep-game__row-img img {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
}

.orvix-ep-game__row-ph {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--orvix-ep-primary);
    background: color-mix(in srgb, var(--orvix-ep-primary) 12%, transparent);
    color: var(--orvix-ep-primary);
    font-size: 1.35rem;
}

.orvix-ep-game__row-qty {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    border: 1px solid var(--orvix-cat-border);
    border-radius: 12px;
    padding: 0.2rem 0.35rem;
    background: var(--orvix-cat-surface-muted);
    flex: 0 0 auto;
    min-height: 44px;
}

html[data-bs-theme="dark"] .orvix-ep-game__row-qty {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
}

.orvix-ep-game__qtybtn {
    border: 0;
    background: transparent;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1.1rem;
    line-height: 1;
    color: var(--bs-body-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.orvix-ep-game__qtybtn:hover {
    background: rgba(17, 24, 39, 0.08);
}

html[data-bs-theme="dark"] .orvix-ep-game__qtybtn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.orvix-ep-game__qtyinp {
    width: 2.35rem;
    border: 0;
    text-align: center;
    font-weight: 800;
    font-size: 0.95rem;
    background: transparent;
    color: var(--bs-body-color);
    -moz-appearance: textfield;
}

.orvix-ep-game__qtyinp::-webkit-outer-spin-button,
.orvix-ep-game__qtyinp::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.orvix-ep-game__cart.orvix-cat-buybar__btn {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
    height: 44px;
    border-radius: 999px;
    padding: 0 0.95rem;
    font-weight: 700;
    border: 0;
    background: var(--orvix-cta-btn-gradient, linear-gradient(135deg, #2dd4bf 0%, #3b82f6 100%)) !important;
    color: #fff;
    box-shadow: 0 10px 22px -14px color-mix(in srgb, var(--bs-primary) 45%, transparent);
}

.orvix-ep-game__cart.orvix-cat-buybar__btn:hover {
    filter: brightness(1.05);
    color: #fff;
}

.orvix-ep-game__fav {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--orvix-cat-border);
    background: var(--orvix-cat-surface-muted);
    color: var(--orvix-ep-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex: 0 0 auto;
}
.orvix-ep-game__fav i { font-size: 1.2rem; line-height: 1; }
.orvix-ep-game__fav.is-favorite {
    background: var(--orvix-ep-primary);
    border-color: var(--orvix-ep-primary);
    color: #fff;
}

.orvix-ep-game__cart.orvix-cat-buybar__btn i,
.orvix-ep-game__cart.orvix-cat-buybar__btn span {
    font-weight: 100;
}

@media (max-width: 767.98px) {
    .orvix-ep-game__cart.orvix-cat-buybar__btn {
        flex: 0 0 auto;
        width: auto;
        max-width: max-content;
        min-width: 0;
        height: 40px;
        padding: 0 0.72rem;
        font-size: 0.76rem;
        font-weight: 700;
        gap: 0;
    }
    .orvix-ep-game__cart.orvix-cat-buybar__btn span {
        display: inline;
    }
    .orvix-ep-game__cart.orvix-cat-buybar__btn i {
        display: none;
    }
}

@media (min-width: 768px) {
    .orvix-ep-game__row {
        display: grid;
        grid-template-columns: 56px minmax(0, 1fr) auto auto auto auto;
        gap: 0.65rem 0.75rem;
        align-items: center;
    }
    .orvix-ep-game__row-hr--mob {
        display: none;
    }
    .orvix-ep-game__row-top {
        display: contents;
    }
    .orvix-ep-game__row-img {
        grid-column: 1;
    }
    .orvix-ep-game__row-main {
        grid-column: 2;
    }
    .orvix-ep-game__row-pricebar {
        grid-column: 3;
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        gap: 0.12rem;
    }
    .orvix-ep-game__row-cur {
        font-size: 1rem;
        color: var(--orvix-ep-primary);
    }
    html[data-bs-theme="dark"] .orvix-ep-game__row-cur {
        color: var(--orvix-ep-primary);
        color: color-mix(in srgb, var(--orvix-ep-primary) 92%, #fff);
    }
    .orvix-ep-game__row-foot {
        display: contents;
    }
    .orvix-ep-game__row-qty {
        grid-column: 4;
    }
    .orvix-ep-game__cart.orvix-cat-buybar__btn {
        grid-column: 6;
        flex: 0 0 auto;
        width: auto;
        min-width: auto;
    }
    .orvix-ep-game__fav {
        grid-column: 5;
    }
    .orvix-ep-game__cart.orvix-cat-buybar__btn span {
        display: inline;
    }
}

.orvix-ep-game__empty {
    padding: 2rem 1rem;
    text-align: center;
    color: var(--bs-body-color);
    color: color-mix(in srgb, var(--bs-body-color) 55%, transparent);
    border: 1px dashed var(--orvix-cat-border);
    border-radius: 14px;
}

.orvix-ep-game__bottom {
    margin-top: 2rem;
}

/* Nasıl çalışır: solda metin kartı, sağda görsel (geniş ekranda) */
.orvix-ep-game__how.orvix-cat-how-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: start;
}

@media (min-width: 992px) {
    .orvix-ep-game__how.orvix-cat-how-grid {
        grid-template-columns: minmax(0, 1fr) minmax(220px, 32%);
    }
    .orvix-ep-game__how .orvix-cat-how-text {
        order: 1;
    }
    .orvix-ep-game__how .orvix-cat-how-img {
        order: 2;
    }
}

.orvix-epin-review-order,
.orvix-epin-review-comment {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

html[data-bs-theme="dark"] .orvix-epin-review-order,
html[data-bs-theme="dark"] .orvix-epin-review-comment {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
}
