/* Showroom Frontend Styles */
/* --- Layout System (Theme Independent) --- */
.showroom-root-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
}

.showroom-row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.showroom-col-main {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
  padding-right: 15px;
  padding-left: 15px;
  box-sizing: border-box;
}

.showroom-col-sidebar {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  padding-right: 15px;
  padding-left: 15px;
  box-sizing: border-box;
}

@media (max-width: 991px) {
  .showroom-row {
    display: flex;
    flex-direction: column;
  }
  .showroom-col-main,
  .showroom-col-sidebar {
    display: contents; /* Unwrap columns to allow interleaving */
  }
  /* Mobile Reordering */
  .showroom-title,
  .showroom-price,
  .renting-booqable-button,
  .showroom-gallery-wrapper,
  .showroom-specs-box,
  .showroom-equipment-main,
  .showroom-description,
  .showroom-cta {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    width: 100%;
  }

  .showroom-title { order: 1; }
  .showroom-price { order: 2; margin-bottom: 20px; }
  .renting-booqable-button { order: 2; margin-bottom: 20px; } /* Same order as price */
  .showroom-gallery-wrapper { order: 3; margin-bottom: 30px; }
  .showroom-specs-box { order: 4; }
  .showroom-description { order: 5; }
  .showroom-equipment-main { order: 6; }
  .showroom-cta { order: 7; }
}
/* --- Variables --- */
:root {
  --showroom-accent: var(
      --nectar-extra-color-1,
      var(--wp--preset--color--primary,
      var(--accent-color, #F74F51))
  );
  --renting-accent: var(
      --nectar-extra-color-3,
      var(--wp--preset--color--secondary,
      var(--accent-color, #105FCF))
  );
  --showroom-dark: #2c3e50;
  --showroom-light: #ecf0f1;
  --showroom-border: #e0e0e0;
}

/* --- Global Spacing --- */
.showroom-single-container {
  padding-top: 40px;
  padding-bottom: 40px;
}

/* --- Single Car Page --- */
/* Sidebar */
.showroom-col-sidebar .showroom-title {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
}

.showroom-price {
  font-size: 1.8em;
  font-weight: 800;
  color: var(--showroom-accent);
  margin-bottom: 25px;
  display: inline-block;
}

.showroom-specs-box,
.showroom-equipment-box {
  background: #fff;
  padding: 25px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--showroom-border);
}
.showroom-specs-box h3,
.showroom-equipment-box h3 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.1em;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--showroom-dark);
  border-bottom: 2px solid var(--showroom-accent);
  display: inline-block;
  padding-bottom: 5px;
}

/* Equipment in Main Column */
.showroom-equipment-main {
  margin-top: 30px;
  margin-bottom: 30px;
}
.showroom-equipment-main .showroom-equipment-list {
  column-count: 2;
  column-gap: 30px;
}
@media (min-width: 768px) {
  .showroom-equipment-main .showroom-equipment-list {
    column-count: 3;
  }
}
.showroom-equipment-main .showroom-equipment-list li {
  break-inside: avoid;
  margin-bottom: 10px;
}

.showroom-specs-list,
.showroom-equipment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.showroom-specs-list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--showroom-border);
  font-size: 1rem;
}
.showroom-specs-list li:last-child {
  border-bottom: none;
}

.spec-label {
  font-weight: 600;
  color: #7f8c8d;
}

.spec-value {
  font-weight: 700;
  color: var(--showroom-dark);
}

.showroom-equipment-list li {
  padding: 8px 0;
  font-size: 0.9em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.showroom-equipment-list li i {
  color: var(--showroom-accent);
}

/* Gallery (Swiper) */
.showroom-single-gallery-main {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: #f8f8f8;
}
.showroom-single-gallery-main .swiper-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.showroom-single-gallery-thumbs {
  margin-bottom: 30px;
}
.showroom-single-gallery-thumbs .swiper-slide {
  width: 25%;
  opacity: 0.6;
  cursor: pointer;
  transition: opacity 0.3s;
  border-radius: 4px;
  overflow: hidden;
}
.showroom-single-gallery-thumbs .swiper-slide-thumb-active {
  opacity: 1;
  border: 2px solid var(--showroom-accent);
}
.showroom-single-gallery-thumbs img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  display: block;
}

.swiper-button-next, .swiper-button-prev {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  background: rgba(0, 0, 0, 0.3);
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.swiper-button-next:after, .swiper-button-prev:after {
  font-size: 18px;
  font-weight: bold;
}


/* Featured Image (Fallback) */
.showroom-single-featured {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: #f8f8f8;
}
.showroom-single-featured img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* Description */
.showroom-description {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--showroom-border);
}

.showroom-cta .showroom-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 15px;
  font-size: 1em;
  background: var(--showroom-accent);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s;
}
.showroom-cta .showroom-btn:hover {
  background: #c0392b;
}

/* --- Car Card (Shared) --- */
.showroom-car-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s, transform 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: none;
  position: relative;
}
.showroom-car-card:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}
.showroom-car-card:hover .showroom-car-image img {
  transform: scale(1.08);
}
.showroom-car-card .showroom-car-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.showroom-car-card .showroom-car-image {
  position: relative;
  padding-bottom: 60%; /* Aspect Ratio */
  overflow: hidden;
  background: #f0f0f0;
}
.showroom-car-card .showroom-car-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.showroom-car-card .showroom-card-price {
  position: absolute;
  bottom: 0px;
  right: 0px;
  background: var(--showroom-accent);
  color: #fff;
  padding: 8px 15px;
  border-top-left-radius: 10px;
  font-weight: 700;
  font-size: 1em;
  box-shadow: -2px -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 2;
}
.showroom-car-card .showroom-car-details {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.showroom-car-card .showroom-car-title {
  margin: 0 0 15px;
  font-size: 1.1em;
  font-weight: 700;
  line-height: 1.3;
  color: var(--showroom-dark);
}
.showroom-car-card .showroom-car-meta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.85em;
  color: #7f8c8d;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
}
.showroom-car-card .meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.showroom-car-card .meta-item i {
  color: var(--showroom-accent);
}

/* --- Car List (Grid Wrapper) --- */
.showroom-car-list-wrapper {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
  /* Grid uses the shared card styles implicitly via .showroom-car-card class in HTML */
}
.showroom-car-list-wrapper .showroom-car-item {
  padding: 0 15px;
  margin-bottom: 30px;
  box-sizing: border-box;
}

/* --- Car List (Carousel Wrapper) --- */
.showroom-car-carousel {
  padding-bottom: 40px; /* Space for pagination */
  /* Specific Overrides for Carousel as requested */
}
.showroom-car-carousel .swiper-pagination-bullet-active {
  background: var(--showroom-accent);
}

/* Pagination Colors */
.showroom-pagination-light .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}
.showroom-pagination-light .swiper-pagination-bullet-active {
    background: #fff;
    opacity: 1;
}

.showroom-pagination-dark .swiper-pagination-bullet {
    background: #000;
    opacity: 0.5;
}
.showroom-pagination-dark .swiper-pagination-bullet-active {
    background: #000;
    opacity: 1;
}

.showroom-car-carousel .swiper-slide {
  height: auto; /* Ensure equal height cards */
  display: flex;
}
.showroom-car-carousel .showroom-car-card {
  width: 100%; /* Fill slide */
  /* Reduce padding/sizes for more compact carousel */
}
.showroom-car-carousel .showroom-car-card .showroom-car-details {
  padding: 15px; /* Reduced from 20px */
}
.showroom-car-carousel .showroom-car-card .showroom-car-title {
  font-size: 1.1em; /* Reduced from 1.25em */
  margin-bottom: 10px;
}
.showroom-car-carousel .showroom-car-card .showroom-card-price {
  padding: 5px 12px;
  font-size: 1em;
}
.showroom-car-carousel .showroom-car-card .showroom-car-meta {
  gap: 10px;
  font-size: 0.85em;
  padding-top: 10px;
}

/* Grid Columns */
.showroom-grid-3 .showroom-car-item {
  width: 33.333%;
}

.showroom-grid-4 .showroom-car-item {
  width: 25%;
}

.showroom-grid-2 .showroom-car-item {
  width: 50%;
}

@media (max-width: 992px) {
  .showroom-grid-4 .showroom-car-item {
    width: 33.333%;
  }
}
@media (max-width: 768px) {
  .showroom-grid-3 .showroom-car-item,
  .showroom-grid-4 .showroom-car-item,
  .showroom-grid-2 .showroom-car-item {
    width: 50%;
  }
}
@media (max-width: 480px) {
  .showroom-grid-3 .showroom-car-item,
  .showroom-grid-4 .showroom-car-item,
  .showroom-grid-2 .showroom-car-item {
    width: 100%;
  }
}

/* ==============================
   RENTING STYLES
   ============================== */

/* --- Renting Card Hover --- */
.renting-car-card:hover {
  border-color: var(--renting-accent);
}

/* --- Renting Booqable Button --- */
.renting-booqable-button {
  margin-top: 20px;
  margin-bottom: 30px;
}
.renting-booqable-button .booqable-product-button {
  width: 100%;
}

/* --- Renting Specs Box --- */
.renting-specs-box .showroom-specs-list li {
  border-bottom-color: var(--renting-accent);
}
.renting-specs-box h3 {
  color: var(--renting-accent);
  border-bottom: 2px solid var(--renting-accent);
}

/* --- Renting Equipment --- */
.renting-equipment-main .showroom-equipment-list li i {
  color: var(--renting-accent);
}
.renting-equipment-main h3 {
  color: var(--renting-accent);
  border-bottom: 2px solid var(--renting-accent);
}

/* --- Renting CTA Button --- */
.renting-btn {
  background: var(--renting-accent) !important;
  border-color: var(--renting-accent) !important;
}
.renting-btn:hover {
  background: transparent !important;
  color: var(--renting-accent) !important;
  border-color: var(--renting-accent) !important;
}

/* --- Renting Single Container --- */
.renting-single-container .showroom-single-gallery-thumbs .swiper-slide-thumb-active {
  border-color: var(--renting-accent);
}
.renting-single-container .swiper-button-next,
.renting-single-container .swiper-button-prev {
  color: var(--renting-accent);
}

/* --- Renting Mobile Reorder --- */
@media (max-width: 991px) {
  .renting-single-container .showroom-row {
    display: flex;
    flex-direction: column;
  }
  .renting-single-container .showroom-col-main,
  .renting-single-container .showroom-col-sidebar {
    display: contents;
  }
  .renting-single-container .showroom-title,
  .renting-single-container .showroom-gallery-wrapper,
  .renting-single-container .renting-booqable-button,
  .renting-single-container .showroom-specs-box,
  .renting-single-container .showroom-equipment-main,
  .renting-single-container .showroom-description,
  .renting-single-container .showroom-cta {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }
  /* 1. Title */
  .renting-single-container .showroom-title {
    order: 1;
    width: 100%;
  }
  /* 2. Gallery/Slider */
  .renting-single-container .showroom-gallery-wrapper {
    order: 2;
    width: 100%;
    margin-bottom: 20px;
  }
  /* 3. Booqable Button (after gallery) */
  .renting-single-container .renting-booqable-button {
    order: 3;
    width: 100%;
  }
  /* 4. Specs */
  .renting-single-container .showroom-specs-box {
    order: 4;
    width: 100%;
  }
  /* 5. Description */
  .renting-single-container .showroom-description {
    order: 5;
    width: 100%;
    margin-bottom: 30px;
  }
  /* 6. Equipment */
  .renting-single-container .showroom-equipment-main {
    order: 6;
    width: 100%;
  }
  /* 7. CTA */
  .renting-single-container .showroom-cta {
    order: 7;
    width: 100%;
  }
}

/*# sourceMappingURL=front.css.map */

