/*
 * Ogrodniczka — Classic Checkout CSS
 * Stary checkout WooCommerce (shortcode) — styl zgodny z koszykiem
 */

/* ── LAYOUT ───────────────────────────────────────────────────────────────── */
.ogr-checkout-layout {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
}
.ogr-checkout-main {
  flex: 1 1 0%;
  min-width: 0;
}
.ogr-checkout-sidebar {
  width: 360px;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .ogr-checkout-layout {
    flex-direction: column;
  }
  .ogr-checkout-main,
  .ogr-checkout-sidebar {
    width: 100%;
  }
}

/* ── KARTY ────────────────────────────────────────────────────────────────── */
.ogr-checkout-card {
  background: #ffffff;
  border: 1.5px solid #fce7f3;
  border-radius: 1rem;
  box-shadow: 0 1px 4px rgba(225,29,72,.06);
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.ogr-checkout-card--sticky {
  position: sticky;
  top: 1.5rem;
}
.ogr-checkout-card__title {
  font-family: 'Raleway', sans-serif !important;
  font-weight: 700 !important;
  font-size: .9375rem !important;
  color: #1C0A14 !important;
  margin: 0 0 1.125rem 0 !important;
  padding: 0 0 .75rem 0 !important;
  border-bottom: 1px solid #fce7f3 !important;
}

/* ── POLA FORMULARZA ──────────────────────────────────────────────────────── */
.woocommerce-checkout .form-row {
  margin-bottom: .875rem !important;
}
.woocommerce-checkout .form-row label {
  display: block !important;
  font-size: .6875rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .05em !important;
  color: #9D174D !important;
  font-family: 'Mulish', sans-serif !important;
  margin-bottom: .3rem !important;
  opacity: .85 !important;
}
.woocommerce-checkout .form-row .required {
  color: #E11D48 !important;
}
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select {
  display: block !important;
  width: 100% !important;
  padding: .6rem .875rem !important;
  border: 1.5px solid #fce7f3 !important;
  border-radius: .75rem !important;
  font-family: 'Mulish', sans-serif !important;
  font-size: .875rem !important;
  color: #1C0A14 !important;
  background: #ffffff !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color .2s, box-shadow .2s !important;
  box-sizing: border-box !important;
  -webkit-appearance: none !important;
}
.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout .form-row select:focus {
  border-color: #E11D48 !important;
  box-shadow: 0 0 0 3px rgba(225,29,72,.1) !important;
}
.woocommerce-checkout .form-row textarea {
  min-height: 80px !important;
  resize: vertical !important;
}

/* Grid 6-kolumnowy dla pól formularza */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 0 .875rem !important;
  align-items: start !important;
}
/* Form-row wypełnia przypisaną kolumnę */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row {
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

/* Pełna szerokość — wszystkie form-row-wide domyślnie full (6 kolumn) */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-wide,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row-wide,
.woocommerce-checkout .form-row.notes,
.woocommerce-checkout #billing_country_field,
.woocommerce-checkout #billing_address_1_field,
.woocommerce-checkout #billing_address_2_field,
.woocommerce-checkout #billing_company_field,
.woocommerce-checkout #shipping_country_field,
.woocommerce-checkout #shipping_address_1_field,
.woocommerce-checkout #shipping_address_2_field,
.woocommerce-checkout #shipping_company_field,
.woocommerce-checkout .woocommerce-additional-fields {
  grid-column: 1 / -1 !important;
}

/* ── Overridy ID-specyficzne — po regule form-row-wide, wyższy priorytet ── */

/* Imię i nazwisko — 50% / 50% (3 kolumny z 6 każde) */
.woocommerce-checkout #billing_first_name_field,
.woocommerce-checkout #shipping_first_name_field {
  grid-column: 1 / 4 !important;
}
.woocommerce-checkout #billing_last_name_field,
.woocommerce-checkout #shipping_last_name_field {
  grid-column: 4 / 7 !important;
}

/* Kod pocztowy 1/3 (2 kolumny), miasto 2/3 (4 kolumny) */
.woocommerce-checkout #billing_postcode_field,
.woocommerce-checkout #shipping_postcode_field {
  grid-column: 1 / 3 !important;
}
.woocommerce-checkout #billing_city_field,
.woocommerce-checkout #shipping_city_field {
  grid-column: 3 / 7 !important;
}

/* Email, potwierdzenie email, telefon — równo po 1/3 (2 kolumny z 6) */
.woocommerce-checkout #billing_email_field {
  grid-column: 1 / 3 !important;
}
.woocommerce-checkout #billing_email_confirm_field {
  grid-column: 3 / 5 !important;
}
.woocommerce-checkout #billing_phone_field {
  grid-column: 5 / 7 !important;
}

@media (max-width: 600px) {
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
  .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
    grid-template-columns: 1fr !important;
  }
  .woocommerce-checkout #billing_first_name_field,
  .woocommerce-checkout #billing_last_name_field,
  .woocommerce-checkout #billing_postcode_field,
  .woocommerce-checkout #billing_city_field,
  .woocommerce-checkout #billing_email_field,
  .woocommerce-checkout #billing_email_confirm_field,
  .woocommerce-checkout #billing_phone_field,
  .woocommerce-checkout #shipping_first_name_field,
  .woocommerce-checkout #shipping_last_name_field,
  .woocommerce-checkout #shipping_postcode_field,
  .woocommerce-checkout #shipping_city_field {
    grid-column: 1 / -1 !important;
  }
}

/* Checkbox */
.woocommerce-checkout .woocommerce-form__input-checkbox {
  accent-color: #E11D48 !important;
  width: 1.1rem !important;
  height: 1.1rem !important;
  margin-right: .5rem !important;
  cursor: pointer !important;
}

/* ── Radio buttony "Adres dostawy" ─────────────────────────────────────────── */
.ogr-ship-radio-group {
  display: flex !important;
  gap: .625rem !important;
  margin-bottom: 1.125rem !important;
  flex-wrap: wrap !important;
}
.ogr-ship-radio {
  display: flex !important;
  align-items: center !important;
  gap: .5rem !important;
  padding: .55rem .875rem !important;
  border: 1.5px solid #fce7f3 !important;
  border-radius: .75rem !important;
  cursor: pointer !important;
  background: #ffffff !important;
  transition: border-color .15s, background .15s, box-shadow .15s !important;
  user-select: none !important;
}
.ogr-ship-radio:hover {
  border-color: #f9a8d4 !important;
  background: #fff1f7 !important;
}
.ogr-ship-radio--active {
  border-color: #E11D48 !important;
  background: #fff1f7 !important;
  box-shadow: 0 0 0 3px rgba(225,29,72,.08) !important;
}
.ogr-ship-radio__input {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
}
.ogr-ship-radio__circle {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 1rem !important;
  height: 1rem !important;
  border: 2px solid #fce7f3 !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
  transition: border-color .15s !important;
  background: #ffffff !important;
}
.ogr-ship-radio--active .ogr-ship-radio__circle {
  border-color: #E11D48 !important;
  background: #E11D48 !important;
  box-shadow: inset 0 0 0 2px #ffffff !important;
}
.ogr-ship-radio__label {
  font-family: 'Mulish', sans-serif !important;
  font-size: .8125rem !important;
  font-weight: 600 !important;
  color: #1C0A14 !important;
  line-height: 1 !important;
}
.ogr-ship-radio--active .ogr-ship-radio__label {
  color: #9D174D !important;
}

/* ── PODSUMOWANIE ZAMÓWIENIA (prawa kolumna) ──────────────────────────────── */

/* Produkty */
.ogr-order-products {
  padding-bottom: .25rem !important;
}
.ogr-order-product {
  display: flex !important;
  align-items: flex-start !important;
  gap: .875rem !important;
  padding: .75rem 0 !important;
  border-bottom: 1px solid rgba(252,231,243,.7) !important;
}
.ogr-order-product:last-child {
  border-bottom: none !important;
  padding-bottom: .25rem !important;
}
.ogr-order-product__image {
  position: relative !important;
  flex-shrink: 0 !important;
}
.ogr-order-product__img {
  width: 3.5rem !important;
  height: 3.5rem !important;
  object-fit: cover !important;
  border-radius: .625rem !important;
  border: 1px solid #fce7f3 !important;
  display: block !important;
}
.ogr-order-product__qty {
  position: absolute !important;
  top: -.4rem !important;
  right: -.4rem !important;
  background: #9D174D !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: .6875rem !important;
  border-radius: 9999px !important;
  width: 1.25rem !important;
  height: 1.25rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: 'Mulish', sans-serif !important;
}
.ogr-order-product__info {
  flex: 1 !important;
  min-width: 0 !important;
}
.ogr-order-product__name {
  font-family: 'Mulish', sans-serif !important;
  font-size: .8125rem !important;
  font-weight: 600 !important;
  color: #1C0A14 !important;
  line-height: 1.4 !important;
}
.ogr-order-product__price {
  flex-shrink: 0 !important;
  font-family: 'Mulish', sans-serif !important;
  font-size: .8125rem !important;
  font-weight: 700 !important;
  color: #1C0A14 !important;
  white-space: nowrap !important;
}

/* Sumy */
.ogr-order-totals {
  padding-top: .25rem !important;
}

/* Usuń border-bottom z wiersza Suma */
.ogr-order-totals__row--subtotal {
  border-bottom: none !important;
}

/* Nagłówek "Metoda dostawy" z ikoną */
.ogr-shipping-header {
  padding-top: 1rem !important;
  padding-bottom: .25rem !important;
  font-weight: 700 !important;
  color: #1C0A14 !important;
}
.ogr-shipping-header span {
  display: flex !important;
  align-items: center !important;
  gap: .35rem !important;
  font-family: 'Mulish', sans-serif !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #1C0A14 !important;
}

/* ── Wiersz "Suma" ── */
.ogr-order-totals__row--subtotal {
  margin: 0 0 .5rem !important;
  background: linear-gradient(135deg, rgba(252,231,243,.45) 0%, rgba(252,231,243,.15) 100%) !important;
  border-radius: .75rem !important;
}
.ogr-subtotal-label {
  font-family: 'Mulish', sans-serif !important;
  font-size: .8125rem !important;
  font-weight: 700 !important;
  color: #9D174D !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
  font-size: .6875rem !important;
}
.ogr-subtotal-value {
  font-family: 'Raleway', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  color: #1C0A14 !important;
}
.ogr-subtotal-value .woocommerce-Price-amount {
  font-family: 'Raleway', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  color: #1C0A14 !important;
}
.ogr-order-totals__row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: .4rem 0 !important;
  font-family: 'Mulish', sans-serif !important;
  font-size: .8125rem !important;
  color: #6B7280 !important;
}
.ogr-order-totals__row span:last-child {
  font-weight: 600 !important;
  color: #1C0A14 !important;
  text-align: right !important;
}
.ogr-order-totals__row--discount span:last-child {
  color: #166534 !important;
}
.ogr-order-totals__row--total {
  border-top: 1.5px solid #fce7f3 !important;
  margin-top: .25rem !important;
  padding-top: .75rem !important;
}
.ogr-order-totals__row--total span:first-child {
  font-family: 'Raleway', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  color: #1C0A14 !important;
}
/* Kontener ceny "Łącznie" */
.ogr-order-total-price {
  text-align: right !important;
}
/* strong + bdi = kwota, identyczny styl jak w koszyku (computed: Mulish 24px 900 #E11D48) */
.ogr-order-total-price strong,
.ogr-order-total-price strong bdi,
.ogr-order-total-price strong .woocommerce-Price-currencySymbol {
  font-family: 'Mulish', sans-serif !important;
  font-weight: 900 !important;
  font-size: 24px !important;
  color: #E11D48 !important;
  text-align: right !important;
}
/* small.includes_tax = VAT, identyczny styl jak w koszyku (computed: Mulish 11.2px 400 #9CA3AF) */
.ogr-order-total-price small.includes_tax,
.ogr-order-total-price small.tax_label {
  display: block !important;
  font-family: 'Mulish', sans-serif !important;
  font-size: 11.2px !important;
  font-weight: 400 !important;
  color: rgb(156, 163, 175) !important;
  margin-top: 2px !important;
  line-height: 14.56px !important;
  text-align: right !important;
}
.ogr-order-total-price small.includes_tax .woocommerce-Price-amount,
.ogr-order-total-price small.includes_tax .woocommerce-Price-amount bdi,
.ogr-order-total-price small.includes_tax .woocommerce-Price-currencySymbol {
  font-size: 11.2px !important;
  font-weight: 400 !important;
  color: rgb(156, 163, 175) !important;
  font-family: 'Mulish', sans-serif !important;
}
/* Wiersz "Łącznie" — wyrównanie do góry zamiast do środka */
.ogr-order-totals__row--total {
  align-items: flex-start !important;
}

/* ── Metody dostawy w podsumowaniu zamówienia ── */
.ogr-methods--checkout {
  padding: 0 0 .25rem !important;
}
/* Ukryj table wrapper — th (nazwa pakietu) ukryte, td/tr jako bloki */
.ogr-methods--checkout table {
  width: 100% !important;
  border: none !important;
  border-collapse: collapse !important;
}
.ogr-methods--checkout table th {
  display: none !important;
}
.ogr-methods--checkout table tr,
.ogr-methods--checkout table td {
  display: block !important;
  padding: 0 !important;
  border: none !important;
}
/* Lista metod dostawy */
.ogr-methods--checkout ul.woocommerce-shipping-methods,
.ogr-methods--checkout table.woocommerce-shipping-totals {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  width: 100% !important;
}
.ogr-methods--checkout ul.woocommerce-shipping-methods li {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  align-content: flex-start !important;
  gap: .4rem .625rem !important;
  padding: .5rem 0 !important;
  border-bottom: 1px solid rgba(252,231,243,.7) !important;
  font-size: .8125rem !important;
  font-family: 'Mulish', sans-serif !important;
}
.ogr-methods--checkout ul.woocommerce-shipping-methods li:last-child {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}
.ogr-methods--checkout ul.woocommerce-shipping-methods li input[type="radio"] {
  accent-color: #E11D48 !important;
  width: .9rem !important;
  height: .9rem !important;
  margin-top: .2rem !important;
  flex-shrink: 0 !important;
  align-self: flex-start !important;
}
.ogr-methods--checkout ul.woocommerce-shipping-methods li label {
  cursor: pointer !important;
  color: #1C0A14 !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  flex: 1 !important;
  font-family: 'Mulish', sans-serif !important;
  font-size: .8125rem !important;
  align-self: flex-start !important;
}
.ogr-methods--checkout ul.woocommerce-shipping-methods li label small {
  font-size: .7rem !important;
  color: #9CA3AF !important;
  font-weight: 400 !important;
  display: block !important;
}
.ogr-methods--checkout .woocommerce-Price-amount {
  font-weight: 600 !important;
  font-size: .8125rem !important;
  color: #1C0A14 !important;
  white-space: nowrap !important;
}
/* Przycisk "Zmień paczkomat" + adres — razem po prawej jako kolumna */
.ogr-methods--checkout .select-paczkomat-button {
  font-size: .75rem !important;
  padding: .25rem .75rem !important;
  border-radius: .5rem !important;
  border: 1px solid #fce7f3 !important;
  background: #fff !important;
  cursor: pointer !important;
  color: #1C0A14 !important;
  margin-left: auto !important;
  align-self: flex-start !important;
}
.ogr-methods--checkout #selected-paczkomat {
  font-size: .75rem !important;
  color: #6B7280 !important;
  line-height: 1.5 !important;
  font-family: 'Mulish', sans-serif !important;
  text-align: left !important;
  width: auto !important;
  margin-left: auto !important;
  order: 2 !important;
}
/* Przycisk — pod tekstem (order 3) */
.ogr-methods--checkout ul.woocommerce-shipping-methods li > div:has(.select-paczkomat-button) {
  margin-left: auto !important;
  order: 3 !important;
}
/* Ukryj kalkulaor wysyłki i destination text w totals */
.ogr-methods--checkout p.woocommerce-shipping-destination,
.ogr-methods--checkout .shipping-calculator-button {
  display: none !important;
}
/* Tabela totals shipping (jeśli WC renderuje tabelę zamiast listy) */
.ogr-order-totals table.woocommerce-shipping-totals {
  display: none !important;
}

/* ── METODY DOSTAWY ───────────────────────────────────────────────────────── */
.woocommerce-checkout #shipping_method {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.woocommerce-checkout #shipping_method li {
  display: flex !important;
  align-items: center !important;
  gap: .625rem !important;
  padding: .5rem 0 !important;
  border-bottom: 1px solid rgba(252,231,243,.7) !important;
  font-family: 'Mulish', sans-serif !important;
  font-size: .8125rem !important;
}
.woocommerce-checkout #shipping_method li:last-child {
  border-bottom: none !important;
}
.woocommerce-checkout #shipping_method input[type="radio"] {
  accent-color: #E11D48 !important;
  flex-shrink: 0 !important;
}

/* ── METODY PŁATNOŚCI ─────────────────────────────────────────────────────── */
.woocommerce-checkout #payment {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}
.woocommerce-checkout #payment ul.payment_methods {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 1rem 0 !important;
  border: none !important;
}
.woocommerce-checkout #payment ul.payment_methods li {
  padding: .625rem 0 !important;
  border-bottom: 1px solid rgba(252,231,243,.7) !important;
}
.woocommerce-checkout #payment ul.payment_methods li:last-child {
  border-bottom: none !important;
}
.woocommerce-checkout #payment ul.payment_methods label {
  font-family: 'Mulish', sans-serif !important;
  font-size: .875rem !important;
  font-weight: 600 !important;
  color: #1C0A14 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: .5rem !important;
}
.woocommerce-checkout #payment ul.payment_methods input[type="radio"] {
  accent-color: #E11D48 !important;
}
.woocommerce-checkout #payment .payment_box {
  background: rgba(252,231,243,.3) !important;
  border-radius: .75rem !important;
  padding: .875rem !important;
  margin-top: .5rem !important;
  font-family: 'Mulish', sans-serif !important;
  font-size: .8125rem !important;
  color: #6B7280 !important;
}

/* ── PRZYCISK "KUPUJĘ I PŁACĘ" ────────────────────────────────────────────── */
#place_order,
.woocommerce-checkout #place_order {
  display: block !important;
  width: 100% !important;
  background: #166534 !important;
  color: #ffffff !important;
  padding: .75rem 1.5rem !important;
  border-radius: 9999px !important;
  font-family: 'Raleway', sans-serif !important;
  font-weight: 700 !important;
  font-size: .9375rem !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(22,101,52,.3) !important;
  transition: background .2s, transform .15s, box-shadow .2s !important;
  text-align: center !important;
  margin-top: 1rem !important;
}
#place_order:hover {
  background: #14532D !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(22,101,52,.35) !important;
}

/* ── KUPON — ukryj stary z lewej, używamy własnego w sidebar ─────────────── */
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .checkout_coupon:not(.ogr-coupon-inline) {
  display: none !important;
}

/* Link "Masz kod rabatowy?" */
.ogr-coupon-toggle {
  display: inline-flex !important;
  align-items: center !important;
  gap: .375rem !important;
  font-family: 'Mulish', sans-serif !important;
  font-size: .8rem !important;
  font-weight: 600 !important;
  color: #9D174D !important;
  text-decoration: none !important;
  margin-bottom: .625rem !important;
}
.ogr-coupon-toggle:hover {
  color: #E11D48 !important;
}

/* Kupon w sidebarze */
.ogr-coupon-wrapper {
  border-top: 1px solid rgba(252,231,243,.7) !important;
  padding-top: .75rem !important;
  margin-top: .25rem !important;
}
.ogr-coupon-row {
  display: flex !important;
  align-items: center !important;
  gap: .5rem !important;
}
.ogr-coupon-input {
  flex: 1 !important;
  padding: .525rem .75rem !important;
  border: 1.5px solid #fce7f3 !important;
  border-radius: .75rem !important;
  font-family: 'Mulish', sans-serif !important;
  font-size: .8125rem !important;
  color: #1C0A14 !important;
  background: #fff !important;
  outline: none !important;
  min-width: 0 !important;
}
.ogr-coupon-input:focus {
  border-color: #E11D48 !important;
  box-shadow: 0 0 0 3px rgba(225,29,72,.1) !important;
}
.ogr-coupon-button {
  background: #E11D48 !important;
  color: #fff !important;
  border: none !important;
  border-radius: .75rem !important;
  padding: .525rem 1rem !important;
  font-family: 'Mulish', sans-serif !important;
  font-weight: 700 !important;
  font-size: .8125rem !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  transition: background .2s !important;
}
.ogr-coupon-button:hover {
  background: #9D174D !important;
}

/* ── TEKST PRYWATNOŚCI ────────────────────────────────────────────────────── */
.woocommerce-checkout .woocommerce-privacy-policy-text,
.woocommerce-checkout .woocommerce-privacy-policy-text p {
  font-family: 'Mulish', sans-serif !important;
  font-size: .75rem !important;
  color: #9CA3AF !important;
  line-height: 1.5 !important;
  margin-bottom: .75rem !important;
}
.woocommerce-checkout .woocommerce-privacy-policy-text a {
  color: #E11D48 !important;
  text-decoration: underline !important;
}

/* ── BŁĘDY WALIDACJI ──────────────────────────────────────────────────────── */
.woocommerce-checkout .woocommerce-invalid input,
.woocommerce-checkout .woocommerce-invalid select,
.woocommerce-checkout input[aria-invalid="true"],
.woocommerce-checkout select[aria-invalid="true"] {
  border-color: #E11D48 !important;
  box-shadow: 0 0 0 3px rgba(225,29,72,.1) !important;
}
.woocommerce-checkout .woocommerce-error {
  background: #fee2e2 !important;
  border: 1px solid #fca5a5 !important;
  border-radius: .875rem !important;
  padding: 1rem 1.25rem !important;
  color: #991b1b !important;
  font-family: 'Mulish', sans-serif !important;
  font-size: .875rem !important;
  list-style: none !important;
  margin-bottom: 1rem !important;
}
.woocommerce-checkout .woocommerce-error li {
  margin: 0 !important;
}

/* Na checkoucie: li z data-id (błędy pól) są ukrywane przez JS i zastępowane ogólnym komunikatem */
.woocommerce-checkout .ogr-notice--error .ogr-notice__list li.ogr-field-error {
  display: none !important;
}
.woocommerce-checkout .ogr-notice--error .ogr-notice__list li.ogr-general-error {
  display: list-item !important;
  list-style: none !important;
}
.woocommerce-checkout .ogr-notice--error .ogr-notice__list.has-field-errors::before {
  content: "Sprawdź zaznaczone pola i spróbuj ponownie." !important;
  display: block !important;
  font-family: 'Mulish', sans-serif !important;
  font-size: .875rem !important;
  font-weight: 500 !important;
}

/* ── TYPOGRAFIA ───────────────────────────────────────────────────────────── */
.woocommerce-checkout,
.woocommerce-checkout * {
  font-family: 'Mulish', sans-serif;
}
.woocommerce-checkout .ogr-checkout-layout h1,
.woocommerce-checkout .ogr-checkout-layout h2,
.woocommerce-checkout .ogr-checkout-layout h3,
.woocommerce-checkout .ogr-checkout-card h2,
.woocommerce-checkout .ogr-checkout-card h3 {
  font-family: 'Raleway', sans-serif !important;
  color: #1C0A14 !important;
}
.woocommerce-checkout .ogr-checkout-layout a {
  color: #E11D48 !important;
}

/* ── FORMULARZ LOGOWANIA — strona order-received ──────────────────────────── */
.woocommerce-order-received .woocommerce-form-login {
  max-width: 480px;
  margin: 0 auto 2rem;
  background: #fff;
  border: 1px solid #ede6e9;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(26,8,18,.06);
  padding: 1.75rem 2rem 2rem;
  box-sizing: border-box;
}
.woocommerce-order-received .woocommerce-form-login p {
  float: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 0 1.1rem !important;
  clear: both !important;
  box-sizing: border-box !important;
}
.woocommerce-order-received .woocommerce-form-login label {
  display: block !important;
  float: none !important;
  width: auto !important;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #7a5f6a;
  margin-bottom: .35rem;
}
.woocommerce-order-received .woocommerce-form-login .input-text {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: .72rem 1rem !important;
  border: 1.5px solid #e2d9dc !important;
  border-radius: 10px !important;
  font-size: .9375rem !important;
  color: #1a0812 !important;
  background: #fff !important;
}
.woocommerce-order-received .woocommerce-form-login .input-text:focus {
  outline: none !important;
  border-color: #DB2777 !important;
  box-shadow: 0 0 0 3px rgba(219,39,119,.1) !important;
}
.woocommerce-order-received .woocommerce-form-login p:has(.woocommerce-form-login__rememberme) {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.25rem !important;
}
.woocommerce-order-received .woocommerce-form-login .woocommerce-form-login__rememberme {
  display: flex !important;
  align-items: center;
  gap: .4rem;
  font-size: .8125rem !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: #7a5f6a;
  float: none !important;
  width: auto !important;
}
.woocommerce-order-received .woocommerce-form-login .woocommerce-form__input-checkbox {
  accent-color: #DB2777;
}
.woocommerce-order-received .woocommerce-form-login .button[name="login"] {
  background: #DB2777 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: .72rem 1.75rem !important;
  font-size: .9375rem !important;
  font-weight: 700 !important;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(219,39,119,.28);
  transition: background .15s;
  white-space: nowrap;
  float: none !important;
}
.woocommerce-order-received .woocommerce-form-login .button[name="login"]:hover {
  background: #be185d !important;
}
.woocommerce-order-received .woocommerce-form-login .lost_password {
  text-align: right;
}
.woocommerce-order-received .woocommerce-form-login .lost_password a {
  font-size: .8125rem;
  color: #DB2777;
  text-decoration: none;
  font-weight: 500;
}
.woocommerce-order-received .woocommerce-form-login .lost_password a:hover {
  text-decoration: underline;
}
.woocommerce-order-received .woocommerce-info {
  display: none !important;
}

.easypack-shipping-method-logo,
.easypack-weekend-shipping-method-logo,
.easypack-custom-shipping-method-logo,
.inpost_pl-shipping-method-meta-wrap {
  display: none !important;
}

#shipping_method li label {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  gap: 0.5rem !important;
}

.ogr-dhl-tracking {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: #fff8f0;
  border: 1px solid #f0e0d0;
  border-radius: 0.75rem;
}
.ogr-dhl-tracking .woocommerce-order-details__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: #333;
}
.ogr-dhl-tracking__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}
.ogr-dhl-tracking__label {
  color: #666;
}
.ogr-dhl-tracking__link {
  font-weight: 600;
  color: #d40511;
  text-decoration: none;
}
.ogr-dhl-tracking__link:hover {
  text-decoration: underline;
}
