.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-title {
    font-family: Rethink Sans;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    color: rgba(29, 36, 48, 1);
    min-height: 48px;
}

.product-card-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    border-radius: 8px;
    padding: 8px;
    background-color: rgba(245, 247, 250, 1);
}

.product-card-specs-wrapper {
    min-height: 65px;
}

.gray-border {
    border-top: 1px solid #DFE4EC;
}

.registration-mileage-row, .euro-horse-power-row {
    display: flex;
    justify-content: space-between;
}

.euro-horse-power-row {
    margin-top: 8px;
}

/*.registration-date, .kilometers, .euro-standard, .horse-power {*/
/*    flex: 1;*/
/*}*/

/*.registration-date p, .kilometers p, .euro-standard p, .horse-power p {*/
/*    margin: 0;*/
/*    font-size: 0.9em;*/
/*    color: #555;*/
/*}*/

/*.registration-date strong, .kilometers strong, .euro-standard strong, .horse-power strong {*/
/*    font-weight: bold;*/
/*    font-size: 1.2em;*/
/*    display: block;*/
/*}*/

.availability {
    display: flex;
    gap: 8px;
}

.left-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 9999px;
    font-size: 14px;
    gap: 4px;
    font-family: Rethink Sans;
    font-weight: 400;
    line-height: 16px;
	text-align:center;
}

.right-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    background-color: rgba(245, 247, 250, 1);
    color: rgba(29, 36, 48, 1);
    border-radius: 9999px;
    font-size: 14px;
    font-family: Rethink Sans;
    font-weight: 400;
	text-align:center;
}

.badge-availability {
    position: relative; 
}

.tooltip-wrapper {
    position: absolute;
    border: 5px solid transparent;
    padding-bottom: 5px;
    bottom: 95%;
    /*width: 100%;*/
    width: 240%;
    left: 0%;
}

.tooltip {
    opacity: 0;
    position: absolute;
    bottom: 140%;
    /*left: 105%;*/
    left: 45%;
    transform: translateX(-50%);
    background-color: white;
    color: rgba(29, 36, 48, 1);
    padding: 10px;
    width: max-content;
    max-width: 180px;
    font-size: 12px;
    font-family: "Rethink Sans";
    text-align: center;
    border-radius: 4px;
    border: solid 1px rgba(245, 247, 250, 1);
    z-index: 10;
    pointer-events: none;
    transition: 0.2s all;
}

.tooltip::before,
.tooltip::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-style: solid;
}

.tooltip::before {
    top: 100%;
    border-width: 7px;
    border-color: rgba(245, 247, 250, 1) transparent transparent transparent;
}

.tooltip::after {
    top: calc(100% - 1px);
    border-width: 6px;
    border-color: white transparent transparent transparent;
}

.product-request-availability:hover .tooltip-wrapper .tooltip, .availability:hover .tooltip-wrapper .tooltip,
.tooltip-wrapper:hover .tooltip {
    opacity:1;
    pointer-events: auto; 
}

.info-link {
    color: rgba(45, 167, 54, 1);
    font-weight: bold;
    text-decoration: underline;
    display: inline-block;
    margin-top: 5px;
    font-size: 12px;
}

.tooltip .info-link {
    text-decoration: underline;
}

.info-link:hover {
    color: #25912E;
}

.location {
    display: flex;
    align-items: center;
    gap: 8px; 
    font-family: Rethink Sans;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    color: rgba(29, 36, 48, 1);
}

.location-flag-icon {
    width: 16px;
    height: 16px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.location-flag-icon.flag-LT {
    background-image: url("../images/product_location_flag_icon_lt.svg");
}

.location-flag-icon.flag-ES {
    background-image: url("../images/product_location_flag_icon_es.svg");
}

.location-flag-icon.flag-NL {
    background-image: url("../images/product_location_flag_icon_nl.svg");
}

.location-flag-icon.flag-PL {
    background-image: url("../images/product_location_flag_icon_pl.svg");
}

.badge-availability.left-badge.priority-color-1 {
    background-color: #EAF6EB;
    color: #009951;
}

.badge-availability.left-badge.priority-color-2 {
    background-color: #FFFBEB;
    color: #BF6A02;
}

.badge-availability.left-badge.priority-color-3 {
    background-color: #FFFBEB;
    color: #BF6A02;
}

.badge-availability.left-badge.priority-color-4 {
    background-color: #E6F4FF;
    color: #0858D9;
}

.badge-availability.left-badge.priority-color-5 {
    background-color: #E6F4FF;
    color: #0858D9;
}

.code {
    height: 21px;
    font-family: Rethink Sans;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    color: rgba(112, 123, 139, 1);
}

.price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-family: Rethink Sans;
    font-size: 24px;
    line-height: 36px;
}

.without-pvm {
    font-family: Rethink Sans;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: rgba(112, 123, 139, 1);
}

.registration-date, .kilometers, .euro-standard, .horse-power {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: Rethink Sans;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    color: rgba(29, 36, 48, 1);
}

.registration-date-icon {
    background-image: url("../images/product_reg_date_icon.svg");
}

.mileage-icon {
    background-image: url("../images/product_mileage_icon.svg");
}

.euro-standard-icon {
    background-image: url("../images/product_euro_standard_icon.svg");
}

.horse-power-icon {
    background-image: url("../images/product_horse_power_icon.svg");
}

.registration-date-icon, .mileage-icon,
.euro-standard-icon,
.horse-power-icon {
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.reservation-button, .request-button-no-package {
    width: 100%;
    background-color: #2DA736;
    color: #FFFFFF;
    border: solid 1px;
    border-radius: 8px;
    padding: 12px 16px;
    font-family: "Rethink Sans";
    font-weight: 600;
    font-size: 16px;
    line-height: 16px;
}

.reservation-button:hover, .request-button-no-package:hover {
    background-color: #25912E;
}

.reservation-button:active, .request-button-no-package:active {
    background-color: #25912E !important;
    transform: scale(0.98) !important;
}

.reservation-button:focus, .request-button-no-package:focus {
    background-color: #25912E !important;
    transform: scale(0.98) !important;
}

.request-button {
    background-color: #FAFAFA;
    color: black;
    padding: 10px;
    width: 100%;
    border: 1px solid #F3F3F3;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
}

.notification-favorite-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.notification-button, .favorite-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    border-radius: 8px;
    border: solid 1px rgba(223, 228, 236, 1);
    padding: 8px 12px;
    background-color: rgba(245, 247, 250, 1);
    font-weight: 600;
    font-size: 14px;
    line-height: 16px;
    color: rgba(29, 36, 48, 1);
}

.notification-button:hover, .favorite-button:hover {
    background-color: rgba(235, 237, 240, 1);
    color: rgba(29, 36, 48, 1);
    border: solid 1px darkgray;
}

.notification-button:focus, .favorite-button:focus {
    background-color: rgba(235, 237, 240, 1);
    color: rgba(29, 36, 48, 1);
    border: solid 1px darkgray;
}

.notification-btn-icon {
    background-image: url("../images/product_messages_icon.svg");
}

.notification-button.notification-enabled .notification-btn-icon{
    background-image: url("../images/notification-enabled.svg");
	background-size: 12px;
}

.favorite-btn-icon {
    background-image: url("../images/product_star_icon.svg");
}

.favorite-button.favorited .favorite-btn-icon,  .product-page-header-left-mobile-memorize-btn.favorited .product-page-header-left-mobile-memorize-btn-icon  {
    background-image: url("../images/product_star_filled_icon.svg");
}

.notification-btn-icon, .favorite-btn-icon {
    width: 16px;
    height: 16px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.product-card-with-slider {
    border: solid 1px #DFE4EC;
    border-radius: 16px;
    box-shadow: var(--sds-size-depth-0) var(--sds-size-depth-025) var(--sds-size-depth-400) var(--sds-size-depth-0) var(--sds-color-black-100);
}

.product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card-content-after-images {
    display: flex;
    flex-direction: column;
    padding: 16px;
    gap: 16px
}

.product-card-with-slider .image-slider {
    position: relative;
    overflow: hidden;
    border-radius: 13px 13px 0px 0px;
}

.product-card-with-slider .slider-wrapper {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.product-card-with-slider .slider-header {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    width: calc(100% - 20px);
    z-index: 10;
}

.product-card-with-slider .package-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: rgba(29, 36, 48, 1);
    width: 107px;
    height: 24px;
    font-family: Rethink Sans;
    font-weight: 400;
    font-size: 14px;
    border: solid 1px #FCFCFC;
    padding: 4px 8px 4px 8px;
    gap: 4px;
    cursor: pointer;
    border-radius: 9999px;
}

.product-card-with-slider .slider-buttons {
    display: flex;
    gap: 10px;
}

.video-button {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    border-radius: 8px;
    border: none;
    padding: 8px 8px;
    line-height: 16px;
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF;
    background: var(--Background-Brand-Transparent, #0C0C0D66);
}

.video-button-icon {
    width: 16px;
    height: 16px;
    background-image: url(../images/product_video_icon.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}

.video-button:hover, .images-quantity-button:hover {
    background-color: rgba(12, 12, 13, 0.6);
}

.images-quantity-button:focus {
    background-color: rgba(12, 12, 13, 0.4);
    color: #fff;
}

.video-button:focus {
    background-color: rgba(12, 12, 13, 0.4);
    color: #fff;
}

.images-quantity-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 65px;
    height: 32px;
    background-color: rgba(12, 12, 13, 0.4);
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: Rethink Sans;
    line-height: 16px;
}

.images-quantity-icon {
    width: 16px;
    height: 16px;
    background-image: url("../images/product_image_count_icon.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.product-card-with-slider {
    background-color: white;
    color: black;
    font-size: 12px;
	user-select: none;
}

.product-card-with-slider .slider-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.product-card-with-slider .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(12, 12, 13, 0.4);
    font-family: Rethink Sans;
    font-size: 12px;
    color: #fff;
    padding: 6px 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    z-index: 1;
    opacity: 0; /* Initially hide the arrows */
    transition: opacity 0.3s ease-in-out;
}

.product-card-with-slider .slider-arrow:hover {
    background-color: rgba(12, 12, 13, 0.6);
}

.product-card-with-slider .left-arrow {
    left: 10px;
}

.product-card-with-slider .right-arrow {
    right: 10px;
}

.product-card-with-slider .image-slider:hover .slider-arrow {
    opacity: 1; /* Show arrows on hover */
}

/* Indicator */

.product-card-with-slider .indicator-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 8px;
    gap: 4px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.product-card-with-slider .indicator {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 9999px;
    cursor: pointer;
    transition: 0.3s all ease;
    box-shadow: 0px 4px 10px rgba(12, 12, 13, 0.05);
}

.product-card-with-slider .indicator:first-child:not(.active) {
    width: 4px;
    height: 4px;
}

.product-card-with-slider .indicator:last-child:not(.active) {
    width: 4px;
    height: 4px;
}

.product-card-with-slider .indicator.active {
    background-color: rgba(45, 167, 54, 1);
}

.slider-wrapper {
	height: var(--dynamic-card-slider-height);
}

.slider-wrapper img {
    height: var(--dynamic-card-slider-height) !important;
    min-width: var(--dynamic-card-slider-width) !important;
}

.product-card-with-slider:hover {
    border: 1px solid #CFD6E0;
}

/* For mobile screens */
@media (max-width: 768px) { /* Targeting mobile devices */
    .reservation-button, .request-button-no-package {
        padding: 14px 16px;
    }
}

.custom-gallery-main-image.image-blur img {
    filter: blur(5px);
}

.is_oos .elementor-element-203577f,
.is_oos .elementor-element-434d9cf,
.is_oos .elementor-element-ccc1621{
    display:none;
}


.custom-gallery-main-image.image-blur {
    position: relative;
    display: inline-block;
}
/*.custom-gallery-main-image .cta.d-none{*/
/*    display:none;*/
/*}*/

.custom-gallery-main-image.image-blur .image-overlay,
/*.custom-gallery-main-image .cta:not(.d-none) .image-overlay*/
.custom-gallery-main-image .image-overlay
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
}

.custom-gallery-main-image.image-blur .overlay-text {
    color: white;
    font-size: 16px;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    padding: 0 50px;
}
.custom-gallery-main-image .overlay-text,
.cta.overlay .overlay-text
{
    color: white;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    font-size: 28px;
    line-height: 33.6px;
    padding: 0 50px;
}

.custom-gallery-main-image.image-blur .button-group,
.custom-gallery-main-image .button-group,
.cta.overlay .button-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.custom-gallery-main-image.image-blur .main-gallery-wrapper-no-images {
    position: relative;
    display: inline-block;
}

.custom-gallery-main-image.image-blur .btn-contacts,
.custom-gallery-main-image .btn-call-now,
.cta.overlay .btn-call-now
{
    background-color: #F5F7FA;
    font-family: "Rethink Sans", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 16px;
    fill: #1D2430;
    color: #1D2430;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #DFE4EC;
    border-radius: 8px 8px 8px 8px;
    padding: 12px 16px 9px 16px;
}

.custom-gallery-main-image.image-blur .btn-contacts:hover,
.custom-gallery-main-image .btn-call-now:hover,
.cta.overlay .btn-call-now:hover
{
    background-color: #EBF0F4;
    border-color: #9EA7B5;
}

.custom-gallery-main-image.image-blur .btn-all-products,
.custom-gallery-main-image .btn-order-callback,
.cta.overlay .btn-order-callback
{
    background-color: #2DA736;
    font-family: "Rethink Sans", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 16px;
    fill: #FFFFFF;
    color: #FFFFFF;
    border:none;
    border-radius: 8px 8px 8px 8px;
    padding: 12px 16px 9px 16px;
}

.custom-gallery-main-image.image-blur .btn-all-products:hover,
.custom-gallery-main-image .btn-order-callback:hover,
.cta.overlay .btn-order-callback:hover{
    background-color: #25912E;
}


.cta.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}
