/* GPTV WooCommerce cart and checkout */

body.woocommerce-cart,
body.woocommerce-checkout {
  background: #0a0e11;
  color: #ffffff;
}

body.woocommerce-cart .site-content,
body.woocommerce-checkout .site-content {
  background: #0a0e11;
}

body.woocommerce-cart .site-content .ast-container,
body.woocommerce-checkout .site-content .ast-container,
body.woocommerce-cart .ast-container,
body.woocommerce-checkout .ast-container {
  max-width: 1180px;
  padding-left: 24px;
  padding-right: 24px;
}

body.woocommerce-cart #primary,
body.woocommerce-checkout #primary {
  margin-top: 32px;
  margin-bottom: 80px;
}

body.woocommerce-cart .entry-title,
body.woocommerce-checkout .entry-title {
  margin: 0 0 24px;
  color: #ffffff;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 800;
}

body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce {
  color: rgba(255, 255, 255, 0.82);
}

body.woocommerce-cart .woocommerce a,
body.woocommerce-checkout .woocommerce a {
  color: #c4c3ff;
  text-decoration: none;
}

body.woocommerce-cart .woocommerce a:hover,
body.woocommerce-checkout .woocommerce a:hover {
  color: #ffffff;
}

body.woocommerce-cart .woocommerce-notices-wrapper,
body.woocommerce-checkout .woocommerce-notices-wrapper {
  margin-bottom: 18px;
}

body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-error,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-error {
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 1px solid rgba(152, 145, 240, 0.22);
  border-radius: 18px;
  background: rgba(18, 24, 30, 0.94);
  color: #ffffff;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
}

body.woocommerce-cart .woocommerce-error,
body.woocommerce-checkout .woocommerce-error {
  border-color: rgba(255, 80, 130, 0.34);
}

body.woocommerce-cart .woocommerce table.shop_table,
body.woocommerce-checkout .woocommerce table.shop_table {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(15, 21, 31, 0.94);
  color: #ffffff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
}

body.woocommerce-cart .woocommerce table.shop_table th,
body.woocommerce-checkout .woocommerce table.shop_table th {
  padding: 18px;
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.woocommerce-cart .woocommerce table.shop_table thead,
body.woocommerce-cart .woocommerce table.shop_table thead tr,
body.woocommerce-cart .woocommerce table.shop_table thead th {
  background: rgba(18, 24, 30, 0.94);
}

body.woocommerce-cart .woocommerce table.shop_table td,
body.woocommerce-checkout .woocommerce table.shop_table td {
  padding: 18px;
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
}

body.woocommerce-cart .woocommerce table.shop_table .product-name a,
body.woocommerce-checkout .woocommerce table.shop_table .product-name a {
  color: #ffffff;
  font-weight: 800;
}

body.woocommerce-cart .woocommerce table.shop_table .product-thumbnail img {
  width: 76px;
  border-radius: 18px;
  background: #12181e;
}

body.woocommerce-cart .woocommerce a.remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 80, 130, 0.12);
  color: #ff6b9d !important;
  font-size: 22px;
  line-height: 1;
}

body.woocommerce-cart .woocommerce a.remove:hover {
  background: #ff4f82;
  color: #ffffff !important;
}

body.woocommerce-cart .woocommerce .quantity .qty,
body.woocommerce-checkout .woocommerce .quantity .qty,
body.woocommerce-checkout .woocommerce form .form-row input.input-text,
body.woocommerce-checkout .woocommerce form .form-row textarea,
body.woocommerce-checkout .woocommerce form .form-row select,
body.woocommerce-checkout .select2-container--default .select2-selection--single,
body.woocommerce-checkout .select2-container--default .select2-selection--multiple {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: #12181e;
  color: #ffffff;
  box-shadow: none;
}

body.woocommerce-checkout .woocommerce form .form-row textarea {
  min-height: 110px;
  padding: 14px 16px;
}

body.woocommerce-cart .woocommerce .quantity .qty,
body.woocommerce-checkout .woocommerce .quantity .qty {
  width: 76px;
  padding: 0 10px;
  text-align: center;
}

body.woocommerce-checkout .woocommerce form .form-row input.input-text,
body.woocommerce-checkout .woocommerce form .form-row select {
  padding: 0 16px;
}

body.woocommerce-checkout .woocommerce form .form-row input.input-text:focus,
body.woocommerce-checkout .woocommerce form .form-row textarea:focus,
body.woocommerce-checkout .woocommerce form .form-row select:focus,
body.woocommerce-checkout .select2-container--default.select2-container--focus .select2-selection--single,
body.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single {
  border-color: #5e56ff;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(94, 86, 255, 0.18);
}

body.woocommerce-checkout .woocommerce form .form-row label,
body.woocommerce-checkout .woocommerce form .form-row .woocommerce-input-wrapper {
  color: rgba(255, 255, 255, 0.76);
}

body.woocommerce-checkout .woocommerce form .form-row .required {
  color: #ff6b9d;
}

body.woocommerce-cart .cart-collaterals .cart_totals,
body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #order_review,
body.woocommerce-checkout #payment,
body.woocommerce-checkout .woocommerce-order {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(15, 21, 31, 0.94);
  color: #ffffff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
}

body.woocommerce-cart .cart-collaterals .cart_totals h2,
body.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout .woocommerce-shipping-fields h3,
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout .woocommerce-order h2,
body.woocommerce-checkout .woocommerce-order h3 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
}

body.woocommerce-cart .cart-collaterals .cart_totals > h2 {
  background: rgba(15, 21, 31, 0.94);
}

body.woocommerce-checkout #order_review_heading {
  margin-top: 28px;
}

body.woocommerce-cart .woocommerce .coupon {
  display: flex;
  gap: 10px;
}

body.woocommerce-cart .woocommerce .coupon .input-text {
  min-width: 220px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: #12181e;
  color: #ffffff;
}

body.woocommerce-cart .woocommerce .button,
body.woocommerce-cart .woocommerce button.button,
body.woocommerce-cart .woocommerce a.button,
body.woocommerce-cart .woocommerce input.button,
body.woocommerce-checkout .woocommerce .button,
body.woocommerce-checkout .woocommerce button.button,
body.woocommerce-checkout .woocommerce a.button,
body.woocommerce-checkout .woocommerce input.button,
body.woocommerce-checkout .woocommerce #payment #place_order {
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 16px;
  background: #5e56ff;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  line-height: 50px;
  text-decoration: none;
  box-shadow: 0 0 28px rgba(94, 86, 255, 0.28);
  transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
}

body.woocommerce-cart .woocommerce .button:hover,
body.woocommerce-cart .woocommerce button.button:hover,
body.woocommerce-cart .woocommerce a.button:hover,
body.woocommerce-cart .woocommerce input.button:hover,
body.woocommerce-checkout .woocommerce .button:hover,
body.woocommerce-checkout .woocommerce button.button:hover,
body.woocommerce-checkout .woocommerce a.button:hover,
body.woocommerce-checkout .woocommerce input.button:hover,
body.woocommerce-checkout .woocommerce #payment #place_order:hover {
  transform: translateY(-1px);
  background: #9891f0;
  color: #ffffff;
  box-shadow: 0 0 36px rgba(152, 145, 240, 0.34);
}

body.woocommerce-cart .woocommerce .button:disabled,
body.woocommerce-cart .woocommerce .button:disabled[disabled],
body.woocommerce-checkout .woocommerce .button:disabled,
body.woocommerce-checkout .woocommerce .button:disabled[disabled] {
  background: #2a2f3a;
  color: rgba(255, 255, 255, 0.54);
  box-shadow: none;
  opacity: 1;
}

body.woocommerce-checkout .woocommerce #payment {
  background: rgba(15, 21, 31, 0.94);
}

body.woocommerce-checkout .woocommerce #payment ul.payment_methods {
  border-color: rgba(255, 255, 255, 0.08);
}

body.woocommerce-checkout .woocommerce #payment div.payment_box {
  border-radius: 18px;
  background: rgba(94, 86, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
}

body.woocommerce-checkout .woocommerce #payment div.payment_box::before {
  border-bottom-color: rgba(94, 86, 255, 0.1);
}

body.woocommerce-checkout .woocommerce-order .woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
}

body.woocommerce-checkout .woocommerce-order .woocommerce-order-overview li {
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: #12181e;
  color: rgba(255, 255, 255, 0.58);
}

body.woocommerce-checkout .woocommerce-order .woocommerce-order-overview strong {
  color: #ffffff;
}

.wc-block-cart,
.wc-block-checkout {
  color: #ffffff;
}

.wc-block-cart .wc-block-cart-items,
.wc-block-cart .wc-block-cart__totals-title,
.wc-block-cart .wc-block-components-sidebar,
.wc-block-checkout .wc-block-components-sidebar,
.wc-block-checkout .wc-block-components-checkout-step {
  border-color: rgba(255, 255, 255, 0.08);
}

.wc-block-components-button:not(.is-link) {
  border-radius: 16px;
  background: #5e56ff;
  color: #ffffff;
  box-shadow: 0 0 28px rgba(94, 86, 255, 0.28);
}

.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
.wc-block-components-form .wc-block-components-textarea {
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: #12181e;
  color: #ffffff;
}

@media (max-width: 768px) {
  body.woocommerce-cart .site-content .ast-container,
  body.woocommerce-checkout .site-content .ast-container,
  body.woocommerce-cart .ast-container,
  body.woocommerce-checkout .ast-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  body.woocommerce-cart #primary,
  body.woocommerce-checkout #primary {
    margin-top: 20px;
    margin-bottom: 56px;
  }

  body.woocommerce-cart .entry-title,
  body.woocommerce-checkout .entry-title {
    font-size: 28px;
  }

  body.woocommerce-cart .woocommerce table.shop_table_responsive tr,
  body.woocommerce-checkout .woocommerce table.shop_table_responsive tr {
    border-color: rgba(255, 255, 255, 0.08);
  }

  body.woocommerce-cart .woocommerce table.shop_table_responsive tr td::before,
  body.woocommerce-checkout .woocommerce table.shop_table_responsive tr td::before {
    color: rgba(255, 255, 255, 0.58);
  }

  body.woocommerce-cart .woocommerce .coupon {
    flex-direction: column;
  }

  body.woocommerce-cart .woocommerce .coupon .input-text,
  body.woocommerce-cart .woocommerce .coupon .button,
  body.woocommerce-cart .woocommerce table.cart td.actions .button {
    width: 100%;
  }

  body.woocommerce-checkout .woocommerce-order .woocommerce-order-overview {
    grid-template-columns: 1fr;
  }
}
