table {
  width: 100%;
}

.checkout_init #niezalogowany table {
  border: 1px solid #ececec;
  color: #333333;
}

.checkout_init a.register {
  margin-top: 15px;
}

.checkout_init #niezalogowany table th {
  padding: 15px;
  font-weight: normal;
}

.checkout_init #niezalogowany table td {
  padding: 0 15px 15px;
  vertical-align: top;
  text-align: left;
}

.checkout_init #niezalogowany table tr td:last-child {
  text-align: center;
}

.checkout_init #niezalogowany table tr td p:last-child {
  text-align: center;
}

.checkout_init a.no_login {
  margin-top: 15px;
  display: inline-block;
  background-color: #e51a45;
  color: #f9c8af;
  padding: 0.5em 2em;
  font-size: 1em;
  border: 0;
  text-transform: uppercase;
  text-decoration: none;
}

.checkout_init a.register,
.checkout_init input[type="submit"] {
  display: inline-block;
  padding: 0.5em 2em;
  font-size: 1em;
  border: 1px solid black;
  border-radius: 0;
  background-color: white;
  color: #000000;
  text-transform: uppercase;
  text-decoration: none;
}

.checkout_init #niezalogowany table th + th,
.checkout_init #niezalogowany table td + td {
  border-left: 1px solid #ececec;
}

.checkout_init #niezalogowany table .container {
  width: 100%;
}

.checkout_data h3 {
  color: #333333;
  font-size: 1.4em;
  text-transform: capitalize;
  padding: 20px 10px;
}

.checkout_data table.wrapper td.shipment,
.checkout_data table.wrapper td.payment {
  width: 50%;
  vertical-align: top;
}

/* Make form fields behave predictably */
.checkout_data input,
.checkout_data select,
.checkout_data textarea {
  box-sizing: border-box;
  max-width: 100%;
}

.checkout_data table tr td {
  padding-bottom: 10px;
}

.checkout_data input {
  margin-left: 1px;
  background-color: white;
  border: 1px solid #cbcbb1;
}

.checkout_data input[disabled="true"] {
  margin-left: 30px;
  background-color: #eeeeee;
  cursor: not-allowed;
  border: 1px solid #cbcbb1;
}

.checkout_data .next {
  text-align: right;
  padding: 0 20px 20px 0;
}

.checkout_data input[type="submit"] {
  background-color: #e51a45;
  color: #f9c8af;
  padding: 0.5em;
  font-size: 1em;
  width: 120px;
  border: 0;
  text-transform: uppercase;
}

.checkout_summary table.products {
  border: 1px solid #ececec;
  color: #333333;
  margin-bottom: 15px;
}

.checkout_summary table.products td + td,
.checkout_summary table.products th + th {
  border-left: 1px solid #ececec;
}

.checkout_summary table.products tr + tr {
  border-top: 1px solid #ececec;
}

.checkout_summary table.products th {
  border-bottom: 1px solid #ececec;
}

.checkout_summary table.products th {
  text-transform: uppercase;
  text-align: center;
}

.checkout_summary table.products th,
.checkout_summary table.products td {
  padding: 10px 15px;
}

.checkout_summary table.products tr:nth-child(2n) td {
  background-color: #f7f7f7;
}




.checkout_summary table.prodh {
  border: 1px solid #ececec;
  color: #333333;
  margin-bottom: 15px;
}

.checkout_summary table.prodh td + td,
.checkout_summary table.prodh th + th {
  border-left: 1px solid #ececec;
}

.checkout_summary table.prodh tr + tr {
  border-top: 1px solid #ececec;
}

.checkout_summary table.prodh th {
  border-bottom: 1px solid #ececec;
}

.checkout_summary table.prodh th {

  text-align: center;
}

.checkout_summary table.prodh th,
.checkout_summary table.prodh td {
  padding: 10px 15px;
}

.checkout_summary table.prodh tr:nth-child(2n) td {
  background-color: #f7f7f7;
}



.checkout_summary .summary_data {
  margin-bottom: 20px;
}

.checkout_summary .summary_data > div {
  width: 30%;
  float: left;
  padding-left: 15px;
}

.checkout_summary .summary_data > div:last-child {
  width: 40%;
}

.checkout_summary .summary_data > div + div {
  border-left: 1px solid #cccccc;
}

.checkout_summary .summary_data:after {
  clear: both;
  content: '';
  display: block;
}

.checkout_summary  .actions:after {
  clear: both;
  content: '';
  display: block;
  margin-bottom: 20px;
}

.checkout_summary .summary_price:after {
  clear: both;
  content: '';
  display: block;
  margin-bottom: 20px;
}

.checkout_summary .summary_price .wrapper {
  float: right;
  text-align: right;
}

.checkout_summary .summary_price .wrapper div + div {
  margin-top: 5px;
}

.checkout_summary .summary_price .wrapper strong {
  font-size: 1.5em;
}

.checkout_summary  .actions a {
  text-decoration: none;
  cursor: pointer;
}

.checkout_summary .prev {
  float: left;
}

.checkout_summary .prev a {
  display: inline-block;
  padding: 0.5em 2em;
  font-size: 1em;
  border: 1px solid black;
  color: #000000;
  text-transform: uppercase;
}

.checkout_summary .next {
  float: right;
}

.checkout_summary .next a {
  display: inline-block;
  background-color: #e51a45;
  color: #f9c8af;
  padding: 0.5em 2em;
  font-size: 1em;
  border: 0;
  text-transform: uppercase;
}

.steps-container {
  text-align: center; width: 80%
}
.steps-container .line {
  width: 100%;
  height: 1px;
  background-color: #e1e1e1;
  margin-top: 65px;
}
.steps-container .step {
  display: inline-block;
  padding: 0 15px;
  margin-top: -33px;
}
.steps-container .step .dot {
  background-color: #f0f0f0;
  height: 65px;
  width: 65px;
  border-radius: 50%;
  line-height: 45px;
  margin: auto;
  border: 10px solid white;
  font-weight: bold;
}
.steps-container .step .name {
  color: #8d8b8c;
  font-weight: bold;
  text-transform: uppercase;
}
.steps-container .step.active .dot {
  background-color: #ae0d3f;
  color: white;
}
.steps-container .step.active .name {
  color: #ae0d3f;
}
.checkout-table {
  width: 100%;
  margin-top: 30px;
}
.checkout-table thead th {
  padding: 9px 0;
  padding-left: 15px;
  background-color: #fbfbfb;
}
.checkout-table tbody td {
  padding: 15px;
}
.checkout-table tbody td.product-image {
  text-align: center;
  width: 138px;
  max-width: 138px;
}
.checkout-table tbody td.product-image img {
  border: 1px solid #d5d5d5;
  max-width: 80%;
  max-height: 100%;
}
.checkout-table tbody td.product-desc {
  width: 480px;
}
.checkout-table tbody td.product-desc .product-name {
  font-weight: bold;
}
.checkout-table tbody td.product-desc .sku,
.checkout-table tbody td.product-desc .color-and-size {
  color: #777779;
  font-size: 12px;
}
.checkout-table tbody td.avail {
  width: 130px;
}
.checkout-table tbody td.avail .stock {
  color: white;
  text-align: center;
}
.checkout-table tbody td.avail .stock.in-stock {
  width: 70px;
  background-color: #55c65e;
  border: 1px solid #36943e;
}
.checkout-table tbody td.avail .stock.not-in-stock {
  width: 100px;
  background-color: #f50000;
  border: 1px solid #bd0101;
}
.checkout-table tbody td.unit-price {
  width: 143px;
}
.checkout-table tbody td.qty {
  width: 57px;
}
.checkout-table tbody td.qty input {
  width: 57px;
  text-align: center;
  background-color: #fbfbfb;
  border: 1px solid #d5d5d5;
  color: #9a9a9a;
}
.checkout-table tbody td.qty .buttons-wrapper {
  margin-top: 3px;
}
.checkout-table tbody td.qty .buttons-wrapper .subtr {
  background-image: url('../img/subtr-icon.png');
  float: right;
}
.checkout-table tbody td.qty .buttons-wrapper .add {
  background-image: url('../img/add-icon.png');
  float: left;
}
.checkout-table tbody td.qty .buttons-wrapper .subtr,
.checkout-table tbody td.qty .buttons-wrapper .add {
  width: 27px;
  height: 27px;
  display: inline-block;
  cursor: pointer;
}
.checkout-table tbody td.custom-table-total {
  width: 115px;
}
.checkout-table tbody td.remove {
  width: 50px;
  text-align: center;
}
.checkout-table tbody td.remove input.trash-icon {
  border: none;
  background: none;
  background-image: url('../img/trash.png');
  width: 19px;
  height: 20px;
}
.shipment-and-payment-table {
  width: 100%;
  border-top: 0;
}
.shipment-and-payment-table td {
  background-color: #fbfbfb;
  border-top: 0 !important;
  padding-left: 30px;
  padding-right: 30px;
}
.shipment-and-payment-table td .column-header {
  color: black;
  font-weight: bold;
  margin-top: 10px;
}
.shipment-and-payment-table td .column-body {
  margin-top: 15px;
  margin-bottom: 15px;
}
.shipment-and-payment-table td.country {
  width: 276px;
  vertical-align: top;
}
.shipment-and-payment-table td.country .column-body {
  margin-top: 40px;
}
.shipment-and-payment-table td.country .column-body select {
  width: 170px;
  padding: 5px;
  background-color: white;
  border: 1px solid #cccccc;
  color: #8c8c8c;
}
.shipment-and-payment-table td.shipment {
  width: 250px;
  text-align: left;
  display: none;
}
.shipment-and-payment-table td.shipment-type {
  width: 450px;
  text-align: left;

}
.shipment-and-payment-table td.payment {
  width:420px;
  display: none;
  vertical-align: top;
  text-align: left;
}
.shipment-and-payment-table td.payment .column-body select {
  // width: 170px;
  width: 80%;
  padding: 5px;
  background-color: white;
  border: 1px solid #cccccc;
  color: #8c8c8c;
}
.summary-table,
.summary-table-2 {
  width: 100%;
  border: 0;
}
.summary-table td,
.summary-table-2 td {
  border-top: 0 !important;
  padding-left: 30px;
  padding-right: 30px;
}
.summary-table td.empty-column,
.summary-table-2 td.empty-column {
  width:  289px;
  border: none;
}
.summary-table td.empty-column.second,
.summary-table-2 td.empty-column.second {
  width: 495px;
}
.summary-table td.discount,
.summary-table-2 td.discount {
  width: 500px;
  padding-top: 15px;
  padding-bottom: 15px;
  font-weight: bold;
  color: black;
  border-right: 0;
}
.summary-table td.discount input,
.summary-table-2 td.discount input {
  border: 1px solid #d6d4d5;
}
.summary-table td.discount span,
.summary-table-2 td.discount span {
  margin-right: 30px;
}
.summary-table td.discount div.discount-button,
.summary-table-2 td.discount div.discount-button {
  background-color: #6f6f6f;
  color: white;
  border: 1px solid #666666;
  margin-left: -25px;
  cursor: pointer;
  float: right;
  padding: 0 5px;
}
.summary-table td.total,
.summary-table-2 td.total,
.summary-table td.filled,
.summary-table-2 td.filled {
  width: 363px;
  padding: 0;
  vertical-align: top;
}
.total-table {
  width: 100%;
}
.total-table tr.discount td,
.total-table tr.user-discount td {
  border-bottom: 1px solid #d5d5d5;
}
.total-table td {
  padding: 5px 15px;
  text-align: right;
  background-color: #fbfbfb;
}
.total-table td.label-left {
  font-weight: bold;
  border-right: 1px solid #d5d5d5;
  width: 60%;
}
.total-table td.value-right {
  width: 40%;
}
.total-table tr.whole-total td.label-left {
  text-transform: uppercase;
  font-size: 16px;
}
.total-table tr.whole-total td.value-right {
  font-size: 16px;
  font-weight: bold;
  background-color: white;
}
.buttons {
  clear: both;
  margin-top: 30px;
}
.buttons a.continue-shopping {
  float: left;
  color: black;
  text-decoration: none;
  font-weight: bold;
  background-image: url('../img/continue-shopping-icon.png');
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 15px;
  line-height: 52px;
}
.buttons .proceed-to-checkout {
  float: right;
  text-decoration: none;
  font-weight: bold;
  background-image: url('../img/proceed-to-checkout-icon.png');
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding: 15px;
  padding-right: 40px;
  background-color: #42b655;
  color: white;
    max-width: 200px;
  border: 1px solid #247f32;
  border-radius: 5px;
}

#zloz_zamowienie {
  margin: 0;
}

.payment.paczkomaty {
  display: none;
}

/* Mobile: stack Shipment + Payment blocks one under another */
@media (max-width: 768px) {
  /* Turn the 2-column table layout into stacked blocks */
  .checkout_data table.wrapper,
  .checkout_data table.wrapper tbody,
  .checkout_data table.wrapper tr,
  .checkout_data table.wrapper td.shipment,
  .checkout_data table.wrapper td.payment {
    display: block;
    width: 100% !important;
  }

  /* Inner tables should not force a fixed layout */
  .checkout_data table.wrapper td.shipment table,
  .checkout_data table.wrapper td.payment table {
    width: 100%;
  }

  /* Mobile: put input UNDER the label (each <tr> becomes a vertical stack) */
  .checkout_data table.wrapper td.shipment table tr,
  .checkout_data table.wrapper td.payment table tr {
    display: block;
    width: 100%;
  }

  .checkout_data table.wrapper td.shipment table tr > td,
  .checkout_data table.wrapper td.payment table tr > td {
    display: block;
    width: 100% !important;
    padding: 0;
  }

  /* Label (first td) */
  .checkout_data table.wrapper td.shipment table tr > td:first-child,
  .checkout_data table.wrapper td.payment table tr > td:first-child {
    margin: 0 0 6px 0;
    font-weight: 600;
  }

  /* Field (second td) */
  .checkout_data table.wrapper td.shipment table tr > td:last-child,
  .checkout_data table.wrapper td.payment table tr > td:last-child {
    margin: 0 0 14px 0;
  }

  /* Inputs should fill the available width on small screens */
  .checkout_data table.wrapper td.shipment input.kontakt,
  .checkout_data table.wrapper td.payment input.kontakt,
  .checkout_data table.wrapper td.shipment textarea,
  .checkout_data table.wrapper td.payment textarea {
    width: 100%;
    margin-left: 0;
  }

  /* Remove the big left offset on disabled inputs on mobile */
  .checkout_data input[disabled="true"] {
    margin-left: 0;
  }

  /* A bit of spacing between stacked sections */
  .checkout_data table.wrapper td.payment {
    margin-top: 20px;
  }
}