:root {
  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light;
  color: #111217;
  background-color: #ffffff;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
}

body {
  margin: 0;
  display: flex;
  place-items: center;
  min-width: 320px;
  min-height: 100vh;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}
button:hover {
  border-color: #646cff;
}
button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

@media (prefers-color-scheme: light) {
  :root {
    color: #111217;
    background-color: #ffffff;
  }
  a:hover {
    color: #747bff;
  }
  button {
    background-color: #f9f9f9;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  background-color: #f3f4f6;
}

#root {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  color: #111217;
  background: #ffffff;
}

body.theme-dark {
  background-color: #050608;
}

body.theme-dark #root {
  background: #050608;
  color: #f5f5f7;
}

body.theme-dark .detail-main {
  color: #f5f5f7;
}

body.theme-dark .detail-header {
  background: #15171c;
}

body.theme-dark .detail-header p {
  color: #f5f5f7;
}

body.theme-dark .detail-section {
  background: #121318;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.6);
}

body.theme-dark .detail-text h2 {
  color: #f0c56a;
}

body.theme-dark .detail-text p {
  color: #f5f5f7;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
}

.screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.language-screen {
  background: linear-gradient(135deg, #003a5d 0%, #004d7a 30%, #005a8f 60%, #0071b8 100%);
  position: relative;
}

.language-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/images/heroes/hero-guide.jpg') center/cover no-repeat;
  opacity: 0.15;
  pointer-events: none;
}

.language-hero {
  position: relative;
  padding: 3rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.language-hero-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.language-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.language-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid rgba(220, 181, 92, 0.9);
  background-image: url('/images/RG.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #ffffff;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.8);
  animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.language-brand {
  text-align: center;
  color: #ffffff;
}

.language-brand-name {
  font-size: 28px;
  font-weight: 700;
  color: #f0c56a;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.5),
    0 1px 3px rgba(240, 197, 106, 0.5);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.language-brand-tagline {
  font-size: 14px;
  color: #dcb55c;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.95;
}

.language-content {
  position: relative;
  flex: 1;
  padding: 2rem 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.language-intro {
  text-align: center;
  margin-bottom: 2.5rem;
  color: #ffffff;
}

.language-intro-title {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 1rem;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.language-intro-text {
  font-size: 16px;
  margin: 0 0 0.5rem;
  color: #f0f0f0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.language-hint {
  margin-top: 0.5rem;
  font-size: 13px;
  color: #dcb55c;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  opacity: 0.95;
}

.language-grid {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: 500px;
}

.language-card {
  width: 140px;
  height: 180px;
  border-radius: 24px;
  padding: 0;
  border: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
  backdrop-filter: blur(10px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.language-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(220, 181, 92, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.language-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.4),
    0 4px 16px rgba(220, 181, 92, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.25) 100%);
}

.language-card:hover::before {
  opacity: 1;
}

.language-card:active {
  transform: translateY(-4px) scale(1.02);
}

.language-card--active {
  background: linear-gradient(135deg, rgba(220, 181, 92, 0.5) 0%, rgba(220, 181, 92, 0.35) 100%);
  border: 2px solid rgba(220, 181, 92, 0.8);
  box-shadow:
    0 12px 40px rgba(220, 181, 92, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.language-card--active::before {
  opacity: 1;
}

.language-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.language-flag {
  font-size: 64px;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.language-card:hover .language-flag {
  transform: scale(1.15) rotate(5deg);
}

.language-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 640px) {
  .language-hero {
    padding: 2rem 1rem 1.5rem;
  }

  .language-logo {
    width: 100px;
    height: 100px;
  }

  .language-brand-name {
    font-size: 24px;
  }

  .language-brand-tagline {
    font-size: 12px;
  }

  .language-content {
    padding: 1.5rem 1rem 2.5rem;
  }

  .language-intro-title {
    font-size: 26px;
  }

  .language-intro-text {
    font-size: 14px;
  }

  .language-grid {
    gap: 1rem;
  }

  .language-card {
    width: 120px;
    height: 160px;
  }

  .language-flag {
    font-size: 52px;
  }

  .language-label {
    font-size: 12px;
  }
}

.mobile-shell {
  padding: 0;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px 10px;
  background: linear-gradient(135deg, #003a5d 0%, #00324f 50%, #002a42 100%);
  color: #ffffff;
  box-shadow:
    0 4px 16px rgba(0, 50, 79, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
}

.top-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(220, 181, 92, 0.5) 20%,
    rgba(220, 181, 92, 0.8) 50%,
    rgba(220, 181, 92, 0.5) 80%,
    transparent 100%);
}

.top-bar-brand {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
  align-items: center;
}

.app-logo-small {
  font-size: 19px;
  font-weight: 700;
  color: #f0c56a;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.3),
    0 1px 2px rgba(240, 197, 106, 0.5);
  letter-spacing: 0.03em;
}

.app-tagline-small {
  font-size: 11px;
  color: #dcb55c;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.02em;
}

.home-button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(220, 181, 92, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.18);
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.home-button:hover {
  transform: scale(1.1);
  border-color: rgba(220, 181, 92, 1);
}

.home-button:active {
  transform: scale(1.02);
}

.theme-toggle-button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(220, 181, 92, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.18);
  font-size: 16px;
  margin-left: auto;
  filter: brightness(1.5);
  transition: all 0.3s ease;
  cursor: pointer;
}

.theme-toggle-button:hover {
  transform: scale(1.1);
  border-color: rgba(220, 181, 92, 1);
}

.theme-toggle-button:active {
  transform: scale(1.02);
}

.page-title-bar {
  display: flex;
  align-items: center;
  padding: 6px 12px 8px;
  background-color: #004b8f;
  color: #ffffff;
}

.page-back-button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  margin-right: 8px;
  font-size: 16px;
}

.page-title-text {
  font-size: 14px;
  font-weight: 600;
}

.screen-content {
  flex: 1;
  padding: 0 0 16px;
}

.home-screen {
  display: flex;
  flex-direction: column;
}

.menu-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.menu-hero-image {
  width: 100%;
  padding-top: 60%;
  background-image: url('/images/heroes/hero-guide.jpg');
  background-size: cover;
  background-position: center;
}

.menu-hero-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.menu-hero-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.menu-hero-text {
  font-size: 14px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.menu-main {
  padding: 16px 16px 24px;
}

.menu-header-card {
  position: relative;
  margin: 0 auto 18px;
  width: 100%;
  max-width: 360px;
  height: 52px;
  border-radius: 999px;
  border: 2px solid #dcb55c;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
}

.menu-header-logo {
  position: absolute;
  left: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #dcb55c;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  background-image: url('/images/RG.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.menu-header-title {
  font-size: 15px;
  font-weight: 600;
  color: #b78604;
}

.room-feature-grid {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.room-feature {
  display: flex;
  gap: 0.6rem;
  padding: 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.room-feature-icon {
  font-size: 1.5rem;
}

.room-feature-text {
  line-height: 1.4;
}

.room-message-section .detail-text {
  padding: 0;
}

.room-message-card {
  width: 100%;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.12);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.room-message-header {
  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 0.75rem;
}

.room-message-logo {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: url('/images/logo_RG.png') center/cover no-repeat;
  flex-shrink: 0;
}

.room-message-header h3 {
  margin: 0;
  color: #b78604;
  text-align: center;
}

.room-message-header p {
  margin: 0.35rem 0 0;
  line-height: 1.45;
}

.room-message-divider {
  height: 1px;
  background: rgba(17, 18, 23, 0.08);
}

.room-message-linen h4 {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b78604;
  font-weight: 600;
  font-family: 'Playfair Display', 'Times New Roman', serif;
}

.room-message-linen p {
  margin: 0 0 0.5rem;
  line-height: 1.5;
}

.room-message-hint {
  font-size: 0.9rem;
  color: #6b7280;
}

.room-message-footer {
  display: flex;
  justify-content: flex-end;
}

.room-message-badge {
  background: #0c7346;
  color: #fff;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.menu-card {
  position: relative;
  min-height: 130px;
  border-radius: 24px;
  border: 2px solid #dcb55c;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.menu-card-link {
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  padding: 8px 10px;
  font-size: 13px;
  color: #b78604;
  cursor: pointer;
}

.menu-card-link + .menu-card-link {
  margin-top: 4px;
}

.menu-card--reception {
  background-image: url('/images/sections/section-reception.jpg');
}

.menu-card--laundry {
  background-image: url('/images/sections/section-laundry.jpg');
}

.menu-card--pool {
  background-image: url('/images/sections/section-pool.jpg');
}

.menu-card--restaurants-bars {
  background-image: url('/images/sections/section-restaurants-bars.jpg');
}

.menu-card--rooms {
  background-image: url('/images/sections/section-rooms.jpg');
}

.menu-card--hotel-rules {
  background-image: url('/images/sections/section-hotel-rules.jpg');
}

.menu-card--other-services {
  background-image: url('/images/sections/section-other-services.jpeg');
}

.menu-card--guest-feedback {
  background-image: url('/images/sections/section-guest-feedback.jpg');
}

.hero-card {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 16px;
}

.hero-card h1 {
  margin: 0 0 4px;
  font-size: 20px;
}

.hero-card p {
  margin: 0;
  font-size: 13px;
}

.home-menu-list {
  margin-top: 12px;
}

.home-menu-row {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: inherit;
}

.home-menu-row-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-menu-row-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #dcb55c;
}

.home-menu-row-label {
  font-size: 14px;
}

.home-menu-row-plus {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #dcb55c;
  color: #111217;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.section-placeholder {
  padding: 12px 4px;
}

.section-placeholder h1 {
  font-size: 18px;
  margin-bottom: 6px;
}

.detail-main {
  max-width: 980px;
  margin: 0 auto 3rem;
  padding: 0 1.4rem 1.8rem;
}

.detail-page-hero {
  margin: 0 -1.4rem 0;
}

.detail-page-hero-image {
  width: 100%;
  min-height: 300px;
  background-size: cover;
  background-position: center;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.detail-page-hero-image-reception {
  background-image: url('/images/sections/section-reception.jpg');
}

.detail-page-hero-image-laundry {
  background-image: url('/images/sections/section-laundry.jpg');
}

.detail-page-hero-image-pool {
  background-image: url('/images/sections/section-pool.jpg');
}

.detail-page-hero-image-restaurants-bars {
  background-image: url('/images/sections/section-restaurants-bars.jpg');
}

.detail-page-hero-image-rooms {
  background-image: url('/images/sections/section-rooms.jpg');
}

.detail-page-hero-image-hotel-rules {
  background-image: url('/images/sections/section-hotel-rules.jpg');
}

.detail-page-hero-image-other-services {
  background-image: url('/images/sections/section-other-services.jpeg');
}

.detail-page-hero-image-guest-feedback {
  background-image: url('/images/sections/section-guest-feedback.jpg');
}

.detail-page-hero-overlay-card {
  width: 90%;
  max-width: 420px;
  margin-bottom: 10px;
  padding: 10px 48px 10px 48px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
  backdrop-filter: blur(12px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.2),
    0 2px 8px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(220, 181, 92, 0.6);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.detail-page-hero-overlay-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.25),
    0 4px 12px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-color: rgba(220, 181, 92, 0.8);
}

.detail-page-hero-back {
  position: absolute;
  left: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2.5px solid #dcb55c;
  background: linear-gradient(135deg, rgba(183, 134, 4, 0.15) 0%, rgba(183, 134, 4, 0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #b78604;
  box-shadow:
    0 4px 12px rgba(183, 134, 4, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  cursor: pointer;
}

.detail-page-hero-back:hover {
  transform: scale(1.08);
  background: linear-gradient(135deg, rgba(183, 134, 4, 0.25) 0%, rgba(183, 134, 4, 0.15) 100%);
  box-shadow:
    0 6px 16px rgba(183, 134, 4, 0.4),
    inset 0 1px 2px rgba(255, 255, 255, 0.9);
  border-color: #c79d04;
}

.detail-page-hero-back:active {
  transform: scale(1.02);
}

.detail-page-hero-logo {
  position: absolute;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2.5px solid #dcb55c;
  background-image: url('/images/RG.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #ffffff;
  box-shadow:
    0 4px 12px rgba(183, 134, 4, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  cursor: pointer;
}

.detail-page-hero-logo:hover {
  transform: scale(1.08) rotate(5deg);
  box-shadow:
    0 6px 16px rgba(183, 134, 4, 0.4),
    inset 0 1px 2px rgba(255, 255, 255, 0.9);
  border-color: #c79d04;
}

.detail-page-hero-logo:active {
  transform: scale(1.02) rotate(2deg);
}

.detail-page-hero-title {
  font-size: 15px;
  font-weight: 700;
  color: #b78604;
  text-align: center;
  letter-spacing: 0.02em;
  text-shadow:
    0 1px 2px rgba(255, 255, 255, 0.8),
    0 2px 4px rgba(183, 134, 4, 0.15);
}

.detail-header {
  /* background: rgba(255, 255, 255, 0.14); */
  border-radius: 16px;
  padding: 1.6rem 1.4rem 1.4rem;
}

.detail-header h1 {
  font-size: 22px;
  font-weight: 500;
  margin: 0;
}

.detail-header p {
  margin-top: 0.6rem;
}

.detail-section {
  margin-top: 1.4rem;
  padding: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  display: flex;
  gap: 0;
  align-items: stretch;
  overflow: hidden;
}

.detail-section.alt {
  flex-direction: row-reverse;
}

.detail-image-placeholder {
  flex: 0 0 32%;
  min-height: 120px;
  background: rgba(255, 255, 255, 0.18);
  background-image: url('/images/sections/section-generic.svg');
  background-size: cover;
  background-position: center;
}

/* Reception page specific images */
.detail-image-reception-exchange {
  background-image: url('/images/reception/exchange.jpg');
}

.detail-image-reception-safe {
  background-image: url('/images/reception/safe.jpg');
}

.detail-image-reception-coldBreakfast {
  background-image: url('/images/reception/cold-breakfast.jpg');
}

.detail-image-reception-repairs {
  background-image: url('/images/reception/repairs.jpg');
}

.detail-image-reception-babysitter {
  background-image: url('/images/reception/babysitter.jpg');
}

.detail-image-reception-otherServices {
  background-image: url('/images/reception/other-services.jpg');
}

.detail-image-reception-messages {
  background-image: url('/images/reception/messages.jpg');
}

/* Laundry page specific images */
.detail-image-laundry-main {
  background-image: url('/images/laundry/main.png');
}
.detail-image-laundry-details {
  background-image: url('/images/laundry/details.png');
}

/* Pool page specific images */
.detail-image-pool-towels {
  background-image: url('/images/pool/towels.jpg');
}

.detail-image-pool-hours {
  background-image: url('/images/pool/hours.jpg');
}

.detail-image-pool-sunbeds {
  background-image: url('/images/pool/sunbeds.jpg');
}

/* Restaurants & Bars page specific images */
.detail-image-restaurants-mainRestaurant {
  background-image: url('/images/restaurants/main-restaurant.jpg');
}

.detail-image-restaurants-themeRestaurants {
  background-image: url('/images/restaurants/theme-restaurants.jpg');
}

.detail-image-restaurants-dressCode {
  background-image: url('/images/restaurants/dress-code.jpg');
}

.detail-image-restaurants-poolSnack {
  background-image: url('/images/restaurants/pool-snack.jpg');
}

.detail-image-restaurants-bars {
  background-image: url('/images/restaurants/bars.jpg');
}

.detail-image-restaurants-info {
  background-image: url('/images/restaurants/info.jpg');
}

/* Rooms page specific images */
.detail-image-rooms-main {
  background-image: url('/images/rooms/main.jpeg');
}
.detail-image-rooms-detail {
  background-image: url('/images/rooms/detail.jpg');
}

/* Hotel rules page specific images */
.detail-image-hotelRules-main {
  background-image: url('/images/hotelrules/main.jpg');
}

/* Other services page specific images */
.detail-image-otherServices-sports {
  background-image: url('/images/other-services/sports.jpg');
}

.detail-image-otherServices-miniclub {
  background-image: url('/images/other-services/miniclub.jpg');
}

.detail-image-otherServices-wellness {
  background-image: url('/images/other-services/wellness.jpeg');
}

.detail-image-otherServices-animation {
  background-image: url('/images/other-services/animation.jpg');
}

/* Guest feedback page specific images */
.detail-image-guestFeedback-main {
  background-image: url('/images/guest-feedback/main.jpg');
}

.detail-text {
  flex: 1;
  padding: 1rem 1.3rem 1.2rem;
}

.detail-text h2 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  font-size: 16px;
  font-weight: 600;
  color: #b78604;
}

.detail-text p + p {
  margin-top: 0.45rem;
}

.detail-schedule {
  margin: 0.75rem 0 1rem;
  border: 1px solid rgba(17, 18, 23, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}



.detail-schedule-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(120px, auto) minmax(0, 1fr);
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: #ffffff;
  align-items: center;
  font-size: 14px;
}

.detail-schedule-row:nth-child(even) {
  background: #faf7f0;
}

.detail-schedule-label {
  font-weight: 600;
  color: #111217;
}

.detail-schedule-time {
  font-weight: 500;
  color: #b78604;
  text-align: right;
}

.detail-schedule-note {
  font-size: 12px;
  color: #6b7280;
  text-align: right;
}

.detail-schedule--stacked .detail-schedule-row {
  display: block;
}

.detail-schedule--stacked .detail-schedule-main {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(120px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 0.5rem;
}

.detail-schedule--stacked .detail-schedule-description {
  margin: 0.45rem 0 0;
  color: #111217;
  line-height: 1.45;
}

.detail-dresscode {
  margin-top: 0.85rem;
  border: 1px solid rgba(17, 18, 23, 0.1);
  border-radius: 10px;
  overflow: hidden;
  background: #fffdf8;
}

.detail-dresscode-row {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(17, 18, 23, 0.08);
}

.detail-dresscode-row:last-child {
  border-bottom: none;
}

.detail-dresscode-label {
  font-weight: 700;
  color: #b78604;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.detail-dresscode-description {
  margin-top: 0.3rem;
  color: #111217;
  line-height: 1.45;
}

.theme-gallery {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.theme-card {
  border: none;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
}

.theme-card:focus-visible {
  outline: 2px solid #b78604;
  outline-offset: 4px;
}

.theme-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.theme-card-image {
  width: 100%;
  padding-top: 62%;
  background-size: cover;
  background-position: center;
}

.theme-card-info {
  padding: 0.75rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.theme-card-name {
  font-weight: 600;
  color: #111217;
}

.theme-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 18, 23, 0.65);
}

.theme-modal-body {
  position: relative;
  width: min(900px, 90vw);
  max-height: 90vh;
  background: #ffffff;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow: hidden;
}

.theme-modal-image {
  width: 100%;
  max-height: 65vh;
  border-radius: 10px;
  object-fit: cover;
  object-position: center;
}

.theme-modal-note {
  margin: 0;
  color: #111217;
  font-weight: 500;
}

.theme-modal-close {
  align-self: flex-end;
  border: none;
  background: #b78604;
  color: #ffffff;
  border-radius: 999px;
  padding: 0.4rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.theme-modal-close:hover {
  background: #966700;
}

.detail-info-list {
  margin-top: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.detail-info-row {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.detail-info-bullet {
  width: 10px;
  height: 10px;
  margin-top: 0.4rem;
  border-radius: 50%;
  background: #b78604;
  flex-shrink: 0;
}

.detail-info-content {
  flex: 1;
  color: #111217;
  line-height: 1.45;
}

.detail-info-label {
  font-weight: 600;
  color: #b78604;
}

@media (max-width: 640px) {
  .detail-schedule-row {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .detail-schedule-time,
  .detail-schedule-note {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .detail-main {
    margin: 0 auto;
    padding: 0 1rem 1.5rem;
  }

  .detail-page-hero {
    margin: 0 -1rem 0;
  }

  .detail-section,
  .detail-section.alt {
    flex-direction: column;
  }

  .detail-image-placeholder {
    width: 100%;
  }
}

@media (min-width: 960px) {
  body {
    justify-content: flex-start;
    align-items: stretch;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #123047;
    background: radial-gradient(circle at top, #f4fbff 0, #e5f2ff 40%, #d9e7ff 100%);
  }

  #root {
    max-width: none;
    background: none;
    color: inherit;
  }

  .desktop-shell {
    min-height: 100vh;
  }

  .app-shell {
    min-height: 100vh;
  }

  .desktop-topbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1.2rem 2.4rem;
    background: #050608;
    color: #f5f5f7;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  }

  .desktop-topbar-left {
    justify-self: flex-start;
  }

  .desktop-topbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-self: center;
  }

  .desktop-topbar-actions {
    justify-self: flex-end;
    display: flex;
    align-items: center;
  }

  .logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #f5c55c;
    background-image: url('/images/RG.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #050608;
  }

  .logo-text {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
  }

  .logo-line {
    line-height: 1.2;
  }

  .app-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #f3f7fb;
  }

  .hero-header {
    position: relative;
  }

  .hero-image {
    position: relative;
    min-height: 260px;
    background-image: linear-gradient(135deg, #0f60a2 0%, #75c5df 35%, #f1f7fb 100%);
    background-size: cover;
    background-position: center;
  }

  .hero-image.hero-guide {
    background-image: url('/images/heroes/hero-guide.jpg');
  }

  .hero-image.hero-reception {
    background-image: url('/images/heroes/hero-reception.jpg');
  }

  .hero-image.hero-laundry {
    background-image: url('/images/heroes/hero-laundry.jpg');
  }

  .hero-image.hero-pool {
    background-image: url('/images/heroes/hero-pool.jpg');
  }

  .hero-image.hero-restaurants-bars {
    background-image: url('/images/heroes/hero-restaurants-bars.jpg');
  }

  .hero-image.hero-rooms {
    background-image: url('/images/heroes/hero-rooms.jpg');
  }

  .hero-image.hero-hotel-rules {
    background-image: url('/images/heroes/hero-hotel-rules.jpg');
  }

  .hero-image.hero-other-services {
    background-image: url('/images/heroes/hero-other-services.jpg');
  }

  .hero-image.hero-guest-feedback {
    background-image: url('/images/heroes/hero-guest-feedback.jpg');
  }

  .hero-overlay-box {
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 16%;
    border: 2px solid rgba(255, 255, 255, 0.9);
    padding: 1.8rem 2rem;
    color: #ffffff;
  }

  .hero-pretitle {
    font-size: 1rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
  }

  .hero-title {
    margin-top: 0.5rem;
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 650;
    line-height: 1.2;
  }

  .hero-overlay-large .hero-title {
    font-size: clamp(2.1rem, 3.3vw, 2.9rem);
  }

  .main-inner {
    padding: 2rem 2.4rem 2.4rem;
  }

  .guide-page .main-inner {
    max-width: 1200px;
    margin: 0 auto;
  }

  .guide-page .home-screen {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .guide-page .menu-main {
    padding: 24px 0 40px;
  }

  .guide-page .menu-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .guide-page .menu-card {
    min-height: 180px;
  }
}

/* Weather components */
.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.weather-button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 2px solid rgba(220, 181, 92, 0.7);
  background: rgba(0, 0, 0, 0.18);
  font-size: 14px;
  color: #f0c56a;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.weather-button:hover {
  transform: scale(1.05);
  border-color: rgba(220, 181, 92, 1);
  background: rgba(0, 0, 0, 0.25);
}

.weather-button:active {
  transform: scale(1.02);
}

.weather-emoji {
  font-size: 18px;
  filter: brightness(1.2);
}

.weather-temp {
  font-size: 14px;
  letter-spacing: 0.02em;
}

/* Weather page hero */
.detail-page-hero-image-weather {
  background-image: url('/images/sections/section-weather.jpg');
}

/* Weather page content */
.page-weather .detail-header {
  text-align: center;
}

.weather-location {
  margin-top: 0.5rem;
  font-size: 14px;
  opacity: 0.85;
}

.weather-current {
  margin-top: 1.4rem;
  padding: 1.8rem 1.4rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(220, 181, 92, 0.4);
  text-align: center;
}

body.theme-dark .weather-current {
  background: linear-gradient(135deg, rgba(21, 23, 28, 0.98) 0%, rgba(18, 19, 24, 0.95) 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  border-color: rgba(220, 181, 92, 0.5);
}

.weather-icon-large {
  font-size: 72px;
  margin-bottom: 0.5rem;
}

.weather-temperature-large {
  font-size: 48px;
  font-weight: 700;
  color: #b78604;
  margin-bottom: 0.5rem;
}

body.theme-dark .weather-temperature-large {
  color: #f0c56a;
}

.weather-description {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 1.2rem;
  opacity: 0.9;
}

.weather-details {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(183, 134, 4, 0.2);
}

body.theme-dark .weather-details {
  border-top-color: rgba(220, 181, 92, 0.3);
}

.weather-detail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.weather-detail-label {
  font-size: 12px;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.weather-detail-value {
  font-size: 16px;
  font-weight: 600;
  color: #b78604;
}

body.theme-dark .weather-detail-value {
  color: #f0c56a;
}

.weather-forecast {
  margin-top: 2rem;
}

.weather-forecast-title {
  font-size: 20px;
  font-weight: 600;
  color: #b78604;
  margin-bottom: 1rem;
  padding-left: 0.5rem;
}

body.theme-dark .weather-forecast-title {
  color: #f0c56a;
}

.weather-forecast-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.weather-forecast-day {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(220, 181, 92, 0.3);
  transition: all 0.2s ease;
}

.weather-forecast-day:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  border-color: rgba(220, 181, 92, 0.5);
}

body.theme-dark .weather-forecast-day {
  background: rgba(21, 23, 28, 0.96);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  border-color: rgba(220, 181, 92, 0.4);
}

body.theme-dark .weather-forecast-day:hover {
  background: rgba(24, 26, 32, 0.96);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

.weather-forecast-date {
  flex: 1;
  font-weight: 600;
  font-size: 14px;
}

.weather-forecast-icon {
  font-size: 28px;
  margin: 0 0.8rem;
}

.weather-forecast-temps {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 100px;
  justify-content: flex-end;
}

.weather-forecast-high {
  font-size: 16px;
  font-weight: 700;
  color: #b78604;
}

.weather-forecast-low {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.7;
}

body.theme-dark .weather-forecast-high {
  color: #f0c56a;
}

.weather-forecast-precipitation {
  font-size: 12px;
  opacity: 0.65;
  margin-left: 0.5rem;
  min-width: 45px;
  text-align: right;
}

.weather-loading,
.weather-error {
  text-align: center;
  padding: 3rem 1.5rem;
  font-size: 16px;
}

.weather-error {
  color: #c53030;
}

body.theme-dark .weather-error {
  color: #fc8181;
}

.weather-source {
  margin-top: 2rem;
  text-align: center;
  font-size: 12px;
  opacity: 0.6;
}

.weather-source a {
  color: #b78604;
  text-decoration: none;
  font-weight: 500;
}

.weather-source a:hover {
  text-decoration: underline;
}

body.theme-dark .weather-source a {
  color: #f0c56a;
}

@media (max-width: 640px) {
  .weather-details {
    flex-wrap: wrap;
  }

  .weather-forecast-day {
    padding: 0.8rem 1rem;
  }

  .weather-forecast-temps {
    min-width: 80px;
  }

  .weather-forecast-precipitation {
    display: none;
  }
}

/* ===== BAR MENU LINK BUTTON ===== */
.bar-menu-link-btn {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #b78604 0%, #d4a017 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(183, 134, 4, 0.3);
}

.bar-menu-link-btn:hover {
  background: linear-gradient(135deg, #d4a017 0%, #e6b82a 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(183, 134, 4, 0.4);
}

body.theme-dark .bar-menu-link-btn {
  background: linear-gradient(135deg, #f0c56a 0%, #d4a017 100%);
  color: #1a1a2e;
}

body.theme-dark .bar-menu-link-btn:hover {
  background: linear-gradient(135deg, #f5d485 0%, #e6b82a 100%);
}

/* ===== BAR MENU PAGE ===== */
.page-bar-menu {
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
  min-height: 100vh;
}

.detail-page-hero-image-bar-menu {
  background-image: url('/images/heroes/hero-bar.jpg');
}


.bar-menu-content {
  padding: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.bar-menu-category {
  margin-bottom: 0.5rem;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bar-menu-category-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(240, 197, 106, 0.1) 0%, rgba(183, 134, 4, 0.1) 100%);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bar-menu-category-header:hover {
  background: linear-gradient(135deg, rgba(240, 197, 106, 0.15) 0%, rgba(183, 134, 4, 0.15) 100%);
}

.bar-menu-category-header.active {
  background: linear-gradient(135deg, rgba(240, 197, 106, 0.2) 0%, rgba(183, 134, 4, 0.2) 100%);
  border-bottom: 1px solid rgba(240, 197, 106, 0.2);
}

.bar-menu-category-name {
  font-size: 15px;
  font-weight: 600;
  color: #f0c56a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bar-menu-category-icon {
  margin-right: 0.5rem;
  font-size: 18px;
}

.bar-menu-category-toggle {
  font-size: 20px;
  color: #f0c56a;
  font-weight: 300;
}

.bar-menu-items {
  padding: 0.5rem 0;
  animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bar-menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bar-menu-item:last-child {
  border-bottom: none;
}

.bar-menu-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.bar-menu-item-name {
  font-size: 14px;
  color: #f5f5f7;
  font-weight: 500;
}

.bar-menu-item-cl,
.bar-menu-item-volume {
  font-size: 12px;
  color: rgba(245, 245, 247, 0.6);
  font-weight: 400;
}

.bar-menu-item-description {
  font-size: 12px;
  color: rgba(245, 245, 247, 0.5);
  font-style: italic;
  line-height: 1.4;
}

.bar-menu-item-price {
  font-size: 14px;
  font-weight: 600;
  color: #f0c56a;
  white-space: nowrap;
  margin-left: 1rem;
}


/* Light theme overrides */
body:not(.theme-dark) .page-bar-menu {
  background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
}

body:not(.theme-dark) .bar-menu-category {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

body:not(.theme-dark) .bar-menu-category-header {
  background: linear-gradient(135deg, rgba(183, 134, 4, 0.08) 0%, rgba(183, 134, 4, 0.12) 100%);
}

body:not(.theme-dark) .bar-menu-category-header:hover {
  background: linear-gradient(135deg, rgba(183, 134, 4, 0.12) 0%, rgba(183, 134, 4, 0.16) 100%);
}

body:not(.theme-dark) .bar-menu-category-header.active {
  background: linear-gradient(135deg, rgba(183, 134, 4, 0.15) 0%, rgba(183, 134, 4, 0.2) 100%);
}

body:not(.theme-dark) .bar-menu-category-name {
  color: #8b6914;
}

body:not(.theme-dark) .bar-menu-category-toggle {
  color: #8b6914;
}

body:not(.theme-dark) .bar-menu-item {
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

body:not(.theme-dark) .bar-menu-item-name {
  color: #1a1a2e;
}

body:not(.theme-dark) .bar-menu-item-cl,
body:not(.theme-dark) .bar-menu-item-volume {
  color: rgba(26, 26, 46, 0.6);
}

body:not(.theme-dark) .bar-menu-item-description {
  color: rgba(26, 26, 46, 0.5);
}

body:not(.theme-dark) .bar-menu-item-price {
  color: #8b6914;
}


/* Admin bar */
.bar-menu-admin-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
  border-bottom: 2px solid #a78bfa;
}

.bar-menu-admin-badge {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  padding: 0.3rem 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
}

.bar-menu-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bar-menu-admin-btn {
  padding: 0.4rem 0.8rem;
  font-size: 12px;
  font-weight: 500;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bar-menu-admin-btn.save {
  background: #10b981;
  color: #ffffff;
}

.bar-menu-admin-btn.save:hover {
  background: #059669;
}

.bar-menu-admin-btn.export {
  background: #3b82f6;
  color: #ffffff;
}

.bar-menu-admin-btn.export:hover {
  background: #2563eb;
}

.bar-menu-admin-btn.add {
  background: #f59e0b;
  color: #ffffff;
}

.bar-menu-admin-btn.add:hover {
  background: #d97706;
}

.bar-menu-admin-btn.reset {
  background: #6b7280;
  color: #ffffff;
}

.bar-menu-admin-btn.reset:hover {
  background: #4b5563;
}

.bar-menu-admin-btn.delete {
  background: #ef4444;
  color: #ffffff;
}

.bar-menu-admin-btn.delete:hover {
  background: #dc2626;
}

.bar-menu-admin-btn.done {
  background: #10b981;
  color: #ffffff;
}

.bar-menu-admin-btn.done:hover {
  background: #059669;
}

/* Admin category edit */
.bar-menu-admin-category-edit {
  padding: 1rem;
  margin-bottom: 0.5rem;
  background: rgba(124, 58, 237, 0.1);
  border: 1px dashed rgba(124, 58, 237, 0.3);
  border-radius: 8px;
}

.bar-menu-admin-field-group {
  margin-bottom: 1rem;
}

.bar-menu-admin-field-group > label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #a78bfa;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.bar-menu-admin-lang-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.bar-menu-admin-lang-label {
  min-width: 28px;
  font-size: 11px;
  font-weight: 600;
  color: #8b5cf6;
  text-align: center;
}

.bar-menu-admin-input {
  flex: 1;
  padding: 0.4rem 0.6rem;
  font-size: 13px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.2);
  color: #f5f5f7;
}

.bar-menu-admin-input:focus {
  outline: none;
  border-color: #8b5cf6;
  background: rgba(0, 0, 0, 0.3);
}

.bar-menu-admin-input.price {
  max-width: 100px;
}

.bar-menu-admin-input.small {
  max-width: 80px;
}

.bar-menu-admin-input.icon {
  max-width: 60px;
  text-align: center;
  font-size: 20px;
}

.bar-menu-admin-field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.bar-menu-admin-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.bar-menu-admin-field > label {
  font-size: 11px;
  font-weight: 600;
  color: #a78bfa;
  text-transform: uppercase;
}

.bar-menu-admin-item-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* Item edit mode */
.bar-menu-item.editing {
  background: rgba(124, 58, 237, 0.08);
  border: 1px dashed rgba(124, 58, 237, 0.3);
  border-radius: 8px;
  margin: 0.5rem 0;
}

.bar-menu-item-edit {
  padding: 1rem;
  width: 100%;
}

.bar-menu-item-edit-hint {
  margin-left: 0.5rem;
  opacity: 0.6;
  font-size: 12px;
}

.bar-menu-item-info[onclick] {
  cursor: pointer;
}

.bar-menu-item-info[onclick]:hover {
  opacity: 0.8;
}

/* Add item button */
.bar-menu-add-item-btn {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.5rem;
  font-size: 13px;
  font-weight: 500;
  color: #a78bfa;
  background: rgba(124, 58, 237, 0.1);
  border: 1px dashed rgba(124, 58, 237, 0.4);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bar-menu-add-item-btn:hover {
  background: rgba(124, 58, 237, 0.2);
  border-color: #8b5cf6;
}

/* Light theme admin overrides */
body:not(.theme-dark) .bar-menu-admin-input {
  background: rgba(255, 255, 255, 0.9);
  color: #1a1a2e;
  border-color: rgba(139, 92, 246, 0.4);
}

body:not(.theme-dark) .bar-menu-admin-input:focus {
  background: #ffffff;
}

body:not(.theme-dark) .bar-menu-admin-category-edit {
  background: rgba(124, 58, 237, 0.05);
}

body:not(.theme-dark) .bar-menu-item.editing {
  background: rgba(124, 58, 237, 0.05);
}

body:not(.theme-dark) .bar-menu-add-item-btn {
  background: rgba(124, 58, 237, 0.05);
}

body:not(.theme-dark) .bar-menu-add-item-btn:hover {
  background: rgba(124, 58, 237, 0.1);
}

/* Desktop layout for bar menu */
@media (min-width: 900px) {
  .page-bar-menu {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  }

  .page-bar-menu .detail-page-hero-image {
    height: 350px;
    border-radius: 0 0 24px 24px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .bar-menu-content {
    max-width: 1200px;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .bar-menu-category {
    margin-bottom: 0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .bar-menu-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  }

  .bar-menu-category-header {
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
  }

  .bar-menu-category-header.active {
    border-radius: 16px 16px 0 0;
  }

  .bar-menu-category-name {
    font-size: 16px;
  }

  .bar-menu-category-icon {
    font-size: 22px;
  }

  .bar-menu-items {
    padding: 0.75rem 0;
  }

  .bar-menu-item {
    padding: 1rem 1.5rem;
  }

  .bar-menu-item-name {
    font-size: 15px;
  }

  .bar-menu-item-description {
    font-size: 13px;
  }

  .bar-menu-item-price {
    font-size: 15px;
  }

  /* Light theme desktop */
  body:not(.theme-dark) .page-bar-menu {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
  }

  body:not(.theme-dark) .bar-menu-category {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }

  body:not(.theme-dark) .bar-menu-category:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  }
}

/* Large desktop - 3 columns */
@media (min-width: 1400px) {
  .bar-menu-content {
    max-width: 1400px;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .bar-menu-content {
    padding: 0.75rem;
  }

  .bar-menu-category-header {
    padding: 0.85rem 1rem;
  }

  .bar-menu-category-name {
    font-size: 13px;
  }

  .bar-menu-item {
    padding: 0.6rem 1rem;
  }

  .bar-menu-item-name {
    font-size: 13px;
  }

  .bar-menu-item-price {
    font-size: 13px;
  }

  .bar-menu-admin-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .bar-menu-admin-actions {
    justify-content: center;
  }

  .bar-menu-admin-field-row {
    flex-direction: column;
  }

  .bar-menu-admin-input.price,
  .bar-menu-admin-input.small {
    max-width: none;
  }
}

/* Animation Program */
.animation-program {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
}

.animation-program-section h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #b78604;
  margin-bottom: 0.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid rgba(183, 134, 4, 0.2);
}

.animation-program .detail-schedule-row {
  grid-template-columns: 60px 1fr;
}

.animation-program .detail-schedule-time {
  text-align: left;
  min-width: 50px;
}

@media (min-width: 768px) {
  .animation-program {
    flex-direction: row;
    gap: 2rem;
  }

  .animation-program-section {
    flex: 1;
  }
}

/* ---- Version PHP : le bascule mobile/desktop (useIsMobile, 960px) devient CSS ---- */
.desktop-topbar { display: none; }
@media (min-width: 960px) {
  .top-bar { display: none; }
  .desktop-topbar { display: grid; }
}
.bar-menu-items[hidden] { display: none; }
@media (min-width: 960px) {
  .screen-content { padding: 0; }
  .screen.desktop-shell { display: block; overflow-x: visible; }
}
@media (min-width: 960px) {
  .desktop-topbar { position: relative; z-index: 1; }
}
