:root {
  --etcl-commerce-green: #00b36b;
  --etcl-commerce-orange: #e8641a;
  --etcl-commerce-ink: #172038;
  --etcl-commerce-muted: #627494;
  --etcl-commerce-paper: #f8f6f2;
  --etcl-commerce-line: #ddd5c6;
}

body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-account,
body.post-type-archive-product {
  background: var(--etcl-commerce-paper) !important;
  color: var(--etcl-commerce-ink);
  font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
}

body.woocommerce-cart .elementor-location-header > .e-con,
body.woocommerce-checkout .elementor-location-header > .e-con,
body.woocommerce-account .elementor-location-header > .e-con,
body.post-type-archive-product .elementor-location-header > .e-con {
  background: rgba(23, 32, 56, .82) !important;
  border-bottom: 1px solid rgba(255,255,255,.12) !important;
  box-shadow: 0 16px 40px rgba(23,32,56,.14) !important;
  backdrop-filter: blur(18px);
}

body.woocommerce-cart .site-main,
body.woocommerce-checkout .site-main,
body.woocommerce-account .site-main,
body.post-type-archive-product .site-main {
  background: var(--etcl-commerce-paper) !important;
  min-height: 64vh;
  padding: 132px 0 88px;
}

body.woocommerce-cart .page-header,
body.woocommerce-checkout .page-header,
body.woocommerce-account .page-header,
body.post-type-archive-product .page-header {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 24px !important;
  padding: 0 !important;
}

body.woocommerce-cart .page-content,
body.woocommerce-checkout .page-content,
body.woocommerce-account .page-content,
body.post-type-archive-product .page-content {
  width: min(1180px, calc(100% - 48px));
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

body.woocommerce-cart h1.entry-title,
body.woocommerce-checkout h1.entry-title,
body.woocommerce-account h1.entry-title,
body.post-type-archive-product h1.page-title {
  margin: 0 0 28px !important;
  color: var(--etcl-commerce-ink) !important;
  font-family: Outfit, "Plus Jakarta Sans", sans-serif !important;
  font-size: clamp(42px, 6vw, 76px) !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

body.woocommerce-cart h1.entry-title::after,
body.woocommerce-checkout h1.entry-title::after,
body.woocommerce-account h1.entry-title::after,
body.post-type-archive-product h1.page-title::after {
  content: "";
  display: block;
  width: 84px;
  height: 5px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--etcl-commerce-green), var(--etcl-commerce-orange));
}

.wc-block-cart,
.wc-block-checkout {
  width: 100% !important;
  max-width: 100% !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--etcl-commerce-line);
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 42px rgba(23,32,56,.08);
}

.wp-block-woocommerce-cart.alignwide,
.wp-block-woocommerce-checkout.alignwide {
  width: 100% !important;
  max-width: 100% !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.wp-block-woocommerce-empty-cart-block,
.wc-block-cart__empty-cart__title {
  text-align: center;
}

.wc-block-cart__submit-container,
.wc-block-components-sidebar,
.wc-block-checkout__sidebar {
  border-color: var(--etcl-commerce-line) !important;
}

.wc-block-components-totals-wrapper,
.wc-block-cart-items,
.wc-block-components-order-summary,
.wc-block-components-panel,
.wc-block-components-checkout-step {
  border-color: rgba(221,213,198,.8) !important;
}

.wc-block-components-product-name,
.wc-block-cart-item__total-price-and-sale-badge-wrapper,
.wc-block-components-totals-item__value,
.wc-block-components-order-summary-item__total-price {
  color: var(--etcl-commerce-ink) !important;
  font-weight: 900 !important;
}

.wc-block-components-product-metadata,
.wc-block-components-totals-item__label,
.wc-block-components-checkout-step__description {
  color: var(--etcl-commerce-muted) !important;
}

.wc-block-components-button,
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  min-height: 52px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--etcl-commerce-green) !important;
  color: #fff !important;
  font-weight: 900 !important;
  box-shadow: 0 12px 28px rgba(0,179,107,.22) !important;
}

.wc-block-components-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: #008f56 !important;
  color: #fff !important;
}

.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-text-input input[type=email],
.wc-block-components-form .wc-block-components-text-input input[type=tel],
.wc-block-components-form .wc-block-components-text-input input[type=text] {
  min-height: 52px !important;
  border-color: var(--etcl-commerce-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: var(--etcl-commerce-ink) !important;
}

.wc-block-components-text-input label,
.wc-block-components-combobox .wc-block-components-combobox-control label.components-base-control__label {
  color: var(--etcl-commerce-muted) !important;
}

.wc-block-cart__empty-cart__title,
.wp-block-woocommerce-empty-cart-block h2 {
  color: var(--etcl-commerce-ink) !important;
  font-family: Outfit, "Plus Jakarta Sans", sans-serif !important;
}

.wc-block-grid__product {
  padding: 18px !important;
  border: 1px solid var(--etcl-commerce-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(23,32,56,.06);
}

.wc-block-grid__product-image img {
  border-radius: 12px;
}

.wc-block-grid__product-title {
  color: var(--etcl-commerce-ink) !important;
  font-weight: 900 !important;
}

.wc-block-grid__product-price {
  color: var(--etcl-commerce-orange) !important;
  font-weight: 900 !important;
}

@media (max-width: 767px) {
  body.woocommerce-cart .page-content,
  body.woocommerce-checkout .page-content,
  body.woocommerce-account .page-content,
  body.post-type-archive-product .page-content {
    width: calc(100% - 32px);
  }

  body.woocommerce-cart .site-main,
  body.woocommerce-checkout .site-main,
  body.woocommerce-account .site-main,
  body.post-type-archive-product .site-main {
    padding: 112px 0 64px;
    overflow-x: hidden;
  }

  body.woocommerce-cart .page-header,
  body.woocommerce-checkout .page-header,
  body.woocommerce-account .page-header,
  body.post-type-archive-product .page-header {
    width: calc(100% - 32px);
    margin-bottom: 18px !important;
  }

  body.woocommerce-cart h1.entry-title,
  body.woocommerce-checkout h1.entry-title,
  body.woocommerce-account h1.entry-title,
  body.post-type-archive-product h1.page-title {
    font-size: clamp(42px, 15vw, 58px) !important;
  }

  .wc-block-cart,
  .wc-block-checkout {
    padding: 16px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  body.woocommerce-cart .page-content,
  body.woocommerce-checkout .page-content,
  body.woocommerce-account .page-content,
  body.post-type-archive-product .page-content {
    width: calc(100% - 40px);
  }

  body.woocommerce-cart .site-main,
  body.woocommerce-checkout .site-main,
  body.woocommerce-account .site-main,
  body.post-type-archive-product .site-main {
    padding-top: 126px;
  }

  body.woocommerce-cart .page-header,
  body.woocommerce-checkout .page-header,
  body.woocommerce-account .page-header,
  body.post-type-archive-product .page-header {
    width: calc(100% - 40px);
  }

  .wc-block-cart,
  .wc-block-checkout {
    padding: 22px;
  }

  body.woocommerce-cart h1.entry-title,
  body.woocommerce-checkout h1.entry-title,
  body.woocommerce-account h1.entry-title,
  body.post-type-archive-product h1.page-title {
    font-size: clamp(44px, 8vw, 64px) !important;
  }
}
