/* Moltech storefront fixes. Kept separate from vendor and Elementor CSS. */
.ft-product__carousel__item .ft-add__cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}
.ft-product__carousel__item .ft-add__cart:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}
/* Only show a table scrollbar when its contents actually exceed the available width. */
.woocommerce-cart .ft-cart-form-items { overflow-x: auto !important; }

/* The header cart sits at the trailing edge in this RTL header. */
#site-header .ft-shop__cart__drop__con {
    inset-inline-start: auto !important;
    inset-inline-end: 0 !important;
    min-width: 0 !important;
    max-width: calc(100vw - 40px) !important;
}
@media (max-width: 991.98px) {
    html { scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
    body { min-width: 0 !important; padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }

    /* Reserve the cart's actual width instead of squeezing its 55px icon into 12px. */
    #site-header .elementor-94 .elementor-element-cf5f15e {
        min-height: 72px !important;
        height: auto !important;
        --min-height: 72px;
    }
    #site-header .elementor-element-cf5f15e > .e-con-inner {
        min-height: 72px !important;
        height: auto !important;
        gap: 12px;
        padding-block: 10px;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center;
    }
    #site-header .elementor-element-c3349aa { min-width: 0; flex: 1 1 0%; }
    #site-header .elementor-element-a65b5bc {
        width: 48px !important;
        padding: 0 !important;
        min-height: 0 !important;
        height: auto !important;
        min-width: 48px;
        flex: 0 0 auto;
    }
    #site-header .elementor-element-e5c0218 {
        display: flex !important;
        min-height: 44px !important;
        height: 44px !important;
        width: 48px !important;
        min-width: 48px;
        flex: 0 0 48px;
        padding: 0 !important;
    }
    #site-header .elementor-element-a65b5bc > .e-con:not(.elementor-element-e5c0218),
    #site-header .elementor-element-3769dfc { display: none !important; }
    #site-header .elementor-widget-factory-shopping-cart {
        width: 48px !important;
        min-width: 48px;
        flex: 0 0 48px;
    }
    #site-header .ft-shop__cart__con {
        display: flex !important;
        width: 48px;
        min-width: 48px;
    }
    #site-header .ft-shop__cart__icon {
        width: 44px;
        min-width: 44px;
        height: 44px;
        padding: 0 !important;
        flex: 0 0 44px;
    }
    #site-header .ft-shop__cart__icon-holder { padding: 0; }
    #site-header .ft-shop__cart__drop__con {
        inset-inline-start: auto !important;
        inset-inline-end: 0 !important;
        width: min(400px, calc(100vw - 40px)) !important;
        min-width: 0 !important;
        max-width: calc(100vw - 40px) !important;
        max-height: calc(100vh - 110px);
        max-height: calc(100dvh - 110px);
        overflow-y: auto;
    }
    #site-header .ft-shop__cart__drop__content {
        width: 100% !important;
        max-width: 100%;
        padding: 16px;
    }
    #site-header .ft-shop__cart__drop__item,
    #site-header .ft-col__one__img,
    #site-header .ft-col__two { min-width: 0; max-width: 100%; }
    #site-header .ft-col__two { flex-wrap: wrap; gap: 8px; }
    #site-header .ft-name__product { min-width: 0; overflow-wrap: anywhere; }

    /* Compact the existing bar while keeping its four actions and central logo. */
    .ft-mobile-menu { bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important; }
    .ft-mobile-menu > .container {
        width: 100%;
        max-width: 640px;
        padding: 0 12px !important;
    }
    .ft-mobile-menu-cnt-one > .ft-mobile-menu-cnt {
        min-height: 64px;
        height: 64px;
        padding: 6px !important;
    }
    .ft-mobile-menu .ft-mobile-menu-left,
    .ft-mobile-menu .ft-mobile-menu-right {
        top: 4px !important;
        height: 56px;
        width: calc((100% - 60px) / 2) !important;
        align-items: center;
    }
    .ft-mobile-menu .item-mb-menu { min-width: 44px; min-height: 44px; }
    .ft-mobile-menu .ft-mobile-menu-logo {
        top: 0 !important;
        width: 48px;
        height: 48px;
        min-height: 48px;
        padding: 8px !important;
    }
    .ft-mobile-menu .ft-mobile-menu-logo-img img {
        width: 32px !important;
        height: 32px !important;
        object-fit: contain;
    }
    .ft-mobile-menu .ft-item-mb-menu-icon { width: 22px; height: 22px; }
    .ft-mobile-menu .ft-item-mb-menu-title a,
    .ft-mobile-menu .ft-item-mb-menu-title span {
        font-size: 12px;
        line-height: 1.5;
        white-space: nowrap;
    }
    .ft-mobile-menu .ft-sm-menu-mobile nav { bottom: 8px; }
    .ft-mobile-menu .ft-sm-menu-item.active nav {
        max-height: calc(100vh - 120px);
        max-height: calc(100dvh - 120px);
    }

    .ft-box__social {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(44px, 1fr));
        gap: 10px !important;
        max-width: 100%;
    }
    .ft-box__social > a { min-width: 0; }
    .ft-box__social .ft-box__social__item {
        width: 100% !important;
        min-width: 44px;
        max-width: 100%;
    }

    /* Use WooCommerce's native, labelled sort control on smaller screens. */
    form.woocommerce-ordering {
        float: none !important;
        width: 100%;
        max-width: 100%;
        margin: 0 0 16px !important;
    }
    form.woocommerce-ordering ul.orderby { display: none !important; }
    form.woocommerce-ordering select.orderby {
        display: block !important;
        width: 100%;
        max-width: 100%;
        min-height: 46px;
        padding: 10px 14px !important;
        margin: 0 !important;
        font-size: 16px;
        line-height: 1.5;
        border: 1px solid var(--color-secondary-100, #e5e5e5);
        border-radius: 12px;
        background: var(--color-white, #fff);
        appearance: auto !important;
        -webkit-appearance: menulist !important;
    }
    .woocommerce ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        width: 100%;
        margin-inline: 0 !important;
        padding-inline: 0 !important;
    }
    .woocommerce ul.products::before,
    .woocommerce ul.products::after { display: none !important; }
    .woocommerce ul.products li.product {
        width: 100% !important;
        min-width: 0;
        max-width: 100%;
        margin-inline: 0 !important;
        float: none !important;
        transform: none !important;
    }

    .woocommerce ul.products li.product > .ft-bookmark__product {
        width: auto !important;
        inset-inline-start: auto !important;
        inset-inline-end: 16px !important;
    }
    .woocommerce ul.products li.product .price {
        inset-inline-start: auto !important;
        inset-inline-end: 20px !important;
        margin: 0 !important;
        max-width: calc(100% - 90px);
    }

    /* Keep navigation below the slides, outside the product title and description. */
    .ft-carousel__product { min-width: 0; max-width: 100%; padding: 16px !important; }
    .ft-carousel__product .ft-carousel__pagination__product {
        position: static !important;
        inset: auto !important;
        width: 100% !important;
        padding: 0 !important;
        margin-top: 16px;
        display: flex;
        justify-content: center;
        gap: 16px;
        transform: none;
    }
    .ft-carousel__pagination__product .ft-swiper__button__next-prev {
        position: static !important;
        inset: auto !important;
        margin: 0 !important;
        transform: none !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 10px;
        flex: 0 0 44px;
    }
    .ft-carousel__product .ft-product__carousel__item {
        padding: 20px !important;
        min-width: 0;
        transform: none !important;
    }
    .ft-carousel__product .ft-bookmark__product {
        width: auto !important;
        inset-inline-start: auto !important;
        inset-inline-end: 16px !important;
    }
    .ft-carousel__product .ft-product__desc { min-width: 0; }
    .ft-carousel__product .ft-product__name { line-height: 1.8; overflow-wrap: anywhere; }
    .ft-carousel__product .ft-product__useful,
    .ft-carousel__product .ft-product__useful p {
        max-width: 100%;
        white-space: normal !important;
        line-height: 1.8;
    }
    .ft-carousel__product .ft-product__useful p {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
    }
}
@media (max-width: 767.98px) {
    .woocommerce ul.products { grid-template-columns: minmax(0, 1fr); }
    body.home .elementor-9996 .elementor-element-36c2d83 {
        min-height: clamp(360px, 58vh, 560px) !important;
        min-height: clamp(360px, 58svh, 560px) !important;
        --min-height: clamp(360px, 58svh, 560px);
    }
    .single-product .ft-single__product__gallery__summary__container {
        margin: 24px 16px 40px !important;
        gap: 20px;
        min-width: 0;
        align-items: stretch;
    }
    .single-product .ft-single__product__gallery__summary__container > * {
        min-width: 0;
        max-width: 100%;
    }
    .single-product .ft-single__product__gallery__summary__container .summary.entry-summary {
        padding: 20px !important;
        min-height: 0;
    }
    .single-product .ft-main__single__product__slider__wrapper {
        width: 100% !important;
        margin: 0 !important;
    }
    .single-product .ft-single__product__top__slider,
    .single-product .ft-single__product__top__slider > .swiper-wrapper,
    .single-product .ft-single__product__top__slider .woocommerce-product-gallery__image,
    .single-product .ft-main__single__product__slider__item,
    .single-product .ft-main__single__product__slider__item > .swiper-zoom-container {
        height: auto !important;
        min-height: 0;
    }
    .single-product .ft-single__product__top__slider .woocommerce-product-gallery__image img {
        width: 100% !important;
        height: clamp(220px, 65vw, 300px) !important;
        object-fit: contain;
    }
    .single-product form.cart { display: flex; flex-wrap: wrap; gap: 12px; }
    .single-product form.cart .single_add_to_cart_button {
        width: 100%;
        min-height: 48px;
        margin: 0 !important;
        justify-content: center;
    }
    .woocommerce-cart .ft-cart-form-items {
        width: auto !important;
        max-width: calc(100% - 32px);
        margin-inline: 16px !important;
        padding: 16px !important;
        overflow: visible !important;
    }
    .woocommerce-cart .ft-cart-form-items table.shop_table,
    .woocommerce-cart .ft-cart-form-items tbody,
    .woocommerce-cart .ft-cart-form-items tr {
        width: 100% !important;
        min-width: 0;
        max-width: 100%;
        margin-inline: 0 !important;
    }
    .woocommerce-cart .ft-cart-form-items td {
        min-width: 0 !important;
        max-width: 100%;
        overflow-wrap: anywhere;
    }
    .woocommerce-cart .ft-cart-form-items td.actions {
        flex-wrap: wrap;
        width: 100%;
    }
    .woocommerce-cart .ft-cart-form-items td.actions button {
        width: 100%;
        max-width: 100%;
        white-space: normal;
    }
    .woocommerce-cart table.shop_table .product-thumbnail img {
        width: 140px !important;
        height: 160px !important;
        object-fit: contain;
        max-width: 100%;
    }
    .woocommerce #customer_details input.input-text,
    .woocommerce #customer_details select,
    .woocommerce #customer_details textarea,
    .woocommerce form .form-row input.input-text,
    .woocommerce form select,
    .woocommerce form textarea { font-size: 16px !important; }

    .woocommerce-checkout #order_review table.shop_table {
        width: 100% !important;
        min-width: 0;
        table-layout: fixed;
    }
    .woocommerce-checkout #order_review table.shop_table th,
    .woocommerce-checkout #order_review table.shop_table td {
        min-width: 0;
        padding-inline: 8px !important;
        overflow-wrap: anywhere;
    }
    .woocommerce-checkout #order_review th.product-name,
    .woocommerce-checkout #order_review th.product-total { width: 50%; }
}


/* Cart feedback, product images and truthful media fallbacks. */
#site-header .ft-shop__cart__con[data-moltech-ready] .ft-shop__cart__drop__con {
    display: block !important;
    visibility: hidden !important;
    opacity: 0;
    pointer-events: none;
    width: min(400px, calc(100vw - 40px)) !important;
    z-index: 10020;
    cursor: default;
    max-height: calc(100dvh - 110px);
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: 0 14px 40px #17253c26;
}
#site-header .ft-shop__cart__con.moltech-cart-open .ft-shop__cart__drop__con {
    visibility: visible !important;
    opacity: 1;
    pointer-events: auto;
}
.moltech-cart-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 16px; border-bottom: 1px solid #ededed; }
.moltech-cart-close, .moltech-gallery-close { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #f4f4f4; color: #333; font-size: 30px; cursor: pointer; }
.moltech-cart-status, .moltech-cart-empty { margin: 12px 16px; padding: 10px 12px; color: #20552d; background: #eef8f0; border-radius: 8px; font-size: 14px; line-height: 1.8; }
.moltech-cart-status.moltech-cart-error { color: #852424; background: #fff0f0; }
#site-header .ft-shop__cart__drop__content { width: 100% !important; padding: 16px !important; }
#site-header .ft-shop__cart__drop__content[hidden] { display: none !important; }
#site-header .ft-col__one__img img { width: 80px !important; height: 90px !important; object-fit: contain; }
#site-header .ft-shop__cart__drop__item { position: relative; padding-top: 24px; }
#site-header .ft-box__close__icon { position: absolute; top: 0; inset-inline-end: 0; }
#site-header .ft-close, #site-header .ft-close__icon { display: grid; place-items: center; width: 44px; height: 44px; }
#site-header .ft-close__icon { position: static !important; }
#site-header .ft-close__icon::before { content: '×' !important; font-family: Arial, sans-serif !important; font-size: 22px; font-weight: 400; }
#site-header .ft-shop__cart__drop__btn { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
#site-header .ft-submit__cart__shop { white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding-inline: 16px; }
.moltech-cart-view { display: block; width: fit-content; margin: 12px auto 0; padding: 10px 4px; text-decoration: underline; text-underline-offset: 4px; font-size: 14px; }
.moltech-cart-close:focus-visible, .ft-shop__cart__icon:focus-visible, .moltech-gallery-open:focus-visible, .moltech-gallery-dialog button:focus-visible, .moltech-catalog-link:focus-visible, .moltech-contact-links a:focus-visible { outline: 3px solid #153e78; outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
    .moltech-cart-pulse { animation: moltech-cart-pulse 650ms ease-out 3; }
    @keyframes moltech-cart-pulse { 0% { box-shadow: 0 0 0 0 #f64e5666; } 100% { box-shadow: 0 0 0 16px #f64e5600; } }
}
.single-product .ft-main__single__product__slider__wrapper.moltech-gallery-single { display: block; }
.single-product .ft-single__product__gallery__summary__container > .ft-main__single__product__slider__wrapper { max-width: 100% !important; min-height: 0 !important; }
.single-product .moltech-gallery-single .ft-single__product__top__slider { width: 100% !important; max-width: 100% !important; }
.single-product .ft-single__product__top__slider { height: auto !important; }
.single-product .ft-single__product__top__slider > .swiper-wrapper,
.single-product .ft-single__product__top__slider .woocommerce-product-gallery__image,
.single-product .ft-single__product__top__slider .ft-main__single__product__slider__item { height: auto !important; min-height: 0; }
.moltech-gallery-open { display: block; width: 100%; padding: 0; background: #fafafa; border: 0; border-radius: 16px; cursor: zoom-in; }
.single-product .moltech-gallery-open img { display: block; width: 100%; height: clamp(260px, 30vw, 420px); object-fit: contain; border-radius: 16px; }
.ft-single__product__thumbnail__slider::before, .ft-single__product__thumbnail__slider::after { display: none !important; }
.ft-single__product__thumbnail__slider .swiper-slide { cursor: pointer; }
.ft-single__product__thumbnail__slider .swiper-slide-thumb-active { border: 2px solid #f64e56; }
.ft-single__product__thumbnail__slider img { width: 100%; height: 100%; object-fit: contain; }
.moltech-gallery-dialog { position: fixed; inset: 0; margin: auto; width: min(960px, calc(100vw - 24px)); max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); padding: 56px 16px 16px; border: 0; border-radius: 16px; background: #fff; color: #333; overflow: auto; }
.moltech-gallery-dialog::backdrop { background: #081326c7; }
.moltech-gallery-dialog:not([open]) { display: none; }
.moltech-gallery-dialog .moltech-gallery-close { position: absolute; inset-inline-end: 8px; top: 6px; }
.moltech-gallery-dialog .moltech-gallery-full { display: block; width: 100%; height: min(72dvh, 720px); object-fit: contain; }
.moltech-gallery-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; padding-top: 12px; }
.moltech-gallery-nav[hidden], .moltech-cart-status[hidden], .moltech-cart-empty[hidden], .moltech-video-error[hidden] { display: none !important; }
.moltech-gallery-nav button { min-height: 44px; padding: 8px 16px; border-radius: 8px; border: 1px solid #ddd; color: #333; background: #f4f4f4; }
.moltech-gallery-is-open { overflow: hidden; }
.moltech-video-fallback { display: block; position: relative; width: 100%; border-radius: 16px; overflow: hidden; }
.moltech-video-fallback img, .moltech-home-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; }
.moltech-video-fallback span { position: absolute; inset-inline: 16px; bottom: 16px; width: fit-content; margin-inline: auto; padding: 10px 20px; background: #fff; color: #102743; border-radius: 24px; font-weight: 700; }
.moltech-catalog-link { min-height: 48px; text-decoration: none; gap: 12px; }
.moltech-catalog-link .ft-catalog__download { display: grid; place-items: center; flex-shrink: 0; }
.moltech-contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.moltech-contact-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 16px; background: #fff; color: #153e78; border: 1px solid #e4e7ea; border-radius: 24px; white-space: nowrap; }
.elementor-element-4327ca8 h1 { font: inherit; font-size: clamp(26px, 3vw, 44px); line-height: 1.6; font-weight: 700; }
/* Show these profile blocks automatically when an actual social URL is added. */
#site-footer .elementor-element-339c82a:not(:has(a[href^="https://"])),
#site-footer .elementor-element-f5cb316:not(:has(a[href^="https://"])) { display: none; }
@media (min-width: 992px) {
    .single-product .ft-single__product__gallery__summary__container { display: grid !important; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; gap: 32px; }
    .single-product .ft-single__product__gallery__summary__container > .summary.entry-summary { grid-column: 1; grid-row: 1; width: 100% !important; min-width: 0; margin: 0 !important; }
    .single-product .summary.entry-summary .ft-single__product__end__section__wrapper { width: 100% !important; max-width: 100% !important; margin: 0 !important; }
    .single-product .ft-single__product__gallery__summary__container > .ft-main__single__product__slider__wrapper { grid-column: 2; grid-row: 1; position: relative !important; inset: auto !important; width: 100% !important; height: auto !important; margin: 0 !important; min-width: 0; }
    .single-product .ft-single__product__custom__meta__wrapper { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; }
    .single-product .ft-single__product__custom__meta__wrapper > .price { grid-column: 2; grid-row: 1; width: auto !important; margin: 0 !important; align-items: end; }
    .single-product .ft-single__product__custom__meta__wrapper > .stock { grid-column: 1; grid-row: 1; position: static !important; margin: 0 !important; }
    .single-product .ft-single__product__custom__meta__wrapper > form.cart { grid-column: 1 / -1; grid-row: 2; margin-block: 0 !important; }
}
@media (max-width: 767.98px) {
    .single-product .moltech-gallery-open img { height: clamp(220px, 65vw, 300px); }
    .moltech-gallery-dialog .moltech-gallery-full { height: min(65dvh, 520px); }
    #site-header .ft-shop__cart__drop__btn { gap: 4px; }
    #site-header .ft-submit__cart__shop { padding-inline: 12px; }
}
@media (max-width: 991.98px) {
    .single-product .ft-single__product__gallery__summary__container { display: flex !important; flex-direction: column !important; }
    .single-product .ft-single__product__gallery__summary__container > .summary.entry-summary { width: 100% !important; }
    .single-product .ft-single__product__gallery__summary__container > .ft-main__single__product__slider__wrapper { position: static !important; width: 100% !important; height: auto !important; }
    .single-product .ft-single__product__custom__meta__wrapper > .stock { position: static !important; margin: 0 0 12px !important; }
}

/* Avoid a leftover empty footer container at intermediate desktop widths. */
#site-footer .elementor-element-dd56daa:not(:has(a[href^="https://"])) { display: none !important; }


/* Mobile cart rows are cards; never shrink six table cells into one narrow line. */
@media (max-width: 767.98px) {
    .woocommerce-cart .ft-cart-form-items tr { overflow: visible !important; }
    .woocommerce-cart .ft-cart-form-items tr.cart_item {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
    }
    .woocommerce-cart .ft-cart-form-items tr.cart_item > td {
        flex: 0 0 auto;
        width: 100% !important;
        overflow: visible !important;
    }
    .woocommerce-cart .ft-cart-form-items .product-name a {
        width: 100%;
        white-space: normal;
        overflow-wrap: break-word;
        word-break: normal;
    }
    .woocommerce-cart .ft-cart-form-items .product-remove a.remove {
        display: grid !important;
        place-items: center;
        width: 44px !important;
        height: 44px !important;
        min-height: 44px;
    }
    .woocommerce-cart .ft-cart-form-items td.product-price::before,
    .woocommerce-cart .ft-cart-form-items td.product-quantity::before,
    .woocommerce-cart .ft-cart-form-items td.product-subtotal::before {
        content: attr(data-title) ':' !important;
        display: block !important;
        margin-bottom: 4px;
        font-size: 12px;
        line-height: 1.6;
        color: #526074;
    }
}

@media (max-width: 767.98px) {
    .woocommerce-cart table.shop_table tr,
    .woocommerce-checkout #order_review table.shop_table tr { overflow: visible !important; }
    .woocommerce-cart .cart_totals > h2 { display: block !important; font-size: 20px; margin-block: 0 16px; }
    .woocommerce-cart .cart_totals table.shop_table,
    .woocommerce-cart .cart_totals table.shop_table tbody,
    .woocommerce-cart .cart_totals table.shop_table tr { display: block !important; width: 100% !important; }
    .woocommerce-cart .cart_totals table.shop_table th,
    .woocommerce-cart .cart_totals table.shop_table td {
        display: block !important;
        box-sizing: border-box;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0;
        text-align: start !important;
        padding: 8px 12px !important;
    }
    .woocommerce-cart .cart_totals table.shop_table th { font-size: 14px; color: #526074; }
    .woocommerce-cart .cart_totals table.shop_table td::before { display: none !important; }
    .woocommerce-cart .cart_totals tr.order-total td .moltech-freight-note { margin-top: 10px; }
    .woocommerce-checkout #order_review tr.order-total td { flex-direction: column !important; align-items: flex-start !important; gap: 8px; }
}

/* The checkout link needs its own visible button style in the cart template. */
.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 999px;
    background: #c62840 !important;
    color: #fff !important;
    text-align: center;
    text-decoration: none;
}
.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover { background: #a91f34 !important; }
.woocommerce-cart .wc-proceed-to-checkout .checkout-button:focus-visible { outline: 3px solid #153e78; outline-offset: 3px; }
@media (max-width: 767.98px) {
    .woocommerce-cart .cart_totals > h2 { line-height: 1.7 !important; }
}

/* Keep the product review link in normal flow as the summary changes height. */
.single-product .summary .woocommerce-product-rating .woocommerce-review-link {
    position: static !important;
    inset: auto !important;
}
.single-product .summary .woocommerce-product-rating { margin-block-end: 12px; }



/* Moltech catalogue, article cards, header disclosure and footer — 2026-10-28. */
.moltech-swipe-hint{display:none}
.ft-swiper__slide__blog.ft-card{display:flex!important;flex-direction:column;position:relative!important;box-sizing:border-box;height:auto!important;min-height:0!important;margin-block:0!important;padding:16px!important;border:1px solid #e1e5eb!important;border-radius:18px!important;background:#fff!important;box-shadow:none!important;overflow:hidden}
.ft-swiper__slide__blog.ft-card::before,.ft-swiper__slide__blog.ft-card::after{display:none!important}
.ft-swiper__slide__blog .moltech-blog-cover{display:block;position:relative!important;width:100%;aspect-ratio:3/2;overflow:hidden;border-radius:12px;background:#f3f5f8}
.ft-swiper__slide__blog img.ft-blog__pic{position:static!important;display:block!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;aspect-ratio:3/2;margin:0!important;transform:none!important;border-radius:12px!important}
.ft-swiper__slide__blog .ft-card__info{position:static!important;inset:auto!important;display:flex!important;flex:1;flex-direction:column;width:100%!important;padding:16px 0 0!important;margin:0!important;transform:none!important;opacity:1!important;background:transparent!important;color:#253b52!important}
.ft-swiper__slide__blog .ft-article__h3{display:block!important;min-height:0;margin:0 0 10px!important;font-size:18px!important;line-height:1.8!important;color:#18354f!important;white-space:normal!important}
.ft-swiper__slide__blog .ft-article__h3 a{color:inherit;text-decoration:none}
.ft-swiper__slide__blog .ft-article__p{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;margin:0 0 16px!important;color:#526173!important;font-size:14px!important;line-height:1.9!important}
.ft-swiper__slide__blog .ft-blog__footer{position:static!important;display:flex!important;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-block-start:auto!important;padding:10px 0 0!important;width:100%!important;max-width:none!important;border-top:1px solid #edf0f4!important;border-radius:0!important;background:transparent!important;color:#617082!important;font-size:12px!important;line-height:1.8}
.ft-swiper__wrapper__blog{align-items:stretch}
.ft-blog .swiper.ft-cards{padding:4px 2px 72px!important}
.ft-blog .ft-swiper__button__next-prev{top:auto!important;bottom:8px!important;transform:none!important;width:44px!important;height:44px!important;border:0;border-radius:50%;display:grid!important;place-items:center;margin:0!important;padding:0!important;background:#ed2727!important;color:#fff!important;cursor:pointer}
.ft-blog .ft-button-prev-swiper__blog{inset-inline-start:2px!important;inset-inline-end:auto!important}
.ft-blog .ft-button-next-swiper__blog{inset-inline-start:62px!important;inset-inline-end:auto!important}
.ft-blog .swiper-button-disabled{opacity:.35!important;cursor:default}
.ft-archive__blog{row-gap:28px}
.single-post .ft-single__blog__content__body__img img{display:block;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}
.single-post .moltech-editorial img{height:auto;max-width:100%;object-fit:contain}
.single-post .moltech-editorial figure{margin-block:28px}
.ft-headline{flex-wrap:wrap;gap:16px}
.ft-headline .ft-box__show{gap:12px}
.elementor-element-ec387e4{margin-block:36px!important;padding:0!important}
.elementor-element-ec387e4 .elementor-element-d718350{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(250px,300px);align-items:center!important;gap:24px!important;min-height:0!important;width:100%!important;padding:24px!important;margin:0!important;border-radius:20px!important;background:#102b43!important}
.moltech-catalog-copy{display:flex;align-items:center;gap:18px;color:#fff}
.moltech-catalog-copy svg{width:44px;height:44px;flex:0 0 44px;color:#fff}
.moltech-catalog-copy h2{display:block!important;color:#fff!important;font-size:21px!important;line-height:1.7!important;margin:0 0 4px!important}
.moltech-catalog-copy p{color:#dce5ed!important;font-size:14px;line-height:1.9;margin:0!important}
.elementor-element-ec387e4 .elementor-element-b23fb48{width:100%!important;max-width:none!important;align-self:stretch!important}
.elementor-element-ec387e4 .ft-catalog__box{display:grid!important;grid-template-columns:minmax(0,1fr) 40px!important;grid-template-rows:auto auto;align-items:center!important;gap:2px 12px!important;min-height:76px!important;height:auto!important;width:100%!important;max-width:none!important;padding:12px 16px!important;border-radius:14px!important;background:#fff!important;box-sizing:border-box!important;text-decoration:none!important;text-align:start!important}
.elementor-element-ec387e4 .ft-catalog__text,.elementor-element-ec387e4 .ft-catalog__volume,.elementor-element-ec387e4 .ft-catalog__download{position:static!important;inset:auto!important;transform:none!important;margin:0!important}
.elementor-element-ec387e4 .ft-catalog__text{grid-column:1!important;grid-row:1!important;width:auto!important;font-size:16px!important;font-weight:700!important;color:#102b43!important;line-height:1.7!important;white-space:normal!important}
.elementor-element-ec387e4 .ft-catalog__volume{grid-column:1!important;grid-row:2!important;width:auto!important;font-size:12px!important;font-weight:400!important;color:#526173!important;line-height:1.8!important;white-space:normal!important}
.elementor-element-ec387e4 .ft-catalog__download{grid-column:2!important;grid-row:1/3!important;display:grid!important;place-items:center!important;width:40px!important;height:40px!important;border-radius:50%!important;background:#102b43!important;color:#fff!important}
.elementor-element-ec387e4 .ft-catalog__download i{position:static!important;display:grid!important;place-items:center;font-size:18px!important;line-height:1!important;color:#fff!important;margin:0!important;padding:0!important}
#site-header .moltech-header-menu-widget{display:none}
#site-footer{background:#f3f5f8!important;border-top:1px solid #dfe5ec;padding:48px 24px 24px!important;color:#253b52}
#site-footer .elementor-element-f002628,#site-footer .elementor-element-f002628>.e-con-inner{padding:0!important;gap:28px!important;max-width:1240px;margin-inline:auto;width:100%}
#site-footer .elementor-element-f002628>.e-con-inner{display:flex!important;flex-direction:column!important}
#site-footer .elementor-element-f012628{display:grid!important;grid-template-columns:1.25fr .9fr .85fr 1.2fr;align-items:start;gap:32px!important;padding:0!important;width:100%;min-width:0}
#site-footer .elementor-widget{min-width:0}
#site-footer .moltech-footer-logo{width:152px!important;height:auto!important;margin-bottom:18px;display:block}
#site-footer .moltech-footer-about{font-size:14px;line-height:2;color:#526173;margin:0 0 14px}
#site-footer h3{display:block!important;color:#102b43!important;font-size:17px!important;line-height:1.8;margin:0 0 16px!important}
#site-footer .moltech-footer-links{list-style:none!important;padding:0!important;margin:0!important;display:grid;gap:10px}
#site-footer .moltech-footer-links a,#site-footer .moltech-footer-email,#site-footer .moltech-footer-office{font-size:14px;line-height:1.9;color:#354a60!important;text-decoration:none;overflow-wrap:anywhere}
#site-footer .moltech-footer-links a:hover,#site-footer .moltech-footer-email:hover{color:#b31c30!important;text-decoration:underline;text-underline-offset:4px}
#site-footer .moltech-footer-email,#site-footer .moltech-footer-office{display:block;margin-block:8px}
#site-footer .mtcs-card{max-width:none;background:#102b43;border-radius:16px;padding:22px 18px;box-shadow:none}
#site-footer .mtcs-card .mtcs-card-title{font-size:16px}
#site-footer .mtcs-card .mtcs-card-intro{margin-block:8px 14px}
#site-footer .mtcs-card-phone{font-size:24px;padding-block:10px;text-align:center!important}
#site-footer .mtcs-card-phone bdi{display:inline-block!important;unicode-bidi:isolate}
#site-footer .moltech-footer-bottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;border-top:1px solid #dbe1e9;padding-top:22px;margin-top:4px;color:#617082;font-size:13px;line-height:1.8}
#site-footer .moltech-footer-bottom p{margin:0}
#site-footer .moltech-footer-top{background:#fff;color:#18354f;border:1px solid #dbe1e9;border-radius:10px;min-height:44px;padding:8px 14px;font:inherit;cursor:pointer}
#site-footer a:focus-visible,#site-footer button:focus-visible,.moltech-header-menu summary:focus-visible,.moltech-header-menu a:focus-visible,.ft-blog button:focus-visible,.moltech-blog-cover:focus-visible,.ft-article__h3 a:focus-visible{outline:3px solid #153e78;outline-offset:4px}
@media(max-width:991.98px){
 .moltech-swipe-hint{display:flex;align-items:center;gap:10px;margin:0 0 12px;color:#526173;font-size:13px;line-height:1.8}
 .moltech-swipe-hint span{font-size:22px}
}
@media(max-width:992px){
 #site-header .moltech-header-menu-widget{display:block!important;width:auto!important;flex:0 0 auto}
 #site-header .elementor-element-a65b5bc{width:auto!important;gap:14px!important;min-width:0}
 .moltech-header-menu{position:relative}
 .moltech-header-menu summary{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 10px;border:1px solid #e1e5eb;border-radius:12px;background:#fff;color:#18354f;font-size:14px;list-style:none;cursor:pointer}
 .moltech-header-menu summary::-webkit-details-marker{display:none}
 .moltech-header-menu summary svg{width:22px;height:22px}
 .moltech-header-menu nav{position:absolute;z-index:10020;inset-inline-end:0;top:calc(100% + 12px);width:min(290px,calc(100vw - 32px));padding:12px;background:#fff;border:1px solid #e1e5eb;border-radius:16px;box-shadow:0 12px 32px #102b4321}
 .moltech-header-menu nav a{display:block;min-height:44px;padding:8px 12px;border-radius:8px;color:#18354f;line-height:1.8;font-size:15px;text-decoration:none}
 .moltech-header-menu nav a:hover{background:#f3f5f8}
 #site-header .elementor-element-f365e1f{display:none!important}
 #site-header .elementor-element-e5c0218{display:flex!important;width:48px!important;min-width:48px;flex:0 0 48px}
 #site-header .ft-shop__cart__icon{width:44px!important;height:44px!important}
}
@media(max-width:991.98px){
 .ft-carousel__product .ft-carousel__pagination__product{gap:24px!important;margin-top:20px!important}
 #site-footer .elementor-element-f012628{grid-template-columns:1fr 1fr;gap:32px!important}
 .elementor-element-ec387e4 .elementor-element-d718350{grid-template-columns:1fr;gap:18px!important}
 .elementor-element-ec387e4 .elementor-element-b23fb48{max-width:380px!important}
}
@media(max-width:600px){
 .elementor-element-ec387e4{margin-block:28px!important}
 .elementor-element-ec387e4 .elementor-element-d718350{padding:20px!important;gap:18px!important}
 .moltech-catalog-copy{align-items:flex-start;gap:12px}
 .moltech-catalog-copy svg{width:32px;height:32px;flex-basis:32px}
 .moltech-catalog-copy h2{font-size:18px!important}
 .moltech-catalog-copy p{font-size:13px}
 .elementor-element-ec387e4 .elementor-element-b23fb48{max-width:none!important}
 #site-footer{padding:32px 20px 24px!important}
 #site-footer .elementor-element-f012628{grid-template-columns:1fr;gap:28px!important}
 #site-footer .moltech-footer-bottom{align-items:flex-start;flex-direction:column}
 .ft-swiper__slide__blog .ft-article__h3{font-size:17px!important}
}
.ft-swiper__slide__blog .ft-article__h3{height:auto!important;max-height:none!important;overflow:visible!important;-webkit-line-clamp:unset!important;line-clamp:unset!important;letter-spacing:normal!important;word-spacing:normal!important;text-align:start!important}
.ft-swiper__slide__blog .ft-article__p{height:auto!important;max-height:none!important;letter-spacing:normal!important;word-spacing:normal!important;text-align:start!important}
.elementor-element-ec387e4 .ft-catalog__volume{display:flex!important;align-items:center;flex-wrap:wrap;gap:4px 6px;font-size:13px!important}
.elementor-element-ec387e4 .ft-catalog__volume>span{white-space:nowrap}
.elementor-element-ec387e4 .ft-catalog__volume bdi{display:inline!important;unicode-bidi:isolate}
#site-footer .moltech-footer-office bdi,#site-footer .moltech-footer-email bdi{display:inline!important;white-space:nowrap;unicode-bidi:isolate}
body.moltech-footer-contact-visible .mtcs-actions{display:none!important}
.ft-swiper__slide__blog .ft-card__info{height:auto!important;min-height:0!important;max-height:none!important;flex:1 0 auto!important}
.ft-swiper__slide__blog .ft-article__h3,.ft-swiper__slide__blog .ft-article__p,.ft-swiper__slide__blog .ft-blog__footer{flex-shrink:0!important;height:auto!important;min-height:0!important;max-height:none!important}
.ft-swiper__slide__blog .ft-article__h3 a{display:block}
@media(min-width:768px) and (max-width:991.98px){.elementor-element-ec387e4 .elementor-element-d718350{grid-template-columns:minmax(0,1fr) 280px!important}.elementor-element-ec387e4 .elementor-element-b23fb48{max-width:none!important}}


.blog .ft-archive__header h1{display:block!important;color:#18354f;font-size:28px;line-height:1.7;margin-block:0 24px}
@media(max-width:600px){#site-footer .elementor-element-f012628{grid-template-columns:1fr 1fr!important;gap:24px 18px!important}#site-footer .elementor-element-f112628,#site-footer .elementor-element-f142628{grid-column:1/-1}#site-footer .moltech-footer-links a{display:block;min-height:38px}}

