/* ============================================================
   SECTION: SHOP (その他御利用施設 - 体験施設や健康ショップ)
   ============================================================ */

.shop {
  position: relative;
  background-color: #f4f6f9;
  padding: 80px 0 100px;
  overflow: clip;
  z-index: 1;
}

@media (min-width: 1024px) {
  .shop {
    padding: 100px 0 120px;
  }
}

.shop__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* 1. Header - Kế thừa style từ schedule__header (Căn trái, capsule gradient vàng đồng) */
.shop__header {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 48px;
}

@media (min-width: 1024px) {
  .shop__header {
    margin-bottom: 80px;
  }
}

.shop__tag {
  display: inline-block;
  background: linear-gradient(90deg, #996213 0%, #e7cd59 55%, #996213 100%);
  color: var(--color-navy-deep);
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
}

.shop__title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-navy-deep);
  letter-spacing: 0.03em;
  margin: 0 0 16px;
}

@media (min-width: 1024px) {
  .shop__title {
    font-size: 36px;
  }
}

.shop__divider {
  display: block;
  width: 60px;
  height: 2px;
  background-color: var(--color-orange);
}

/* 2. Shop Cards List */
.shop__list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.shop-card {
  position: relative;
  background: #f7f7f7;
  border-radius: 10px;
  padding: 36px 36px 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

/* Badge số tròn màu Navy đậm - Nằm tràn góc trên bên trái card */
.shop-card__badge {
  position: absolute;
  top: -32px;
  left: -32px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #050533;
  color: #ffffff;
  border: 3px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  box-shadow: 0 4px 14px rgba(5, 5, 51, 0.25);
  z-index: 2;
}

/* Hàng trên (Thông tin + Ảnh lớn) */
.shop-card__top {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}

.shop-card__info {
  flex: 1;
  padding-top: 12px;
}

.shop-card__sub {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: #323232;
  margin-bottom: 10px;
  text-indent: 20px;
  letter-spacing: 0.03em;
}

/* Tiêu đề có vạch đứng bên trái (border-left chuẩn Figma) */
.shop-card__title {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
  color: #323232;
  margin: 0 0 18px;
  letter-spacing: 0.03em;
  border-left: 1.5px solid #323232;
  padding-left: 18px;
}

.shop-card__desc {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 2.2;
  color: #323232;
  letter-spacing: 0.03em;
  margin: 0;
}

.shop-card__main-img {
  width: 491px;
  flex-shrink: 0;
  aspect-ratio: 491 / 367;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.shop-card__main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hàng dưới (3 ảnh nhỏ - Cắt hình bình hành chuẩn Figma vector) */
.shop-card__bottom {
  display: flex;
  gap: 20px;
  margin-top: 36px;
}

.shop-card__sub-img {
  flex: 1;
  aspect-ratio: 385 / 211;
  overflow: hidden;
  clip-path: polygon(10.14% 0, 100% 0, 89.86% 100%, 0 100%);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.06));
}

.shop-card__sub-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .shop-card {
    padding: 36px 28px 40px;
  }

  .shop-card__badge {
    top: -26px;
    left: -20px;
    width: 70px;
    height: 70px;
    font-size: 30px;
  }

  .shop-card__main-img {
    width: 44%;
  }

  .shop-card__title {
    font-size: 24px;
    padding-left: 14px;
  }

  .shop-card__desc {
    font-size: 16px;
    line-height: 1.9;
  }

  .shop-card__bottom {
    gap: 14px;
    margin-top: 24px;
  }
}

@media (max-width: 768px) {
  .shop {
    padding: 60px 0 80px;
  }

  .shop__header {
    margin-bottom: 40px;
  }

  .shop__tag {
    font-size: 14px;
    padding: 4px 16px;
    margin-bottom: 12px;
  }

  .shop__title {
    font-size: 24px;
    margin-bottom: 14px;
    letter-spacing: 0.05em;
  }

  .shop__list {
    gap: 40px;
  }

  .shop-card {
    padding: 60px 20px 28px;
    border-radius: 10px;
  }

  .shop-card__badge {
    width: 60px;
    height: 60px;
    font-size: 24px;
    top: -18px;
    left: -12px;
    border: 2.5px solid #ffffff;
  }

  .shop-card__top {
    flex-direction: column;
    gap: 16px;
  }

  .shop-card__info {
    padding-top: 0;
    width: 100%;
  }

  .shop-card__sub {
    font-size: 13px;
    margin-bottom: 6px;
    padding-left: 0;
    line-height: 1.4;
    text-indent: 0;
  }

  .shop-card__title {
    font-size: 20px;
    margin-bottom: 16px;
    padding-left: 12px;
    line-height: 1.3;
    border-left: 1.5px solid #323232;
  }

  .shop-card__main-img {
    width: 100%;
    aspect-ratio: 328 / 245;
    margin-bottom: 16px;
  }

  .shop-card__desc {
    font-size: 15px;
    line-height: 1.8;
  }

  /* 3 ảnh nhỏ xếp so le bậc thang chuẩn Frame 1000007208 */
  .shop-card__bottom {
    display: flex;
    flex-direction: column;
    margin-top: 24px;
    gap: 0;
  }

  .shop-card__sub-img {
    width: 68%;
    aspect-ratio: 216 / 118;
    clip-path: polygon(10.14% 0, 100% 0, 89.86% 100%, 0 100%);
  }

  .shop-card__sub-img:nth-child(1) {
    align-self: flex-start;
    margin-bottom: -18px;
    position: relative;
    z-index: 1;
  }

  .shop-card__sub-img:nth-child(2) {
    align-self: flex-end;
    margin-bottom: -18px;
    position: relative;
    z-index: 2;
  }

  .shop-card__sub-img:nth-child(3) {
    align-self: flex-start;
    position: relative;
    z-index: 3;
  }
}
