/* Komponenty: przyciski, czat, karty produktów, karuzelka, PDP, koszyk. */

/* ============================ przyciski ============================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 14px; line-height: 1;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease), opacity var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: .5; }

.btn--primary { background: var(--yellow); color: var(--text-on-yellow); }
.btn--primary:hover:not(:disabled) { background: var(--yellow-deep); }

.btn--dark { background: var(--coal); color: #fff; }
.btn--dark:hover:not(:disabled) { background: var(--coal-soft); }

.btn--ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn--ghost:hover:not(:disabled) { background: var(--surface-sunk); border-color: var(--border-strong); }

.btn--quiet { color: var(--text-muted); padding: 8px 12px; font-weight: 600; }
.btn--quiet:hover:not(:disabled) { background: var(--surface-sunk); color: var(--text); }

.btn--sm { padding: 7px 14px; font-size: 13px; }
.btn--block { width: 100%; }
.btn--icon { padding: 0; width: 36px; height: 36px; border-radius: var(--r-pill); }

.btn__spinner {
  width: 14px; height: 14px; border-radius: 50%; flex: none;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================ pigułki ============================ */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--border);
  font-size: 13px; font-weight: 600; color: var(--text);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.pill:hover { background: var(--yellow-soft); border-color: var(--yellow); }

.tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 700; letter-spacing: .01em;
  background: var(--surface-sunk); color: var(--text-muted);
}

/* ============================ czat ============================ */
.chat { display: flex; flex-direction: column; flex: 1; min-height: 0; }

.thread { flex: 1; min-height: 0; padding: 28px 24px 8px; }
.thread__inner { max-width: var(--thread-w); margin: 0 auto; }

.msg { display: flex; gap: 12px; margin-bottom: 22px; }
.msg--user { flex-direction: row-reverse; }

.msg__avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center; overflow: hidden;
  background: var(--yellow);
}
.msg__avatar img { width: 28px; }
.msg--user .msg__avatar { background: var(--coal); color: #fff; font-size: 12px; font-weight: 700; }

.msg__body { min-width: 0; max-width: 100%; flex: 1; }
.msg--user .msg__body { max-width: 62%; flex: none; }
/* Kolumna jest szeroka pod karuzelki, ale sam tekst czyta się źle w takiej mierze. */
.msg--agent .bubble { max-width: 74ch; }

.bubble {
  padding: 12px 16px; border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--shadow-sm);
  white-space: pre-wrap; overflow-wrap: anywhere;
  font-family: var(--font-body);
}
.msg--user .bubble {
  background: var(--coal); color: #fff;
  border-bottom-right-radius: var(--r-sm);
}
.msg--agent .bubble { border-bottom-left-radius: var(--r-sm); }

.bubble--state {
  background: transparent; box-shadow: none; padding: 6px 0;
  color: var(--text-muted); font-size: 14px;
  display: flex; align-items: center; gap: 9px;
}

.typing { display: inline-flex; gap: 4px; align-items: center; }
.typing i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--text-faint);
  animation: bounce 1.2s infinite ease-in-out;
}
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.caret {
  display: inline-block; width: 2px; height: 1em; vertical-align: -.15em;
  background: var(--coal); margin-left: 2px; animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* podpowiedzi po odpowiedzi */
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* ============================ karuzelka ============================ */
/* Karuzelki wychodzą poza szerokość wątku — na webie jest miejsce, żeby
   pokazać więcej kart naraz. */
.carousel { margin: 16px 0 4px; }

.carousel__head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.carousel__title { font-size: 16px; font-weight: 700; }
.carousel__count { font-size: 12px; color: var(--text-muted); font-weight: 600; }
.carousel__nav { margin-left: auto; display: flex; gap: 6px; }

.carousel__btn {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: background var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.carousel__btn:hover:not(:disabled) { background: var(--yellow); border-color: var(--yellow); }
.carousel__btn:disabled { opacity: .3; }

.carousel__track {
  display: flex; gap: 14px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}
.carousel__track::-webkit-scrollbar { height: 8px; }
.carousel__track::-webkit-scrollbar-track { background: transparent; }
.carousel__track::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 999px; }
.carousel__track > * { scroll-snap-align: start; }

/* ============================ karta produktu ============================ */
.card {
  width: 232px; flex: none;
  background: var(--surface); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  overflow: hidden; position: relative;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
  text-align: left;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card--grid { width: auto; }
.card--unavailable { opacity: .62; }

.card__media {
  position: relative; aspect-ratio: 1; background: var(--surface-sunk);
  display: grid; place-items: center; overflow: hidden;
}
.card__media img {
  width: 100%; height: 100%; object-fit: contain; padding: 10px;
  transition: transform 260ms var(--ease);
}
.card:hover .card__media img { transform: scale(1.04); }
.card__media--empty { color: var(--text-faint); font-size: 28px; }

.card__badge {
  position: absolute; top: 8px; left: 8px;
  padding: 4px 9px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 700;
  background: var(--blue-soft); color: var(--blue);
  max-width: calc(100% - 52px);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.card__fav {
  position: absolute; top: 8px; right: 8px;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.92); backdrop-filter: blur(4px);
  display: grid; place-items: center; color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.card__fav:hover { color: var(--red); background: #fff; }
.card__fav[aria-pressed="true"] { color: var(--red); }
.card__fav[aria-pressed="true"] svg { fill: currentColor; }

.card__body { padding: 12px 13px 13px; display: flex; flex-direction: column; gap: 7px; flex: 1; }

.card__name {
  font-size: 13.5px; font-weight: 600; line-height: 1.35; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.7em;
}

.card__shop {
  font-size: 11.5px; color: var(--text-muted); font-weight: 600;
  display: flex; align-items: center; gap: 5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card__shop img { width: 15px; height: 15px; border-radius: 3px; object-fit: cover; flex: none; }

.card__prices { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; margin-top: auto; }
.card__price { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.card__price-was { font-size: 12px; color: var(--text-faint); text-decoration: line-through; }

.card__meta { font-size: 11.5px; color: var(--text-muted); display: flex; flex-direction: column; gap: 2px; }
.card__meta strong { font-weight: 700; }

.card__foot { display: flex; gap: 6px; padding: 0 13px 13px; }
.card__add { flex: 1; }

.card__stock { font-size: 11px; font-weight: 700; color: var(--red); }

/* siatka kart (ulubione, oferty innych sprzedawców) */
.grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

/* ============================ pole wpisywania ============================ */
.composer {
  flex: none; padding: 12px 24px 20px;
  background: linear-gradient(to top, var(--bg) 72%, transparent);
}
.composer__inner { max-width: var(--thread-w); margin: 0 auto; }

.composer__box {
  display: flex; align-items: flex-end; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 8px 8px 8px 18px;
  box-shadow: var(--shadow-md);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.composer__box:focus-within { border-color: var(--yellow); box-shadow: 0 0 0 3px var(--yellow-soft), var(--shadow-md); }

.composer__input {
  flex: 1; border: none; background: none; resize: none; outline: none;
  font-family: var(--font-body); font-size: 15px; line-height: 1.5;
  padding: 8px 0; max-height: 168px; min-height: 24px;
}
.composer__input::placeholder { color: var(--text-faint); }

.composer__send {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: var(--yellow); color: var(--coal);
  display: grid; place-items: center;
  transition: background var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.composer__send:hover:not(:disabled) { background: var(--yellow-deep); }
.composer__send:disabled { background: var(--surface-sunk); color: var(--text-faint); }

.composer__hint { font-size: 11.5px; color: var(--text-faint); text-align: center; margin-top: 8px; }

/* ============================ ekran startowy ============================ */
.hero {
  max-width: var(--thread-w); margin: 0 auto; padding: 32px 0 8px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero__dog { width: 132px; margin-bottom: 4px; }
.hero__title { font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.hero__title em { font-style: normal; background: var(--yellow); padding: 0 8px; border-radius: 6px; }
.hero__sub { color: var(--text-muted); margin-top: 8px; max-width: 46ch; font-family: var(--font-body); }

.suggestions {
  display: grid; gap: 10px; margin-top: 26px; width: 100%;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}
.suggestion {
  display: flex; align-items: center; gap: 11px; text-align: left;
  padding: 11px 13px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--border);
  font-size: 13.5px; font-weight: 600; line-height: 1.3;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.suggestion:hover { border-color: var(--yellow); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.suggestion__icon {
  width: 38px; height: 38px; border-radius: var(--r-sm); flex: none;
  display: grid; place-items: center; font-size: 19px; overflow: hidden;
  background: var(--surface-sunk);
}
.suggestion__icon img { width: 100%; height: 100%; object-fit: cover; }

/* ============================ stan pusty / ładowanie ============================ */
.empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 64px 24px; gap: 12px; color: var(--text-muted);
}
.empty img { width: 116px; opacity: .9; }
.empty h3 { color: var(--text); }
.empty p { max-width: 42ch; font-family: var(--font-body); }

.skeleton {
  background: linear-gradient(90deg, var(--surface-sunk) 25%, #e9e9e9 37%, var(--surface-sunk) 63%);
  background-size: 400% 100%; animation: shimmer 1.3s ease infinite;
  border-radius: var(--r-sm);
}
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

.skel-card { width: 232px; flex: none; }
.skel-card__media { aspect-ratio: 1; border-radius: var(--r-lg); }
.skel-card__line { height: 11px; margin-top: 9px; border-radius: 4px; }

/* ============================ powiadomienia ============================ */
.toasts {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%);
  z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center;
  pointer-events: none;
}
.toast {
  background: var(--coal); color: #fff;
  padding: 11px 18px; border-radius: var(--r-pill);
  box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 600;
  display: flex; align-items: center; gap: 9px;
  animation: toast-in 220ms var(--ease);
  pointer-events: auto; max-width: min(90vw, 460px);
}
.toast--error { background: var(--red); }
.toast--ok .toast__dot { color: var(--yellow); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }

/* ============================ panel boczny (PDP) ============================ */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(29,29,29,.45);
  z-index: 100; animation: fade-in 160ms var(--ease);
}
@keyframes fade-in { from { opacity: 0; } }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 101;
  width: min(760px, 100vw);
  background: var(--surface); box-shadow: var(--shadow-xl);
  display: flex; flex-direction: column;
  animation: slide-in 240ms var(--ease);
}
@keyframes slide-in { from { transform: translateX(24px); opacity: .4; } }

.drawer__head {
  flex: none; display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-bottom: 1px solid var(--border);
}
.drawer__title { font-size: 15px; font-weight: 700; flex: 1; }
.drawer__close {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  color: var(--text-muted);
}
.drawer__close:hover { background: var(--surface-sunk); color: var(--text); }
.drawer__body { flex: 1; min-height: 0; padding: 22px; }
.drawer__foot {
  flex: none; padding: 14px 22px; border-top: 1px solid var(--border);
  display: flex; gap: 10px; align-items: center; background: var(--surface);
}

/* ============================ karta produktu (PDP) ============================ */
.pdp { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 26px; }
@media (max-width: 720px) { .pdp { grid-template-columns: 1fr; } }

.pdp__gallery { display: flex; flex-direction: column; gap: 10px; }
.pdp__main {
  aspect-ratio: 1; background: var(--surface-sunk); border-radius: var(--r-lg);
  display: grid; place-items: center; overflow: hidden;
}
.pdp__main img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.pdp__thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.pdp__thumb {
  width: 56px; height: 56px; border-radius: var(--r-sm); overflow: hidden;
  background: var(--surface-sunk); border: 2px solid transparent; padding: 2px;
}
.pdp__thumb[aria-pressed="true"] { border-color: var(--yellow); }
.pdp__thumb img { width: 100%; height: 100%; object-fit: contain; }

.pdp__name { font-size: 21px; font-weight: 700; line-height: 1.25; }
.pdp__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.pdp__price { font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.pdp__price-was { font-size: 15px; color: var(--text-faint); text-decoration: line-through; }

.pdp__section { margin-top: 24px; }
.pdp__section h3 { margin-bottom: 10px; }

.pdp__desc {
  font-family: var(--font-body); font-size: 14px; line-height: 1.65; color: var(--coal-soft);
  white-space: pre-wrap; overflow-wrap: anywhere;
}
.pdp__desc--clamped {
  display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden;
}

.attrs { display: grid; gap: 0; border-top: 1px solid var(--border); }
.attr {
  display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: 14px;
  padding: 9px 2px; border-bottom: 1px solid var(--border); font-size: 13.5px;
}
.attr__name { color: var(--text-muted); font-weight: 600; }
.attr__value { overflow-wrap: anywhere; }

.info-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-muted); padding: 4px 0;
}
.info-row strong { color: var(--text); font-weight: 700; }

/* ============================ koszyk ============================ */
.page { flex: 1; min-height: 0; padding: 24px; }
.page__inner { max-width: 980px; margin: 0 auto; }
.page__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }

.cart-group {
  background: var(--surface); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); margin-bottom: 16px; overflow: hidden;
}
.cart-group__head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-bottom: 1px solid var(--border);
}
.cart-group__logo { width: 26px; height: 26px; border-radius: 6px; object-fit: cover; flex: none; }
.cart-group__name { font-weight: 700; font-size: 14.5px; }
.cart-group__sum { margin-left: auto; font-weight: 700; }

.delivery-bar {
  margin: 12px 18px; padding: 9px 13px; border-radius: var(--r-md);
  display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600;
  border: 1px solid transparent;
}
.delivery-bar__track {
  flex: 1; height: 6px; border-radius: 999px; background: rgba(0,0,0,.08); overflow: hidden;
}
.delivery-bar__fill { height: 100%; border-radius: 999px; }

.cart-item {
  display: grid; grid-template-columns: auto 76px 1fr auto; gap: 14px;
  align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item--unavailable { opacity: .6; }

.cart-item__check { width: 18px; height: 18px; accent-color: var(--coal); cursor: pointer; }
.cart-item__media {
  width: 76px; height: 76px; border-radius: var(--r-sm); background: var(--surface-sunk);
  display: grid; place-items: center; overflow: hidden;
}
.cart-item__media img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.cart-item__name {
  font-size: 14px; font-weight: 600; line-height: 1.35; text-align: left;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cart-item__unit { font-size: 12px; color: var(--text-muted); margin-top: 3px; }
.cart-item__right { display: flex; align-items: center; gap: 14px; }
.cart-item__total { font-weight: 700; font-size: 15px; min-width: 92px; text-align: right; }

.stepper {
  display: inline-flex; align-items: center; border: 1px solid var(--border);
  border-radius: var(--r-pill); overflow: hidden; background: var(--surface);
}
.stepper button {
  width: 30px; height: 30px; display: grid; place-items: center; font-size: 16px;
  color: var(--text); transition: background var(--dur) var(--ease);
}
.stepper button:hover:not(:disabled) { background: var(--surface-sunk); }
.stepper button:disabled { color: var(--text-faint); }
.stepper__value { min-width: 30px; display: inline-block; text-align: center; font-weight: 700; font-size: 14px; }

.cart-remove { color: var(--text-faint); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; }
.cart-remove:hover { background: var(--red-soft); color: var(--red); }

.summary {
  background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  padding: 18px; position: sticky; top: 24px;
}
.summary__row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.summary__row--total {
  border-top: 1px solid var(--border); margin-top: 8px; padding-top: 12px;
  font-size: 18px; font-weight: 700;
}
.summary__note {
  margin-top: 14px; padding: 12px 14px; border-radius: var(--r-md);
  background: var(--yellow-soft); font-size: 12.5px; line-height: 1.5;
  font-family: var(--font-body);
}
.cart-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 20px; align-items: start; }
@media (max-width: 860px) { .cart-layout { grid-template-columns: 1fr; } }

/* ============================ lista czatów ============================ */
.chatrow {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 14px 16px; background: var(--surface); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm); margin-bottom: 8px;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.chatrow:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.chatrow__title { font-weight: 600; font-size: 14.5px; flex: 1; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chatrow__date { font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.chatrow__del { color: var(--text-faint); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; }
.chatrow__del:hover { background: var(--red-soft); color: var(--red); }

/* ============================ logowanie ============================ */
.login {
  min-height: 100%; display: grid; place-items: center; padding: 24px;
  background:
    radial-gradient(1100px 520px at 15% -10%, var(--yellow-soft), transparent 62%),
    var(--bg);
}
.login__card {
  width: min(440px, 100%); background: var(--surface);
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg); padding: 34px;
}
.login__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.login__dog { width: 66px; flex: none; }
.login__title { font-size: 23px; font-weight: 700; letter-spacing: -.02em; }
.login__sub { color: var(--text-muted); font-size: 13.5px; font-family: var(--font-body); }

.field { margin-bottom: 16px; }
.field__label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.field__input {
  width: 100%; padding: 12px 15px; border-radius: var(--r-md);
  border: 1px solid var(--border); background: var(--surface-2);
  font-size: 16px; outline: none;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field__input:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px var(--yellow-soft); background: var(--surface); }
.field__input--code { letter-spacing: .5em; font-weight: 700; text-align: center; font-size: 22px; padding-left: .5em; }
.field__hint { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.field__error { font-size: 13px; color: var(--red); margin-top: 8px; font-weight: 600; }

.login__foot { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.login__legal { margin-top: 20px; font-size: 11.5px; color: var(--text-faint); line-height: 1.5; font-family: var(--font-body); }

/* ---------------- oferty innych sprzedawców (porównanie cen) ---------------- */
/* Duża karta produktu w wąskiej kolumnie PDP wygląda absurdalnie — a i tak
   porównujemy tu jedną rzecz: cenę u kolejnych sprzedawców. Stąd kompaktowy wiersz. */
.offer-rows { display: flex; flex-direction: column; gap: 8px; }

.offer-row {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: var(--r-md);
  background: var(--surface-2); border: 1px solid var(--border);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
  text-align: left; width: 100%;
}
.offer-row:hover { border-color: var(--border-strong); background: var(--surface); }
.offer-row--best { border-color: var(--green); background: #f3fdf7; }

.offer-row__media {
  width: 52px; height: 52px; border-radius: var(--r-sm); overflow: hidden;
  background: var(--surface-sunk); display: grid; place-items: center;
}
.offer-row__media img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }

.offer-row__shop { font-size: 13.5px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.offer-row__shop img { width: 16px; height: 16px; border-radius: 3px; object-fit: cover; flex: none; }
.offer-row__meta { font-size: 11.5px; color: var(--text-muted); margin-top: 2px; }
.offer-row__best { font-size: 10.5px; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .04em; }

.offer-row__right { display: flex; align-items: center; gap: 12px; }
.offer-row__price { font-size: 16px; font-weight: 700; white-space: nowrap; }

.pdp__others { border-top: 1px solid var(--border); padding-top: 20px; }
.pdp__others-note {
  font-size: 12.5px; color: var(--text-muted); margin: -4px 0 10px;
  font-family: var(--font-body);
}
