.elementor-widget-section .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-section .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-heading .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-heading .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-9178 .elementor-element.elementor-element-3176ba3{text-align:center;}.elementor-9178 .elementor-element.elementor-element-3176ba3 .elementor-heading-title{font-family:"Saira", Sans-serif;font-size:26px;font-weight:900;color:#E30D0D;}.elementor-9178 .elementor-element.elementor-element-533e327{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;}.elementor-9178 .elementor-element.elementor-element-533e327 > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-widget-html .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-html .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-8e944f2 */.vehicle-filter-wrapper {
  width: 100%;
}

/* Desktop */
.vehicle-filter-desktop {
  display: block;
  background-image: url("https://allaroundtires.com/wp-content/uploads/2025/11/pngtree-red-texture-brush-wallpaper-image_565861.jpg");
  background-size: cover;
  background-position: center;
  padding: 30px;
  border-radius: 0;
  margin: auto;
}

.vf-inner {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Added: 1px border to selects */
.vf-inner select {
  width: 200px;
  height: 50px;
  padding: 0 15px;
  border: 1px solid #fff; /* NEW — white border */
  color: #fff;
  font-size: 16px;
  background: #333;
}

/* Adjusted: button border to 1px black */
.vf-inner button {
  height: 50px;
  padding: 0 15px;
  background: #fff;
  color: #000;
  border: 1px solid #000; /* NEW — 1px instead of 2px */
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.vf-inner button:hover {
  opacity: 0.8;
}

/* Mobile */
.vehicle-filter-mobile {
  background: #7C0A0A;
  padding: 25px;
  display: none; /* Hidden on desktop */
}

/* Added: 1px light gray border to selects */
.vehicle-filter-mobile select {
  width: 100%;
  height: 48px;
  margin-bottom: 15px;
  border: 1px solid #ccc; /* NEW — light gray border */
  color: #fff;
  font-size: 16px;
  background: #333;
}

/* Button remains same but normalized to 1px border */
.vehicle-filter-mobile button {
  width: 100%;
  height: 48px;
  margin-bottom: 15px;
  background: #fff;
  color: #000;
  border: 1px solid #000; /* NEW */
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

/* Responsive Switch */
@media(max-width: 768px) {
  .vehicle-filter-desktop { display: none; }
  .vehicle-filter-mobile { display: block; }
}


#step-tiresize h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.tire-size-btn {
    font-weight: bold;
    border: 2px solid #e60000;
    padding: 12px;
    border-radius: 6px;
    transition: 0.25s;
}

.tire-size-btn:hover {
    background: #e60000;
    color: #fff;
    transform: scale(1.06);
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px,1fr));
    gap: 10px;
}


/* -----------------------------------------------------
   FULLSCREEN POPUP OVERLAY (TIRE SIZE SELECTION)
----------------------------------------------------- */
#step-tiresize {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    z-index: 999999;
    display: none; /* JS will show it */
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;

    font-family: 'Saira', sans-serif;
}

/* POPUP INNER CARD */
#step-tiresize .popup-card {
    background: #111;
    border-left: 4px solid #e60000;
    border-right: 4px solid #e60000;
    padding: 35px 25px;
    max-width: 520px;
    width: 100%;
    text-align: center;
    border-radius: 12px;

    animation: popupFade 0.3s ease-out;
}

@keyframes popupFade {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* HEADING */
#step-tiresize h3 {
    color: #e60000;
    font-size: 26px;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
}

/* SUBTEXT */
#step-tiresize p {
    color: #fff;
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* TIRE SIZE BUTTON GRID */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

/* BUTTON STYLE */
.tire-size-btn {
    background: #1b1b1b;
    color: #fff;
    border: 2px solid #e60000;
    padding: 12px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.25s ease;
}

.tire-size-btn:hover {
    background: #e60000;
    color: #fff;
    transform: scale(1.07);
}

/* CLOSE BUTTON */
.close-popup {
    margin-top: 20px;
    background: transparent;
    color: #bbb;
    border: none;
    font-size: 15px;
    cursor: pointer;
    text-decoration: underline;
}

.close-popup:hover {
    color: #e60000;
}

/* MOBILE-FRIENDLY */
@media(max-width: 480px) {
    #step-tiresize .popup-card {
        padding: 25px 20px;
    }

    #step-tiresize h3 {
        font-size: 20px;
    }

    .options-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .tire-size-btn {
        font-size: 14px;
        padding: 10px;
    }
}/* End custom CSS */