/* Stock-update date: system font renders digits reliably (Liberation Sans breaks 28.06.2026) */
.stock-update .nowdate {
    color: #dc3545;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 700;
    font-size: inherit;
    letter-spacing: 0;
    white-space: nowrap;
}

/* Mobile tweaks for student-style landing (IT) */
@media (max-width: 768px) {
    .wrapper .content {
        padding-left: 12px;
        padding-right: 12px;
    }

    .wrapper .title {
        font-size: 1.35rem !important;
        line-height: 1.35 !important;
    }

    .wrapper header .top .logo {
        font-size: 1.5rem !important;
        padding: 8px 12px;
    }

    .wrapper .content img:not(.ava):not(.prod-img),
    .wrapper .content .image,
    .wrapper .prod-img {
        max-width: 100% !important;
        height: auto !important;
    }

    .wrapper .content img.image.vertical {
        max-height: 70vh;
        width: auto !important;
        max-width: 100% !important;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .menu-ul {
        flex-wrap: wrap;
    }

    .wrapper header .menu {
        display: none;
    }

    /* Comments: keep avatars circular and small */
    .comments .comment {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 0 12px;
        padding-left: 0;
        overflow: hidden;
    }

    .comments .comment .ava {
        float: none !important;
        flex: 0 0 52px;
        width: 52px !important;
        height: 52px !important;
        max-width: 52px !important;
        min-width: 52px !important;
        object-fit: cover;
        object-position: center top;
        border-radius: 50%;
        margin-bottom: 4px;
    }

    .comments .comment > p {
        flex: 1 1 calc(100% - 64px);
        margin-left: 0;
    }

    .comments .comment > p:first-of-type,
    .comments .comment > p.comm-date {
        flex: 1 1 calc(100% - 64px);
    }

    .comments .comment > p:not(.comm-date):last-of-type {
        flex: 1 1 100%;
        padding-left: 64px;
        margin-top: -8px;
    }

    .comm {
        font-size: 1.5rem !important;
    }

    /* Roulette + order form */
    .spin-wrapper,
    .wheel-wrapper,
    .wheel,
    .order_block,
    .prod_img_wrapper {
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .wheel {
        width: min(100%, 320px) !important;
    }

    .spin-wrapper {
        padding: 12px 8px !important;
    }

    .spin-wrapper p {
        font-size: 17px !important;
    }

    .order_form,
    .wheel_input,
    .country_select {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    .order_block .prod_img {
        max-width: 220px !important;
        width: auto !important;
        height: auto !important;
    }

    .graph_block {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .graph_block .label {
        font-size: 14px;
    }

    .stock-update {
        flex-wrap: wrap;
    }

    .stock-update img {
        width: 24px !important;
        max-width: 24px !important;
        flex-shrink: 0;
    }

    .button {
        display: block;
        text-align: center;
        margin: 20px auto;
    }

    .coupon span {
        font-size: 1rem;
        line-height: 1.3;
    }
}

@media (min-width: 769px) {
    .wrapper .content img.image {
        max-width: 560px;
    }

    .comments .comment .ava {
        width: 50px !important;
        height: 50px !important;
        max-width: 50px !important;
        object-fit: cover;
        object-position: center top;
    }
}

.site-header-mobile {
    display: none;
}
