/* ============================================================
   CvvStar — Trust Signals (v2)
   ============================================================
   Removed conflicting rules with style.css:
     - .footer-bottom (kept in style.css)
     - .cart-badge (kept in style.css, use .notif-badge-*)
   ============================================================ */

/* ═══ Trust Strip ═══ */
.trust-strip {
  background: linear-gradient(90deg, rgba(124,107,255,.05), rgba(34,211,238,.05));
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: 12.5px;
}
.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.trust-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #B9BACE;
  font-weight: 500;
}
.trust-strip-item svg {
  width: 15px;
  height: 15px;
  color: var(--accent-2);
  flex-shrink: 0;
}
.trust-strip-item strong { color: var(--text); font-weight: 600; }

@media (max-width: 760px) {
  .trust-strip-inner { gap: 16px; }
  .trust-strip-item:nth-child(n+4) { display: none; }
}

/* ═══ Product Card Trust Badges ═══ */
.product-trust-badges {
  display: flex;
  gap: 5px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.product-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  color: #B9BACE;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.product-trust-badge svg { width: 11px; height: 11px; flex-shrink: 0; }
.product-trust-badge.warranty { color: #4ADE80; border-color: rgba(74,222,128,.35); background: rgba(74,222,128,.06); }
.product-trust-badge.warranty svg { color: #4ADE80; }
.product-trust-badge.shipping { color: #22D3EE; border-color: rgba(34,211,238,.35); background: rgba(34,211,238,.06); }
.product-trust-badge.shipping svg { color: #22D3EE; }

/* ═══ Product Page — Trust Card ═══ */
.trust-card {
  background: linear-gradient(135deg, rgba(124,107,255,.06), rgba(34,211,238,.03));
  border: 1px solid rgba(124,107,255,.25);
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 24px;
}
.trust-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.trust-card-head svg { width: 18px; height: 18px; }
.trust-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.trust-card-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all .25s;
}
.trust-card-item:hover {
  border-color: rgba(124,107,255,.35);
  background: rgba(255,255,255,.05);
}
.trust-card-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-2);
  flex-shrink: 0;
  margin-top: 2px;
}
.trust-card-item-text strong {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.trust-card-item-text span {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.4;
}



/* ═══ Product Page Actions (Wishlist + Compare) ═══ */
.pd-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}
@media (max-width: 520px) {
  .pd-actions { grid-template-columns: 1fr; }
}

.pd-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: 13px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all .25s cubic-bezier(.22,1,.36,1);
  white-space: nowrap;
}

.pd-action-btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  transition: all .25s;
}

.pd-action-btn:hover {
  border-color: var(--border-strong);
  background: #191926;
  transform: translateY(-2px);
}

.pd-action-btn:active {
  transform: translateY(0);
}

.pd-action-btn:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

/* ═══ Wishlist Active State ═══ */
.pd-action-btn[data-wishlist].is-active {
  color: #FF6B9D !important;
  border-color: rgba(255,107,157,.6) !important;
  background: rgba(255,107,157,.12) !important;
  box-shadow: 0 8px 24px -8px rgba(255,107,157,.55) !important;
}
.pd-action-btn[data-wishlist].is-active svg {
  fill: #FF6B9D !important;
  stroke: #FF6B9D !important;
}

/* ═══ Compare Active State ═══ */
.pd-action-btn[data-compare].is-active {
  color: #22D3EE !important;
  border-color: rgba(34,211,238,.6) !important;
  background: rgba(34,211,238,.12) !important;
  box-shadow: 0 8px 24px -8px rgba(34,211,238,.55) !important;
}
.pd-action-btn[data-compare].is-active svg {
  stroke: #22D3EE !important;
  fill: none !important;
}

/* ═══ Trust Seals Row (Footer) ═══ */
.trust-seals {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  margin-top: 22px;
}
.trust-seal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #9596AD;
  font-weight: 600;
}
.trust-seal svg {
  width: 16px;
  height: 16px;
  color: var(--accent-2);
  flex-shrink: 0;
}
.trust-seal strong { color: var(--text); }

/* ═══ Footer Bottom Top (copy + SSL) — only the child of .footer-bottom ═══ */
/* NOTE: .footer-bottom itself is defined in style.css. Only .footer-bottom-top
   and .footer-copy here to avoid conflicts. */
.footer-bottom-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-copy {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.footer-copy p { margin: 0; }
.footer-copy p a { color: var(--muted); transition: color .2s; }
.footer-copy p a:hover { color: var(--accent-2); }

/* ═══ SSL Badge ═══ */
.ssl-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(74,222,128,.08);
  border: 1px solid rgba(74,222,128,.3);
  color: #86EFAC;
  white-space: nowrap;
  letter-spacing: .02em;
}
.ssl-badge svg { width: 13px; height: 13px; flex-shrink: 0; }

/* ═══ Payment Icons (SVG cards) — responsive ═══ */
.payment-icons-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pay-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  max-width: 52px;
  height: 34px;
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: var(--surface-2);
  transition: all .25s cubic-bezier(.22,1,.36,1);
  flex-shrink: 0;
  box-shadow: 0 2px 8px -4px rgba(0,0,0,.4);
}
.pay-icon:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.2);
  box-shadow: 0 8px 20px -6px rgba(0,0,0,.6);
}
.pay-icon svg { width: 100%; height: 100%; display: block; }

/* ═══ Notification badges ═══ */
.icon-btn-badged {
  position: relative !important;
  overflow: visible !important;
}

.notif-badge {
  position: absolute !important;
  top: -6px !important;
  right: -6px !important;
  left: auto !important;
  bottom: auto !important;
  min-width: 18px !important;
  height: 18px !important;
  padding: 0 5px !important;
  border-radius: 999px !important;
  border: 2px solid #07070B !important;
  font-family: 'Sora', sans-serif !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  display: grid !important;
  place-items: center !important;
  z-index: 5 !important;
  transform: none !important;
  margin: 0 !important;
  letter-spacing: 0 !important;
}
.notif-badge[hidden] { display: none !important; }

.notif-badge-cart {
  background: linear-gradient(135deg, #7C6BFF, #22D3EE) !important;
  color: #07070B !important;
  box-shadow: 0 3px 8px rgba(124,107,255,.55) !important;
}
.notif-badge-wishlist {
  background: #DC2626 !important;
  color: #FFFFFF !important;
  box-shadow: 0 3px 8px rgba(220,38,38,.55) !important;
}

.notif-badge.pop {
  animation: notifPop .45s cubic-bezier(.22,1,.36,1);
}
@keyframes notifPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* ═══ Responsive ═══ */
@media (max-width: 900px) {
  .footer-bottom-top { flex-direction: column; align-items: flex-start; }
  .payment-icons-list { justify-content: flex-start; width: 100%; }
}
@media (max-width: 640px) {
  .footer-copy { width: 100%; }
  .pay-icon { width: 46px; max-width: 46px; height: 30px; }
  .trust-seals { gap: 14px; justify-content: flex-start; }
  .trust-seal { font-size: 11px; }
}

/* ═══ Reduced motion ═══ */
@media (prefers-reduced-motion: reduce) {
  .live-counter-dot,
  .notif-badge.pop {
    animation: none !important;
  }
}