/* =========================
   KINOBAR PAGE
========================= */

.kinobar-page {
    width: 100%;
    min-height: calc(100vh - 96px);
    background: #f3f2ee;
    color: #050505;
}

.kinobar-page__inner {
    width: min(100% - 32px, 1540px);
    margin: 0 auto;
    padding: clamp(30px, 3vw, 52px) 0 clamp(58px, 5vw, 86px);
}

/* =========================
   HERO
========================= */

.kinobar-hero {
    display: grid;
    grid-template-columns: minmax(360px, 0.7fr) minmax(700px, 1.3fr);
    gap: clamp(34px, 4vw, 72px);
    align-items: start;
    margin-bottom: clamp(28px, 2.7vw, 42px);
}

.kinobar-head {
    min-width: 0;
    padding-top: clamp(4px, 0.6vw, 10px);
}

/* =========================
   RED ACCENT
========================= */

.kinobar-head__accent {
    width: 48px;
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: clamp(14px, 1.2vw, 22px);
}

.kinobar-head__accent span {
    width: 9px;
    height: 22px;
    display: block;
    background: #ff2118;
    transform: skewX(-16deg);
}

.kinobar-head h1 {
    display: inline-block;
    margin: 0;
    color: #050505;
    font-family: var(--font-display);
    font-size: clamp(70px, 7vw, 132px);
    font-weight: 400;
    line-height: 0.78;
    letter-spacing: -0.09em;
    text-transform: uppercase;
    transform: scaleX(0.96) scaleY(1.12);
    transform-origin: left bottom;
}

.kinobar-head p {
    max-width: 460px;
    margin: clamp(24px, 1.8vw, 30px) 0 0;
    color: rgba(5, 5, 5, 0.58);
    font-size: clamp(14px, 0.95vw, 17px);
    font-weight: 800;
    line-height: 1.35;
}

/* =========================
   BANNER
========================= */

.kinobar-banner {
    position: relative;
    width: 100%;
    height: clamp(190px, 14.5vw, 270px);
    overflow: hidden;
    background: #050505;
    color: #ffffff;
}

.kinobar-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(
            90deg,
            rgba(5, 5, 5, 0.76) 0%,
            rgba(5, 5, 5, 0.36) 42%,
            rgba(5, 5, 5, 0.08) 100%
        );
    pointer-events: none;
}

.kinobar-banner__image {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    filter: none;
    transition: transform 0.35s ease;
}

.kinobar-banner:hover .kinobar-banner__image {
    transform: scale(1.025);
}

.kinobar-banner__content {
    position: absolute;
    left: clamp(22px, 2.3vw, 42px);
    top: 50%;
    z-index: 3;
    max-width: 440px;
    transform: translateY(-50%);
}

.kinobar-banner__content span {
    display: block;
    width: 22px;
    height: 5px;
    margin-bottom: clamp(12px, 1vw, 18px);
    background: #ff2118;
    color: transparent;
    font-size: 0;
    line-height: 0;
}

.kinobar-banner__content strong {
    display: block;
    margin: 0;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: clamp(28px, 2.35vw, 46px);
    font-weight: 400;
    line-height: 0.86;
    letter-spacing: -0.065em;
    text-transform: uppercase;
}

.kinobar-banner__content p {
    max-width: 390px;
    margin: clamp(12px, 1vw, 18px) 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: clamp(12px, 0.8vw, 15px);
    font-weight: 800;
    line-height: 1.35;
}

/* =========================
   DIVIDER
========================= */

.kinobar-divider {
    width: 100%;
    height: 1px;
    margin-bottom: clamp(24px, 2.2vw, 36px);
    background: rgba(5, 5, 5, 0.16);
}

/* =========================
   GRID
========================= */

.kinobar-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(26px, 2.6vw, 48px);
    row-gap: clamp(22px, 2vw, 34px);
}

/* =========================
   CARD
========================= */

.kinobar-card {
    position: relative;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(190px, 0.78fr) minmax(0, 1fr);
    gap: clamp(18px, 1.7vw, 30px);
    padding: 0 0 clamp(22px, 2vw, 34px);
    border-bottom: 1px solid rgba(5, 5, 5, 0.14);
}

/* =========================
   CARD IMAGE
========================= */

.kinobar-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #050505;
}

.kinobar-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    filter: none;
    transition: transform 0.28s ease;
}

.kinobar-card:hover .kinobar-card__image img {
    transform: scale(1.025);
}

.kinobar-card__image span {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: 14px;
    color: rgba(255, 255, 255, 0.16);
    font-family: var(--font-display);
    font-size: 24px;
    line-height: 0.9;
    letter-spacing: -0.07em;
    text-transform: uppercase;
}

/* =========================
   CARD CONTENT
========================= */

.kinobar-card__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding-right: clamp(8px, 1vw, 18px);
}

.kinobar-card__top {
    min-width: 0;
}

.kinobar-card__content h2 {
    max-width: 360px;
    margin: 0;
    color: #050505;
    font-family: var(--font-display);
    font-size: clamp(22px, 1.55vw, 32px);
    font-weight: 400;
    line-height: 0.88;
    letter-spacing: -0.06em;
    text-transform: uppercase;
}

.kinobar-card__category {
    margin: 9px 0 0;
    color: rgba(5, 5, 5, 0.52);
    font-size: clamp(11px, 0.75vw, 13px);
    font-weight: 800;
    line-height: 1.2;
}

.kinobar-card__description {
    max-width: 390px;
    margin: clamp(14px, 1.1vw, 18px) 0 0;
    color: rgba(5, 5, 5, 0.78);
    font-size: clamp(12px, 0.82vw, 15px);
    font-weight: 800;
    line-height: 1.35;
}

.kinobar-card__bottom {
    width: min(100%, 260px);
    margin-top: auto;
    padding-top: clamp(16px, 1.4vw, 22px);
}

.kinobar-card__price {
    margin: 0;
    color: #050505;
    font-size: clamp(18px, 1.25vw, 25px);
    font-weight: 900;
    line-height: 1;
}

.kinobar-card__stock {
    margin: 9px 0 0;
    color: #249346;
    font-size: clamp(10px, 0.72vw, 12px);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.kinobar-card__stock--empty {
    color: #ff2118;
}

.kinobar-card__button {
    width: 100%;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: clamp(12px, 1vw, 16px);
    padding: 0 16px;
    border: 1px solid #ff2118;
    border-radius: 0;
    background: #ff2118;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: clamp(9px, 0.72vw, 12px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.03em;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease;
}

.kinobar-card__button:hover {
    border-color: #050505;
    background: #050505;
    color: #ffffff;
}

.kinobar-card__button--disabled {
    border-color: rgba(5, 5, 5, 0.22);
    background: transparent;
    color: rgba(5, 5, 5, 0.42);
    cursor: default;
}

.kinobar-card__button--disabled:hover {
    border-color: rgba(5, 5, 5, 0.22);
    background: transparent;
    color: rgba(5, 5, 5, 0.42);
}

/* =========================
   EMPTY
========================= */

.kinobar-empty {
    padding: clamp(28px, 3vw, 44px);
    border: 1px solid rgba(5, 5, 5, 0.14);
    background: rgba(255, 255, 255, 0.22);
}

.kinobar-empty h2 {
    margin: 0;
    color: #050505;
    font-family: var(--font-display);
    font-size: clamp(38px, 3vw, 58px);
    font-weight: 400;
    line-height: 0.86;
    letter-spacing: -0.075em;
    text-transform: uppercase;
}

.kinobar-empty p {
    max-width: 540px;
    margin: 14px 0 0;
    color: rgba(5, 5, 5, 0.58);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1420px) {
    .kinobar-hero {
        grid-template-columns: minmax(330px, 0.68fr) minmax(650px, 1.32fr);
        gap: 34px;
    }

    .kinobar-card {
        grid-template-columns: minmax(175px, 0.75fr) minmax(0, 1fr);
    }
}

@media (max-width: 1180px) {
    .kinobar-hero {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .kinobar-head p {
        max-width: 620px;
    }

    .kinobar-banner {
        height: 230px;
    }

    .kinobar-grid {
        grid-template-columns: 1fr;
    }

    .kinobar-card {
        grid-template-columns: minmax(210px, 0.42fr) minmax(0, 1fr);
    }
}

@media (max-width: 860px) {
    .kinobar-page__inner {
        width: min(100% - 18px, 1540px);
        padding-top: 26px;
        padding-bottom: 52px;
    }

    .kinobar-head h1 {
        font-size: clamp(50px, 17vw, 78px);
        transform: scaleX(0.98) scaleY(1.08);
    }

    .kinobar-head p {
        max-width: 380px;
        font-size: 13px;
    }

    .kinobar-banner {
        height: 190px;
    }

    .kinobar-banner__content strong {
        font-size: 28px;
    }

    .kinobar-banner__content p {
        max-width: 300px;
        font-size: 12px;
    }

    .kinobar-card {
        grid-template-columns: minmax(160px, 0.72fr) minmax(0, 1fr);
        gap: 16px;
    }
}

@media (max-width: 560px) {
    .kinobar-head__accent {
        width: 42px;
        gap: 6px;
        margin-bottom: 14px;
    }

    .kinobar-head__accent span {
        width: 8px;
        height: 19px;
    }

    .kinobar-head h1 {
        font-size: clamp(44px, 17vw, 64px);
        transform: none;
    }

    .kinobar-head p {
        margin-top: 16px;
        font-size: 12px;
    }

    .kinobar-banner {
        height: 150px;
    }

    .kinobar-banner__content {
        left: 18px;
    }

    .kinobar-banner__content span {
        width: 18px;
        height: 4px;
        margin-bottom: 10px;
    }

    .kinobar-banner__content strong {
        font-size: 21px;
    }

    .kinobar-banner__content p {
        display: none;
    }

    .kinobar-card {
        grid-template-columns: 42% minmax(0, 1fr);
        gap: 13px;
        row-gap: 0;
        padding-bottom: 18px;
    }

    .kinobar-card__content {
        padding-right: 0;
    }

    .kinobar-card__content h2 {
        font-size: 20px;
    }

    .kinobar-card__category {
        margin-top: 7px;
        font-size: 10px;
    }

    .kinobar-card__description {
        margin-top: 9px;
        font-size: 10px;
        line-height: 1.28;
    }

    .kinobar-card__bottom {
        width: 100%;
        padding-top: 12px;
    }

    .kinobar-card__price {
        font-size: 17px;
    }

    .kinobar-card__stock {
        margin-top: 7px;
        font-size: 9px;
    }

    .kinobar-card__button {
        min-height: 34px;
        margin-top: 10px;
        font-size: 8px;
    }
}

@media (max-width: 380px) {
    .kinobar-page__inner {
        width: min(100% - 14px, 1540px);
    }

    .kinobar-head h1 {
        font-size: 42px;
    }

    .kinobar-banner {
        height: 132px;
    }

    .kinobar-card {
        grid-template-columns: 1fr;
    }

    .kinobar-card__content {
        min-height: auto;
    }

    .kinobar-card__bottom {
        width: 100%;
    }
}


/* =========================
   KINOBAR SHOWCASE ACTIONS
========================= */

.kinobar-head__actions {
    margin-top: clamp(24px, 2.4vw, 36px);
}

.kinobar-head__button {
    width: min(100%, 260px);
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 22px;
    border: 1px solid #ff2118;
    background: #ff2118;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: clamp(11px, 0.82vw, 14px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    text-decoration: none;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.kinobar-head__button span {
    font-family: Arial, sans-serif;
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
}

.kinobar-head__button:hover {
    border-color: #050505;
    background: #050505;
    color: #ffffff;
}

.kinobar-card__note {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid rgba(255, 33, 24, 0.44);
    background: rgba(255, 33, 24, 0.08);
    color: #ff2118;
    font-family: var(--font-display);
    font-size: clamp(9px, 0.68vw, 11px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.025em;
    text-align: center;
    text-transform: uppercase;
}

.kinobar-card__note--disabled {
    border-color: rgba(5, 5, 5, 0.18);
    background: transparent;
    color: rgba(5, 5, 5, 0.42);
}

@media (max-width: 760px) {
    .kinobar-head__button {
        min-height: 48px;
        font-size: 11px;
    }

    .kinobar-card__note {
        width: 100%;
        min-height: 38px;
        font-size: 9px;
    }
}