@font-face {
    font-family: "Avant Garde Light";
    src: url("fonts/Avant Garde Gothic/ITC Avant Garde Gothic LT Extra Light.ttf") format("truetype");
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Avant Garde Book";
    src: url("fonts/Avant Garde Gothic/ITC Avant Garde Gothic LT Book.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Avant Garde Medium";
    src: url("fonts/Avant Garde Gothic/ITC Avant Garde Gothic LT Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Avant Garde Demi";
    src: url("fonts/Avant Garde Gothic/ITC Avant Garde Gothic LT Demi.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Avant Garde bold";
    src: url("fonts/Avant Garde Gothic/ITC Avant Garde Gothic LT Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: "Avant Garde Condensed";
    src: url("fonts/Avant Garde Gothic/ITC Avant Garde Gothic LT Condensed Book.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Avant Garde Condensed Bold";
    src: url("fonts/Avant Garde Gothic/ITC Avant Garde Gothic LT Condensed Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Avant Garde CE Demi";
    src: url("fonts/Avant Garde Gothic/ITC Avant Garde CE Gothic Demi.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: "Avant Garde Book", sans-serif;
    
}


header {
    width: 100%;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

header #logo {
    font-size: 20px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    margin: 20px;
}

.header-actions {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 12px;
    margin: 10px;
}

.lang-switch-wrap {
    display: inline-flex;
    align-items: center;
}

.lang-switch-select {
    height: 38px;
    min-width: 72px;
    border: 1px solid #000;
    border-radius: 8px;
    background: #fff;
    color: #000;
    font-size: 13px;
    font-weight: 600;
    padding: 0 10px;
    cursor: pointer;
}

.account-admin-tariff-select {
    min-width: 220px;
}

.header-btn {
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    background: #000;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.header-btn-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.header-icon-btn {
    width: 38px;
    height: 38px;
    padding: 0;
    gap: 0;
}

.fullscreen-icon-exit {
    display: none;
}

#fullscreenBtn.is-fullscreen .fullscreen-icon-enter {
    display: none;
}

#fullscreenBtn.is-fullscreen .fullscreen-icon-exit {
    display: block;
}

.cart-btn-wrap {
    position: relative;
    display: inline-block;
}

.catalog-reference-search-popup {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.6);
}

.catalog-reference-search-popup[hidden] {
    display: none !important;
}

.catalog-reference-search-dialog {
    position: relative;
    width: min(760px, 94vw);
    max-height: min(86vh, 760px);
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 30px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

.catalog-reference-search-head {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-right: 40px;
}

.catalog-reference-search-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.catalog-reference-search-help {
    margin: 0;
    color: #444;
    font-size: 14px;
}

.catalog-reference-search-dialog .header-search-input {
    height: 46px;
    font-size: 15px;
    padding-right: 14px;
}

.catalog-reference-search-dialog .header-search-results {
    max-height: 48vh;
}

.header-search {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.header-search-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 120;
    width: min(340px, calc(100vw - 24px));
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.16);
}

.header-search-panel[hidden] {
    display: none !important;
}

.header-search-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.05);
    color: #000;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-search-close:hover,
.header-search-close:focus-visible {
    background: rgba(0, 0, 0, 0.12);
    outline: none;
}

.header-search-input {
    width: 100%;
    height: 40px;
    border: 1px solid #000;
    border-radius: 999px;
    background: #fff;
    color: #000;
    font: inherit;
    font-size: 14px;
    padding: 0 42px 0 14px;
    box-sizing: border-box;
}

.header-search-input:focus {
    outline: 2px solid rgba(0, 0, 0, 0.16);
    outline-offset: 2px;
}

.header-search-results {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 320px;
    overflow: auto;
}

.header-search-empty {
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.04);
    color: rgba(0, 0, 0, 0.72);
    font-size: 13px;
}

.header-search-result {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    background: #fff;
    color: #000;
    padding: 10px 12px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.header-search-result:hover,
.header-search-result:focus-visible {
    border-color: rgba(0, 0, 0, 0.28);
    background: rgba(0, 0, 0, 0.03);
    outline: none;
}

.header-search-result-ref {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.header-search-result-page {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.68);
    white-space: nowrap;
}

@media (max-width: 700px) {
    .header-actions {
        margin: 14px;
        gap: 8px;
    }

    .header-btn {
        padding: 8px 12px;
        font-size: 13px;
    }

    .lang-switch-select {
        height: 34px;
        min-width: 68px;
        font-size: 12px;
        padding: 0 8px;
    }

    .account-admin-tariff-select {
        min-width: 180px;
    }

    .header-icon-btn {
        width: 34px;
        height: 34px;
        padding: 0;
    }

    .header-search-panel {
        right: auto;
        left: 0;
        width: min(320px, calc(100vw - 24px));
    }
}


.main-button {
    padding: 10px 20px;
    border: 2px solid #000000d2;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}


.button-alternative{
    background:none;
    border: none;
    cursor: pointer;
}
