@media (min-width: 1200px) {
    header [data-id="5816eccf"] > .e-con-inner {
        max-width: min(1760px, 100%);
    }

    header [data-id="5816eccf"] > .e-con-inner > .elementor-element:is(
        [data-widget_type="theme-etheme_site-logo.default"],
        [data-widget_type="theme-etheme_mobile_menu.default"]
    ) {
        flex-grow: 0;
    }

    header [data-id="5816eccf"] > .e-con-inner > .elementor-element[data-id="3fbe514a"] {
        flex: 0 0 auto;
        width: max-content;
        padding-inline-end: 0;
    }

    header [data-id="5816eccf"] > .e-con-inner > [data-widget_type="theme-etheme_ajax_search.default"] {
        flex: 1 1 0;
        min-width: 0;
    }

    header [data-id="3fbe514a"] [data-widget_type="theme-etheme_cart.default"] .etheme-elementor-off-canvas__toggle_button {
        padding-inline-end: 0;
    }
}

.rsqc-nav-group .rsqc-nav-destination {
    align-items: center;
    align-self: center;
    background: #171717;
    border: 1px solid #474747;
    border-radius: 8px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    font: inherit;
    line-height: 1.1;
    min-height: 46px;
    padding: 0 12px;
    gap: 9px;
    white-space: nowrap;
}

.rsqc-nav-group .rsqc-nav-destination::after {
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    content: "";
    display: inline-block;
    height: 6px;
    transform: translateY(-2px) rotate(45deg);
    width: 6px;
}

.rsqc-nav-destination .rsqc-flag {
    flex-basis: 27px;
    height: 19px;
    width: 27px;
}

.rsqc-nav-details {
    display: grid;
    gap: 2px;
    text-align: left;
}

.rsqc-nav-caption {
    color: #ccc;
    font-size: 11px;
    font-weight: 400;
}

.rsqc-nav-group :is(.et-user, .et-shopping-cart) {
    font-size: 22px;
}

.rsqc-nav-group .rsqc-nav-destination:is(:hover, :focus-visible) {
    background: rgb(255 255 255 / 15%);
    color: #fff;
}

#rsqc-destination {
    background: #fff;
    border: 0;
    border-radius: 8px;
    box-sizing: border-box;
    color: #151515;
    inset: 0;
    margin: auto;
    max-height: min(690px, 89dvh);
    max-width: calc(100% - 24px);
    padding: 20px;
    width: 410px;
}

#rsqc-destination::backdrop {
    background: rgb(0 0 0 / 55%);
}

.rsqc-destination-heading {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.rsqc-destination-heading h2 {
    font-size: 20px;
    margin: 0;
}

#rsqc-destination button {
    background: transparent;
    border: 0;
    color: inherit;
    min-height: 42px;
}

#rsqc-destination [data-rsqc-close] {
    font-size: 22px;
    padding: 0 12px;
}

#rsqc-destination input {
    box-sizing: border-box;
    font-size: 16px;
    width: 100%;
}

.rsqc-flag {
    align-items: center;
    border: 1px solid rgb(127 127 127 / 45%);
    box-sizing: border-box;
    display: inline-flex;
    flex: 0 0 22px;
    font-size: 10px;
    height: 15px;
    justify-content: center;
    overflow: hidden;
    width: 22px;
}

.rsqc-flag img {
    display: block;
    height: 100%;
    object-fit: fill;
    width: 100%;
}

.rsqc-flag-blank {
    background: #fff;
    border: 1px solid #888;
}

.rsqc-nav-currency {
    color: #ddd;
    font-weight: 400;
}

.rsqc-current-destination {
    align-items: center;
    display: flex;
    gap: 8px;
    margin: 4px 0 8px;
}

#rsqc-destination .rsqc-save-destination {
    background: #171717;
    border-radius: 4px;
    color: #fff;
    margin-top: 12px;
    width: 100%;
}

#rsqc-destination .rsqc-save-destination:hover:not(:disabled) {
    background: #333;
    color: #fff;
}

#rsqc-destination .rsqc-save-destination:disabled {
    opacity: .5;
}

.rsqc-destination-list {
    list-style: none;
    margin: 8px 0 12px;
    max-height: min(158px, 25dvh);
    overflow: auto;
    padding: 0;
}

#rsqc-destination .rsqc-destination-list button {
    align-items: center;
    display: flex;
    gap: 8px;
    text-align: left;
    width: 100%;
}

#rsqc-destination button:hover,
#rsqc-destination button[aria-pressed="true"] {
    background: #f2f2f2;
}

/* XStore's price typography uses !important on the amount and its children. */
body.single-product:has(.rsqc-estimate) :is([data-widget_type="woocommerce-product-etheme_price.default"], .woocommerce-variation-price, .summary) .price .amount:not(del .amount),
body.single-product:has(.rsqc-estimate) :is([data-widget_type="woocommerce-product-etheme_price.default"], .woocommerce-variation-price, .summary) .price .amount:not(del .amount) :is(bdi, .woocommerce-Price-currencySymbol) {
    font-size: 28px !important;
}

.rsqc-estimate {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 9px;
    box-sizing: border-box;
    color: #151515;
    margin: 16px 0;
    padding: 14px 16px;
    width: 100%;
}

.rsqc-estimate-heading {
    padding-bottom: 9px;
}

.rsqc-estimate-heading h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0;
}

.rsqc-shipping-service {
    align-items: start;
    border-top: 1px solid #ededed;
    display: grid;
    gap: 9px;
    grid-template-columns: 21px minmax(0, 1fr);
    padding: 9px 0;
}

.rsqc-shipping-service svg {
    color: #b71920;
    height: 20px;
    width: 20px;
}

.rsqc-service-name {
    color: #6b7078;
    font-size: 14px;
    font-weight: 700;
}

.rsqc-shipping-result {
    color: #484848;
    font-size: 13px;
    line-height: 1.45;
}

.rsqc-shipping-price {
    color: #151515;
    display: block;
    font-size: 18px;
    line-height: 1.3;
    margin: 2px 0;
}

.rsqc-shipping-transit,
.rsqc-shipping-note {
    display: block;
}

.rsqc-shipping-transit strong {
    color: #242424;
    font-weight: 700;
}

.rsqc-shipping-note,
.rsqc-express-service span,
.rsqc-estimate .rsqc-estimate-footnote {
    color: #626262;
    font-size: 12px;
}

.rsqc-estimate .rsqc-estimate-footnote {
    border-top: 1px solid #ededed;
    margin: 0;
    padding-top: 8px;
}

:is(.woocommerce-cart, .woocommerce-checkout) :is(
    .cart-subtotal .amount,
    .cart_item .product-price .amount,
    .cart_item .product-subtotal .amount,
    .cart_item .product-total .amount
),
:is(.woocommerce-cart, .woocommerce-checkout) #shipping_method .amount {
    color: #242424;
    font-size: 16px;
    font-weight: 600;
}

:is(.woocommerce-cart, .woocommerce-checkout) .rsqc-summary-transit {
    color: #303030;
    font-weight: 700;
}

:is(.woocommerce-cart, .woocommerce-checkout) .order-total .amount {
    color: #151515;
    font-size: 22px;
    font-weight: 700;
}

@media (max-width: 767px) {
    header .rsqc-nav-group {
        column-gap: 6px;
    }

    .rsqc-nav-group .rsqc-nav-destination {
        min-height: 40px;
        padding: 0 6px;
        gap: 4px;
    }

    .rsqc-nav-destination .rsqc-flag {
        flex-basis: 20px;
        height: 14px;
        width: 20px;
    }

    .rsqc-nav-group :is(.et-user, .et-shopping-cart) {
        font-size: 19px;
    }

    .rsqc-nav-caption,
    .rsqc-nav-currency {
        display: none;
    }

    #rsqc-destination {
        border-radius: 12px 12px 0 0;
        margin: auto 0 0;
        max-width: 100%;
        padding-bottom: max(16px, env(safe-area-inset-bottom));
        width: 100%;
    }
}
