/*
 * Shared Elementor compatibility previously stored in Kadence Additional CSS.
 * Catalog-specific rules remain isolated in catalog.css. Reusable shortcode
 * and home product-loop components are owned by modulstroy-catalog.
 */

.elementor-menu-cart__toggle .elementor-button {
    background-color: var(--toggle-button-background-color, transparent);
    color: var(--toggle-button-text-color, #69727d);
}

.elementor-button-icon-qty {
    padding: 0 4px;
}

:root {
    --vvh: 1vh;
}

.elementor-popup-modal {
    position: fixed !important;
    inset: 0 !important;
    height: calc(var(--vvh) * 100) !important;
}

body.mobilemenu-open {
    overflow: hidden;
}

a.phone {
    color: #414141 !important;
}

/* Elementor Pro mini-cart is rendered twice: desktop header and mobile dock. */
body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__container {
    z-index: 10010;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__main {
    background: #fff;
    box-shadow: -12px 0 36px rgba(31, 35, 40, .14);
    max-width: 100vw;
    padding: 12px 24px 24px;
    width: 420px;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__close-button {
    align-items: center;
    background: transparent;
    border: 0;
    display: flex;
    height: 32px;
    justify-content: center;
    margin: 0;
    position: absolute;
    right: 24px;
    top: 10px;
    width: 32px;
    z-index: 2;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__close-button::before,
body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__close-button::after {
    background-color: #6b7280;
    height: 1px;
    left: 7px;
    top: 15.5px;
    width: 18px;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__close-button:hover {
    background: transparent;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__close-button:hover::before,
body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__close-button:hover::after {
    background-color: #d96f0d;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__products {
    margin-top: 22px;
    max-height: calc(100vh - 290px);
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 4px;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product {
    border-bottom: 1px solid #e5e7eb;
    column-gap: 8px;
    display: grid;
    grid-template-columns: 82px 219px 28px;
    grid-template-rows: auto auto;
    margin: 0;
    padding: 18px 0;
    row-gap: 7px;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product:first-child {
    padding-top: 12px;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-image {
    grid-column: 1;
    grid-row: 1 / 3;
    margin: 0;
    width: 82px;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-image a,
body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-image img {
    display: block;
    height: 82px;
    width: 82px;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-image img {
    border-radius: 4px;
    object-fit: cover;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-name {
    align-self: end;
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    min-width: 0;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-name a {
    color: #202124 !important;
    display: -webkit-box;
    font-size: 14px !important;
    font-weight: 400 !important;
    letter-spacing: normal !important;
    -webkit-line-clamp: 2;
    line-height: 1.35 !important;
    overflow: hidden;
    text-decoration: none;
    text-transform: none !important;
    -webkit-box-orient: vertical;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-name a:hover {
    color: #d96f0d !important;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-price {
    align-self: start;
    color: #000;
    font-size: 15px !important;
    grid-column: 2;
    grid-row: 2;
    letter-spacing: normal !important;
    line-height: 1.45 !important;
    margin: 0;
    text-transform: none !important;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-price .quantity,
body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-price .amount {
    color: inherit;
    font-size: inherit !important;
    font-weight: 500;
    line-height: inherit !important;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-remove {
    align-self: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #a0a6ae;
    grid-column: 3;
    grid-row: 1 / 3;
    height: 28px;
    margin: 0;
    position: relative;
    transform: translateX(-6px);
    width: 28px;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-remove a {
    align-items: center;
    background: transparent;
    border: 0;
    display: flex;
    height: 28px;
    inset: 0;
    justify-content: center;
    margin: 0;
    position: absolute;
    width: 28px;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-remove::before,
body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-remove::after {
    transform: none;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-remove::before {
    background-color: currentColor;
    height: 16px;
    left: 7px;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 18' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 5h11M6 5V2.8h4V5m2 0-.6 10H4.6L4 5m3 3v4.5m2-4.5v4.5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 18' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 5h11M6 5V2.8h4V5m2 0-.6 10H4.6L4 5m3 3v4.5m2-4.5v4.5'/%3E%3C/svg%3E") center / contain no-repeat;
    top: 6px;
    width: 14px;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-remove::after {
    display: none;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-remove a:hover {
    background: transparent;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-remove:hover,
body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-remove:focus-within {
    color: #d96f0d;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__subtotal {
    align-items: baseline;
    border-bottom: 1px solid #e5e7eb;
    border-top: 0;
    color: #202124;
    display: flex;
    font-size: 17px !important;
    justify-content: space-between;
    letter-spacing: normal !important;
    line-height: 1.4 !important;
    margin: 0;
    padding: 22px 0;
    text-transform: none !important;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__subtotal strong,
body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__subtotal .amount {
    color: inherit;
    font-size: inherit !important;
    font-weight: 700;
    line-height: inherit !important;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__footer-buttons {
    display: grid !important;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) !important;
    padding-top: 20px;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__footer-buttons .elementor-button {
    align-items: center;
    border: 1px solid #e87316;
    border-radius: 4px;
    display: flex;
    font-size: 15px !important;
    font-weight: 400 !important;
    justify-content: center;
    letter-spacing: normal !important;
    line-height: 1.2 !important;
    margin: 0;
    min-height: 48px;
    padding: 12px 16px !important;
    text-transform: none !important;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
    width: 100%;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__footer-buttons .elementor-button--view-cart {
    background: #fff !important;
    color: #c45e08 !important;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__footer-buttons .elementor-button--checkout {
    background: #e87316 !important;
    color: #fff !important;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__footer-buttons .elementor-button:hover,
body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__footer-buttons .elementor-button:focus-visible {
    border-color: #cf610d;
    box-shadow: 0 5px 14px rgba(207, 97, 13, .2);
    transform: translateY(-1px);
}

html body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__footer-buttons a.elementor-button.elementor-button--view-cart:hover,
html body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__footer-buttons a.elementor-button.elementor-button--view-cart:focus-visible {
    background: #fff !important;
    color: #c45e08 !important;
}

html body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__footer-buttons a.elementor-button.elementor-button--checkout:hover,
html body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__footer-buttons a.elementor-button.elementor-button--checkout:focus-visible {
    background: #e87316 !important;
    color: #fff !important;
}

body .elementor-widget-woocommerce-menu-cart .woocommerce-mini-cart__empty-message {
    color: #35383d;
    font-size: 16px !important;
    line-height: 1.55 !important;
    margin: 8px 0 0;
    padding: 22px 0;
    text-align: center;
}

/* Theme-owned global footer. The former Elementor footer remains recoverable
 * in WordPress but is removed from presentation to prevent duplicate content. */
.elementor-location-footer {
    display: none !important;
}

.ms-site-footer {
    background: #202124;
    color: #d9dcdf;
    font-family: Inter, sans-serif;
    margin-top: 72px;
}

.ms-site-footer a {
    color: #d9dcdf;
    text-decoration: none;
    transition: color 160ms ease;
}

.ms-site-footer a:hover,
.ms-site-footer a:focus-visible {
    color: #f38b22;
    text-decoration: none;
}

.ms-site-footer a:focus-visible {
    outline: 2px solid #f38b22;
    outline-offset: 4px;
}

.ms-site-footer__inner {
    margin: 0 auto;
    max-width: 1280px;
    padding: 0 10px;
}

.ms-site-footer__meta {
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    display: grid;
    font-size: 14px;
    gap: 24px;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    padding: 24px 0;
}

.ms-site-footer__meta p,
.ms-site-footer__details p,
.ms-site-footer__bottom p {
    margin: 0;
}

.ms-site-footer__meta span {
    color: #f38b22;
    font-size: 8px;
    margin-right: 8px;
    vertical-align: 2px;
}

.ms-site-footer__grid {
    display: grid;
    gap: 48px;
    grid-template-columns: 1.05fr 0.9fr 1.45fr 1.2fr;
    padding: 44px 0 40px;
}

.ms-site-footer__column h2 {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.35;
    margin: 0 0 18px;
    text-transform: uppercase;
}

.ms-site-footer__column h2::after {
    background: #f38b22;
    border-radius: 999px;
    content: "";
    display: block;
    height: 2px;
    margin-top: 10px;
    width: 30px;
}

.ms-site-footer__contacts > a {
    display: block;
    font-size: 14px;
    line-height: 1.7;
    width: fit-content;
}

.ms-site-footer__contacts .ms-site-footer__primary-phone {
    align-items: center;
    background: #f38b22;
    border: 1px solid #f38b22;
    border-radius: 9px;
    box-shadow: 0 8px 22px rgba(243, 139, 34, 0.16);
    color: #fff;
    display: inline-flex;
    gap: 10px;
    margin-bottom: 13px;
    padding: 10px 14px;
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.ms-site-footer__contacts .ms-site-footer__primary-phone:hover,
.ms-site-footer__contacts .ms-site-footer__primary-phone:focus-visible {
    background: #f38b22;
    border-color: #f38b22;
    box-shadow: 0 11px 28px rgba(243, 139, 34, 0.3);
    color: #fff;
    transform: translateY(-1px);
}

.ms-site-footer__call-label {
    border-right: 1px solid rgba(255, 255, 255, 0.38);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding-right: 10px;
}

.ms-site-footer__call-number {
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}

.ms-site-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.ms-site-footer__socials a {
    border: 1px solid rgba(243, 139, 34, 0.72);
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    line-height: 1;
    padding: 9px 13px;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ms-site-footer__socials a:hover,
.ms-site-footer__socials a:focus-visible {
    border-color: #f38b22;
    box-shadow: 0 5px 16px rgba(243, 139, 34, 0.18);
    color: #fff;
    transform: translateY(-1px);
}

.ms-site-footer__menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ms-site-footer__menu li {
    margin: 0 0 9px;
}

.ms-site-footer__menu a {
    display: inline-block;
    font-size: 14px;
    line-height: 1.4;
}

.ms-site-footer__catalog .ms-site-footer__menu {
    column-count: 2;
    column-gap: 28px;
}

.ms-site-footer__catalog .ms-site-footer__menu li {
    break-inside: avoid;
}

.ms-site-footer__details {
    font-size: 13px;
    line-height: 1.65;
}

.ms-site-footer__details p + p {
    margin-top: 3px;
}

.ms-site-footer__details strong {
    color: #fff;
    font-size: 14px;
}

.ms-site-footer__legal-links {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.ms-site-footer__legal-links a {
    display: flex;
    min-height: 36px;
    align-items: center;
    justify-self: start;
    width: auto;
    color: #d8dbde;
    font-size: 12px;
    line-height: 1.45;
    text-decoration: underline;
    text-decoration-color: rgba(243, 139, 34, 0.68);
    text-underline-offset: 3px;
}

.ms-site-footer__legal-links a:hover,
.ms-site-footer__legal-links a:focus-visible {
    color: #fff;
    text-decoration-color: #f38b22;
}

.ms-site-footer__bottom {
    align-items: start;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    display: grid;
    font-size: 12px;
    gap: 24px;
    grid-template-columns: auto minmax(280px, 1fr);
    line-height: 1.55;
    padding: 22px 0 26px;
}

.ms-site-footer__notice {
    color: #aeb3b7;
}

@media (max-width: 1024px) {
    .ms-site-footer {
        margin-top: 56px;
    }

    .ms-site-footer__grid {
        gap: 36px 48px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ms-site-footer__bottom {
        grid-template-columns: 1fr auto;
    }

    .ms-site-footer__notice {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@media (max-width: 640px) {
    /* Keep the phone number inside the narrow Elementor mobile header. */
    .elementor-location-header .elementor-element-9929226 {
        flex: 0 0 auto !important;
        min-width: 0 !important;
        width: auto !important;
    }

    .elementor-location-header .elementor-element-9929226 .elementor-icon-box-title,
    .elementor-location-header .elementor-element-9929226 .elementor-icon-box-title a {
        font-size: 14px !important;
        letter-spacing: -0.01em !important;
        line-height: 1.15 !important;
        white-space: nowrap;
    }

    .ms-site-footer {
        margin-top: 44px;
    }

    .ms-site-footer__inner {
        padding: 0 18px;
    }

    .ms-site-footer__meta,
    .ms-site-footer__grid,
    .ms-site-footer__bottom {
        grid-template-columns: 1fr;
    }

    .ms-site-footer__meta {
        gap: 10px;
        padding: 20px 0;
    }

    .ms-site-footer__grid {
        gap: 32px;
        padding: 36px 0;
    }

    .ms-site-footer__catalog .ms-site-footer__menu {
        column-count: 1;
    }

    .ms-site-footer__bottom {
        gap: 12px;
        padding: 20px 0 24px;
    }

    .ms-site-footer__notice {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 767px) {
    /* Centre the complete label box, including labels wider than the icon column. */
    .elementor-element-00f18b7 .elementor-widget-icon-box .elementor-icon-box-content {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .elementor-element-00f18b7 .elementor-widget-icon-box .elementor-icon-box-title {
        flex: 0 0 auto !important;
        width: max-content !important;
        max-width: none !important;
        text-align: center !important;
    }

    .elementor-element-00f18b7 .elementor-widget-icon-box .elementor-icon-box-title a {
        display: block !important;
        width: auto !important;
        text-align: center !important;
    }

    .ms-site-footer {
        padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px));
    }

    body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__main {
        padding: 20px 18px 96px;
        width: min(100vw, 390px);
    }

    body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__products {
        max-height: calc(100vh - 340px);
    }

    body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product {
        column-gap: 8px;
        grid-template-columns: 70px minmax(0, 1fr) 28px;
    }

    body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-image,
    body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-image a,
    body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-image img {
        height: 70px;
        width: 70px;
    }
}

@media (max-width: 480px) {
    /* Elementor's 30% phone container extends past the viewport because the
     * sibling widths and container gap add up to more than 100%. */
    .elementor-location-header .elementor-element-da6785d {
        transform: translateX(-20px);
    }
}
/* WooCommerce actions update the page quietly without storefront banners. */
body .woocommerce-notices-wrapper,
body .woocommerce-message,
body .woocommerce-error,
body .woocommerce-info,
body .woocommerce-NoticeGroup,
body .wc-block-components-notice-banner {
    display: none !important;
}
