/*
 * Koszyk i proces zamówienia
 * Wygenerowane automatycznie z css/style.css (podział per typ strony).
 */
/* ===== Logowanie / rejestracja (Pulse) ===== */
.signin_page #layout > aside.col-3,
.client-new_page #layout > aside.col-3,
body:has(#signin-form) #layout > aside.col-3,
body:has(#COP.cop.--client-new) #layout > aside.col-3 {
  display: none !important;
}

.signin_page #content.col-12,
.client-new_page #content.col-12,
body:has(#signin-form) #content.col-12,
body:has(#COP.cop.--client-new) #content.col-12 {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
}

.signin_page,
.client-new_page,
body:has(#signin-form),
body:has(#COP.cop.--client-new) {
  background: #f5f5f5;
}

/* --- Logowanie --- */
#signin-form.signin-form.row,
#signin-form {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: start;
  max-width: 1100px;
  margin: 32px auto 64px;
  padding: 0 16px;
}

#signin-form .signin-form_box.col-md-8,
#signin-form .signin-form_box.col-md-4,
#signin-form .signin-form_box.col-sm-7,
#signin-form .signin-form_box.col-sm-5,
#signin-form .signin-form_box.col-12,
#signin-form .signin-form_box {
  background: #fff;
  border-radius: 8px;
  padding: 40px;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  flex: none;
}

#signin-form .big_label {
  color: #161515;
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  text-transform: none;
  margin: 0 0 24px;
  padding: 0;
}

/* Ukryj zbędny przełącznik radio — przełączamy linkami poniżej formularza */
#signin-form .signin-form_select {
  display: none !important;
}

#signin-form_box_sub_1,
#signin-form_box_sub_2 {
  display: none;
}

#signin-form:not(.--recover) #signin-form_box_sub_1,
#signin-form.--recover #signin-form_box_sub_2 {
  display: block;
}

#client_new_social {
  margin-bottom: 8px;
}

#client_new_social .client_new_social_sub > p {
  color: #767676;
  font-size: 14px;
  line-height: 21px;
  margin: 0 0 20px;
}

#client_new_social .client_new_social_sub > p b {
  color: #333333;
  font-weight: 600;
}

#client_new_social ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#client_new_social ul li {
  margin: 0;
  padding: 0;
}

#client_new_social .service_item.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 48px;
  padding: 10px 16px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  background: #fff;
  color: #161515;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

#client_new_social .service_item.btn:hover {
  border-color: #f65d2d;
  background: #fff7f4;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

#client_new_social .service_item .service_icon {
  width: 22px;
  height: 22px;
  display: block;
}

#signin_login_separator {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0;
  color: #767676;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

#signin_login_separator::before,
#signin_login_separator::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e6e6e6;
}

#signin_login_separator span {
  flex: none;
}

#signin-form.--recover #client_new_social,
#signin-form.--recover #signin_login_separator {
  display: none;
}

#signin-form .signin_inputs,
#signin-form .signin_buttons {
  width: 100%;
  max-width: 420px;
  padding: 0;
}

#signin-form .form-group {
  margin-bottom: 18px;
}

#signin-form .form-control,
#signin-form .has-feedback .form-control {
  height: 52px;
  border: 1px solid #767676;
  border-radius: 6px;
  background: #fff;
  color: #161515;
  font-size: 14px;
  box-shadow: none;
}

#signin-form .form-control:focus {
  border-color: #f65d2d;
  outline: none;
  box-shadow: 0 0 0 3px rgba(246, 93, 45, 0.12);
}

#signin-form .control-label {
  color: #767676;
  font-size: 13px;
  background: #fff;
  padding: 0 6px;
}

#signin-form .signin_buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 8px;
}

#signin-form .signin_button.btn,
#signin-form .signin_password-recover.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 51px;
  padding: 0 28px;
  border-radius: 6px;
  background: #f65d2d;
  border: 1px solid #f65d2d;
  color: #161515;
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* [LG-01] pkt 89: zwykłe litery, hover jak inne przyciski — granatowe tło, biały tekst */
#signin-form .signin_button.btn:hover,
#signin-form .signin_button.btn:focus-visible,
#signin-form .signin_password-recover.btn:hover,
#signin-form .signin_password-recover.btn:focus-visible {
  background: #252474;
  border-color: #252474;
  color: #fff;
  box-shadow: none;
  filter: none;
}

#signin-form .password_reminder_signin,
#signin-form .password_back_signin {
  color: #f65d2d;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

#signin-form .password_reminder_signin:hover,
#signin-form .password_back_signin:hover {
  text-decoration: underline;
}

#signin-form .reminder_desc,
#signin-form .form-desc,
#signin-form .registration_desc {
  color: #767676;
  font-size: 14px;
  line-height: 21px;
  margin: 0 0 20px;
}

#signin-form_box_right .signin-form_box_sub {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#signin-form .signin-form_register2.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 51px;
  margin-top: auto;
  border-radius: 6px;
  background: #f65d2d;
  border: 1px solid #f65d2d;
  color: #161515;
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

#signin-form .signin-form_register2.btn:hover,
#signin-form .signin-form_register2.btn:focus-visible {
  background: #252474;
  border-color: #252474;
  color: #fff;
  box-shadow: none;
  filter: none;
}

/* --- Rejestracja --- */
#COP.cop.--client-new {
  max-width: 920px;
  margin: 32px auto 64px;
  padding: 0 16px;
}

#COP.cop.--client-new .cop__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#COP.cop.--client-new .cop_login,
#COP.cop.--client-new .cop_contact,
#COP.cop.--client-new .cop_address,
#COP.cop.--client-new .cop_registration,
#COP.cop.--client-new .cop_rebate_card,
#COP.cop.--client-new .cop_summary_client {
  background: #fff;
  border-radius: 8px;
  padding: 32px 40px;
  box-sizing: border-box;
}

#COP.cop.--client-new .cop__title {
  color: #161515;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  text-transform: none;
  margin: 0 0 20px;
  padding: 0;
}

#COP.cop.--client-new .cop__title.--small {
  font-size: 18px;
  line-height: 26px;
}

#COP.cop.--client-new .cop__title_desc {
  color: #767676;
  font-size: 13px;
  font-weight: 400;
  margin-left: 6px;
}

/* Social — wyśrodkowane */
#COP.cop.--client-new .cop_login {
  text-align: center;
}

#COP.cop.--client-new .cop_login .cop__title {
  margin-bottom: 16px;
}

#COP.cop.--client-new .cop_login__wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

#COP.cop.--client-new .cop_login__services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

#COP.cop.--client-new .cop_login__service {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 48px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

#COP.cop.--client-new .cop_login__service:hover {
  border-color: #f65d2d;
  background: #fff7f4;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

#COP.cop.--client-new .cop_login__service .service_icon {
  width: 22px;
  height: 22px;
}

#COP.cop.--client-new .cop_login__separator {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  color: #767676;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

#COP.cop.--client-new .cop_login__separator::before,
#COP.cop.--client-new .cop_login__separator::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e6e6e6;
}

/* Inputy */
#COP.cop.--client-new .f-control:not([type="checkbox"]):not([type="radio"]),
#COP.cop.--client-new .f-dropdown-toggle.f-control {
  min-height: 52px;
  border: 1px solid #767676;
  border-radius: 6px;
  background: #fff;
  color: #161515;
  font-size: 14px;
  box-shadow: none;
  accent-color: #f65d2d;
}

#COP.cop.--client-new .f-control:not([type="checkbox"]):not([type="radio"]):focus,
#COP.cop.--client-new .f-dropdown-toggle.f-control:focus {
  border-color: #f65d2d;
  outline: none;
  box-shadow: 0 0 0 3px rgba(246, 93, 45, 0.12);
}

#COP.cop.--client-new .f-feedback > .f-label {
  color: #767676;
  font-size: 13px;
  background: #fff;
  padding: 0 6px;
}

#COP.cop.--client-new .f-description,
#COP.cop.--client-new .cop_rebate_card__description {
  color: #767676;
  font-size: 13px;
  line-height: 20px;
}

#COP.cop.--client-new .f-description a,
#COP.cop.--client-new .cop_register__show_pass {
  color: #f65d2d;
  text-decoration: none;
  font-weight: 500;
}

#COP.cop.--client-new .f-description a:hover,
#COP.cop.--client-new .cop_register__show_pass:hover {
  text-decoration: underline;
}

/* Siatka pól */
#COP.cop.--client-new .cop_contact__wrapper,
#COP.cop.--client-new .cop_register {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}

#COP.cop.--client-new .cop_client_data,
#COP.cop.--client-new .cop_address_data,
#COP.cop.--client-new .cop_invoice_data {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 20px;
}

#COP.cop.--client-new .cop_client_data__item,
#COP.cop.--client-new .cop_address_data__item,
#COP.cop.--client-new .cop_invoice_data__item,
#COP.cop.--client-new .cop_register__item,
#COP.cop.--client-new .cop_contact__item {
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
}

#COP.cop.--client-new .cop_contact__item.--email,
#COP.cop.--client-new .smile_web_authn,
#COP.cop.--client-new .smile_web_authn__generate_pin_wrapper {
  grid-column: 1 / -1;
}

#COP.cop.--client-new .cop_client_data__item.--country,
#COP.cop.--client-new .cop_client_data__item.--firm,
#COP.cop.--client-new .cop_client_data__item.--nip,
#COP.cop.--client-new .cop_address_data__item.--country,
#COP.cop.--client-new .cop_address_data__item.--firm,
#COP.cop.--client-new .cop_invoice_data__item.--country,
#COP.cop.--client-new .cop_invoice_data__item.--firm,
#COP.cop.--client-new .cop_invoice_data__item.--nip {
  grid-column: 1 / -1;
}

#COP.cop.--client-new .cop_client_data__item.--firstname,
#COP.cop.--client-new .cop_client_data__item.--lastname,
#COP.cop.--client-new .cop_address_data__item.--firstname,
#COP.cop.--client-new .cop_address_data__item.--lastname,
#COP.cop.--client-new .cop_invoice_data__item.--firstname,
#COP.cop.--client-new .cop_invoice_data__item.--lastname {
  grid-column: span 2;
}

/* Ulica 3/4 + Nr domu 1/4 */
#COP.cop.--client-new .cop_client_data__item.--street,
#COP.cop.--client-new .cop_address_data__item.--street,
#COP.cop.--client-new .cop_invoice_data__item.--street {
  grid-column: span 3;
}

#COP.cop.--client-new .cop_client_data__item.--street-number,
#COP.cop.--client-new .cop_address_data__item.--street-number,
#COP.cop.--client-new .cop_invoice_data__item.--street-number {
  grid-column: span 1;
}

/* Kod 1/4 + Miejscowość 3/4 */
#COP.cop.--client-new .cop_client_data__item.--zipcode,
#COP.cop.--client-new .cop_address_data__item.--zipcode,
#COP.cop.--client-new .cop_invoice_data__item.--zipcode {
  grid-column: span 1;
}

#COP.cop.--client-new .cop_client_data__item.--city,
#COP.cop.--client-new .cop_address_data__item.--city,
#COP.cop.--client-new .cop_invoice_data__item.--city {
  grid-column: span 3;
}

#COP.cop.--client-new .cop_client_data__item.--province,
#COP.cop.--client-new .cop_address_data__item.--province,
#COP.cop.--client-new .cop_invoice_data__item.--province {
  grid-column: 1 / -1;
}

/* Telefon — osobne pole prefix + numer */
#COP.cop.--client-new .cop_contact__item.--phone,
#COP.cop.--client-new .cop_address_data__item.--phone {
  grid-column: 1 / -1;
  display: grid !important;
  grid-template-columns: 80px minmax(0, 1fr);
  grid-template-areas:
    "prefix phone"
    ". msg"
    ". desc";
  column-gap: 16px;
  row-gap: 0;
  align-items: start;
  position: relative;
}

#COP.cop.--client-new .cop_contact__item.--phone .client_prefix__wrapper,
#COP.cop.--client-new .cop_address_data__item.--phone .delivery_prefix__wrapper {
  grid-area: prefix;
  display: block;
  margin: 0;
  position: relative;
}

#COP.cop.--client-new .client_prefix__input_wrapper,
#COP.cop.--client-new .delivery_prefix__input_wrapper {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

#COP.cop.--client-new .client_prefix__select,
#COP.cop.--client-new .delivery_prefix__select {
  width: 100%;
  margin: 0;
}

#COP.cop.--client-new .client_prefix__select .f-dropdown-toggle,
#COP.cop.--client-new .delivery_prefix__select .f-dropdown-toggle {
  width: 100%;
  min-height: 52px;
  padding: 0 32px 0 14px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  border: 1px solid #767676;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

#COP.cop.--client-new .client_prefix__select .f-dropdown-toggle::after,
#COP.cop.--client-new .delivery_prefix__select .f-dropdown-toggle::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #767676;
  border-bottom: 2px solid #767676;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

#COP.cop.--client-new .client_prefix__select .f-dropdown-button,
#COP.cop.--client-new .delivery_prefix__select .f-dropdown-button {
  font-size: 14px;
  color: #161515;
  font-weight: 500;
}

#COP.cop.--client-new .cop_contact__item.--phone > .f-control[type="tel"],
#COP.cop.--client-new .cop_address_data__item.--phone > .f-control[type="tel"] {
  grid-area: phone;
  width: 100%;
  margin: 0;
  padding-left: 15px;
}

/* left = szerokość prefixu + gap + 15px (jak w pozostałych placeholderach) */
#COP.cop.--client-new .cop_contact__item.--phone > .f-label,
#COP.cop.--client-new .cop_address_data__item.--phone > .f-label {
  grid-area: phone;
  position: absolute !important;
  left: 15px !important;
  right: auto !important;
  width: auto;
  max-width: calc(100% - 120px - 16px - 30px);
  padding-left: 0 !important;
  pointer-events: none;
  box-sizing: border-box;
}

#COP.cop.--client-new .cop_contact__item.--phone > .f-message,
#COP.cop.--client-new .cop_address_data__item.--phone > .f-message {
  grid-area: msg;
}

#COP.cop.--client-new .cop_contact__item.--phone > .f-description,
#COP.cop.--client-new .cop_address_data__item.--phone > .f-description {
  grid-area: desc;
}

/* Smile — fallback ikony gdy /gfx/custom/smile_icon_small.svg nie ładuje się */
#COP.cop.--client-new .smile_web_authn__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #161515;
  text-decoration: none;
  font-size: 14px;
}

#COP.cop.--client-new .smile_web_authn__link img {
  display: none;
}

#COP.cop.--client-new .smile_web_authn__link::before {
  content: "";
  width: 28px;
  height: 28px;
  flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='14' fill='%23f65d2d'/%3E%3Ccircle cx='10' cy='12' r='1.6' fill='%23161515'/%3E%3Ccircle cx='18' cy='12' r='1.6' fill='%23161515'/%3E%3Cpath d='M9 16.5c1.4 2 2.8 3 5 3s3.6-1 5-3' fill='none' stroke='%23161515' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

#COP.cop.--client-new .smile_web_authn__link strong {
  color: #f65d2d;
  font-weight: 600;
}

#COP.cop.--client-new .smile_web_authn__generate_pin.btn {
  border-radius: 6px;
  background: #f65d2d;
  border: 1px solid #f65d2d;
  color: #161515;
  font-weight: 600;
  text-transform: uppercase;
}

/* Zamawiasz jako — radio w jednej linii, brandowe */
#COP.cop.--client-new .cop_switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  margin-bottom: 20px;
}

#COP.cop.--client-new .cop_switch__label {
  color: #161515;
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  line-height: 20px;
}

#COP.cop.--client-new .cop_switch__radio.f-group.--radio {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  min-height: 0;
  position: relative;
}

#COP.cop.--client-new .cop_switch__radio .f-control {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  min-height: 0 !important;
  border: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  pointer-events: none;
}

#COP.cop.--client-new .cop_switch__radio .f-label {
  display: inline-flex !important;
  align-items: center;
  gap: 0;
  margin: 0 !important;
  padding: 0 0 0 28px !important;
  min-height: 20px;
  line-height: 20px;
  position: relative;
  background: transparent !important;
  color: #333333 !important;
  font-size: 14px !important;
  font-weight: 500;
  cursor: pointer;
  transform: none !important;
  top: auto !important;
  left: auto !important;
}

#COP.cop.--client-new .cop_switch__radio .f-label:before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 18px !important;
  height: 18px !important;
  border: 1.5px solid #767676 !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-sizing: border-box;
  margin: 0 !important;
}

#COP.cop.--client-new .cop_switch__radio .f-label:after {
  content: "" !important;
  position: absolute !important;
  left: 4px !important;
  top: 50% !important;
  width: 10px !important;
  height: 10px !important;
  border: none !important;
  border-radius: 50% !important;
  background: transparent !important;
  transform: translateY(-50%) !important;
  box-sizing: border-box;
  margin: 0 !important;
  opacity: 1 !important;
}

#COP.cop.--client-new .cop_switch__radio .f-control:checked + .f-label:before {
  border-color: #f65d2d !important;
}

#COP.cop.--client-new .cop_switch__radio .f-control:checked + .f-label:after {
  background: #f65d2d !important;
}

/* Select Kraj — label jak floating placeholder */
#COP.cop.--client-new .cop_client_data__item.--country,
#COP.cop.--client-new .cop_address_data__item.--country,
#COP.cop.--client-new .cop_invoice_data__item.--country {
  overflow: visible;
  padding-top: 8px;
}

#COP.cop.--client-new .cop_client_data__item.--country .f-dropdown,
#COP.cop.--client-new .cop_address_data__item.--country .f-dropdown,
#COP.cop.--client-new .cop_invoice_data__item.--country .f-dropdown {
  position: relative;
  width: 100%;
  overflow: visible;
}

#COP.cop.--client-new .cop_client_data__item.--country .f-dropdown-label,
#COP.cop.--client-new .cop_address_data__item.--country .f-dropdown-label,
#COP.cop.--client-new .cop_invoice_data__item.--country .f-dropdown-label {
  position: absolute;
  top: 0;
  left: 15px;
  z-index: 3;
  margin: 0;
  padding: 0 6px;
  background: #fff;
  color: #767676;
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  transform: translateY(-50%);
  white-space: nowrap;
  overflow: visible;
  pointer-events: none;
}

#COP.cop.--client-new .cop_client_data__item.--country .f-dropdown-toggle,
#COP.cop.--client-new .cop_address_data__item.--country .f-dropdown-toggle,
#COP.cop.--client-new .cop_invoice_data__item.--country .f-dropdown-toggle {
  width: 100%;
  min-height: 52px;
  padding: 0 36px 0 15px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: visible;
}

#COP.cop.--client-new .cop_client_data__item.--country .f-dropdown-toggle::after,
#COP.cop.--client-new .cop_address_data__item.--country .f-dropdown-toggle::after,
#COP.cop.--client-new .cop_invoice_data__item.--country .f-dropdown-toggle::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #767676;
  border-bottom: 2px solid #767676;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

#COP.cop.--client-new .cop_client_data__item.--country .f-dropdown-button,
#COP.cop.--client-new .cop_address_data__item.--country .f-dropdown-button,
#COP.cop.--client-new .cop_invoice_data__item.--country .f-dropdown-button {
  font-size: 14px;
  color: #161515;
  font-weight: 500;
}

/* Checkboxy — wyrównanie + brand, mniejsze odstępy. Rejestracja i (od 23.11.2026, uwaga z naszej strony) zamówienie --oscop.
   [KO-16] pkt 112: jedna wersja jak przy newsletterze: zaokrąglony, pomarańczowa ramka, zaznaczony = pomarańczowy ptaszek na białym. */
#COP.cop.--client-new .f-group.--checkbox,
#COP.cop.--oscop .f-group.--checkbox {
  display: flex;
  align-items: flex-start;
  margin: 0;
  padding: 0;
  min-height: 0;
  position: relative;
}

#COP.cop.--client-new .f-group.--checkbox .f-control,
#COP.cop.--oscop .f-group.--checkbox .f-control {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  min-height: 0 !important;
  border: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  pointer-events: none;
}

#COP.cop.--client-new .f-group.--checkbox .f-label,
#COP.cop.--oscop .f-group.--checkbox .f-label {
  display: block !important;
  position: relative !important;
  margin: 0 !important;
  padding: 0 0 0 32px !important;
  min-height: 20px;
  line-height: 20px;
  background: transparent !important;
  color: #333333 !important;
  font-size: 14px !important;
  font-weight: 400;
  cursor: pointer;
  transform: none !important;
  top: auto !important;
  left: auto !important;
}

#COP.cop.--client-new .f-group.--checkbox .f-label:before,
#COP.cop.--oscop .f-group.--checkbox .f-label:before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  transform: none !important;
  width: 20px !important;
  height: 20px !important;
  border: 1.5px solid #f65d2d !important;
  border-radius: 4px !important;
  background: #fff !important;
  box-sizing: border-box;
  margin: 0 !important;
}

#COP.cop.--client-new .f-group.--checkbox .f-label:after,
#COP.cop.--oscop .f-group.--checkbox .f-label:after {
  content: "" !important;
  position: absolute !important;
  left: 7px !important;
  top: 4px !important;
  width: 6px !important;
  height: 10px !important;
  border: solid transparent !important;
  border-width: 0 2px 2px 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  transform: rotate(45deg) !important;
  box-sizing: border-box;
  margin: 0 !important;
  opacity: 1 !important;
}

#COP.cop.--client-new .f-group.--checkbox .f-control:checked + .f-label:before,
#COP.cop.--oscop .f-group.--checkbox .f-control:checked + .f-label:before {
  background: #fff !important;
  border-color: #f65d2d !important;
}

#COP.cop.--client-new .f-group.--checkbox .f-control:checked + .f-label:after,
#COP.cop.--oscop .f-group.--checkbox .f-control:checked + .f-label:after {
  border-color: #f65d2d !important;
  background: transparent !important;
}

#COP.cop.--client-new .f-group.--checkbox .f-label a,
#COP.cop.--oscop .f-group.--checkbox .f-label a {
  color: #f65d2d;
  text-decoration: underline;
}

#COP.cop.--client-new .cop_address__item.--address-switch,
#COP.cop.--client-new .cop_address__item.--invoice-switch {
  margin-top: 10px;
  margin-bottom: 10px;
}

#COP.cop.--client-new .cop_terms {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

#COP.cop.--client-new .cop_terms__item {
  margin: 0;
}

#COP.cop.--client-new .cop_rebate_card__wrapper {
  margin-top: 12px;
}

#COP.cop.--client-new .cop_rebate_card__icon {
  color: #f65d2d;
}

#COP.cop.--client-new .cop_buttons {
  display: flex;
  justify-content: flex-start;
}

#COP.cop.--client-new .cop_buttons__button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  height: 54px;
  padding: 0 32px;
  border-radius: 6px;
  background: #f65d2d;
  border: 1px solid #f65d2d;
  color: #161515;
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* [RE-03] pkt 95: „Zarejestruj konto” zwykłymi literami, hover jak inne przyciski (granatowe tło, biały tekst) */
#COP.cop.--client-new .cop_buttons__button.btn:hover,
#COP.cop.--client-new .cop_buttons__button.btn:focus-visible {
  background: #252474;
  border-color: #252474;
  color: #fff;
  box-shadow: none;
  filter: none;
}

/* [RE-01] pkt 93: bez „Błyskawicznie uzupełnij dane dostawy” (Smile WebAuthn) — przeładowywał stronę
   i kasował wpisane dane; w obecnym sklepie też jest ukryty */
#COP.cop.--client-new .smile_web_authn,
#COP.cop.--client-new .smile_web_authn__generate_pin_wrapper {
  display: none !important;
}

/* [RE-02] pkt 94: pole po walidacji Pulse (.f-feedback.--success / .--error) — zielona albo czerwona ramka
   i etykieta, jak w obecnym sklepie. Kolor błędu jak komunikat pod polem (#e35c5c).
   Podwójna klasa .f-control / .f-label: mocniej niż nasze #COP.cop.--client-new .f-control:not(...) */
#COP.cop .f-feedback.--success .f-control.f-control:not([type="checkbox"]):not([type="radio"]) {
  border-color: #1f9d55;
}
#COP.cop .f-feedback.--error .f-control.f-control:not([type="checkbox"]):not([type="radio"]) {
  border-color: #e35c5c;
}
#COP.cop .f-feedback.--success > .f-label.f-label,
#COP.cop .f-feedback.--success .f-control + .f-label.f-label {
  color: #1f9d55;
}
#COP.cop .f-feedback.--error > .f-label.f-label,
#COP.cop .f-feedback.--error .f-control + .f-label.f-label {
  color: #e35c5c;
}

/* [KO-10] pkt 106: „Błyskawicznie uzupełnij dane dostawy” ukryty też w zamówieniu (jak RE-01 na rejestracji) */
#COP.cop.--oscop .smile_web_authn,
#COP.cop.--oscop .smile_web_authn__generate_pin_wrapper {
  display: none !important;
}

/* [KO-04] pkt 100: koszyk bez „+ Dodaj produkty podając kody” nad listą i bez komentarza / załącznika
   / „Zapisz opis i załącznik” pod produktem (.basket__item.--add-comment), jak w obecnym sklepie */
.basket__block.--labels .addCodesToBasketLink,
.basket__block.--product .basket__item.--add-comment {
  display: none !important;
}

/* [KO-05] pkt 101: boks zastosowanego kodu rabatowego. Pulse daje ciemną ramkę (inset box-shadow #333),
   ostre rogi i kod 22 px. Zamiast tego: szary blok (jak tło strony), nad kodem mały napis „Kod rabatowy”
   z zielonym ptaszkiem, kod jako kupon (przerywana pomarańczowa ramka, ikonka metki), Edytuj / Usuń po prawej. */
.summary_wrapper .cop_rebate_code.--filled,
#COP.cop.--oscop .cop_rebate_code.--filled {
  padding: 12px 14px 14px;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
  background-color: #f6f6f6;
}
.summary_wrapper .cop_rebate_code.--filled .cop_rebate_code__label,
#COP.cop.--oscop .cop_rebate_code.--filled .cop_rebate_code__label {
  justify-content: flex-start;
  gap: 8px;
}
/* „Dodaj” przy zastosowanym kodzie: w koszyku ukrywa go Pulse, w zamówieniu nadpisywała to nasza reguła #COP */
.summary_wrapper .cop_rebate_code.--filled .cop_rebate_code__add,
#COP.cop.--oscop .cop_rebate_code.--filled .cop_rebate_code__add {
  display: none;
}
.summary_wrapper .cop_rebate_code.--filled .cop_rebate_code__label_text,
#COP.cop.--oscop .cop_rebate_code.--filled .cop_rebate_code__label_text {
  color: #767676;
  font-size: 13px;
  font-weight: 400;
}
.summary_wrapper .cop_rebate_code.--filled .cop_rebate_code__label::after,
#COP.cop.--oscop .cop_rebate_code.--filled .cop_rebate_code__label::after {
  order: -1;
  width: 5px;
  height: 10px;
  margin: 0 2px 0 4px;
  border-width: 0 2px 2px 0;
  border-color: #10ac82;
  transform: translateY(-2px) rotate(45deg);
}
.summary_wrapper .cop_rebate_code.--filled .cop_rebate_code__message,
#COP.cop.--oscop .cop_rebate_code.--filled .cop_rebate_code__message {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-top: 8px;
}
.summary_wrapper .cop_rebate_code.--filled .cop_rebate_code__text,
#COP.cop.--oscop .cop_rebate_code.--filled .cop_rebate_code__text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 6px 12px;
  border: 1px dashed #f65d2d;
  border-radius: 6px;
  background: #fff;
  color: #161515;
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0.5px;
  word-break: break-all;
}
.summary_wrapper .cop_rebate_code.--filled .cop_rebate_code__text::before,
#COP.cop.--oscop .cop_rebate_code.--filled .cop_rebate_code__text::before {
  content: "";
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  background: #f65d2d;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4l-7.2 7.2a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4l-7.2 7.2a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.summary_wrapper .cop_rebate_code.--filled .cop_rebate_code__links,
#COP.cop.--oscop .cop_rebate_code.--filled .cop_rebate_code__links {
  gap: 14px;
  margin: 0;
}
.summary_wrapper .cop_rebate_code.--filled .cop_rebate_code__links .cop_rebate_code__link,
#COP.cop.--oscop .cop_rebate_code.--filled .cop_rebate_code__links .cop_rebate_code__link {
  margin: 0;
  color: #252474;
  font-size: 13px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.summary_wrapper .cop_rebate_code.--filled .cop_rebate_code__links .cop_rebate_code__link.--remove,
#COP.cop.--oscop .cop_rebate_code.--filled .cop_rebate_code__links .cop_rebate_code__link.--remove {
  color: #767676;
}
.summary_wrapper .cop_rebate_code.--filled .cop_rebate_code__links .cop_rebate_code__link:hover,
#COP.cop.--oscop .cop_rebate_code.--filled .cop_rebate_code__links .cop_rebate_code__link:hover {
  color: #f65d2d;
}

/* Strona składania zamówienia (place-order): nagłówek na pełną szerokość jak na pozostałych stronach.
   Pulse zwęża go tu do 970 px (.order_process .place-order_page header). Uwaga z naszej strony, 23.11.2026. */
@media (min-width: 979px) {
  html.order_process .place-order_page header {
    max-width: none;
  }
}

@media (max-width: 991px) {
  /* [LG-04] pkt 92: ten sam selektor co reguła PC (#signin-form.signin-form.row), inaczej zostawały 2 kolumny */
  #signin-form.signin-form.row,
  #signin-form {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
    padding: 0;
  }

  /* [LG-04] mniejsze odstępy w boksach Logowanie / Rejestracja; podwójna klasa, bo reguła PC
     (#signin-form .signin-form_box.col-md-8 itd.) wygrywała i zostawało 40 px. Ikonki logowania
     przez serwisy (4 × 56 px) mieszczą się w jednym rzędzie od 340 px szerokości ekranu. */
  #signin-form .signin-form_box.signin-form_box {
    padding: 24px 16px;
  }

  #signin-form .signin-form_box,
  #COP.cop.--client-new .cop_login,
  #COP.cop.--client-new .cop_contact,
  #COP.cop.--client-new .cop_address,
  #COP.cop.--client-new .cop_registration,
  #COP.cop.--client-new .cop_rebate_card,
  #COP.cop.--client-new .cop_summary_client {
    padding: 24px 20px;
  }

  #signin-form .big_label {
    font-size: 26px;
    line-height: 34px;
  }

  #COP.cop.--client-new .cop__title {
    font-size: 20px;
    line-height: 28px;
  }

  #COP.cop.--client-new .cop_contact__wrapper,
  #COP.cop.--client-new .cop_client_data,
  #COP.cop.--client-new .cop_address_data,
  #COP.cop.--client-new .cop_invoice_data,
  #COP.cop.--client-new .cop_register {
    grid-template-columns: 1fr;
  }

  #COP.cop.--client-new .cop_client_data__item.--firstname,
  #COP.cop.--client-new .cop_client_data__item.--lastname,
  #COP.cop.--client-new .cop_client_data__item.--street,
  #COP.cop.--client-new .cop_client_data__item.--street-number,
  #COP.cop.--client-new .cop_client_data__item.--zipcode,
  #COP.cop.--client-new .cop_client_data__item.--city,
  #COP.cop.--client-new .cop_address_data__item.--firstname,
  #COP.cop.--client-new .cop_address_data__item.--lastname,
  #COP.cop.--client-new .cop_address_data__item.--street,
  #COP.cop.--client-new .cop_address_data__item.--street-number,
  #COP.cop.--client-new .cop_address_data__item.--zipcode,
  #COP.cop.--client-new .cop_address_data__item.--city,
  #COP.cop.--client-new .cop_invoice_data__item.--firstname,
  #COP.cop.--client-new .cop_invoice_data__item.--lastname,
  #COP.cop.--client-new .cop_invoice_data__item.--street,
  #COP.cop.--client-new .cop_invoice_data__item.--street-number,
  #COP.cop.--client-new .cop_invoice_data__item.--zipcode,
  #COP.cop.--client-new .cop_invoice_data__item.--city {
    grid-column: 1 / -1;
  }

  #COP.cop.--client-new .cop_contact__item.--phone,
  #COP.cop.--client-new .cop_address_data__item.--phone {
    grid-template-columns: 100px minmax(0, 1fr);
    column-gap: 16px;
  }

  #COP.cop.--client-new .cop_contact__item.--phone > .f-label,
  #COP.cop.--client-new .cop_address_data__item.--phone > .f-label {
    left: calc(100px + 16px + 15px) !important;
    max-width: calc(100% - 100px - 16px - 30px);
  }

  #COP.cop.--client-new .cop_buttons__button.btn,
  #signin-form .signin_button.btn,
  #signin-form .signin_password-recover.btn,
  #signin-form .signin-form_register2.btn {
    width: 100%;
  }
}

/* ===== Proces zamawiania COP (--oscop) ===== */
body:has(#COP.cop.--oscop) #layout > aside.col-3 {
  display: none !important;
}

body:has(#COP.cop.--oscop) #content.col-12 {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
}

body:has(#COP.cop.--oscop) {
  background: #f5f5f5;
}

body:has(#COP.cop.--oscop) #layout,
body:has(#COP.cop.--oscop) #content.col-12 {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#COP.cop.--oscop {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  column-gap: 24px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto 64px;
  padding: 0 16px;
  box-sizing: border-box;
}

#COP.cop.--oscop > .cop__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  grid-column: 1;
  margin-top: 0;
  padding-top: 0;
}

#COP.cop.--oscop > .cop_summary {
  grid-column: 2;
  width: 100%;
  max-width: 360px;
  position: sticky;
  top: 16px;
  align-self: start;
  z-index: 2;
  box-sizing: border-box;
  background: #fff;
  border-radius: 6px;
  padding: 20px;
  margin-top: 0;
}

#COP.cop.--oscop .cop_summary__block,
#COP.cop.--oscop .cop_summary__block.--content {
  padding: 0 !important;
  margin: 0;
}

/* [KO-19] pkt 129: blok treści podsumowania miał u klienta lekko szare tło (#f0f0f0) w białym boksie.
   Bloki podsumowania bez własnego tła — widać białe pudełko .cop_summary pod spodem. */
#COP .cop_summary .cop_summary__block,
#COP .cop_summary .cop_summary__block.--content {
  background: transparent !important;
}

/* Karty sekcji */
#COP.cop.--oscop .cop_contact,
#COP.cop.--oscop .cop_address,
#COP.cop.--oscop .cop_documents,
#COP.cop.--oscop .cop_payments,
#COP.cop.--oscop .cop_deliveries,
#COP.cop.--oscop .cop_remarks,
#COP.cop.--oscop .cop_products,
#COP.cop.--oscop .cop_division {
  background: #fff;
  border-radius: 8px;
  padding: 28px 32px;
  box-sizing: border-box;
}

/* Registration siedzi wewnątrz contact — bez drugiej karty / paddingów */
#COP.cop.--oscop .cop_registration {
  background: transparent;
  border-radius: 0;
  padding: 16px 0 0;
  margin: 16px 0 0;
  border-top: 1px solid #f0f0f0;
  box-sizing: border-box;
}

#COP.cop.--oscop .cop_registration__item {
  margin: 0;
  padding: 0;
}

/* [KO-22] 30.11.2026: po zaznaczeniu „Załóż konto w sklepie” pola loginu i hasła stały tuż pod checkboxem (0 px), zlewało się */
#COP.cop.--oscop .cop_registration__item.--register-data {
  margin-top: 16px;
}

#COP.cop.--oscop .cop__title {
  color: #161515;
  font-size: 22px;
  line-height: 30px;
  font-weight: 700;
  text-transform: none;
  margin: 0 0 20px;
  padding: 0;
}

#COP.cop.--oscop .cop__title.--small {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 14px;
}

#COP.cop.--oscop .cop__title_desc {
  color: #767676;
  font-size: 13px;
  font-weight: 400;
  margin-left: 6px;
}

/* Login / social */
#COP.cop.--oscop .cop_login {
  margin-bottom: 8px;
}

#COP.cop.--oscop .cop_login__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}

#COP.cop.--oscop .cop_login__label {
  color: #555;
  font-size: 14px;
  line-height: 20px;
}

#COP.cop.--oscop .cop_login__link {
  color: #f65d2d;
  font-weight: 600;
  text-decoration: none;
}

#COP.cop.--oscop .cop_login__link:hover {
  color: #252474;
  text-decoration: underline;
}

#COP.cop.--oscop .cop_login__services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

#COP.cop.--oscop .cop_login__service {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 40px;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease;
}

#COP.cop.--oscop .cop_login__service:hover {
  border-color: #f65d2d;
  background: #fff7f4;
}

#COP.cop.--oscop .cop_login__service .service_icon {
  width: 20px;
  height: 20px;
}

#COP.cop.--oscop .cop_login__separator {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 16px 0 8px;
  color: #999;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

#COP.cop.--oscop .cop_login__separator::before,
#COP.cop.--oscop .cop_login__separator::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e6e6e6;
}

/* Formularze */
#COP.cop.--oscop .f-control:not([type="checkbox"]):not([type="radio"]),
#COP.cop.--oscop .f-dropdown-toggle.f-control {
  min-height: 48px;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  background: #fff;
  color: #161515;
  font-size: 14px;
  box-shadow: none;
  accent-color: #f65d2d;
}

#COP.cop.--oscop .f-control:not([type="checkbox"]):not([type="radio"]):focus,
#COP.cop.--oscop .f-dropdown-toggle.f-control:focus {
  border-color: #f65d2d;
  outline: none;
  box-shadow: 0 0 0 3px rgba(246, 93, 45, 0.12);
}

#COP.cop.--oscop .f-feedback > .f-label {
  color: #767676;
  font-size: 13px;
  background: #fff;
  padding: 0 6px;
}

#COP.cop.--oscop .f-description {
  color: #767676;
  font-size: 13px;
  line-height: 18px;
}

#COP.cop.--oscop .f-description a {
  color: #f65d2d;
  font-weight: 500;
  text-decoration: none;
}

#COP.cop.--oscop .f-description a:hover {
  color: #252474;
  text-decoration: underline;
}

#COP.cop.--oscop .cop_contact__wrapper,
#COP.cop.--oscop .cop_register {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}

#COP.cop.--oscop .cop_client_data,
#COP.cop.--oscop .cop_address_data,
#COP.cop.--oscop .cop_invoice_data {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 16px;
}

#COP.cop.--oscop .cop_client_data__item,
#COP.cop.--oscop .cop_address_data__item,
#COP.cop.--oscop .cop_invoice_data__item,
#COP.cop.--oscop .cop_register__item,
#COP.cop.--oscop .cop_contact__item {
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
}

#COP.cop.--oscop .cop_contact__item.--email,
#COP.cop.--oscop .smile_web_authn,
#COP.cop.--oscop .smile_web_authn__generate_pin_wrapper {
  grid-column: 1 / -1;
}

#COP.cop.--oscop .cop_client_data__item.--country,
#COP.cop.--oscop .cop_client_data__item.--firm,
#COP.cop.--oscop .cop_client_data__item.--nip,
#COP.cop.--oscop .cop_address_data__item.--country,
#COP.cop.--oscop .cop_address_data__item.--firm,
#COP.cop.--oscop .cop_invoice_data__item.--country,
#COP.cop.--oscop .cop_invoice_data__item.--firm,
#COP.cop.--oscop .cop_invoice_data__item.--nip {
  grid-column: 1 / -1;
}

#COP.cop.--oscop .cop_client_data__item.--firstname,
#COP.cop.--oscop .cop_client_data__item.--lastname,
#COP.cop.--oscop .cop_address_data__item.--firstname,
#COP.cop.--oscop .cop_address_data__item.--lastname,
#COP.cop.--oscop .cop_invoice_data__item.--firstname,
#COP.cop.--oscop .cop_invoice_data__item.--lastname {
  grid-column: span 2;
}

#COP.cop.--oscop .cop_client_data__item.--street,
#COP.cop.--oscop .cop_address_data__item.--street,
#COP.cop.--oscop .cop_invoice_data__item.--street {
  grid-column: span 3;
}

#COP.cop.--oscop .cop_client_data__item.--street-number,
#COP.cop.--oscop .cop_address_data__item.--street-number,
#COP.cop.--oscop .cop_invoice_data__item.--street-number {
  grid-column: span 1;
}

#COP.cop.--oscop .cop_client_data__item.--zipcode,
#COP.cop.--oscop .cop_address_data__item.--zipcode,
#COP.cop.--oscop .cop_invoice_data__item.--zipcode {
  grid-column: span 1;
}

#COP.cop.--oscop .cop_client_data__item.--city,
#COP.cop.--oscop .cop_address_data__item.--city,
#COP.cop.--oscop .cop_invoice_data__item.--city {
  grid-column: span 3;
}

#COP.cop.--oscop .cop_client_data__item.--province,
#COP.cop.--oscop .cop_address_data__item.--province,
#COP.cop.--oscop .cop_invoice_data__item.--province {
  grid-column: 1 / -1;
}

/* Telefon z prefixem */
#COP.cop.--oscop .cop_contact__item.--phone,
#COP.cop.--oscop .cop_address_data__item.--phone {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
  grid-column: 1 / -1;
}

#COP.cop.--oscop .cop_contact__item.--phone .client_prefix__wrapper,
#COP.cop.--oscop .cop_address_data__item.--phone .delivery_prefix__wrapper {
  grid-column: 1;
  display: flex;
  min-width: 0;
}

#COP.cop.--oscop .client_prefix__input_wrapper,
#COP.cop.--oscop .delivery_prefix__input_wrapper {
  display: none;
}

#COP.cop.--oscop .client_prefix__select,
#COP.cop.--oscop .delivery_prefix__select {
  width: 100%;
}

#COP.cop.--oscop .client_prefix__select .f-dropdown-toggle,
#COP.cop.--oscop .delivery_prefix__select .f-dropdown-toggle {
  width: 100%;
  justify-content: space-between;
  padding: 0 12px;
}

#COP.cop.--oscop .cop_contact__item.--phone > .f-control[type="tel"],
#COP.cop.--oscop .cop_address_data__item.--phone > .f-control[type="tel"] {
  grid-column: 2;
  grid-row: 1;
  padding-left: 1.3rem;
}

#COP.cop.--oscop .cop_contact__item.--phone > .f-label,
#COP.cop.--oscop .cop_address_data__item.--phone > .f-label {
  left: calc(80px + 12px + 14px) !important;
  max-width: calc(100% - 80px - 12px - 28px);
}

#COP.cop.--oscop .cop_contact__item.--phone > .f-message,
#COP.cop.--oscop .cop_address_data__item.--phone > .f-message,
#COP.cop.--oscop .cop_contact__item.--phone > .f-description,
#COP.cop.--oscop .cop_address_data__item.--phone > .f-description {
  grid-column: 1 / -1;
}

/* Switch osoba/firma */
#COP.cop.--oscop .cop_switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 20px;
}

#COP.cop.--oscop .cop_switch__label {
  color: #555;
  font-size: 14px;
  font-weight: 500;
  margin-right: 4px;
}

#COP.cop.--oscop .cop_switch__radio.f-group.--radio {
  position: relative;
  margin: 0;
  padding: 0;
  min-height: 0;
}

#COP.cop.--oscop .cop_switch__radio .f-control,
#COP.cop.--oscop .cop_payments__input,
#COP.cop.--oscop .cop_payments__option_input,
#COP.cop.--oscop .cop_delivery__input {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  pointer-events: none;
  clip: rect(0, 0, 0, 0);
}

#COP.cop.--oscop .cop_switch__radio .f-label {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  background: #fff;
  color: #161515;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

#COP.cop.--oscop .cop_switch__radio .f-label:before,
#COP.cop.--oscop .cop_switch__radio .f-label:after,
#COP.cop.--oscop .cop_payments__label.f-label:before,
#COP.cop.--oscop .cop_payments__label.f-label:after,
#COP.cop.--oscop .cop_payments__option_select:before,
#COP.cop.--oscop .cop_payments__option_select:after,
#COP.cop.--oscop .cop_delivery__label:before,
#COP.cop.--oscop .cop_delivery__label:after {
  display: none !important;
  content: none !important;
}

#COP.cop.--oscop .cop_switch__radio .f-control:checked + .f-label {
  border-color: #252474;
  background: #f7f7fb;
  color: #252474;
  font-weight: 600;
}

#COP.cop.--oscop .cop_address__item.--address-switch,
#COP.cop.--oscop .cop_address__item.--invoice-switch {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

/* Checkboxy */
#COP.cop.--oscop .f-group.--checkbox .f-label a {
  color: #f65d2d;
  text-decoration: none;
  font-weight: 500;
}

#COP.cop.--oscop .f-group.--checkbox .f-label a:hover {
  color: #252474;
  text-decoration: underline;
}

/* Dokumenty */
#COP.cop.--oscop .cop_documents__select .f-dropdown-toggle,
#COP.cop.--oscop .cop_documents__block .f-dropdown-toggle {
  width: 100%;
  max-width: 420px;
}

#COP.cop.--oscop .cop_documents__description {
  margin-top: 10px;
  color: #767676;
  font-size: 13px;
  line-height: 18px;
}

/* Płatności */
#COP.cop.--oscop .cop_payments__wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#COP.cop.--oscop .cop_payments__item[aria-hidden="true"],
#COP.cop.--oscop .cop_payments__option[aria-hidden="true"] {
  display: none !important;
}

#COP.cop.--oscop .cop_payments__item {
  position: relative;
  margin: 0;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#COP.cop.--oscop .cop_payments__item.--checked,
#COP.cop.--oscop .cop_payments.--selected .cop_payments__item:not([aria-hidden="true"]) {
  border-color: #252474;
  box-shadow: 0 0 0 1px #252474;
}

/* Hover na niezaznaczonej metodzie płatności: pomarańczowa ramka (zaznaczona zostaje granatowa) */
#COP.cop.--oscop .cop_payments:not(.--selected) .cop_payments__item:not(.--checked):hover {
  border-color: #f65d2d;
}

#COP.cop.--oscop .cop_payments__label.f-label {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 64px;
  margin: 0;
  padding: 12px 16px;
  cursor: pointer;
}

#COP.cop.--oscop .cop_payments__icons {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 36px;
}

#COP.cop.--oscop .cop_payments__icon {
  max-width: 56px;
  max-height: 32px;
  object-fit: contain;
}

#COP.cop.--oscop .cop_payments__names {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

#COP.cop.--oscop .cop_payments__name {
  color: #161515;
  font-size: 15px;
  font-weight: 600;
}

#COP.cop.--oscop .cop_payments__description {
  color: #767676;
  font-size: 13px;
}

#COP.cop.--oscop .cop_payments__change {
  margin-top: 12px;
}

#COP.cop.--oscop .cop_payments__change_link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #252474;
  border-radius: 6px;
  color: #252474;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

#COP.cop.--oscop .cop_payments__change_link:hover {
  background: #252474;
  color: #fff;
}

#COP.cop.--oscop .cop_payments__details {
  padding: 0 16px 16px;
  border-top: 1px solid #f0f0f0;
}

#COP.cop.--oscop .cop_payments__popular {
  display: block;
  margin: 12px 0 8px;
  color: #767676;
  font-size: 12px;
  font-weight: 500;
}

#COP.cop.--oscop .cop_payments__options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}

#COP.cop.--oscop .cop_payments__option_select {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-height: 72px;
  padding: 10px 8px;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  background: #fafafa;
  cursor: pointer;
  text-align: center;
}

#COP.cop.--oscop .cop_payments__option_select:hover {
  border-color: #f65d2d;
  background: #fff7f4;
}

#COP.cop.--oscop .cop_payments__option_name {
  color: #333;
  font-size: 12px;
  line-height: 16px;
}

#COP.cop.--oscop .cop_payments__show_all {
  display: inline-block;
  margin-top: 10px;
  color: #252474;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Dostawy */
#COP.cop.--oscop .cop_deliveries__section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#COP.cop.--oscop .cop_delivery[aria-hidden="true"] {
  display: none !important;
}

#COP.cop.--oscop .cop_delivery {
  position: relative;
  margin: 0;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#COP.cop.--oscop .cop_delivery.--checked {
  border-color: #252474;
  box-shadow: 0 0 0 1px #252474;
}

/* Hover na niezaznaczonym sposobie dostawy: pomarańczowa ramka (zaznaczony zostaje granatowy) */
#COP.cop.--oscop .cop_delivery:not(.--checked):hover {
  border-color: #f65d2d;
}

/* [KO-12] pkt 108: kalendarz „Inny dzień” był ucięty przez overflow: hidden ramki dostawy. Zaznaczona dostawa bez ucinania
   i nad sekcjami poniżej (z-index). Od 768 px kalendarz przy prawej krawędzi rzędu dni (wcześniej wychodził w prawo
   na kolumnę podsumowania). Na telefonie zostaje wyśrodkowanie z Pulse (translateX(-50%) względem rzędu dni). */
#COP.cop.--oscop .cop_delivery.--checked {
  overflow: visible;
  z-index: 2;
}

@media (min-width: 768px) {
  #COP.cop.--oscop .cop_delivery.--checked .cop_delivery__date.--other {
    position: static;
  }

  #COP.cop.--oscop .cop_delivery.--checked .cop_delivery__date.--other .cop_delivery__datepicker {
    left: auto;
    right: 0;
  }
}

#COP.cop.--oscop .cop_delivery__label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  cursor: pointer;
}

#COP.cop.--oscop .cop_delivery__icons {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  min-height: 36px;
}

#COP.cop.--oscop .cop_delivery__icon {
  max-width: 56px;
  max-height: 36px;
  object-fit: contain;
}

#COP.cop.--oscop .cop_delivery__names {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
}

#COP.cop.--oscop .cop_delivery__name {
  color: #161515;
  font-size: 15px;
  font-weight: 600;
}

#COP.cop.--oscop .cop_delivery__time {
  color: #767676;
  font-size: 13px;
}

#COP.cop.--oscop .cop_delivery__time_value {
  color: #161515;
  font-weight: 600;
}

#COP.cop.--oscop .cop_delivery__comment {
  color: #888;
  font-size: 12px;
  line-height: 16px;
}

#COP.cop.--oscop .cop_delivery__cost_wrapper {
  flex: 0 0 auto;
  margin-left: auto;
  text-align: right;
}

#COP.cop.--oscop .cop_delivery__cost {
  color: #161515;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

#COP.cop.--oscop .cop_delivery__cost:not(.--plus) {
  color: #2e7d32;
}

#COP.cop.--oscop .cop_delivery__pickup_find.btn,
#COP.cop.--oscop .cop_delivery__pickup_other.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-top: 8px;
  padding: 0 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

#COP.cop.--oscop .cop_delivery__pickup_find.btn.--solid {
  background: #f65d2d;
  border: 1px solid #f65d2d;
  color: #161515;
}

#COP.cop.--oscop .cop_delivery__pickup_find.btn.--solid:hover {
  background: #252474;
  border-color: #252474;
  color: #fff;
}

#COP.cop.--oscop .cop_delivery__pickup_other.btn.--outline {
  border: 1px solid #252474;
  color: #252474;
  background: #fff;
}

#COP.cop.--oscop .cop_delivery__pickup_other.btn.--outline:hover {
  background: #252474;
  color: #fff;
}

#COP.cop.--oscop .cop_deliveries__change {
  margin-top: 12px;
}

#COP.cop.--oscop .cop_deliveries__change_link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #252474;
  border-radius: 6px;
  color: #252474;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

#COP.cop.--oscop .cop_deliveries__change_link:hover {
  background: #252474;
  color: #fff;
}

#COP.cop.--oscop .cop_delivery__calendar {
  padding: 0 16px 16px;
  border-top: 1px solid #f0f0f0;
}

#COP.cop.--oscop .cop_delivery__calendar_label {
  display: block;
  margin: 12px 0 8px;
  color: #555;
  font-size: 13px;
  font-weight: 500;
}

#COP.cop.--oscop .cop_delivery__dates {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#COP.cop.--oscop .cop_delivery__date {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  background: #fff;
  color: #161515;
  text-decoration: none;
  font-size: 13px;
}

#COP.cop.--oscop .cop_delivery__date.--active,
#COP.cop.--oscop .cop_delivery__date:hover {
  border-color: #f65d2d;
  background: #fff7f4;
  color: #f65d2d;
}

#COP.cop.--oscop .cop_delivery__other_link {
  color: #252474;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Uwagi */
#COP.cop.--oscop .cop_remarks__block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#COP.cop.--oscop .cop_remarks__item.--active {
  padding-bottom: 4px;
}

#COP.cop.--oscop .cop_remarks__item {
	border: 0;
}

#COP.cop.--oscop .cop_remarks__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  background: #fff;
  color: #161515;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.15s ease, background 0.15s ease;
}

#COP.cop.--oscop .cop_remarks__label:hover {
  border-color: #252474;
  background: #f7f7fb;
}

#COP.cop.--oscop .cop_remarks__textarea_wrapper,
#COP.cop.--oscop .cop_remarks__message_wrapper {
  overflow: hidden;
  max-height: 280px;
  opacity: 1;
  transform: translateY(0);
  transition:
    max-height 0.28s ease,
    opacity 0.22s ease,
    margin 0.22s ease,
    padding 0.22s ease,
    transform 0.22s ease;
}

#COP.cop.--oscop .cop_remarks__textarea_wrapper[aria-hidden="true"],
#COP.cop.--oscop .cop_remarks__message_wrapper[aria-hidden="true"] {
  max-height: 0 !important;
  opacity: 0;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  transform: translateY(-4px);
  pointer-events: none;
  visibility: hidden;
}

#COP.cop.--oscop .cop_remarks__textarea_wrapper {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-top: 12px;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-sizing: border-box;
  visibility: visible;
}

#COP.cop.--oscop .cop_remarks__textarea.f-control {
  min-height: 96px;
  width: 100%;
  resize: vertical;
  padding: 12px 14px;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  background: #fff;
  box-sizing: border-box;
}

#COP.cop.--oscop .cop_remarks__save.btn {
  align-self: flex-start;
  margin-top: 0;
  min-height: 36px !important;
  height: auto !important;
  padding: 8px 14px !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  border-radius: 6px !important;
  border: 1px solid #252474 !important;
  color: #252474 !important;
  background: #fff !important;
  font-weight: 600;
  text-transform: none;
}

#COP.cop.--oscop .cop_remarks__save.btn:hover {
  background: #252474 !important;
  color: #fff !important;
}

#COP.cop.--oscop .cop_remarks__message_wrapper {
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: transparent;
}

#COP.cop.--oscop .cop_remarks__link {
  color: #252474;
  font-size: 13px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#COP.cop.--oscop .cop_remarks__link.--remove {
  color: #888;
}

#COP.cop.--oscop .cop_remarks__link.--remove:hover {
  color: #c23b3b;
}

/* Smile / PIN — ikona jak w koszyku / rejestracji (fallback gdy gfx nie ładuje się) */
#COP.cop.--oscop .smile_web_authn__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #161515;
  text-decoration: none;
  font-size: 14px;
}

#COP.cop.--oscop .smile_web_authn__link img {
  display: none;
}

#COP.cop.--oscop .smile_web_authn__link::before {
  content: "";
  width: 28px;
  height: 28px;
  flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='14' fill='%23f65d2d'/%3E%3Ccircle cx='10' cy='12' r='1.6' fill='%23161515'/%3E%3Ccircle cx='18' cy='12' r='1.6' fill='%23161515'/%3E%3Cpath d='M9 16.5c1.4 2 2.8 3 5 3s3.6-1 5-3' fill='none' stroke='%23161515' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

#COP.cop.--oscop .smile_web_authn__link strong {
  color: #f65d2d;
  font-weight: 600;
}

#COP.cop.--oscop .smile_web_authn__generate_pin.btn {
  background: #f65d2d !important;
  border-color: #f65d2d !important;
  color: #161515 !important;
  border-radius: 6px !important;
  font-weight: 600;
}

/* Summary w COP — jak koszyk */
#COP.cop.--oscop .cop_summary__block.--content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 !important;
}

#COP.cop.--oscop .cop_rebate_code {
  padding: 0 0 12px;
  border-bottom: 1px solid #f0f0f0;
}

#COP.cop.--oscop .cop_rebate_code__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

#COP.cop.--oscop .cop_rebate_code__label_text {
  color: #161515;
  font-size: 14px;
  font-weight: 600;
}

#COP.cop.--oscop .cop_rebate_code__add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #252474;
  border-radius: 6px;
  background: #fff;
  color: #252474 !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

#COP.cop.--oscop .cop_rebate_code__add:hover {
  background: #252474;
  border-color: #252474;
  color: #fff !important;
}

#COP.cop.--oscop .cop_rebate_code.--active .cop_rebate_code__add {
  display: none;
}

#COP.cop.--oscop .cop_rebate_code__field {
  display: flex !important;
  align-items: stretch;
  gap: 8px;
  margin-top: 10px;
}

#COP.cop.--oscop .cop_rebate_code__field[aria-hidden="true"] {
  display: none !important;
}

#COP.cop.--oscop .cop_rebate_code__input_wrapper {
  flex: 1 1 auto;
  min-width: 0;
}

#COP.cop.--oscop .cop_rebate_code__input.f-control {
  width: 100%;
  height: 44px;
  min-height: 44px;
  border: 1px solid #767676;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 14px;
  box-shadow: none;
}

#COP.cop.--oscop .cop_rebate_code__input.f-control:focus {
  border-color: #f65d2d;
  box-shadow: 0 0 0 3px rgba(246, 93, 45, 0.12);
  outline: none;
}

#COP.cop.--oscop .cop_rebate_code__save {
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  top: unset;
  right: unset;
  border: 1px solid #f65d2d !important;
  border-radius: 6px !important;
  background: #f65d2d !important;
  background-image: none !important;
  color: #161515 !important;
  font-size: 0;
  line-height: 0;
  text-indent: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

#COP.cop.--oscop .cop_rebate_code__save::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 14px;
  margin-top: -2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translate(-50%, -55%) rotate(45deg);
}

#COP.cop.--oscop .cop_rebate_code__save:hover:not(:disabled) {
  background: #252474 !important;
  border-color: #252474 !important;
  color: #fff !important;
}

#COP.cop.--oscop .cop_rebate_code__save:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

#COP.cop.--oscop .cop_rebate_code__message[aria-hidden="true"] {
  display: none !important;
}

#COP.cop.--oscop .cop_rebate_code__message {
  margin-top: 10px;
}

#COP.cop.--oscop .cop_rebate_code__links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

#COP.cop.--oscop .cop_rebate_code__link {
  color: #f65d2d;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

#COP.cop.--oscop .cop_rebate_code__link:hover {
  color: #252474;
}

#COP.cop.--oscop .cop_time__item.--active {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#COP.cop.--oscop .cop_time__item.--later:not(.--active),
#COP.cop.--oscop .cop_time__item.--later:has(.cop_time__value:empty) {
  display: none;
}

#COP.cop.--oscop .cop_time__label {
  color: #767676;
  font-size: 13px;
}

#COP.cop.--oscop .cop_time__value {
  color: #161515;
  font-size: 15px;
  font-weight: 700;
}

#COP.cop.--oscop .cop_costs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#COP.cop.--oscop .cop_costs__item {
  display: none;
  justify-content: space-between;
  gap: 12px;
  color: #555;
  font-size: 14px;
}

#COP.cop.--oscop .cop_costs__item.--active {
  display: flex;
}

#COP.cop.--oscop .cop_costs__value {
  color: #161515;
  font-weight: 600;
  white-space: nowrap;
}

#COP.cop.--oscop .cop_total {
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}

#COP.cop.--oscop .cop_total__item.--value {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

#COP.cop.--oscop .cop_total__label {
  color: #161515;
  font-size: 15px;
  font-weight: 600;
}

#COP.cop.--oscop .cop_total__value {
  color: #161515;
  font-size: 22px;
  font-weight: 700;
}

#COP.cop.--oscop .cop_terms {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#COP.cop.--oscop .cop_buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

#COP.cop.--oscop .cop_buttons__verify {
  color: #767676;
  font-size: 12px;
  line-height: 16px;
  text-align: center;
}

#COP.cop.--oscop .cop_buttons__button.btn.--solid,
#COP.cop.--oscop .cop_buttons__button.btn.--buy,
#COP.cop.--oscop .cop_buttons__button.btn.--next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 6px !important;
  background: #f65d2d !important;
  border: 1px solid #f65d2d !important;
  color: #161515 !important;
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
}

#COP.cop.--oscop .cop_buttons__button.btn.--solid:hover,
#COP.cop.--oscop .cop_buttons__button.btn.--buy:hover,
#COP.cop.--oscop .cop_buttons__button.btn.--next:hover {
  background: #252474 !important;
  border-color: #252474 !important;
  color: #fff !important;
}

/* Blok „SuperBezpieczne zakupy” pod podsumowaniem: 26 px nad kreską (było 16, uwaga z naszej strony 30.11.2026)
   i 16 px pod nią. padding-top z !important, bo bloki podsumowania mają padding: 0 !important (wyżej w pliku). */
#COP.cop.--oscop .cop_summary__block.--safe,
#COP.cop.--oscop .cop_safe {
  margin-top: 26px;
  padding-top: 16px !important;
  border-top: 1px solid #f0f0f0;
}

#COP.cop.--oscop .cop_safe__title {
  color: #161515;
  font-size: 14px;
}

#COP.cop.--oscop .cop_safe__text {
  margin-top: 8px;
  color: #767676;
  font-size: 12px;
  line-height: 18px;
}

/* [KO-11] pkt 107: po zmianie metody płatności („Zmień”) pod zaznaczoną metodą bez podopcji (BLIK, Apple Pay…) był pusty prostokąt.
   Pulse dokłada tam znak strzałki FontAwesome (kod f106), ale font FontAwesome ustawia tylko metodom z podopcjami (.--options),
   więc znak rysował się w Montserrat jako kwadracik. Metody bez podopcji nie mają czego rozwijać: bez strzałki. */
.cop_payments .cop_payments__item:not(.--options) input[type="radio"]:checked + label .cop_payments__names::after {
  display: none;
}

/* [KO-23] 30.11.2026 (Niegotowe: okno „Mamy już zarejestrowane konto”): okno jak „Zaloguj się” (KO-13) i „Usuń z koszyka” (KO-07).
   Zaokrąglone okno z cieniem, przycisk w kolorze akcji z granatowym hoverem (Pulse dawał biały), e-mail ciemny w kroju strony
   (także gdy przeglądarka sama zrobi z niego link, np. Safari na iOS), link „Pamiętam swój login…” ciemny z pomarańczowym hoverem. */
#modal.--client-exists .modal__wrapper {
  width: 480px;
  max-width: calc(100vw - 32px);
  padding: 32px 28px 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(22, 21, 21, 0.18);
  box-sizing: border-box;
}

#modal.--client-exists .modal__close {
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: #f5f5f5;
  color: #555;
  transition: background-color 0.15s ease, color 0.15s ease;
}

#modal.--client-exists .modal__close:hover {
  background: #252474;
  color: #fff;
}

#modal.--client-exists .cop_client_exists__item.--info {
  padding: 0 36px; /* miejsce na krzyżyk */
}

@media (max-width: 480px) {
  #modal.--client-exists .cop_client_exists__item.--info {
    padding: 0 28px;
  }
}

#modal.--client-exists .cop_client_exists__info_text {
  display: block;
  color: #555;
  font-size: 14px;
  line-height: 22px;
}

#modal.--client-exists .cop_client_exists__email,
#modal.--client-exists .cop_client_exists__email a,
#modal.--client-exists .cop_client_exists a[href^="mailto:"],
#modal.--client-exists .cop_client_exists a[x-apple-data-detectors] {
  color: #161515 !important;
  font-family: inherit;
  text-decoration: none !important;
}

#modal.--client-exists .cop_client_exists__email {
  margin-top: 4px;
  font-size: 18px;
  line-height: 26px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

#modal.--client-exists .cop_client_exists__item.--desc {
  color: #555;
  font-size: 14px;
  line-height: 22px;
}

#modal.--client-exists .cop_client_exists__item.--actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

#modal.--client-exists .cop_client_exists__action.--recover.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: 6px !important;
  background: #f65d2d !important;
  border-color: #f65d2d !important;
  color: #161515 !important;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  text-align: center;
  box-shadow: none !important;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

#modal.--client-exists .cop_client_exists__action.--recover.btn:hover,
#modal.--client-exists .cop_client_exists__action.--recover.btn:focus-visible {
  background: #252474 !important;
  border-color: #252474 !important;
  color: #fff !important;
}

#modal.--client-exists .cop_client_exists__action.--signin {
  color: #161515;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

#modal.--client-exists .cop_client_exists__action.--signin:hover,
#modal.--client-exists .cop_client_exists__action.--signin:focus-visible {
  color: #f65d2d;
}

/* [KO-13] pkt 109: okno „Zaloguj się” na stronie zamówienia (Dane kontaktowe, gość) i „Nie pamiętasz loginu lub hasła?” (#modal.--recovery, pkt 110 / KO-14).
   Szersze okno (340 → 440 px), więc etykieta „Login / Nr karty stałego klienta / E-mail” nie jest ucinana.
   Pola i przycisk jak w formularzu zamówienia (#COP: ramka #cfcfcf, zaokrąglenie 6 px, pomarańczowy focus, etykieta 13 px #767676).
   Okno leży poza #COP (w #modal), dlatego osobne reguły. Kolory walidacji (zielony / czerwony) jak w zamówieniu: blok [KO-15] niżej. */
#modal:is(.--signin, .--recovery) .modal__wrapper {
  width: 440px;
  max-width: calc(100vw - 32px);
  padding: 32px 28px 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(22, 21, 21, 0.18);
  box-sizing: border-box;
}

#modal:is(.--signin, .--recovery) .modal__close {
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: #f5f5f5;
  color: #555;
  transition: background-color 0.15s ease, color 0.15s ease;
}

#modal:is(.--signin, .--recovery) .modal__close:hover {
  background: #252474;
  color: #fff;
}

#modal:is(.--signin, .--recovery) .cop__title {
  margin: 0 0 20px;
  padding-right: 44px;
  color: #161515;
  font-size: 20px;
  line-height: 28px;
}

#modal:is(.--signin, .--recovery) .f-control:not([type="checkbox"]):not([type="radio"]) {
  min-height: 48px;
  border-width: 1px;
  border-style: solid;
  border-radius: 6px;
  background: #fff;
  color: #161515;
  font-size: 14px;
  box-shadow: none;
}

#modal:is(.--signin, .--recovery) .f-feedback:not(.--success):not(.--error) > .f-control:not([type="checkbox"]):not([type="radio"]) {
  border-color: #cfcfcf;
}

#modal:is(.--signin, .--recovery) .f-control:not([type="checkbox"]):not([type="radio"]):focus,
#modal:is(.--signin, .--recovery) .f-feedback:not(.--success):not(.--error) > .f-control:not([type="checkbox"]):not([type="radio"]):focus {
  border-color: #f65d2d;
  outline: none;
  box-shadow: 0 0 0 3px rgba(246, 93, 45, 0.12);
}

#modal:is(.--signin, .--recovery) .f-feedback > .f-label {
  padding: 0 6px;
  background: #fff;
  font-size: 13px;
}

#modal:is(.--signin, .--recovery) .f-feedback:not(.--success):not(.--error) > .f-label {
  color: #767676;
}

#modal:is(.--signin, .--recovery) .btn.--solid:not(.--outline) {
  min-height: 48px;
  padding-top: 0;
  padding-bottom: 0;
  border-radius: 6px !important;
  background: #f65d2d !important;
  border-color: #f65d2d !important;
  color: #161515 !important;
  font-weight: 600;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

#modal:is(.--signin, .--recovery) .btn.--solid:not(.--outline):hover,
#modal:is(.--signin, .--recovery) .btn.--solid:not(.--outline):focus-visible {
  background: #252474 !important;
  border-color: #252474 !important;
  color: #fff !important;
}

#modal:is(.--signin, .--recovery) .modal__content a:not(.btn) {
  color: #161515;
  transition: color 0.15s ease;
}

#modal:is(.--signin, .--recovery) .modal__content a:not(.btn):hover {
  color: #f65d2d;
}

/* [KO-15] pkt 111: kolory walidacji jak w formularzu zamówienia (RE-02) także w oknach logowania i przypominania hasła */
#modal:is(.--signin, .--recovery) .f-feedback.--success .f-control.f-control:not([type="checkbox"]):not([type="radio"]) {
  border-color: #1f9d55;
}

#modal:is(.--signin, .--recovery) .f-feedback.--error .f-control.f-control:not([type="checkbox"]):not([type="radio"]) {
  border-color: #e35c5c;
}

#modal:is(.--signin, .--recovery) .f-feedback.--success > .f-label.f-label {
  color: #1f9d55;
}

#modal:is(.--signin, .--recovery) .f-feedback.--error > .f-label.f-label {
  color: #e35c5c;
}

/* [KO-18] pkt 114: strona po złożeniu zamówienia (szczegóły zamówienia, #container.prepaid_page, orderdetails.html).
   Sekcje w białych boksach jak w kroku 2 (#COP: tło #fff, zaokrąglenie 8 px, padding 28/32 px), nagłówki bez białego tła
   i bez przerywanej nimi linii, krojem jak tytuły kroku 2. */
.prepaid_page .orderdetails_summary,
.prepaid_page #prepaid_order_products,
.prepaid_page #prepaid_delivery_list,
.prepaid_page #prepaid_address,
.prepaid_page #prepaid_documents,
.prepaid_page #prepaid_buttons {
  margin: 0 0 16px;
  padding: 28px 32px;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
}

.prepaid_page .orderdetails_summary > .row {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.prepaid_page #prepaid_delivery_list > div:last-child,
.prepaid_page #prepaid_address > div:last-child {
  margin-bottom: 0 !important;
}

.prepaid_page .orderdetails_label::after {
  display: none !important;
}

.prepaid_page .orderdetails_label > span {
  padding: 0 !important;
  background: transparent !important;
}

.prepaid_page h2.orderdetails_label,
.prepaid_page div.orderdetails_label {
  margin-bottom: 20px;
  color: #161515;
  font-size: 22px;
  line-height: 30px;
  font-weight: 700;
}

.prepaid_page h3.orderdetails_label {
  margin-bottom: 12px;
  color: #161515;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
}

.prepaid_page #prepaid_address h3.orderdetails_label:not(:first-child) {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}

/* ikona „?” przy nagłówku (np. „Forma płatności”) po powiększeniu nagłówka wypadała z ramki (dziedziczyła line-height 30 px) */
.prepaid_page .orderdetails_label .moreInfo {
  margin-left: 8px;
  line-height: 1;
}

.prepaid_page .orderdetails_label .moreInfo__show {
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  line-height: 1;
}

.prepaid_page .orderdetails_label .moreInfo__show i {
  line-height: 1;
}

/* na telefonie zamiast ikony „?” Pulse pokazuje link „Więcej” obok nagłówka: odstęp i wyrównanie do środka */
.prepaid_page .orderdetails_label > .moreInfo__show {
  align-self: center;
  margin-left: 8px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
}

/* [KO-17] pkt 113: przyciski na stronie zamówienia w kolorach szablonu. „Zapłać …” (ponowna płatność online,
   .orderdetails_retry__button, w Pulse niebieski .btn.--secondary) jako przycisk akcji. „Zmień zamówienie” z granatowym
   obrysem, „Anuluj zamówienie” szary obrys z czerwonym hoverem (jak „Opróżnij koszyk”). Wszystkie zaokrąglone 6 px. */
.prepaid_page .btn {
  border-radius: 6px !important;
}

.prepaid_page .orderdetails_retry__button.btn:not(.--new),
.prepaid_page .orderdetails_summary .btn.--secondary:not(.--outline),
.prepaid_page .orderdetails_summary .btn.--solid:not(.--outline) {
  background: #f65d2d !important;
  border-color: #f65d2d !important;
  color: #161515 !important;
  font-weight: 600;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.prepaid_page .orderdetails_retry__button.btn:not(.--new):hover,
.prepaid_page .orderdetails_summary .btn.--secondary:not(.--outline):hover,
.prepaid_page .orderdetails_summary .btn.--solid:not(.--outline):hover {
  background: #252474 !important;
  border-color: #252474 !important;
  color: #fff !important;
}

/* „Wybierz inną formę płatności”: Pulse daje mu wygląd zwykłego tekstu, robimy z niego czytelny link */
.prepaid_page .orderdetails_retry__button.--new.btn {
  min-height: 0;
  padding: 8px 12px;
  border: 0 !important;
  background: transparent !important;
  color: #252474 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prepaid_page .orderdetails_retry__button.--new.btn:hover {
  color: #f65d2d !important;
}

.prepaid_page .prepaid_buttons__button.btn {
  min-height: 44px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.prepaid_page .prepaid_buttons__button.--edit.btn {
  background: #fff !important;
  border-color: #252474 !important;
  color: #252474 !important;
}

.prepaid_page .prepaid_buttons__button.--edit.btn:hover {
  background: #252474 !important;
  color: #fff !important;
}

.prepaid_page .prepaid_buttons__button.--cancel.btn {
  background: #fff !important;
  border-color: #e6e6e6 !important;
  color: #555 !important;
}

.prepaid_page .prepaid_buttons__button.--cancel.btn:hover {
  background: #fff5f5 !important;
  border-color: #c23b3b !important;
  color: #c23b3b !important;
}

@media (max-width: 991px) {
  .prepaid_page .orderdetails_summary,
  .prepaid_page #prepaid_order_products,
  .prepaid_page #prepaid_delivery_list,
  .prepaid_page #prepaid_address,
  .prepaid_page #prepaid_documents,
  .prepaid_page #prepaid_buttons {
    padding: 20px 16px;
  }

  .prepaid_page h2.orderdetails_label,
  .prepaid_page div.orderdetails_label {
    font-size: 18px;
    line-height: 26px;
  }
}

/* Modal ostrzeżenia COP — wyjście z procesu zamówienia */
.modal__wrapper:has(#cop_menu_notice),
.modal__wrapper:has(.menu_notice) {
  max-width: 480px;
  width: calc(100% - 32px);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(22, 21, 21, 0.18);
  overflow: hidden;
}

.modal__wrapper:has(#cop_menu_notice) .modal__content,
.modal__wrapper:has(.menu_notice) .modal__content {
  padding: 0;
}

.modal__wrapper:has(#cop_menu_notice) .modal__close,
.modal__wrapper:has(.menu_notice) .modal__close {
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: #f5f5f5;
  color: #555;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.modal__wrapper:has(#cop_menu_notice) .modal__close:hover,
.modal__wrapper:has(.menu_notice) .modal__close:hover {
  background: #252474;
  color: #fff;
}

#cop_menu_notice.menu_notice,
#COP.cop.--oscop .menu_notice {
  background: #fff;
  border-radius: 0;
  padding: 32px 28px 28px;
  box-sizing: border-box;
}

#cop_menu_notice.menu_notice h2,
#COP.cop.--oscop .menu_notice h2 {
  margin: 0 0 12px;
  padding: 0;
  color: #161515;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  text-transform: none;
}

#cop_menu_notice.menu_notice p,
#COP.cop.--oscop .menu_notice p {
  margin: 0 0 24px;
  color: #555;
  font-size: 14px;
  line-height: 22px;
}

#cop_menu_notice .menu_notice__buttons,
#COP.cop.--oscop .menu_notice__buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#cop_menu_notice .menu_notice__button,
#COP.cop.--oscop .menu_notice__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 6px !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  box-sizing: border-box;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

#cop_menu_notice .menu_notice__button.--continue.btn.--solid,
#COP.cop.--oscop .menu_notice__button.--continue.btn.--solid {
  background: #f65d2d !important;
  border: 1px solid #f65d2d !important;
  color: #161515 !important;
}

#cop_menu_notice .menu_notice__button.--continue.btn.--solid:hover,
#COP.cop.--oscop .menu_notice__button.--continue.btn.--solid:hover {
  background: #252474 !important;
  border-color: #252474 !important;
  color: #fff !important;
}

#cop_menu_notice .menu_notice__button.--stop.btn,
#COP.cop.--oscop .menu_notice__button.--stop.btn {
  background: #fff !important;
  border: 1px solid #252474 !important;
  color: #252474 !important;
}

#cop_menu_notice .menu_notice__button.--stop.btn:hover,
#COP.cop.--oscop .menu_notice__button.--stop.btn:hover {
  background: #252474 !important;
  border-color: #252474 !important;
  color: #fff !important;
}

@media (max-width: 575px) {
  #cop_menu_notice.menu_notice,
  #COP.cop.--oscop .menu_notice {
    padding: 28px 20px 20px;
  }

  #cop_menu_notice.menu_notice h2,
  #COP.cop.--oscop .menu_notice h2 {
    font-size: 18px;
    line-height: 26px;
  }
}

@media (max-width: 991px) {
  #COP.cop.--oscop {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  #COP.cop.--oscop > .cop_summary {
    grid-column: 1;
    max-width: none;
    position: static;
    order: 2;
  }

  #COP.cop.--oscop > .cop__content {
    order: 1;
  }

  #COP.cop.--oscop .cop_contact,
  #COP.cop.--oscop .cop_address,
  #COP.cop.--oscop .cop_documents,
  #COP.cop.--oscop .cop_payments,
  #COP.cop.--oscop .cop_deliveries,
  #COP.cop.--oscop .cop_remarks,
  #COP.cop.--oscop .cop_products {
    padding: 20px 16px;
  }

  #COP.cop.--oscop .cop_registration {
    padding: 12px 0 0;
    margin-top: 12px;
  }

  #COP.cop.--oscop .cop__title {
    font-size: 18px;
    line-height: 26px;
  }

  #COP.cop.--oscop .cop_contact__wrapper,
  #COP.cop.--oscop .cop_client_data,
  #COP.cop.--oscop .cop_address_data,
  #COP.cop.--oscop .cop_invoice_data,
  #COP.cop.--oscop .cop_register {
    grid-template-columns: 1fr;
  }

  #COP.cop.--oscop .cop_client_data__item.--firstname,
  #COP.cop.--oscop .cop_client_data__item.--lastname,
  #COP.cop.--oscop .cop_client_data__item.--street,
  #COP.cop.--oscop .cop_client_data__item.--street-number,
  #COP.cop.--oscop .cop_client_data__item.--zipcode,
  #COP.cop.--oscop .cop_client_data__item.--city,
  #COP.cop.--oscop .cop_address_data__item.--firstname,
  #COP.cop.--oscop .cop_address_data__item.--lastname,
  #COP.cop.--oscop .cop_address_data__item.--street,
  #COP.cop.--oscop .cop_address_data__item.--street-number,
  #COP.cop.--oscop .cop_address_data__item.--zipcode,
  #COP.cop.--oscop .cop_address_data__item.--city,
  #COP.cop.--oscop .cop_invoice_data__item.--firstname,
  #COP.cop.--oscop .cop_invoice_data__item.--lastname,
  #COP.cop.--oscop .cop_invoice_data__item.--street,
  #COP.cop.--oscop .cop_invoice_data__item.--street-number,
  #COP.cop.--oscop .cop_invoice_data__item.--zipcode,
  #COP.cop.--oscop .cop_invoice_data__item.--city {
    grid-column: 1 / -1;
  }

  #COP.cop.--oscop .cop_contact__item.--phone,
  #COP.cop.--oscop .cop_address_data__item.--phone {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  #COP.cop.--oscop .cop_contact__item.--phone > .f-label,
  #COP.cop.--oscop .cop_address_data__item.--phone > .f-label {
    left: calc(96px + 12px + 14px) !important;
    max-width: calc(100% - 96px - 12px - 28px);
  }

  #COP.cop.--oscop .cop_delivery__label {
    flex-wrap: wrap;
  }

  #COP.cop.--oscop .cop_delivery__cost_wrapper {
    width: 100%;
    margin-left: 70px;
    text-align: left;
  }
}

/* [KO-24] pkt 151: zamówienie (place-order) na telefonie i tablecie, szersza treść i zwartsze kafelki.
   Do krawędzi treści było 62 px: padding body (15 px, Pulse w procesie zamówienia), #content (15 px),
   formularza (16 px) i karty (16 px). Teraz karty 8 px od krawędzi ekranu, treść 16 px w karcie. */
@media (max-width: 991px) {
  html.order_process body:has(#COP.cop.--oscop) {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body:has(#COP.cop.--oscop) #content.col-12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #COP.cop.--oscop {
    padding: 0 8px;
  }

  #COP.cop.--oscop .cop_contact,
  #COP.cop.--oscop .cop_address,
  #COP.cop.--oscop .cop_documents,
  #COP.cop.--oscop .cop_payments,
  #COP.cop.--oscop .cop_deliveries,
  #COP.cop.--oscop .cop_remarks,
  #COP.cop.--oscop .cop_products,
  #COP.cop.--oscop > .cop_summary {
    padding: 20px 16px;
  }

  /* Kafelki płatności i dostawy: bez paddingu Pulse (0 20px) na ramce i z mniejszym w środku, logo w węższym polu */
  #COP.cop.--oscop .cop_payments__item,
  #COP.cop.--oscop .cop_delivery {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #COP.cop.--oscop .cop_payments__label.f-label,
  #COP.cop.--oscop .cop_delivery__label {
    gap: 10px;
    min-height: 56px;
    padding: 10px 12px !important;
  }

  #COP.cop.--oscop .cop_delivery__label {
    flex-wrap: nowrap;
    align-items: center;
  }

  /* Pulse: width i min-width 56 px, margin 0 12px 0 2px, padding 3px */
  #COP.cop.--oscop .cop_payments__icons,
  #COP.cop.--oscop .cop_delivery__icons {
    width: 40px;
    min-width: 40px;
    height: 28px;
    min-height: 0;
    margin: 0;
    padding: 0;
  }

  #COP.cop.--oscop .cop_payments__icon,
  #COP.cop.--oscop .cop_delivery__icon {
    max-width: 40px;
    max-height: 28px;
  }

  #COP.cop.--oscop .cop_payments__names,
  #COP.cop.--oscop .cop_delivery__names {
    flex: 1 1 0;
    min-width: 0;
  }

  #COP.cop.--oscop .cop_payments__name,
  #COP.cop.--oscop .cop_delivery__name {
    font-size: 14px;
    line-height: 18px;
  }

  #COP.cop.--oscop .cop_payments__description,
  #COP.cop.--oscop .cop_delivery__time {
    font-size: 12px;
    line-height: 16px;
  }

  #COP.cop.--oscop .cop_delivery__cost_wrapper {
    width: auto;
    margin-left: auto;
    text-align: right;
  }

  /* Banki (Przelew online, Karta płatnicza): pełna lista, bez „Pokaż wszystkie”, po 2 w rzędzie.
     Pulse pokazuje 4 banki, resztę chowa do „Pokaż wszystkie” (aria-hidden + max-height: 0). */
  #COP.cop.--oscop .cop_payments__details {
    padding: 0 12px 12px;
  }

  #COP.cop.--oscop .cop_payments__popular,
  #COP.cop.--oscop .cop_payments__show_all {
    display: none !important;
  }

  /* Pulse: pusta klauzula z marginesem 30 px i lista z marginesem 10px -5px nad bankami */
  #COP.cop.--oscop .cop_payments__clause:empty {
    display: none;
  }

  #COP.cop.--oscop .cop_payments__options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 0;
    padding-top: 12px;
  }

  #COP.cop.--oscop .cop_payments__details .cop_payments__option,
  #COP.cop.--oscop .cop_payments__details .cop_payments__option[aria-hidden="true"] {
    display: block !important;
    max-height: none !important;
    opacity: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  #COP.cop.--oscop .cop_payments__option_select {
    justify-content: center;
    gap: 4px;
    min-height: 64px;
    height: 100%;
    padding: 8px 6px;
  }

  #COP.cop.--oscop .cop_payments__option_icon {
    max-width: 72px;
    max-height: 24px;
    object-fit: contain;
  }

  #COP.cop.--oscop .cop_payments__option_name {
    font-size: 11px;
    line-height: 14px;
  }
}

/* [KO-24] pkt 151: rozwinięta lista banków była ucinana: Pulse daje szczegółom płatności max-height 450 px
   (2000 px po „Pokaż wszystkie”) z overflow: hidden, więc dolnych banków nie dało się zobaczyć ani przewinąć. */
#COP.cop.--oscop .cop_payments input[type="radio"]:checked ~ .cop_payments__details {
  max-height: none;
}

/* ===== Koszyk (Pulse) ===== */
.basketedit_page,
body:has(#Basket.basket),
body:has(section#Basket) {
  background: #f5f5f5;
}

.basketedit_page #layout,
body:has(#Basket.basket) #layout {
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 48px;
}

/* Na koszyku schowek w aside jest zbędny — pełna szerokość na koszyk + summary */
.basketedit_page #layout > aside.col-3,
body:has(#Basket.basket) #layout > aside.col-3 {
  display: none !important;
}

.basketedit_page #content.col-12,
body:has(#Basket.basket) #content.col-12 {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* --- Progress: ikona nad tekstem, wycentrowane, linia między kółkami --- */
#Progress.progress {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 8px 0 20px;
  margin: 0 0 8px;
}

#Progress .progress__item {
  position: relative;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  min-width: 0;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #9a9a9a;
  opacity: 1;
}

#Progress .progress__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20px;
  left: calc(50% + 20px);
  right: calc(-50% + 20px);
  height: 1px;
  background: #e0e0e0;
  pointer-events: none;
  z-index: 0;
}

#Progress .progress__item.--active {
  color: #161515;
}

#Progress .progress__item.--active:not(:last-child)::after {
  background: #f65d2d;
}

#Progress .progress__icons {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

#Progress .progress__icon.--desktop {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border: 0 !important;
  border-radius: 50%;
  background: #ececec !important;
  color: #9a9a9a !important;
  align-items: center;
  justify-content: center;
  box-shadow: none !important;
  outline: none;
}

#Progress .progress__fontello,
#Progress .progress__fontello::before,
#Progress .progress__icon.--desktop i,
#Progress .progress__icon.--desktop [class^="icon-"],
#Progress .progress__icon.--desktop [class*=" icon-"] {
  color: #9a9a9a !important;
}

/* Pulse: --ok bywa zielone — wymuszamy szarość gdy nieaktywne */
#Progress .progress__item.--ok .progress__icon.--desktop,
#Progress .progress__item.--truck .progress__icon.--desktop,
#Progress .progress__item.--shopping-cart .progress__icon.--desktop,
#Progress .progress__item:not(.--active) .progress__icon.--desktop {
  background: #ececec !important;
  color: #9a9a9a !important;
}

#Progress .progress__item.--ok .progress__fontello,
#Progress .progress__item.--ok .progress__fontello::before,
#Progress .progress__item:not(.--active) .progress__fontello,
#Progress .progress__item:not(.--active) .progress__fontello::before {
  color: #9a9a9a !important;
  fill: #9a9a9a !important;
  background-color: transparent !important;
}

#Progress .progress__item.--ok:not(.--active) .progress__icon.--desktop,
#Progress .progress__item.--ok:not(.--active) .progress__fontello {
  filter: grayscale(1);
  opacity: 0.85;
}

#Progress .progress__item.--active .progress__icon.--desktop {
  background: #f65d2d !important;
  color: #161515 !important;
}

#Progress .progress__item.--active .progress__fontello,
#Progress .progress__item.--active .progress__fontello::before,
#Progress .progress__item.--active .progress__icon.--desktop i,
#Progress .progress__item.--active .progress__icon.--desktop [class^="icon-"] {
  color: #161515 !important;
}

#Progress .progress__icon.--mobile .progress__svg,
#Progress .progress__icon.--mobile .progress__circle,
#Progress .progress__icon.--mobile .progress__circle_back {
  stroke: #d0d0d0 !important;
  border: 0 !important;
}

#Progress .progress__item.--active .progress__icon.--mobile .progress__circle {
  stroke: #f65d2d !important;
}

#Progress .progress__item.--active .progress__icon.--mobile .progress__circle_back {
  stroke: #ffd4c4 !important;
}

#Progress .progress__item:not(.--active) .progress__step {
  color: #9a9a9a;
}

#Progress .progress__text {
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 100%;
  text-align: center;
}

#Progress .progress__name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: inherit;
  text-align: center;
}

#Progress .progress__description {
  display: block;
  font-size: 13px;
  line-height: 18px;
  color: #9a9a9a;
  font-weight: 500;
  text-align: center;
}

#Progress .progress__item.--active .progress__description {
  color: #f65d2d;
  font-weight: 600;
}

/* [pkt 137] mobile (< 768 px, kółka „1/3”): jeden wiersz jak w starym szablonie: bieżący krok, nazwa, linia do końca.
   Pozostałe kroki ukryte (było: trzy kroki schodkowo jeden pod drugim, kreski obok) */
@media (max-width: 767px) {
  #Progress.progress {
    padding: 4px 0 12px;
  }

  #Progress .progress__item:not(.--active) {
    display: none;
  }

  #Progress .progress__item.--active {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 0;
    text-align: left;
  }

  #Progress .progress__item.--active .progress__text,
  #Progress .progress__item.--active .progress__name,
  #Progress .progress__item.--active .progress__description {
    text-align: left;
  }

  #Progress .progress__item.--active::after,
  #Progress .progress__item.--active:not(:last-child)::after {
    content: "";
    position: static;
    flex: 1 1 auto;
    height: 1px;
    margin-left: 6px;
    background: #e0e0e0;
  }
}

/* --- Basket layout: TYLKO .basket_layout ma 2 kolumny (bez grida na #content) --- */
body:has(#Basket.basket) #content,
.basketedit_page #content,
#content:has(#Basket) {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}

.basket_layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  column-gap: 24px;
  align-items: start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.basket_layout > #Basket {
  min-width: 0;
  width: auto !important;
  max-width: 100% !important;
  grid-column: 1;
}

.basket_layout > .summary_wrapper {
  grid-column: 2;
  width: 100%;
  max-width: 360px;
  position: sticky;
  top: 16px;
  align-self: start;
  z-index: 2;
  box-sizing: border-box;
}

/* --- Basket products --- */
#Basket.basket,
.basket {
  background: transparent;
}

.basket .basket__form {
  outline: none;
}

.basket .basket__block.--labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 0;
  background: transparent;
  border: 0;
}

.basket .basket__label.headline,
.basket .basket__label .headline__name {
  margin: 0;
  padding: 0;
  color: #161515;
  font-size: 28px;
  line-height: 36px;
  font-weight: 700;
  text-transform: none;
}

.basket .addCodesToBasketLink {
  color: #f65d2d;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.basket .addCodesToBasketLink:hover {
  color: #252474;
  text-decoration: underline;
}

.basket .basket__productslist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: visible;
}

.basket .basket__block.--product {
  background: #fff;
  border: 0;
  border-radius: 6px;
  padding: 20px;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto auto;
  grid-template-areas:
    "photo name quantity sum"
    "photo name quantity sum"
    "comment comment comment comment";
  column-gap: 20px;
  row-gap: 12px;
  align-items: start;
  overflow: visible;
}

.basket .basket__item.--photo {
  grid-area: photo;
}

.basket .basket__item.--photo .photo__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  background: #fafafa;
  border-radius: 6px;
  overflow: hidden;
}

.basket .basket__item.--photo .photo__image {
  max-width: 100%;
  max-height: 96px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.basket .basket__item.--name {
  grid-area: name;
  min-width: 0;
}

.basket .basket__name h2 {
  margin: 0 0 8px;
  padding: 0;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
}

.basket .basket__name_link {
  color: #333333;
  text-decoration: none;
}

.basket .basket__name_link:hover {
  color: #f65d2d;
}

.basket .basket__params.--traits {
  margin-bottom: 8px;
}

.basket .basket__param {
  font-size: 13px;
  line-height: 20px;
  color: #767676;
}

.basket .basket__param.--info {
	display: inline-block;
	padding: 5px 8px;
	border: 1px solid #f65d2d;
	color: #f65d2d;
}

.basket .basket__param .param__value {
  color: #333333;
  font-weight: 500;
}

.basket .basket__actions {
  gap: 12px;
}

.basket .basket__remove {
  color: #c23b3b;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.basket .basket__remove:hover {
  color: #a12f2f;
  text-decoration: underline;
}

.basket .basket__item.--quantity {
  grid-area: quantity;
  align-self: center;
  position: relative;
  z-index: 5;
  overflow: visible;
}

.basket .basket__block.--product:focus-within .basket__item.--quantity,
.basket .basket__item.--quantity:has(.f-dropdown.--open),
.basket .basket__item.--quantity:has([aria-expanded="true"]) {
  z-index: 30;
}

.basket .basket__quantity_select,
.basket .buy.basket__quantity_select {
  position: relative;
  overflow: visible;
}

.basket .basket__quantity_select .f-dropdown.buy__number,
.basket .buy__number.f-dropdown {
  position: relative;
  min-width: 88px;
  height: 44px;
  border: 0 !important;
  border-radius: 6px !important;
  background: transparent !important;
  overflow: visible !important;
  box-sizing: border-box;
}

.basket .basket__quantity_select .f-dropdown-toggle,
.basket .buy__number .f-dropdown-toggle,
.basket .basket__quantity_select .f-control.f-dropdown-toggle,
.basket .buy__number .f-control.f-dropdown-toggle {
  width: 100% !important;
  min-width: 88px !important;
  height: 44px !important;
  min-height: 44px !important;
  border: 1px solid #e6e6e6 !important;
  border-radius: 6px !important;
  background: #fff !important;
  box-shadow: none !important;
  outline: none !important;
  color: #161515;
  font-weight: 600;
  padding: 0 28px 0 12px !important;
  box-sizing: border-box;
}

.basket .basket__quantity_select .f-dropdown-toggle:hover,
.basket .buy__number .f-dropdown-toggle:hover,
.basket .basket__quantity_select .f-dropdown.--open > .f-dropdown-toggle,
.basket .buy__number.f-dropdown.--open > .f-dropdown-toggle,
.basket .basket__quantity_select .f-dropdown-toggle[aria-expanded="true"],
.basket .buy__number .f-dropdown-toggle[aria-expanded="true"] {
  border-color: #f65d2d !important;
}

.basket .basket__quantity_select .f-dropdown-button,
.basket .buy__number .f-dropdown-button {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1.2;
}

.basket .basket__quantity_select .f-dropdown-menu,
.basket .buy__number .f-dropdown-menu {
  z-index: 50 !important;
  overflow: visible !important;
}

.basket .buy__more_input,
.basket .buy__more_input.quantity__input {
  height: 30px;
  border: 0 solid #e6e6e6 !important;
  border-radius: 6px !important;
  padding: 0 12px;
  box-sizing: border-box;
}

.basket .basket__item.--sum {
  grid-area: sum;
  align-self: center;
  text-align: right;
  white-space: nowrap;
}

.basket .basket__price,
.basket .basket__sum .sum {
  display: block;
  color: #161515;
  font-size: 18px;
  line-height: 26px;
  font-weight: 700;
}

.basket .basket__unit {
  color: #767676;
  font-size: 13px;
  font-weight: 400;
}

.basket .basket__prices {
  margin-bottom: 4px;
}

.basket .basket__block.--product > .basket__item.--actions {
  grid-area: name;
  justify-self: start;
  align-self: end;
  margin-top: 4px;
}

.basket .basket__item.--add-comment {
  grid-area: comment;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
  margin-top: 4px;
}

.basket .basket__add.--comment,
.basket .basket__add.--files,
.basket .basket__add.--save {
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
}

.basket .basket__add.--files {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.basket .basket__add.--files > .add__label {
  flex: 0 0 100%;
  margin-bottom: 0;
}

.basket .basket__add.--save {
  display: flex;
  justify-content: flex-end;
}

.basket .add__label {
  display: block;
  margin-bottom: 6px;
  color: #767676;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
}

.basket .add__textarea {
  display: block;
  width: 100%;
  min-height: 44px;
  height: 44px;
  max-height: 120px;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  padding: 10px 12px;
  color: #161515;
  font-family: inherit;
  font-size: 14px;
  line-height: 20px;
  resize: vertical;
  background: #fafafa;
  box-sizing: border-box;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.basket .add__textarea:hover {
  border-color: #cfcfcf;
  background: #fff;
}

.basket .add__textarea:focus {
  border-color: #f65d2d;
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(246, 93, 45, 0.12);
}

.basket .add__files {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
}

.basket .add__files input[type="file"] {
  display: block;
  flex: 1 1 220px;
  width: auto;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px dashed #d6d6d6;
  border-radius: 6px;
  background: #fafafa;
  color: #333333;
  font-size: 13px;
  line-height: 18px;
  cursor: pointer;
  box-sizing: border-box;
}

.basket .add__files input[type="file"]:hover {
  border-color: #f65d2d;
  background: #fff7f4;
}

.basket .add__file.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #161515 !important;
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
}

.basket .add__file.btn::before,
.basket .add__file.btn.icon-plus::before,
.basket .add__file.btn [class^="icon-"],
.basket .add__file.btn i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  vertical-align: middle;
  color: inherit !important;
  font-size: 14px;
  position: static !important;
  top: auto !important;
  transform: none !important;
}

.basket .add__file.btn:hover {
  border: 0 !important;
  background: transparent !important;
  color: #252474 !important;
}

.basket .add__file.btn:hover::before,
.basket .add__file.btn:hover.icon-plus::before,
.basket .add__file.btn:hover [class^="icon-"],
.basket .add__file.btn:hover i {
  color: #252474 !important;
}

.basket .add__save .save__button.btn.--solid,
.basket .save__button.btn.--solid,
.basket .add__save .save__button.--desktop.btn.--solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: 1px solid #f65d2d !important;
  color: #f65d2d !important;
  border-radius: 6px !important;
  font-weight: 600;
  text-transform: none;
  min-height: 44px;
  padding: 0 18px;
  white-space: nowrap;
  box-shadow: none !important;
}

.basket .add__save .save__button.btn.--solid:hover,
.basket .save__button.btn.--solid:hover,
.basket .add__save .save__button.--desktop.btn.--solid:hover {
  background: transparent !important;
  border-color: #252474 !important;
  color: #252474 !important;
}

/* Recover toast */
.basket .basket__recover_product {
  background: #fff7f4;
  border-radius: 6px;
  padding: 12px 16px;
  color: #161515;
}

.basket .recover_product {
  color: #f65d2d;
  font-weight: 600;
}

.basket .recover_product:hover {
  color: #252474;
}

/* Tools — tylko ulubione + opróżnij (opakowanie ukryte, jak w starej templatce) */
.basket .basket__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid #f0f0f0;
  border-radius: 0;
}

.basket .basket__tools_wrappers {
  display: none !important;
}

.basket .basket__tools_remove {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  flex-direction: row;
  justify-content: flex-end;
  gap: 8px;
  width: 100%;
}

.basket .tool__button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #e6e6e6 !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: #555 !important;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  text-align: center;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none !important;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.basket .tool__button.--add-to-favorite:hover {
  border-color: #252474 !important;
  color: #252474 !important;
  background: #f7f7fb !important;
}

.basket .tool__button.--remove-all {
}

.basket .tool__button.--remove-all:hover {
  border-color: #c23b3b !important;
  color: #c23b3b !important;
  background: #fff5f5 !important;
}

/* [KO-07] pkt 103: okno „Czy na pewno chcesz usunąć (wszystkie) produkty z koszyka?”.
   Okno (#modal) leży poza .basket, więc dawne reguły .basket .remove_modal nie działały i „Nie” było pomarańczowe jak „Tak”.
   „Tak” w kolorze akcji, „Nie” z samą ramką, zaokrąglone rogi okna i przycisków. To samo okno przy „Usuń z koszyka”. */
#modal.--remove_product .modal__wrapper {
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(22, 21, 21, 0.18);
}

#modal.--remove_product .remove_modal b {
  color: #161515;
}

#modal.--remove_product .remove_modal .btn {
  border-radius: 6px !important;
  font-weight: 600;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

#modal.--remove_product .remove_modal__confirm.btn {
  background: #f65d2d !important;
  border-color: #f65d2d !important;
  color: #161515 !important;
}

#modal.--remove_product .remove_modal__confirm.btn:hover,
#modal.--remove_product .remove_modal__confirm.btn:focus-visible {
  background: #252474 !important;
  border-color: #252474 !important;
  color: #fff !important;
}

#modal.--remove_product .remove_modal__close.btn {
  background: #fff !important;
  border-color: #d0d0d0 !important;
  color: #161515 !important;
}

#modal.--remove_product .remove_modal__close.btn:hover,
#modal.--remove_product .remove_modal__close.btn:focus-visible {
  background: #f7f7fb !important;
  border-color: #252474 !important;
  color: #252474 !important;
}

/* [KO-08] pkt 104: polecane produkty w koszyku (hotspot „Dobierz …”) jak sekcje strony głównej (Bestsellery, #main_hotspot_zone3).
   Białe tło z zaokrągleniem, nagłówek i link „Zobacz więcej ›” jak na stronie głównej (tekst podmienia theme.js, global__seeMoreLabels__init).
   Karty: bez drugiego serduszka z Pulse pod kartą (nasze jest w rogu zdjęcia, W-05), ikona „i” przy „Cena nowego” bez białego pola. */
section[id^="basketedit_hotspot_zone"] {
  margin: 48px 0;
  padding: 32px 28px;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
}

section[id^="basketedit_hotspot_zone"] .hotspot__name .headline {
  justify-content: flex-start;
  font-weight: 600;
  text-transform: none;
}

section[id^="basketedit_hotspot_zone"] .hotspot__name .headline__name {
  color: #333;
  font-weight: 600;
}

section[id^="basketedit_hotspot_zone"] .hotspot__name .headline__after {
  display: inline-flex;
  align-items: center;
  color: #d14512;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-transform: none;
}

section[id^="basketedit_hotspot_zone"] .hotspot__name .headline__after .link__text {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

section[id^="basketedit_hotspot_zone"] .hotspot__name .headline__after .icon {
  display: none;
}

section[id^="basketedit_hotspot_zone"] .hotspot__name .headline__after:after {
  content: "\203A";
  margin-left: 8px;
  font-size: 21px;
  text-decoration: none !important;
  transform: translateY(-1px);
  transition: 0.3s ease-in-out;
}

section[id^="basketedit_hotspot_zone"] .hotspot__name .headline__after:hover:after {
  transform: translate(3px, -1px);
}

section[id^="basketedit_hotspot_zone"] .product .product__buttons_wrapper {
  display: none;
}

section[id^="basketedit_hotspot_zone"] .product .product__prices .price.--max .tooltip {
  padding: 0;
  border: 0;
  background: transparent;
  color: #767676;
  font-size: 14px;
  box-shadow: none;
  transform: none; /* Pulse w koszyku podnosił ikonę o 10px nad napis */
}

/* biała strzałka dymka Pulse (z białego pola) przykrywała literę w „Cena nowego” */
section[id^="basketedit_hotspot_zone"] .product .product__prices .price.--max .tooltip::after {
  display: none;
}

@media (max-width: 1199px) {
  section[id^="basketedit_hotspot_zone"] {
    padding: 24px;
  }
}

/* ≤978: teksty kart jak w kompaktowych sliderach strony głównej (.rnew-compact-slider), żeby „Cena nowego” mieściła się w jednej linii.
   Slider zostaje Pulse (bez przełączania swipera), „Do koszyka” zostaje. */
@media (max-width: 978px) {
  section[id^="basketedit_hotspot_zone"] {
    margin: 0 auto 20px;
    padding: 20px;
  }

  section[id^="basketedit_hotspot_zone"] .product .product__name {
    height: 36px;
    min-height: 36px;
    max-height: 36px;
    margin-bottom: 4px;
    font-size: 12px;
    line-height: 18px;
  }

  section[id^="basketedit_hotspot_zone"] .product .product__prices .price.--main .price__sub {
    font-size: 16px;
    line-height: 22px;
  }

  /* body: wygrywa z „body .product:not([data-list-layout]) … .price.--max { padding-right: 58px !important }” */
  body section[id^="basketedit_hotspot_zone"] .product .product__prices .price.--max,
  body section[id^="basketedit_hotspot_zone"] .product .product__prices .price.--max.--hidden,
  body section[id^="basketedit_hotspot_zone"] .product .product__prices .price.--omnibus,
  body section[id^="basketedit_hotspot_zone"] .product .product__prices .price.--omnibus.--hidden {
    height: 18px;
    min-height: 18px;
    padding-right: 40px !important;
    font-size: 12px;
    line-height: 18px;
  }

  section[id^="basketedit_hotspot_zone"] .product .product__prices .price.--max .omnibus_label {
    white-space: nowrap;
  }

  section[id^="basketedit_hotspot_zone"] .product .product__prices .price.--max {
    gap: 4px;
  }

  section[id^="basketedit_hotspot_zone"] .product .product__prices .price.--max .tooltip svg {
    width: 12px;
    height: 12px;
  }

  section[id^="basketedit_hotspot_zone"] .product .product__prices .price.--max .price_percent {
    width: 35px;
    height: 35px;
    bottom: 0 !important;
    font-size: 12px;
    line-height: 1;
  }

  section[id^="basketedit_hotspot_zone"] .product .product__prices .price.--max .price_percent::after {
    inset: 2px;
  }

  section[id^="basketedit_hotspot_zone"] .product .label_icons .label,
  section[id^="basketedit_hotspot_zone"] .product .product_condition {
    padding: 1px 4px;
    font-size: 12px;
    line-height: 18px;
  }
}

/* --- Summary --- */
.summary_wrapper {
  width: 100%;
}

.summary_wrapper .cop_summary {
  background: #fff;
  border-radius: 6px;
  padding: 20px;
}

.summary_wrapper .cop_summary__block.--content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 0;
  background: unset;
}

.summary_wrapper .cop_time__item.--active {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Drugi termin: tylko gdy koszyk ma produkty z dłuższym czasem */
.summary_wrapper .cop_time__item.--later:not(.--active),
.summary_wrapper .cop_time__item.--later:has(.cop_time__value:empty) {
  display: none;
}

.summary_wrapper .cop_time__item.--now.--active + .cop_time__item.--later.--active {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}

.summary_wrapper .cop_time__label {
  color: #767676;
  font-size: 13px;
}

.summary_wrapper .cop_time__value {
  color: #161515;
  font-size: 15px;
  font-weight: 700;
}

.summary_wrapper .cop_rebate_code {
  padding: 0 0 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.summary_wrapper .cop_rebate_code__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.summary_wrapper .cop_rebate_code__label_text {
  color: #161515;
  font-size: 14px;
  font-weight: 600;
}

.summary_wrapper .cop_rebate_code__add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #252474;
  border-radius: 6px;
  background: #fff;
  color: #252474 !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.summary_wrapper .cop_rebate_code__add:hover {
  background: #252474;
  border-color: #252474;
  color: #fff !important;
}

.summary_wrapper .cop_rebate_code__field {
  display: flex !important;
  align-items: stretch;
  gap: 8px;
  margin-top: 10px;
}

.summary_wrapper .cop_rebate_code__field[aria-hidden="true"] {
  display: none !important;
}

.summary_wrapper .cop_rebate_code__input_wrapper {
  flex: 1 1 auto;
  min-width: 0;
}

.summary_wrapper .cop_rebate_code__input.f-control {
  width: 100%;
  height: 44px;
  border: 1px solid #767676;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 14px;
}

.summary_wrapper .cop_rebate_code__input.f-control:focus {
  border-color: #f65d2d;
  box-shadow: 0 0 0 3px rgba(246, 93, 45, 0.12);
  outline: none;
}

.summary_wrapper .cop_rebate_code__save {
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  top: unset;
  right: unset;
  border: 1px solid #f65d2d !important;
  border-radius: 6px !important;
  background: #f65d2d !important;
  background-image: none !important;
  color: #161515 !important;
  font-size: 0;
  line-height: 0;
  text-indent: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.summary_wrapper .cop_rebate_code__save::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 14px;
  margin-top: -2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translate(-50%, -55%) rotate(45deg);
}

.summary_wrapper .cop_rebate_code__save:hover:not(:disabled) {
  background: #252474 !important;
  border-color: #252474 !important;
  color: #fff !important;
}

.summary_wrapper .cop_rebate_code__save:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.summary_wrapper .cop_rebate_code__links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.summary_wrapper .cop_rebate_code__link {
  color: #f65d2d;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.summary_wrapper .cop_rebate_code__link:hover {
  color: #252474;
}

.summary_wrapper .cop_costs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary_wrapper .cop_costs__item {
  display: none;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
  line-height: 21px;
}

.summary_wrapper .cop_costs__item.--active {
  display: flex;
}

.summary_wrapper .cop_costs__label {
  color: #767676;
}

.summary_wrapper .cop_costs__value {
  color: #161515;
  font-weight: 600;
  text-align: right;
}

.summary_wrapper .cop_total {
  padding-top: 12px;
  border-top: 1px solid #e6e6e6;
}

.summary_wrapper .cop_total__item.--value {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.summary_wrapper .cop_total__label {
  color: #161515;
  font-size: 16px;
  font-weight: 700;
}

.summary_wrapper .cop_total__value {
  color: #161515;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
}

.summary_wrapper .cop_buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.summary_wrapper .cop_buttons__verify {
  color: #767676;
  font-size: 13px;
  line-height: 18px;
  text-align: center;
}

.summary_wrapper .cop_buttons__button.btn.--solid,
.summary_wrapper .cop_buttons__button.btn.--next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  background: #f65d2d !important;
  border: 1px solid #f65d2d !important;
  color: #161515 !important;
  border-radius: 6px !important;
  font-size: 15px;
  font-weight: 700;
  text-transform: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.summary_wrapper .cop_buttons__button.btn.--solid:hover,
.summary_wrapper .cop_buttons__button.btn.--next:hover {
  background: #252474 !important;
  border-color: #252474 !important;
  color: #fff !important;
}

.summary_wrapper .cop_oneclick {
  padding-top: 8px;
}

.summary_wrapper .cop_oneclick__label {
  margin-bottom: 10px;
  color: #767676;
  font-size: 13px;
  text-align: center;
}

.summary_wrapper .cop_summary__block.--points {
  margin-top: 12px;
  padding: 12px 14px;
  background: #f5f5f5;
  border-radius: 6px;
  color: #333333;
  font-size: 13px;
  line-height: 20px;
}

.summary_wrapper .cop_summary__block.--points b {
  color: #161515;
}

/* --- Payments / security --- */
.basket__payments {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.basket__payment {
  background: #fff;
  border-radius: 6px;
  padding: 16px 20px;
}

.basket__payment_element {
  display: flex;
  align-items: center;
  gap: 16px;
}

.basket__payment_label {
  color: #333333;
  font-size: 14px;
  line-height: 21px;
}

.basket__payment_link {
  color: #f65d2d;
  font-size: 14px;
  font-weight: 500;
}

.basket__payment_link:hover {
  color: #252474;
}

#basketedit_hotspot_zone1 {
  margin-top: 32px;
}

#basketedit_hotspot_zone1 .hotspot__name,
#basketedit_hotspot_zone1 .headline__name {
  color: #161515;
  font-size: 22px;
  font-weight: 700;
}

@media (max-width: 991px) {
  .basket_layout {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .basket_layout > #Basket,
  .basket_layout > .summary_wrapper {
    grid-column: 1;
    max-width: 100%;
    width: 100%;
  }

  .basket_layout > .summary_wrapper {
    position: static;
  }

  #Progress .progress__item {
    padding-right: 16px;
  }

  .basket .basket__label .headline__name {
    font-size: 22px;
    line-height: 30px;
  }

  /* [pkt 136] mobile: nazwa na całą szerokość, pod nią cena „x zł / szt.” w jednym wierszu z ilością po prawej,
     niżej „Usuń z koszyka” z odstępem (było: usuń przyklejone do wariantów, ilość sama w wierszu, cena pod nią) */
  .basket .basket__block.--product {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    grid-template-areas:
      "photo name name"
      "photo sum quantity"
      "photo actions actions"
      "comment comment comment";
    padding: 16px;
    column-gap: 12px;
    row-gap: 10px;
    align-items: center;
  }

  .basket .basket__item.--name {
    align-self: start;
  }

  .basket .basket__item.--quantity {
    justify-self: end;
  }

  .basket .basket__block.--product > .basket__item.--actions {
    grid-area: actions;
    align-self: start;
    margin-top: 2px;
  }

  .basket .basket__item.--photo .photo__link {
    width: 72px;
    height: 72px;
  }

  .basket .basket__item.--photo .photo__image {
    max-height: 72px;
  }

  .basket .basket__item.--sum {
    text-align: left;
    white-space: normal;
  }

  /* [pkt 136] cena za sztukę i „/ szt.” w jednej linii (.basket__prices bez display: Pulse go ukrywa przy 1 szt.) */
  .basket .basket__item.--sum .basket__sum_item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 4px;
  }

  .basket .basket__item.--sum .basket__price,
  .basket .basket__item.--sum .sum {
    display: inline;
  }

  .basket .basket__add.--save .save__button {
    width: 100%;
  }

  .basket .basket__tools_remove {
    flex-direction: column;
    align-items: stretch;
  }

  .basket .tool__button.--add-to-favorite,
  .basket .tool__button.--remove-all {
    width: 100%;
    white-space: normal;
  }
}

/* ===== Panel klienta „Twoje konto” (login.html po zalogowaniu, Pulse) =====
   Sekcje jako białe karty 8 px w dwóch kolumnach (mobile: jedna), ikona w pomarańczowym kółku,
   przyciski z jasną ramką #e6e6e6 i pomarańczowym hoverem (jak lista zakupowa), nieaktywne wyszarzone. */
#content:has(> #login_menu) {
  max-width: none;
  margin: 0 auto;
  padding-top: 32px !important;
  padding-bottom: 64px !important;
  float: none;
}

#content:has(> #login_menu) > h1.l_welcome.headline {
  margin: 0 0 24px;
  padding: 0;
  text-align: left;
  color: #161515;
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  text-transform: none;
}

#content:has(> #login_menu) > h1.l_welcome.headline::before,
#content:has(> #login_menu) > h1.l_welcome.headline::after {
  display: none;
}

#content:has(> #login_menu) > h1.l_welcome .headline__name {
  font: inherit;
  text-transform: inherit;
  color: inherit;
}

#login_menu {
  display: block;
  margin: 0;
}

#login_menu .login_menu_wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
}

#login_menu .login_menu_wrapper > .login_menu {
  position: relative;
  display: flex;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 32px 32px 32px 104px;
  background: #fff;
  border-radius: 8px;
  box-sizing: border-box;
}

#login_menu .login_menu_sub {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin: 0;
  padding: 0;
}

#login_menu .login_menu_sub h2 {
  position: static;
  margin: 0 0 8px;
  padding: 0;
  color: #161515;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
}

#login_menu .login_menu_sub h2 i {
  position: absolute;
  left: 32px;
  top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff7f4;
  color: #f65d2d;
  font-size: 22px;
  line-height: 1;
}

#login_menu .login_menu_sub > div {
  margin: 0 0 12px;
  color: #767676;
  font-size: 14px;
  line-height: 21px;
}

#login_menu .login_menu_sub .points_info {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 12px;
  color: #161515;
  font-size: 14px;
  line-height: 21px;
}

#login_menu .login_menu_sub .points_info strong {
  color: #f65d2d;
  font-size: 16px;
  font-weight: 700;
}

#login_menu #points_login .points_info strong {
  margin-left: 0;
  color: #f65d2d;
}

/* Przyciski sekcji: wiersz z zawijaniem, odstęp 8 px */
#login_menu .login_menu_sub {
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px;
}

#login_menu .login_menu_sub > .btn {
  margin: 0;
}

/* Clearfix Pulse byłby dodatkowym elementem flex i przez gap dokładał pusty wiersz */
#login_menu .login_menu_sub::before,
#login_menu .login_menu_sub::after {
  display: none;
}

/* Linia Pulse pod siatką kart: niepotrzebna przy białych kartach */
#login_menu .login_menu_wrapper::after {
  display: none;
}

#login_menu .login_menu_sub > h2,
#login_menu .login_menu_sub > div,
#login_menu .login_menu_sub > .points_info {
  flex: 0 0 100%;
}

#login_menu .login_menu_sub > .btn.--outline,
#login_menu > .l_welcome__element.--logout.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  height: auto;
  padding: 8px 16px;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  background: #fff;
  color: #161515;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  text-transform: none;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

#login_menu .login_menu_sub > .btn.--outline:hover,
#login_menu .login_menu_sub > .btn.--outline:focus-visible {
  border-color: #f65d2d;
  background: #fff7f4;
  color: #f65d2d;
}

#login_menu .login_menu_sub > .btn.--outline[data-disabled="true"] {
  border-color: #ececec;
  background: #f5f5f5;
  color: #a6a6a6;
  cursor: default;
  pointer-events: none;
}

/* Wyloguj się */
#login_menu > .l_welcome__element.--logout.btn {
  gap: 8px;
  width: auto;
  margin: 32px auto 0;
  color: #161515;
}

#login_menu > .l_welcome__element.--logout.btn::before {
  position: static;
  transform: none;
  height: auto;
  line-height: 1;
  margin: 0;
  color: #f65d2d;
  font-size: 16px;
}

#login_menu > .l_welcome__element.--logout.btn:hover,
#login_menu > .l_welcome__element.--logout.btn:focus-visible {
  border-color: #f65d2d;
  background: #fff7f4;
  color: #f65d2d;
}

#login_menu > .l_welcome__element.--logout.btn {
  display: flex;
  width: fit-content;
}

/* Karta z kodem stałego klienta (Pulse pokazuje ją tylko < 576 px) */
#login_menu .client_info {
  width: 100%;
  max-width: none;
  flex: none;
  padding: 0;
}

#login_menu .client_info .client-barcode {
  margin: 0 0 16px;
  padding: 24px;
  border: 0;
  background: #fff;
  border-radius: 8px;
  text-align: center;
}

#login_menu .client_info .client-barcode h2 {
  margin: 0 0 12px;
  color: #161515;
  font-size: 18px;
  line-height: 26px;
  font-weight: 700;
}

#login_menu .client_info .client-barcode svg {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 8px;
}

#login_menu .client_info .client-barcode strong {
  color: #161515;
  font-size: 14px;
  font-weight: 600;
}

/* Laptopy 992–1439 px: ikona obok tytułu, mniejszy padding, żeby przyciski (np. trzy w „Listy produktów”) zmieściły się w jednym rzędzie */
@media (min-width: 992px) and (max-width: 1439px) {
  #login_menu .login_menu_wrapper > .login_menu {
    padding: 28px;
  }

  #login_menu .login_menu_sub h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
  }

  #login_menu .login_menu_sub h2 i {
    position: static;
    flex: none;
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  #login_menu .login_menu_sub > .btn.--outline {
    padding-left: 14px;
    padding-right: 14px;
  }
}

@media (max-width: 991px) {
  #login_menu .login_menu_wrapper {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

@media (max-width: 575px) {
  #content:has(> #login_menu) {
    padding-top: 20px !important;
    padding-bottom: 40px !important;
  }

  #content:has(> #login_menu) > h1.l_welcome.headline {
    margin-bottom: 16px;
    font-size: 24px;
    line-height: 32px;
  }

  #login_menu .login_menu_wrapper > .login_menu {
    padding: 20px;
  }

  #login_menu .login_menu_sub h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 18px;
    line-height: 26px;
  }

  #login_menu .login_menu_sub h2 i {
    position: static;
    flex: none;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  #login_menu .login_menu_sub > div {
    margin-bottom: 8px;
  }
}
