/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* ============================================================
   Premier Pickups – Inventory Page Layout Redesign (WordPress)
   2026-06-12  |  Black & White bubble design
   ============================================================ */

/* ── Hide current page name from mobile/tablet hamburger menu toggle ── */
.eael-simple-menu-toggle-text {
  display: none !important;
}

/* ── Hide WordPress/Hello Elementor page title on all pages ── */
.page-header,
.entry-header,
.page-header .page-title,
.entry-header .entry-title,
h1.entry-title,
.elementor-page-title,
.elementor-widget-theme-page-title {
  display: none !important;
}

/* ── Force Elementor parent containers full-width on inventory page ──
   .pp-strip and .pp-layout-outer are direct children of these wrappers.
   We need the wrappers themselves to not cap or pad the width.          ── */
.pp-strip,
.pp-layout-outer {
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative !important;
  left: 0 !important;
}

/* Kill padding on any Elementor wrapper that JS marked pp-full-bleed */
.pp-full-bleed {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}
.pp-full-bleed > .elementor-widget-container {
  padding: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* ── Page background ── */
.pp-inventory-page { background: #111; }

/* ── Search strip ── */
.pp-strip {
  background: #000;
  padding: 40px 24px 36px;
  text-align: center;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(255,255,255,.1);
  width: 100%;
}

.pp-strip-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 14px;
}

.pp-sw {
  display: inline-flex;
  width: 100%;
  max-width: 860px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,.25);
  overflow: hidden;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
  transition: border-color .2s;
}
.pp-sw:focus-within { border-color: #fff; }

.pp-sc {
  flex: 1;
  padding: 18px 28px;
  font-size: 16px;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: inherit;
  min-width: 0;
}
.pp-sc::placeholder { color: rgba(255,255,255,.35); }

.pp-sb {
  padding: 0 36px;
  background: #fff;
  color: #000;
  border: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .6px;
  text-transform: uppercase;
  font-family: inherit;
  border-radius: 0 50px 50px 0;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.pp-sb:hover { background: #e0e0e0; }

/* ── Outer page wrapper – full-bleed black ── */
.pp-layout-outer {
  background: #111;
  padding: 32px 0 72px 0;
  box-sizing: border-box;
  min-height: 60vh;
  width: 100%;
}

/* ── Flex layout – sidebar left, products fill the rest ── */
.pp-layout {
  display: flex;
  align-items: flex-start;
  gap: 0;
  width: 100%;
  box-sizing: border-box;
}

/* products area has its own generous padding */
.pp-main {
  flex: 1;
  min-width: 0;
  padding: 0 48px 0 32px;
  box-sizing: border-box;
}

/* ── Filter sidebar – close to left edge ── */
form#syncVehicleFilters {
  width: 280px !important;
  flex-shrink: 0 !important;
  position: sticky !important;
  top: 24px !important;
  max-height: calc(100vh - 48px) !important;
  overflow-y: auto !important;
  background: transparent !important;
  border: 1.5px solid rgba(255,255,255,.2) !important;
  border-radius: 18px !important;
  padding: 22px 20px !important;
  box-sizing: border-box !important;
  margin: 0 0 0 20px !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.2) transparent;
}
form#syncVehicleFilters::-webkit-scrollbar { width: 4px; }
form#syncVehicleFilters::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 4px; }

/* ── Sidebar heading ── */
.pp-fhdr {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,.45);
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

/* ── Price sort buttons ── */
.pp-sort-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 20px;
}
.pp-sort-btn {
  background: transparent !important;
  border: 1.5px solid rgba(255,255,255,.22) !important;
  border-radius: 50px !important;
  color: rgba(255,255,255,.65) !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: .4px !important;
  padding: 11px 18px !important;
  cursor: pointer !important;
  text-align: center !important;
  transition: border-color .2s, color .2s, background .2s !important;
  width: 100% !important;
}
.pp-sort-btn:hover {
  border-color: rgba(255,255,255,.55) !important;
  color: #fff !important;
  background: rgba(255,255,255,.12) !important;
}
.pp-sort-btn.pp-sort-active {
  background: #fff;
  color: #111;
  border-color: #fff;
  font-weight: 700;
}

/* ── Filter field groups ── */
form#syncVehicleFilters .sync-filter-field { margin-bottom: 16px !important; }

form#syncVehicleFilters .sync-filter-field label {
  display: block !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.2px !important;
  color: rgba(255,255,255,.5) !important;
  margin-bottom: 7px !important;
}

form#syncVehicleFilters .sync-filter-field select {
  width: 100% !important;
  padding: 12px 18px !important;
  font-size: 14px !important;
  font-family: inherit !important;
  color: #fff !important;
  background: rgba(255,255,255,.07) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 50px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  outline: none !important;
  cursor: pointer !important;
  transition: border-color .2s, background .2s !important;
}
form#syncVehicleFilters .sync-filter-field select:hover,
form#syncVehicleFilters .sync-filter-field select:focus {
  border-color: rgba(255,255,255,.5) !important;
  background: rgba(255,255,255,.12) !important;
}
/* fix select option text on dark bg */
form#syncVehicleFilters .sync-filter-field select option { background: #1a1a1a; color: #fff; }

/* Show all expanded filters — no collapse needed in sidebar */
form#syncVehicleFilters .sync-main-filters { display: block !important; }
form#syncVehicleFilters .sync-expanded-filter { display: block !important; }

/* Hide More Filters toggle — not needed in sidebar */
form#syncVehicleFilters .sync-more-btn { display: none !important; }

/* Vehicle count ── */
form#syncVehicleFilters .sync-vehicle-count {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  margin-top: 16px;
  text-align: center;
  letter-spacing: .5px;
}

/* ── Sliders ── */
.pp-slg { margin-bottom: 18px; }

.pp-sll {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,.5);
  margin-bottom: 6px;
}

.pp-slv {
  font-size: 13px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 10px;
}

input.pp-rng {
  width: 100%;
  accent-color: #fff;
  cursor: pointer;
  display: block;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,.18);
}

/* ── Divider between slider groups ── */
.pp-sdiv {
  height: 1px;
  background: rgba(255,255,255,.1);
  margin: 18px 0;
}

/* ── Mobile ── */
@media (max-width: 960px) {
  .pp-layout-outer { padding: 20px 0 40px; }
  .pp-layout { flex-direction: column; gap: 0; }
  form#syncVehicleFilters {
    width: calc(100% - 32px) !important;
    position: static !important;
    max-height: none !important;
    border-radius: 14px !important;
    margin: 0 16px 20px !important;
  }
  .pp-main { padding: 0 16px !important; }
  .pp-strip { padding: 28px 16px 24px; }
  .pp-sw { max-width: 100%; }
}

/* ── Override Elementor's pink form error message background ── */
.elementor .e-form-error-message-base {
  background-color: #d0d0d0 !important;
  color: #333 !important;
}

/* ── Year checkbox dropdown ── */
.pp-year-wrap { margin-bottom: 16px; }

.pp-year-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 18px;
  font-size: 14px;
  font-family: inherit;
  color: #fff;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50px;
  cursor: pointer;
  box-sizing: border-box;
  transition: border-color .2s, background .2s;
  text-align: left;
}
.pp-year-btn:hover {
  border-color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.12);
}
.pp-year-btn.pp-yr-active {
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.15);
}
.pp-year-btn.pp-yr-open {
  border-radius: 14px 14px 0 0;
  border-bottom-color: transparent;
}
.pp-year-arrow {
  font-size: 9px;
  transition: transform .2s;
  display: inline-block;
  opacity: .6;
}
.pp-year-btn.pp-yr-open .pp-year-arrow { transform: rotate(180deg); }

.pp-year-panel {
  display: none;
  background: #222;
  border: 1px solid rgba(255,255,255,.18);
  border-top: none;
  border-radius: 0 0 14px 14px;
  overflow: hidden;
  margin-bottom: 4px;
}
.pp-year-panel.pp-yr-open { display: block; }

.pp-year-list {
  max-height: 240px;
  overflow-y: auto;
  padding: 4px 0;
}
.pp-year-list::-webkit-scrollbar { width: 4px; }
.pp-year-list::-webkit-scrollbar-track { background: #1a1a1a; }
.pp-year-list::-webkit-scrollbar-thumb { background: #e87722; border-radius: 2px; }

.pp-year-item {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .12s;
}
.pp-year-item:last-child { border-bottom: none; }
.pp-year-item:hover { background: rgba(255,255,255,.08); }

.pp-year-cb {
  width: 15px;
  height: 15px;
  margin: 0 10px 0 0;
  cursor: pointer;
  accent-color: #e87722;
  flex-shrink: 0;
}
.pp-year-lbl {
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  flex: 1;
  font-family: inherit;
}

.pp-year-clear {
  display: block;
  width: 100%;
  text-align: center;
  padding: 9px;
  font-size: 12px;
  color: rgba(255,255,255,.45);
  border: none;
  border-top: 1px solid rgba(255,255,255,.08);
  background: none;
  cursor: pointer;
  font-family: inherit;
  transition: color .12s, background .12s;
}
.pp-year-clear:hover { color: #fff; background: rgba(255,255,255,.08); }

/* ── Financing form – state dropdown: white bg + black text ── */
select option {
  background-color: #fff;
  color: #000;
}
