/* =========================================================
   Ennya Thai – Responsive enhancements + Mobile Bottom Nav
   Phone / Tablet / Notebook / Desktop
   ========================================================= */

/* Safe area for modern phones (notch / home indicator) */
:root {
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --bottom-nav-h: 64px;
}

/* ---------- Mobile Bottom Navigation ---------- */
.ennya-bottom-nav {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9980;
  background: rgba(18, 11, 7, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(214, 155, 59, 0.22);
  padding-bottom: var(--safe-bottom);
  box-shadow: 0 -8px 32px rgba(0,0,0,.28);
}

.ennya-bottom-nav ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
  height: var(--bottom-nav-h);
}

.ennya-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 100%;
  color: #cbb89a;
  font-size: 10px;
  letter-spacing: .04em;
  text-decoration: none;
  transition: color .2s;
}

.ennya-bottom-nav a svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}

.ennya-bottom-nav a.active,
.ennya-bottom-nav a:hover {
  color: #f0d9a8;
}

.ennya-bottom-nav a.active svg {
  stroke: #e8c46a;
}

/* Push content so it is not hidden behind bottom nav on mobile */
@media (max-width: 900px) {
  body {
    padding-bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 12px);
  }
  .ennya-bottom-nav {
    display: block;
  }
  /* Move floating CTAs above bottom nav */
  .ennya-float {
    bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 16px) !important;
  }
  .cookie-banner {
    bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 12px) !important;
  }
}

/* ---------- Tablet refinements (768–1024) ---------- */
@media (min-width: 601px) and (max-width: 1024px) {
  .hero-section,
  .hero-content {
    min-height: 480px;
  }
  .hero-copy h1 {
    font-size: clamp(42px, 5.5vw, 64px);
  }
  .container {
    width: min(960px, calc(100% - 40px));
  }
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Large desktop polish ---------- */
@media (min-width: 1400px) {
  .container {
    width: min(1240px, calc(100% - 64px));
  }
}

/* ---------- Touch-friendly improvements ---------- */
@media (hover: none) and (pointer: coarse) {
  .btn,
  .filter-chip,
  .ennya-float-btn,
  .nav-toggle {
    min-height: 44px;
    min-width: 44px;
  }
  a, button {
    -webkit-tap-highlight-color: rgba(201, 162, 39, 0.25);
  }
}

/* ---------- Landscape phone ---------- */
@media (max-width: 900px) and (orientation: landscape) {
  .ennya-bottom-nav {
    height: 52px;
  }
  :root {
    --bottom-nav-h: 52px;
  }
  .ennya-bottom-nav a {
    font-size: 9px;
  }
  .ennya-bottom-nav a svg {
    width: 18px;
    height: 18px;
  }
}

/* ---------- Reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .ennya-float-btn,
  .ennya-bottom-nav a {
    transition: none !important;
  }
}

/* Gift voucher highlight card */
.ennya-gift-banner {
  background: linear-gradient(135deg, #1a120c 0%, #2a1c12 100%);
  border: 1px solid rgba(214, 155, 59, 0.35);
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 40px auto;
  max-width: 1100px;
  color: #f5e6d3;
}
.ennya-gift-banner h3 {
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(22px, 3vw, 28px);
  margin: 0 0 6px;
  color: #f0d9a8;
}
.ennya-gift-banner p {
  margin: 0;
  opacity: 0.85;
  font-size: 15px;
}
.ennya-gift-banner .btn {
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .ennya-gift-banner {
    padding: 22px 18px;
    text-align: center;
    justify-content: center;
  }
}

/* ========== Client Reviews ========== */
.ennya-reviews-section {
  background: linear-gradient(180deg, #f7f1e8 0%, #f3ebe0 100%);
}
.ennya-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 8px;
}
.ennya-review-card {
  background: #fff;
  border: 1px solid rgba(180, 140, 60, 0.18);
  border-radius: 16px;
  padding: 26px 24px 22px;
  box-shadow: 0 10px 30px rgba(40, 25, 10, 0.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ennya-review-stars {
  color: #c9a227;
  letter-spacing: 2px;
  font-size: 15px;
}
.ennya-review-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #3a2e24;
  flex: 1;
}
.ennya-review-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 13px;
}
.ennya-review-author strong {
  color: #1a120c;
  font-size: 14px;
}
.ennya-review-author span {
  opacity: 0.65;
  font-size: 12px;
}
.ennya-reviews-summary {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  background: #120b07;
  border-radius: 14px;
  color: #f5e6d3;
}
.ennya-reviews-score {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ennya-reviews-score strong {
  font-size: 32px;
  font-family: var(--serif, Georgia, serif);
  color: #f0d9a8;
}
.ennya-reviews-score span {
  color: #c9a227;
  letter-spacing: 1px;
}
.ennya-reviews-score small {
  display: block;
  opacity: 0.7;
  font-size: 12px;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .ennya-reviews-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .ennya-reviews-grid {
    grid-template-columns: 1fr;
  }
  .ennya-reviews-summary {
    flex-direction: column;
    text-align: center;
    padding: 20px 18px;
  }
  .ennya-reviews-score {
    flex-direction: column;
  }
}
