/* Shop UI enhancements — Mlimani City Cars */

.shop-hero {
  position: relative;
  padding: 3.5rem 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.shop-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(6, 38, 75, 0.92) 0%,
    rgba(6, 38, 75, 0.75) 55%,
    rgba(252, 101, 57, 0.55) 100%
  );
}

.shop-hero .container {
  position: relative;
  z-index: 1;
}

.shop-hero__title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  text-align: center;
  margin-bottom: 0.5rem;
}

.shop-hero__crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.shop-hero__crumb a {
  color: #fff;
  transition: color 0.2s ease;
}

.shop-hero__crumb a:hover {
  color: #fc6539;
}

.shop-hero__crumb-sep {
  opacity: 0.45;
}

.shop-layout {
  padding: 3.5rem 0 4.5rem;
  background: #f7f8fa;
}

.shop-filter {
  background: #fff;
  border: 1px solid #e8eaee;
  padding: 1.25rem 1.15rem;
  margin-bottom: 1.25rem;
}

.shop-filter__title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #06264b;
  margin: 0 0 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid #fc6539;
}

.shop-filter__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shop-filter__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.shop-filter__item:last-child {
  margin-bottom: 0;
}

.shop-filter__link {
  color: #1f2226;
  font-weight: 500;
  transition: color 0.2s ease;
}

.shop-filter__link:hover {
  color: #fc6539;
}

.shop-filter__count {
  min-width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f0f2f5;
  color: #06264b;
  font-size: 0.75rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.shop-filter__item:hover .shop-filter__count {
  background: #fc6539;
  color: #fff;
}

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #fff;
  border: 1px solid #e8eaee;
  padding: 1rem 1.15rem;
  margin-bottom: 1.5rem;
}

.shop-search {
  position: relative;
  flex: 1 1 16rem;
  max-width: 22rem;
}

.shop-search input {
  width: 100%;
  height: 2.75rem;
  border: 1px solid #d8dce3;
  padding: 0 3rem 0 1rem;
  background: #fff;
  color: #1f2226;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.shop-search input:focus {
  border-color: #fc6539;
}

.shop-search button {
  position: absolute;
  top: 0;
  right: 0;
  width: 2.75rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-left: 1px solid #d8dce3;
  background: #06264b;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.shop-search button:hover {
  background: #fc6539;
}

.shop-toolbar__meta {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0;
}

.shop-toolbar__meta strong {
  color: #06264b;
}

.shop-card {
  background: #fff;
  border: 1px solid #e8eaee;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.shop-card:hover {
  border-color: #d0d5dd;
  box-shadow: 0 14px 32px rgba(6, 38, 75, 0.1);
  transform: translateY(-3px);
}

.shop-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #eef1f5;
}

.shop-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.shop-card:hover .shop-card__media img {
  transform: scale(1.05);
}

.shop-card__badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 1;
  background: rgba(6, 38, 75, 0.9);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
}

.shop-card__price {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: #fc6539;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.55rem 0.85rem;
  border: none;
  cursor: default;
}

.shop-card__body {
  padding: 1.1rem 1.15rem 0.85rem;
  flex: 1;
}

.shop-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.45rem;
  color: #06264b;
}

.shop-card__title a {
  color: inherit;
  transition: color 0.2s ease;
}

.shop-card__title a:hover {
  color: #fc6539;
}

.shop-card__location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #6b7280;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.shop-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.shop-card__spec {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #f3f5f8;
  color: #1f2226;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.3rem 0.55rem;
}

.shop-card__spec i {
  color: #fc6539;
  font-size: 0.75rem;
}

.shop-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding: 0.9rem 1.15rem;
  border-top: 1px solid #eef1f5;
}

.shop-card__year {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #4b5563;
  font-size: 0.8rem;
  font-weight: 500;
}

.shop-card__cta {
  display: inline-block;
  background: #06264b;
  color: #fff !important;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.65rem 0.9rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.shop-card__cta:hover {
  background: #fc6539;
}

.shop-empty {
  width: 100%;
  text-align: center;
  background: #fff;
  border: 1px dashed #d0d5dd;
  padding: 3.5rem 1.5rem;
}

.shop-empty__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #06264b;
  margin-bottom: 0.35rem;
}

.shop-empty__text {
  color: #6b7280;
  margin: 0;
}

.shop-pagination {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.shop-pagination nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.shop-pagination .page-link,
.shop-pagination a,
.shop-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.65rem;
  background: #fff;
  border: 1px solid #e8eaee;
  color: #06264b;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.shop-pagination a:hover {
  border-color: #fc6539;
  color: #fc6539;
}

.shop-pagination .active span,
.shop-pagination [aria-current="page"] span {
  background: #06264b;
  border-color: #06264b;
  color: #fff;
}

/* Detail page */
.shop-detail {
  padding: 3rem 0 4rem;
  background: #f7f8fa;
}

.shop-detail__gallery {
  background: #fff;
  border: 1px solid #e8eaee;
  padding: 1rem;
}

.shop-detail__gallery .gallery img,
.shop-detail__gallery .gallery-nav img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.shop-detail__panel {
  background: #fff;
  border: 1px solid #e8eaee;
  padding: 1.75rem 1.5rem;
  height: 100%;
}

.shop-detail__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fc6539;
  margin-bottom: 0.5rem;
}

.shop-detail__title {
  font-size: 1.65rem;
  font-weight: 700;
  color: #06264b;
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

.shop-detail__price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fc6539;
  margin: 0 0 1.25rem;
}

.shop-detail__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.shop-detail__fact {
  background: #f3f5f8;
  padding: 0.75rem 0.85rem;
}

.shop-detail__fact-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
  margin-bottom: 0.15rem;
}

.shop-detail__fact-value {
  font-weight: 600;
  color: #06264b;
  font-size: 0.9rem;
}

.shop-detail__comment {
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.shop-detail__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 0.9rem 1rem;
  background: #06264b;
  color: #fff;
  margin-bottom: 1.25rem;
}

.shop-detail__contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.8;
}

.shop-detail__contact-phone {
  font-weight: 600;
  font-size: 1rem;
}

.shop-detail__cta {
  width: 100%;
  background: #fc6539;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1rem 1.25rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.shop-detail__cta:hover {
  background: #06264b;
}

.shop-specs {
  padding: 0 0 3.5rem;
  background: #f7f8fa;
}

.shop-specs__block {
  background: #fff;
  border: 1px solid #e8eaee;
  padding: 1.75rem 1.5rem;
  margin-bottom: 1.25rem;
}

.shop-specs__heading {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #06264b;
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #fc6539;
}

.shop-specs__grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .shop-specs__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.shop-specs__col-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fc6539;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.65rem;
}

.shop-specs__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shop-specs__list li {
  padding: 0.4rem 0;
  border-bottom: 1px solid #f0f2f5;
  color: #374151;
  font-size: 0.875rem;
}

.shop-specs__list li:last-child {
  border-bottom: none;
}

.shop-related {
  padding: 1rem 0 4rem;
  background: #f7f8fa;
}

.shop-related__title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #06264b;
  margin-bottom: 1.5rem;
}

@media (max-width: 991px) {
  .shop-detail__facts {
    grid-template-columns: 1fr;
  }

  .shop-hero__title {
    font-size: 1.6rem;
  }
}

.shop-home-search {
  position: relative;
  z-index: 5;
  margin-top: -1.5rem;
  background: #06264b;
  box-shadow: 0 10px 28px rgba(6, 38, 75, 0.2);
}

.shop-home-search form {
  background: transparent;
}

.hero-slider .swiper-pagination {
  bottom: 1.25rem !important;
}
