/**
 * Theme Name:     Astra Child
 * Author:         Brainstorm Force
 * Template:       astra
 * Text Domain:	   astra-child
 * Description:    This theme is generated as astra child but specifically for mpvrentals
 * Theme URI:      https://bipu.dev
 * Author URI:     https://bipu.dev
 * Version:        1.0
 */

.top_banner {
	display: none;
}

.comments-area,
nav.post-navigation {
  display: none;
}

.top-banner-wrap > p {
  padding-bottom: 0;
  margin-bottom: 0;
}

.mobile-list{
	display: none !important;
}
.booking_button{
	margin-top: 20px;
}
/* Header banner */
.top_banner {
  padding: 20px 15px !important;
  position: relative;
  background-position: center center !important;
}

#home-page-search-from {
    min-height: 350px;
}
.top_banner h4,
.top_banner .banner-heading-wrapper {
  .title{
  	display: inline-block;
    margin-bottom: 0;
    color: #fff !important;
  }
  color: #000000;
  margin: 0;
  margin-bottom: 10px;
  text-align: left;
  font-size: 36px;
  font-weight: 600;
  font-family: 'Montserrat',sans-serif;
}
.top_banner .banner-heading-wrapper{
  /* max-width: 70%; */
}
.secondban .list_block1 {
  text-align: center;
  ul {
  color: white;
  padding: 0;
  display: flex;
  margin: 0;
  flex-wrap: wrap;
  justify-content: start;
  /* max-width: 50%; */
  gap: 10px;
  row-gap: 2px;
  
  
  
  li {
    padding: 0 0;
    font-weight: 500;
    font-size: 18px;
    list-style: none;
    &::before {
      content: '✓';
      color: #fff;
      margin-right: 10px;
    }
  }
}
}
.top_banner .booking_button a {
  text-decoration: none;
  padding: 8px 15px;
  font-size: 20px;
  font-weight: 600;
  border-radius: 4px;
  display: inline-block;
  text-align: center;
  border: 3px solid white;
  background: #1fdb85;
  color: #000000 !important;
  border-color: #1fdb85;
  /* font-family: "Roboto", Arial, Helvetica, sans-serif !important; */
}

/* Cars card */
.cars_wrapper {
  padding: 40px 0;
  background: #f1f3f4;
}

.cars_wrap .car-wrap-inner {
  display: flex;
  justify-content: start;
  align-items: stretch;
  gap: 20px;
  flex-wrap: wrap;
}
.cars_item {
    padding: 12px;
    background: #fff;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.1);
    border-radius: 5px;
    flex: 1 1 auto;
    width: 20%;
    /* min-width: 20%; */
}

.car_location_wrap {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #757575;
  line-height: 12px;
  margin-bottom: 10px;
  display: none;
}
.car_features > div {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.car_features > div svg,
.car_features > div img {
  width: 30px;
  height: 30px;
}
.car_title h2 {
  line-height: 20px;
  padding-bottom: 0 !important;
  padding-top: 0 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.car_title {
  line-height: 10px;
  margin-bottom: 10px;
}

.car_title p {
  font-size: 14px !important;
  line-height: 18px !important;
}
.car_image_wrap {
  text-align: center;
  padding: 10px 0;
}
.car_features {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  line-height: 0;
  flex-wrap: wrap;
  color: #70a300;
  margin-bottom: 20px;
  margin-top: 5px;
}
.car_features p {
  padding: 0;
  line-height: initial !important;
  color: #70a300;
}
.car_price_wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.car_price_wrap h3 {
  padding: 0 !important;
}

.car_price_wrap > div {
  line-height: 20px;
}
.car_button_wrap .view_details {
  display: inline-block;
  width: 100%;
  background: #70a300;
  color: white;
  text-decoration: none;
  text-align: center;
  border-radius: 4px;
  padding: 10px 0;
  cursor: pointer;
  border: none;
}

.car_button_wrap .view_details:hover {
  background: #689701;
}
.car_button_wrap {
  margin-top: 15px;
}
.car_price_wrap > div:last-child {
  text-align: right;
}

.feature_tooltip {
  position: absolute;
  background: white;
  border: 1px solid #e5dddd;
  overflow: hidden;
  min-width: 66px;
  top: -50px;
  left: 0;
  line-height: 20px;
  padding: 8px;
  border-radius: 7px;
  z-index: 10;
  text-align: center;
  display: none;
}

.car_features > div:hover .feature_tooltip {
  display: block;
}

.car_image_wrap img {
  max-width: 160px;
}

.car_price_wrap > div:last-child {
  width: 40%;
}

.car_price_wrap > div:first-child {
  width: 60%;
}

.car_price_wrap > div:first-child p {
  line-height: 20px !important;
}
.cars_loaidng {
  text-align: center;
}
.no_cars {
  text-align: center;
  display: none;
}

.car_1_c_2nd_row_wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding-top: 10px;
  flex-wrap: wrap;
}

.car_1_c_col {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  line-height: 28px;
}
.car_1_c_1st_row_wrap {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 25px;
}

.car_1_c_1st_row_wrap {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 25px;
}

.car_1_c_1st_row_wrap > div:first-child {
  width: 30%;
}

.car_1_c_1st_row_wrap > div:last-child {
  width: 70%;
}
.signle_car_features {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 15px;
  line-height: 0;
  flex-wrap: wrap;
  color: #70a300;
  margin-bottom: 20px;
  margin-top: 5px;
}
.signle_car_features img {
  max-width: 36px;
  height: 36px;
}
.signle_car_features > div {
  display: flex;
  justify-content: center;
  align-items: center;
}
.signle_car_features p {
  padding-bottom: 0 !important;
}
.car_1_c_title {
  padding: 0 !important;
}
.car_payment_btn_wrap button {
  background: lightblue;
  border: 0;
  padding: 8px 30px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  color: #47659c;
}

.car_payment_btn_wrap button:hover {
  background: #97dbf1;
}

.car_1_column_wrap {
  background: #fafbfc;
  padding: 15px;
  border-radius: 3px;
}

.car_1_row_1 {
  border-bottom: 2px solid #ddd;
  padding-bottom: 10px;
}

.car_1_c_col div span:first-child {
  display: block;
  font-weight: 600;
}

.car_1_c_col div span:last-child {
  font-size: 22px;
  font-weight: 300;
  color: #606b7c !important;
}
.car_1_c_2nd_row_wrap svg {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  color: #70a300;
}

.partner-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 70%;
    
    .partner-logo {
      display: flex;
      gap: 8px;
      justify-content: flex-end;
      img{
        max-width: 100px;
      }
    }
}


@media (max-width: 768px) {
  .cars_wrap#main_wrapp {
    width: 100% !important;
  }
  .cars_item {
    width: 50%;
  }
  .car_1_c_1st_row_wrap {
    flex-direction: column;
    align-items: stretch;
  }
  .car_1_c_1st_row_wrap > div:first-child {
    text-align: center;
  }
  .car_1_c_1st_row_wrap > div {
    width: 100% !important;
  }
  .car_1_c_1st_row_wrap > div:first-child img {
    width: 60%;
  }
  .signle_car_features {
    column-gap: 8px;
    row-gap: 2px;
  }
  .signle_car_features img {
    max-width: 24px;
    height: 24px;
  }
  .signle_car_features p {
    padding-bottom: 0 !important;
    font-size: 14px !important;
  }
  .car_1_row_1 {
    padding-bottom: 20px;
  }
  .car_1_c_col {
    justify-content: start;
  }
  .car_1_c_2nd_row_wrap > div {
    flex: 1 1 auto;
  }
  .car_1_c_2nd_row_wrap > div {
    flex: 1 1 auto;
  }
}

@media (max-width: 576px) {
  .cars_wrap#main_wrapp {
    width: 100% !important;
  }
  .cars_item {
    width: 100%;
  }
}

/* mobile responsive */

@media (max-width: 1024px) {
  .top_banner {
    padding: 50px !important;
  }
}

@media (max-width: 768px) {
  .top_banner .banner-heading-wrapper{
    max-width: 100%;
  }
  .secondban .list_block1 ul {
    /* max-width: 75%; */
  }
  .top_banner {
    padding: 20px !important;
  }
}

@media (max-width: 576px) {
  .top_banner {
    padding: 50px 30px !important;
    position: relative;
    background-position: center center !important;
    background-position: 50% 44% !important;
  }
  .top_banner .banner-heading-wrapper {
    font-size: 20px !important;
  .title{
  	display: inline;
    margin-bottom: 0;
    font-size: 20px !important;
   }
  }
  .secondban .list_block1 ul {
    max-width: 100%;
  }
  .booking_button a {
    padding: 8px 15px;
    font-size: 20px;
  }
  .mobile-list{
	display: flex !important;
   }
  .list_block1 .dask-list{
  	display: none !important;
  }
  .list_block1{
  	margin: 20px 0px;
    text-align: center;
    display: none;
  }
  .top_banner .booking_button a{
  	padding: 5px 15px;
    font-size: 18px;
  }
}
.top_banner {
	display: block;
	background: #1e293b;
}

.entry-header .entry-meta{
	display: none;
}

.rental-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.rental-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e5e5;
}

/* Skeleton Animation */
@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.skeleton {
    animation: pulse 1.5s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

.skeleton-text {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 8px;
}

.skeleton-title {
    height: 20px;
    width: 80px;
    margin-bottom: 12px;
}

.skeleton-subtitle {
    height: 16px;
    width: 120px;
    margin-bottom: 20px;
}

.car-image-container {
    text-align: center;
    margin-bottom: 20px;
}

.skeleton-car-image {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
    height: 120px;
    width: 200px;
    border-radius: 8px;
    margin: 0 auto;
}

.features-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 8px;
}

.skeleton-feature {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.pricing-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
}

.skeleton-company {
    height: 16px;
    width: 100px;
}

.skeleton-price {
    height: 24px;
    width: 50px;
}

.skeleton-per-day {
    height: 14px;
    width: 60px;
}

.skeleton-button {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
    height: 45px;
    width: 100%;
    border-radius: 8px;
}



.banner-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    flex-direction: column;
}
.banner-2nd-col {
    width: 70%;
}


/* Responsive Design */
@media (max-width: 768px) {
    .rental-cards-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .rental-card {
        padding: 20px;
    }
    
    .skeleton-car-image {
        width: 180px;
        height: 100px;
    }
    
    .features-container {
        gap: 6px;
    }
    
    .skeleton-feature {
        width: 35px;
        height: 35px;
    }
    .banner-2nd-col{
      width: 70%;
    }
}

@media (max-width: 480px) {
    .rental-card {
        padding: 16px;
    }
    
    .skeleton-car-image {
        width: 160px;
        height: 90px;
    }
    
    .skeleton-feature {
        width: 30px;
        height: 30px;
    }
    .banner-row{
      flex-direction: column
    }
    .banner-2nd-col{
      width: 100%
    }
}

/*
.mpv_booking_button {
    font-size: 18px;
    color: #fff!important;
    text-transform: uppercase;
    letter-spacing: 0.55px;
    background: linear-gradient(135deg, #1EDB85 0%, #17b96f 100%);
    border: none;
    padding: 13px 20px;
    text-decoration: none !important;
} */

