/**
 * İç sayfa hero — header ile aynı arka plan (orvix-front-hero-shell).
 * Breadcrumb + arama + sağ görsel (geçici).
 */
.orvix-page-hero {
    position: relative;
    z-index: 1;
    color: #f4f7fb;
    overflow: visible;
    pointer-events: none;
}

.orvix-page-hero a,
.orvix-page-hero button,
.orvix-page-hero input {
    pointer-events: auto;
}

.orvix-page-hero__inner {
    position: relative;
    z-index: 2;
    padding: 0 0 clamp(1.75rem, 3vw, 2.35rem);
}

/* Sağ görsel kümesi (karakter + isteğe bağlı ok) */
.orvix-page-hero__visual-cluster {
    position: absolute;
    top: 2.65rem;
    right: max(8rem, calc((100vw - 1320px) / 2 + 8rem));
    left: auto;
    bottom: 0;
    z-index: 3;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 0.15rem;
    pointer-events: none;
    overflow: visible;
}

/* Oyun görseli — kesilmeden, header'a değmeden */
.orvix-page-hero__visual-cluster .orvix-page-hero__visual,
.orvix-page-hero__visual {
    position: absolute;
    top: 2.65rem;
    right: max(8rem, calc((100vw - 1320px) / 2 + 8rem));
    left: auto;
    bottom: 0;
    width: auto;
    max-width: min(48vw, 400px);
    height: auto;
    max-height: none;
    z-index: 1;
    pointer-events: none;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.orvix-page-hero__visual-cluster .orvix-page-hero__visual {
    position: static;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    z-index: 1;
}

.orvix-page-hero__visual img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(48vw, 400px);
    max-height: min(420px, 68vh);
    min-height: 0;
    min-width: 0;
    margin: 0;
    object-fit: contain;
    object-position: bottom right;
    transform: none;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.2));
}

@media (min-width: 992px) {
    .orvix-page-hero:has(.orvix-page-hero__visual-cluster) .orvix-page-hero__inner {
        padding-right: 17.5rem;
    }

    .orvix-page-hero__visual-cluster {
        right: max(8rem, calc((100% - 1320px) / 2 + 8rem));
    }

    .orvix-page-hero__visual-cluster .orvix-page-hero__visual img,
    .orvix-page-hero__visual img,
    .orvix-page-hero__visual-img {
        width: auto !important;
        height: 220px !important;
        max-width: 300px !important;
        max-height: 220px !important;
        object-fit: contain;
        object-position: bottom right;
    }
}

.orvix-page-hero .orvix-bc {
    background: transparent;
    color: inherit;
}

.orvix-page-hero .orvix-bc__row {
    padding: clamp(1.15rem, 2.2vw, 1.75rem) 0 clamp(0.85rem, 1.6vw, 1.15rem);
}

.orvix-page-hero .orvix-bc__crumbs {
    display: none !important;
}

.orvix-page-hero .orvix-bc__ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    align-items: center;
}

.orvix-page-hero .orvix-bc__li {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
}

.orvix-page-hero .orvix-bc__slash {
    list-style: none;
    display: inline-flex;
    align-items: center;
    color: color-mix(in srgb, #fff 55%, transparent);
    font-weight: 700;
    padding: 0 0.15rem;
    user-select: none;
    pointer-events: none;
}

.orvix-page-hero .orvix-bc__a {
    color: inherit;
    text-decoration: none;
    opacity: 0.92;
}

.orvix-page-hero .orvix-bc__a:hover {
    text-decoration: underline;
    opacity: 1;
}

.orvix-page-hero .orvix-bc__cur {
    opacity: 1;
}

.orvix-page-hero .orvix-bc__hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 100%;
    width: 100%;
    padding-bottom: 2rem;
}

@media (min-width: 992px) {
    .orvix-page-hero .orvix-page-hero__inner.fdh-shell {
        padding-left: 2rem;
    }
}

.orvix-page-hero .orvix-bc__hero--no-right {
    justify-content: flex-start;
}

.orvix-page-hero--with-rating .orvix-bc__hero--with-rating,
.orvix-page-hero--category .orvix-bc__hero--with-arrow {
    align-items: center;
    flex-wrap: nowrap;
    max-width: 100%;
    width: 100%;
    gap: 0.75rem 1.25rem;
}

.orvix-page-hero--category .orvix-bc__hero--with-arrow {
    justify-content: flex-start;
}

.orvix-page-hero--with-rating .orvix-bc__left {
    flex: 1 1 auto;
    min-width: 0;
    max-width: min(100%, 36rem);
}

.orvix-page-hero--with-rating .orvix-bc__hero-arrow {
    flex: 0 0 auto;
    width: min(7rem, 18vw);
    align-self: center;
    margin: 0 0.15rem 0 auto;
    pointer-events: none;
}

.orvix-page-hero--with-rating .orvix-bc__hero-arrow img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    transform: rotate(-8deg);
}

.orvix-page-hero--with-rating .orvix-bc__rating {
    flex: 0 0 auto;
    margin-left: auto;
    margin-right: clamp(1.25rem, 5vw, 3.25rem);
    text-align: right;
    color: #fff;
}

.orvix-page-hero--with-rating .orvix-bc__rating-stars {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.22rem;
    margin-bottom: 0.35rem;
    padding: 0.38rem 0.55rem;
    border-radius: 999px;
    line-height: 1;
    background: color-mix(in srgb, #fbbf24 24%, rgba(255, 255, 255, 0.92));
    box-shadow: 0 8px 20px -14px rgba(15, 23, 42, 0.35);
}

.orvix-page-hero--with-rating .orvix-bc__rating-star {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.orvix-page-hero--with-rating .orvix-bc__rating-star i {
    font-size: 1.08rem;
    line-height: 1;
    color: #f59e0b;
}

.orvix-page-hero--with-rating .orvix-bc__rating-count {
    font-size: 1.05rem;
    font-weight: 700;
    opacity: 1;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.orvix-page-hero--with-rating .orvix-bc__rating-avg {
    font-size: 0.84rem;
    font-weight: 400;
    opacity: 0.88;
    line-height: 1.3;
    padding-bottom: 1.2rem;
}

@media (max-width: 991.98px) {
    .orvix-page-hero--with-rating .orvix-bc__hero-arrow {
        display: none;
    }

    .orvix-page-hero--with-rating .orvix-bc__hero--with-rating,
    .orvix-page-hero--category .orvix-bc__hero--with-arrow {
        flex-wrap: wrap;
        justify-content: center;
    }

    .orvix-page-hero--with-rating .orvix-bc__left {
        max-width: 100%;
    }

    .orvix-page-hero--with-rating .orvix-bc__rating {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        text-align: center;
    }

    .orvix-page-hero--with-rating .orvix-bc__rating-stars {
        justify-content: center;
    }
}

.orvix-page-hero .orvix-bc__left {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.orvix-page-hero .orvix-bc__txt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 58px;
    min-width: 0;
}

.orvix-page-hero .orvix-bc__ic {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: var(--orvix-bc-ic-bg, rgba(255, 255, 255, 0.1));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 58px;
    color: var(--orvix-bc-ic-fg, #fff);
}

.orvix-page-hero .orvix-bc__ic i {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--orvix-bc-ic-fg, #fff);
}

.orvix-page-hero .orvix-bc__t {
    font-weight: 500;
    letter-spacing: -0.01em;
    font-size: clamp(1.65rem, 3.2vw, 2rem);
    line-height: 1.15;
}

.orvix-page-hero .orvix-bc__d {
    opacity: 1;
    font-weight: 400;
    font-size: clamp(0.92rem, 1.6vw, 1.05rem);
    margin-top: 0.15rem;
    max-width: 42ch;
    line-height: 1.5;
}

.orvix-page-hero--with-rating .orvix-bc__d {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: min(42ch, 100%);
}

@media (min-width: 992px) {
    .orvix-page-hero--blog-show .orvix-bc__d,
    .orvix-page-hero--epin-game .orvix-bc__d {
        max-width: min(100%, 52rem);
    }
}

.orvix-page-hero .orvix-bc__right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.orvix-page-hero .orvix-bc__avs {
    display: flex;
    align-items: center;
}

.orvix-page-hero .orvix-bc__av {
    position: relative;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    overflow: visible;
    border: 0;
    margin-left: -10px;
    background: transparent;
    padding: 0;
    cursor: default;
}

.orvix-page-hero .orvix-bc__av:first-child {
    margin-left: 0;
}

.orvix-page-hero .orvix-bc__av img {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    object-fit: cover;
    display: block;
    border: 2px solid var(--orvix-bc-primary, #3762ea);
    background: #0f172a;
}

.orvix-page-hero .orvix-bc__live {
    color: #fff;
}

.orvix-page-hero .orvix-bc__k {
    font-weight: 800;
    opacity: 0.92;
    font-size: 0.9rem;
    line-height: 1.1;
}

.orvix-page-hero .orvix-bc__c {
    font-weight: 800;
    opacity: 0.96;
    line-height: 1.15;
}

.orvix-page-hero__search {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: min(100%, 28rem);
    margin-top: 0.35rem;
}

.orvix-page-hero-search--has-char {
    position: relative;
    padding-right: 4.5rem;
    max-width: min(100%, 32rem);
}

.orvix-page-hero-search__char {
    position: absolute;
    right: -0.15rem;
    bottom: -0.35rem;
    width: 5.5rem;
    height: auto;
    pointer-events: none;
    z-index: 4;
    line-height: 0;
}

.orvix-page-hero-search__char img {
    width: 100%;
    height: auto;
    max-height: 6.5rem;
    object-fit: contain;
    object-position: bottom right;
}

@media (max-width: 575.98px) {
    .orvix-page-hero-search--has-char {
        padding-right: 3.75rem;
    }

    .orvix-page-hero-search__char {
        width: 4.25rem;
        right: 0;
    }
}

/* Anasayfa hero sipariş arama ile aynı hap + iç gradient buton */
.orvix-page-hero .orvix-hero-order {
    position: relative;
    z-index: 3;
    max-width: min(100%, 28rem);
    margin: 0;
}

.orvix-page-hero .orvix-hero-order__field {
    display: flex;
    align-items: stretch;
    gap: 0.4rem;
    padding: 0.4rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
    max-width: 100%;
}

.orvix-page-hero .orvix-hero-order__input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.72rem 0.95rem;
    outline: none;
}

.orvix-page-hero .orvix-hero-order__input::placeholder {
    color: #fff;
    opacity: 0.88;
}

.orvix-page-hero .orvix-hero-order__btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border: 0;
    border-radius: 999px;
    padding: 0.65rem 1.5rem 0.65rem 1.15rem;
    min-width: 8.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    background: var(--orvix-cta-btn-gradient, linear-gradient(135deg, #2dd4bf 0%, #3b82f6 100%));
    box-shadow: none;
    cursor: pointer;
    transition: transform 0.15s ease, filter 0.15s ease;
}

.orvix-page-hero .orvix-hero-order__btn i {
    font-size: 1.05rem;
    line-height: 1;
    color: inherit;
}

.orvix-page-hero .orvix-hero-order__btn:hover {
    filter: brightness(1.06);
    color: #fff;
}

.orvix-page-hero .orvix-hero-order__btn:active {
    transform: translateY(1px);
}

@media (max-width: 575.98px) {
    .orvix-page-hero .orvix-hero-order__field {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0.35rem;
        padding: 0.35rem 0.35rem 0.35rem 0.55rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .orvix-page-hero .orvix-hero-order__btn {
        min-width: 0;
        padding: 0.65rem 0.95rem;
        font-size: 0.82rem;
    }
}

@media (max-width: 991.98px) {
    .orvix-page-hero__visual-cluster {
        display: none !important;
    }

    .orvix-page-hero__visual {
        display: none !important;
    }

    .orvix-page-hero .orvix-bc__hero {
        max-width: 100%;
        flex-direction: column;
        align-items: center;
        text-align: center;
        position: relative;
        z-index: 2;
        padding-bottom: 0;
    }

    .orvix-page-hero .orvix-bc__left {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
        width: 100%;
        max-width: min(100%, 20rem);
    }

    .orvix-page-hero .orvix-bc__txt {
        align-items: center;
        min-height: 0;
    }

    .orvix-page-hero .orvix-bc__d {
        max-width: 100%;
    }

    .orvix-page-hero__search,
    .orvix-page-hero .orvix-hero-order {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Standalone breadcrumb (platformlar vb. — kendi arka planı) */
.orvix-bc--standalone {
    width: 100%;
    background: var(--orvix-ab-bg, #131324);
    color: var(--orvix-ab-fg, #fff);
    border-radius: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
}

html[data-bs-theme="dark"] .orvix-bc--standalone {
    background: #1e1e31;
}

.orvix-bc--standalone .orvix-bc__row {
    padding: 3rem 0;
}

.orvix-bc--standalone .orvix-bc__t {
    font-size: 27px;
}

.orvix-bc--standalone .orvix-bc__d {
    font-size: 17px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .orvix-bc--standalone .orvix-bc__d {
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
}

@media (min-width: 992px) {
    .orvix-bc--standalone .orvix-bc__d {
        -webkit-line-clamp: 4;
        line-clamp: 4;
    }
}

.orvix-bc--standalone .orvix-bc__tip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    font-weight: 800;
    font-size: 0.78rem;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: 0.14s ease;
    backdrop-filter: blur(10px);
}

.orvix-bc--standalone .orvix-bc__av.is-focus .orvix-bc__tip {
    opacity: 1;
}

.orvix-bc--standalone .orvix-bc__k::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
    animation: orvixBcPulse 1.2s ease-in-out infinite;
    display: inline-block;
    margin-right: 0.45rem;
}

.orvix-bc--standalone .orvix-bc__cart-count {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes orvixBcPulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
    }
    50% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

@media (max-width: 767.98px) {
    .orvix-page-hero .orvix-bc__row {
        padding-top: 0.85rem;
    }
}
