/* ============================================================
   Dine Inner Page
   ============================================================ */

/* ── Dine Detail ── */

.dip-detail {
  background: var(--color-page-bg);
  padding: 80px;
}

.dip-detail-wrap {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

/* Left content column */

.dip-detail-content {
  flex: 0 1 661px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.dip-detail-meta {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.dip-detail-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dip-detail-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 40px;
  line-height: 52px;
  color: var(--color-purple);
  margin: 0;
}

.dip-detail-desc {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  text-align: justify;
  color: #333333;
  margin: 0;
}

.dip-detail-level {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  color: #6f6b66;
  display: block;
}

.dip-detail-divider {
  border: none;
  border-top: 1px solid #e1e1e1;
  margin: 0;
}

/* Category tags */

.dip-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dip-detail-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  height: 44px;
  background: #ffffff;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: -0.5px;
  color: #000000;
}

/* Visit Website CTA */

.dip-detail-cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 203px;
  height: 58px;
  background-image: var(--gradient-btn-pill);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  border: 0;
  border-radius: 30px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: -0.5px;
}
.dip-detail-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 2px;
  background: var(--gradient-btn-pill);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.dip-detail-cta::after {
  content: none;
}

.dip-detail-cta img {
  width: 13px;
  height: 13px;
}

/* Right: image gallery */

.dip-detail-gallery {
  flex: 0 1 603px;
  display: flex;
  align-items: center;
  gap: 19px;
  height: 445px;
}

.dip-detail-thumbs {
  flex: 0 0 139px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  height: 445px;
}

.dip-detail-thumbs img {
  width: 139px;
  height: 139px;
  border-radius: 15px;
  object-fit: cover;
  display: block;
}

.dip-detail-main-img {
  flex: 0 0 445px;
  width: 445px;
  height: 445px;
  border-radius: 15px;
  object-fit: cover;
  display: block;
}

/* ── Map Section ── */

.dip-map {
  background: var(--color-page-bg);
  padding: 80px;
}

.dip-map-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 32px;
  line-height: 40px;
  color: var(--color-purple);
  text-align: center;
  margin: 0 0 40px;
}

.dip-map-container {
  max-width: 980px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
}

.dip-map-body {
  position: relative;
}

.dip-map-img {
  display: block;
  width: 100%;
  height: auto;
}

/* Marker: pin + tooltip stacked, anchored by pin tip */
.dip-map-marker {
  position: absolute;
  left: 59%;
  top: 31.5%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Location pin — rounded rectangle with downward triangle tip */
.dip-map-pin {
  width: 38px;
  height: 38px;
  background: #131211;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  margin-bottom: 6px;
  flex-shrink: 0;
}

.dip-map-pin::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background: #ffffff;
  border-radius: 50%;
}

.dip-map-tooltip {
  position: relative;
  background: #131211;
  border-radius: 10px;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 26px;
  line-height: 34px;
  color: #ffffff;
  white-space: nowrap;
}

/* Downward pointer triangle */
.dip-map-tooltip::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #131211;
}

/* ── More Dine ── */

.dip-more {
  background: var(--color-page-bg);
  padding: 80px;
}

.dip-more-wrap {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.dip-more-head {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.dip-more-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 32px;
  line-height: 40px;
  color: var(--color-purple);
  margin: 0;
}

.dip-more-cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  height: 48px;
  background-image: var(--gradient-btn-pill);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  border: 0;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.dip-more-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 2px;
  background: var(--gradient-btn-pill);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.dip-more-cta::after {
  content: none;
}

.dip-more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.dip-more-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Card image with zoom-on-hover (same pattern as dine.css) */

.dip-more-card-img {
  display: block;
  width: 100%;
  height: 500px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.dip-more-card-img::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(331.19deg, rgba(87, 8, 150, 0.2) 24.33%, rgba(173, 20, 191, 0) 58.71%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 77.9%);
}

.dip-more-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--store-img);
  background-size: cover;
  background-position: center;
  transition: transform 80ms ease-out;
}

.dip-more-card:hover .dip-more-card-img::after {
  transform: scale(1.08);
}

.dip-more-card-img--kfc::after     { background-image: url('../images/dine/shops/KFC.webp'); }
.dip-more-card-img--cheers::after  { background-image: url('../images/dine/shops/Frame 105-1.webp'); }
.dip-more-card-img--layards::after { background-image: url('../images/dine/shops/Rectangle 14.webp'); }

.dip-more-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dip-more-card-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 32px;
  line-height: 32px;
  color: #131211;
  display: block;
}

.dip-more-card-level {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 25px;
  color: #333333;
  display: block;
}

/* ── Responsive: mobile ── */

@media (max-width: 768px) {
  .dip-detail {
    padding: 48px 24px;
  }

  .dip-detail-wrap {
    flex-direction: column;
    gap: 40px;
  }

  .dip-detail-content {
    flex: none;
    width: 100%;
  }

  .dip-detail-name {
    font-size: 32px;
    line-height: 40px;
  }

  .dip-detail-gallery {
    flex: none;
    width: 100%;
    height: auto;
    flex-direction: column;
    gap: 12px;
  }

  .dip-detail-thumbs {
    flex: none;
    flex-direction: row;
    width: 100%;
    gap: 8px;
  }

  .dip-detail-thumbs img {
    width: 100%;
    flex: 1;
    height: 80px;
  }

  .dip-detail-main-img {
    flex: none;
    width: 100%;
    height: 280px;
  }

  .dip-map {
    padding: 48px 24px;
  }

  .dip-map-heading {
    font-size: 26px;
    line-height: 32px;
    margin-bottom: 24px;
  }

  .dip-map-pin {
    width: 26px;
    height: 26px;
  }

  .dip-map-tooltip {
    font-size: 14px;
    line-height: 20px;
    padding: 6px 10px;
  }

  .dip-more {
    padding: 48px 24px;
  }

  .dip-more-wrap {
    gap: 32px;
  }

  .dip-more-heading {
    font-size: 26px;
    line-height: 32px;
  }

  .dip-more-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .dip-more-card-img {
    height: 300px;
  }

  .dip-more-card-name {
    font-size: 24px;
    line-height: 28px;
  }
}
