/* ================================
   OLEH-OLEH — grid card produk
================================ */
.oleh-oleh {
  background: var(--cream-bg);
  padding: 3rem 1.5rem 4rem;
}

.oleh-oleh__container {
  max-width: 1200px;
  margin: 0 auto;
}

.oleh-oleh__intro {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2rem;
  text-align: center;
  line-height: 1.6;
}

.oleh-oleh__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.oleh-oleh__card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(6, 32, 47, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.oleh-oleh__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(6, 32, 47, 0.14);
}

.oleh-oleh__card {
  cursor: pointer;
}

.oleh-oleh__card:focus-visible {
  outline: 3px solid var(--teal-accent);
  outline-offset: 2px;
}

.oleh-oleh__card-img {
  height: 150px;
  background-size: cover;
  background-position: center;
}

.oleh-oleh__card-body {
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.oleh-oleh__card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy-primary);
  margin-bottom: 0.3rem;
}

.oleh-oleh__card-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy-dark);
  margin-bottom: 0.9rem;
  flex-grow: 1;
}

.oleh-oleh__card-price span {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.oleh-oleh__card-cta {
  display: block;
  text-align: center;
  font-size: 0.85rem;
  padding: 0.6rem 1rem;
}

.oleh-oleh__note {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-style: italic;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1.75rem;
}

/* ================================
   RESPONSIVE — OLEH-OLEH GRID
================================ */
@media (max-width: 900px) {
  .oleh-oleh__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .oleh-oleh__grid {
    grid-template-columns: 1fr;
  }
}

/* ================================
   MODAL DETAIL PRODUK
================================ */
.oleh-oleh-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.oleh-oleh-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.oleh-oleh-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 32, 47, 0.6);
  backdrop-filter: blur(2px);
}

.oleh-oleh-modal__box {
  position: relative;
  background: var(--white);
  border-radius: 18px;
  max-width: 440px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(6, 32, 47, 0.35);
  transform: scale(0.94) translateY(10px);
  transition: transform 0.25s ease;
}

.oleh-oleh-modal.is-open .oleh-oleh-modal__box {
  transform: scale(1) translateY(0);
}

.oleh-oleh-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(6, 32, 47, 0.55);
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s ease;
}

.oleh-oleh-modal__close:hover {
  background: var(--navy-dark);
}

.oleh-oleh-modal__img {
  height: 220px;
  background-size: cover;
  background-position: center;
  border-radius: 18px 18px 0 0;
  background-color: var(--cream-bg);
}

.oleh-oleh-modal__body {
  padding: 1.5rem 1.5rem 1.75rem;
}

.oleh-oleh-modal__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy-primary);
  margin-bottom: 0.4rem;
}

.oleh-oleh-modal__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy-dark);
  margin-bottom: 0.9rem;
}

.oleh-oleh-modal__price span {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.oleh-oleh-modal__desc {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.oleh-oleh-modal__cta {
  display: block;
  text-align: center;
}

/* ================================
   RESPONSIVE — MODAL (mobile: slide-up dari bawah)
================================ */
@media (max-width: 560px) {
  .oleh-oleh-modal {
    align-items: flex-end;
    padding: 0;
  }

  .oleh-oleh-modal__box {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 18px 18px 0 0;
    transform: translateY(100%);
  }

  .oleh-oleh-modal.is-open .oleh-oleh-modal__box {
    transform: translateY(0);
  }
}
