

.site-header .container { flex-wrap: nowrap; align-items: center; }
.header-brand-wrap { flex-shrink: 0; }
.island-nav { flex-wrap: nowrap; min-width: 0; }
.island-nav-link { white-space: nowrap; flex-shrink: 0; }
.header-actions { flex-shrink: 0; flex-wrap: nowrap; }
.header-actions > a, .lang-btn { white-space: nowrap; }
.header-tagline-badge { display: none; }
@media (min-width: 1400px) { .header-tagline-badge { display: inline-block; } }
.stk-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 16px;
  border-radius: var(--radius-pill); background: var(--gold-primary); color: #08141e; font-weight: 700; font-size: 0.86rem;
  white-space: nowrap; text-decoration: none; transition: background 0.2s ease;
}
.stk-btn:hover { background: var(--gold-light); color: #08141e; }
@media (max-width: 1180px) {
  .island-nav { display: none; }
  .menu-toggle { display: inline-flex; width: 44px; height: 44px; padding: 0; flex-shrink: 0; border-color: rgba(200, 147, 59, 0.45); border-radius: 12px; }
  .mobile-nav-drawer {
    position: fixed; left: 0; right: 0; top: var(--cn-drawer-top, 61px); z-index: 1500;
    max-height: calc(100vh - var(--cn-drawer-top, 61px)); overflow-y: auto;
    padding: 8px 16px 20px; box-shadow: 0 24px 40px rgba(0, 0, 0, 0.55);
    border-bottom: 1px solid rgba(200, 147, 59, 0.35);
  }
  .mobile-nav-drawer.is-open { gap: 0; }
  .mobile-nav-drawer a {
    display: flex; align-items: center; min-height: 52px; padding: 0 4px;
    font-size: 1.06rem; color: #ffffff; border-radius: 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .mobile-nav-drawer a:last-child { border-bottom: none; }
  .mobile-nav-drawer a.active { background: transparent; color: var(--gold-light); }
  .mobile-nav-drawer a::after { content: "\203A"; margin-left: auto; color: var(--gold-primary); font-size: 1.3rem; }
}
@media (max-width: 600px) {
  .stk-btn { min-height: 44px; padding: 0 14px; font-size: 14px; }
}
@media (max-width: 374px) {
  .stk-btn { padding: 0 10px; font-size: 13px; }
}

.catalog-grid { align-items: stretch; }
.obj-card { height: 100%; min-width: 0; }
.obj-card .card-body { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.obj-card .card-footer { margin-top: auto; align-items: flex-end; }
.obj-card .card-desc { margin-bottom: 14px; }
a.card-location, .card-location { text-decoration: none; min-width: 0; }
a.card-location { color: var(--text-muted); cursor: pointer; }
a.card-location .addr-text { text-decoration: underline; text-decoration-color: rgba(200, 147, 59, 0.6); text-underline-offset: 2px; }
a.card-location:hover { color: var(--gold-primary); }
.card-location svg { flex-shrink: 0; }
.card-location .addr-text { min-width: 0; overflow-wrap: anywhere; }
.card-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(8, 20, 30, 0.55); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding: 0 0 3px; transition: background 0.2s ease;
}
.card-nav:hover { background: rgba(8, 20, 30, 0.85); }
.card-nav.prev { left: 8px; }
.card-nav.next { right: 8px; }
.card-variants { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 12px; }
.card-variants.is-many {
  max-height: 232px; overflow-y: auto; overscroll-behavior: contain;
  border: 1px solid var(--border-light); border-radius: var(--radius-sm); padding: 6px;
}
.variant-btn {
  display: flex; align-items: baseline; gap: 10px; width: 100%; text-align: left; cursor: pointer; flex: 0 0 auto;
  padding: 8px 12px; border: 1px solid var(--border-light); border-radius: var(--radius-sm);
  background: var(--bg-card); color: var(--text-dark); font: inherit; font-size: 0.86rem; line-height: 1.3;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.variant-btn:hover { border-color: var(--gold-primary); }
.variant-btn.is-active { border-color: var(--gold-primary); background: rgba(200, 147, 59, 0.12); box-shadow: inset 3px 0 0 var(--gold-primary); }
.variant-btn .vb-n { flex: 1 1 auto; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.variant-btn .vb-m { flex: 0 0 auto; color: var(--text-muted); white-space: nowrap; }
.variant-btn .vb-p { flex: 0 0 auto; font-weight: 700; color: var(--teal-ocean); white-space: nowrap; }
.card-facts:empty, .card-feats:empty, .card-desc:empty { display: none; }
.card-fact-item { display: inline-flex; align-items: center; gap: 5px; }
.card-fact-item svg { flex-shrink: 0; }
.card-feats { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.feat-chip {
  font-size: 0.76rem; padding: 3px 9px; border-radius: var(--radius-pill); background: rgba(13, 130, 138, 0.09);
  color: var(--teal-ocean); white-space: nowrap;
}
.card-price-box { min-width: 0; }
@media (max-width: 640px) {
  .obj-card .card-footer { align-items: stretch; }
  .card-btns-group { display: flex; gap: 8px; width: 100%; }
  .card-btns-group .btn { flex: 1 1 0; min-width: 0; }
}

body.modal-open { overflow: hidden; }
.ov-modal {
  display: none; position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 3000; background: rgba(8, 20, 30, 0.72);
  padding: 24px; overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.ov-modal.is-open { display: block; }
.ov-modal-card {
  position: relative; max-width: 1120px; margin: 0 auto; background: var(--bg-card); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}
.ov-close {
  position: absolute; top: 10px; right: 10px; z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(8, 20, 30, 0.7); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.ov-close:hover { background: #08141e; }
.ov-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.ov-gal, .ov-info { min-width: 0; }
.ov-main { position: relative; border-radius: var(--radius-md); overflow: hidden; background: #0e1f2c; aspect-ratio: 3 / 2; }
.ov-img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ov-count {
  position: absolute; right: 10px; bottom: 10px; background: rgba(8, 20, 30, 0.7); color: #fff; font-size: 0.8rem;
  padding: 3px 10px; border-radius: var(--radius-pill);
}
.ov-thumbs { display: flex; gap: 6px; margin-top: 8px; overflow-x: auto; padding-bottom: 6px; max-width: 100%; min-width: 0; -webkit-overflow-scrolling: touch; }
.ov-thumb { flex: 0 0 auto; width: 84px; height: 58px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: #0e1f2c; }
.ov-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ov-thumb.is-active { border-color: var(--gold-primary); }
.ov-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; padding-right: 48px; }
.ov-ref { font-size: 0.82rem; color: var(--text-muted); white-space: nowrap; }
.ov-title { font-family: var(--font-serif); font-size: 1.55rem; line-height: 1.2; margin: 0 0 8px; color: var(--text-dark); overflow-wrap: anywhere; }
.ov-room { font-weight: 600; margin: 0 0 8px; }
.ov-info .card-variants.is-many { max-height: 268px; }
.ov-desc { color: var(--text-muted); line-height: 1.6; margin: 12px 0 0; white-space: pre-line; overflow-wrap: anywhere; }
.ov-desc:empty { display: none; }
.ov-buy { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border-light); display: flex; flex-direction: column; gap: 12px; }
.ov-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.ov-btns .btn { flex: 1 1 200px; }
.ov-wait { text-align: center; color: var(--text-muted); padding: 40px 0; }
.objpage { padding: 28px 0 8px; }
.ov-page { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 24px; min-width: 0; }
.ov-page .ov-top { padding-right: 0; }
@media (max-width: 860px) {
  .ov-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ov-modal { padding: 0; }
  .ov-modal-card { border-radius: 0; min-height: 100%; padding: 60px 14px 20px; }
  .ov-page { padding: 14px; }
  .ov-title { font-size: 1.3rem; }
  .ov-top { padding-right: 0; }
  .ov-btns .btn { flex: 1 1 100%; }
}

.booking-terms {
  display: inline-block; font-size: 0.8rem; padding: 4px 12px; border-radius: var(--radius-pill);
  border: 1px solid rgba(200, 147, 59, 0.45); color: var(--gold-light);
}
.cart-item {
  display: flex; align-items: center; gap: 14px; padding: 12px; margin-bottom: 18px; position: relative;
  border: 1px solid var(--gold-primary); border-radius: var(--radius-md); background: rgba(200, 147, 59, 0.08);
}
.cart-ph { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; }
.cart-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; font-size: 0.86rem; color: var(--text-muted); }
.cart-tx strong { font-size: 1rem; color: var(--text-dark); overflow-wrap: anywhere; }
.cart-tx span { overflow-wrap: anywhere; }
.cart-tx .cart-lbl { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.6px; color: var(--teal-ocean); font-weight: 700; }
.cart-x {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-light); background: var(--bg-card);
  color: var(--text-dark); font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.cart-x:hover { border-color: var(--gold-primary); color: var(--gold-primary); }
.form-textarea { resize: vertical; min-height: 64px; font-family: inherit; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.booking-actions { display: flex; }
.booking-actions .btn { flex: 1 1 auto; min-height: 52px; font-size: 1.05rem; }
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg); animation: cnShine 3.2s ease-in-out infinite; pointer-events: none;
}
.btn-shine:disabled { opacity: 0.7; cursor: default; }
.btn-shine:disabled::after { animation: none; display: none; }
@keyframes cnShine { 0% { left: -60%; } 55% { left: 130%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .btn-shine::after { animation: none; display: none; } }
.booking-result { display: none; margin-top: 14px; padding: 14px 16px; border-radius: var(--radius-md); font-weight: 600; }
.booking-result.is-ok { display: block; background: rgba(13, 130, 138, 0.1); border: 1px solid var(--teal-ocean); color: var(--teal-ocean); }

.pay-steps { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.pay-step {
  background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 16px;
  display: flex; flex-direction: column; gap: 6px; min-width: 0;
}
.pay-step-n {
  width: 32px; height: 32px; border-radius: 50%; background: var(--gold-primary); color: #08141e; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.pay-step strong { font-size: 0.98rem; color: var(--text-dark); }
.pay-step p { margin: 0; font-size: 0.86rem; line-height: 1.5; color: var(--text-muted); }
@media (max-width: 1000px) { .pay-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) {
  .pay-steps { grid-template-columns: minmax(0, 1fr); }
  .pay-step { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .pay-step strong { flex: 1 1 0; min-width: 0; }
  .pay-step p { flex: 1 1 100%; }
}

.contact-section { padding: 36px 0; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.contact-card {
  background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 22px;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start; min-width: 0;
}
.contact-card h2 { font-family: var(--font-serif); font-size: 1.25rem; margin: 0; color: var(--text-dark); }
.contact-card p { margin: 0; color: var(--text-muted); line-height: 1.55; }
.contact-card address, .site-footer address { font-style: normal; line-height: 1.55; }
.contact-card address { color: var(--text-dark); }
.contact-mail { font-weight: 700; color: var(--teal-ocean); overflow-wrap: anywhere; }
.contact-go, .footer-go { display: flex; flex-wrap: wrap; gap: 8px; }
.go-btn { display: inline-flex; align-items: center; gap: 8px; }
.go-btn svg { flex-shrink: 0; }
@media (max-width: 700px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.footer-contact a { overflow-wrap: anywhere; }
.footer-contact address { color: var(--text-dim); font-size: 0.88rem; }
.footer-go { margin-top: 6px; }
.soc-bar { display: flex; gap: 8px; margin-top: 14px; }
.soc-btn {
  width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(200, 147, 59, 0.45); color: var(--gold-light); transition: background 0.2s ease, color 0.2s ease;
}
.soc-btn:hover { background: var(--gold-primary); color: #08141e; }
.soc-btn.is-off { opacity: 0.45; cursor: default; }
.soc-btn.is-off:hover { background: transparent; color: var(--gold-light); }

.order-page { padding: 32px 0 48px; }
.order-card {
  max-width: 760px; margin: 0 auto; background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-md);
}
.order-empty { text-align: center; padding: 28px 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.order-empty p { margin: 0; font-size: 1.05rem; color: var(--text-dark); }
.order-head h1 { font-family: var(--font-serif); font-size: 1.8rem; margin: 0 0 6px; color: var(--text-dark); }
.order-head p { margin: 0 0 18px; color: var(--text-muted); }
.order-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 14px; border: 1px dashed var(--gold-primary); border-radius: var(--radius-md); }
.order-sum div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.order-sum span, .order-row span { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); }
.order-sum strong { overflow-wrap: anywhere; color: var(--text-dark); }
.order-timer {
  margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-md); background: #08141e; color: #fff;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
}
.order-timer strong { color: var(--gold-light); font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.order-timer.is-over { background: rgba(180, 60, 40, 0.1); color: #a33a25; border: 1px solid #a33a25; }
.order-block { margin-top: 22px; }
.order-block h2 { font-family: var(--font-serif); font-size: 1.25rem; margin: 0 0 10px; color: var(--text-dark); }
.order-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border-light); min-width: 0; }
.order-row span { flex: 0 0 150px; }
.order-row strong { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; color: var(--text-dark); }
.order-copy {
  flex: 0 0 auto; border: 1px solid var(--border-light); background: transparent; border-radius: var(--radius-pill);
  padding: 4px 12px; font: inherit; font-size: 0.8rem; cursor: pointer; color: var(--text-dark);
}
.order-copy:hover { border-color: var(--gold-primary); color: var(--gold-primary); }
.order-item { margin-bottom: 4px; }
.order-after { margin: 20px 0 0; padding: 12px 16px; border-left: 3px solid var(--teal-ocean); background: rgba(13, 130, 138, 0.07); color: var(--text-dark); }
@media (max-width: 640px) {
  .order-card { padding: 18px 14px; }
  .order-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .order-row { flex-wrap: wrap; gap: 4px 12px; }
  .order-row span { flex: 1 1 100%; }
}

@media (max-width: 480px) {
  .catalog-grid { grid-template-columns: minmax(0, 1fr); }
  .variant-btn { flex-wrap: wrap; gap: 2px 10px; }
  .variant-btn .vb-n { flex: 1 1 100%; }
  .cart-ph { width: 72px; height: 56px; }
  .booking-card-header { flex-direction: column; align-items: flex-start; gap: 10px; }
}

button.go-btn { font: inherit; cursor: pointer; }
.go-btn svg { flex: 0 0 auto; }
@media (min-width: 641px) { .variant-btn { min-height: 40px; } }
