/* === Zoey Menu: Policy & Zalo Quick-Checkout Enhancements === */
.zoey-tiktok-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.zoey-tiktok-pill:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

.zoey-note-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.zoey-note-chip {
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #f59e0b66;
  color: #92400e;
  font-size: 10.5px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.12s ease;
}
.zoey-note-chip:hover {
  background: #fef3c7;
}
.zoey-note-chip:active {
  transform: scale(0.96);
}

.zoey-cart-policy-note {
  margin-bottom: 10px;
  padding: 8px 11px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--border, #e9e3d9);
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.zoey-cart-policy-note button {
  color: var(--primary, #1c2c21);
  font-weight: 900;
  text-decoration: underline;
  white-space: nowrap;
  cursor: pointer;
}

.zoey-policy-tabs {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 5px;
  border-radius: 18px;
  background: var(--light, #f4efe6);
  border: 1px solid var(--border, #e9e3d9);
}
.zoey-policy-tab {
  position: relative;
  z-index: 2;
  min-height: 44px;
  padding: 10px 10px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 800;
  border: none;
  background: transparent;
  color: var(--primary, #1c2c21);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  line-height: 1.2;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), color 0.18s ease;
}
@media (max-width: 480px) {
  .zoey-policy-tab {
    min-height: 40px;
    padding: 8px 6px;
    font-size: 11.5px;
  }
}
.zoey-policy-tab:active {
  transform: scale(0.97);
}
.zoey-policy-tabs:not([data-zf-glider="1"]) .zoey-policy-tab.is-active {
  background: var(--primary, #1c2c21);
  color: #ffffff;
}
.zoey-policy-tabs[data-zf-glider="1"] .zoey-policy-tab[data-zf-active="1"],
.zoey-policy-tabs[data-zf-glider="1"] .zoey-policy-tab.is-active {
  background: transparent !important;
  color: #ffffff !important;
}
.zoey-policy-tabs[data-zf-glider="1"] .zoey-policy-tab[data-zf-active="0"]:not(.is-active) {
  background: transparent !important;
  color: var(--primary, #1c2c21) !important;
}

@keyframes zfPolicyPaneEnter {
  0% {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
.zoey-policy-pane-enter {
  animation: zfPolicyPaneEnter 0.26s cubic-bezier(0.22, 1, 0.36, 1) both;
}

#zoey-policy-modal {
  overscroll-behavior: none !important;
  touch-action: none;
}
#zoey-policy-modal .zoey-policy-scroll-body {
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-y !important;
}

.zoey-policy-img-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--border, #e9e3d9);
  background: #faf8f5;
  box-shadow: 0 8px 24px -8px rgba(28, 44, 33, 0.12);
  cursor: zoom-in;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease, border-color 0.18s ease;
}
.zoey-policy-img-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent, #bfa37a);
  box-shadow: 0 14px 30px -8px rgba(28, 44, 33, 0.2);
}
.zoey-policy-img-card:active {
  transform: scale(0.99);
}
.zoey-policy-img-card img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* Interactive Policy Image Zoom Lightbox */
#zoey-policy-image-zoom {
  overscroll-behavior: none !important;
  touch-action: none !important;
  user-select: none !important;
}
#zoey-policy-zoom-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none !important;
  cursor: grab;
}
#zoey-policy-zoom-stage.is-dragging {
  cursor: grabbing;
}
#zoey-policy-zoom-img {
  flex-shrink: 0;
  max-width: none;
  max-height: none;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
.zoey-zoom-ctrl-btn {
  height: 38px;
  min-width: 38px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 12px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.12s ease;
}
.zoey-zoom-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.24);
}
.zoey-zoom-ctrl-btn:active {
  transform: scale(0.94);
}

.zoey-zalo-copy-btn {
  width: 100%;
  padding: 11px 14px;
  border-radius: 14px;
  background: #0068ff;
  color: #fff;
  font-size: 12.5px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
  box-shadow: 0 6px 16px rgba(0, 104, 255, 0.24);
  cursor: pointer;
}
.zoey-zalo-copy-btn:hover {
  opacity: 0.94;
}
