/* ========================================
   Featured Stores
   ======================================== */
.featured-stores {
  background-color: #e4ede4;
  overflow: hidden;
  padding-bottom: 70px;
}

.featured-stores .wrapper {
  position: relative;
}

.featured-stores h2 {
  color: #52a382;
  margin-bottom: 15px;
}

.featured-stores .carousel {
  position: relative;
}

.featured-stores .next,
.featured-stores .prev {
  line-height: 1;
  position: absolute;
  right: 0;
  top: 0;
  width: 38px;
  height: 38px;
  z-index: 10;
  transform: translateY(-100%);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.featured-stores .prev {
  right: 45px;
}

.featured-stores .next.swiper-button-disabled,
.featured-stores .prev.swiper-button-disabled {
  cursor: default;
  opacity: 0.3;
}

@media (max-width: 767px) {
  .featured-stores h2 {
    padding-right: 95px;
    min-height: 38px;
    display: flex;
    align-items: center;
  }

  .featured-stores .next,
  .featured-stores .prev {
    top: -17px;
  }

  .featured-stores .next {
    right: 0;
  }

  .featured-stores .prev {
    right: 45px;
  }
}

@media (min-width: 768px) {
  .featured-stores .next,
  .featured-stores .prev {
    font-size: 12px;
    transform: none;
    top: -55px;
  }
}

.featured-stores .next .icon,
.featured-stores .prev .icon {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  border: 1px solid #52a382;
  border-radius: 50%;
  color: #52a382;
  width: 38px;
  height: 38px;
  transition:
    margin 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.featured-stores .prev:hover .icon,
.featured-stores .next:hover .icon {
  background-color: #3a735d;
  border-color: #3a735d;
  color: #fff;
}

.featured-stores .next.swiper-button-disabled:hover .icon,
.featured-stores .prev.swiper-button-disabled:hover .icon {
  background-color: transparent;
  border-color: #52a382;
  color: #52a382;
  margin: 0;
}

.featured-stores .swiper-container {
  margin: 0 -15px;
  overflow: hidden;
}

.featured-stores .swiper-wrapper {
  align-items: stretch;
}

.featured-stores .swiper-slide {
  padding: 0 15px;
  height: auto;
  box-sizing: border-box;
  display: flex;
}

.featured-stores .tile {
  background: transparent;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.featured-stores .tile a {
  text-decoration: none;
}

.featured-stores .tile a.phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.featured-stores .tile a:hover .title {
  color: #52a382;
  text-decoration: underline;
}

.featured-stores .image {
  position: relative;
  display: block;
  height: 0;
  overflow: hidden;
  padding-bottom: 56.25%;
  z-index: 1;
  flex-shrink: 0;
}

.featured-stores .image > a {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.featured-stores .image > a > img {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Use From The Hub hover effect for featured stores */
.featured-stores .circle {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0;
  display: block;
}

.featured-stores .circle .circle-large {
  position: absolute;
  padding: 0;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 10%;
  transition:
    width 0.3s ease,
    opacity 0.3s ease,
    visibility 0.3s ease;
  transition-delay: 0s;
  z-index: 1;
  opacity: 0.2;
  visibility: hidden;
  right: auto;
  bottom: auto;
}

.featured-stores .circle .circle-large path {
  fill: #75a889;
}

.featured-stores .circle .icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 40px;
  height: 40px;
  color: #fff;
  font-size: 24px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
  transition-delay: 0s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Hover state effects - same as From The Hub */
@media (min-width: 1025px) {
  .featured-stores .tile:hover .image .circle .circle-large {
    width: 150%;
    opacity: 0.8;
    transition-delay: 0s;
    visibility: visible;
    right: auto;
    bottom: auto;
  }

  .featured-stores .tile:hover .image .circle .icon {
    opacity: 1;
    transition-delay: 0.1s;
  }

  .featured-stores .tile:hover .foreground .inner a .title {
    color: #52a382;
    text-decoration: underline;
  }
}

.featured-stores a:hover .title {
  color: #52a382;
  text-decoration: underline;
}

.featured-stores .image .logo {
  position: absolute;
  right: 20px;
  bottom: 50px;
  width: 70px;
  height: 70px;
  background-color: #fff;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
  .featured-stores .image .logo {
    right: 16px;
    width: 90px;
    height: 90px;
    bottom: 55px;
  }
}

.featured-stores .image .logo img {
  position: absolute;
  display: block;
  top: 8px;
  left: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  object-fit: contain;
}

.featured-stores .foreground {
  margin-top: -30px;
  padding-left: 24px;
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.featured-stores .inner {
  padding: 20px 20px 24px;
  background-color: #fff;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  height: 100%;
}

@media (min-width: 768px) {
  .featured-stores .inner {
    padding: 24px;
  }
}

.featured-stores .title {
  font-family: Aleo, Arial, 'Helvetica Neue', Helvetica, sans-serif;
  color: #2c2a29;
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 5px;
  margin-top: 0;
  display: block;
  font-weight: 400;
  padding-left: 0;
}

.featured-stores .phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #58595b;
  font-size: 13px;
  text-decoration: none;
  margin-bottom: 12px;
}

.featured-stores .phone .icon {
  color: #52a382;
  transform: rotate(90deg);
  font-size: 11px;
  display: inline-block;
  padding-left: 0;
}

.featured-stores .phone:hover {
  color: #52a382;
}

.featured-stores .description {
  color: #58595b;
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 16px;
  margin-top: 0;
}

.featured-stores .category {
  color: #52a382;
  font-weight: 600;
  text-align: left;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .featured-stores {
    padding-bottom: 40px;
  }
}
