/* ==========================================================================
   Auto Outlet Of Vineland - master stylesheet
   ========================================================================== */

/* -------------------- Variables -------------------- */
:root {
  --cw-yellow: #EDC100;
  --cw-maroon: #660000;
  --cw-orange: #E89010;
  --cw-nav-gray: #E5E5E5;
  --cw-overlay: rgba(102, 0, 0, 0.55);
  --cw-overlay-dark: rgba(102, 0, 0, 0.72);
}

/* -------------------- Utilities -------------------- */
.title+.text {
  margin-top: 0;
}

.wow {
  visibility: hidden;
}

/* -------------------- Buttons: yellow buttons use maroon text (white fails contrast) -------------------- */
.btn-secondary,
.btn-secondary.text-white,
.inventoryslideshow .btn-primary {
  color: var(--cw-maroon) !important;
  font-weight: 700;
  text-shadow: none;
}

/* Button hover: the platform slides a ::before fill in behind every button label on hover
   (0 width at rest). Make that fill maroon with white text site-wide so hover always passes
   contrast. html body prefix outranks the module-scoped !important rest-state rules. */
.btn-primary::before,
.btn-secondary::before,
.btn-outline-secondary::before {
  background-color: var(--cw-maroon) !important;
}

html body .btn.btn-primary:hover,
html body .btn.btn-primary:focus-visible,
html body .btn.btn-secondary:hover,
html body .btn.btn-secondary:focus-visible,
html body .btn.btn-outline-secondary:hover,
html body .btn.btn-outline-secondary:focus-visible {
  background: var(--cw-maroon) !important;
  border-color: var(--cw-maroon) !important;
  color: #fff !important;
  text-shadow: none;
}

html body .btn.btn-primary:hover *,
html body .btn.btn-primary:focus-visible *,
html body .btn.btn-secondary:hover *,
html body .btn.btn-secondary:focus-visible *,
html body .btn.btn-outline-secondary:hover *,
html body .btn.btn-outline-secondary:focus-visible * {
  color: #fff !important;
}

/* -------------------- Header: logo + contact band -------------------- */
.header .container {
  max-width: 1320px;
}

.cw-header-top {
  background: var(--cw-yellow);
  color: var(--cw-maroon);
}

.cw-header-logo img {
  width: 312px;
  height: auto;
  /* blends the logo's light JPG background into the yellow band */
  mix-blend-mode: multiply;
}

.cw-header-address {
  font-style: normal;
  font-size: 1.1rem;
  line-height: 1.35;
}

.cw-header-phone {
  font-size: 1.1rem;
  line-height: 1.35;
}

.cw-header-phone a {
  color: var(--cw-maroon);
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
}

.cw-header-phone a:hover,
.cw-header-phone a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .cw-header-logo img {
    width: 240px;
  }

  .cw-header-phone a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

/* -------------------- Header: centered nav bar -------------------- */
.header .navbar,
.header .navbar.bg-primary {
  padding: 0;
  background: var(--cw-nav-gray) !important;
}

.header .navbar .container {
  justify-content: center;
}

.header .navbar-brand {
  display: none !important;
}

.header .navbar-toggler {
  margin: 0.5rem auto;
  border-color: var(--cw-maroon);
}

.header .navbar-toggler .icon-bar {
  background-color: var(--cw-maroon) !important;
}

.header .navbar-nav .nav-link {
  padding: 0.9rem 1.25rem !important;
  border-top: 3px solid transparent;
  color: var(--cw-maroon) !important;
  font-size: 0.85rem !important;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.header .navbar .active>.nav-link,
.header .navbar .show>.nav-link,
.header .navbar-nav .nav-link:hover,
.header .navbar-nav .nav-link:focus-visible {
  border-top-color: #000;
  background-color: transparent;
  color: #000 !important;
}

.header .dropdown-toggle::after {
  color: var(--cw-maroon) !important;
}

header .navbar .dropdown-item {
  color: var(--cw-maroon);
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 400 !important;
}

.header .navbar .dropdown-menu {
  background: #f4f4f4;
  color: #000;
}

.header .navbar .dropdown-item:hover,
.header .navbar .dropdown-item:focus,
.header .navbar .dropdown-item.active,
.header .navbar .dropdown-item:active {
  background-color: var(--cw-nav-gray);
  color: #000;
}

.dropdown-menu .badge {
  color: var(--color-theme-primary);
}

@media (min-width: 992px) {
  .header .navbar-collapse {
    justify-content: center !important;
  }

  .header .navbar-nav {
    max-width: none;
    justify-content: center;
  }
}

/* -------------------- Home: H1 banner -------------------- */
.cw-h1-banner {
  position: relative;
  z-index: 1;
  padding: 1.1rem 0;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0 14px, transparent 14px 28px),
    linear-gradient(90deg, var(--cw-orange) 0%, #F2A526 50%, var(--cw-orange) 100%);
  box-shadow: inset 0 -3px 0 rgba(102, 0, 0, 0.25), 0 6px 14px rgba(0, 0, 0, 0.25);
}

.cw-h1-banner .cw-h1-banner-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  color: var(--cw-maroon);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* thin accent rules either side of the heading (desktop only, the heading wraps on mobile) */
.cw-h1-banner .cw-h1-banner-title::before,
.cw-h1-banner .cw-h1-banner-title::after {
  content: "";
  display: none;
  flex: 1 1 0;
  max-width: 90px;
  height: 2px;
  border-radius: 2px;
  background: var(--cw-maroon);
  opacity: 0.55;
}

.cw-h1-banner .cw-h1-accent {
  font-weight: 800;
}

@media (min-width: 992px) {
  .cw-h1-banner {
    padding: 1.4rem 0;
  }

  .cw-h1-banner .cw-h1-banner-title {
    font-size: 2rem;
  }

  .cw-h1-banner .cw-h1-banner-title::before,
  .cw-h1-banner .cw-h1-banner-title::after {
    display: block;
  }
}

/* -------------------- Home: hero -------------------- */
.cw-hero {
  padding: 2rem 0;
  background: linear-gradient(to bottom, #610100 0%, #8C0100 45%, #610100 100%);
  color: #fff;
}

.cw-hero-cars {
  width: 100%;
  max-width: 760px;
  height: auto;
  filter: drop-shadow(0 12px 10px rgba(0, 0, 0, 0.45));
}

.cw-hours {
  max-width: 360px;
  padding: 1.5rem 1.25rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 4px solid var(--cw-yellow);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
}

/* {businesshours} token output: .business-hours > h2.bh-title + ul.opening-hours > li(.today) > span.float-end */
.cw-hours .bh-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0;
  border-left: 0;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cw-hours .bh-title::before {
  content: "\f017";
  color: var(--cw-yellow);
  font-family: "Font Awesome 6 Free";
  font-size: 1.25rem;
  font-weight: 400;
}

.cw-hours .opening-hours {
  margin-bottom: 0;
}

.cw-hours .opening-hours li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.45rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 600;
  line-height: 1.5;
}

.cw-hours .opening-hours li:last-child {
  border-bottom: 0;
}

.cw-hours .opening-hours li span {
  float: none !important;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

/* platform flags the current day with .today */
.cw-hours .opening-hours li.today {
  border-radius: 6px;
  border-bottom-color: transparent;
  background: rgba(237, 193, 0, 0.15);
  color: var(--cw-yellow);
}

.cw-hours .opening-hours li.today span {
  color: var(--cw-yellow);
  font-weight: 700;
}

@media (min-width: 992px) {
  .cw-hero {
    padding: 2.5rem 0;
  }
}

/* -------------------- Home: inventory search -------------------- */
section.inventory-search-module .btn-primary {
  background: var(--cw-yellow) !important;
  border-color: var(--cw-yellow) !important;
  color: var(--cw-maroon) !important;
  font-weight: 700;
  text-shadow: none;
}

section.inventory-search-module .form__wrapper {
  border-radius: 0 !important;
  border: 0 !important;
}

/* sits flush under the hero at every breakpoint */
.page-home .inventory-search-module {
  margin-top: 0 !important;
}

@media (min-width: 992px) {
  .page-home .inventory-search-module {
    position: relative;
    background: var(--color-theme-primary);
  }

  section.inventory-search-module .form__wrapper {
    background: var(--color-theme-primary) !important;
    border-color: #b5b5b5 !important;
  }

  .page-home section.inventory-search-module label {
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 2px #000;
  }

  section.inventory-search-module>.container {
    max-width: 1320px !important;
  }

  /* search button sits on the maroon bar: hover inverts to a white fill so it stays visible */
  html body section.inventory-search-module .btn.btn-primary::before {
    background-color: #fff !important;
  }

  html body section.inventory-search-module .btn.btn-primary:hover,
  html body section.inventory-search-module .btn.btn-primary:focus-visible {
    background: #fff !important;
    border-color: #fff !important;
    color: var(--cw-maroon) !important;
  }
}

/* -------------------- Home: list tiles -------------------- */
.page-home .list {
  padding-top: 1.5rem;
  padding-bottom: 5em;
}

.page-home .list .list-img-wrap {
  padding: 54% 0;
}

.page-home .list .list-wrap {
  position: relative;
  margin-bottom: 0;
}

.page-home .list .list-text-title {
  position: absolute;
  bottom: 15%;
  left: 5%;
  right: 5%;
  width: auto;
  height: auto;
  color: #fff;
  margin: auto;
  text-shadow: 0 0 4px #000;
  pointer-events: none;
}

.page-home .list .list-img-photo:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.25;
  transition: opacity 0.5s linear 0.1s;
}

.page-home .list a.list-img-link:hover .list-img-photo:after {
  opacity: 0.5;
  background: var(--color-theme-highlight);
}

.page-home .list .btn {
  display: none;
}

/* -------------------- Home: sections -------------------- */
.page-home .inventoryslideshow {
  padding-top: 2.5rem;
  padding-bottom: 0 !important;
}

.cw-homeAbout {
  margin-bottom: 2.5rem;
  padding: 4rem 0;
  background: linear-gradient(to bottom, var(--cw-overlay-dark), var(--cw-overlay-dark)),
    url(https://cdn.powersports.com/cdn-cgi/image/h=1440,w=1920/089624034ABDB78384DFD81D1680D2D0.jpg);
  background-size: cover;
}

.cw-homeAbout .col-12 {
  z-index: 2;
}

.textwithimage h3 span {
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 60%;
  color: var(--cw-maroon);
}

.cw-homeSpecial {
  margin-bottom: 6rem;
  color: #fff;
}

.cw-homeSpecial .cw-homeSpecial-wrapper {
  padding: 2em;
}

.cw-homeSpecial h4 {
  font-size: 2rem;
}

.cw-homeSpecial img {
  width: 400px;
}

.cw-homeSpecial .container {
  background: var(--color-theme-highlight);
}

@media (max-width: 576px) {
  .cw-homeSpecial .cw-homeSpecial-content {
    margin-bottom: 2em;
  }
}

@media (min-width: 768px) {
  .page-home .list .list-text-title {
    font-size: 1.75rem;
  }

  .cw-homeAbout {
    padding: 6rem 0;
  }

  .cw-homeAbout h3 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
  }

  .cw-homeSpecial h4 {
    font-size: 2rem;
  }
}

@media (min-width: 992px) {
  .page-home .textwithimage h2 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
  }

  .cw-homeSpecial h4 {
    font-size: 2.5rem;
  }

  .cw-homeSpecials .lead {
    font-size: 1.3rem;
  }
}

@media (min-width: 1340px) {
  .page-home .textwithimage h2,
  .cw-homeAbout h3 {
    font-size: 3rem;
  }

  .page-home .list .list-text-title {
    font-size: 2rem;
  }

  .cw-homeAbout {
    background-attachment: fixed;
  }
}

.popular-vehicles-sections {
  margin: 5em auto !important;
}

/* -------------------- Inventory slideshow -------------------- */
.card__multi__style2 .item__card {
  border-radius: 0 !important;
}

.inventoryslideshow h3 {
  font-size: 1.2rem !important;
}

.inventoryslideshow .item__data__price {
  font-size: 1.25rem !important;
}

.inventoryslideshow-slick {
  padding-top: 1rem;
}

.inventoryslideshow-title-heading {
  font-size: 2.25rem;
}

.inventoryslideshow-title-heading span {
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 60%;
  color: var(--cw-maroon);
}

@media (min-width: 768px) {
  .inventoryslideshow-title-heading {
    font-size: 2.75rem;
  }
}

@media (min-width: 1340px) {
  .inventoryslideshow-title-heading {
    font-size: 3rem;
  }
}

/* -------------------- Inventory (SRP) -------------------- */
.inventory {
  padding-top: 0 !important;
}

.p-veh-card .card-top-img a {
  display: block;
}

.inventory .srp-sidebar .card-header::before {
  border-color: transparent !important;
}

.inventory .card {
  background: #f4f4f4 !important;
}

.inventory .inventory-cta .btn {
  background: var(--cw-yellow) !important;
  border-color: var(--cw-yellow) !important;
  color: var(--cw-maroon) !important;
  text-shadow: none;
}

.inventory .vehicle-card.layout-2 .inventory-title {
  font-size: 1.2rem !important;
}

.inventory .vehicle-card.layout-2 .price {
  background: var(--color-theme-primary) !important;
  font-weight: 700;
}

/* sidebar headers sit on the yellow secondary color: maroon text (white fails contrast) */
.inventory .srp-sidebar .card-header,
.inventory .srp-sidebar .btn-link.btn-clear-filter,
.inventory .srp-sidebar .card-header .card-title,
.inventory .srp-sidebar .card-header .close-filter {
  color: var(--cw-maroon) !important;
}

/* vehicle card price tag sits on the yellow secondary color: maroon text (white fails contrast) */
.inventory .srp-ftc-headline.variant-l2-tag,
.inventory .srp-ftc-headline.variant-l2-tag * {
  color: var(--cw-maroon) !important;
  text-shadow: none;
}

.inventory .carousel-indicators {
  background: rgba(255, 255, 255, 0.4) !important;
  bottom: 0 !important;
  margin-bottom: 0;
}

.inventory .carousel-indicators [data-bs-target] {
  width: 7px;
  height: 7px;
  background: var(--color-theme-highlight);
}

.inventory .btn-primary,
.inventory .btn-primary:focus {
  background: var(--color-theme-highlight) !important;
  border-color: var(--color-theme-highlight) !important;
}

.page-inventory .container.mb-4 {
  max-width: none;
  margin-bottom: 0 !important;
  padding: 1rem;
  background: var(--color-theme-primary);
  color: #fff;
}

@media (min-width: 992px) {
  .page-inventory .container.mb-4 {
    padding: 3rem 4rem;
  }
}

/* -------------------- VDP -------------------- */
.vdp__title__mod {
  background: var(--color-theme-highlight);
  padding: 1.5rem 1rem 1rem;
  color: #fff;
}

p.veh__generation,
.vdp__title__mod .veh__price[VehicleHeadingWidgetCssScope],
.vdp__title__mod .veh__mileage[VehicleHeadingWidgetCssScope] {
  color: #fff !important;
}

.vdp-module-canvas-razor-wrapper .btn-secondary,
section.page-inventory-details .btn.btn-primary,
.vdp-module-canvas-razor-wrapper .btn-check:checked+.btn-outline-secondary {
  background: var(--cw-yellow) !important;
  border-color: var(--cw-yellow) !important;
  color: var(--cw-maroon) !important;
  text-shadow: none;
}

.page-inventory-details .module,
.vdp-module-canvas-razor-wrapper .module {
  margin-top: 25px !important;
}

.vdp-module-canvas-razor-wrapper .vdp__container .row {
  margin: auto;
}

.vdp-module-canvas-razor-wrapper .vdp__sticky-navigation__mod {
  margin-left: auto;
  margin-right: auto;
}

.sn_business_openclose.open {
  background: var(--color-theme-primary) !important;
  color: var(--color-theme-text-btn) !important;
}

.vdp-module-canvas-razor-wrapper .vdp__sticky-navigation__mod button.sn_more_btn {
  background: var(--color-theme-primary);
  color: var(--color-theme-text-btn);
  font-size: 0.7rem !important;
  padding: 7px 10px !important;
}

.vdp-module-canvas-razor-wrapper .vdp__sticky-navigation__mod .sn_share_item a,
.vdp-module-canvas-razor-wrapper .vdp__sticky-navigation__mod .sn_dropdown a {
  color: var(--color-theme-text);
}

.vdp-module-canvas-razor-wrapper .vdp__sticky-navigation__mod .sn_share_item a:hover,
.vdp-module-canvas-razor-wrapper .vdp__sticky-navigation__mod .sn_dropdown a:hover {
  color: var(--color-theme-primary);
}

.vdp-module-canvas-razor-wrapper .vdp__sticky-navigation__mod .sn_item button.button_sn_item {
  font-size: 1rem !important;
}

.vdp-module-canvas-razor-wrapper .vdp__dealerInfo__mod .store__hours {
  margin-bottom: 1em;
}

.vdp-module-canvas-razor-wrapper {
  margin-bottom: 2em;
}

.vdp__loanCalc__mod .narrow__col-12 {
  padding: 0;
}

.vdp-module-canvas-razor-wrapper .vdp__quickconnect__mod .section__title {
  color: var(--color-theme-header);
  margin: 0 0 0.5em 0;
}

.vdp-module-canvas-razor-wrapper .vdp__quickconnect__mod {
  border: 0 !important;
  margin-top: 1em !important;
  margin-bottom: 1.5em;
  border-radius: 0.8vw !important;
}

@media (min-width: 440px) {
  .vdp-module-canvas-razor-wrapper .vdp__sticky-navigation__mod button.sn_more_btn {
    font-size: 0.8rem !important;
    padding: 7px 12px !important;
  }
}

@media (max-width: 767px) {
  .vdp-module-canvas-razor-wrapper .vdp__details__mod .row>*,
  .vdp-module-canvas-razor-wrapper .vdp__dealerInfo__mod .row>* {
    padding: 0 !important;
  }
}

@media (max-width: 991px) {
  .vdp-module-canvas-razor-wrapper .vdp__container .vdp__dealerInfo__mod {
    margin-bottom: 0 !important;
  }
}

/* -------------------- Interior page title banner -------------------- */
section:not(.page-home) .title {
  position: relative;
  margin-bottom: 2.5rem;
  background: linear-gradient(to bottom, var(--cw-overlay), var(--cw-overlay)),
    url(https://cdn.powersports.com/cdn-cgi/image/h=1440,w=1920/8AF19A58991466F4E9AEE86B057B97B2.jpg) no-repeat center;
  background-size: cover;
  text-align: center;
}

section:not(.page-home) .title .title-heading {
  position: relative;
  z-index: 1;
  margin: auto;
  padding: 2rem 0;
  color: #fff;
  filter: drop-shadow(0 1px 5px rgba(0, 0, 0, 0.5));
}

section:not(.page-home) .title h1 {
  font-size: 2rem;
}

section:not(.page-home) .form {
  padding-top: 1rem;
}

@media (min-width: 992px) {
  section:not(.page-home) .title .title-heading {
    padding: 3.5rem 0;
  }

  section:not(.page-home) .title h1 {
    font-size: 2.5rem;
  }
}

/* -------------------- Forms -------------------- */
.form-forms-header {
  font-size: 1.75rem;
}

.bootstrap-select {
  padding: 0 !important;
  background: 0 0;
  border: none;
}

.bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn) {
  width: 100%;
}

.form .bootstrap-select .dropdown-menu li.selected a,
.form .bootstrap-select .dropdown-menu li.selected a:hover {
  color: #000;
  background: 0 0;
}

.bootstrap-select .dropdown-menu li a span.text {
  display: inline;
  background: 0 0;
}

.bootstrap-select>.dropdown-toggle.bs-placeholder::after {
  border-top-color: var(--color-theme-highlight);
}

/* -------------------- Footer -------------------- */
footer>.container {
  position: relative;
  min-height: 190px;
}

.footer .dropdown-menu {
  position: relative;
  display: block !important;
  min-width: 0 !important;
  padding: 0;
  border: 0;
}

.footer .dropdown-toggle {
  pointer-events: none;
}

.footer a.dropdown-item {
  display: block !important;
  padding: 0.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 400 !important;
}

.footer-nav-links .nav-item {
  font-size: 0.8rem;
  text-align: center;
  padding: 0 0.25rem;
}

.footer .nav .nav-link {
  text-transform: uppercase;
}

.footer h2.footer-business-name {
  font-size: 1.25rem;
}

.footer-business+.footer-business-phone:before {
  display: none;
}

.footer-social-links a {
  padding: 0 0.25rem;
}

.footer-info-business span,
.footer-info-business a {
  font-size: 0.85rem;
}

@media (min-width: 992px) {
  .footer-social-links {
    position: absolute;
    left: 10%;
    bottom: 1rem;
    z-index: 2;
  }

  footer .footer-info-business {
    position: absolute;
    left: 0;
    top: 0;
    width: 30%;
    padding-right: 1rem;
  }

  .footer-info-business a:not(.footer-business-phone):not(.footer-business-email) {
    padding: 0;
  }

  a.footer-business-phone {
    display: block;
    margin-top: 0.25rem;
  }

  .footer ul.nav {
    flex-wrap: nowrap;
    text-align: left !important;
  }

  .footer-nav-links {
    position: absolute;
    top: -1rem;
    right: 0;
    width: 70%;
    background: 0 0;
    padding: 1.5rem 0;
  }

  .footer .dropdown-menu {
    max-width: 180px;
    text-align: center;
    background: 0 0;
  }

  .footer .dropdown-toggle::after {
    color: var(--cw-yellow);
  }
}
