/* ── CAROUSEL VIDEO ── */

#video-carbg .owl-stage {
    direction: ltr !important;
}

/* Item wrapper */
#video-carbg .ue-repeater-carousel-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: #000;
}

/* Video nativ */
#video-carbg .ue-video-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0; /* ascuns implicit */
    pointer-events: none; /* nu intercepteaza touch */
}

#video-carbg .ue-repeater-carousel-item.is-playing .ue-video-player {
    opacity: 1;
    pointer-events: auto;
}

/* Thumbnail deasupra video */
#video-carbg .ue-thumb-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
    cursor: pointer;
    transition: opacity 0.4s ease;
}

#video-carbg .ue-thumb-wrapper.is-hidden {
    opacity: 0;
    pointer-events: none;
}

/* Imagine */
#video-carbg .ue-repeater-carousel-item-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    position: absolute;
    top: 0;
    left: 0;
}

/* Gradient overlay jos */
#video-carbg .ue-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 100%);
    border-radius: 0 0 8px 8px;
    pointer-events: none;
}

/* Play button - centru */
#video-carbg .ue-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: auto !important;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
    cursor: pointer;
}

#video-carbg .ue-play-btn svg rect {
    transition: fill-opacity 0.3s ease;
}

#video-carbg .ue-play-btn svg {
    width: 48px !important;
    height: 48px !important;
}

#video-carbg .ue-thumb-wrapper:hover .ue-play-btn svg rect {
    fill-opacity: 1;
}

#video-carbg .ue-thumb-wrapper:hover .ue-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Titlu jos-stanga */
#video-carbg .ue-item-title-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px;
    z-index: 3;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.6);
}

#video-carbg .ue-repeater-carousel-item-title {
    color: #ffffff;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}

/* CAROUSEL IMAGINI */

#image_car .ue-repeater-carousel-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4/3;
}

#image_car .ue-repeater-carousel-item-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

#image_car .ue-repeater-carousel-item-content {
  position: absolute;
  bottom: 10px;
  left: 20px;
  right: 20px;
  z-index: 2;
  top: auto !important;
  height: auto !important;
}
#image_car .ue-repeater-carousel-item::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 35% !important;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}
#image_car .ue-rc-title-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

#image_car .ue-repeater-carousel-item-title {
  color: #ffffff;
  margin: 0;
  font-size:18px;
}

/* Gradient overlay pentru lizibilitate */
#image_car .ue-repeater-carousel-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 100%);
  pointer-events: none;
  z-index: 1;
}

/* SPECIFICATII TEHNICE */
#specs table tbody>tr:nth-child(odd)>td, #specs table tbody>tr:nth-child(odd)>th
 {
    background-color: #000!important;
}
#specs table td, #specs table th {
    border: 0px solid transparent!important;
}
#specs .r-tabs-anchor {font-weight:500;}
#specs ul.uc-items-wrapper li {
    text-align: left;
}
#specs .dt-left, #specs .dt-right {padding: 20px 0; word-wrap: break-word; overflow-wrap: break-word; white-space: normal; font-size:25px; color:#fff;}
#specs .dt-left{width:60%; text-align:left; font-weight: 500;}
#specs .dt-right{width:40%; text-align:right; font-size:25px; font-weight:normal;}
/* ── MOBIL ── */
@media (max-width: 768px) {
#specs .dt-left, #specs .dt-right {padding: 10px 0;}
#specs .dt-left{font-size:16px;}
#specs .dt-right{font-size:14px;}
#specs table tbody tr:first-child td {
        border-top: 1px solid #737373 !important;
    }
/* Animatie deschidere/inchidere accordion */
#uc_repeater_tabs_elementor_f25ad41 .tab-container.panes {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    display: block !important;
    transition: max-height 0.5s ease, opacity 0.5s ease;
}

#uc_repeater_tabs_elementor_f25ad41 .tab-container.panes.r-tabs-state-active {
    /* max-height e setat dinamic prin JS */
    opacity: 1;
}
        }

       
/* ── CAROUSEL DOMENII DE UTILIZARE ── */     
        .domenii-outer {
            position: relative;
            background-color: #000;
        }

        .domenii-scroll-wrapper {
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            padding: 40px 0;
            --col-w: 300px;
        }

        .domenii-scroll-wrapper::-webkit-scrollbar {
            display: none;
        }

        .domenii-grid {
            display: flex;
            flex-direction: row;
            gap: 16px;
            width: max-content;
        }

        .domeniu-item {
            display: flex;
            flex-direction: column;
            gap: 12px;
            flex: 0 0 var(--col-w);
            width: var(--col-w);
        }

        .domeniu-imagine-wrapper {
            border-radius: 8px;
            overflow: hidden;
            width: 100%;
            aspect-ratio: 4 / 3;
        }

        .domeniu-imagine {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .domeniu-label {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 32px;
            font-weight: 400;
            line-height: 36px;
            color: #FFFFFF;
        }

        .domeniu-icon {
            height: 1em;
            width: 1em;
            object-fit: contain;
            flex-shrink: 0;
        }

        /* ── OWL NAV ── */
        .domenii-outer .owl-nav {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
        }

        .domenii-outer .owl-prev,
        .domenii-outer .owl-next {
            position: absolute;
            display: inline-block;
            text-align: center;
            outline: none;
            top: 48%;
            transform: translateY(-50%);
            border-radius: 0px;
            width: 50px;
            height: 50px;
            line-height: 50px;
            font-size: 20px;
            color: #FFFFFF;
            background-color: #000000;
            cursor: pointer;
            border: none;
            padding: 0 !important;
            font: inherit;
            user-select: none;
            pointer-events: all;
        }

        .domenii-outer .owl-prev {
            left: 0px;
            right: auto;
        }

        .domenii-outer .owl-next {
            right: 0px;
            left: auto;
        }

        .domenii-outer .owl-prev:hover,
        .domenii-outer .owl-next:hover {
            background-color: #00000090;
            color: #ffffff;
        }
/* ── TABLETA ── */
@media (min-width: 768px) and (max-width: 1024px) {
            .domenii-scroll-wrapper {
                padding: 24px;
            }

            .domeniu-label {
                font-size: 24px;
                line-height: 28px;
            }

            /* Pe mobil ascundem sagetile — utilizatorul da scroll cu degetul */
            .domenii-outer .owl-nav {
                display: none;
            }
        }

        /* ── MOBIL ── */
        @media (max-width: 767px) {
            .domenii-scroll-wrapper {
                padding: 24px;
            }

            .domeniu-label {
                font-size: 16px;
                line-height: 18px;
            }

            /* Pe mobil ascundem sagetile — utilizatorul da scroll cu degetul */
            .domenii-outer .owl-nav {
                display: none;
            }
        }