/* CART COLORS */
:root {
  --primary: #4db5da;
  --secondary: #3a3a3a;
}
/* CART COLORS */

/* FONT GENERAL PENTRU CHECKOUT */
.customcheckoutreview-checkout,
.customcheckout-checkout,
.customcart-checkout,
.cart {
  font-family: "Montserrat";
}
/* FONT GENERAL PENTRU CHECKOUT */
.customcheckoutreview-checkout input[type="submit"],
.customcheckout-checkout input[type="submit"],
.customcart-checkout input[type="submit"] {
  cursor: pointer;
}
.customcheckout-checkout
  #edit-payment-information-billing-information-edit-button,
.customcheckoutreview-checkout
  #edit-payment-information-billing-information-edit-button {
  background: var(--secondary);
  border: none;
  text-decoration: none;
  color: #ffffff;
  padding: 10px 0;
  border-radius: 20px;
  display: block;
  text-align: center;
  box-sizing: border-box;
  width: 100%;
}
.customcart-checkout #edit-actions {
  margin-top: 15px;
}
.cart.cart-form {
  display: block;
  box-sizing: border-box;
  width: 100%;
  background: #f0f2f7;
  padding-top: 40px;
  padding: 40px 20px;
}

.cart.cart-form .views-element-container {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 1440px;
  transition: all 0.2s ease-in-out;
  padding: 37px 36px;
  border-radius: 30px;
  background: #fff;
  margin: 0 auto;
}

.cart.cart-form table {
  width: 100%;
  background: #fff;
  margin-bottom: 30px;
}

.cart.cart-form table thead {
  text-align: left;
}

.cart.cart-form table thead th {
  padding: 20px;
  font-weight: 600;
  font-size: 20px;
  border-bottom: none;
  border-right: 1px solid #fff;
  background: var(--gray);
}

.cart.cart-form table thead th:not(:nth-child(2)) {
  text-align: center;
}

.cart.cart-form table thead th:first-child {
  border-radius: 30px 0 0 30px;
}

.cart.cart-form table thead th:last-child {
  border-radius: 0 30px 30px 0;
}

.cart.cart-form table tbody td {
  border-bottom: 1px solid var(--gray);
  padding: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-bottom: 30px;
  padding-top: 30px;
  font-size: 20px;
  font-weight: 600;
}

.cart.cart-form table tbody td img {
  display: block;
  width: auto;
  max-width: 100%;
  border-radius: 30px;
  object-fit: cover;
  margin: 0 auto;
}

.cart.cart-form table tbody td input[type="submit"] {
  background: var(--primary);
  text-decoration: none;
  border: none;
  color: #ffffff;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 20px;
  display: block;
  text-align: center;
  margin: 0 auto;
}

.cart.cart-form table tbody td:not(:nth-child(2)) {
  text-align: center;
}

.cart.cart-form .order-total-line {
  font-size: 20px;
}

.cart.cart-form .order-total-line-label {
  margin-right: 10px;
}

.order-total-line__total {
  padding-top: 5px;
  font-weight: bold;
}

.cart.cart-form .order-total-line-label {
  margin-right: 10px;
}

.cart.cart-form .form-actions {
  display: flex;
  gap: 30px;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

.cart.cart-form .form-actions input {
  width: 100%;
  max-width: 350px;
}

.cart.cart-form .form-actions input:last-child {
  background: var(--primary);
  border: none;
  text-decoration: none;
  color: #ffffff;
  padding: 10px 0;
  border-radius: 20px;
  display: block;
  text-align: center;
}

.cart.cart-form .form-actions input:first-child {
  background: #ffffff;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 10px 0;
  border-radius: 20px;
  display: block;
  text-align: center;
  text-decoration: none;
}

.cart.cart-form .field--name-total-price {
  margin-bottom: 30px;
}

@media screen and (max-width: 1024px) {
  .customcheckout-checkout .checkout-order-summary table tbody tr td,
  .customcheckout-checkout .checkout-order-summary table tbody tr td:last-child,
  .customcheckoutreview-checkout .checkout-order-summary table tbody tr td {
    min-width: max-content;
  }
  .customcheckoutreview-checkout
    .checkout-order-summary
    table
    tbody
    tr
    td:not(:first-child) {
    text-align: end;
  }
  .customcheckoutreview-checkout
    .checkout-order-summary
    table
    tbody
    tr
    td:nth-child(2) {
    text-align: revert;
  }
  .cart.cart-form tbody td::before {
    content: attr(data-th);
    display: block;
    text-align: center;
    margin-bottom: 10px;
    background: var(--gray);
    padding: 10px;
    border-radius: 30px;
  }

  .cart.cart-form table thead {
    display: none;
  }

  .cart.cart-form table tr {
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-radius: 30px;
    box-shadow: 0px 1px 6px 0px #d0d0d0;
    margin-bottom: 15px;
  }

  .cart.cart-form table tr:last-child {
    margin-bottom: 0;
  }

  .cart.cart-form table tbody td {
    text-align: center;
  }

  .cart.cart-form table tbody td:last-child {
    border: none;
  }
}

.customcheckout-checkout .layout-checkout-form,
.customcheckoutreview-checkout .layout-checkout-form {
  background: transparent;
}

.customcheckout-checkout .layout-checkout-form.clearfix,
.customcheckoutreview-checkout .layout-checkout-form.clearfix {
  display: flex;
  flex-wrap: wrap;
  max-width: 1464px;
  margin: 30px auto;
  gap: 30px;
  background: #fff;
  border-radius: 30px;
  /* box-shadow: 0px 1px 6px 0px #000; */
  padding: 30px 40px;
}
.js-form-item.form-item.form-type-checkbox.js-form-type-checkbox.form-item-payment-information-billing-information-copy-to-address-book.js-form-item-payment-information-billing-information-copy-to-address-book {
  display: none;
}
.customcheckout-checkout .layout-region.layout-region-checkout-main,
.customcheckoutreview-checkout .layout-region.layout-region-checkout-main {
  padding: 0;
  padding-right: 0px;
  margin: 0;
  width: calc(100% - 100% / 3 - 15px);
  border-right: 1px solid #ccc;
  padding-right: 30px;
}

.customcheckoutreview-checkout fieldset {
  padding: 0;
  margin: 0;
  border: none;
}

.customcheckout-checkout .checkout-pane legend,
.customcheckoutreview-checkout .checkout-pane legend {
  display: block;
  margin-bottom: 20px;
}

.customcheckout-checkout .layout-region-checkout-secondary,
.customcheckoutreview-checkout .layout-region-checkout-secondary {
  width: calc(100% / 3 - 15px);
}

.customcheckout-checkout .layout-region-checkout-footer,
.customcheckoutreview-checkout .layout-region-checkout-footer {
  width: 100%;
  padding: 0;
}

.customcheckout-checkout .layout-region-checkout-secondary h3,
.customcheckoutreview-checkout .layout-region-checkout-secondary h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  margin-bottom: 0px;
  margin-bottom: 20px;
}

.customcheckout-checkout .checkout-pane.checkout-pane-order-summary,
.customcheckoutreview-checkout .checkout-pane.checkout-pane-order-summary {
  position: relative;
  top: 0;
}

.customcheckout-checkout .checkout-order-summary table,
.customcheckoutreview-checkout .checkout-order-summary table {
  width: 100%;
  display: block;
  font-size: 20px;
  margin-bottom: 30px;
}

.customcheckout-checkout .checkout-order-summary table tbody,
.customcheckoutreview-checkout .checkout-order-summary table tbody {
  display: block;
  width: 100%;
}

.customcheckout-checkout .checkout-order-summary table tbody tr,
.customcheckoutreview-checkout .checkout-order-summary table tbody tr {
  display: flex;
  gap: 20px;
  align-items: center;
}

.customcheckout-checkout .checkout-order-summary table tbody tr td,
.customcheckoutreview-checkout .checkout-order-summary table tbody tr td {
  flex-shrink: 1;
}

.customcheckout-checkout
  .checkout-order-summary
  table
  tbody
  tr
  td:not(:first-child),
.customcheckoutreview-checkout
  .checkout-order-summary
  table
  tbody
  tr
  td:not(:first-child) {
  flex-grow: 1;
  width: 100%;
}

.customcheckout-checkout .checkout-order-summary table tbody tr td:last-child,
.customcheckoutreview-checkout.checkout-order-summary
  table
  tbody
  tr
  td:last-child {
  text-align: right;
  flex-shrink: 1;
  width: auto;
}

.customcheckout-checkout .checkout-order-summary .order-total-line,
.customcheckoutreview-checkout .checkout-order-summary .order-total-line {
  padding: 0;
  font-size: 20px;
  margin-bottom: 10px;
}

.customcheckout-checkout .layout-checkout-form .fieldset-legend,
.customcheckoutreview-checkout .layout-checkout-form .fieldset-legend {
  font-size: 20px;
  font-weight: 600;
}

.customcheckout-checkout
  .checkout-order-summary
  .order-total-line
  span:first-child,
.customcheckoutreview-checkout
  .checkout-order-summary
  .order-total-line
  span:first-child {
  margin-right: 20px;
}
.customcheckout-checkout .order-total-line-value,
.customcheckoutreview-checkout .order-total-line-value {
  display: inline-block;
  width: 120px;
  text-align: right;
}

.customcheckout-checkout .checkout-order-summary .order-total-line:last-child,
.customcheckoutreview-checkout
  .checkout-order-summary
  .order-total-line:last-child {
  font-weight: 600;
}

.customcheckout-checkout .checkout-order-summary .field--type-commerce-price,
.customcheckoutreview-checkout
  .checkout-order-summary
  .field--type-commerce-price {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.customcheckout-checkout .checkout-order-summary .field--name-field-stock-level,
.customcheckoutreview-checkout
  .checkout-order-summary
  .field--name-field-stock-level {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  display: none;
}

#edit-payment-information-add-payment-method-payment-details-card-number,
#edit-payment-information-add-payment-method-payment-details-security-code,
#edit-payment-information-add-payment-method-payment-details-expiration {
  width: 100%;
  margin: 0px;
  margin-bottom: 20px;
}

.customcheckout-checkout .layout-checkout-form .js-form-item label,
.customcheckoutreview-checkout .layout-checkout-form .js-form-item label {
  font-size: 20px;
  display: block;
  margin-top: 10px;
}

.customcheckout-checkout .layout-checkout-form .js-form-item input,
.customcheckoutreview-checkout .layout-checkout-form .js-form-item input {
  width: 100%;
  margin-top: 10px;
  box-sizing: border-box;
}

.customcheckout-checkout .layout-checkout-form .address-container-inline,
.customcheckoutreview-checkout .layout-checkout-form .address-container-inline {
  display: flex;
  width: 100%;
  gap: 20px;
}

.customcheckout-checkout .layout-checkout-form .select2-container,
.customcheckoutreview-checkout .layout-checkout-form .select2-container {
  width: 100% !important;
}

.customcheckout-checkout .layout-checkout-form .form-type-checkbox,
.customcheckoutreview-checkout .layout-checkout-form .form-type-checkbox {
  position: relative;
}

.customcheckout-checkout .layout-checkout-form .form-type-checkbox label,
.customcheckoutreview-checkout .layout-checkout-form .form-type-checkbox label {
  padding-right: 30px;
}

.customcheckout-checkout
  .layout-checkout-form
  .address-container-inline
  > .form-item,
.customcheckoutreview-checkout
  .layout-checkout-form
  .address-container-inline
  > .form-item {
  width: 100%;
  margin: 0;
}
.stripe-form .form-text {
  width: 100% !important;
  border: 1px solid rgb(200, 200, 200);
  border-radius: 8px;
  outline: none;
  padding: 11px 28px;
  border: 1px solid #dbdbdb;
  border-radius: 20px;
  padding: 10px 25px;
  font-size: 16px;
}

.customcheckout-checkout .layout-checkout-form .js-form-type-checkbox,
.customcheckoutreview-checkout .layout-checkout-form .js-form-type-checkbox {
  position: relative;
  margin-bottom: 30px;
  margin-top: 30px;
}

.customcheckout-checkout .commerce-checkout-flow,
.customcheckoutreview-checkout .commerce-checkout-flow {
  padding: 0 20px;
}

.customcheckout-checkout .layout-checkout-form .js-form-type-checkbox input,
.customcheckoutreview-checkout
  .layout-checkout-form
  .js-form-type-checkbox
  input {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.customcheckout-checkout .layout-checkout-form .js-form-type-checkbox label,
.customcheckoutreview-checkout
  .layout-checkout-form
  .js-form-type-checkbox
  label {
  font-weight: normal;
  position: relative;
  padding-left: 23px;
  line-height: 16px;
}

.customcheckout-checkout
  .layout-checkout-form
  .js-form-type-checkbox
  label:before,
.customcheckoutreview-checkout
  .layout-checkout-form
  .js-form-type-checkbox
  label:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  box-shadow: 0px 0px 0px 2px var(--gray);
  border-radius: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.customcheckout-checkout
  .layout-checkout-form
  .js-form-type-checkbox
  input[type="checkbox"]:checked
  + label:before,
.customcheckoutreview-checkout
  .layout-checkout-form
  .js-form-type-checkbox
  input[type="checkbox"]:checked
  + label:before {
  background-color: var(--primary);
  border: 2px solid #fff;
}

.customcheckout-checkout .layout-region-checkout-footer .form-actions,
.customcheckoutreview-checkout .layout-region-checkout-footer .form-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-direction: row-reverse;
  flex-wrap: wrap;
}

.customcheckout-checkout .layout-region-checkout-footer input,
.customcheckoutreview-checkout .layout-region-checkout-footer input {
  background: var(--primary);
  border: none;
  text-decoration: none;
  color: #ffffff;
  padding: 10px 0;
  border-radius: 20px;
  display: block;
  text-align: center;
  max-width: 350px;
  width: 100%;
}

.customcheckout-checkout .layout-region-checkout-footer .link--previous,
.customcheckoutreview-checkout .layout-region-checkout-footer .link--previous {
  background: #ffffff;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 10px 0;
  border-radius: 20px;
  display: block;
  text-align: center;
  text-decoration: none;
  width: 100%;
  max-width: 350px;
}

.customcheckout-checkout .form-radios .form-item,
.customcheckoutreview-checkout .form-radios .form-item {
  position: relative;
}

.country.form-select.required {
  width: 100%;
}

.form-radios .form-item input {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.form-radios .form-item label {
  font-weight: normal;
  position: relative;
  padding-left: 23px;
  line-height: 16px;
}

.form-radios .form-item label:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  box-shadow: 0px 0px 0px 2px var(--gray);
  border-radius: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.form-radios .form-item input:checked + label:before {
  background-color: var(--orange);
  border: 2px solid #fff;
}

@media screen and (max-width: 1024px) {
  .customcheckout-checkout .layout-checkout-form.clearfix,
  .customcheckoutreview-checkout .layout-checkout-form.clearfix {
    flex-direction: column;
  }

  .customcheckout-checkout .layout-region.layout-region-checkout-main,
  .customcheckoutreview-checkout .layout-region.layout-region-checkout-main {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid #ccc;
    padding-right: 0;
  }

  .customcheckout-checkout .layout-region-checkout-secondary,
  .customcheckoutreview-checkout .layout-region-checkout-secondary {
    width: 100%;
  }
}
#edit-sidebar-coupon-redemption-form input[type="submit"] {
  background: var(--primary);
  border: none;
  text-decoration: none;
  color: #ffffff;
  padding: 10px 0;
  border-radius: 20px;
  display: block;
  text-align: center;
  max-width: 200px;
  width: 100%;
  margin: 0 auto;
  margin-top: 15px;
}

@media screen and (max-width: 500px) {
  .customcheckout-checkout .layout-checkout-form.clearfix,
  .customcheckoutreview-checkout .layout-checkout-form.clearfix {
    padding-left: 20px;
    padding-right: 20px;
  }
  .customcheckout-checkout .checkout-order-summary .order-total-line,
  .customcheckoutreview-checkout .checkout-order-summary .order-total-line,
  .checkout-order-summary table td {
    font-size: 16px;
  }
}
