/* ============================================================
   Dispensing Solutions Filter — Shortcode Styles
   ============================================================ */

/* ── Wrapper ────────────────────────────────────────────────── */
.ds-filter-wrapper {
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Filter Bar ─────────────────────────────────────────────── */
.ds-filter-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.ds-filter-label {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #444444;
    white-space: nowrap;
}

.ds-filter-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ds-filter-btn {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #000000;
    background-color: transparent;
    border: 1px solid rgb(226, 223, 213);
    border-radius: 100px;
    padding: 10px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ds-filter-btn:hover {
    background-color: transparent;
    border-color: #2A6355;
    color: #2A6355;
}

.ds-filter-btn.active {
    background-color: #2A6355;
    border-color: #2A6355;
    color: #FFFFFF;
}

.ds-filter-btn.active:hover {
    background-color: transparent;
    border-color: #2A6355;
    color: #2A6355;
}

/* ── Product Count ──────────────────────────────────────────── */
.ds-product-count {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 23px;
    color: #909090;
    margin-bottom: 32px;
    padding-left: 4px;
    text-align: center;
}

/* ── Products Grid ──────────────────────────────────────────── */
.ds-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    transition: opacity 0.3s ease;
}

.ds-products-grid.ds-loading {
    opacity: 0.35;
    pointer-events: none;
}

/* ── Product Card ───────────────────────────────────────────── */
.ds-product-card {
    background-color: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

/* ── Card Image ─────────────────────────────────────────────── */
.ds-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #F2F2F2;
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 8px,
        rgba(0, 0, 0, 0.02) 8px,
        rgba(0, 0, 0, 0.02) 16px
    );
}

.ds-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.ds-photo-label {
    position: absolute;
    top: 12px;
    left: 12px;
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
    font-size: 10px;
    line-height: 14px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #909090;
    background: rgba(255, 255, 255, 0.85);
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
}

.ds-play-btn {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: rgba(20, 32, 26, 0.2) 0px 8px 20px !important;
    text-decoration: none !important;
    z-index: 5;
    transition: all 0.3s ease;
}

.ds-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

/* ── Card Image Slider (Swiper) ─────────────────────────────── */
.ds-card-swiper {
    width: 100%;
    height: 100%;
    position: relative;
}

.ds-card-swiper .swiper-wrapper {
    height: 100%;
}

.ds-card-swiper .swiper-slide {
    width: 100%;
    height: 100%;
}

.ds-card-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Navigation arrows */
.ds-swiper-prev,
.ds-swiper-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, stroke 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.ds-card-image:hover .ds-swiper-prev,
.ds-card-image:hover .ds-swiper-next {
    opacity: 1;
}

.ds-swiper-prev {
    left: 8px;
}

.ds-swiper-next {
    right: 8px;
}

.ds-swiper-prev:hover,
.ds-swiper-next:hover {
    background: #2A6355;
    box-shadow: 0 4px 12px rgba(42, 99, 85, 0.25);
}

.ds-swiper-prev svg,
.ds-swiper-next svg {
    width: 18px;
    height: 18px;
}

.ds-swiper-prev svg path,
.ds-swiper-next svg path {
    stroke: #2A6355;
    transition: stroke 0.3s ease;
}

.ds-swiper-prev:hover svg path,
.ds-swiper-next:hover svg path {
    stroke: #FFFFFF;
}

/* Pagination dots */
.ds-card-swiper .swiper-pagination {
    position: absolute;
    bottom: 10px !important;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.ds-card-swiper .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: rgb(7 100 78 / 43%);
    opacity: 1;
    margin: 0 !important;
    border-radius: 50%;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease, border-radius 0.3s ease;
}

.ds-card-swiper .swiper-pagination-bullet-active {
    background: #2A6355;
    width: 14px;
    border-radius: 3px;
}

/* ── Card Body ──────────────────────────────────────────────── */
.ds-card-body {
    padding: 24px 30px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ds-card-title {
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 26px;
    letter-spacing: -0.16px;
    color: #000000;
    margin: 0 0 4px 0;
}

.ds-card-subtitle {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #666666;
    margin: 0 0 12px 0;
}

/* ── Tags ───────────────────────────────────────────────────── */
.ds-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.ds-tag {
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 10px;
    line-height: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #2A6355;
    background-color: #eaf1ec;
    border-radius: 20px;
    padding: 4px 9px;
}

/* ── Specs ──────────────────────────────────────────────────── */
.ds-specs {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 20px;
    flex: 1;
    border-top: 1px solid rgb(238, 237, 231);
    padding-top: 16px;
}

.ds-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #F0F0F0;
}

.ds-spec-row:last-child {
    border-bottom: none;
}

.ds-spec-label {
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 10px;
    line-height: 20px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #2A6355;
    flex: 0 0 120px;
}
.ds-spec-value {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 18px;
    color: #222222;
    text-align: left;
    flex: 1;
}

/* ── Card Actions (buttons) ─────────────────────────────────── */
.ds-card-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.ds-btn-view {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #000000;
    background-color: #F5F5F5;
    border: 1px solid #F5F5F5;
    border-radius: 100px;
    padding: 16px 36px;
    text-decoration: none;
    transition: .3s;
    cursor: pointer !important;
    text-align: center;
    white-space: nowrap;
}

.ds-btn-view:hover {
    background-color: #2A6355;
    color: #FFFFFF;
    border-color: #2A6355;
    text-decoration: none;
}

.ds-btn-compare {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #000000;
    background-color: transparent;
    border: 1px solid #000000;
    border-radius: 100px;
    padding: 16px 36px;
    cursor: pointer !important;
    transition: .3s;
    white-space: nowrap;
}

.ds-btn-compare:hover,
.ds-btn-compare:focus {
    background-color: transparent;
    border-color: #2A6355;
    color: #2A6355;
}

.ds-btn-compare.in-compare {
    background-color: #2A6355;
    border-color: #2A6355;
    color: #FFFFFF;
}

.ds-btn-compare.in-compare svg g path {
    stroke: #ffffff;
}

.ds-btn-compare.in-compare:hover {
    background-color: transparent;
    border-color: #2A6355;
    color: #2A6355;
}

.ds-btn-compare.in-compare:hover svg g path {
    stroke: #2A6355;
}

/* ── No Products ────────────────────────────────────────────── */
.ds-no-products {
    grid-column: 1 / -1;
    text-align: center;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    color: #909090;
    padding: 40px 0;
}

/* ── Compare Bar (reuses smart_assistant_compare styles) ───── */
.ds-compare-bar.smart_assistant_compare {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: #fff;
    border-top: 1px solid #E6E6E6;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
    padding: 14px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    box-sizing: border-box;
}

.ds-compare-bar .smart_assistant_text {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: #444444;
    padding-top: 14px;
}

.ds-compare-bar .compare_now_btn {
    padding: 10px 30px;
    border: 1px solid #2A6355;
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #ffffff;
    background-color: #2A6355;
    border-radius: 100px;
    cursor: pointer;
    transition: .3s;
}

.ds-compare-bar .compare_now_btn:hover,
.ds-compare-bar .compare_now_btn:active,
.ds-compare-bar .compare_now_btn:focus,
.ds-compare-bar .compare_now_btn:focus-within,
.ds-compare-bar .compare_now_btn:focus-visible {
    background-color: transparent;
    border: 1px solid #2A6355;
    color: #2A6355 !important;
}

.ds-compare-bar .compare_now_btn .compare_count {
    background: #FFFFFF;
    color: #2A6355;
    border-radius: 50px;
    min-width: 33px;
    min-height: 33px;
    align-content: center;
    display: inline-block;
    margin-left: 7px;
    text-align: center;
    transition: .3s;
}

.ds-compare-bar .compare_now_btn:hover .compare_count,
.ds-compare-bar .compare_now_btn:focus .compare_count {
    background: #2A6355;
    color: #FFFFFF;
}

/* ── Isolated Bootstrap Offcanvas CSS (Prevents global Bootstrap CSS conflicts) ── */
.offcanvas {
    position: fixed;
    bottom: 0;
    z-index: 1045;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    visibility: hidden;
    background-color: #fff;
    background-clip: padding-box;
    outline: 0;
    transition: transform 0.3s ease-in-out;
}

.offcanvas-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    transition: opacity 0.15s linear;
}

.offcanvas-backdrop.fade {
    opacity: 0;
}

.offcanvas-backdrop.show {
    opacity: 0.5;
}

.offcanvas.show:not(.hiding),
.offcanvas.showing {
    transform: none;
}

.offcanvas.showing,
.offcanvas.hiding,
.offcanvas.show {
    visibility: visible;
}

.offcanvas-start {
    top: 0;
    left: 0;
    transform: translateX(-100%);
    border-right: 1px solid rgba(0, 0, 0, 0.2);
}

.offcanvas-end {
    top: 0;
    right: 0;
    transform: translateX(100%);
    border-left: 1px solid rgba(0, 0, 0, 0.2);
}

.offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.offcanvas-body {
    flex-grow: 1;
    overflow-y: auto;
}

/* ── Compare Model (offcanvas) ──────────────────────────────── */
.ds-compare-model {
    --bs-offcanvas-width: 70% !important;
    background-color: #F8F7F3;
    padding: 0 0 100px 0;
    max-width: 70% !important;
    width: 70% !important;
    height: 100% !important;
    overflow-x: hidden;
    overflow-y: scroll;
}

.ds-compare-model .offcanvas-header {
    padding: 36px;
}

.ds-compare-model .offcanvas-heading {
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 42px;
    letter-spacing: -0.16px;
    color: #2A6355;
}

.ds-compare-model .closebtn {
    margin: 0 0 0 auto;
    background: transparent;
    border: none;
    border-radius: 100px;
}

.ds-compare-model .leftclosebtn {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    color: #2A6355;
    padding: 16px 24px;
    background-color: transparent;
    border: 1px solid #2A6355;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: 0.3s;
}

.ds-compare-model .leftclosebtn .hovericon,
.ds-compare-model .leftclosebtn:hover .defaulticon {
    display: none;
    transition: 0.3s;
}

.ds-compare-model .leftclosebtn:hover .hovericon {
    display: block;
    transition: 0.3s;
}

.ds-compare-model .leftclosebtn:hover {
    color: #F8F7F3;
    background-color: #2A6355;
    transition: 0.3s;
}

.ds-compare-model .mobilebtn {
    display: none;
}

.ds-compare-model .offcanvas-body {
    padding: 32px 36px 0 36px;
}

/* Compare table styles */
.ds-compare-model .ct_wrapper .comparison-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
}

.ds-compare-model .ct_wrapper .comparison-table th,
.ds-compare-model .ct_wrapper .comparison-table td {
    box-sizing: border-box !important;
    padding: 32px 8px;
    border: none;
    border-bottom: 1px solid #eaeaea;
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #222222;
    background: transparent;
}

.ds-compare-model .ct_wrapper .comparison-table.fixed-table {
    max-width: 400px;
    width: 100%;
}

.ds-compare-model .ct_wrapper .comparison-table.fixed-table td {
    color: #909090;
}

.ds-compare-model .ct_wrapper .fixed-col {
    min-width: 180px;
    text-align: left;
    background: transparent;
    font-weight: bold;
}

.ds-compare-model .ct_wrapper .swiper-container {
    width: 100%;
    overflow: hidden;
}

.ds-compare-model .ct_wrapper .swiper-slide {
    min-width: 200px;
    background: transparent;
}

.ds-compare-model .ct_wrapper .product-card img {
    max-width: 100%;
    width: 100%;
    border-radius: 4px;
    margin-top: 8px;
    padding: 0 32px 30px 0;
    height: 100%;
    object-fit: fill;
}

.ds-compare-model .ct_wrapper .product-card .remove-compare {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    color: #2A6355;
    padding: 14px 18px 14px 34px;
    background-color: transparent;
    border: 1px solid #2A6355;
    border-radius: 100px;
    transition: 0.3s;
    position: relative;
    min-height: 44px;
    cursor: pointer;
    transition: .3s;
}

.ds-compare-model .ct_wrapper .product-card .remove-compare:after {
    display: block;
    content: '';
    width: 16px;
    height: 16px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 14px;
    background: url('../images/leftsideclosebtn.svg');
    background-repeat: no-repeat;
    background-size: cover;
    transition: .3s;
}

.ds-compare-model .ct_wrapper .product-card .remove-compare:hover {
    color: #F8F7F3;
    background-color: #2A6355;
    transition: 0.3s;
}

.ds-compare-model .ct_wrapper .product-card .remove-compare:hover:after {
    filter: brightness(0) invert(1);
}

.ds-compare-model .ct_wrapper .product-title {
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 26px;
    letter-spacing: -0.16px;
    color: #000000;
    min-height: 26px;
}

/* Compare pds_slider */
.ds-compare-model .ct_wrapper .pds_slider {
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
    padding-bottom: 100px;
}

/* Compare swiper nav */
.ds-compare-model .ct_wrapper .swiper-button-next:after,
.ds-compare-model .ct_wrapper .swiper-button-prev:after {
    display: none;
}

.ds-compare-model .ct_wrapper .swiper-button .slbtn {
    position: absolute;
}

.ds-compare-model .ct_wrapper .swiper-button-prev {
    position: absolute;
    top: auto;
    bottom: 10px;
    left: auto;
    right: 172px;
    width: 100%;
    max-width: 88px;
    height: 48px;
}

.ds-compare-model .ct_wrapper .swiper-button-next {
    position: absolute;
    top: auto;
    bottom: 10px;
    left: auto;
    right: 70px;
    width: 100%;
    max-width: 88px;
    height: 48px;
}

.ds-compare-model .ct_wrapper .swiper-button .defaultbtn {
    transition: 0.3s;
    opacity: 1;
}

.ds-compare-model .ct_wrapper .swiper-button .hoverbtn,
.ds-compare-model .ct_wrapper .swiper-button .disablebtn {
    transition: 0.3s;
    opacity: 0;
}

.ds-compare-model .ct_wrapper .swiper-button:hover .defaultbtn {
    transition: 0.3s;
    opacity: 0;
}

.ds-compare-model .ct_wrapper .swiper-button:hover .hoverbtn {
    transition: 0.3s;
    opacity: 1;
}

/* Compare loading */
.ds-compare-model .ct_wrapper.loading-data {
    background-image: url('../images/loader1.gif');
    background-position: center;
    background-repeat: no-repeat;
}

.ds-compare-model .ct_wrapper.loading-data .pds_slider {
    opacity: 0.2;
}

/* ── Responsive ─────────────────────────────────────────────── */

/* Tablet */
@media (max-width: 1024px) {
    .ds-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .ds-compare-model {
        --bs-offcanvas-width: 85% !important;
        max-width: 85% !important;
        width: 85% !important;
    }

    .ds-swiper-prev,
    .ds-swiper-next {
        opacity: 1;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .ds-filter-wrapper {
        padding: 0 16px;
    }

    .ds-filter-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .ds-filter-buttons {
        gap: 6px;
    }

    .ds-filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .ds-products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ds-card-actions {
        flex-direction: column;
    }

    .ds-btn-view,
    .ds-btn-compare {
        width: 100%;
        justify-content: center;
        padding: 12px 18px;
    }

    .ds-compare-bar.smart_assistant_compare {
        padding: 12px 16px;
        gap: 12px;
        flex-wrap: wrap;
    }

    .ds-compare-bar .smart_assistant_text,
    .ds-compare-bar .smart_assistant_btn {
        text-align: center;
    }

    .ds-compare-model {
        --bs-offcanvas-width: 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .ds-compare-model .offcanvas-body {
        padding: 16px;
    }

    .ds-compare-model .ct_wrapper .fixed-col {
        min-width: 120px;
    }

    .ds-compare-model .ct_wrapper .comparison-table th,
    .ds-compare-model .ct_wrapper .comparison-table td {
        padding: 10px;
        font-size: 12px;
    }

    .ds-compare-model .mobilebtn {
        display: flex;
    }

    .ds-compare-model .deskbtn {
        display: none;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .ds-filter-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .ds-card-body {
        padding: 16px;
    }

    .ds-card-title {
        font-size: 18px;
        line-height: 24px;
    }
}

/* Responsive Button Styles to Match Beverages Products */
@media screen and (min-width: 1600px) and (max-width: 1799px) {
    .ds-btn-view,
    .ds-btn-compare {
        padding: 12px 24px;
    }
}
@media screen and (min-width: 992px) and (max-width: 1599px) {
    .ds-btn-view,
    .ds-btn-compare {
        padding: 10px 18px;
    }
}
@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .ds-btn-view,
    .ds-btn-compare {
        font-size: 14px;
        line-height: 20px;
        padding: 14px 28px;
    }
}
@media screen and (min-width: 992px) and (max-width: 1199px) {
    .ds-btn-view,
    .ds-btn-compare {
        font-size: 14px;
        line-height: 20px;
        padding: 12px 16px;
    }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
    .ds-btn-view,
    .ds-btn-compare {
        padding: 12px 10px;
        font-size: 13px;
    }
}
@media screen and (max-width: 767px) {
    .ds-btn-view,
    .ds-btn-compare {
        padding: 12px 18px;
        font-size: 14px;
        line-height: 20px;
    }
}

/* ── Video Lightbox ─────────────────────────────────────────── */
.ds-video-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.8);
    backdrop-filter: blur(10px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ds-video-lightbox.active {
    opacity: 1;
}

.ds-video-lightbox-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.ds-video-lightbox.active .ds-video-lightbox-container {
    transform: scale(1);
}

.ds-video-lightbox-iframe-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.ds-video-lightbox-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.ds-video-lightbox-close {
    position: absolute;
    top: 0 !important;
    right: -60px !important;
    background: none;
    border: none;
    color: #CDF789;
    width: 48px;
    height: 48px;
    padding: 0px;
    cursor: pointer !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000000;
}

.ds-video-lightbox-close:hover,
.ds-video-lightbox-close:focus,
.ds-video-lightbox-close:active {
    color: #CDF789;
    transform: scale(1.1);
    background: transparent;
}

.ds-video-lightbox-close svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: currentColor;
}

@media (max-width: 1350px) {
    .ds-video-lightbox-close {
        top: -50px;
        right: 0;
    }
}

@media (max-width: 767px) {
    .ds-video-lightbox-close {
        top: -45px;
        right: 0;
        width: 40px;
        height: 40px;
    }
    .ds-video-lightbox-close svg {
        width: 28px;
        height: 28px;
    }
}

