/*
 Theme Name:   Boxcar Child
 Theme URI:    https://themeforest.net/item/boxcar-automotive-car-dealer-wordpress-theme/49741717
 Description:  Boxcar Child Theme
 Author:       ApusTheme
 Author URI:   http://apusthemes.com
 Template:     boxcar
 Version:      1.0.0
 Text Domain:  boxcar-child
*/

a {
    color: #0070cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.price-tag {
	display: flex;
	align-items: center;
	gap: 0.35em;
	font-family: "Poppins", "Helvetica Neue", sans-serif;
	font-weight: 700;
	font-size: 2.2rem;
	color: #0a2342;
	line-height: 1.1;
}

.listing-detail-price .label {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.2em;
}

.kenteken-form {
  display: flex;
  flex-direction: column;   /* stack items vertically */
  align-items: flex-start;  /* keep left aligned, or use center if you want centered */
  gap: 0.75rem;             /* space between plate and button */
}


    .license-plate {
      display: flex;
      align-items: center;
      background: #f7c93c;
      border-radius: .625rem;
      overflow: hidden;
      border: 3px solid #222;
      width: 320px;
      height: 80px;
    }
    .license-plate__country {
      background: #003399;
      height: 100%;
      width: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .license-plate__svg {
      height: 70%;
      width: auto;
    }
.license-plate__input {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #f7c93c;
  border: 0;
  font-family: "kenteken", Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  outline: none;

  height: 100%;         /* make input stretch full height of plate */
  line-height: 80px;    /* matches .license-plate height so text centers vertically */
  padding: 0;           /* reset padding so it doesn’t shift */
}

    .kenteken-submit {
background-color: #191919;
    font-size: 15px;
    font-weight: 500;
    fill: #FFFFFF;
    color: #FFFFFF;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #191919;
    border-radius: 12px 12px 12px 12px;
    padding: 18px 25px 18px 25px;
      cursor: pointer;
  width: 100%;              /* full width under the plate */
  text-align: center;
}

.license-plate--small {
  width: 140px;        /* smaller width */
  height: 35px;        /* smaller height */
  border-width: 2px;
  border-radius: 6px;
}

.license-plate--small .license-plate__country {
  width: 25px;
}

.license-plate--small .license-plate__country {
  position: relative;
  background: #003399;
  height: 100%;
  width: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  box-sizing: border-box; /* ensures borders/padding don't shrink height */
  margin: 0;              /* kills any default spacing */
  padding: 0;             /* no padding inside */
  align-self: stretch;    /* key: fills the full height of the flex parent */
}

.license-plate--small .license-plate__country::after {
  content: "NL";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: #fff;
}


.license-plate--small .license-plate__svg {
  height: 60%;
}

.license-plate--small .license-plate__input {
  font-size: 1rem;
  line-height: 35px;
  letter-spacing: 1px;
}
.tradein-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: nowrap;
}

.tradein-plate {
  display: flex;
  align-items: center; /* align both NL + input properly */
  background: #f7c93c;
  border: 2px solid #111;
  border-radius: 8px;
  overflow: hidden;
  height: 52px;
  flex: 1;
}

.tradein-plate__country {
  background: #003399;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 100%;
  flex-shrink: 0;
}

.tradein-plate__input {
  flex: 1;
  border: none;
  outline: none;
  background: #f7c93c;
  color: #111;
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  text-align: center;

  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  box-sizing: border-box;
  padding: 0;
}

.tradein-plate__input::placeholder {
  color: rgba(17,17,17,0.5);
}

.tradein-submit {
  background: #0387C6;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  padding: 0 2rem;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s ease;
}

.tradein-submit:hover { background: #0794D8; }

@media (max-width: 768px) {
  .tradein-form {
    flex-direction: column;
    align-items: stretch;
  }

  .tradein-plate,
  .tradein-submit {
    width: 100%;
    height: 52px;
  }

  .tradein-plate {
    flex: unset;
  }

  .tradein-plate__input {
    font-size: 1.3rem;
  }
}

@media (min-width: 769px) {
  .tradein-plate__input {
    justify-content: flex-start;
    padding-left: 1.5rem;
    text-align: left;
  }
}


@media (max-width: 767px) {
  .listing-detail-detail .list .text {
    width: 55% !important;
  }
  .listing-detail-detail .list .value {
    width: 35% !important;
  }
}

.listing-detail-features .title-wrapper {
    font-weight: bold;
    margin-bottom: 5px;
}

.listing-detail-features .list-style {
    list-style: none;
    margin: 0;
    padding: 0;
}

.listing-detail-features .feature-item {
    padding: 3px 0;
    border-bottom: 1px dotted #e5e5e5;
}

.show-more-wrapper {
    text-align: left;
    margin-top: 25px;
}

.show-more-btn {
    background: none;
    border: none;
    color: #0070cc;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
}

.show-more-btn:hover {
    text-decoration: underline;
}

/* Collapse effect */
.feature-content {
    max-height: 300px;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.feature-content.expanded {
    max-height: 2000px; /* Large enough for all content */
}

.listing-detail-features .list-style {
    list-style: none;
    margin: 0;
    padding: 0;
    background: none;
}

.listing-detail-features .feature-item {
    position: relative;
    padding-left: 16px;
    margin-bottom: 4px;
    border-bottom: 1px dotted #e5e5e5;
    background: none;
}

.listing-detail-features .feature-item::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #0070cc; /* adjust color if needed */
    font-size: 14px;
    line-height: 1;
    background: none;
    vertical-align: middle;
}

.information-section-box {
  padding: 30px;
  background-color: #f9fbfc;
  border-radius: 15px;
  border: 1px solid #e1e1e1;
}

/* detail-location */
.listing-detail-location.boxcard {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.location-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.location-text {
    flex: 1 1 60%;
}

.location-heading {
    font-size: 22px;
    color: #002e6d;
    margin-bottom: 10px;
}

.contact-link, .route-link {
    color: #0070cc;
    font-weight: bold;
    text-decoration: none;
}

.contact-link:hover, .route-link:hover {
  color: #0070cc;
    text-decoration: underline;
}

.location-columns {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 15px;
}

.open-hours {
    border-collapse: collapse;
    font-size: 14px;
}

.open-hours td {
    padding: 2px 8px 2px 0;
    color: #222;
}

.open-hours .closed td {
    color: #999;
}

.location-map {
    flex: 1 1 35%;
    text-align: center;
}

.map-frame {
    background: #fff;
    padding: 8px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: inline-block;
    transform: rotate(-1deg);
    position: relative;
}

.single-listing-map {
    width: 100%;
    height: 220px;
    border-radius: 3px;
    overflow: hidden;
    background-color: #e5e5e5; /* fallback if no map */
}

.map-caption {
    display: block;
    margin-top: 5px;
    font-family: 'Comic Sans MS', cursive;
    font-size: 14px;
    color: #333;
}

/* detail-gallery */
.slick-thumbs { margin-top: 12px; }
.slick-thumbs .thumb-item { padding: 4px; }
.slick-thumbs img {
  width: 100%;
  border-radius: 6px;
  opacity: .6;
  cursor: pointer;
  transition: opacity .2s, transform .2s, box-shadow .2s;
}
.slick-thumbs .slick-current img,
.slick-thumbs .slick-slide:hover img {
  opacity: 1;
  transform: scale(1.03);
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

/* thumbnail bar styling */
.slider-nav {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-nav .slick-slide {
  padding: 0 5px; /* space between thumbs */
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.slider-nav img {
  width: 100%;
  border-radius: 6px;
  display: block;
  cursor: pointer;
  opacity: 0.5; /* default dimmed */
  filter: grayscale(40%);
  transition: opacity 0.25s ease, transform 0.25s ease, filter 0.25s ease;
}

/* Active or hovered thumb looks clean */
.slider-nav .slick-current img,
.slider-nav .slick-slide:hover img {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Arrows for main slider */
.listing-detail-gallery {
  position: relative;
  width: 100%;
}

.listing-detail-gallery .slick-carousel img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  object-fit: cover;
}

/* Thumbnails below */
.slick-thumbs {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.slick-thumbs .thumb-item img {
  width: 100%;
  border-radius: 6px;
  opacity: .6;
  transition: all 0.25s ease;
  cursor: pointer;
}
.slick-thumbs .slick-current img,
.slick-thumbs .slick-slide:hover img {
  opacity: 1;
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Arrows */
.slick-prev, .slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.slick-prev:hover, .slick-next:hover {
  background: rgba(0,0,0,0.65);
}
.slick-prev { left: 10px; }
.slick-next { right: 10px; }

/* Responsive thumbnails */
@media (max-width: 768px) {
  .slick-thumbs {
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }
  .slick-thumbs .thumb-item {
    flex: 0 0 auto;
    width: 80px;
  }
}

/* Two-column price layout */
.listing-detail-price .price-columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.listing-detail-price .price-col {
  flex: 1 1 45%;
}

.price-label {
  font-size: 16px;
  color: #0a2342;
  font-weight: 500;
  margin-bottom: 4px;
}

.price-tag {
  font-size: 1.8rem;
  font-weight: 700;
  color: #002e6d;
  line-height: 1.2;
}

.price-tag.maand {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.per-month {
  font-size: 1rem;
  color: #002e6d;
  font-weight: 500;
}

.saving-price {
  font-size: 0.9rem;
  color: #0070cc;
  margin-top: 6px;
}

.actieprijs {
  margin-top: 4px;
}

.actieprijs-label {
  font-size: 0.85rem;
  color: #0a2342;
}

.actieprijs-value {
  font-weight: 600;
  color: #0070cc;
}

.price-note {
  font-size: 0.8rem;
  color: #888;
  margin-top: 4px;
}

/* Responsive */
@media (max-width: 767px) {
  .listing-detail-price .price-columns {
    flex-direction: column;
    gap: 1rem;
  }

  .listing-detail-price .price-col {
    flex: 1 1 100%;
  }
}

.listing-detail-breadcrumbs a {
  font-size: 1rem;
  color: #555 !important;
}

.select2-selection__clear {
    display: none !important;
}

.prijzen-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 1.5rem;
    width: 100%;
}

.prijzen-header {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    background: #007cba;
    color: #fff;
    padding: 12px 16px;
    border-radius: 6px 6px 0 0;
}

.prijzen-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 12px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.prijzen-row:hover {
    background: #f7f9fb;
    border-color: #007cba;
}

.prijzen-title {
    font-weight: 500;
    color: #222;
}

.btn-view {
    background: #007cba;
    color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.btn-view:hover {
    background: #005f8d;
}

@media (max-width: 640px) {
    .prijzen-header {
        display: none;
    }

    .prijzen-row {
        gap: 6px;
        padding: 16px;
    }

    .btn-view {
        align-self: flex-end;
        font-size: 14px;
    }
}

.btn-theme.btn-afspraak {
  background-color: #0387C6;
  border-color: #0387C6;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 0;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 10px;
  transition: all 0.2s ease-in-out;
}

.btn-theme.btn-afspraak:hover {
  background-color: #0794D8;
  border-color: var(--e-global-color-245316b);
  color: #fff;
}

.btn-theme.btn-afspraak i {
  font-size: 16px;
}

@media (max-width: 767px) {
  .btn-theme.btn-afspraak {
    margin-top: 20px !important;
    background-color: #0387C6;
  	border-color: #0387C6;
  	color: #fff;
  }
  
  .btn-theme.btn-afspraak:hover {
  background-color: #0794D8;
  border-color: var(--e-global-color-245316b);
  color: #fff;
}
}

