/* My Classics */
.mc-edit-icon {width: 32px; height: 32px; border: 1px solid #fff; border-radius: 50%;}

.hide-on-mobile {display: none;}
.show-on-mobile {display: block;}
.vehicle_link {margin-top: 20px;}
.myclassics-button {background: #0277e5; margin-top: 5px;}

.vehicle-contact-form {margin-top: 0px;}
.vehicle_location::before {
	display: inline-flex;
     content: '';
  background-size: 11px 16px;
   height: 16px;
   width: 11px;
	margin-right: 7px;
     background-image: url('https://bridgeclassiccars.co.uk/wp-content/themes/bridge-classiccars/img/marker-blue.svg');
	vertical-align: -5%;
}
.vehicle_previous {margin-bottom: 25px;}
.vehicle_previous a {color: #0277e5; font-weight: 600;}
.vehicle_previous::before {
	display: inline-flex;
     content: '';
  background-size: 9px 14px;
   height: 14px;
   width: 9px;
	margin-right: 7px;
     background-image: url('https://bridgeclassiccars.co.uk/wp-content/themes/bridge-classiccars/img/prev-icon-blue.svg');
	vertical-align: -7%;
}

.vehicle_days {font-size: 0.9em; margin-top: 5px;}

.myclassics-listing, .myclassics-single {margin-bottom: 35px;}
.myclassics-listing label {margin-bottom: 5px;}
.form-par {max-width: 800px; text-align: center; margin: 0 auto 25px auto;}
.myclassics-listing .vehicle-title, .account-panel .vehicle-title {color: #000; padding-top: 20px; font-size: 1.3em; font-weight: 600; line-height: 1.35em; margin-bottom: 5px; text-transform: none;}
.myclassics-listing .vehicle_location {font-size: 0.8em; color: #000; margin-top: 10px;}
.myclassics-listing .vehicle_price, .account-panel .vehicle_price {color: #0277e5; font-weight: 600; font-size: 1.1em;}

.myclassics-single .responsive-flex { justify-content: space-between; gap: 0; }
.myclassics-single h1 {text-transform: none; font-weight: 700; margin-bottom: 10px;}
.myclassics-single .vehicle-title {color: #000; font-size: 1.5em; font-weight: 700; line-height: 1.35em; margin-bottom: 5px; text-transform: none;}
.myclassics-single .vehicle_location {font-size: 1em; color: #000;}
.myclassics-single .vehicle_price {color: #000; font-weight: 700; font-size: 1.75em; margin-top: 0;}

.myclassics-single .vehicle_description {margin-top: 25px; line-height: 1.6em;}
.myclassics-single .vehicle_description ul {padding-inline-start: 16px;}
.myclassics-single .vehicle_description li {padding-left: 6px;}

.myclassics-single {margin-bottom: 50px;}
.myclassics-single a {color: #0277e5; font-weight: 600;}

.myclassics-single .vehicle-slider-main .swiper-button-next, .myclassics-single .vehicle-slider-main .swiper-button-prev { opacity: 0.7;}
.thumbnail-slider-wrapper {display: none;}
.myclassics-single .vehicle-slider-thumbs {margin-top: 10px;}
.myclassics-single .vehicle-slider-thumbs .swiper-slide {width: auto; cursor: pointer;}
.myclassics-single .slide-img-wrapper {position: relative; width: 100%; padding-top: 65%; /* 16:9 raio, 75% for 4:3 ratio */ overflow: hidden; background: #f0f0f0; }
.myclassics-single .slide-img-wrapper img {position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; object-fit: cover; transform: translate(-50%, -50%);}

.myclassics-single .thumb-prev, .myclassics-single .thumb-next {z-index: 10;  background: #fff; color: #000; display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 0; padding: 20px 5px;}
.myclassics-single .thumb-prev {left: 0;}
.myclassics-single .thumb-next {right: 0;}
.myclassics-single .thumb-img-wrapper {position: relative; width: 100%; padding-top: 85%; overflow: hidden; background: #f0f0f0; /* Optional background */}
.myclassics-single .thumb-img-wrapper img {position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; object-fit: cover; transform: translate(-50%, -50%);}

.myclassics-header {background: #d4e0f2; display: flex; flex-wrap: wrap; justify-content: center; padding: 35px 25px; gap: 15px;}
.myclassics-header img {width: 100%; height: auto; max-width: 370px; align-self: center;}
.myclassics-header h1, .myclassics-header h2 {text-align: center; align-self: center; margin-bottom: 0; font-size: 1.7em; margin-bottom: 0;}
@media (min-width: 768px) {
	.myclassics-header {padding: 65px 25px; gap: 30px;}
	.myclassics-header h1, .myclassics-header h2 {font-size: 2.2em;}
}

.sold-tag {display: inline-block; background: #dd0000; color: #fff; font-weight: 800; font-size: 1.2em; padding: 5px 11px; margin-bottom: 10px;}

/* Contact form */
.vehicle-contact-form form {background: #fff; padding: 35px 25px; border-radius: 16px; box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08); margin: auto;}
.vehicle-contact-form h3 {margin-bottom: 20px; text-align: center;}
.vehicle-contact-form label {font-weight: 500; display: block; margin-bottom: 6px;}
.vehicle-contact-form input[type="text"],
.vehicle-contact-form input[type="email"],
.vehicle-contact-form input[type="tel"],
.vehicle-contact-form textarea {width: 100%; padding: 12px 14px; margin-bottom: 20px; border: 1px solid #ccc; border-radius: 5px; font-size: 1em; transition: all 0.3s ease; box-sizing: border-box;}
.vehicle-contact-form input:focus, .vehicle-contact-form textarea:focus {border-color: #0073aa; outline: none; box-shadow: 0 0 0 3px rgba(2, 119, 229, 0.2);}
.vehicle-contact-form textarea {resize: vertical;}
.vehicle-contact-form .required {color: #d33; font-weight: bold;}
.vehicle-contact-form input[type="submit"] {background: #0277e5 !important; color: #fff; padding: 12px 25px; border: none; border-radius: 50px; font-size: 1em; cursor: pointer; transition: background 0.3s ease; display: inline-block;}

.notice.success {background: #e6ffed; color: #2e7d32; padding: 15px; border-left: 6px solid #28a745; border-radius: 8px; margin-bottom: 20px;}

/* Number Plates */
.numplate-pretitle {margin: 12px 0 3px 0; color: #000;}
.numplate {background-color: #000; height: 250px; display: flex; justify-content: space-around; align-items: center; position: relative;} 
.numplate-wrapper {vertical-align: middle; text-align: center;}
.numplate-info {display: flex;}
.plate{white-space:nowrap}
.plate,.plate-inner{position:relative;}
.plate-inner {display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;font-size:2.4em;font-weight:700;line-height:1em;text-align:center;text-transform:uppercase;text-rendering:optimizeLegibility;font-kerning:auto;color:#000;width:100%;height:100%;border-radius:.25em;background:#FDD505; box-shadow: 3px 3px 0px 0px rgba(255,255,255,0.4) inset; -webkit-box-shadow: 3px 3px 0px 0px rgba(255,255,255,0.4) inset; -moz-box-shadow: 3px 3px 0px 0px rgba(255,255,255,0.4) inset; padding: 8px 25px;}
.plate:before{left:.6em}
.plate:after{right:.6em}
.reg-title {font-size:2.1em; font-weight: 600;}
.myclassics-listing .numplate-title {color: #000; font-size: 2.2em; font-weight: 800; line-height: 1.35em; margin-bottom: 5px; text-transform: none;}

.myclassics-single .numplate {height: 250px;}
.myclassics-single .plate-inner {font-size: 2.4em; padding: 5px 25px;}

@media screen and (min-width: 768px) {
.myclassics-single .numplate {height: 450px;}
.myclassics-single .plate-inner {font-size: 4.4em; padding: 10px 35px;}
}

/* Responsive */
@media (min-width: 768px) {
.vehicle-contact-form {margin-top: 30px;}
.vehicle_previous {margin-bottom: 0;}
.myclassics-single .vehicle_price {margin-top: 15px;}
.hide-on-mobile {display: block;}
.show-on-mobile {display: none;}
.myclassics-single .thumbnail-slider-wrapper {position: relative; margin-top: 10px;padding: 0 30px; display: block;}
.myclassics-single .vehicle-slider-main .swiper-button-next, .myclassics-single .vehicle-slider-main .swiper-button-prev { opacity: 0; transition: opacity 0.3s ease; pointer-events: none;}
.myclassics-single .vehicle-slider-main:hover .swiper-button-next, .myclassics-single .vehicle-slider-main:hover .swiper-button-prev {opacity: 0.85; pointer-events: all;}
.vehicle-contact-form form {padding: 45px;}
}

.myclassics-listing .vehicle-slider-wrapper {position: relative; height: 300px; overflow: hidden;}
.myclassics-listing .post-image {width: 100%; height: 100%; background-size: cover; background-position: center; position: absolute; top: 0; left: 0; z-index: 1; transition: opacity 0.3s ease;}
.myclassics-listing .vehicle-slider {position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; opacity: 0; transition: opacity 0.3s ease;}
.myclassics-listing .vehicle-slider-wrapper:hover .vehicle-slider {opacity: 1;}
.myclassics-listing .vehicle-slider-wrapper:hover .post-image {opacity: 0;}
.myclassics-listing .vehicle-slider .swiper-slide img {width: 100%; height: 100%; object-fit: cover;}	
.myclassics-listing .swiper-button-prev, .myclassics-listing .swiper-button-next {color: #fff; width: 20px; height: 20px; font-size: 18px; background: rgba(0, 0, 0, 0.5); border-radius: 50%; padding: 16px;}
.myclassics-listing .swiper-button-prev::after, .myclassics-listing .swiper-button-next::after { font-size: 16px;}

@media (hover: none) and (pointer: coarse) {
	.vehicle-slider {opacity: 1 !important;}
    .post-image {opacity: 0 !important;}
}
@media (max-width: 600px) {
    .swiper-button-prev, .swiper-button-next {display: none;}
}
	
.myclassics-single .swiper-button-prev, .myclassics-single .swiper-button-next {color: #000; width: 22px; height: 22px; font-size: 14px !important; background: rgba(255, 255, 255, 0.9); border-radius: 50%; padding: 20px;}
.myclassics-single .swiper-button-prev:hover, .myclassics-single .swiper-button-next:hover {background: rgba(255, 255, 255, 1);}
.myclassics-single .swiper-button-prev:after, .myclassics-single .swiper-button-next:after {font-size: 14px !important;}	
.myclassics-single .glightbox-clean .gclose {font-size: 28px !important; width: 46px; height: 46px; top: 10px; right: 10px; background-color: rgba(0,0,0,0.9);}
.myclassics-single .glightbox-clean .gclose svg {width: 100%; height: 100%; color: #fff;}

.mc-edit-icon {width: 32px; height: 32px; border: 1px solid #fff; border-radius: 50%;}
	

.bridge-modal {
  display: none; /* hidden by default */
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.bridge-modal-inner {
  background: #fff;
  padding: 20px 30px;
  max-width: 400px;
  width: 90%;
  border-radius: 8px;
  text-align: center;
}

.bridge-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  color: #000;
}

/* Terms & Conditions */
.mc-terms-box {font-size: 0.85em; line-height: 1.3em; padding: 30px 0; margin-top: 50px; border-top:1px dotted #d4e0f2;}
.mc-terms-notice {background: #0277E5; color: #fff; padding: 5px 11px; font-weight: 600; display: inline-block;}
.mc-terms-box a {color: #0277E5;}
.mc-terms {margin-top: 10px;}