/* CART COLORS */
:root {
  --primary: #f00020;
  --primary-light: #ff4d5a;
  --secondary: #333;
}
/* CART COLORS */

/* FONT GENERAL PENTRU CHECKOUT */
.customcheckoutreview-checkout,
.customcheckout-checkout,
.customcart-checkout {
  font-family: "Raleway";
}
/* 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%;

  padding-top: 40px;
  padding: 40px 20px;
}
.cart.cart-form .views-element-container .views-form form {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.cart.cart-form .views-element-container .views-form form .cart-left-sidebar {
  border-radius: 20px;
  background: #fff;
  height: 272px;
  box-shadow: 0px 1px 6px 0px #d0d0d0;
  max-width: 384px;
  padding: 16px;
  box-sizing: border-box;
  width: 100%;
}
.customcart-checkout #edit-actions {
  margin-top: 20px;
}
.cart.cart-form table thead th:first-child {
  background-color: var(--red);
  color: #fff;
  border-radius: 0 !important;
}
.cart.cart-form .order-total-line {
  padding: 0;
}
.cart.cart-form .order-total-line {
  text-align: unset;
  display: flex;
  width: 100%;
  justify-content: space-between;
}
.cart.cart-form table thead th:nth-child(2),
.cart.cart-form table thead th:nth-child(3) {
  /* display: none; */
}

.cart.cart-form table tbody td:nth-child(2),
.cart.cart-form table tbody td:nth-child(3) {
  /* display: none; */
}
.cart.cart-form .views-element-container .views-form form table {
  background: #fff;
  border-radius: 20px;
  height: 220px;
  max-width: 384px;
  overflow: hidden;
  width: 100%;
  box-shadow: 0px 1px 6px 0px #d0d0d0;
}
.customcart-checkout #edit-actions {
  gap: 10px;
}
.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(--red);
  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(--red);
  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(--red);
  border: 1px solid var(--red);
  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 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;
}

.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: sticky;
  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(--red);
  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: 20px;
  flex-direction: row-reverse;
  flex-wrap: wrap;
}

.customcheckout-checkout .layout-region-checkout-footer input,
.customcheckoutreview-checkout .layout-region-checkout-footer input {
  background: var(--red);
  border: none;
  text-decoration: none;
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 24px;
  display: block;
  text-align: center;
  max-width: 350px;
  width: 100%;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  min-height: 50px;
}

.customcheckout-checkout .layout-region-checkout-footer input:hover,
.customcheckoutreview-checkout .layout-region-checkout-footer input:hover {
  background: #c0352b;
  transform: translateY(-1px);
  box-shadow: 0px 2px 6px rgba(217, 61, 51, 0.15);
}

.customcheckout-checkout .layout-region-checkout-footer input:active,
.customcheckoutreview-checkout .layout-region-checkout-footer input:active {
  transform: translateY(0);
  box-shadow: 0px 1px 3px rgba(217, 61, 51, 0.1);
}

.customcheckout-checkout .layout-region-checkout-footer .link--previous,
.customcheckoutreview-checkout .layout-region-checkout-footer .link--previous {
  background: #ffffff;
  color: var(--red);
  border: 2px solid var(--red);
  padding: 14px 32px;
  border-radius: 24px;
  display: block;
  text-align: center;
  text-decoration: none;
  width: 100%;
  max-width: 350px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  min-height: 50px;
}

.customcheckout-checkout .layout-region-checkout-footer .link--previous:hover,
.customcheckoutreview-checkout .layout-region-checkout-footer .link--previous:hover {
  background: var(--red);
  color: #ffffff;
  border-color: var(--red);
  transform: translateY(-1px);
  box-shadow: 0px 2px 6px rgba(217, 61, 51, 0.15);
}

.customcheckout-checkout .layout-region-checkout-footer .link--previous:active,
.customcheckoutreview-checkout .layout-region-checkout-footer .link--previous:active {
  transform: translateY(0);
  box-shadow: 0px 1px 3px rgba(217, 61, 51, 0.1);
}

.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%;
  }

  .customcheckout-checkout .layout-region-checkout-footer .form-actions,
  .customcheckoutreview-checkout .layout-region-checkout-footer .form-actions {
    flex-direction: column;
    gap: 15px;
  }

  .customcheckout-checkout .layout-region-checkout-footer input,
  .customcheckoutreview-checkout .layout-region-checkout-footer input,
  .customcheckout-checkout .layout-region-checkout-footer .link--previous,
  .customcheckoutreview-checkout .layout-region-checkout-footer .link--previous {
    max-width: 100%;
    width: 100%;
  }
}
#edit-sidebar-coupon-redemption-form input[type="submit"] {
  background: var(--red);
  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;
  }

  .customcheckout-checkout .layout-region-checkout-footer input,
  .customcheckoutreview-checkout .layout-region-checkout-footer input,
  .customcheckout-checkout .layout-region-checkout-footer .link--previous,
  .customcheckoutreview-checkout .layout-region-checkout-footer .link--previous {
    padding: 12px 24px;
    font-size: 15px;
    min-height: 48px;
  }

  .customcheckout-checkout .layout-region-checkout-footer .form-actions,
  .customcheckoutreview-checkout .layout-region-checkout-footer .form-actions {
    gap: 12px;
  }
}
.cart.cart-form .views-element-container .views-form form table {
  display: flex;
  flex-direction: column;
}
.cart.cart-form .views-element-container .views-form form table tr th {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cart.cart-form .views-element-container .views-form form table {
  height: auto !important;
}
.cart.cart-form
  .views-element-container
  .views-form
  form
  table
  .firstcolumn-product,
.cart.cart-form
  .views-element-container
  .views-form
  form
  table
  .secondcolumn-product,
.cart.cart-form
  .views-element-container
  .views-form
  form
  table
  .threecolumn-product {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  max-width: 100%;
  width: 100%;
}
.threecolumn-product td,
.secondcolumn-product td,
.firstcolumn-product td {
  padding: 10px 5px !important;
}

.cart.cart-form .views-element-container .views-form form .cart-left-sidebar {
  height: max-content !important;
}
.firstcolumn-productth th:last-child,
.secondcolumn-productth th:last-child,
.threecolumn-productth th:last-child {
  display: none !important;
}
.firstcolumn-productth,
.secondcolumn-productth,
.threecolumn-productth {
  width: 100%;
}
.cart.cart-form table tr {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
}
.qty-plus {
  border-radius: 0;
  height: 40px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  background: #fff;
  background-color: #fff;
  border: 1px solid var(--red);
  box-sizing: border-box;
  color: var(--red);
  cursor: pointer;
  padding-left: 5px;
  padding-right: 5px;
}
.qty-minus {
  border-radius: 0;
  height: 40px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  background: #fff;
  background-color: #fff;
  border: 1px solid var(--red);
  color: var(--red);
  box-sizing: border-box;
  cursor: pointer;
  padding-left: 5px;
  padding-right: 5px;
}
.quantity-wrapper input {
  text-align: center;
  height: 40px;
  box-sizing: border-box;
  color: var(--red);
  max-width: 45px;
  font-size: 16px;
  border: 1px solid var(--red);
  border-left: none;
  border-right: none;
}
.quantity-wrapper {
  display: flex;
  align-items: center;
}
.cart.cart-form table tbody td {
  font-size: 16px;
}
@media (max-width: 600px) {
  .cart.cart-form table tr {
    display: flex !important;
    flex-direction: column;
    align-items: center;
  }
  .cart.cart-form .views-element-container .views-form form .cart-left-sidebar {
    max-width: 100%;
    width: 100%;
  }
  .firstcolumn-productth,
  .secondcolumn-productth,
  .threecolumn-productth {
    display: none;
  }
  .cart.cart-form
    .views-element-container
    .views-form
    form
    table
    .firstcolumn-product::before {
    content: "Produkt";
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--red);
    color: #fff;
    height: 63px;
  }
  .cart.cart-form
    .views-element-container
    .views-form
    form
    table
    .secondcolumn-product::before {
    content: "Verkäufer";
    width: 100%;
    height: 63px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--red);
    color: #fff;
  }
  .cart.cart-form
    .views-element-container
    .views-form
    form
    table
    .threecolumn-product::before {
    content: "Anzahl";
    width: 100%;
    height: 63px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--red);
    color: #fff;
  }
}
.customcheckout-checkout
  .checkout-order-summary
  .order-total-line
  span:first-child {
  flex-grow: 1;
}
.layout-checkout-form
  .js-form-item-payment-information-billing-information-address-0-address-address-line2 {
  display: none;
}

/* Checkout login + guest container: tighter spacing, side-by-side on desktop */
.checkout-login-guest-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-top: 20px;
  margin-bottom: 28px;
  padding: 0 20px;
}

/* Compact login pane when in checkout (so both fit on one screen) */
.checkout-login-guest-container .checkout-login-pane .register {
  padding-top: 0;
  padding-bottom: 0;
}

.checkout-login-guest-container .checkout-login-pane .register .container {
  margin-bottom: 0;
  padding-bottom: 0;
}

.checkout-login-guest-container .checkout-login-pane .register h1 {
  margin-top: 0;
  margin-bottom: 12px;
}

.checkout-login-guest-container .checkout-login-pane .register .form {
  margin-bottom: 8px;
}

.checkout-login-guest-container .checkout-login-pane .register .input-container {
  margin-bottom: 10px;
}

.checkout-login-guest-container .checkout-login-pane .register .create-account,
.checkout-login-guest-container .checkout-login-pane .register .forgot-pas {
  display: block;
  margin-top: 6px;
  font-size: 13px;
}

/* Checkout divider between login and guest - reduced spacing */
.checkout-login-guest-container .checkout-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 14px 0;
  gap: 12px;
  padding: 0 16px;
  flex-shrink: 0;
}

.checkout-divider .divider-line {
  flex: 1;
  max-width: 150px;
  height: 1px;
  background: linear-gradient(to right, transparent, #ddd, transparent);
}

.checkout-divider .divider-text {
  color: #999;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

@media screen and (max-width: 767px) {
  .checkout-login-guest-container {
    margin-top: 24px;
    margin-bottom: 32px;
  }

  .checkout-login-guest-container .checkout-divider {
    margin: 20px 0;
    gap: 10px;
  }

  .checkout-divider .divider-line {
    max-width: 100px;
  }

  .checkout-divider .divider-text {
    font-size: 12px;
  }
}

/* Desktop: login and guest side by side, with top/bottom breathing room */
@media screen and (min-width: 768px) {
  .checkout-login-guest-container {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }

  .checkout-login-guest-container .checkout-login-pane {
    flex: 1;
    min-width: 0;
    max-width: 380px;
  }

  .checkout-login-guest-container .checkout-divider {
    flex-direction: column;
    margin: 0;
    padding: 0 8px;
    width: auto;
    align-self: center;
  }

  .checkout-login-guest-container .checkout-divider .divider-line {
    width: 1px;
    height: 40px;
    max-width: none;
    background: linear-gradient(to bottom, transparent, #ddd, transparent);
  }

  .checkout-login-guest-container .checkout-guest-wrapper {
    flex: 1;
    min-width: 0;
    max-width: 380px;
    margin: 0;
    padding: 0;
    align-items: center;
  }
}

/* Checkout login guest area - no card, clean centered content */
.checkout-guest-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0 20px;
}

/* Guest block: no card – border, shadow, background removed for cleaner look */
#edit-login-guest,
.checkout-guest-wrapper .form-wrapper__guest-checkout,
.checkout-pane-login .form-wrapper__guest-checkout,
.form-wrapper__guest-checkout {
  border: none !important;
  border-radius: 0 !important;
  padding: 16px 20px 12px !important;
  margin-bottom: 0 !important;
  background: transparent !important;
  width: 100%;
  max-width: 500px;
  box-shadow: none !important;
  transition: opacity 0.2s ease !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

#edit-login-guest:hover,
.checkout-guest-wrapper .form-wrapper__guest-checkout:hover,
.checkout-pane-login .form-wrapper__guest-checkout:hover,
.form-wrapper__guest-checkout:hover {
  box-shadow: none !important;
  opacity: 1 !important;
}

/* Legend: full width + center so "Als Gast zur Kasse" is centered (legend has default padding in browsers) */
#edit-login-guest legend,
.checkout-guest-wrapper .form-wrapper__guest-checkout legend,
.checkout-pane-login .form-wrapper__guest-checkout legend {
  width: 100% !important;
  max-width: 100% !important;
  text-align: center !important;
  padding: 0 !important;
  margin: 0 0 12px 0 !important;
  float: none !important;
  display: block !important;
  box-sizing: border-box !important;
}

#edit-login-guest .fieldset-legend,
#edit-login-guest legend .fieldset-legend,
.checkout-guest-wrapper .form-wrapper__guest-checkout .fieldset-legend,
.checkout-pane-login .form-wrapper__guest-checkout .fieldset-legend,
.form-wrapper__guest-checkout .fieldset-legend {
  font-size: 18px !important;
  font-weight: 700 !important;
  text-align: center !important;
  color: #333 !important;
  padding: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
}

#edit-login-guest .fieldset-wrapper,
.checkout-guest-wrapper .form-wrapper__guest-checkout .fieldset-wrapper,
.checkout-pane-login .form-wrapper__guest-checkout .fieldset-wrapper,
.form-wrapper__guest-checkout .fieldset-wrapper {
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

#edit-login-guest .fieldset-wrapper p,
.checkout-guest-wrapper .form-wrapper__guest-checkout .fieldset-wrapper p,
.checkout-pane-login .form-wrapper__guest-checkout .fieldset-wrapper p,
.form-wrapper__guest-checkout .fieldset-wrapper p {
  margin: 0 0 14px 0 !important;
  font-size: 14px !important;
  color: #555 !important;
  line-height: 1.5 !important;
  padding: 0 8px !important;
  text-align: center !important;
  max-width: 100% !important;
}

#edit-login-guest input[type="submit"],
.checkout-guest-wrapper .form-wrapper__guest-checkout input[type="submit"],
.checkout-pane-login .form-wrapper__guest-checkout input[type="submit"],
.form-wrapper__guest-checkout input[type="submit"] {
  background: #ffffff !important;
  color: var(--red) !important;
  border: 2px solid var(--red) !important;
  padding: 14px 32px !important;
  border-radius: 24px !important;
  display: inline-block !important;
  text-align: center !important;
  width: auto !important;
  min-width: 240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  cursor: pointer !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

#edit-login-guest input[type="submit"]:hover,
.checkout-guest-wrapper .form-wrapper__guest-checkout input[type="submit"]:hover,
.checkout-pane-login .form-wrapper__guest-checkout input[type="submit"]:hover,
.form-wrapper__guest-checkout input[type="submit"]:hover {
  background: var(--red) !important;
  color: #ffffff !important;
  border-color: var(--red) !important;
  box-shadow: 0px 2px 6px rgba(217, 61, 51, 0.15) !important;
  transform: translateY(-1px);
}

#edit-login-guest input[type="submit"]:active,
.checkout-guest-wrapper .form-wrapper__guest-checkout input[type="submit"]:active,
.checkout-pane-login .form-wrapper__guest-checkout input[type="submit"]:active,
.form-wrapper__guest-checkout input[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0px 1px 3px rgba(217, 61, 51, 0.1) !important;
}

@media screen and (max-width: 600px) {
  .checkout-guest-wrapper {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0 15px;
  }

  /* Guest block stays cardless on mobile, with a little spacing */
  #edit-login-guest,
  .checkout-guest-wrapper .form-wrapper__guest-checkout,
  .checkout-pane-login .form-wrapper__guest-checkout,
  .form-wrapper__guest-checkout {
    padding: 12px 12px 8px !important;
    max-width: 100%;
  }

  #edit-login-guest .fieldset-legend,
  .checkout-guest-wrapper .form-wrapper__guest-checkout .fieldset-legend,
  .checkout-pane-login .form-wrapper__guest-checkout .fieldset-legend,
  .form-wrapper__guest-checkout .fieldset-legend {
    font-size: 16px !important;
    margin-bottom: 10px !important;
  }

  #edit-login-guest .fieldset-wrapper p,
  .checkout-guest-wrapper .form-wrapper__guest-checkout .fieldset-wrapper p,
  .checkout-pane-login .form-wrapper__guest-checkout .fieldset-wrapper p,
  .form-wrapper__guest-checkout .fieldset-wrapper p {
    font-size: 13px !important;
    margin-bottom: 12px !important;
  }

  #edit-login-guest input[type="submit"],
  .checkout-guest-wrapper .form-wrapper__guest-checkout input[type="submit"],
  .checkout-pane-login .form-wrapper__guest-checkout input[type="submit"],
  .form-wrapper__guest-checkout input[type="submit"] {
    width: 100% !important;
    min-width: auto !important;
    padding: 12px 20px !important;
  }
}
