/* Vitatherx Widget Kit — standalone styles */

/* Widget 1 — NAD Promo */
.vt-nad-promo {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: transparent;
}

.vt-nad-promo__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 10px;
  color: #ff2f42;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.vt-nad-promo__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.vt-nad-promo__meta-item svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.vt-nad-promo__headline {
  margin: 0 0 8px;
  color: #24302F;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.vt-nad-promo__copy {
  margin: 0 0 12px;
  color: #66736F;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
}

.vt-nad-promo__badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.vt-nad-promo__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid #34c96f;
  border-radius: 8px;
  background: #dff8e8;
  color: #20b95e;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.vt-nad-promo__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid rgba(68, 59, 49, 0.12);
}

.vt-nad-promo__urgency {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #2f2a24;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

.vt-nad-promo__tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: #16b93a;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.vt-nad-promo__stock-count {
  display: inline-block;
  min-width: 2ch;
  color: #ff3a25;
  animation: vt-nad-stock-pulse 1.2s ease-in-out infinite;
}

@keyframes vt-nad-stock-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* Widget 3 — Flash Countdown */
.vt-flash-countdown {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin: 16px 0 20px;
  padding: 14px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
  border: 1px solid #fecaca;
}

.vt-flash-countdown__title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #b91c1c;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.vt-flash-countdown__icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.vt-flash-countdown__timer {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: "Arial Black", sans-serif;
}

.vt-flash-countdown__time {
  font-size: 18px;
  font-weight: 800;
  color: #991b1b;
}

.vt-flash-countdown__sep {
  font-size: 18px;
  font-weight: 800;
  color: #991b1b;
  margin: 0 2px;
}

.vt-flash-countdown__tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 24px;
  margin-left: 4px;
  padding: 0 4px;
  border-radius: 4px;
  background: #111;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

/* Widget 4b — Delivery FAQ */
.vt-delivery-faq {
  max-width: 100%;
  margin: 28px 0 0;
  padding: 0;
  color: #111;
}

.vt-delivery-faq__arrival,
.vt-delivery-faq__countdown {
  text-align: center;
}

.vt-delivery-faq__arrival {
  font-size: 18px;
  margin-bottom: 8px;
}

.vt-delivery-faq__countdown {
  font-size: 16px;
  margin-bottom: 26px;
  letter-spacing: 0.02em;
}

.vt-delivery-faq__countdown strong { font-weight: 800; }

.vt-delivery-faq__perks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.vt-delivery-faq__perk {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 15px;
  color: #1a1a1a;
  font-weight: 500;
}

.vt-delivery-faq__perk-icon {
  color: #c7a882;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(199, 168, 130, 0.08);
  border: 1.5px solid rgba(199, 168, 130, 0.28);
  border-radius: 8px;
  flex-shrink: 0;
}

.vt-delivery-faq__perk-icon svg {
  width: 18px;
  height: 18px;
}

.vt-delivery-faq__accordion {
  border-top: 1px solid #e5e7eb;
  width: 100%;
}

.vt-delivery-faq__item {
  border-bottom: 1px solid #e5e7eb;
  width: 100%;
}

.vt-delivery-faq__trigger {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  text-align: left;
  cursor: pointer;
}

.vt-delivery-faq__trigger-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vt-delivery-faq__trigger-icon {
  color: #c7a882;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(199, 168, 130, 0.1);
  border: 1.5px solid rgba(199, 168, 130, 0.25);
  border-radius: 8px;
  flex-shrink: 0;
}

.vt-delivery-faq__trigger-icon svg {
  width: 16px;
  height: 16px;
}

.vt-delivery-faq__chevron {
  color: #c7a882;
  display: inline-flex;
  align-items: center;
}

.vt-delivery-faq__chevron svg {
  transition: transform 0.18s ease;
}

.vt-delivery-faq__item[data-open="true"] .vt-delivery-faq__chevron svg {
  transform: rotate(180deg);
}

.vt-delivery-faq__panel {
  display: none;
  width: 100%;
  box-sizing: border-box;
  padding: 0 18px 18px 36px;
  color: #2d2d2d;
  font-size: 14px;
  line-height: 1.7;
}

.vt-delivery-faq__item[data-open="true"] .vt-delivery-faq__panel {
  display: block;
}

.vt-esthetician-authority {
  align-items: stretch;
  background: linear-gradient(135deg, #f7fbff 0%, #eef5ff 48%, #fff6e7 100%);
  border: 1.5px solid #1b4d80;
  border-left: 5px solid #0b4778;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(8, 48, 88, 0.12);
  color: #0b3358;
  display: flex;
  gap: 18px;
  margin: 18px 0 0;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.vt-esthetician-authority__copy {
  flex: 1 1 auto;
  padding: 22px 0 22px 24px;
  position: relative;
  z-index: 1;
}

.vt-esthetician-authority__eyebrow {
  align-items: center;
  display: flex;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  gap: 9px;
  letter-spacing: 0.08em;
  line-height: 1.25;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.vt-esthetician-authority__check {
  align-items: center;
  background: #0b4778;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(199, 168, 130, 0.35);
  color: #fff;
  display: inline-flex;
  flex: 0 0 17px;
  font-size: 11px;
  font-weight: 800;
  height: 17px;
  justify-content: center;
  line-height: 1;
  width: 17px;
}

.vt-esthetician-authority__text {
  color: #193e62;
  font-size: 16.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.58;
  margin: 0 0 16px;
  max-width: 32ch;
  padding-left: 26px;
  text-indent: -26px;
}

.vt-esthetician-authority__name {
  border-top: 1px solid rgba(11, 71, 120, 0.16);
  color: #0b3358;
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.35;
  margin: 0 0 0 26px;
  padding-top: 10px;
}

.vt-esthetician-authority__photo {
  align-self: stretch;
  background: #0b4778;
  border-left: 2px solid #0b4778;
  box-shadow: inset 0 0 0 3px #0b4778;
  display: flex;
  flex: 0 0 168px;
  justify-content: center;
  margin: 0;
  max-width: 38%;
  overflow: hidden;
  position: relative;
}

.vt-esthetician-authority__photo img {
  align-self: stretch;
  display: block;
  height: 100%;
  max-height: 224px;
  min-height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  width: 100%;
}

.vt-delivery-faq__jump {
  margin-top: 26px;
}

.vt-delivery-faq__jump-label {
  color: #c7a882;
  font-size: 14px;
  margin-bottom: 12px;
}

.vt-delivery-faq__jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.vt-delivery-faq__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  color: #111;
  text-decoration: none;
  font-size: 14px;
}

/* Widget 4c — Sticky Bottom Banner */
.sticky-banner {
  display: block !important;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.12);
  z-index: 9998;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.sticky-banner.show {
  transform: translateY(0);
}

.sticky-banner.hidden {
  transform: translateY(100%);
}

.banner-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.banner-product {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1 1 auto;
}

.banner-product__img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 10px;
  background: #f8f8f8;
  flex: none;
}

.banner-product__copy {
  min-width: 0;
}

.banner-product__title {
  font-size: 21px;
  font-weight: 800;
  color: #111;
  line-height: 1.2;
}

.banner-product__subtitle {
  font-size: 17px;
  color: #6b7280;
  line-height: 1.2;
  margin-top: 4px;
}

.banner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.banner-bundle-select-wrap {
  flex: 0 0 220px;
  max-width: 220px;
}

.banner-bundle-select {
  width: 100%;
  height: 42px;
  border: 1px solid #ecd3ca;
  border-radius: 12px;
  background: #fff7f4;
  color: #2b2118;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 500;
  outline: none;
}

.banner-cta-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #2ecf77;
  color: #ffffff !important;
  height: 48px;
  padding: 0 32px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 1px solid #2ecf77;
  white-space: nowrap;
}

.banner-cta-btn:hover {
  background: #25b866;
  border-color: #25b866;
}

.cta-amount {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.cta-text-short { display: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 959px) {
  .vt-nad-promo__headline { font-size: 15px; }
  .vt-nad-promo__copy,
  .vt-nad-promo__urgency { font-size: 14px; }
  .vt-nad-promo__badge { font-size: 11px; min-height: 32px; padding: 6px 10px; }
}

@media (max-width: 640px) {
  .vt-delivery-faq__perks { grid-template-columns: 1fr; }
  .vt-delivery-faq__panel { padding: 0 0 18px; }
  .vt-esthetician-authority { border-left-width: 4px; gap: 8px; }
  .vt-esthetician-authority__copy { padding: 18px 0 18px 16px; }
  .vt-esthetician-authority__eyebrow { font-size: 11px; letter-spacing: 0.06em; margin-bottom: 10px; }
  .vt-esthetician-authority__text {
    font-size: 13.5px;
    line-height: 1.5;
    max-width: 25ch;
    padding-left: 20px;
    text-indent: -20px;
  }
  .vt-esthetician-authority__name { font-size: 12px; margin-left: 20px; }
  .vt-esthetician-authority__photo { flex-basis: 94px; max-width: 32%; }
  .vt-esthetician-authority__photo img { max-height: 172px; object-position: 52% 18%; }
}

@media (max-width: 767px) {
  .sticky-banner {
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.1);
  }

  .banner-content {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 12px 12px;
    min-height: auto;
    gap: 10px;
  }

  .banner-product {
    flex: none;
    width: 100%;
    gap: 10px;
  }

  .banner-product__img {
    width: 42px;
    height: 42px;
  }

  .banner-product__title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .banner-product__subtitle {
    font-size: 12px;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .banner-actions {
    width: 100%;
    gap: 8px;
  }

  .banner-bundle-select-wrap {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
  }

  .banner-bundle-select {
    width: 100%;
    height: 42px;
    font-size: 13px;
    padding: 0 10px;
  }

  .banner-cta-btn {
    flex: 0 0 auto;
    height: 42px;
    padding: 0 16px;
    font-size: 14px;
    gap: 6px;
  }

  /* Mobile: button reads just "ADD" (hide the full label + amount). */
  .cta-text-full,
  .cta-amount { display: none; }
  .cta-text-short { display: inline; }
}

@media (max-width: 380px) {
  .banner-cta-btn {
    padding: 0 12px;
  }

  .banner-cta-btn .cta-text {
    font-size: 13px;
  }
}
