/*
 * IThandy - strona Kontakt (formularz leadowy), blok "Sklep nie działa? Zadzwoń", cena netto pozycji kupnych,
 * pusty blok opinii. Styl "Warsztat" (docs/01-brand-kit.md): kąty proste, obramowania 3 px ink, twarde cienie,
 * taśma ostrzegawcza w kolorach marki (ink #0B2B2A + turkus #12B5A5), CTA coral #FF6B5C. Bez nowych kolorów.
 * Ładowany przez Ithandy_Brand::kontaktStyles() po ith-warsztat.css.
 */

/* ---------- Kontakt: nagłówek strony ---------- */
.ith-contact { max-width: 820px; }
.ith-contact__title { margin-bottom: 10px; }
.ith-contact__lead { font-size: 1.05rem; line-height: 1.6; color: #0B2B2A; margin: 0 0 8px; }
.ith-contact__direct { font-size: .95rem; line-height: 1.6; color: #3E4F4E; margin: 0 0 22px; }
.ith-contact__direct a { font-weight: 700; color: #0B2B2A; text-decoration: underline; text-decoration-color: #12B5A5; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Na telefonie formularz przed kolumną z danymi kontaktowymi (dane są też w akapicie nad formularzem). */
@media (max-width: 767.98px) {
  #contact #left-column { order: 2; margin-top: 28px; }
  #contact #center-column { order: 1; }
}

/* ---------- Pilna ścieżka: taśma ostrzegawcza ---------- */
.ith-urgent {
  position: relative; margin: 8px 0 30px; background: #FFFFFF; border: 3px solid #0B2B2A;
  box-shadow: 6px 6px 0 #0B2B2A; padding: 0;
}
.ith-urgent::before {
  content: ""; display: block; height: 16px; border-bottom: 3px solid #0B2B2A;
  background: repeating-linear-gradient(-45deg, #0B2B2A 0 14px, #12B5A5 14px 28px);
}
.ith-urgent__body { padding: 16px 20px 18px; }
.ith-urgent__title {
  display: flex; align-items: center; gap: 10px; margin: 0 0 6px;
  font: 800 1.2rem/1.25 "Poppins", sans-serif; color: #0B2B2A; letter-spacing: -.01em;
}
.ith-urgent__ic { color: #0E8C80; flex: 0 0 auto; }
.ith-urgent__text { margin: 0 0 14px; color: #0B2B2A; line-height: 1.55; }
.ith-urgent__call {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 20px;
  background: #FF6B5C; color: #FFFFFF !important; border: 3px solid #0B2B2A; box-shadow: 4px 4px 0 #0B2B2A;
  font: 800 1.05rem/1.2 "Poppins", sans-serif; text-decoration: none !important; white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.ith-urgent__call:hover, .ith-urgent__call:focus-visible { background: #E85546; transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #0B2B2A; }
.ith-urgent__call:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #0B2B2A; }
.ith-urgent__call:focus-visible { outline: 3px solid #12B5A5; outline-offset: 3px; }
.ith-urgent__alt { margin: 14px 0 0; font-size: .92rem; color: #3E4F4E; line-height: 1.5; }
.ith-urgent__alt a { font-weight: 700; color: #0B2B2A; text-decoration: underline; text-decoration-color: #FF6B5C; text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .ith-urgent__call { transition: none; } .ith-urgent__call:hover { transform: none; } }
@media (max-width: 420px) {
  .ith-urgent__call { white-space: normal; width: 100%; justify-content: center; }
}

/* ---------- Formularz /kontakt: dodatki do .ith-quote ---------- */
.ith-quote--kontakt { margin-top: 0; }
.ith-quote .ith-quote__hint { font-size: .86rem; color: #3E4F4E; margin: 6px 0 0; line-height: 1.5; }
.ith-quote select.ith-field { appearance: auto; cursor: pointer; width: 100%; max-width: 100%; min-width: 0; text-overflow: ellipsis; }
.ith-quote .ith-field--file { padding: 10px 12px; background: #F4FBFA; cursor: pointer; }
.ith-quote .ith-field--file::file-selector-button {
  margin-right: 12px; padding: 6px 14px; border: 2px solid #0B2B2A; background: #FFFFFF; color: #0B2B2A;
  font: 700 .9rem "Poppins", sans-serif; cursor: pointer;
}
.ith-urgency { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.ith-urgency legend { float: none; width: auto; padding: 0; margin-bottom: 8px; font-size: .92rem; }
.ith-urgency__opt {
  display: flex; align-items: flex-start; gap: 10px; margin: 0 0 8px; padding: 12px 14px;
  border: 2px solid #D7E6E4; background: #FFFFFF; cursor: pointer; line-height: 1.45; color: #0B2B2A;
}
.ith-urgency__opt input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; accent-color: #0E8C80; }
.ith-urgency__opt--pilne input { accent-color: #E85546; }
.ith-urgency__opt:has(input:checked) { border-color: #0B2B2A; background: #F4FBFA; box-shadow: 3px 3px 0 #0B2B2A; }
.ith-urgency__opt--pilne:has(input:checked) { border-left: 10px solid #FF6B5C; }
.ith-urgency__opt:has(input:focus-visible) { outline: 3px solid #12B5A5; outline-offset: 2px; }
.ith-urgency__opt a { font-weight: 700; color: #0B2B2A; white-space: nowrap; }

/* ---------- Cena netto jako główna (pozycje kupne, hookDisplayProductPriceBlock) ---------- */
.ith-price { display: inline-flex; flex-direction: column; gap: 2px; }
.ith-price__net { font-weight: 800; color: #0B2B2A; }
.ith-price__suffix { font-size: .7em; font-weight: 700; color: #3E4F4E; text-transform: lowercase; }
.ith-price__gross { font-family: "Inter", sans-serif; font-size: .9rem; font-weight: 500; color: #3E4F4E; letter-spacing: 0; }
.product__price .ith-price__gross { font-size: .95rem; }
/* Podpis "Brutto" motywu jest zbędny, gdy obok ceny stoi już netto i brutto. */
.product__prices:has(.ith-price) .product__tax-infos { display: none; }
.product-miniature .ith-price__gross, .product-miniature__price .ith-price__gross { font-size: .78rem; }

/* ---------- Opinie: brak opinii = mały link zamiast pustej sekcji ---------- */
.ith-reviews-empty { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 28px 0 8px; font-size: .92rem; color: #3E4F4E; }
.ith-reviews-empty__text { margin: 0; }
.ith-reviews-empty__btn { padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; font-weight: 700; color: #0B2B2A !important; text-decoration: underline; text-decoration-color: #12B5A5; text-decoration-thickness: 2px; text-underline-offset: 3px; min-height: 0; }
