body .gdevet-site-header {
    --site-teal: #24585a;
    --site-line: #dce8e8;
    --site-soft: #eef7f6;
    position: relative;
    z-index: 6;
    border-bottom: 1px solid var(--site-line);
    background: #fff;
    color: var(--site-teal);
}
body .header.gdevet-site-header > .container.gdevet-site-header-inner {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    width: min(1200px, calc(100% - 48px));
    min-height: 76px;
    gap: 10px 20px;
    margin-inline: auto;
    padding: 10px 0;
}
.gdevet-site-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; }
body .gdevet-site-header .gdevet-site-brand .custom-logo { display: block; width: 180px; max-width: 100%; height: auto; }
body .gdevet-site-header .gdevet-site-navigation { display: block; justify-self: end; width: auto; margin: 0; }
body .gdevet-site-header :is(.gdevet-site-menu, .sub-menu, .gdevet-site-account ul) { margin: 0; padding: 0; list-style: none; }
body .gdevet-site-header .gdevet-site-menu { display: flex; align-items: center; flex-wrap: wrap; justify-content: end; gap: 4px 15px; }
body .gdevet-site-header .gdevet-site-menu li { position: relative; margin: 0; }
body .gdevet-site-header :is(.gdevet-site-menu a, .gdevet-site-account a, .gdevet-site-account-button) {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 4px 0;
    color: var(--site-teal);
    font: 600 14px/1.3 'Open Sans', sans-serif;
    text-decoration: none;
    white-space: normal;
}
body .gdevet-site-header :is(.gdevet-site-menu a:hover, .current-menu-item > a, .current-menu-ancestor > a, .gdevet-site-account a:hover) {
    text-decoration: underline;
    text-underline-offset: .3em;
}
body .gdevet-site-header :is(a, summary).gdevet-site-account-button {
    min-height: 40px;
    padding: 6px 12px;
    border: 1px solid var(--site-line);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}
body .gdevet-site-header .gdevet-site-account-button:hover { background: var(--site-soft); }
body .gdevet-site-header summary.gdevet-site-account-button::-webkit-details-marker { display: none; }
.gdevet-site-account { position: relative; }
body .gdevet-site-header :is(.gdevet-site-account, .gdevet-site-account-button) { grid-column: 3; grid-row: 1; }
body .gdevet-site-header .gdevet-site-account-button img { margin-inline-end: 6px; border-radius: 50%; object-fit: cover; }
body .gdevet-site-header :is(.sub-menu, .gdevet-site-account ul) {
    position: absolute;
    top: 100%;
    inset-inline-end: 0;
    z-index: 1;
    min-width: 165px;
    padding: 4px 12px;
    border: 1px solid var(--site-line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 22px #173b3e1c;
}
body .gdevet-site-header .sub-menu { display: none; }
body .gdevet-site-header .menu-item:is(:hover, :focus-within) > .sub-menu { display: block; }
body .gdevet-site-header .sub-menu .sub-menu { top: 0; inset-inline-end: 100%; }

body select:not(:is([multiple], [size]:not([size="1"]), .select2-hidden-accessible, .select2-offscreen, .catalog-result-tools select)) {
    appearance: none;
    padding-inline-end: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 8 5 5 5-5' fill='none' stroke='%2324585a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 11px center;
    background-size: 16px;
}
[dir="rtl"] body select:not(:is([multiple], [size]:not([size="1"]), .select2-hidden-accessible, .select2-offscreen, .catalog-result-tools select)) {
    background-position: left 11px center;
}
@media (forced-colors: active) {
    body select:not(:is([multiple], [size]:not([size="1"]), .select2-hidden-accessible, .select2-offscreen, .catalog-result-tools select)) {
        appearance: auto;
        background-image: none;
    }
}
@media (max-width: 850px) {
    body .header.gdevet-site-header > .container.gdevet-site-header-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        width: calc(100% - 28px);
        min-height: 0;
        gap: 3px 8px;
    }
    body .gdevet-site-header .gdevet-site-brand .custom-logo { width: 135px; }
    body .gdevet-site-header .gdevet-site-navigation { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
    body .gdevet-site-header .gdevet-site-menu { justify-content: start; gap: 0 12px; }
    body .gdevet-site-header .gdevet-site-menu a { min-height: 36px; font-size: 13px; }
    body .gdevet-site-header .gdevet-site-menu .sub-menu {
        display: block;
        position: static;
        min-width: 0;
        padding: 0 0 0 9px;
        border: 0;
        box-shadow: none;
    }
    body .gdevet-site-header :is(.gdevet-site-account, .gdevet-site-account-button) { grid-column: 2; font-size: 13px; }
}

body .gdevet-portal-breadcrumbs {
    padding: 0;
    margin: 0;
    color: var(--catalog-muted, var(--muted, #526563));
    font-size: 13px;
}
body .gdevet-portal-breadcrumbs ol { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 7px; margin: 0; padding: 0; list-style: none; }
body .gdevet-portal-breadcrumbs li { display: inline-flex; align-items: center; gap: 7px; }
body .gdevet-portal-breadcrumbs .catalog-icon { width: 15px; height: 15px; }
body .gdevet-portal-breadcrumbs a { color: inherit; text-decoration: none; }
body .gdevet-portal-breadcrumbs a:hover { text-decoration: underline; }
body .gdevet-portal-breadcrumbs [aria-current] { color: var(--catalog-teal, var(--teal, #24585a)); font-weight: 600; }

/* Shared footer and account navigation */
body .gdevet-site-footer {
    background: #23252b;
    color: #e8e9ee;
    border-top: 1px solid #343740;
    font: 400 15px/1.55 'Open Sans', sans-serif;
    padding-block: clamp(32px, 4vw, 56px) 24px;
}
.gdevet-site-footer-inner {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
}
.gdevet-site-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.25fr;
    gap: 28px;
}
.gdevet-site-footer h2 {
    margin: 0 0 8px;
    color: #fff;
    font: inherit;
    font-weight: 700;
}
body .gdevet-site-footer a {
    display: block;
    width: fit-content;
    padding-block: 5px;
    color: inherit;
    text-decoration: none;
    text-underline-offset: .2em;
}
body .gdevet-site-footer a:hover { color: #fff; text-decoration: underline; }
body .gdevet-site-footer a:focus-visible { outline: 2px solid #f4cd90; outline-offset: 3px; }
.gdevet-site-footer-brand img {
    display: block;
    width: 172px;
    max-width: 100%;
    height: auto;
}
.gdevet-site-footer p { margin: 0; color: #bfc2cd; }
.gdevet-site-footer-brand p { margin-top: 7px; }
.gdevet-site-footer-note {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 32px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid #454854;
    font-size: 13px;
}
.gdevet-site-footer-note p:last-child { max-width: 68ch; }

body :is(.gdevet-portal-account, .gdevet-portal-partner) main .gdevet-portal-breadcrumbs {
    display: block;
    margin: 0 0 12px;
    padding: 12px 0 0;
    color: #54646a;
    font-size: 13px;
    line-height: 1.5;
}
body :is(.gdevet-portal-account, .gdevet-portal-partner) .gdevet-portal-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}
body :is(.gdevet-portal-account, .gdevet-portal-partner) .gdevet-portal-breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
}
body :is(.gdevet-portal-account, .gdevet-portal-partner) .gdevet-portal-breadcrumbs .catalog-icon {
    flex: none;
    width: 15px;
    height: 15px;
    fill: currentColor;
}
body :is(.gdevet-portal-account, .gdevet-portal-partner) .gdevet-portal-breadcrumbs a { color: inherit; text-decoration: none; }
body :is(.gdevet-portal-account, .gdevet-portal-partner) .gdevet-portal-breadcrumbs a:hover { text-decoration: underline; }
body :is(.gdevet-portal-account, .gdevet-portal-partner) .gdevet-portal-breadcrumbs [aria-current] {
    color: #24585a;
    font-weight: 600;
}

@media (max-width: 850px) {
    .gdevet-site-footer-inner { width: calc(100% - 32px); }
    .gdevet-site-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .gdevet-site-footer-grid { grid-template-columns: 1fr; gap: 20px; }
    body .gdevet-site-footer a { padding-block: 8px; }
    .gdevet-site-footer-note { margin-top: 24px; }
}

/* Shared sign-in for the site dialog and the partner cabinet. */
body .gdevet-auth {
    --auth-ink: #202d2e;
    --auth-muted: #506365;
    --auth-accent: #235b5d;
    --auth-line: #c5d6d5;
    --auth-soft: #f1f7f6;
    color: var(--auth-ink);
    font: 400 15px/1.5 "GdeVet Open Sans", "Open Sans", sans-serif;
}
body #login_form.gdevet-auth-modal { display: none; position: fixed; z-index: 1060; inset: 0; overflow: auto; }
body #login_form.gdevet-auth-modal .modal-dialog-centered { display: flex; align-items: center; min-height: calc(100% - 32px); }
body #login_form.gdevet-auth-modal .modal-content { position: relative; width: 100%; }
body.gdevet-portal-native .modal-backdrop { position: fixed; z-index: 1050; inset: 0; background: #172d3080; }
body #login_form.gdevet-auth-modal .modal-dialog { width: min(440px, calc(100% - 32px)); max-width: none; margin: 16px auto; }
body #login_form.gdevet-auth-modal .modal-content,
body .gdevet-auth.gdevet-auth-embedded {
    box-sizing: border-box;
    border: 1px solid #dce8e7;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 42px #173d421a;
}
body .gdevet-auth.gdevet-auth-embedded { width: min(100%, 440px); margin: 0 auto; padding: clamp(18px, 4vw, 32px); }
body #login_form.gdevet-auth-modal .modal-body { padding: clamp(18px, 4vw, 32px); }
body #login_form.gdevet-auth-modal .gdevet-auth,
body .gdevet-auth .oauth-wrapper { padding: 0; }
body .gdevet-auth .oauth-form { margin: 0; }
body .gdevet-auth .oauth-form > :not([type="hidden"]) { margin: 0 0 16px; }
body .gdevet-auth .oauth-form > :last-child { margin-bottom: 0; }
body .gdevet-auth .gdevet-auth-heading h2 {
    margin: 0;
    color: var(--auth-ink);
    font: 700 clamp(22px, 5vw, 27px)/1.2 "GdeVet Inter", Inter, sans-serif;
}
body .gdevet-auth-modal .gdevet-auth-heading h2 { padding-right: 42px; }
body .gdevet-auth .gdevet-auth-heading p { margin: 8px 0 0; color: var(--auth-muted); }
body .gdevet-auth .gdevet-auth-field { display: grid; gap: 5px; font-weight: 600; }
body .gdevet-auth .gdevet-auth-field input {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    margin: 0;
    padding: 9px 12px;
    border: 1px solid var(--auth-line);
    border-radius: 10px;
    background: #fff;
    color: var(--auth-ink);
    font: inherit;
    font-size: 16px;
    font-weight: 400;
}
body .gdevet-auth .gdevet-auth-password { position: relative; }
body .gdevet-auth .gdevet-auth-password input { padding-right: 52px; }
body .gdevet-auth-modal .gdevet-auth-icon-button,
body .gdevet-auth .gdevet-auth-icon-button {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #506365;
    cursor: pointer;
}
body #login_form .close_login { position: absolute; top: 12px; right: 12px; z-index: 1; }
body .gdevet-auth .button-show-password { position: absolute; top: 50%; right: 4px; transform: translateY(-50%); }
body .gdevet-auth .button-show-password::before { content: none; }
body .gdevet-auth .gdevet-auth-eye-slash { display: none; }
body .gdevet-auth .button-show-password.active .gdevet-auth-eye-slash { display: inline; }
body .gdevet-auth-modal .gdevet-auth-icon-button:hover,
body .gdevet-auth .gdevet-auth-icon-button:hover { background: #eef5f4; color: #235b5d; }
body .gdevet-auth .gdevet-auth-options { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; }
body .gdevet-auth .gdevet-auth-check { display: flex; gap: 8px; align-items: baseline; color: var(--auth-muted); cursor: pointer; }
body .gdevet-auth .gdevet-auth-check input { flex: 0 0 auto; width: 16px; height: 16px; margin: 0; accent-color: var(--auth-accent); transform: translateY(2px); }
body .gdevet-auth .gdevet-auth-primary {
    width: 100%;
    min-height: 46px;
    padding: 10px 16px;
    border: 0;
    border-radius: 10px;
    background: var(--auth-accent);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
body .gdevet-auth .gdevet-auth-primary:hover:enabled { background: #18494b; }
body .gdevet-auth .gdevet-auth-primary:disabled { background: #e7efee; color: #506365; cursor: default; }
body .gdevet-auth .gdevet-auth-link { padding: 0; border: 0; background: none; color: var(--auth-accent); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
body .gdevet-auth .gdevet-auth-switch { color: var(--auth-muted); text-align: center; }
body .gdevet-auth .gdevet--hidden__fields { display: none; }
body .gdevet-auth .gdevet--hidden__fields.active { display: grid; gap: 12px; }
body .gdevet-auth .gdevet-auth-social { display: block; margin-top: 20px; padding-top: 14px; border-top: 1px solid #dce8e7; }
body .gdevet-auth .gdevet-auth-social .title_soc_login_form { margin: 0 0 9px; color: var(--auth-muted); font-size: 14px; text-align: center; }
body .gdevet-auth .gdevet-auth-providers { display: flex; flex-wrap: wrap; gap: 8px; }
body .gdevet-auth .gdevet-auth-providers a { flex: 1 0 auto; width: auto; min-height: 42px; height: auto; margin: 0; padding: 8px 12px; border: 1px solid var(--auth-line); border-radius: 10px; background: #fff; color: var(--auth-accent); font-weight: 700; text-decoration: none; }
body .gdevet-auth .gdevet-auth-providers a:hover { background: var(--auth-soft); }
body .gdevet-auth :is(a, button, input):focus-visible,
body .gdevet-auth-modal .close_login:focus-visible { outline: 2px solid #235b5d; outline-offset: 2px; }
body .gdevet-auth .gdevet-auth-message { display: none; margin-top: 12px; padding: 10px 12px; border-radius: 8px; background: var(--auth-soft); color: var(--auth-ink); }
body .gdevet-auth .gdevet-auth-message:empty { display: none !important; }
body .gdevet-auth .gdevet-auth-message.modal-response-text-error { background: #fdf1ef; color: #872d24; }
body .gdevet-auth .register-success { position: static; margin: 12px 0 0; }
body .gdevet-auth-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Shared navigation, including pages that retain legacy theme styles. */
body .gdevet-portal-breadcrumbs ol > li { list-style: none; }
body .gdevet-portal-breadcrumbs ol > li::marker { content: ''; }
body .gdevet-portal-breadcrumbs ol > li::before { display: none; content: none; counter-increment: none; }
.gdevet-site-account-short { display: none; }
@media (max-width: 850px) {
    body .header.gdevet-site-header > .container.gdevet-site-header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 0 8px; padding-block: 8px; }
    body .gdevet-site-header .gdevet-site-brand { display: contents; }
    body .gdevet-site-header .custom-logo-link { grid-column: 1; grid-row: 1; justify-self: start; }
    body .gdevet-site-header .gdevet-city-trigger { grid-column: 1; grid-row: 2; justify-self: start; flex-wrap: nowrap; gap: 4px; padding: 4px 0; min-height: 40px; white-space: nowrap; font-size: 12px; }
    body .gdevet-site-header .gdevet-city-trigger span { white-space: nowrap; }
    body .gdevet-site-header .gdevet-site-navigation { grid-column: 2; grid-row: 2; justify-self: end; }
    body .gdevet-site-header .gdevet-site-menu { gap: 0 9px; }
    body .gdevet-site-header :is(.gdevet-site-account, .gdevet-site-account-button) { grid-column: 2; grid-row: 1; justify-self: end; }
    .gdevet-site-account-long { display: none; }
    .gdevet-site-account-short { display: inline; }
}
@media (max-width: 360px) {
    body .gdevet-site-header .gdevet-city-trigger { font-size: 11px; gap: 2px; }
    body .gdevet-site-header .gdevet-city-trigger svg { width: 14px; }
    body .gdevet-site-header .gdevet-site-menu a { font-size: 12px; }
}
