/* —— Modern nav search (command palette) —— */
.in-nav-search-toggle {
  display: inline-flex !important;
  align-items: center;
  gap: .35rem;
  border: 1px solid rgba(93,87,158,.14) !important;
  background: rgba(255,255,255,.9) !important;
  border-radius: 999px !important;
  padding: .4rem .75rem !important;
  cursor: pointer;
  color: #4a4580 !important;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.in-nav-search-toggle:hover {
  border-color: rgba(93,87,158,.35) !important;
  background: #f5f3ff !important;
  box-shadow: 0 4px 14px rgba(93,87,158,.12);
}
.in-nav-search-kbd {
  font-size: .65rem;
  font-weight: 700;
  padding: .1rem .35rem;
  border-radius: 6px;
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
  margin-left: .25rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.pns-overlay {
  position: fixed; inset: 0; z-index: 2000;
  display: grid; align-items: start; justify-items: center;
  padding: min(12vh, 5rem) 1rem 2rem;
}
.pns-overlay[hidden] { display: none !important; }
.pns-backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.pns-panel {
  position: relative; z-index: 1;
  width: min(640px, 100%);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(15,23,42,.35), 0 0 0 1px rgba(255,255,255,.08);
  overflow: hidden;
  animation: pns-in .22s cubic-bezier(.2,.9,.3,1.1) both;
}
@keyframes pns-in {
  from { opacity: 0; transform: translateY(-12px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.pns-bar {
  display: flex; align-items: center; gap: .65rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid #f1f5f9;
}
.pns-bar-icon { font-size: 1.25rem; color: #7c3aed; flex-shrink: 0; }
.pns-input {
  flex: 1; border: 0; outline: 0; font-size: 1.1rem; font-weight: 600;
  color: #0f172a; background: transparent; min-width: 0;
  letter-spacing: -.01em;
}
.pns-input::placeholder { color: #94a3b8; font-weight: 500; }
.pns-esc {
  border: 1px solid #e2e8f0; background: #f8fafc; color: #64748b;
  border-radius: 8px; font-size: .72rem; font-weight: 700;
  padding: .3rem .5rem; cursor: pointer;
}
.pns-hint {
  display: flex; flex-wrap: wrap; gap: .75rem 1rem;
  padding: .45rem 1.1rem;
  background: #fafafa;
  border-bottom: 1px solid #f1f5f9;
  font-size: .72rem; color: #94a3b8; font-weight: 600;
}
.pns-hint kbd {
  display: inline-block; min-width: 1.2rem; text-align: center;
  padding: .05rem .3rem; margin: 0 .1rem;
  border: 1px solid #e2e8f0; border-radius: 4px;
  background: #fff; font-size: .65rem; font-family: inherit;
}
.pns-results {
  max-height: min(50vh, 360px); overflow-y: auto; padding: .4rem;
}
.pns-group {
  font-size: .68rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: #94a3b8;
  padding: .55rem .7rem .2rem;
}
.pns-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .7rem .75rem; border-radius: 12px;
  text-decoration: none; color: #0f172a;
  transition: background .12s;
}
.pns-item:hover, .pns-item.is-active {
  background: linear-gradient(90deg, #f5f3ff, #faf5ff);
  color: #5b21b6;
}
.pns-item-icon {
  width: 2.25rem; height: 2.25rem; border-radius: 10px;
  display: grid; place-items: center; flex-shrink: 0;
  background: #f1f5f9; color: #64748b; font-size: 1.05rem;
}
.pns-item.is-active .pns-item-icon,
.pns-item:hover .pns-item-icon {
  background: #ede9fe; color: #7c3aed;
}
.pns-item-text { flex: 1; min-width: 0; }
.pns-item-text strong {
  display: block; font-size: .95rem; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pns-item-text small {
  display: block; font-size: .75rem; color: #94a3b8;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pns-item-go { color: #c4b5fd; font-size: 1rem; }
.pns-empty {
  padding: 2rem 1rem; text-align: center; color: #94a3b8; font-size: .9rem;
}
.pns-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: .55rem 1.1rem; border-top: 1px solid #f1f5f9;
  font-size: .72rem; color: #94a3b8; font-weight: 600;
  background: #fafafa;
}

/* —— Auth menu (fixed, no Bootstrap popper) —— */
.in-auth-menu { position: relative; list-style: none; }
.in-auth-trigger {
  display: inline-flex !important; align-items: center; gap: .4rem;
  border-radius: 999px !important; font-weight: 700 !important;
  padding: .4rem .7rem .4rem .45rem !important;
}
.in-auth-avatar {
  width: 1.65rem; height: 1.65rem; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: rgba(255,255,255,.25); font-size: .75rem; font-weight: 800;
}
.in-auth-avatar.lg {
  width: 2.4rem; height: 2.4rem; font-size: .95rem;
  background: linear-gradient(135deg, #7c3aed, #ec4899); color: #fff;
}
.in-auth-chevron { font-size: .85rem; opacity: .85; transition: transform .15s; }
.in-auth-menu.is-open .in-auth-chevron { transform: rotate(180deg); }

.in-auth-panel {
  position: absolute; top: calc(100% + .45rem); right: 0;
  min-width: 15.5rem; z-index: 2000;
  background: #fff;
  border: 1px solid rgba(93,87,158,.12);
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(15,23,42,.16);
  padding: .45rem;
  animation: pns-in .16s ease both;
}
/* When fixed by JS (escape navbar overflow) */
.in-auth-panel.is-fixed {
  position: fixed; top: auto; right: auto;
}
.in-auth-panel[hidden] { display: none !important; }
.in-auth-panel-head {
  display: flex; gap: .65rem; align-items: center;
  padding: .65rem .7rem .75rem;
  border-bottom: 1px solid #f1f5f9; margin-bottom: .3rem;
}
.in-auth-panel-head strong { display: block; font-size: .9rem; }
.in-auth-panel-head small { color: #94a3b8; font-size: .75rem; }
.in-auth-item {
  display: flex; align-items: center; gap: .6rem;
  padding: .6rem .75rem; border-radius: 10px;
  text-decoration: none !important; color: #0f172a !important;
  font-weight: 600; font-size: .9rem;
  transition: background .12s;
}
.in-auth-item i { font-size: 1.05rem; color: #7c3aed; width: 1.2rem; text-align: center; }
.in-auth-item:hover { background: #f5f3ff; color: #5b21b6 !important; }
.in-auth-item.danger { color: #b91c1c !important; }
.in-auth-item.danger i { color: #ef4444; }
.in-auth-item.danger:hover { background: #fef2f2; }
.in-auth-divider { height: 1px; background: #f1f5f9; margin: .3rem .4rem; }

/* Navbar stacking — keep dropdowns above page content on all public pages */
.in-navbar {
  z-index: 1050 !important;
  overflow: visible !important;
}
.in-navbar .container,
.in-navbar .navbar-collapse,
.in-navbar .navbar-nav,
.in-nav-actions {
  overflow: visible !important;
}
@media (max-width: 991.98px) {
  .in-navbar .navbar-collapse {
    overflow-y: auto !important;
    max-height: min(80vh, 560px);
  }
  .in-auth-panel {
    position: fixed !important;
  }
}

/* Cookie consent */
.cookie-consent {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1080;
  max-width: 720px; margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(93,87,158,.12);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(15,23,42,.18);
  padding: 1rem 1.15rem;
  animation: pns-in .35s ease both;
}
.cookie-consent-inner {
  display: flex; flex-wrap: wrap; gap: .85rem 1rem; align-items: center; justify-content: space-between;
}
.cookie-consent-title { display: block; font-size: .95rem; margin-bottom: .2rem; color: #1e1b4b; }
.cookie-consent-msg { font-size: .84rem; color: #64748b; max-width: 36rem; line-height: 1.45; }
.cookie-consent-link { font-weight: 700; margin-left: .25rem; }
.cookie-consent-actions { display: flex; flex-wrap: wrap; gap: .45rem; }
@media (max-width: 575.98px) {
  .cookie-consent { left: .65rem; right: .65rem; bottom: .65rem; }
  .cookie-consent-actions { width: 100%; }
  .cookie-consent-actions .btn { flex: 1; }
}


/* —— Promo banner (modern) —— */
.pp-banner {
  position: relative;
  z-index: 1040;
  overflow: hidden;
  color: #fff;
  font-size: .92rem;
}
.pp-banner-glow {
  position: absolute;
  inset: -40% -10% auto auto;
  width: 50%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,.22), transparent 65%);
  pointer-events: none;
}
.pp-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: .7rem 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  align-items: center;
  justify-content: center;
}
.pp-banner-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.22);
  flex-shrink: 0;
  font-size: 1.05rem;
}
.pp-banner-copy {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  min-width: 0;
  text-align: center;
}
@media (min-width: 768px) {
  .pp-banner-copy { text-align: left; }
}
.pp-banner-text {
  font-weight: 800;
  letter-spacing: -.01em;
  font-size: .95rem;
}
.pp-banner-sub {
  font-size: .78rem;
  opacity: .9;
  font-weight: 500;
}
.pp-banner-actions {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex-shrink: 0;
}
.pp-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: #0f172a !important;
  background: #fff;
  border-radius: 999px;
  padding: .4rem .9rem;
  text-decoration: none !important;
  font-size: .8rem;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
  transition: transform .15s, box-shadow .15s;
}
.pp-banner-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,.2);
  color: #0f172a !important;
}
.pp-banner-x {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.12);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: background .15s;
}
.pp-banner-x:hover { background: rgba(255,255,255,.25); }
.pp-banner-promo { background: linear-gradient(105deg, #4c1d95 0%, #7c3aed 45%, #0f766e 110%); }
.pp-banner-sale { background: linear-gradient(105deg, #9f1239 0%, #e11d48 40%, #ea580c 100%); }
.pp-banner-event { background: linear-gradient(105deg, #1e3a8a 0%, #2563eb 45%, #7c3aed 100%); }
.pp-banner-info { background: linear-gradient(105deg, #155e75 0%, #0891b2 50%, #2563eb 100%); }
.pp-banner-warning { background: linear-gradient(105deg, #92400e 0%, #d97706 50%, #ca8a04 100%); }

/* —— Promo popup: always true viewport center —— */
.pp-modal {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  margin: 0 !important;
  padding: 1rem !important;
  z-index: 3000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box;
}
.pp-modal[hidden] {
  display: none !important;
}
.pp-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.pp-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(440px, calc(100vw - 2rem));
  max-height: min(88vh, 640px);
  overflow: auto;
  margin: 0 auto;
  background: #fff;
  border-radius: 28px;
  padding: 1.75rem 1.6rem 1.35rem;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08),
    0 40px 100px rgba(15,23,42,.45);
  text-align: center;
  animation: pp-pop .38s cubic-bezier(.16,1,.3,1) both;
  transform: translateZ(0);
}
@keyframes pp-pop {
  from { opacity: 0; transform: translateY(18px) scale(.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.pp-modal-close {
  position: absolute;
  top: .85rem;
  right: .85rem;
  width: 2.15rem;
  height: 2.15rem;
  border: 0;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .15s, color .15s;
  z-index: 2;
}
.pp-modal-close:hover { background: #e2e8f0; color: #0f172a; }
.pp-modal-visual {
  position: relative;
  width: 5.5rem;
  height: 5.5rem;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
}
.pp-modal-orb {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, transparent 45%),
    linear-gradient(145deg, #ede9fe, #fae8ff 50%, #d1fae5);
  box-shadow: 0 12px 32px rgba(124, 58, 237, .22);
}
.pp-modal-emoji {
  position: relative;
  z-index: 1;
  font-size: 2.1rem;
  line-height: 1;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.1));
}
.pp-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .35rem .75rem;
  border-radius: 999px;
  margin-bottom: .85rem;
  background: #f5f3ff;
  color: #6d28d9;
}
.pp-modal-sale .pp-modal-badge { background: #fff1f2; color: #be123c; }
.pp-modal-event .pp-modal-badge { background: #eff6ff; color: #1d4ed8; }
.pp-modal-deal .pp-modal-badge { background: #ecfdf5; color: #047857; }
.pp-modal-info .pp-modal-badge { background: #ecfeff; color: #0e7490; }
.pp-modal-title {
  font-size: clamp(1.35rem, 3.5vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin: 0 0 .55rem;
  color: #0f172a;
  line-height: 1.2;
}
.pp-modal-body {
  color: #64748b;
  font-size: .98rem;
  line-height: 1.55;
  margin: 0 auto 1.25rem;
  max-width: 32ch;
}
.pp-modal-actions {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-bottom: .85rem;
}
.pp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  width: 100%;
  border-radius: 999px;
  padding: .85rem 1.25rem;
  font-weight: 800;
  font-size: .95rem;
  text-decoration: none !important;
  border: 0;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.pp-btn-primary {
  color: #fff !important;
  background: linear-gradient(105deg, #5D579E 0%, #7c3aed 50%, #0f766e 120%);
  box-shadow: 0 12px 28px rgba(124, 58, 237, .35);
}
.pp-btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  color: #fff !important;
}
.pp-modal-sale .pp-btn-primary {
  background: linear-gradient(105deg, #e11d48, #ea580c);
  box-shadow: 0 12px 28px rgba(225, 29, 72, .3);
}
.pp-modal-event .pp-btn-primary {
  background: linear-gradient(105deg, #2563eb, #7c3aed);
}
.pp-modal-deal .pp-btn-primary {
  background: linear-gradient(105deg, #059669, #0d9488);
  box-shadow: 0 12px 28px rgba(5, 150, 105, .3);
}
.pp-btn-secondary {
  color: #4c1d95 !important;
  background: #f5f3ff;
  border: 1.5px solid #e9e5ff;
}
.pp-btn-secondary:hover {
  background: #ede9fe;
  color: #5b21b6 !important;
}
.pp-modal-engage {
  margin: .25rem 0 1rem;
  padding-top: .85rem;
  border-top: 1px dashed #e2e8f0;
}
.pp-modal-engage-label {
  display: block;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: .5rem;
}
.pp-modal-engage-row {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  justify-content: center;
}
.pp-chip {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .45rem .75rem;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155 !important;
  text-decoration: none !important;
  font-size: .8rem;
  font-weight: 700;
  transition: border-color .15s, background .15s, color .15s;
}
.pp-chip i { color: #7c3aed; }
.pp-chip:hover {
  background: #f5f3ff;
  border-color: #ddd6fe;
  color: #5b21b6 !important;
}
.pp-modal-later {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-size: .82rem;
  font-weight: 600;
  padding: .35rem;
  cursor: pointer;
}
.pp-modal-later:hover { color: #64748b; }

body.pp-modal-open { overflow: hidden !important; }

/* Carousel / gallery (kept) */
.carousel.in-carousel-fx-fade .carousel-item {
  opacity: 0; transition: opacity .8s ease-in-out; transition-property: opacity;
}
.carousel.in-carousel-fx-fade .carousel-item.active { opacity: 1; }
.carousel.in-carousel-fx-zoom .carousel-item.active .in-carousel-slide-wrap {
  animation: car-zoom 8s ease forwards;
}
@keyframes car-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.carousel.in-carousel-fx-blur .carousel-item {
  filter: blur(8px); opacity: 0; transition: filter .7s ease, opacity .7s ease;
}
.carousel.in-carousel-fx-blur .carousel-item.active {
  filter: blur(0); opacity: 1;
}
.in-carousel-slide-wrap { position: relative; overflow: hidden; min-height: 420px; background-size: cover; background-position: center; }
.in-carousel-video-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  pointer-events: none;
}
.in-carousel-overlay-layer { position: absolute; inset: 0; z-index: 1; }
.in-carousel-content { position: relative; z-index: 2; }

.gallery-layout-album-stack .gallery-stack-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 2rem 1.5rem;
}
.gallery-album-stack {
  position: relative; height: 260px; cursor: pointer;
  transition: transform .25s ease;
}
.gallery-album-stack:hover { transform: translateY(-6px); }
.gallery-album-stack .stack-layer {
  position: absolute; inset: 0; border-radius: 16px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(15,23,42,.15);
  background: #e2e8f0; border: 2px solid #fff;
}
.gallery-album-stack .stack-layer img,
.gallery-album-stack .stack-layer video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.gallery-album-stack .stack-layer:nth-child(1) { transform: rotate(-6deg) translate(-8px, 6px); z-index: 1; opacity: .85; }
.gallery-album-stack .stack-layer:nth-child(2) { transform: rotate(4deg) translate(10px, -4px); z-index: 2; opacity: .9; }
.gallery-album-stack .stack-layer:nth-child(3),
.gallery-album-stack .stack-layer:last-child { transform: rotate(0); z-index: 3; }
.gallery-album-stack:hover .stack-layer:nth-child(1) { transform: rotate(-10deg) translate(-14px, 8px); }
.gallery-album-stack:hover .stack-layer:nth-child(2) { transform: rotate(8deg) translate(14px, -6px); }
.gallery-album-caption { margin-top: .85rem; text-align: center; }
.gallery-album-caption h5 { font-weight: 800; font-size: 1rem; margin: 0 0 .2rem; }
.gallery-album-caption p { font-size: .82rem; color: #64748b; margin: 0; }
.gallery-layout-masonry .gallery-masonry { column-count: 3; column-gap: 1rem; }
@media (max-width: 991.98px) { .gallery-layout-masonry .gallery-masonry { column-count: 2; } }
@media (max-width: 575.98px) { .gallery-layout-masonry .gallery-masonry { column-count: 1; } }
.gallery-layout-masonry .gallery-masonry-item { break-inside: avoid; margin-bottom: 1rem; }
