/* SabaiSabai Menu v2 - inspiracja ThaiBalliSpa */

/* ===== RESET ORYGINALNEGO HEADERA ===== */
.is-style-ext-preset--group--natural-1--header-1 {
  display: none !important;
}

/* ===== TOPBAR ===== */
.ss-topbar {
  background: #2c1a0e;
  color: #c9b89a;
  font-size: 12px;
  padding: 7px 0;
  width: 100%;
  letter-spacing: 0.3px;
}
.ss-topbar-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ss-topbar a {
  color: #c9b89a;
  text-decoration: none;
  transition: color 0.2s;
}
.ss-topbar a:hover { color: #fff; }
.ss-topbar-left, .ss-topbar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.ss-topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== HEADER GŁÓWNY ===== */
.ss-header {
  background: rgba(20, 10, 5, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  transition: background 0.3s;
}
.ss-header.scrolled {
  background: rgba(20, 10, 5, 0.97);
}
.ss-header-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ===== LOGO ===== */
.ss-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.ss-logo-lotus {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.ss-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.ss-logo-name {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: Georgia, 'Times New Roman', serif;
}
.ss-logo-sub {
  font-size: 9px;
  color: #c9b89a;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ===== PRZYCISKI CTA ===== */
.ss-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ss-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 25px;
  transition: all 0.2s;
  white-space: nowrap;
  letter-spacing: 0.2px;
  border: 1.5px solid transparent;
}
.ss-btn-primary {
  background: #c9a96e;
  color: #1a0a00;
  border-color: #c9a96e;
}
.ss-btn-primary:hover {
  background: #b8934f;
  border-color: #b8934f;
  color: #fff;
  transform: translateY(-1px);
}
.ss-btn-outline {
  background: transparent;
  color: #c9b89a;
  border-color: rgba(201,184,154,0.5);
}
.ss-btn-outline:hover {
  background: rgba(201,184,154,0.15);
  border-color: #c9b89a;
  color: #fff;
}
.ss-btn svg {
  flex-shrink: 0;
}

/* ===== HAMBURGER ===== */
.ss-hamburger {
  display: flex;
  background: rgba(201,184,154,0.12);
  border: 1.5px solid rgba(201,184,154,0.3);
  cursor: pointer;
  padding: 9px 14px;
  border-radius: 25px;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  color: #c9b89a;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}
.ss-hamburger:hover {
  background: rgba(201,184,154,0.22);
  border-color: #c9b89a;
  color: #fff;
}
.ss-hamburger-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}
.ss-hamburger-lines span {
  display: block;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: all 0.3s;
  transform-origin: center;
}
.ss-hamburger.open .ss-hamburger-lines span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.ss-hamburger.open .ss-hamburger-lines span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.ss-hamburger.open .ss-hamburger-lines span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* ===== OVERLAY ===== */
.ss-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.ss-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ===== PANEL MENU (z prawej) ===== */
.ss-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 340px;
  max-width: 90vw;
  background: #c9a96e;
  z-index: 9002;
  display: flex;
  flex-direction: column;
  padding: 32px 40px 40px;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.ss-panel.open {
  transform: translateX(0);
}

/* Przycisk zamknij */
.ss-panel-close {
  align-self: flex-end;
  background: rgba(0,0,0,0.15);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  transition: background 0.2s;
  flex-shrink: 0;
  margin-bottom: 32px;
}
.ss-panel-close:hover { background: rgba(0,0,0,0.3); }

/* Linki w panelu */
.ss-panel-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.ss-panel-nav a {
  text-decoration: none;
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  font-family: Georgia, serif;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: all 0.2s;
  letter-spacing: 0.5px;
  display: block;
}
.ss-panel-nav a:last-child { border-bottom: none; }
.ss-panel-nav a:hover {
  color: #2c1a0e;
  padding-left: 8px;
}

/* Social w panelu */
.ss-panel-social {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.3);
}
.ss-panel-social a {
  color: #fff;
  opacity: 0.8;
  transition: opacity 0.2s;
  text-decoration: none;
}
.ss-panel-social a:hover { opacity: 1; }

/* ===== OFFSET BODY ===== */
body {
  padding-top: 68px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .ss-topbar { display: none; }
  body { padding-top: 60px; }
  .ss-header-inner { height: 60px; padding: 0 20px; }
  .ss-btn-outline { display: none; }
  .ss-logo-sub { display: none; }
  .ss-panel { width: 100%; max-width: 100%; padding: 24px 28px 32px; }
  .ss-panel-nav a { font-size: 32px; }
}
@media (max-width: 400px) {
  .ss-btn-primary { padding: 8px 14px; font-size: 12px; }
  .ss-hamburger { padding: 8px 12px; font-size: 12px; }
}
