/* Unified menu bar format across all pages */
html body header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 120 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  border-bottom: 0 !important;
  transform: translateY(0);
  transition: transform 0.34s ease, opacity 0.2s ease;
  opacity: 1;
}

html body header.is-top-collapsed {
  transform: translateY(calc(-100% + 12px));
  opacity: 0.98;
}

html body header.is-top-pinned {
  opacity: 1;
}

html body .top-edge-trigger {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 28px;
  z-index: 119;
  background: transparent;
}

html body header .nav {
  max-width: min(1260px, 96vw) !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.75rem !important;
  padding: 0.7rem 1.2rem !important;
}

html body header .nav-left {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

html body header .logo-dot {
  width: 31px !important;
  height: 31px !important;
  border-radius: 50% !important;
  border: 2px solid #ff6b00 !important;
  box-shadow: 0 0 12px rgba(255, 107, 0, 1) !important;
  object-fit: cover !important;
}

html body header .nav-links,
html body header .menu,
html body header nav ul {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
  justify-content: flex-start !important;
  width: auto !important;
  margin-left: 0.4rem !important;
}

html body header .nav-links a,
html body header .menu a,
html body header nav ul li a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.4rem !important;
  padding: 0.54rem 1.02rem !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  background: rgba(0, 0, 0, 0.75) !important;
  color: #fff !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  font-size: 1.02rem !important;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease !important;
}

html body header .nav-links a:hover,
html body header .menu a:hover,
html body header nav ul li a:hover {
  transform: translateY(-1px) !important;
  background: rgba(0, 0, 0, 1) !important;
  border-color: rgba(255, 255, 255, 0.38) !important;
}

html body header .nav-links a.active,
html body header .menu a.active,
html body header nav ul li a.active,
html body header .nav-links a.cta,
html body header .menu a.cta,
html body header nav ul li a.cta {
  background: rgba(0, 0, 0, 0.75) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #fff !important;
}

html[data-site-mode="desktop"] .nav {
  max-width: min(1320px, 95vw);
  padding: 0.8rem 1.35rem;
  gap: 1rem;
}

html[data-site-mode="desktop"] main {
  max-width: min(1240px, 95vw);
}

html[data-site-mode="desktop"] .nav-links {
  justify-content: flex-start;
}

html[data-site-mode="desktop"] .nav-links a {
  white-space: nowrap;
}

html[data-site-mode="desktop"] .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

html[data-site-mode="desktop"] .shop-toolbar {
  grid-template-columns: 1fr auto;
}

html[data-site-mode="mobile"] body {
  background-attachment: scroll;
}

html[data-site-mode="mobile"] .nav {
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  padding: 0.65rem 0.8rem;
}

html[data-site-mode="mobile"] .nav-left {
  justify-content: center;
}

html[data-site-mode="mobile"] .logo-dot {
  width: 41px;
  height: 41px;
  min-width: 41px;
  min-height: 41px;
  flex: 0 0 41px;
}

html[data-site-mode="mobile"] .nav-links {
  width: 100%;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  justify-content: stretch !important;
}

html[data-site-mode="mobile"] .nav-links a {
  width: 100%;
  justify-content: center;
  text-align: center;
  font-size: 0.864rem;
  line-height: 1.15;
  min-height: 50px;
  white-space: normal;
}

html[data-site-mode="mobile"] main {
  max-width: 100% !important;
  padding: 0.85rem 0.75rem 1.5rem !important;
}

html[data-site-mode="mobile"] .hero {
  padding: 1rem !important;
  gap: 0.8rem;
}

html[data-site-mode="mobile"] .hero-title {
  letter-spacing: 0.06em;
}

html[data-site-mode="mobile"] .hero-tags {
  gap: 0.35rem;
}

html[data-site-mode="mobile"] .hero-tags span {
  font-size: 0.68rem;
  padding: 0.28rem 0.55rem;
}

html[data-site-mode="mobile"] .grid {
  grid-template-columns: 1fr !important;
  gap: 0.8rem !important;
}

html[data-site-mode="mobile"] .two-col {
  grid-template-columns: 1fr !important;
}

html[data-site-mode="mobile"] .cards {
  grid-template-columns: 1fr !important;
}

html[data-site-mode="mobile"] .step-list li {
  margin-bottom: 0.55rem;
}

html[data-site-mode="mobile"] .shop-shell {
  padding: 0.7rem;
}

html[data-site-mode="mobile"] .shop-toolbar {
  grid-template-columns: 1fr !important;
  gap: 0.6rem;
}

html[data-site-mode="mobile"] .chip-row {
  justify-content: flex-start;
}

html[data-site-mode="mobile"] .product-grid {
  grid-template-columns: 1fr !important;
  gap: 0.65rem;
}

html[data-site-mode="mobile"] .product-card {
  max-width: 480px;
  margin: 0 auto;
}

html[data-site-mode="mobile"] .product-card.offer-layout {
  aspect-ratio: 9 / 16;
}

html[data-site-mode="mobile"] .product-actions,
html[data-site-mode="mobile"] .modal-actions {
  grid-template-columns: 1fr !important;
}

html[data-site-mode="mobile"] .shop-headline {
  flex-direction: column;
  align-items: flex-start;
}

html[data-site-mode="mobile"] .hero-metrics {
  grid-template-columns: 1fr;
}

html[data-site-mode="mobile"] .experience-choices {
  grid-template-columns: 1fr 1fr !important;
}

html[data-site-mode="mobile"] .form-grid {
  grid-template-columns: 1fr !important;
}

html[data-site-mode="mobile"] .footer-wrap {
  flex-direction: column;
  align-items: flex-start;
}

@media (max-width: 560px) {
  html[data-site-mode="mobile"] .nav-links {
    grid-template-columns: 1fr;
  }

  html[data-site-mode="mobile"] .experience-choices {
    grid-template-columns: 1fr !important;
  }
}

@media (hover: none), (pointer: coarse) {
  html body header {
    transform: translateY(0) !important;
    opacity: 1 !important;
  }

  html body .top-edge-trigger {
    display: none !important;
  }
}

/* Typography readability for internal pages (fonts only) */
body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main :is(h1, h2, h3, h4, .hero-title, .section-title, .card-title) {
  font-weight: 700 !important;
  letter-spacing: 0.02em;
}

main :is(p, li, label, small, time, .hero-subtitle, .section p, .card p, .note) {
  font-size: 0.9rem !important;
  line-height: 1.55 !important;
  color: #f2f6fb;
}

main :is(h2, .section-title) {
  font-size: 1rem !important;
}

main :is(h3, .card-title) {
  font-size: 0.9rem !important;
}

/* Activity offer badge (cocarde sac a dos) */
main .card,
main .price-card,
main .section,
main .panel {
  position: relative;
}

.activity-offer-badge {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.02rem;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(4px);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  z-index: 2;
}

.activity-offer-badge:hover {
  transform: translateY(-1px) scale(1.05);
  background: rgba(255, 107, 0, 0.92);
  border-color: rgba(255, 255, 255, 0.72);
}
