/* === Plate Builder Pro Styles === */

/* === General Layout === */
#plateBuilderContainer {
  max-width: 800px;
  margin: 40px auto;
  padding: 25px;
  background: #fafafa;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  font-family: 'Poppins', sans-serif;
}

/* === Title === */
#plateBuilderContainer h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: #222;
  letter-spacing: 0.5px;
}

/* === Control Section === */
#plateControls {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 25px;
}

.pbp-control {
  flex: 1 1 45%;
  min-width: 220px;
}

#plateControls label {
  font-weight: 600;
  color: #333;
  display: block;
  margin-bottom: 6px;
}

#plateControls input,
#plateControls select {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  box-sizing: border-box;
  transition: 0.2s;
}

#plateControls input:focus,
#plateControls select:focus {
  border-color: #0073aa;
  outline: none;
}

/* === Preview Area === */
#platePreviewWrapper {
  text-align: center;
  margin: 25px auto;
}

#platePreview {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 4px;
  border: 3px solid #333;
  margin: 0 auto;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

/* Default Plate Dimensions */
#platePreview {
  width: 520px;
  height: 110px;
  font-size: 2.2rem;
  background: #fff;
  color: #000;
}

/* === Plate Sizes === */
#platePreview.standard {
  width: 520px;
  height: 110px;
  font-size: 2.2rem;
}

#platePreview.square {
  width: 275px;
  height: 200px;
  font-size: 2.4rem;
}

#platePreview.moto {
  width: 210px;
  height: 150px;
  font-size: 2rem;
}

/* === Color Variations === */
#platePreview.white {
  background: #fff;
  color: #000;
}

#platePreview.yellow {
  background: #ffd700;
  color: #000;
}

#platePreview.black {
  background: #000;
  color: #ffd700;
}

/* === Price & Button Section === */
.pbp-actions {
  text-align: center;
  margin-top: 15px;
}

#platePrice {
  display: inline-block;
  margin-bottom: 12px;
  font-weight: 700;
  color: #000;
  font-size: 1.3rem;
}

/* === Download Button === */
#downloadPlate {
  display: inline-block;
  background: #0073aa;
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: 0.3s;
}

#downloadPlate:hover {
  background: #005f87;
}

/* === Responsive Design === */
@media (max-width: 768px) {
  #plateControls {
    flex-direction: column;
  }

  #platePreview {
    width: 100%;
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  #plateBuilderContainer {
    padding: 15px;
  }

  #platePreview {
    width: 95%;
    font-size: 1.5rem;
  }

  #downloadPlate {
    width: 100%;
  }
}

}
.pbp-car-listings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.pbp-car-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 15px;
  text-align: center;
  transition: 0.3s;
}
.pbp-car-card:hover {
  transform: translateY(-4px);
}
.pbp-car-card img {
  width: 100%;
  border-radius: 10px;
}
.pbp-car-card h3 {
  margin: 10px 0;
}
.pbp-car-card ul {
  list-style: none;
  padding: 0;
  font-size: 14px;
}
.pbp-car-card li {
  margin: 4px 0;
}
.pbp-btn {
  display: inline-block;
  background: #0073aa;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 10px;
}
.pbp-btn:hover {
  background: #005b88;
}
.pbp-single-car {
  max-width: 1000px;
  margin: 40px auto;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.pbp-single-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.pbp-single-img {
  flex: 1 1 400px;
  border-radius: 10px;
  width: 100%;
}
.pbp-single-info {
  flex: 1 1 400px;
}
.pbp-single-info ul {
  list-style: none;
  padding: 0;
  font-size: 16px;
}
.pbp-single-info li {
  margin-bottom: 8px;
}
.pbp-contact-btn {
  background: #28a745;
  margin-top: 20px;
}
.pbp-contact-btn:hover {
  background: #1f7a33;
}
.pbp-contact-form {
  max-width: 600px;
  margin: 40px auto;
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.pbp-contact-form label {
  display: block;
  font-weight: 600;
  margin-top: 10px;
}
.pbp-contact-form input,
.pbp-contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 6px;
  border: 1px solid #ccc;
}
.pbp-contact-form button {
  background: #007bff;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 6px;
  margin-top: 15px;
}
.pbp-contact-form button:hover {
  background: #0056b3;
}

/* === Contact Form Styling === */
#pbp_inquiry_form {
  max-width: 600px;
  margin: 40px auto;
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  font-family: "Poppins", sans-serif;
}

#pbp_inquiry_form label {
  display: block;
  font-weight: 600;
  margin-top: 10px;
  text-align: left;
}

#pbp_inquiry_form input,
#pbp_inquiry_form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 15px;
}

#pbp_inquiry_form button {
  background: #007bff;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 6px;
  margin-top: 15px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

#pbp_inquiry_form button:hover {
  background: #0056b3;
}

#pbp_response {
  margin-top: 10px;
  font-size: 15px;
}

/* ===== GENERAL STYLES ===== */
.pbp-container {
  max-width: 600px;
  margin: 40px auto;
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  text-align: center;
}

.pbp-container h2 {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
}

.pbp-container img.logo {
  height: 40px;
  width: auto;
  border-radius: 50%;
}

/* ===== BUILDER CONTROLS ===== */
.pbp-builder {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 25px;
}

.pbp-control label {
  font-weight: 600;
  text-align: left;
  display: block;
  margin-bottom: 6px;
}

.pbp-control input,
.pbp-control select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
}

/* ===== PREVIEW AREA ===== */
.pbp-preview-box {
  width: 100%;
  overflow-x: auto;
  display: flex;
  justify-content: center;
}

#platePreview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  color: #000;
  font-weight: bold;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: 3px solid #000;
  width: 520px;
  height: 110px;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 2.2rem;
}

/* ===== BUTTON & PRICE ===== */
.pbp-actions {
  text-align: center;
  margin-top: 15px;
}

#platePrice {
  font-size: 1.4rem;
  font-weight: 700;
  color: #000;
}

#downloadPlate {
  background: #0073aa;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

#downloadPlate:hover {
  background: #005f8d;
}

/* ===== MOBILE RESPONSIVE FIX ===== */
@media (max-width: 768px) {
  .pbp-container {
    width: 90%;
    padding: 20px 15px;
  }

  #platePreview {
    width: 100%;
    height: auto;
    font-size: 1.6rem;
    padding: 25px 0;
    border-width: 2px;
  }

  .pbp-builder {
    gap: 15px;
  }

  .pbp-control input,
  .pbp-control select {
    font-size: 0.95rem;
  }

  #downloadPlate {
    width: 100%;
    padding: 14px 0;
  }
}

/* For very small screens */
@media (max-width: 480px) {
  #platePreview {
    font-size: 1.3rem;
    letter-spacing: 2px;
  }

  .pbp-container h2 {
    font-size: 1.5rem;
    flex-direction: column;
    gap: 5px;
  }
}
