.gallery-container {
  width: 100%;
}

.main-image {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  margin-bottom: 15px;
}

.thumbs-wrapper {
  position: relative;
}

.thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.thumbs::-webkit-scrollbar { display: none; }

.thumbs img {
  flex: 0 0 auto;
  width: 100px;
  height: 70px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.thumbs img:hover {
  transform: scale(1.05);
  opacity: 0.8;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.8);
  color: white;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 8px;
  font-size: 18px;
  z-index: 2;
  opacity: 0.8;
  transition: opacity 0.3s;
}
.arrow:hover { opacity: 1; }
.arrow.hidden { display: none; }

.arrow.left { left: 5px; }
.arrow.right { right: 5px; }

@media (max-width: 1860px) {
    .thumbs img {
        width: 20%;
    }
}

@media (max-width: 1368px) {
    .thumbs img {
        width: 26%;
    }
}

.thumbs img:hover {
  transform: scale(1.05);
  opacity: 0.8;
}

.result_wrap {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    box-sizing: border-box;
    padding-bottom: 30px;
}
.result_main {
    width: 65%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
}
.result_calculation {
    width: 35%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    box-sizing: border-box;
}
.result_auction {
    width: 25%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    box-sizing: border-box;
}
.result_calculation_prices {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
    border-radius: 5px;
    background: #212130;
    padding: 25px;
    box-sizing: border-box;
}
.result_block_title_wrap {
    margin: -25px -25px 25px -25px;
    padding: 25px;
    width: calc(100% + 50px);
    border-bottom: 2px solid #171622;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.result_block_title {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 0;
    line-height: 29px;
    color: #fff;
}
.result_block_title i {
    margin-right: 8px;
}
.result_calculation_finish {
    margin: 0px -25px -25px -25px;
    padding: 25px;
    width: calc(100% + 50px);
    border-top: 2px solid #171622;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.result_calculation_finish b {
    color: #bcc8d9;
    font-size: 18px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.result_calculation_finish span {
    color: #8db5da;
    font-size: 22px;
    font-weight: bold;
}
.result_calculation_el {
    width: 100%;
    border-bottom: 1px solid #171622;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.result_last_el {
    padding-bottom: 20px;
    margin-bottom: 0;
    border-bottom: none;
}
.result_calculation_el b {
    font-weight: normal;
    color: #bcc8d9;
    font-size: 16px;
    width: 60%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.result_calculation_el span {
    color: #8db5da;
    font-size: 18px;
    font-weight: bold;
    width: 40%;
    display: flex;
    justify-content: flex-end;
}
.result_calculation_el_detail {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-start;
    width: 100%;
    gap: 6px;
}
.result_calculation_el_detail_li {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    color: #95a6b7;
    font-size: 13px;
    padding: 0 3px;
    border-radius: 2px;
    border: 1px solid #95a6b7;
}
.result_calculation_el_detail_li i {
    font-style: normal;
    margin-right: 4px;
}
.info-icon {
    font-size: 14px;
    margin-right: 4px;
    color: #3498db;
    cursor: pointer;
    position: relative;
}

.custom-tooltip {
    position: absolute;
    bottom: 125%;
    left: 0%;
    transform: translateX(0%);
    display: none;
    z-index: 1000;
    max-width: 300px; 
    text-align: left;
}

.custom-tooltip-inner {
    background: rgba(23, 22, 34, .8);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    white-space: normal;    
    word-wrap: break-word;  
    display: block;        
}

.custom-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px;
    border-style: solid;
    border-color: #3498db transparent transparent transparent;
}
.zoom-lens {
    position: absolute;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 260px;
    height: 260px;
    cursor: crosshair;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: 200%;
    display: none;
    z-index: 9999;
}
.result_auction_about {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
    border-radius: 5px;
    background: #212130;
    padding: 25px;
    box-sizing: border-box;
}
.result_about_el {
    width: 100%;
    border-bottom: 1px solid #171622;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    margin-bottom: 14px;
}
.result_about_el_top {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.result_about_el b {
    font-weight: normal;
    color: #95a6b7;
    font-size: 15px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.result_about_el span {
    color: #95a6b7;
    font-size: 15px;
    text-align: right;
}
.result_about_el span b {
    font-weight: bold !important;
    display: inline !important;
}
.result_about_last_el {
    margin-bottom: 0;
    border-bottom: none;
}

.result_about_el {
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.hidden_el {
    max-height: 0;
    opacity: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
}
.result_more_button {
    background: #171622;
    width: 100%;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    border-radius: 6px;
    color: #fff;
    transition: all .3s;
    margin: 5px 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: none;
    outline: none;
    border: none;
    letter-spacing: 1px;
}
.result_more_button:hover {
    opacity: .8;
    transition: all .3s;
}
.auction_about_title {
    font-size: 18px;
    color: #fff;
    margin-bottom: 20px;
}
.result_about_el img {
    height: 30px;
    width: auto;
}
.about_copy {
    color: #8db5da !important;
    cursor: pointer;
    letter-spacing: 1px;
}
.seller_mark_success {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: #60e099;
    padding: 6px 8px;
    border-radius: 5px;
    background: rgba(22, 173, 89, .25);
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    letter-spacing: .5px;
}
.start_code_success {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: #60e099;
    padding: 6px 8px;
    border-radius: 5px;
    background: rgba(22, 173, 89, .25);
    font-size: 16px;
    cursor: pointer;
}
.seller_mark_danger {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: #f2cfd0;
    padding: 6px 8px;
    border-radius: 5px;
    background: rgba(147, 55, 58, .1);
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    letter-spacing: .5px;
}
.seller_mark_success i {
    margin-right: 8px;
    font-size: 20px;
}
.seller_mark_danger i {
    margin-right: 8px;
    font-size: 20px;
    color: #ff9494;
}
.seller_mark_success img, .start_code_success img {
    height: 20px;
    width: auto;
    margin-right: 8px;
}

.start_code_danger {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: #FDBF00;
    padding: 6px 8px;
    border-radius: 5px;
    background: rgba(253, 191, 0, .1);
    font-size: 16px;
    cursor: pointer;
}
.start_code_success img, .start_code_danger img {
    height: 20px;
    width: auto;
    margin-right: 8px;
}

.auction_bids {
    margin: 15px -25px -25px -25px;
    padding: 25px;
    width: calc(100% + 50px);
    border-top: 2px solid #171622;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.auction_bids_el {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 50%;
}
.auction_bids_el_title {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    color: #bcc8d9;
    font-size: 16px;
}
.auction_bids_el_bid {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    color: #60e099;
    font-size: 20px;
    font-weight: bold;
}
.auction_bids_el_buy {
    display: flex;
    justify-content: flex-end;
    width: 50%;
    align-items: flex-start;
    flex-wrap: wrap;
}
.auction_bids_el_buy_title {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    align-items: flex-start;
    color: #bcc8d9;
    font-size: 16px;
}
.auction_bids_el_buy_bid {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    align-items: flex-start;
    color: #60e099;
    font-size: 20px;
    font-weight: bold;
}
.result_left {
    width: 75%;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}
#show_all_about {
    display: none;
}
@media (max-width: 1758px) {
    .result_wrap {
        flex-wrap: wrap;
        align-items: flex-start;
    }
    .result_left {
        width: 60%;
        flex-wrap: wrap;
    }
    .result_main {
        width: 100%;
    }
    .result_calculation {
        width: 100%;
    }
    .result_auction {
        width: 36%;
    }
}
@media (max-width: 1258px) {
    .result_wrap {
        flex-wrap: wrap;
        align-items: flex-start;
    }
    .result_left {
        width: 100%;
        flex-wrap: wrap;
    }
    .result_main {
        width: 100%;
        order: 1;
    }
    .result_calculation {
        width: 100%;
        order: 3;
    }
    .result_auction {
        width: 100%;
        order: 2;
    }
    #show_all_about {
        display: flex;
    }
    .mobi_hide {
        display: none;
    }
}
@media (max-width: 768px) {
    .gallery-container {
        padding: 0 15px;
    }
    .result_auction_about, .result_calculation_prices {
        border-radius: 0;
    }
}
.result_save_btn {
    background: rgb(98, 126, 234);
    padding: 4px 8px;
    text-align: center;
    font-size: 14px;
    border-radius: 6px;
    color: #fff;
    transition: all .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: none;
    outline: none;
    border: none;
    letter-spacing: 1px;
}
.result_save_btn:hover {
    opacity: .8;
    transition: all .3s;
}
#damage_detect {
    display: none;
}
#main_bid_wrap {
    display: none;
}
.result_enter_bid {
    width: 100%;
}
.result_enter_bid_field {
    width: 100%;
}
.result_enter_bid_button {
    margin-top: 20px;
}

.result_last_sales_el {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-sizing: border-box;
    border-bottom: 1px solid #171622;
    padding-bottom: 20px;
    margin-bottom: 20px;

}
.result_last_sales_el:last-child {
    border: none;
    padding: 0;
    margin-bottom: 0;
}
.result_last_sales_el_img {
    width: 48%;
}
.result_last_sales_el_img img {
    width: 100%;
    height: auto;
}
.result_last_sales_el_info {
    width: 50%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
}
.result_last_sales_el_info_el {
    width: 100%;
    justify-content: space-between;
    align-items: center;
    color: #95a6b7;
}
.get_report {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}
.report_fox_btn, .get_ua_prices {
    background: #333384;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    border-radius: 6px;
    color: #fff;
    transition: all .3s;
    margin: 5px 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: none;
    outline: none;
    border: none;
    letter-spacing: 1px;
    box-shadow: 0px 0px 16px -8px rgba(199,199,237,0.55);
    -moz-box-shadow: 0px 0px 16px -8px rgba(199,199,237,0.55);
    -webkit-box-shadow: 0px 0px 16px -8px rgba(199, 199, 237, 0.55);
}
.report_fox_btn:hover, .get_ua_prices:hover {
    opacity: .8;
    transition: all .3s;
}
.report_fox_btn img, .get_ua_prices img {
    height: 24px;
    width: auto;
}
.carfox-ready-msg {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: flex-start;
    margin-bottom:3px;
    color:#28a745;
    font-weight:600;
}
#prices_ua {
    display: none;
}
.result_prices_ua {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
}
.result_prices_ua_el {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    border-bottom: 1px solid #171622;
    margin-bottom: 20px;
    padding-bottom: 14px;
}
.result_prices_ua_el:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}
.result_prices_ua_img {
    width: 100%;
    margin-bottom: 12px;
}
.result_prices_ua_img img {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
}
.result_prices_ua_detail {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
}
.result_prices_ua_title {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    font-size: 16px;
    color: #95a6b7;
    margin-bottom: 2px;
    padding-bottom: 0;
}
.result_prices_ua_title a {
    font-size: 18px;
}
.result_prices_ua_title span {
    margin: 0 10px;
    color: #95a6b7;
    font-size: 25px;
}
.result_prices_ua_mod {
    display: block;
    width: 100%;
}
.result_prices_ua_price {
    color: #3c9806;
    font-weight: bold;
    font-size: 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.result_prices_ua_price span {
    margin: 0 10px;
    color: #95a6b7;
    font-size: 25px;
}
.result_prices_ua_price i {
    font-style: normal;
    color: #95a6b7;
    font-size: 14px !important;
    font-weight: normal;
}
.share_calculation {
    background: #171622;
    width: 80%;
    margin: 30px auto;
}
.share_calculation .auction_about_title a {
    color: #fff;
}

@media (max-width: 1188px) {
    .share_calculation {
        width: 98%;
    }
}