/* css/kubota-product-feed-widget-styles.css */
.kubota-banner-image-wrap {
    position: relative;
}
.kubota-banner-image-wrap .kubota-feature-tooltip-trigger {
    position: absolute;
    transform: translate(-50%,-50%);
    opacity: .7;
    transition: all 1.25s cubic-bezier(.19,1,.22,1);
    outline-offset: 0px;
    outline: 0px solid;
    outline-color: #fff0;
    text-align: center;
    border-radius: 50%;
    background-color: #fff;
    color: var(--e-global-color-primary);
    font-weight: 700;
    cursor: pointer;
    z-index: 200;
    width: 24px;
    font-size: 14px;
    line-height: 24px;
}
.kubota-banner-image-wrap .kubota-feature-tooltip-trigger:hover {
    opacity: 1;
    outline: 1px solid;
    outline-offset: 7px;
    outline-color: #fff;
}
.kubota-banner-image-wrap .kubota-feature-tooltip-trigger.active {
    background-color: var(--e-global-color-primary);
    color: #fff;
    opacity: 1;
}

.kubota-banner-image-wrap .kubota-features {
    display: none;
}
.kubota-feature {
    transition: all 1s ease-in-out;
}
/* .kubota-feature:not(.active) {
    display: none;
} */

.kubota-banner-image-wrap + .kubota-features {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 20px;
}
.kubota-banner-image-wrap + .kubota-features .kubota-feature {
    max-height: 400px;
    padding: 24px;
    background-color: #000000cc;
    border: #303030 solid 1px;
    border-radius: 5px;
    color: #fff;
    line-height: 1.5;
    overflow: auto;
}
.kubota-banner-image-wrap + .kubota-features .kubota-feature h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.elementor-widget-kubota-product-feed-specs .accordion {
    border: 1px solid var(--ast-border-color);
    margin: 20px 0;
}
.elementor-widget-kubota-product-feed-specs .accordion .accordion-tab-title {
    border-bottom: 1px solid var(--ast-border-color);
    padding: 20px;
    cursor: pointer;
}
.elementor-widget-kubota-product-feed-specs .accordion .accordion-tab-content {
    display: none;
    padding: 20px;
}
.elementor-widget-kubota-product-feed-specs .table-wrapper {
    overflow: auto;
}
.elementor-widget-kubota-product-feed-specs table.kubota-product-feed-spec-table {
    min-width: 800px;
    margin: 0;
    border: none;
}
.elementor-widget-kubota-product-feed-specs tr {
    flex-direction: row;
    box-sizing: border-box;
    display: flex;
}
.elementor-widget-kubota-product-feed-specs tr th,
.elementor-widget-kubota-product-feed-specs tr td {
    place-content: center flex-start;
    align-items: center;
    flex-direction: row;
    box-sizing: border-box;
    display: flex;
    flex: 1 1 0%;
}
.elementor-widget-kubota-product-feed-specs tr th:first-child,
.elementor-widget-kubota-product-feed-specs tr td:first-child {
    flex: 1 1 220px;
    min-width: 220px;
    max-width: 220px;
}
.elementor-widget-kubota-product-feed-specs th {
    text-align: left;
}
.elementor-widget-kubota-product-feed-specs tr th:last-child,
.elementor-widget-kubota-product-feed-specs tr td:last-child {
    border-right: none;
}
.elementor-widget-kubota-product-feed-specs tr:last-child td {
    border-bottom: none;
}
.elementor-widget-kubota-product-feed-specs tr.highlight td {
    color: var(--e-global-color-primary);
}
.elementor-widget-kubota-product-feed-specs #accordion-toggle {
    margin-left: 10px;
}

.elementor-widget-kubota-product-feed-banner-image .kubota-banner-image-wrap .size-full {
    width: 100%;
}
.elementor-widget-kubota-product-feed-finance-banner-image .kubota-banner-image-wrap::before {
	content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 0.3;
}
.elementor-widget-kubota-product-feed-finance-banner-image .kubota-banner-image-wrap img.size-full {
	width: 100%;
}

/* Switch */
.kubota-product-feed-switch {
    width: 50px;
}
.kubota-product-feed-switch > input[type="checkbox"] {
    display: none;
}
.kubota-product-feed-switch > label {
    cursor: pointer;
    height: 0px;
    position: relative;
    width: 40px;
    background-color: var(--e-global-color-primary);
}
.kubota-product-feed-switch > label::before {
    background: rgb(0, 0, 0);
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    content: '';
    height: 16px;
    margin-top: -8px;
    position:absolute;
    opacity: 0.3;
    transition: all 0.3s ease-in-out;
    width: 40px;
}
.kubota-product-feed-switch > label::after {
    background: rgb(255, 255, 255);
    border-radius: 16px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    content: '';
    height: 24px;
    left: -4px;
    margin-top: -8px;
    position: absolute;
    top: -4px;
    transition: all 0.2s ease-in-out;
    width: 24px;
}
.kubota-product-feed-switch > input[type="checkbox"]:checked + label::before {
    background: inherit;
    opacity: 0.5;
}
.kubota-product-feed-switch > input[type="checkbox"]:checked + label::after {
    background: inherit;
    left: 20px;
}

.align-items-center {
    align-items: center;
}

.justify-content-between {
    justify-content: space-between;
}

.elementor-col-auto {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
}

.kubota-product-feed-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
}
.kubota-product-feed-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    max-width: 500px;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-height: 200px;
    display: none;
}
.kubota-product-feed-popup .popup-content {
    position: relative;
}
.kubota-product-feed-popup .popup-close {
    position: absolute;
    top: -6px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}
.kubota-product-feed-popup .download-link {
    padding: 10px;
}
.kubota-product-feed-popup .download-link .icon {
    margin-right: 10px;
}

@media screen and (min-width: 600px) {
    .kubota-banner-image-wrap .kubota-feature-tooltip-trigger {
        width: 30px;
        font-size: 16px;
        line-height: 30px;
    }
}

@media screen and (min-width: 960px) {
    .kubota-banner-image-wrap .kubota-feature-tooltip-trigger {
        width: 40px;
        font-size: 18px;
        line-height: 40px;
    }

    .elementor-widget-kubota-product-feed-specs tr th:first-child,
    .elementor-widget-kubota-product-feed-specs tr td:first-child {
        flex: 1 1 280px;
        min-width: 280px;
        max-width: 280px;
    }
}

@media screen and (min-width: 1280px) {
    .kubota-banner-image-wrap .kubota-features {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 2;
        width: 30%;
        max-height: 90%;
        margin: 24px;
        padding: 24px;
        background-color: #303030cc;
        border: #303030 solid 1px;
        border-radius: 5px;
        color: #fff;
        line-height: 1.5;
        overflow: auto;
    }
    .kubota-banner-image-wrap .kubota-features h4 {
        color: #fff;
        font-size: 16px;
        font-weight: 700;
    }

    /* .kubota-banner-image-wrap + .kubota-features {
        display: none;
    } */

    .kubota-banner-image-wrap .kubota-feature-tooltip-trigger {
        width: 50px;
        font-size: 28px;
        line-height: 50px;
    }

    .elementor-widget-kubota-product-feed-specs tr th:first-child,
    .elementor-widget-kubota-product-feed-specs tr td:first-child {
        flex: 1 1 350px;
        min-width: 350px;
        max-width: 350px;
    }
}