/* Site-wide responsive polish: safe touch targets, overflow guards, mobile readability. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
svg {
  max-width: 100%;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: rgba(196, 169, 98, 0.18);
}

.btn,
button,
.cart-trigger,
.hamburger,
.nav-insta,
.filter-btn,
.add-to-cart-btn,
.checkout-submit,
.pricing-toggle,
.hidden-toggle-btn,
.hw-toggle {
  touch-action: manipulation;
}

.btn,
.cart-trigger,
.hamburger,
.nav-insta,
.filter-btn,
.checkout-submit,
.pricing-toggle,
.hidden-toggle-btn,
.hw-toggle {
  min-height: 44px;
}

/* min-height alone leaves inline-block text hugging the top — center it */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

/* Tap-target sizing only; page CSS stays in charge of visibility
   (.hamburger is desktop-hidden, .nav-insta is mobile-hidden) */
.hamburger,
.nav-insta,
.cart-trigger,
.lang-btn {
  min-width: 44px;
  min-height: 32px;
}

.cart-trigger,
.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Center hamburger / instagram content only at the widths where pages show them */
@media (max-width: 860px) {
  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (min-width: 861px) {
  .nav-insta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}

/* ── Unified site header — one look on every page ── */
nav.nav {
  height: 72px;
  padding: 0 clamp(1rem, 4vw, 3rem);
  background: rgba(250, 250, 248, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* zero specificity: the homepage keeps its scroll-revealed border */
:where(nav.nav) {
  border-bottom: 1px solid #E5E3DE;
}

/* !important beats the per-page inline height styles on the logo */
.nav .nav-logo img {
  height: 46px !important;
  width: auto !important;
}

.nav .nav-links {
  gap: clamp(1rem, 3vw, 2.2rem);
}

.nav .nav-links a {
  font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1A1A1A;
  text-decoration: none;
}

/* current page indicator (after the color rule above so it wins) */
.nav .nav-links a[aria-current="page"],
.nav-links a[aria-current="page"] {
  color: #C4A962;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

/* right side of the header: icon + booking CTA (+ cart on shop pages) */
.nav .nav-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav .nav-insta {
  color: #1A1A1A;
}

.nav .nav-insta svg {
  width: 20px;
  height: 20px;
}

.nav .nav-book {
  background: #C4A962;
  color: #fff;
  padding: 0.6rem 1.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  white-space: nowrap;
  transition: background 0.25s;
}

.nav .nav-book:hover {
  background: #b8953d;
}

@media (max-width: 860px) {
  .nav .nav-logo img { height: 40px !important; }
  .nav-insta { display: none; }
  .nav .nav-right { gap: 0.5rem; }
  .nav .nav-book { font-size: 0.65rem; padding: 0.5rem 0.8rem; letter-spacing: 0.04em; }
}

.product-card,
.service-card,
.news-card,
.insta-item {
  min-width: 0;
}

.services-scroll,
.filters {
  max-width: 100%;
  overscroll-behavior-inline: contain;
}

@media (max-width: 900px) {
  .nav-links.open a,
  .nav-links a {
    min-height: 44px;
  }

  .footer-grid,
  .about-details,
  .news-grid,
  .products-grid,
  .brand-grid,
  .article-grid,
  .cards-grid {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  body {
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
  }

  .add-to-cart-btn,
  .card-var-pill,
  .cart-item-qty button,
  .cart-close {
    min-height: 36px;
    min-width: 36px;
  }

  .filter-btn {
    min-height: 42px;
  }

  .nav-logo img {
    max-height: 44px;
    width: auto;
  }

  .footer-bottom {
    align-items: flex-start;
  }

  .section-tag,
  .brand-meta,
  .product-card-series,
  .product-card-article,
  .product-card-volume,
  .footer-bottom,
  .updated {
    font-size: max(0.72rem, 12px);
  }
}
