/* === Price Popup styles (original base + volume panel) === */

.page-content {
  max-width: 520px;
  text-align: center;
}

.page-content h1 {
  margin-bottom: 12px;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-content p {
  margin: 0 0 24px;
  color: #cbd5f5;
  font-size: 16px;
}

.trigger-button {
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  color: #0b1220;
  background: linear-gradient(135deg, #f8fafc 0%, #cbd5f5 100%);
  box-shadow: 0 12px 30px rgba(148, 163, 184, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trigger-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(148, 163, 184, 0.45);
}

/* Overlay */
#sbUniquePriceOverlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Window */
#sbUniquePriceOverlay .sb-unique-window {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  width: min(94vw, 460px) !important;
  border-radius: 32px !important;
  padding: 38px 28px !important;
  position: relative !important;
  box-shadow: 0 40px 120px rgba(2, 6, 23, 0.55) !important;
  transform: translateY(-80px) scale(0.98);
  transition: all 0.55s cubic-bezier(0.19, 1, 0.22, 1);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

#sbUniquePriceOverlay.sb-is-visible {
  display: flex;
  opacity: 1;
}
#sbUniquePriceOverlay.sb-is-visible .sb-unique-window {
  transform: translateY(0) scale(1);
	font-family: sans-serif;
}

/* Header */
.sb-unique-header-block {
  text-align: center !important;
  margin-bottom: 28px !important;
}

.sb-unique-top-emoji {
  font-size: 46px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 72px !important;
  height: 72px !important;
  border-radius: 22px !important;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(14, 165, 233, 0.08)) !important;
  color: #2563eb !important;
  margin-bottom: 16px !important;
}

.sb-unique-main-title {
  font-size: 28px !important;
  color: #0f172a !important;
  font-weight: 800 !important;
  margin: 0 0 8px 0 !important;
}

.sb-unique-sub-text {
  font-size: 14px !important;
  color: #64748b !important;
  margin: 0 !important;
}

.sb-unique-sub-pill {
  margin: 14px auto 0 !important;
  display: inline-flex !important;
  gap: 6px !important;
  align-items: center !important;
  background: #f1f5f9 !important;
  color: #475569 !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

/* List */
.sb-unique-items-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  width: 100% !important;
}

/* Item link */
.sb-unique-item-link {
  display: flex !important;
  align-items: center !important;
  padding: 16px 20px !important;
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  border-radius: 20px !important;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.sb-unique-item-link:hover {
  border-color: rgba(37, 99, 235, 0.5) !important;
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.12);
}

/* Icon */
.sb-unique-item-icon-box {
  font-size: 24px !important;
  width: 44px !important;
  height: 44px !important;
  flex-shrink: 0 !important;
  margin-right: 14px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  background: #f1f5f9 !important;
  border-radius: 14px !important;
  color: #0f172a !important;
}

.sb-unique-item-content {
  flex-grow: 1 !important;
  text-align: left !important;
}

.sb-unique-item-name {
  display: block !important;
  font-size: 16px !important;
  color: #1e293b !important;
  font-weight: 700 !important;
  margin-bottom: 3px !important;
}

.sb-unique-item-hint {
  display: block !important;
  font-size: 12px !important;
  color: #94a3b8 !important;
  font-weight: 400 !important;
}

.sb-unique-item-badge {
  font-size: 10px !important;
  font-weight: 900 !important;
  color: #475569 !important;
  background: #e2e8f0 !important;
  padding: 6px 9px !important;
  border-radius: 10px !important;
  flex-shrink: 0 !important;
}

/* WhatsApp variant */
.sb-unique-wa-variant {
  border-color: rgba(34, 197, 94, 0.5) !important;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%) !important;
}

.sb-unique-wa-variant .sb-unique-item-icon-box {
  background: rgba(34, 197, 94, 0.15) !important;
  color: #166534 !important;
}

.sb-unique-wa-variant .sb-unique-item-name {
  color: #166534 !important;
}

.sb-unique-item-arrow-icon {
  color: #16a34a !important;
  font-weight: bold !important;
  font-size: 20px !important;
  margin-left: 10px !important;
}

/* Separator */
.sb-unique-visual-sep {
  text-align: center !important;
  margin: 10px 0 !important;
  position: relative !important;
  width: 100% !important;
}

.sb-unique-visual-sep::before {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 0 !important;
  width: 100% !important;
  height: 1px !important;
  background: #f1f5f9 !important;
}

.sb-unique-visual-sep span {
  position: relative !important;
  background: #f8fafc !important;
  padding: 0 15px !important;
  color: #cbd5e1 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
}

/* Close */
.sb-unique-close-trigger {
  position: absolute !important;
  top: 15px !important;
  right: 15px !important;
  background: #e2e8f0 !important;
  border: none !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  font-size: 24px !important;
  color: #64748b !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.sb-unique-close-trigger:hover {
  background: #fee2e2 !important;
  color: #ef4444 !important;
}

.sb-unique-footer-note {
  margin-top: 16px !important;
  font-size: 12px !important;
  color: #94a3b8 !important;
  text-align: center !important;
}

/* =========================================================
   Collapsible panel (contact-pop) — opens above the button
   ========================================================= */

.contact-pop-wrap{
  position: relative;
}

/* closed: sits on button level but invisible */
.contact-pop{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;

  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  padding: 14px 14px 12px;

  opacity: 0;
  pointer-events: none;
  transform: translateY(0);
  transition: opacity .18s ease, transform .18s ease;
}

/* open: moves up above button */
.contact-pop.is-open{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(calc(-100% - 10px));
}

/* closing */
.contact-pop.is-closing{
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(-100% - 22px));
}

.contact-pop__close{
  position:absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 12px;
  background: rgba(0,0,0,.06);
  cursor: pointer;
  font-size: 20px;
  line-height: 30px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.contact-pop__close:hover{
  background: #fee2e2;
  color: #ef4444;
}

/* =========================================================
   Volume chooser inside collapsible panel
   ========================================================= */

.sb-vol-pop{
  padding-top: 16px !important;
}

.sb-vol-head{
  text-align:center !important;
  margin: 2px 0 10px 0 !important;
}
.sb-vol-title{
  font-size: 16px !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  margin-bottom: 4px !important;
  letter-spacing: -0.01em !important;
}
.sb-vol-sub{
  font-size: 12px !important;
  color:#64748b !important;
}
.sb-vol-cat{
  font-weight: 800 !important;
  color:#1e293b !important;
}

.sb-vol-grid{
  display:grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  width:100% !important;
  margin-top: 10px !important;
}

.sb-vol-btn{
  border: 1px solid rgba(226,232,240,.9) !important;
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 12px 12px !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  color:#0f172a !important;
  cursor:pointer !important;
  box-shadow: 0 8px 24px rgba(15,23,42,.04) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}
.sb-vol-btn:hover{
  transform: translateY(-2px) !important;
  border-color: rgba(37,99,235,.45) !important;
  box-shadow: 0 16px 36px rgba(37,99,235,.12) !important;
}
.sb-vol-btn:active{ transform: translateY(0) !important; }

.sb-vol-ghost{
  background: #f8fafc !important;
  color:#334155 !important;
}

.sb-vol-custom{
  border-color: rgba(34,197,94,.45) !important;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%) !important;
  color:#166534 !important;
}

.sb-vol-custom-wrap{
  margin-top: 12px !important;
  padding: 12px 12px !important;
  background: #f8fafc !important;
  border: 1px solid rgba(226,232,240,.9) !important;
  border-radius: 18px !important;
}

.sb-vol-custom-row{
  display:flex !important;
  gap: 10px !important;
  align-items: center !important;
}

.sb-vol-input{
  flex: 1 1 auto !important;
  height: 44px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(148,163,184,.45) !important;
  padding: 0 12px !important;
  font-weight: 800 !important;
  outline: none !important;
  color:#0f172a !important;
  background:#ffffff !important;
}

.sb-vol-input:focus{
  border-color: rgba(37,99,235,.55) !important;
  box-shadow: 0 0 0 4px rgba(37,99,235,.12) !important;
}

.sb-vol-input-error{
  border-color: rgba(239,68,68,.75) !important;
  box-shadow: 0 0 0 4px rgba(239,68,68,.12) !important;
}

.sb-vol-send{
  height: 44px !important;
  padding: 0 14px !important;
  border-radius: 14px !important;
  border: 0 !important;
  cursor:pointer !important;
  font-weight: 900 !important;
  color:#0b1220 !important;
  background: linear-gradient(135deg, #f8fafc 0%, #cbd5f5 100%) !important;
  box-shadow: 0 12px 30px rgba(148, 163, 184, 0.28) !important;
  transition: transform .18s ease, box-shadow .18s ease !important;
  white-space: nowrap !important;
}
.sb-vol-send:hover{
  transform: translateY(-2px) !important;
  box-shadow: 0 16px 40px rgba(148, 163, 184, 0.40) !important;
}
.sb-vol-send:active{ transform: translateY(0) !important; }

.sb-vol-hint{
  margin-top: 8px !important;
  font-size: 12px !important;
  color:#64748b !important;
  text-align: left !important;
}

.sb-vol-note{
  margin-top: 10px !important;
}

@media (max-width: 420px){
  .sb-vol-btn{ padding: 11px 10px !important; }
}


/* === FIX: stable anchored dropdown (no jumping) === */
.sb-ind-wrap{
  position: relative !important;
}

#sbIndPop.is-open{
  transform: translateY(calc(-100% - 12px)) !important;
}

#sbIndPop.is-closing{
  transform: translateY(calc(-100% - 18px)) !important;
}


/* =========================================================
   Enhancements: dim shadow + float scale + button micro-anim
   ========================================================= */

/* 1) Light dim behind opened panel (inside modal window only) */
.sb-unique-window{
  position: relative !important;
}
.sb-unique-window::after{
  content:"" !important;
  position:absolute !important;
  inset: 0 !important;
  border-radius: 32px !important;
  background: rgba(15,23,42,.10) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity .18s ease !important;
  z-index: 1 !important; /* above window bg, below content */
}
.sb-unique-window.sb-ind-open::after{
  opacity: 1 !important;
}


/* 2) Panel float/scale effect */
.contact-pop{
  transform: translateY(0) scale(.98) !important;
  transform-origin: bottom center !important;
}
.contact-pop.is-open{
  
  box-shadow: 0 24px 60px rgba(2,6,23,.18) !important;
}
.contact-pop.is-closing{
  
}

/* 3) Micro animation on 🟢 button while panel is open */
.sb-ind-toggle{
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}
.sb-ind-toggle.sb-ind-active{
  transform: translateY(-1px) !important;
  box-shadow: 0 18px 44px rgba(34,197,94,.18) !important;
  border-color: rgba(34,197,94,.65) !important;
}
.sb-ind-toggle.sb-ind-active .sb-unique-item-icon-box{
  animation: sbPulse 1.25s ease-in-out infinite !important;
  box-shadow: 0 0 0 6px rgba(34,197,94,.10) !important;
}
@keyframes sbPulse{
  0%{ transform: scale(1); }
  50%{ transform: scale(1.06); }
  100%{ transform: scale(1); }
}

/* Optional: soften arrow */
.sb-ind-toggle.sb-ind-active .sb-unique-item-arrow-icon{
  transform: translateX(2px) !important;
  transition: transform .18s ease !important;
}


/* =========================================================
   FINAL FIX: Panel strictly inside modal (no overflow, no jump)
   ========================================================= */

/* Allow floating content inside modal */
.sb-unique-window{
  overflow: visible !important;
}

/* Anchor wrapper */
.sb-ind-wrap{
  position: relative !important;
}


/* Open state */
#sbIndPop.is-open{
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: scale(1) !important;
  box-shadow: 0 28px 70px rgba(2,6,23,.18) !important;
}

/* Closing */
#sbIndPop.is-closing{
  opacity: 0 !important;
  transform: scale(.97) !important;
}
