/* Shared bits for all theme mockups: ad slots, side rails, theme switcher. Themes set --ad-* vars. */
.ad {
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px;
  background: var(--ad-bg, repeating-linear-gradient(45deg, #0000000a 0 10px, #00000005 10px 20px));
  border: 1px dashed var(--ad-border, #0003); border-radius: var(--ad-radius, 10px);
  color: var(--ad-ink, #0008); font: 600 11px/1.3 system-ui, sans-serif; letter-spacing: .08em;
  text-transform: uppercase; text-align: center; margin-inline: auto;
}
.ad small { font-weight: 400; letter-spacing: .04em; text-transform: none; opacity: .8; }
.ad-leader { width: min(970px, 100%); height: 90px; }
.ad-inline { width: min(728px, 100%); height: 90px; }
.ad-rect { width: 300px; max-width: 100%; height: 250px; }

.ad-rail { position: fixed; top: 140px; width: 160px; height: 600px; z-index: 5; display: none; }
.ad-rail.left { left: max(12px, calc((100vw - 1200px) / 2 - 184px)); }
.ad-rail.right { right: max(12px, calc((100vw - 1200px) / 2 - 184px)); }
@media (min-width: 1580px) { .ad-rail { display: flex; } }

.ad-anchor { position: fixed; bottom: 0; left: 0; right: 0; height: 56px; z-index: 40; border-radius: 0;
  display: none; margin: 0; background: var(--ad-anchor-bg, #f4f4f4); }
@media (max-width: 760px) { .ad-anchor { display: flex; } body { padding-bottom: 56px; } }

.mock-switcher {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 14px; z-index: 50;
  display: flex; gap: 4px; padding: 5px; border-radius: 999px; max-width: calc(100vw - 24px); overflow-x: auto;
  background: #111c; backdrop-filter: blur(10px); font: 500 12px/1 system-ui, sans-serif; box-shadow: 0 8px 30px #0004;
}
.mock-switcher a { color: #fff; text-decoration: none; padding: 8px 12px; border-radius: 999px; white-space: nowrap; opacity: .75; }
.mock-switcher a:hover { opacity: 1; background: #fff2; }
.mock-switcher a.on { background: #fff; color: #111; opacity: 1; }
@media (max-width: 760px) { .mock-switcher { bottom: 66px; } }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Trip consultation booking (themes set --c-* vars on .cx) */
.cx { --c-bg: #fff; --c-ink: #111; --c-muted: #666; --c-card: #fff; --c-line: #0002; --c-accent: #111; --c-on-accent: #fff; --c-radius: 18px; --c-head: inherit; }
.cx-box { background: var(--c-bg); color: var(--c-ink); border-radius: calc(var(--c-radius) * 1.6); padding: clamp(24px, 4vw, 48px); }
.cx-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.cx-head h2 { font-family: var(--c-head); margin: 0; }
.cx-head p { color: var(--c-muted); max-width: 420px; margin: 0; }
.cx-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 26px; }
.cx-svcs { display: grid; gap: 10px; align-content: start; }
.cx-svcs button { text-align: left; font: inherit; color: inherit; background: var(--c-card); border: 1.5px solid var(--c-line); border-radius: var(--c-radius); padding: 16px 18px; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; transition: border-color .2s, transform .2s; }
.cx-svcs button:hover { transform: translateY(-2px); }
.cx-svcs button.active { border-color: var(--c-accent); box-shadow: 0 0 0 2px var(--c-accent) inset; }
.cx-svcs b { font-family: var(--c-head); font-size: 20px; line-height: 1.2; }
.cx-svcs .p { font-family: var(--c-head); font-size: 20px; font-weight: 800; }
.cx-svcs small { grid-column: 1 / -1; color: var(--c-muted); font-size: 13px; }
.cx-svcs button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.cx-cal { background: var(--c-card); border: 1.5px solid var(--c-line); border-radius: var(--c-radius); padding: 22px; }
.cx-cal h4 { margin: 0; font-family: var(--c-head); font-size: 22px; }
.cx-cal > small { color: var(--c-muted); }
.cx-dates { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 16px 0 18px; }
.cx-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.cx-dates button, .cx-slots button { font: 600 13px/1.3 system-ui, sans-serif; color: inherit; background: transparent; border: 1.5px solid var(--c-line); border-radius: calc(var(--c-radius) * .55); padding: 9px 4px; cursor: pointer; }
.cx-dates button small { display: block; font-size: 10px; letter-spacing: .12em; opacity: .7; }
.cx-dates button.active, .cx-slots button.active { background: var(--c-accent); color: var(--c-on-accent); border-color: var(--c-accent); }
.cx-dates button:disabled, .cx-slots button:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.cx-sum { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin-top: 18px; padding-top: 16px; border-top: 1.5px dashed var(--c-line); font-size: 14px; }
.cx-sum span { color: var(--c-muted); }
.cx-pay { display: flex; justify-content: center; align-items: center; gap: 8px; width: 100%; margin-top: 16px; padding: 16px; border: 0; border-radius: calc(var(--c-radius) * .7); background: #0c2451; color: #fff; font: 700 15px system-ui, sans-serif; cursor: pointer; transition: background .2s; }
.cx-pay:hover { background: #3395ff; }
.cx-secure { text-align: center; font-size: 12px; color: var(--c-muted); margin-top: 8px; }
@media (max-width: 900px) { .cx-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .cx-dates { grid-template-columns: repeat(4, 1fr); } .cx-slots { grid-template-columns: repeat(3, 1fr); } }

.no-scrollbar { scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }
img { max-width: 100%; display: block; }
