/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

.ct-header .xnergy-header-quote-button {
    --theme-button-min-height: 46px;
    --theme-button-padding: 0 24px;
    --theme-button-border-radius: 0;
    --theme-button-text-initial-color: #111518;
    --theme-button-text-hover-color: #111518;
    --theme-button-background-initial-color: #ffffff;
    --theme-button-background-hover-color: #eef4f8;
    --theme-button-border: 1px solid #ffffff;
    display: inline-flex !important;
    align-items: center;
    align-self: center;
    justify-content: center;
    gap: 0;
    position: relative;
    width: auto;
    min-width: 156px;
    height: 46px;
    min-height: 46px;
    padding: 0 24px !important;
    color: #111518 !important;
    background: #ffffff !important;
    border: 1px solid #ffffff !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.015em;
    line-height: 1;
    overflow: hidden;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.12s cubic-bezier(0.455, 0.03, 0.515, 0.955),
        background-color 0.12s cubic-bezier(0.455, 0.03, 0.515, 0.955),
        border-color 0.12s cubic-bezier(0.455, 0.03, 0.515, 0.955),
        box-shadow 0.12s cubic-bezier(0.455, 0.03, 0.515, 0.955),
        transform 0.12s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.ct-header [data-items] > .xnergy-header-quote-button {
    margin: 0 clamp(12px, 1.2vw, 24px) 0 clamp(28px, 2.3vw, 48px);
}

.ct-header [data-items] > .ct-header-cta[data-id="xnergy"] {
    --margin: 0 clamp(12px, 1.2vw, 24px) 0 clamp(28px, 2.3vw, 48px) !important;
    margin: 0 clamp(12px, 1.2vw, 24px) 0 clamp(28px, 2.3vw, 48px);
}

.ct-header [data-device="desktop"] [data-row="bottom"][data-column-set="3"] > .ct-container {
    grid-template-columns: minmax(0, 1fr) auto minmax(180px, 1fr);
    width: 100%;
    max-width: none;
    padding-inline: clamp(20px, 1.2vw, 32px);
}

.ct-header [data-device="desktop"] [data-row="bottom"] [data-column="end"] {
    justify-content: flex-end;
}

.ct-header [data-device="desktop"] [data-row="bottom"] [data-column="end"] [data-items] {
    justify-content: flex-end;
}

.ct-header [data-device="desktop"] [data-row="bottom"] [data-column="end"] .ct-header-cta[data-id="xnergy"] {
    --margin: 0 0 0 clamp(28px, 2.3vw, 48px) !important;
    margin: 0 0 0 clamp(28px, 2.3vw, 48px);
}

.ct-header .xnergy-header-quote-button:hover,
.ct-header .xnergy-header-quote-button:focus-visible {
    color: #111518 !important;
    border-color: #ffffff !important;
    background: #eef4f8 !important;
    box-shadow: none !important;
    transform: none;
}

.ct-header .xnergy-header-quote-button:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.72);
    outline-offset: 3px;
}

.ct-header .xnergy-header-quote-button::before {
    content: "";
    display: none;
    width: calc(var(--theme-icon-size, 15px) + 2px);
    height: calc(var(--theme-icon-size, 15px) + 2px);
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect width='16' height='18' x='4' y='4' rx='2'/%3E%3Cpath d='M8 10h8'/%3E%3Cpath d='M8 14h5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect width='16' height='18' x='4' y='4' rx='2'/%3E%3Cpath d='M8 10h8'/%3E%3Cpath d='M8 14h5'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: background-color 0.12s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.ct-header .xnergy-header-quote-button:hover::before,
.ct-header .xnergy-header-quote-button:focus-visible::before {
    background-color: currentColor;
}

.ct-header .xnergy-header-quote-count {
    display: none;
    position: absolute;
    top: -9px;
    inset-inline-end: -9px;
    z-index: 2;
    box-sizing: border-box;
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    line-height: 16px;
    color: var(--theme-cart-badge-text, #fff);
    background: var(--theme-cart-badge-background, var(--theme-palette-color-1));
    pointer-events: none;
}

@media (min-width: 690px) and (max-width: 1180px) {
    .ct-header .xnergy-header-quote-button {
        --theme-button-min-height: auto;
        --theme-button-padding: 0;
        --theme-button-text-initial-color: var(--theme-icon-color, var(--theme-text-color));
        --theme-button-text-hover-color: var(--theme-icon-hover-color, var(--theme-palette-color-2));
        --theme-button-background-initial-color: transparent;
        --theme-button-background-hover-color: transparent;
        --theme-button-border: 0;
        width: 28px;
        min-width: 28px;
        max-width: 28px;
        height: 44px;
        min-height: 44px;
        padding: 0 !important;
        color: var(--theme-icon-color, var(--theme-text-color)) !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        font-size: 0;
        font-weight: inherit;
        overflow: visible;
        text-transform: none;
    }

    .ct-header [data-items] > .xnergy-header-quote-button {
        margin: 0 10px;
    }

    .ct-header [data-items] > .ct-header-cta[data-id="xnergy"] {
        --margin: 0 10px !important;
        margin: 0 10px;
    }

    .ct-header .xnergy-header-quote-button:hover,
    .ct-header .xnergy-header-quote-button:focus-visible {
        color: var(--theme-icon-hover-color, var(--theme-palette-color-2)) !important;
        background: transparent !important;
        outline: none;
    }

    .ct-header .xnergy-header-quote-button::before {
        display: block;
        position: static !important;
        inset: auto !important;
        flex: 0 0 auto;
        width: 19px;
        height: 19px;
        background-color: #52677c !important;
        opacity: 1 !important;
    }

    .ct-header .xnergy-header-quote-count {
        display: flex;
        align-items: center;
        justify-content: center;
        top: 3px;
        inset-inline-end: -4px;
        height: 16px;
        min-width: 16px;
        line-height: 16px;
    }

    .ct-header .xnergy-header-quote-count[data-count="0"] {
        display: none;
    }
}

.ct-header-cart > .ct-cart-content {
    --theme-text-color: #3f454d;
    --theme-link-initial-color: #17191c;
    --theme-link-hover-color: #000000;
    --mini-cart-background-color: #ffffff;
    --mini-cart-divider-color: #e4e7eb;
    --mini-cart-items-spacing: 18px;
    width: min(360px, calc(100vw - 28px)) !important;
    padding: 18px 20px 20px !important;
    border: 1px solid #e4e7eb;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: 0 18px 45px rgba(17, 20, 23, 0.16) !important;
    font-family: Poppins, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

.ct-header-cart > .ct-cart-content .woocommerce-mini-cart {
    max-height: min(56vh, 520px);
    margin-inline: -20px !important;
    padding-inline: 20px !important;
    scrollbar-color: #aeb4bc #f3f4f6;
    scrollbar-width: thin;
}

.ct-header-cart > .ct-cart-content .woocommerce-mini-cart::-webkit-scrollbar {
    width: 6px;
}

.ct-header-cart > .ct-cart-content .woocommerce-mini-cart::-webkit-scrollbar-track {
    background: #f3f4f6;
}

.ct-header-cart > .ct-cart-content .woocommerce-mini-cart::-webkit-scrollbar-thumb {
    background: #aeb4bc;
}

.ct-header-cart > .ct-cart-content .woocommerce-mini-cart li {
    display: grid !important;
    grid-template-columns: 58px minmax(0, 1fr);
    column-gap: 14px !important;
    align-items: start;
    min-height: 76px;
    padding: 0 28px 18px 0 !important;
    border-bottom: 1px solid #e4e7eb !important;
}

.ct-header-cart > .ct-cart-content .woocommerce-mini-cart li:last-child {
    border-bottom: 0 !important;
}

.ct-header-cart > .ct-cart-content .woocommerce-mini-cart .ct-media-container {
    width: 58px;
    height: 58px;
    border: 1px solid #e4e7eb;
    border-radius: 4px !important;
    background: #f8f8f8;
}

.ct-header-cart > .ct-cart-content .woocommerce-mini-cart .ct-media-container img {
    object-fit: contain;
    padding: 5px;
}

.ct-header-cart > .ct-cart-content .product-data {
    min-width: 0;
    padding-top: 1px;
}

.ct-header-cart > .ct-cart-content .product-title {
    display: block;
    margin: 0 0 6px;
    color: #17191c !important;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.38;
    text-decoration: none !important;
}

.ct-header-cart > .ct-cart-content .product-title:hover {
    color: #000000 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.ct-header-cart > .ct-cart-content .quantity {
    color: #6e747c;
    font-size: 12px;
    font-weight: 400;
}

.ct-header-cart > .ct-cart-content .quantity .amount {
    color: #17191c;
    font-weight: 500;
}

.ct-header-cart > .ct-cart-content .woocommerce-mini-cart .remove {
    top: 0;
    inset-inline-end: 0 !important;
    padding: 7px !important;
    color: #8a9098 !important;
    border-radius: 4px;
}

.ct-header-cart > .ct-cart-content .woocommerce-mini-cart .remove:hover {
    color: #17191c !important;
    background: #f3f4f6;
}

.ct-header-cart > .ct-cart-content .woocommerce-mini-cart__total {
    margin: 0 0 16px !important;
    padding-top: 16px !important;
    border-top: 1px solid #17191c !important;
    color: #17191c !important;
    font-size: 13px !important;
    font-weight: 500;
    letter-spacing: 0;
}

.ct-header-cart > .ct-cart-content .woocommerce-mini-cart__total strong,
.ct-header-cart > .ct-cart-content .woocommerce-mini-cart__total .amount {
    color: #17191c !important;
    font-weight: 600;
}

.ct-header-cart > .ct-cart-content .woocommerce-mini-cart__buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px !important;
    margin: 0 !important;
    padding-top: 0 !important;
    border-top: 0 !important;
}

.ct-header-cart > .ct-cart-content .woocommerce-mini-cart__buttons .button {
    min-height: 44px !important;
    border: 1px solid #17191c !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    color: #17191c !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0;
    text-transform: uppercase;
    box-shadow: none !important;
}

.ct-header-cart > .ct-cart-content .woocommerce-mini-cart__buttons .button:hover {
    background: #17191c !important;
    color: #ffffff !important;
}

.ct-header-cart > .ct-cart-content .woocommerce-mini-cart__empty-message {
    margin: 0;
    color: #3f454d !important;
    font-size: 14px;
    text-align: center;
}

.xnergy-cart-page-top {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 24px;
}

.xnergy-cart-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 222px;
    min-height: 46px;
    padding: 0 24px;
    border: 1px solid #d8dee7;
    border-radius: 6px;
    background: #ffffff;
    color: #2c3e50;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.xnergy-cart-back:hover,
.xnergy-cart-back:focus-visible {
    border-color: #2c3e50;
    background: #2c3e50;
    color: #ffffff;
    outline: none;
}

.single-product .woocommerce-product-gallery .flexy-pills[data-type="thumbs"],
.single-product .woocommerce-product-gallery .flex-control-nav:has(img) {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-color: #aeb4bc #f3f4f6;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.single-product .woocommerce-product-gallery .flexy-pills[data-type="thumbs"] ol,
.single-product .woocommerce-product-gallery .flex-control-nav:has(img) {
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 10px;
}

.single-product .woocommerce-product-gallery .flexy-pills[data-type="thumbs"] li,
.single-product .woocommerce-product-gallery .flex-control-nav:has(img) li {
    flex: 0 0 clamp(92px, 18%, 132px);
    width: clamp(92px, 18%, 132px);
}

.single-product .woocommerce-product-gallery .flexy-pills[data-type="thumbs"]::-webkit-scrollbar,
.single-product .woocommerce-product-gallery .flex-control-nav:has(img)::-webkit-scrollbar {
    height: 6px;
}

.single-product .woocommerce-product-gallery .flexy-pills[data-type="thumbs"]::-webkit-scrollbar-track,
.single-product .woocommerce-product-gallery .flex-control-nav:has(img)::-webkit-scrollbar-track {
    background: #f3f4f6;
}

.single-product .woocommerce-product-gallery .flexy-pills[data-type="thumbs"]::-webkit-scrollbar-thumb,
.single-product .woocommerce-product-gallery .flex-control-nav:has(img)::-webkit-scrollbar-thumb {
    background: #aeb4bc;
}

@media (max-width: 689.98px) {
    .ct-header [data-device="mobile"] [data-items="primary"] {
        display: grid;
        grid-template-columns: repeat(4, 28px);
        column-gap: 9px;
        align-items: center;
        justify-content: end;
    }

    .ct-header [data-device="mobile"] [data-items="primary"] > [data-id="account"],
    .ct-header [data-device="mobile"] [data-items="primary"] > [data-id="cart"],
    .ct-header [data-device="mobile"] [data-items="primary"] > .ct-header-cta[data-id="xnergy"],
    .ct-header [data-device="mobile"] [data-items="primary"] > [data-id="trigger"] {
        --margin: 0 !important;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 44px;
        margin: 0 !important;
    }

    .ct-header [data-device="mobile"] .xnergy-header-quote-button {
        --theme-button-min-height: auto;
        --theme-button-padding: 0;
        --theme-button-text-initial-color: var(--theme-icon-color, var(--theme-text-color));
        --theme-button-text-hover-color: var(--theme-icon-hover-color, var(--theme-palette-color-2));
        --theme-button-background-initial-color: transparent;
        --theme-button-background-hover-color: transparent;
        --theme-button-border: 0;
        width: 28px;
        min-width: 28px;
        max-width: 28px;
        height: 44px;
        min-height: 44px;
        padding: 0 !important;
        margin-inline-start: 0;
        color: var(--theme-icon-color, var(--theme-text-color)) !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        font-size: 0;
        font-weight: inherit;
        overflow: visible;
        text-transform: none;
    }

    .ct-header [data-device="mobile"] .xnergy-header-quote-button:hover,
    .ct-header [data-device="mobile"] .xnergy-header-quote-button:focus-visible {
        color: var(--theme-icon-hover-color, var(--theme-palette-color-2)) !important;
        background: transparent !important;
        outline: none;
    }

    .ct-header [data-device="mobile"] .xnergy-header-quote-button::before {
        display: block;
        position: static !important;
        inset: auto !important;
        flex: 0 0 auto;
        width: 19px;
        height: 19px;
        background-color: #52677c !important;
        opacity: 1 !important;
    }

    .ct-header [data-device="mobile"] .xnergy-header-quote-count {
        display: flex;
        align-items: center;
        justify-content: center;
        top: 3px;
        inset-inline-end: -4px;
        height: 16px;
        min-width: 16px;
        line-height: 16px;
    }

    .ct-header [data-device="mobile"] .xnergy-header-quote-count[data-count="0"] {
        display: none;
    }

    .ct-header-cart > .ct-cart-content {
        width: calc(100vw - 24px) !important;
        max-width: 360px;
    }

    .xnergy-cart-page-top {
        display: none;
    }

    .xnergy-cart-back {
        width: 100%;
    }

    .single-product .woocommerce-product-gallery .flexy-pills[data-type="thumbs"] li,
    .single-product .woocommerce-product-gallery .flex-control-nav:has(img) li {
        flex-basis: clamp(78px, 28vw, 108px);
        width: clamp(78px, 28vw, 108px);
    }

    .xnf-root .xnf-form-wrap .ff-t-container {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
    }

    .xnf-root .xnf-form-wrap .ff-t-container .ff_columns_total_2 > .ff-t-cell,
    .xnf-root .xnf-form-wrap .ff-t-container .ff_columns_total_1 > .ff-t-cell,
    .xnf-root .xnf-form-wrap .ff-t-container .ff-t-cell {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 1 auto !important;
        flex-basis: auto !important;
    }

    .xnf-root .xnf-form-wrap button[type="submit"],
    .xnf-root .xnf-form-wrap .ff-btn-submit,
    .xnf-root .xnf-form-wrap .ff-btn {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 700px) {
    .xn2-root .xn2-section {
        padding: 18px 0 28px !important;
    }

    .xn2-root .xn2-viewport {
        padding: 0 32px !important;
    }

    .xn2-root .xn2-track {
        gap: 12px !important;
    }

    .xn2-root .xn2-slide {
        aspect-ratio: 4 / 5 !important;
        min-height: 330px !important;
        padding: 20px 20px 86px !important;
        border-radius: 18px !important;
        justify-content: flex-start !important;
    }

    .xn2-root .xn2-slide::before {
        background-size: 82% auto !important;
        background-position: 50% 70% !important;
        background-repeat: no-repeat !important;
    }

    .xn2-root .xn2-slide-tag {
        padding: 5px 11px !important;
        font-size: 10px !important;
        line-height: 1.2 !important;
    }

    .xn2-root .xn2-slide-bottom {
        position: static !important;
        max-width: 78% !important;
        margin-top: 16px !important;
    }

    .xn2-root .xn2-slide-bottom h3 {
        max-width: 12em !important;
        margin-bottom: 7px !important;
        font-size: 20px !important;
        line-height: 1.12 !important;
    }

    .xn2-root .xn2-slide-desc {
        max-width: 15em !important;
        margin-bottom: 14px !important;
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    .xn2-root a.xn2-btn,
    .xn2-root a.xn2-btn:link,
    .xn2-root a.xn2-btn:visited {
        position: absolute !important;
        bottom: 28px !important;
        left: 20px !important;
        z-index: 3 !important;
        padding: 9px 16px !important;
        font-size: 12px !important;
        line-height: 1 !important;
    }

    .xn2-root .xn2-arrow-btn {
        width: 38px !important;
        height: 38px !important;
    }

    .xn2-root .xn2-arrow-btn.xn2-prev {
        left: 8px !important;
    }

    .xn2-root .xn2-arrow-btn.xn2-next {
        right: 8px !important;
    }

    .xn2-root .xn2-arrow-btn svg {
        width: 18px !important;
        height: 18px !important;
    }

    .xn2-root .xn2-controls {
        padding-top: 18px !important;
        gap: 18px !important;
    }
}
