/* Supreme 2.0 modernization layer. Original Supreme 1.7.3 files remain intact. */
:root {
    --supreme2-accent: #eb5a3c;
    --supreme2-focus: #0b73ce;
    --supreme2-surface: #ffffff;
    --supreme2-text: #252525;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--supreme2-text);
}

img {
    height: auto;
    max-width: 100%;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
    outline: 3px solid var(--supreme2-focus);
    outline-offset: 2px;
}

.supreme2-mobile-actions,
.supreme2-mobile-search,
.supreme2-mobile-menu {
    display: none;
}

@media (max-width: 767px) {
    #topnav .auth_menu,
    #topnav .h_search,
    .menubars > .h_menu1:not(.supreme2-mobile-menu),
    .menubars > .h_menu2:not(.supreme2-mobile-menu) {
        display: none !important;
    }

    #header {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    #header > .row {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
    }

    #header .h_logo {
        display: flex;
        align-items: center;
        min-height: 58px;
        width: 64%;
    }

    #header .h_logo img {
        display: block;
        max-height: 58px;
        width: auto;
    }

    #header .h_contacts,
    #header .h_cart,
    #header > .row > .h_search {
        display: none !important;
    }

    .supreme2-mobile-actions {
        display: flex;
        justify-content: flex-end;
        gap: 8px;
        width: 36%;
    }

    .supreme2-mobile-actions a {
        align-items: center;
        border: 1px solid #dedede;
        border-radius: 8px;
        color: #333;
        display: inline-flex;
        font-size: 20px;
        height: 44px;
        justify-content: center;
        min-width: 44px;
        text-decoration: none;
    }

    .supreme2-mobile-search {
        display: block;
        padding: 10px 15px 0;
        width: 100%;
    }

    .supreme2-mobile-search .search {
        display: flex;
        margin: 0;
    }

    .supreme2-mobile-search .search-field {
        border-radius: 8px 0 0 8px;
        font-size: 16px;
        min-height: 44px;
        width: 100%;
    }

    .supreme2-mobile-search .btn {
        border-radius: 0 8px 8px 0;
        min-height: 44px;
        min-width: 48px;
    }

    .supreme2-mobile-menu {
        display: block !important;
        margin: 0 15px 12px;
    }

    .supreme2-mobile-menu .menu_header {
        border-radius: 8px;
        cursor: pointer;
        min-height: 48px;
    }

    .supreme2-mobile-menu .menu_toggle {
        display: flex;
        align-items: center;
        gap: 9px;
        min-height: 48px;
    }

    .supreme2-mobile-menu .supreme2-catalog-title {
        color: #777;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .08em;
        padding: 12px 15px 6px;
        text-transform: uppercase;
    }
}


/* Supreme 2.0 compact mobile footer, 2026-07-17 */
@media (max-width: 767px) {
    #footer_in {
        padding-bottom: 12px;
        padding-top: 8px;
    }

    #footer_in > .container-fluid {
        padding-left: 12px;
        padding-right: 12px;
    }

    .footer1 {
        display: flex;
        flex-wrap: wrap;
        margin: 0 -6px 6px;
    }

    .footer1 .col {
        float: none;
        margin-top: 0;
        padding-left: 6px;
        padding-right: 6px;
    }

    .footer1 .f-col-pages,
    .footer1 .f-col-profile {
        clear: none !important;
        width: 50% !important;
    }

    .footer1 .f-col-contacts {
        border-top: 1px solid #d2d2d2;
        clear: both !important;
        margin-top: 8px;
        padding-top: 8px;
        width: 100% !important;
    }

    .footer1 .title {
        font-size: 15px;
        font-weight: 600;
        line-height: 1.2;
        margin-bottom: 4px;
    }

    .footer1 .menu li {
        font-size: 13px;
        line-height: 1.3;
        margin-bottom: 0;
        min-width: 0;
    }

    .footer1 .menu li:empty {
        display: none;
    }

    .footer1 .menu a {
        display: block;
        font-size: 13px;
        line-height: 1.3;
        overflow-wrap: anywhere;
        padding: 5px 0;
    }

    .footer1 .f-col-contacts .menu {
        display: grid;
        gap: 2px 10px;
        grid-template-areas:
            "phone email"
            "hours hours";
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .footer1 .f-col-contacts .menu li {
        padding: 5px 0;
    }

    .footer1 .f-col-contacts .menu li:nth-child(1) {
        grid-area: phone;
        white-space: nowrap;
    }

    .footer1 .f-col-contacts .menu li:nth-child(2) {
        grid-area: hours;
    }

    .footer1 .f-col-contacts .menu li:nth-child(3) {
        grid-area: email;
        white-space: nowrap;
    }

    .footer1 .f-col-contacts .fa {
        margin-right: 3px;
        width: 16px;
    }

    .footer_plugins {
        margin-bottom: 6px;
    }

    .footer2 {
        padding-bottom: 0;
        padding-top: 5px;
    }

    .footer2 .col,
    .footer2 .footer_wide_text {
        font-size: 12px;
        line-height: 1.35;
        padding-bottom: 4px;
        padding-top: 4px;
    }
}

@media (max-width: 340px) {
    .footer1 .f-col-contacts .menu {
        grid-template-areas:
            "phone"
            "email"
            "hours";
        grid-template-columns: minmax(0, 1fr);
    }
}
/* Supreme 2.0 branded social and payment footer, 2026-07-17 */
.footer2 .f_soc { text-align: left; }
.f-brand-footer { margin-top: 12px; }
.f-brand-social { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.f-brand-social-button {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; color: #fff !important;
    background: linear-gradient(145deg, #6d4333 0%, #301313 100%);
    border: 1px solid rgba(182, 142, 108, .8); border-radius: 13px;
    box-shadow: 0 5px 13px rgba(47, 18, 18, .16); text-decoration: none !important;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.f-brand-social-button:hover, .f-brand-social-button:focus {
    color: #fff !important; background: linear-gradient(145deg, #845642 0%, #3b2222 100%);
    box-shadow: 0 7px 17px rgba(47, 18, 18, .24); transform: translateY(-2px);
}
.f-brand-social-button svg {
    width: 23px; height: 23px; fill: none; stroke: currentColor;
    stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.f-brand-social-button .f-brand-social-dot,
.f-brand-social-button-max svg,
.f-brand-social-button[href*="t.me"] svg { fill: currentColor; stroke: none; }
.f-brand-social-button .f-brand-social-cut { fill: none; stroke: #301313; stroke-width: 1.25; }
.f-brand-payments {
    display: grid; grid-template-columns: repeat(4, minmax(135px, 1fr));
    gap: 10px; max-width: 720px; margin: 14px 0 12px;
}
.f-brand-payment {
    display: flex; align-items: center; min-height: 56px; padding: 8px 11px;
    color: #3b2222; background: rgba(255, 255, 255, .76);
    border: 1px solid rgba(182, 142, 108, .48); border-radius: 11px;
    box-shadow: 0 3px 10px rgba(47, 18, 18, .07);
}
.f-brand-payment-icon {
    display: inline-flex; flex: 0 0 34px; align-items: center; justify-content: center;
    width: 34px; height: 34px; margin-right: 9px; color: #fff;
    background: #3b2222; border-radius: 9px;
}
.f-brand-payment-icon svg {
    width: 22px; height: 22px; fill: none; stroke: currentColor;
    stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.f-brand-payment-mir-word { font-size: 10px; font-weight: 800; letter-spacing: -.3px; }
.f-brand-payment-label { min-width: 0; font-size: 13px; font-weight: 600; line-height: 1.12; }
.f-brand-payment-label small { color: #725646; font-size: 11px; font-weight: 400; }
.f_soc .f_counters img[src*="1oplata.png"] { display: none !important; }
.f_soc .f_counters > a img { max-width: 100%; height: auto; border-radius: 9px; }
@media (max-width: 767px) {
    .f-brand-footer { margin-top: 8px; }
    .f-brand-social { gap: 8px; }
    .f-brand-social-button { width: 40px; height: 40px; border-radius: 12px; }
    .f-brand-payments { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0 10px; }
    .f-brand-payment { min-height: 50px; padding: 7px 8px; }
    .f-brand-payment-icon { flex-basis: 31px; width: 31px; height: 31px; margin-right: 7px; border-radius: 8px; }
    .f-brand-payment-icon svg { width: 20px; height: 20px; }
    .f-brand-payment-label { font-size: 12px; }
    .f-brand-payment-label small { font-size: 10.5px; }
}

/* Supreme 2.0: hide legacy Yandex Market rating badge */
.f_soc .f_counters > a[href*="market.yandex.ru/shop/419167"] { display: none !important; }
/* Supreme 2.0.4: coral desktop catalog strip and one-line navigation */
@media (min-width: 768px) {
    .menubars > .h_menu2.menu_color:not(.supreme2-mobile-menu) {
        background-color: var(--supreme2-accent) !important;
        background-image: linear-gradient(135deg, var(--supreme2-accent-light) 0%, #df5238 52%, var(--supreme2-accent-dark) 100%) !important;
        border: 1px solid #bd3b2d;
        box-shadow: 0 4px 12px rgba(132, 42, 31, .18);
    }

    .menubars > .h_menu2:not(.supreme2-mobile-menu) .menu_wrapper.hidden-xs > .menu {
        display: flex !important;
        flex-wrap: wrap;
        align-items: stretch;
        width: 100%;
        table-layout: auto !important;
    }

    .menubars > .h_menu2:not(.supreme2-mobile-menu) .menu_wrapper.hidden-xs > .menu > li.hidden {
        display: block !important;
        flex: 1 1 auto;
        max-width: 100%;
        width: auto !important;
    }

    .menubars > .h_menu2:not(.supreme2-mobile-menu) .menu_wrapper.hidden-xs > .menu > li.menu-more,
    .menubars > .h_menu2:not(.supreme2-mobile-menu) .menu_wrapper.hidden-xs > .menu > li:not(.hidden):not(.menu-more) {
        display: none !important;
    }

    .menubars > .h_menu2.menu_color:not(.supreme2-mobile-menu) .menu_wrapper.hidden-xs > .menu > li.hidden > .link > a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 0 10px;
        color: #ffffff;
        font-size: 13px;
        line-height: 1.15;
        white-space: normal;
        text-align: center;
        text-shadow: 0 1px 1px rgba(0, 0, 0, .24);
    }

    .menubars > .h_menu2.menu_color:not(.supreme2-mobile-menu) .menu_wrapper.hidden-xs > .menu > li.hidden:hover > .link > a,
    .menubars > .h_menu2.menu_color:not(.supreme2-mobile-menu) .menu_wrapper.hidden-xs > .menu > li.hidden.hover > .link > a {
        background: rgba(120, 27, 20, .23);
        color: #ffffff;
    }
}

/* Supreme 2.0.4: coral mobile menu strip */
@media (max-width: 767px) {
    .menubars > .h_menu2.menu_color.supreme2-mobile-menu {
        background-color: var(--supreme2-accent) !important;
        background-image: linear-gradient(135deg, var(--supreme2-accent-light) 0%, #df5238 52%, var(--supreme2-accent-dark) 100%) !important;
        border: 1px solid #bd3b2d;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(132, 42, 31, .18);
    }

    .menubars > .h_menu2.menu_color.supreme2-mobile-menu .menu_header {
        background: transparent !important;
    }

    .menubars > .h_menu2.menu_color.supreme2-mobile-menu .menu_toggle {
        color: #ffffff !important;
        text-shadow: 0 1px 1px rgba(0, 0, 0, .24);
    }
}

/* Coffee Automat: consistent presentation of existing payment strips. */
.f_soc .f_counters { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-start; gap:10px; margin-top:14px; }
.f_soc .f_counters > img[src$="visa.png"] { box-sizing:border-box; width:260px; max-width:100%; height:58px; object-fit:contain; padding:12px 14px; margin:0; background:#faf9f7; border:1px solid #ded9d5; border-radius:8px; filter:grayscale(1); opacity:.78; }

/* Coffee Automat payment cards. */
.f-brand-payments { grid-template-columns:repeat(auto-fit,minmax(145px,1fr)); }
.f-brand-payment { color:#503d35; background:#fffaf7; border-color:#dfc8bc; box-shadow:0 2px 7px rgba(80,61,53,.06); }
.f-brand-payment-icon { background:#b63c38; }
.f-brand-payment-label small { color:#78665d; }
.f_soc .f_counters > img[src$="visa.png"] { display:none !important; }
.f_soc .f_counters { margin-top:0; }
@media(max-width:767px) { .f-brand-payments { grid-template-columns:repeat(2,minmax(0,1fr)); } }


/* Coffee Automat: manager messenger links in the desktop header. */
.h_contacts .header-messenger-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-top: 7px;
}
.h_contacts .header-messenger-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-sizing: border-box;
    min-height: 28px;
    padding: 3px 6px;
    border: 1px solid #e1cfc7;
    border-radius: 8px;
    background: #fffaf8;
    color: #54352d !important;
    box-shadow: 0 2px 6px rgba(91, 48, 36, .07);
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease;
}
.h_contacts .header-messenger-link:hover,
.h_contacts .header-messenger-link:focus {
    border-color: #bd6456;
    background: #fff2ee;
    color: #8f2c27 !important;
    transform: translateY(-1px);
}
.h_contacts .header-messenger-icon {
    display: inline-flex;
    flex: 0 0 17px;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border-radius: 5px;
    background: #b83b2e;
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: -.25px;
}


/* Coffee Automat: messenger shortcuts beside the mobile phone button. */
@media (max-width: 767px) {
    #header .h_logo {
        width: 42%;
    }
    .supreme2-mobile-actions {
        align-items: center;
        gap: 4px;
        width: 58%;
    }
    .supreme2-mobile-messengers {
        display: flex;
        flex: 0 1 auto;
        align-items: center;
        gap: 4px;
        min-width: 0;
    }
    .supreme2-mobile-actions .supreme2-mobile-messenger {
        display: inline-flex;
        flex: 0 0 30px;
        align-items: center;
        justify-content: center;
        width: 30px;
        min-width: 30px;
        height: 36px;
        border: 1px solid #e5d3cd;
        border-radius: 9px;
        background: #fffaf8;
        box-shadow: 0 2px 6px rgba(91, 48, 36, .08);
    }
    .supreme2-mobile-actions .supreme2-mobile-messenger svg {
        width: 19px;
        height: 19px;
        fill: currentColor;
        stroke: none;
    }
    .supreme2-mobile-actions .supreme2-mobile-messenger__cut {
        fill: none;
        stroke: #fffaf8;
        stroke-width: 1.25;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
    .supreme2-mobile-messenger--telegram {
        color: #258bc0 !important;
    }
    .supreme2-mobile-messenger--whatsapp {
        color: #2f8c55 !important;
    }
    .supreme2-mobile-actions .supreme2-mobile-messenger--whatsapp svg {
        fill: none;
        stroke: currentColor;
        stroke-width: 1.55;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
    .supreme2-mobile-actions .supreme2-mobile-messenger--max {
        border-color: #c899a8;
        background: linear-gradient(145deg, #b94a61 0%, #7e3548 100%);
        color: #fff !important;
        font-size: 15px;
        font-weight: 800;
    }
    .supreme2-mobile-actions .supreme2-mobile-action {
        flex: 0 0 40px;
        width: 40px;
        min-width: 40px;
        height: 40px;
    }
}
@media (max-width: 359px) {
    #header .h_logo {
        width: 40%;
    }
    .supreme2-mobile-actions {
        gap: 3px;
        width: 60%;
    }
    .supreme2-mobile-messengers {
        gap: 3px;
    }
    .supreme2-mobile-actions .supreme2-mobile-messenger {
        flex-basis: 26px;
        width: 26px;
        min-width: 26px;
        height: 34px;
        border-radius: 8px;
    }
    .supreme2-mobile-actions .supreme2-mobile-messenger svg {
        width: 17px;
        height: 17px;
    }
    .supreme2-mobile-actions .supreme2-mobile-action {
        flex-basis: 38px;
        width: 38px;
        min-width: 38px;
        height: 38px;
    }
}
/* Mobile contacts rendered from supreme.header.contacts. */
@media (max-width: 767px) {
    .supreme2-mobile-contact-block { display: flex; align-items: center; gap: 4px; min-width: 0; }
    .supreme2-mobile-contact-block > .clock-o { display: none !important; }
    .supreme2-mobile-contact-block > .header-messenger-links { order: 1; margin: 0; }
    .supreme2-mobile-contact-block .header-messenger-label { display: none !important; }
    .supreme2-mobile-contact-block .header-messenger-icon { font-size: 10px; font-weight: 800; letter-spacing: -.4px; }
    .supreme2-mobile-contact-block .supreme2-mobile-messenger--max .header-messenger-icon { font-size: 15px; }
    .supreme2-mobile-contact-block > .phone { order: 2; margin: 0; }
    .supreme2-mobile-contact-block > .phone a { box-sizing: border-box; width: 40px; min-width: 40px; height: 40px; font-size: 0; }
    .supreme2-mobile-contact-block > .phone a::before { content: "\f095"; font-family: FontAwesome; font-size: 20px; color: #b63c38; }
}
@media (max-width: 359px) {
    .supreme2-mobile-contact-block > .phone a { width: 38px; min-width: 38px; height: 38px; }
}
