.ept-header-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 6px 8px;
}
.ept-header-navigation { grid-column: 1; grid-row: 2; }
.ept-header-logo { grid-column: 1 / -1; grid-row: 1; min-width: 0; text-align: center; }
.ept-header-logo img { width: auto; height: auto; max-width: 130px !important; max-height: 52px !important; object-fit: contain; }
.ept-header-actions { grid-column: 2; grid-row: 2; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.ept-header-actions .woocommerce__cart { min-width: 44px; min-height: 44px; }
@media (max-width: 767.98px) {
    .lstheme-header .lstheme-header__text { padding: 8px 0; }
    .ept-header-navigation { gap: 8px; }
    .ept-header-navigation #siteShare { margin: 0; }
    .ept-header-navigation #menu-trigger { display: flex; flex-direction: column; justify-content: center; align-items: center; min-width: 44px; min-height: 44px; }
    .ept-header-navigation #siteShare button { min-width: 44px; min-height: 44px; }
}
@media (min-width: 768px) {
    .ept-header-row { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
    .ept-header-navigation { grid-row: 1; }
    .ept-header-logo { grid-column: 2; }
    .ept-header-logo img { max-width: 180px !important; max-height: 85px !important; }
    .ept-header-actions { grid-column: 3; grid-row: 1; }
    .ept-header-row--left .ept-header-logo { grid-column: 1; text-align: left; }
    .ept-header-row--left .ept-header-navigation { grid-column: 2; }
}
.ept-visitor-tools {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    padding: 0;
}
.ept-language-control { min-width: 44px; min-height: 44px; }
.ept-language-control .gtranslate_wrapper { position: relative; display: inline-flex; }
.ept-language-control a.gt_switcher-popup {
    display: inline-grid !important;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid #c6d7e8;
    border-radius: 8px;
    background: #fff;
}
.ept-language-control a.gt_switcher-popup > span { display: none !important; }
.ept-language-control a.gt_switcher-popup img { width: 22px !important; height: 15px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; object-fit: contain; }
body > .gt_white_content {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    width: min(560px, calc(100vw - 32px)) !important;
    height: auto !important;
    max-height: calc(100dvh - 48px) !important;
    margin: 0 !important;
    padding: 44px 20px 16px !important;
    border-radius: 16px !important;
    overflow: auto !important;
    z-index: 2147482001 !important;
}
body > .gt_white_content .gt_languages { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; max-height: none !important; }
body > .gt_white_content a { min-height: 44px; line-height: 1.4 !important; white-space: normal !important; }
body > .gt_white_content a span { font-size: 14px !important; margin-left: 0 !important; color: #152d40; }
body > .gt_white_content a img { width: 20px; margin-right: 6px !important; }
body > .gt_black_overlay { position: fixed !important; inset: 0 !important; width: 100vw !important; height: 100dvh !important; background: rgba(8, 18, 32, .52) !important; opacity: 1 !important; z-index: 2147482000 !important; }
.ept-language-close { position: absolute; right: 8px; top: 2px; width: 44px; height: 44px; border: 0; background: transparent; color: #152d40; font-size: 28px; }
.gt_white_content :focus-visible { outline: 3px solid #005ea8; outline-offset: 2px; }
.ept-currency-control { width: 72px; }
/* Override the plugin's launcher sizing, leaving its modal layout intact. */
.ept-currency-control .dynoreg_cc-style-3-du-dialog-starter {
    width: 72px !important;
    min-width: 72px !important;
    height: 44px !important;
    padding: 0 8px !important;
    border-radius: 8px;
    font-size: 14px !important;
    font-weight: 700 !important;
}
.ept-currency-estimate { display: block; font-size: 11px; font-weight: 500; }
.ept-rate-table__notes .ept-currency-estimate { display: inline; }
.currency-usd .ept-currency-estimate { display: none; }
.ept-currency-note { padding: 8px 12px 0; margin: 0; font-size: 11px; color: #475b70; }
.lstheme-footer .lstheme-footer__links {
    /* Override the parent theme's responsive alignment utility. */
    justify-content: center !important;
    gap: 0 16px;
}
.lstheme-footer .lstheme-footer__links > li {
    margin: 0;
}
.lstheme-footer__links > .ept-settings-break {
    flex-basis: 100%;
    height: 0;
    padding: 0;
    list-style: none;
}
.lstheme-footer__links > li > a,
.lstheme-footer__links .ept-settings-links > button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-decoration: none;
}
.lstheme-footer__links .ept-settings-links > button {
    cursor: pointer;
}
.lstheme-footer__links > li > a:hover,
.lstheme-footer__links .ept-settings-links > button:hover {
    text-decoration: underline;
}
.ept-privacy-policy { max-width: 780px; margin: 0 auto; padding: 12px 16px 32px; color: #1c3347; }
.ept-privacy-policy h2 { margin-top: 28px; font-size: 1.3rem; }
.ept-privacy-policy li { margin-bottom: 10px; }
.ept-skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 2147483000;
    padding: 12px 20px;
    background: #fff;
    color: #003566;
    transform: translateY(-180%);
}
.ept-skip-link:focus { transform: translateY(0); }
.ept-visitor-tools :focus-visible,
.ept-settings-links :focus-visible { outline: 3px solid #005ea8; outline-offset: 3px; }

/* The vendor uses inline positions. Keep matching compact circles with 44px hit areas. */
.cky-btn-revisit-wrapper {
    --ept-circle: 25px;
    --ept-inset: 9.5px;
    width: var(--ept-circle) !important;
    height: var(--ept-circle) !important;
    left: 20px !important;
    right: auto !important;
    bottom: 78px !important;
    background: #004b7c !important;
}
.cky-btn-revisit-wrapper .cky-btn-revisit {
    position: absolute !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    margin: 0 !important;
    left: calc(-1 * var(--ept-inset)) !important;
    top: calc(-1 * var(--ept-inset)) !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
}
.cky-btn-revisit-wrapper .cky-btn-revisit img { width: 17px !important; height: 17px !important; }
.cky-btn-revisit:focus-visible { outline: 3px solid #005ea8; outline-offset: 2px; }
.cky-consent-container { z-index: 2147481000 !important; }
.cky-modal { z-index: 2147481101 !important; }
.cky-overlay { z-index: 2147481100 !important; }
.cky-btn-revisit-wrapper { transition: opacity .2s, visibility .2s; }
body.ept-page-scrolling .cky-btn-revisit-wrapper:not(:focus-within),
body.ept-floating-obscures-content .cky-btn-revisit-wrapper:not(:focus-within) {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
@media (min-width: 769px) {
    .cky-btn-revisit-wrapper { --ept-circle: 35px; --ept-inset: 4.5px; }
    .cky-btn-revisit-wrapper .cky-btn-revisit img { width: 23px !important; height: 23px !important; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    .cky-btn-revisit-wrapper { transition: none; }
}
