.container {
    max-width: 1210px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.product-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin: 50px auto 100px;
}

#breadcrumbs {
    margin: 50px 0;
}

.breadcrumbs ul > span {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.product-gallery {
    max-width: 100%;
    width: 100%;
    overflow: hidden;
}

.swiper {
    max-width: 100%;
    width: 100%;
}

.swiper-wrapper {
    max-width: 100%;
    width: 100%;
    align-items: stretch;
}

.swiper-slide {
    height: auto!important;
}

.swiper-slide img {
    max-width: 100%;
    width: 100%;
    max-height: 400px;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.mySwiper2 {
    margin-bottom: 20px;
    /*background: #E4EDEB;*/
    border: 1px solid #E4EDEB;
    border-radius: 10px;
}

.mySwiper2 .swiper-slide img {
    padding: 50px!important;
    box-sizing: border-box;
}

.mySwiper .swiper-slide img {
    max-width: 100%;
    width: 100%;
    max-height: 100px;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    background: #E4EDEB;
    padding: 10px;
    box-sizing: border-box;
}

.thumbnail-slider .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid #007bff;
    border-radius: 4px;
}

.product-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 25px;
    max-width: 100%;
    width: 100%;
}

.product-page .product-title {
    line-height: 120%;
}

.product-page .section-smart-functional {
    margin: 0;
}

.product-page .smart-functional {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.product-page .functional-icons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0;
}

.product-page .functional-icon {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.product-page .functional-icon-image img {
    max-width: 50px;
    width: 100%;
    height: 50px;
    object-fit: contain;
}

.product-price {
    font-size: 24px;
    font-weight: 600;
}

.product-price span {
    color: #1F8467;
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 25%);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.popup {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 56px;
    max-width: 571px;
    width: 90%;
    background-color: #fff;
    border-radius: 10px;
    text-align: center;
    position: relative;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

.popup-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.icardy-monitoring-video {
    position: relative;
    width: 100%;
    max-width: 570px;
    margin: auto;
}

.video-preview {
    position: relative;
    max-width: 570px;
    width: 100%;
    max-height: 510px;
    height: 100%;
}

.video-preview img {
    max-width: 570px;
    width: 100%;
    max-height: 510px;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.play-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 50%;
    outline: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    cursor: pointer;
}

.video-container {
    position: relative;
    width: 100%;
    /*height: 0;*/
    /*padding-bottom: 56.25%;*/
    display: none;
}

.video-container iframe,
.video-container video {
    /*position: absolute;*/
    /*top: 0;*/
    /*left: 0;*/
    max-width: 570px;
    width: 100%;
    max-height: 438px;
    height: 100%;
    min-height: 438px;
}

.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
    max-width: 1250px;
    width: 100%;
    margin: 100px auto!important;
    padding: 0 20px;
}

.notice-close-btn {
    background: none;
    border: none;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    color: #333;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0;
}

.notice-close-btn:hover {
    color: #ff0000;
}

.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    position: relative;
    padding-right: 40px;
}


@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    h1 {
        margin: 0;
        padding: 0;
        font-size: 24px;
        font-weight: 700;
        line-height: 170%;
    }
    h2 {
        font-size: 18px;
        font-weight: 700;
        line-height: 170%;
    }
    p {
        font-size: 14px;
    }
    .product-page {
        display: grid;
        grid-template-columns: 1fr;
        gap: 25px;
        margin: 25px auto 50px;
    }
    .mySwiper2 .swiper-slide img {
        padding: 20px !important;
        box-sizing: border-box;
    }
    .swiper-slide img {
        max-width: 100%;
        width: 100%;
        max-height: 200px;
        height: 100%;
        object-fit: contain;
        border-radius: 10px;
    }
    .mySwiper .swiper-slide img {
        max-width: 100%;
        width: 100%;
        max-height: 75px;
        height: 100%;
        object-fit: contain;
        border-radius: 10px;
        background: #E4EDEB;
        padding: 10px;
        box-sizing: border-box;
    }
    .product-description p {
        font-size: 14px;
    }
    .product-info {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 15px;
        max-width: 100%;
        width: 100%;
    }
    .product-page .functional-icons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 0;
    }
    .popup {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 50px 20px;
        max-width: 571px;
        width: 90%;
        background-color: #fff;
        border-radius: 10px;
        text-align: center;
        position: relative;
        font-size: 14px;
    }
    #breadcrumbs {
        margin: 25px 0;
    }
    .video-preview {
        max-height: 258px;
    }
    .video-preview img {
        max-height: 258px;
    }
    .play-button {
        width: 70px;
        height: 70px;
    }
}




