/** Shopify CDN: Minification failed

Line 820:1 Expected "}" to go with "{"

**/
/* Fallback font if UK Number Plate doesn't load */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@700&display=swap');

.collection__mobile-filters-recap{display:none!important;}

.template-collection .vrm-results.active .vrm-specs-container {
  margin-top: 0;
}
.template-collection .vrm-results.active .vrm-specs-container {
  padding-top: 10px;
}
.template-collection .vrm-search-box {
  border-radius: 0 0 3px 3px;
}
.template-collection .vrm-lookup-container {
  margin-top: -5px;
  margin-bottom: 20px;
}

.vrm-change-vehicle-text{
          font-size: 12px;
    text-align: right;
    line-height: 1.2;
    color: #000;
    width: 30%;
}


.vrm-lookup-container {
  max-width: 100%;
  margin: 10px auto;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  /* Prevent overflow on mobile */
  overflow: hidden;
  position: relative;
}

/* UK Number Plate Font Style */
.uk-plate-font {
  font-family: 'UKNumberPlate', 'Roboto Mono', 'Courier New', monospace;
  font-weight: 700;
  text-transform: uppercase;
  font-stretch: semi-condensed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.vrm-search-box {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 3px;
  padding: 15px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  /* Prevent overflow */
  overflow: hidden;
  position: relative;
}

.vrm-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1;
  color: #1a1a1a;
  letter-spacing: -0.2px;
}

/* Search Section with Manual Selection */
.vrm-search-section {
  display: flex;
  gap: 20px;
  align-items: center;
}

.vrm-reg-section {
  flex: 0 0 auto;
}

.vrm-section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #999;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vrm-manual-section {
  flex: 1;
  min-width: 0;
  /* Prevent overflow */
  overflow: hidden;
}

.vrm-manual-selects {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 10px;
  /* Prevent overflow */
  overflow: hidden;
}

.vrm-dropdown-wrapper {
  position: relative;
  display: flex;
  align-items: stretch;
  /* Prevent overflow */
  min-width: 0;
  overflow: hidden;
}

.vrm-dropdown-number {
  background: #000;
  color: #fff;
  width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  border-radius: 6px 0 0 6px;
}

.vrm-dropdown {
  flex: 1;
  padding: 12px 12px;
  background: white;
  border: 1px solid #d0d0d0;
  border-left: none;
  border-radius: 0 6px 6px 0;
  font-size: 13px;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 0;
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="20" viewBox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M10 12L6 8h8z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 20px;
  padding-right: 32px;
  height: 50px;
  /* Prevent text overflow */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vrm-dropdown:hover:not(:disabled) {
  border-color: #999;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.vrm-dropdown:focus {
  outline: none;
  border-color: #f5e40b;
  box-shadow: 0 0 0 2px rgba(217, 36, 44, 0.1);
}

.vrm-dropdown:disabled {
  background-color: #f5f5f5;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Ensure dropdown options don't overflow */
.vrm-dropdown option {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vrm-input-wrapper {
  display: flex;
  gap: 10px;
}

.vrm-input-field {
  width: 200px;
  padding: 12px 20px;
  background: linear-gradient(to bottom, #ffcc00 0%, #ffb500 100%);
  border: 2px solid #1a1a1a;
  border-radius: 6px;
  font-size: 40px;
  font-family: 'UKNumberPlate', 'Roboto Mono', 'Courier New', monospace;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  text-align: center;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  height: 50px;
}

.vrm-input-field::placeholder {
  color: #444;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 32px;
  font-family: 'UKNumberPlate', 'Roboto Mono', 'Courier New', monospace;
}

.vrm-input-field:focus {
  outline: none;
  border-color: #000;
  transform: translateY(-1px);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.15);
}

.vrm-search-btn {
  padding: 12px 32px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  height: 50px;
}

.vrm-search-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #2d2d2d 0%, #404040 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.vrm-search-btn:active {
  transform: translateY(0);
}

.vrm-search-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  box-shadow: none;
}

.vrm-helper-text {
  font-size: 12px;
  color: #666;
  margin-top: 6px;
  text-align: center;
}

.vrm-loading {
  display: none;
  text-align: center;
  padding: 20px;
  color: #666;
  font-size: 13px;
}

.vrm-loading.active {
  display: block;
}

.vrm-results {
  display: none;     
}

.vrm-results.active {
  display: block;
}

/* Mobile header with expandable */
.vrm-mobile-header {
  display: none;    
  transition: all 0.3s ease;
}

.vrm-mobile-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.vrm-mobile-header-top:hover {
  opacity: 0.9;
}

.vrm-mobile-header-left {
  display: flex;
  align-items: center;
  gap: 7px;
}

.vrm-mobile-vehicle-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vrm-mini-vrm {
  background: linear-gradient(to bottom, #ffcc00 0%, #ffb500 100%);
  border: 2px solid #1a1a1a;
  border-radius: 4px;
  padding: 4px 10px;
  font-family: 'UKNumberPlate', 'Roboto Mono', 'Courier New', monospace;
  font-weight: 700;
  font-size: 16px;
  line-height:1;
  color: #1a1a1a;
  text-transform: uppercase;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.vrm-mobile-vehicle-details {
  font-size: 12px;
  color: #252525;
  line-height: 1.2;
}

.vrm-mobile-label {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}

.vrm-change-mobile-btn {
  width: 100%;
  margin-top: 10px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #333;
}

.vrm-change-mobile-btn:hover {
  background: linear-gradient(135deg, #e8e8e8 0%, #d8d8d8 100%);
  border-color: #b0b0b0;
}

/* Vehicle details layout */
.vrm-vehicle-summary {
  display: flex;
  gap: 40px;
  align-items: center;
}

.vrm-vehicle-summary.mobile-hidden {
  display: none;
}

.vrm-vehicle-summary.mobile-visible{
  margin-top:15px;
}

.vrm-vehicle-details-wrapper {
  display: flex;
  gap: 40px;
  flex: 1;
}

.vrm-vehicle-manufacturer,
.vrm-vehicle-engine {
  flex: 1;
}

.vrm-vehicle-details-header {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e0e0e0;
}

.vrm-change-desktop-btn {
  padding: 0px 14px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  margin-left: auto;
  transition: all 0.2s ease;
  text-transform: none;
  letter-spacing: 0;
}

/* Desktop simplified view */
.vrm-desktop-simplified {
  display: none;
}

.vrm-desktop-simplified.active {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vrm-desktop-simplified-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vrm-desktop-simplified-plate {
  background: linear-gradient(to bottom, #ffcc00 0%, #ffb500 100%);
  border: 2px solid #1a1a1a;
  border-radius: 4px;
  padding: 3px 12px;
  font-family: 'UKNumberPlate', 'Roboto Mono', 'Courier New', monospace;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  color: #1a1a1a;
  text-transform: uppercase;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.vrm-desktop-simplified-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vrm-desktop-simplified-make-model {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.1;
}

.vrm-desktop-simplified-year {
  font-size: 12px;
  color: #666;
  line-height: 1.2;
}

.vrm-desktop-simplified-links {
  display: flex;
  gap: 10px;
  align-items: center;
  line-height:1;
}

.vrm-desktop-simplified-link {
  font-size: 13px;
  color: #2e2e2e;
  font-weight:600;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
  border: none;
  background: none;
  padding: 0;
}

.vrm-desktop-simplified-link:hover {
  color: #f5e40b;
}

.vrm-desktop-simplified-divider {
  color: #ccc;
  font-size: 12px;
}

.vrm-vehicle-details-mini-vrm {
  background: linear-gradient(to bottom, #ffcc00 0%, #ffb500 100%);
  border: 2px solid #1a1a1a;
  border-radius: 3px;
  padding: 2px 8px;
  margin-left: 5px;
  font-family: 'UKNumberPlate', 'Roboto Mono', 'Courier New', monospace;
  font-weight: 700;
  font-size: 18px;
  line-height:1;
  color: #1a1a1a;
  text-transform: uppercase;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.vrm-vehicle-details-row {
  display: flex;
  padding: 5px 0;
  font-size: 13px;
  line-height: 1.4;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.vrm-vehicle-details-row:last-child {
  border-bottom: none;
}

.vrm-vehicle-details-label {
  color: #666;
  margin-right: 8px;
  min-width: 85px;
  font-weight: 500;
}

.vrm-vehicle-details-value {
  color: #1a1a1a;
  flex: 1;
  font-weight: 600;
  text-align: right;
}

.vrm-view-parts-btn {
  padding: 12px 28px;
  background: linear-gradient(135deg, #28a745 0%, #20c140 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
  min-width: 140px;
  box-shadow: 0 3px 8px rgba(40, 167, 69, 0.3);
  transition: all 0.3s ease;
}

.vrm-view-parts-btn:hover {
  background: linear-gradient(135deg, #20c140 0%, #1ea83a 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(40, 167, 69, 0.4);
}

.vrm-view-parts-btn:active {
  transform: translateY(0);
}

.vrm-view-parts-btn-mobile {
  width: 100%;
  margin-top: 14px;
  display: none;
}

/* Hide view parts buttons when not on homepage */
.vrm-view-parts-btn.hidden,
.vrm-view-parts-btn-mobile.hidden {
  display: none !important;
}

.vrm-error {
  display: none;
  background: linear-gradient(135deg, #fff5f5 0%, #ffe0e0 100%);
  border: 1px solid #ffb0b0;
  color: #cc0000;
  padding: 10px 14px;
  border-radius: 8px;
  margin-top: 12px;
  font-size: 13px;
  box-shadow: 0 2px 6px rgba(255, 0, 0, 0.08);
}

.vrm-error.active {
  display: block;
}

.vrm-manual-toggle {
  display: none;
  width: 100%;
  padding: 12px;
  background: none;
  border: none;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.vrm-manual-toggle:hover {
  color: #f5e40b;
}

.vrm-manual-section.mobile-hidden {
  display: none !important;
}

@media (max-width: 768px) {
   .template-collection .vrm-lookup-container {
    margin-top: -26px;
  }
  .template-collection .vrm-lookup-container .container {
    padding: 0;
  }
  
  .template-collection .vrm-lookup-container {
    padding: 0;
    box-sizing: border-box;
  }
  
  .vrm-search-box {
    padding: 15px;
    margin: 0;
    box-sizing: border-box;
  }
  
  .vrm-search-section {
    flex-direction: column;
    gap: 10px;
  }
  
  .vrm-reg-section {
    width: 100%;
  }
  
  .vrm-section-divider {
    display: none;
  }
  
  .vrm-manual-toggle {
    display: block;
    padding:0 10px;
    color: #000;
  }
  
  .vrm-manual-section {
    display: none;
    width: 100%;
    /* Ensure proper containment */
    overflow: hidden;
    box-sizing: border-box;
  }
  
  .vrm-manual-section.mobile-visible {
    display: block !important;
  }
  
  .vrm-manual-selects {
    grid-template-columns: 1fr;
    gap: 8px;
    /* Prevent overflow */
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  
  .vrm-dropdown-wrapper {
    /* Ensure full width and proper containment */
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
  }
  
  .vrm-dropdown {
    /* Ensure dropdown fits container */
    max-width: 100%;
    box-sizing: border-box;
    font-size: 12px;
    padding: 10px 8px;
    padding-right: 28px;
    height: 45px;
  }
  
  .vrm-dropdown-number {
    width: 28px;
    font-size: 11px;
  }
  
  .vrm-input-field {
    flex: 1;
  }
}

@media (max-width: 640px) {

  .vrm-title{
  text-align:center;
  margin-top:5px;
  }
  
  .vrm-lookup-container {
    padding: 0 5px;
  }
  
  .vrm-search-box {
    padding: 12px;
    border-radius: 8px;
  }
  
  .vrm-input-wrapper {
    flex-direction: row;
    gap: 8px;
  }
  
  .vrm-input-field {
    font-size: 34px;
    width: 80%;
    box-sizing: border-box;
  }
  
  .vrm-search-btn {
    width: 20%;
    padding:10px;
    box-sizing: border-box;
  }
  
  .vrm-manual-selects {
    gap: 6px;
  }
  
  .vrm-dropdown {
    font-size: 11px;
    padding: 8px 6px;
    padding-right: 24px;
    height: 40px;
  }
  
  .vrm-dropdown-number {
    width: 24px;
    font-size: 10px;
  }
  
  .vrm-vehicle-summary {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  
  .vrm-vehicle-details-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  
  .vrm-vehicle-summary.mobile-hidden {
    display: none;
  }
  
  .vrm-vehicle-summary.mobile-visible {
    display: flex;
  }
  
  .vrm-vehicle-summary .vrm-view-parts-btn {
    display: none;
  }
  
  .vrm-view-parts-btn-mobile {
    display: block;
  }
  
  .vrm-mobile-header {
    display: block;
  }
  
  .vrm-change-desktop-btn {
    display: none;
  }
  
  .vrm-desktop-simplified {
    display: none !important;
  }
  
  .vrm-vehicle-details-label {
    min-width: 75px;
  }
  
  .vrm-vehicle-details-mini-vrm {
    display: none;
  }
}

/* Additional mobile overflow fixes */
@media (max-width: 480px) {
  .vrm-lookup-container {
    margin: 5px auto;
    padding: 0;
  }
  
  .vrm-search-box {
    border-radius: 6px;
    padding: 10px;
  }

  
  .vrm-dropdown-number {
    width: 20px;
    font-size: 9px;
  }
}

@media (min-width:767px){

  .template-collection {
    .vrm-title {
    display: none;  
}
}