/* Sekrety z Natury Chat Widget - Design inspired by viza.se */

/* ─── Brand colors (z logo Sekrety z Natury) ─── */
:root {
  --sznc-brand: #9fbe14;
  --sznc-brand-dark: #7a9610;
  --sznc-brand-darker: #6a820e;
  --sznc-brand-light: #b8d43a;
  --sznc-brand-pale: rgba(159, 190, 20, 0.12);
  --sznc-brand-soft: rgba(159, 190, 20, 0.08);
}


/* ─── Animations ─── */
@keyframes sznc-mini-enter {
  from { opacity: 0; transform: translateY(28px) scale(0.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes sznc-mini-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes sznc-mini-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184, 212, 58, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(184, 212, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(184, 212, 58, 0); }
}

@keyframes sznc-typing-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

@keyframes sznc-message-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes sznc-shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes sznc-online-pulse {
  0% { box-shadow: 0 0 0 0 rgba(122, 150, 16, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(122, 150, 16, 0); }
  100% { box-shadow: 0 0 0 0 rgba(122, 150, 16, 0); }
}

/* ─── Mini launcher (closed state) ─── */
.sznc-mini {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(28px) scale(0.92);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease, bottom 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Lift launcher above cookie banner (Woodmart wd-cookies-popup) */
.wd-cookies-popup ~ .sznc-mini,
body:has(.wd-cookies-popup) .sznc-mini,
.wd-cookies-popup ~ #sznc-chat-root .sznc-mini,
body:has(.wd-cookies-popup) #sznc-chat-root .sznc-mini {
  bottom: calc(92px + env(safe-area-inset-bottom, 0px));
}

.sznc-mini--entered {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  animation: sznc-mini-enter 0.55s cubic-bezier(0.34, 1.4, 0.64, 1) both;
}

.sznc-mini--entered .sznc-mini__launcher {
  animation: sznc-mini-float 4.5s ease-in-out 1.2s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .sznc-mini--entered,
  .sznc-mini--entered .sznc-mini__launcher,
  .sznc-mini__online {
    animation: none !important;
  }
}

.sznc-mini__launcher {
  position: relative;
  display: inline-flex;
}

.sznc-mini__open {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(159, 190, 20, 0.2);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.99) 0%, rgba(240, 253, 250, 0.96) 100%);
  color: #0f172a;
  cursor: pointer;
  text-align: left;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.04),
    0 10px 28px -8px rgba(15, 23, 42, 0.16),
    0 4px 12px -4px rgba(159, 190, 20, 0.22);
  transition:
    transform 0.2s cubic-bezier(0.34, 1.4, 0.64, 1),
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.sznc-mini__open:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(159, 190, 20, 0.45);
  box-shadow:
    0 0 0 1px rgba(159, 190, 20, 0.12),
    0 16px 36px -10px rgba(15, 23, 42, 0.22),
    0 8px 20px -6px rgba(159, 190, 20, 0.35);
}

.sznc-mini__open:active {
  transform: translateY(0) scale(0.99);
}

.sznc-mini__copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  max-width: 176px;
}

.sznc-mini__headline {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

.sznc-mini__headline-top {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #0f172a;
  white-space: nowrap;
}

.sznc-mini__headline-bottom {
  display: block;
  margin-top: 1px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #475569;
  white-space: nowrap;
}

.sznc-mini__status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #7a9610;
  line-height: 1;
}

.sznc-mini__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b8d43a;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(184, 212, 58, 0.25);
}

.sznc-mini__avatar-wrap {
  position: relative;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
}

.sznc-mini__avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2.5px solid #fff;
  box-shadow: 0 4px 14px rgba(159, 190, 20, 0.35);
}

.sznc-mini__online {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #b8d43a;
  border: 2.5px solid #fff;
  animation: sznc-mini-pulse 2.4s ease-out infinite;
}

.sznc-mini__dismiss {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.15s ease;
  z-index: 1;
}

.sznc-mini__launcher:hover .sznc-mini__dismiss,
.sznc-mini__dismiss:focus-visible {
  opacity: 1;
  transform: scale(1);
}

.sznc-mini__dismiss:hover {
  background: rgba(15, 23, 42, 0.9);
}

/* ─── Overlay ─── */
.sznc-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

.sznc-overlay--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.35s ease, visibility 0s;
}

/* ─── Panel shell ─── */
.sznc-panel {
  position: fixed;
  inset: 0;
  z-index: 10051;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 20px;
  pointer-events: none;
  visibility: hidden;
}

.sznc-panel--open {
  pointer-events: none;
  visibility: visible;
}

.sznc-panel--open .sznc-panel__card {
  pointer-events: auto;
}

.sznc-panel__card {
  position: relative;
  width: min(420px, calc(100vw - 32px));
  height: min(700px, calc(100vh - 40px));
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.05),
    0 2px 4px -1px rgba(15, 23, 42, 0.04),
    0 12px 24px -6px rgba(15, 23, 42, 0.08),
    0 32px 64px -16px rgba(15, 23, 42, 0.16);
  transform: translateY(28px) scale(0.94);
  opacity: 0;
  transition:
    transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1),
    opacity 0.4s ease,
    box-shadow 0.4s ease;
}

.sznc-panel--open .sznc-panel__card {
  transform: translateY(0) scale(1);
  opacity: 1;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.06),
    0 4px 8px -2px rgba(15, 23, 42, 0.05),
    0 16px 32px -8px rgba(15, 23, 42, 0.1),
    0 40px 80px -20px rgba(15, 23, 42, 0.18);
}

/* ─── Panel Header ─── */
.sznc-panel__header {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

.sznc-panel__header-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 80% at 80% -10%, rgba(159, 190, 20, 0.14) 0%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(ellipse 60% 60% at -10% 90%, rgba(184, 212, 58, 0.08) 0%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(180deg, #f9fbe8 0%, #ffffff 100%);
}

.sznc-panel__header-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #9fbe14, #b8d43a, #7a9610, #b8d43a, #9fbe14);
  background-size: 300% 100%;
  animation: sznc-shimmer 4s linear infinite;
  opacity: 0.9;
}

.sznc-panel__header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 16px;
}

.sznc-panel__profile {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.sznc-panel__avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.sznc-panel__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 3px rgba(159, 190, 20, 0.15),
    0 8px 20px rgba(15, 23, 42, 0.1);
}

.sznc-panel__online {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 13px;
  height: 13px;
  background: #7a9610;
  border: 2.5px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(122, 150, 16, 0.45);
  animation: sznc-online-pulse 2.2s ease-out infinite;
}

.sznc-panel__meta {
  min-width: 0;
}

.sznc-panel__name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sznc-panel__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.sznc-panel__badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #7a9610;
  background: rgba(159, 190, 20, 0.1);
  border: 1px solid rgba(159, 190, 20, 0.18);
  padding: 3px 9px;
  border-radius: 999px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.sznc-panel__status {
  margin: 5px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #7a9610;
}

.sznc-panel__tagline {
  margin: 2px 0 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.35;
}

.sznc-panel__trained {
  margin: 1px 0 0;
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.35;
}

.sznc-panel__close {
  flex-shrink: 0 !important;
  width: 36px !important;
  height: 36px !important;
  border: none !important;
  border-radius: 14px !important;
  background: rgba(241, 245, 249, 0.8) !important;
  color: #64748b !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition:
    background 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1),
    box-shadow 0.25s ease !important;
  padding: 0 !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.sznc-panel__close svg {
  width: 16px !important;
  height: 16px !important;
  stroke-width: 2.2px !important;
  display: block !important;
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1) !important;
}

.sznc-panel__close:hover {
  background: rgba(226, 232, 240, 0.95) !important;
  color: #0f172a !important;
  transform: rotate(90deg) scale(1.08) !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1) !important;
}

.sznc-panel__close:hover svg {
  transform: rotate(-90deg) !important;
}

.sznc-panel__close:active {
  transform: rotate(90deg) scale(0.96) !important;
}

/* ─── Panel Body ─── */
.sznc-panel__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  position: relative;
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(241, 245, 249, 0.96) 100%);
  padding: 12px 12px 0;
}

/* ─── Messages ─── */
.sznc-messages {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  overflow-y: auto;
  padding: 8px 8px 12px;
}

.sznc-message {
  display: flex;
  gap: 8px;
  max-width: 92%;
  animation: sznc-message-in 0.3s ease;
}

.sznc-message--user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.sznc-message--assistant {
  align-self: flex-start;
}

.sznc-message__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.sznc-message__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sznc-message--user .sznc-message__avatar {
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 12px;
}

.sznc-message__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sznc-message__text {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  word-wrap: break-word;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.sznc-message--assistant .sznc-message__text {
  background: #ffffff;
  color: #0f172a;
  border-bottom-left-radius: 4px;
}

.sznc-message--user .sznc-message__text {
  background: #0f172a;
  color: white;
  border-bottom-right-radius: 4px;
}

.sznc-message__time {
  font-size: 10px;
  color: #94a3b8;
  padding: 0 4px;
}

.sznc-message--user .sznc-message__time {
  text-align: right;
}

/* ─── Typing Indicator ─── */
.sznc-typing {
  display: flex;
  gap: 8px;
  align-self: flex-start;
  padding: 0 6px 10px;
}

.sznc-typing__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.sznc-typing__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sznc-typing__content {
  padding: 12px 16px;
  background: #ffffff;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.sznc-typing__dots {
  display: flex;
  gap: 4px;
}

.sznc-typing__dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #94a3b8;
  animation: sznc-typing-dot 1.4s ease-in-out infinite;
}

.sznc-typing__dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.sznc-typing__dots span:nth-child(3) {
  animation-delay: 0.4s;
}

/* ─── Panel Footer ─── */
.sznc-panel__footer {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(15, 23, 42, 0.04);
  padding: 12px 16px 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sznc-panel__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 500;
  color: #94a3b8;
  letter-spacing: 0.01em;
}

.sznc-panel__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.sznc-panel__trust-dot {
  opacity: 0.5;
}

.sznc-input-form {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 4px;
  background: rgba(241, 245, 249, 0.65);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 16px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.sznc-input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-family: 'Inter', system-ui, sans-serif;
  outline: none;
  background: transparent;
  color: #0f172a;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.sznc-input:focus {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(159, 190, 20, 0.35);
  box-shadow: 0 0 0 3px rgba(159, 190, 20, 0.1);
}

.sznc-input::placeholder {
  color: #94a3b8;
}

.sznc-send-btn {
  width: 44px !important;
  height: 44px !important;
  border-radius: 14px !important;
  border: none !important;
  background: linear-gradient(135deg, #9fbe14 0%, #7a9610 100%) !important;
  color: #ffffff !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition:
    transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1),
    box-shadow 0.25s ease,
    background 0.25s ease,
    filter 0.25s ease !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  box-shadow:
    0 4px 12px rgba(159, 190, 20, 0.32),
    inset 0 1px 1px rgba(255, 255, 255, 0.22),
    0 0 0 1px rgba(15, 23, 42, 0.04) !important;
}

.sznc-send-btn svg {
  width: 20px !important;
  height: 20px !important;
  display: block !important;
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1) !important;
}

.sznc-send-btn:hover {
  background: linear-gradient(135deg, #b8d43a 0%, #9fbe14 100%) !important;
  transform: scale(1.06) translateY(-2px) !important;
  box-shadow:
    0 8px 22px rgba(159, 190, 20, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.28),
    0 0 0 1px rgba(15, 23, 42, 0.04) !important;
}

.sznc-send-btn:hover svg {
  transform: translate(1px, -1px) rotate(8deg) !important;
}

.sznc-send-btn:active {
  transform: scale(0.96) !important;
  box-shadow:
    0 2px 8px rgba(159, 190, 20, 0.28),
    inset 0 1px 2px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(15, 23, 42, 0.04) !important;
}

.sznc-send-btn:disabled {
  background: #cbd5e1 !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
  filter: grayscale(0.6) !important;
}

.sznc-send-btn:disabled svg {
  transform: none !important;
}

/* ─── Product Cards in Chat ─── */
.sznc-products {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.sznc-product-card {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 16px;
  box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  overflow: hidden;
}

.sznc-product-card:hover {
  border-color: rgba(159, 190, 20, 0.35);
  box-shadow:
    0 8px 24px -6px rgba(15, 23, 42, 0.08),
    0 2px 8px -2px rgba(159, 190, 20, 0.08);
  transform: translateY(-2px);
}

.sznc-product-card__image-link {
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  background: #f8fafc;
}

.sznc-product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}

.sznc-product-card:hover .sznc-product-card__image {
  transform: scale(1.04);
}

.sznc-product-card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
  text-align: center;
  background: #f1f5f9;
}

.sznc-product-card__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.sznc-product-card__name-link {
  text-decoration: none;
  color: inherit;
}

.sznc-product-card__name-link:hover .sznc-product-card__name {
  color: #7a9610;
}

.sznc-product-card__name {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s ease;
}

.sznc-product-card__price-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sznc-product-card__price {
  font-size: 15px;
  font-weight: 700;
  color: #7a9610;
}

.sznc-product-card__price-old {
  font-size: 13px;
  font-weight: 500;
  color: #94a3b8;
  text-decoration: line-through;
}

.sznc-product-card__stock {
  font-size: 11px;
  color: #f59e0b;
  font-weight: 600;
}

.sznc-product-card__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.sznc-product-card__btn {
  padding: 8px 14px;
  background: #0f172a;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  align-self: flex-start;
}

.sznc-product-card__btn:hover {
  background: #1e293b;
  transform: scale(1.02);
}

.sznc-product-card__btn:active {
  transform: scale(0.98);
}

.sznc-product-card__link {
  font-size: 12px;
  font-weight: 600;
  color: #7a9610;
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.15s ease;
}

.sznc-product-card__link:hover {
  color: #6a820e;
  text-decoration: underline;
}

/* ─── Mobile ─── */
@media (max-width: 640px) {
  .sznc-mini {
    bottom: 16px;
    right: 12px;
    left: auto;
    max-width: calc(100vw - 24px);
  }
  
  .sznc-mini__open {
    padding: 7px 8px 7px 14px;
    gap: 10px;
  }
  
  .sznc-mini__copy {
    max-width: 152px;
    gap: 4px;
  }
  
  .sznc-mini__headline-top {
    font-size: 13.5px;
  }
  
  .sznc-mini__headline-bottom {
    font-size: 12px;
  }
  
  .sznc-mini__status {
    font-size: 10px;
  }
  
  .sznc-mini__avatar-wrap {
    width: 46px;
    height: 46px;
  }
  
  .sznc-mini__online {
    width: 11px;
    height: 11px;
  }
  
  .sznc-panel {
    padding: 0;
    align-items: flex-end;
  }
  
  .sznc-panel__card {
    width: 100vw;
    height: min(92vh, 100dvh);
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
  }
  
  .sznc-panel--open .sznc-panel__card {
    transform: translateY(0);
  }
  
  .sznc-panel.sznc-panel--keyboard {
    inset: auto 0 0 0;
    top: var(--sznc-vv-top, 0);
    height: var(--sznc-vv-height, 100dvh);
    padding: 0;
    align-items: stretch;
  }
  
  .sznc-panel.sznc-panel--keyboard .sznc-panel__card {
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 14px 14px 0 0;
    transform: none !important;
    transition: height 0.12s ease, border-radius 0.12s ease;
  }
  
  .sznc-messages {
    padding: 8px 8px 10px;
  }
  
  .sznc-message {
    max-width: 94%;
  }
  
  .sznc-panel__footer {
    padding: 10px 12px calc(14px + env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .sznc-panel__card,
  .sznc-overlay,
  .sznc-message,
  .sznc-panel__header-bg::after {
    animation: none !important;
    transition: none !important;
  }
}
