@charset "UTF-8";
/* koszyk, zamowienie, formularze, cookies
----------------------------------------------------------------------*/
.q_field input[type=text], .q_field input[type=number], .q_field input[type=tel], .q_field input[type=email],
.co_field input[type=text], .co_field input[type=tel], .co_field input[type=email] {
  box-sizing: border-box;
  padding: 12px;
  width: 100%;
  height: 50px;
  outline: 0;
  border: none;
  border: #dcdcdc solid 1px;
  border-radius: 0;
  background-color: rgba(255, 255, 255, 0.6);
  color: #121212;
  font-size: 16px;
  font-family: var(--ja);
  -webkit-appearance: none;
          appearance: none;
}

.q_field textarea,
.co_field textarea {
  box-sizing: border-box;
  padding: 12px;
  width: 100%;
  outline: 0;
  border: none;
  border: #dcdcdc solid 1px;
  border-radius: 0;
  background-color: rgba(255, 255, 255, 0.6);
  color: #121212;
  font-size: 16px;
  font-family: var(--ja);
  resize: vertical;
  -webkit-appearance: none;
          appearance: none;
}

.q_field select {
  box-sizing: border-box;
  padding: 12px 46px 12px 12px;
  width: 100%;
  height: 50px;
  outline: 0;
  border: none;
  border: #dcdcdc solid 1px;
  border-radius: 0;
  background-color: rgba(255, 255, 255, 0.6);
  background-image: linear-gradient(45deg, transparent 50%, #363030 50%), linear-gradient(135deg, #363030 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  color: #121212;
  font-size: 16px;
  font-family: var(--ja);
  -webkit-appearance: none;
          appearance: none;
}

.q_field input:focus, .q_field select:focus, .q_field textarea:focus,
.co_field input:focus, .co_field textarea:focus {
  border-color: #363030;
}

.quote_form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.q_field label,
.co_field > label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.co_field > label small {
  font-weight: 400;
  color: #6d6666;
}

.q_field--trap,
.co_field--trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.q_err,
.co_err {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #b3261e;
}

.q_err:empty,
.co_err:empty {
  display: none;
}

.q_field.is-err input,
.co_field.is-err input,
.q_field.is-err .q_check i,
.co_field.is-err .q_check i {
  border-color: #b3261e;
}

.q_field .q_check,
.co_field .q_check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.7;
  cursor: pointer;
}

.q_check input {
  position: absolute;
  width: 18px;
  height: 18px;
  opacity: 0;
}

.q_check i {
  position: relative;
  flex: 0 0 20px;
  height: 20px;
  margin-top: 1px;
  border: 1px solid #363030;
  background: #ffffff;
}

.q_check input:checked + i {
  background: #363030;
}

.q_check input:checked + i::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 10px;
  border: solid #e6de0f;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.q_check input:focus-visible + i {
  outline: 2px solid #e6de0f;
  outline-offset: 2px;
}

.q_check em {
  font-style: normal;
}

.q_check a {
  text-decoration: underline;
}

.sendBtn {
  display: inline-block;
  margin: 0;
  padding: 0 20px;
  width: 100%;
  height: 60px;
  outline: 0;
  border: none;
  border-radius: 0;
  background-color: #363636;
  color: #ffffff;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: background-color 0.3s;
}

.sendBtn:hover {
  background-color: #000000;
}

.sendBtn[disabled] {
  opacity: 0.5;
  pointer-events: none;
}

/* panel koszyka
----------------------------------------------------------------------*/
.cart_screen {
  position: fixed;
  inset: 0;
  z-index: 960;
  background: rgba(54, 48, 48, 0.55);
}

.cart_panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 970;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 460px;
  overflow-y: auto;
  background-color: #f3f3f3;
  background-image: var(--tex);
}

.cart_panel[hidden],
.cart_screen[hidden],
.cart_step[hidden] {
  display: none;
}

.cart_panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 0 24px;
  height: 64px;
  border-bottom: 1px solid #dcdcdc;
}

.cart_panel__titile {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 8px;
}

.cart_panel__cls {
  position: relative;
  width: 64px;
  height: 64px;
  background: #565656;
}

.cart_panel__cls::before,
.cart_panel__cls::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 20px;
  width: 24px;
  height: 2px;
  background: #f3f3f3;
  transform: rotate(35deg);
}

.cart_panel__cls::after {
  transform: rotate(-35deg);
}

.cart_step {
  padding: 24px;
}

.cart_empty {
  font-size: 13.5px;
}

.cart_list {
  margin-top: 4px;
}

.cart_item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 12px;
  padding: 16px 0;
  border-bottom: 1px solid #dcdcdc;
}

.cart_item__name {
  font-weight: 700;
  font-size: 14px;
}

.cart_item__price {
  font-size: 18px;
  font-weight: 600;
  text-align: right;
}

.cart_item__qty {
  display: flex;
  align-items: center;
}

.cart_item__qty button {
  width: 34px;
  height: 34px;
  border: 1px solid #363030;
  font-size: 16px;
  line-height: 1;
}

.cart_item__qty button[disabled] {
  opacity: 0.3;
  cursor: default;
}

.cart_item__qty span {
  min-width: 36px;
  text-align: center;
  font-size: 16px;
}

.cart_item__del {
  justify-self: end;
  font-size: 12px;
  text-decoration: underline;
  color: #6d6666;
}

.cart_sum {
  margin-top: 20px;
}

.cart_sum > p:first-child {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.cart_sum b {
  font-size: 28px;
}

.cart_sum__note {
  margin: 10px 0 20px;
  font-size: 12px;
  color: #6d6666;
}

.cart_sum .yellow_btn {
  width: 100%;
}

.checkout {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checkout_back {
  align-self: flex-start;
  font-size: 12px;
  text-decoration: underline;
}

.co_address {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px;
  background: #e5e5e5;
}

.co_address[hidden],
.co_field[hidden] {
  display: none;
}

.co_address__h {
  width: 100%;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.co_address .co_field {
  width: 100%;
}

.co_address .co_field--half {
  width: calc(50% - 7px);
}

.co_pay {
  font-size: 12px;
  color: #6d6666;
}

.co_total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 12px;
  border-top: 2px solid #363030;
}

.co_total b {
  font-size: 28px;
}

.order_thanks .h {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 8px;
}

.order_thanks p + p {
  margin-top: 12px;
}

/* toast, cookies
----------------------------------------------------------------------*/
.toast {
  position: fixed;
  left: 50%;
  bottom: 76px;
  z-index: 990;
  max-width: calc(100% - 40px);
  padding: 12px 20px;
  background: #363030;
  color: #ffffff;
  font-size: 13px;
  transform: translateX(-50%);
}

.toast[hidden] {
  display: none;
}

.cookie_box {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 70px;
  z-index: 980;
  max-height: 80vh;
  overflow-y: auto;
  padding: 22px 20px;
  background: #ffffff;
  border-top: 6px solid #e6de0f;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.cookie_box[hidden] {
  display: none;
}

.cookie_box__h {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 6px;
}

.cookie_box__p {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.7;
}

.cookie_box__p a {
  text-decoration: underline;
}

.cookie_box__btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.cookie_btn {
  padding: 10px 18px;
  border: 1px solid #363030;
  font-size: 12.5px;
  font-weight: 700;
}

.cookie_btn--dark {
  background: #363030;
  color: #ffffff;
}

.cookie_more {
  padding: 6px;
  font-size: 12.5px;
  text-decoration: underline;
}

.cookie_box__set {
  margin-top: 12px;
  border-top: 1px solid #e5e5e5;
}

.cookie_row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #e5e5e5;
  font-size: 12px;
}

.cookie_row b {
  display: block;
  font-size: 12.5px;
}

.cookie_row em {
  font-style: normal;
  color: #6d6666;
}

.cookie_box__set .cookie_btn {
  margin-top: 12px;
}

.cookie_sw {
  position: relative;
  flex: 0 0 42px;
  height: 22px;
}

.cookie_sw input {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.cookie_sw i {
  position: absolute;
  inset: 0;
  background: #c9c9c9;
  transition: background-color 0.2s;
}

.cookie_sw i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: #ffffff;
  transition: transform 0.2s;
}

.cookie_sw input:checked + i {
  background: #363030;
}

.cookie_sw input:checked + i::after {
  transform: translateX(20px);
}

@media screen and (min-width: 768px) {
  .quote_form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 16px;
  }
  .q_field--wide,
  .quote_form .sendBtn {
    grid-column: 1 / -1;
  }
  .quote_form .sendBtn {
    width: 300px;
  }
  .toast {
    bottom: 30px;
  }
  .cookie_box {
    left: auto;
    right: 30px;
    bottom: 30px;
    max-width: 420px;
  }
}
