﻿.woocommerce-cart,
.woocommerce-checkout,
.wc-block-checkout-page {
  background: #f3f7fd;
}

.woocommerce-cart .wc-block-cart,
.woocommerce-checkout .wc-block-checkout,
.wc-block-checkout-page .wc-block-checkout {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.wc-block-components-title,
.wc-block-checkout__sidebar .wc-block-components-title,
.wc-block-checkout__main h2,
.wc-block-checkout__main h3 {
  font-family: "Poppins", sans-serif;
  color: #10243f;
}

.wc-block-checkout__main .wc-block-components-text-input input,
.wc-block-checkout__main .wc-block-components-text-input select,
.wc-block-checkout__main .wc-block-components-text-input textarea,
.wc-block-checkout__main .wc-block-components-address-form__address_1 input,
.wc-block-checkout__main .wc-block-components-address-form__address_2 input {
  border: 1px solid #c8d9ea;
  border-radius: 10px;
  background: #ffffff;
}

.wc-block-checkout__main .wc-block-components-checkbox__input,
.wc-block-checkout__main .wc-block-components-radio-control__input {
  border-color: #9ab6d3;
}

.wc-block-checkout__main,
.wc-block-checkout .wc-block-checkout__main {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.wc-block-checkout__sidebar {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item {
  border-bottom: 0;
  padding-top: 1rem;
  padding-bottom: 1rem;
  display: grid !important;
  grid-template-columns: 64px minmax(0, 1fr) !important;
  column-gap: 0.95rem !important;
  row-gap: 0.45rem !important;
  align-items: start !important;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item.tgtl-order-summary-item--no-image {
  grid-template-columns: minmax(0, 1fr) !important;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item.tgtl-order-summary-item--no-image .wc-block-components-order-summary-item__description,
.wc-block-components-order-summary .wc-block-components-order-summary-item.tgtl-order-summary-item--no-image .wc-block-components-product-name {
  grid-column: 1;
}

.wc-block-components-order-summary {
  border: 2px solid #b9cfe5;
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(15, 45, 76, 0.12);
}

.wc-block-components-order-summary > * {
  background: #ffffff;
}

.wc-block-components-order-summary .wc-block-components-title {
  margin: 0;
  padding: 1rem 1rem 0.95rem;
  border-bottom: 1px solid #d7e5f3;
  background: linear-gradient(180deg, #f7fbff 0%, #eef5fd 100%);
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f2d4c;
  text-align: center !important;
}

.wc-block-components-order-summary-item__description .wc-block-components-product-price {
  display: none;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item__image {
  grid-column: 1;
  grid-row: 1;
  width: 64px;
  min-width: 64px;
  height: 64px;
  border: 1px solid #d3e2f2;
  border-radius: 12px;
  background: #f6faff;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(15, 45, 76, 0.08);
}

.wc-block-components-order-summary .wc-block-components-order-summary-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wc-block-components-order-summary .wc-block-components-product-name {
  display: block;
  grid-column: 2;
  font-family: "Poppins", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
  color: #10243f;
  margin: 0;
  padding-right: 0;
}

.wc-block-components-order-summary .tgtl-order-summary-plan {
  display: block;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.25;
  color: #10243f;
}

.wc-block-components-order-summary .tgtl-order-summary-duration {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.35;
  color: #5c7187;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item__description {
  grid-column: 2;
  min-width: 0;
  margin: 0;
  display: block !important;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item__total-price {
  display: none !important;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item + .wc-block-components-order-summary-item {
  border-top: 1px solid #e8eff7;
}

.wc-block-components-order-summary .wc-block-components-product-metadata,
.wc-block-components-order-summary .wc-block-components-order-summary-item__description > *:not(.wc-block-components-product-name):not(.wc-block-components-product-price) {
  margin-top: 0.2rem;
  color: #48627e;
  font-size: 0.86rem;
  line-height: 1.35;
}

.wc-block-components-order-summary .wc-block-formatted-money-amount {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0f2d4c;
}

.wc-block-components-order-summary .wc-block-components-totals-item,
.wc-block-components-order-summary .wc-block-components-order-summary-item {
  padding-left: 1rem;
  padding-right: 1rem;
}

.wc-block-components-order-summary .wc-block-components-totals-item:not(.wc-block-components-totals-footer-item) {
  display: none !important;
}

.wc-block-components-order-summary .wc-block-components-totals-item--subtotal,
.wc-block-components-order-summary .wc-block-components-totals-item--estimated-total {
  display: none !important;
}

.wc-block-components-order-summary .wc-block-components-totals-item__label {
  font-family: "Poppins", sans-serif;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item__total-price {
  display: none !important;
}

.wc-block-components-order-summary .wc-block-components-order-summary__button-text,
.wc-block-components-order-summary .wc-block-components-panel__button {
  color: #607488;
  font-size: 0.9rem;
  font-weight: 500;
}

.wc-block-components-order-summary .wc-block-components-panel__button {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.wc-block-components-order-summary .wc-block-components-totals-footer-item {
  background: #eef6ff;
  border-top: 1px solid #d7e5f3;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.wc-block-components-order-summary .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #48627e;
}

.wc-block-components-order-summary .wc-block-components-totals-footer-item .wc-block-formatted-money-amount {
  font-family: "Poppins", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #0f2d4c;
}

.wc-block-checkout .wc-block-components-button.wc-block-components-checkout-place-order-button,
.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
.wc-block-cart__submit-button,
.wc-block-cart__submit-container .wc-block-components-button,
.wc-block-components-checkout-return-to-cart-button,
.wc-block-components-checkout-return-to-cart-button:visited,
.wc-block-components-checkout-return-to-cart-button:active {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.25rem !important;
  border-radius: 10px !important;
  border: 2px solid transparent !important;
  background: #28a745 !important;
  color: #ffffff !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: none;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.wc-block-checkout .wc-block-components-button.wc-block-components-checkout-place-order-button:hover,
.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover,
.wc-block-cart__submit-button:hover,
.wc-block-cart__submit-container .wc-block-components-button:hover,
.wc-block-components-checkout-return-to-cart-button:hover {
  background: #1e8035 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(40, 167, 69, 0.35);
  transform: translateY(-1px);
  text-decoration: none !important;
}

.wc-block-components-checkout-return-to-cart-button::before,
.wc-block-components-checkout-return-to-cart-button::after,
.wc-block-components-checkout-return-to-cart-button svg {
  display: none !important;
  content: none !important;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item__description .wc-block-components-product-name {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.45 !important;
  white-space: normal !important;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item__description .wc-block-components-product-price {
  display: none !important;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item__total-price .wc-block-formatted-money-amount {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

@media (max-width: 900px) {
  .woocommerce-cart .wc-block-cart,
  .woocommerce-checkout .wc-block-checkout,
  .wc-block-checkout-page .wc-block-checkout {
    padding: 0;
  }
}

.woocommerce-cart .wp-block-woocommerce-cart-cross-sells-block,
.woocommerce-cart .wp-block-woocommerce-cart-cross-sells-block + .wp-block-heading,
.woocommerce-cart .wp-block-product-new {
  display: none !important;
}
