body.woocommerce-cart,
body.woocommerce-checkout {
  --andes-green: #1f3d2b;
  --andes-brown: #7a5230;
  --andes-linen: #f4f1ec;
  --andes-mist: #d6d6d6;
  --andes-coal: #1a1a1a;
  --andes-sun: #aeed11;
  --andes-accent: #aeed11;
  background: var(--andes-linen);
  color: var(--andes-coal);
}

/* SKT Minimal reserva un sidebar incluso cuando está vacío. En compra usamos el contenedor completo. */
body.theme-skt-minimal.woocommerce-cart .site-main,
body.theme-skt-minimal.woocommerce-checkout .site-main {
  float: none;
  width: 100%;
  max-width: 100%;
}

body.theme-skt-minimal.woocommerce-cart #sidebar,
body.theme-skt-minimal.woocommerce-checkout #sidebar {
  display: none;
}

body.theme-skt-minimal.woocommerce-cart .entry-content,
body.theme-skt-minimal.woocommerce-checkout .entry-content {
  width: 100%;
  max-width: none;
}

body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce {
  box-sizing: border-box;
  width: min(1180px, calc(100% - 32px));
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.andes-commerce-purchase-header {
  margin: 2rem 0 1.25rem;
  text-align: center;
}

.andes-commerce-purchase-header .andes-commerce-eyebrow {
  margin: 0 0 0.35rem;
  color: var(--andes-brown);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.andes-commerce-purchase-header .andes-commerce-title {
  margin: 0;
  color: var(--andes-coal);
  font-size: clamp(1.8rem, 4vw, 2.65rem);
  line-height: 1.1;
}

.andes-commerce-purchase-header > p:last-child {
  margin: 0.65rem 0 0;
  color: #5b5b5b;
}

.andes-commerce-steps {
  display: grid;
  grid-template-columns: auto minmax(24px, 90px) auto minmax(24px, 90px) auto;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: #5b5b5b;
  font-size: 0.82rem;
}

.andes-commerce-steps > span:not(.andes-commerce-step-line) {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  white-space: nowrap;
}

.andes-commerce-steps i {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--andes-mist);
  border-radius: 50%;
  background: #fff;
  font-style: normal;
  font-weight: 700;
}

.andes-commerce-steps .is-active,
.andes-commerce-steps .is-complete {
  color: var(--andes-green);
  font-weight: 700;
}

.andes-commerce-steps .is-active i,
.andes-commerce-steps .is-complete i {
  border-color: var(--andes-green);
  background: var(--andes-green);
  color: #fff;
}

.andes-commerce-step-line {
  height: 1px;
  margin: 0 0.65rem;
  background: var(--andes-mist);
}

/* Carrito clásico y bloque oficial. */
body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals .cart_totals,
body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-cart .wc-block-cart__sidebar,
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-additional-fields,
body.woocommerce-checkout #order_review,
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  box-sizing: border-box;
  border: 1px solid #e1ddd6;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(31, 61, 43, 0.06);
}

body.woocommerce-cart .woocommerce-cart-form {
  padding: 0.5rem 1.25rem;
}

/* El tema V10 puede envolver el div nativo de WooCommerce en otro `.woocommerce`.
   La cuadrícula se aplica sólo al nodo que contiene directamente el formulario;
   aplicarla a ambos comprime el carrito dos veces. */
body.woocommerce-cart .woocommerce {
  display: block;
}

body.woocommerce-cart .woocommerce:has(> .woocommerce-cart-form) {
  display: grid;
  grid-template-columns: minmax(620px, 1fr) minmax(320px, 360px);
  gap: 1.5rem;
  align-items: start;
}

body.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper,
body.woocommerce-cart .woocommerce > .andes-commerce-purchase-header,
body.woocommerce-cart .woocommerce > .andes-commerce-steps,
body.woocommerce-cart .woocommerce > .cart-empty,
body.woocommerce-cart .woocommerce > .return-to-shop {
  grid-column: 1 / -1;
}

body.woocommerce-cart .woocommerce > .woocommerce-cart-form {
  grid-column: 1;
  min-width: 0;
}

body.woocommerce-cart .woocommerce > .cart-collaterals {
  grid-column: 2;
  min-width: 0;
}

body.woocommerce-cart table.shop_table {
  width: 100%;
  table-layout: auto;
  border: 0;
  border-collapse: collapse;
}

body.woocommerce-cart table.shop_table th {
  padding: 1rem 0.75rem;
  color: #686868;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

body.woocommerce-cart table.shop_table td {
  padding: 1.2rem 0.75rem;
  border-top: 1px solid #ece8e2;
}

body.woocommerce-cart td.product-thumbnail img,
body.woocommerce-cart .wc-block-cart-item__image img {
  width: 86px;
  border-radius: 10px;
  aspect-ratio: 1;
  object-fit: cover;
}

body.woocommerce-cart td.product-name a,
body.woocommerce-cart .wc-block-components-product-name {
  color: var(--andes-coal);
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: break-word;
  word-break: normal;
}

body.woocommerce-cart a.remove {
  display: inline-grid; width: 2rem; height: 2rem; place-items: center;
  border: 1px solid #ddd7cf; border-radius: 50%; background: #fff;
  color: #666 !important; font-size: 1.2rem; font-weight: 400; line-height: 1;
}

body.woocommerce-cart a.remove:hover {
  border-color: #d7bcb6;
  background: #f5e9e5;
  color: #8d2f22 !important;
}

body.woocommerce-cart .quantity .qty,
body.woocommerce-checkout input.input-text,
body.woocommerce-checkout textarea,
body.woocommerce-checkout select,
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox-control input {
  min-height: 48px;
  border: 1px solid #cfcac2;
  border-radius: 8px;
  background: #fff;
  color: var(--andes-coal);
}

body.woocommerce-checkout .select2-container .select2-selection--single {
  min-height: 48px;
  border: 1px solid #cfcac2;
  border-radius: 8px;
}

body.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered,
body.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow {
  height: 46px;
  line-height: 46px;
}

body.woocommerce-checkout .select2-container--focus .select2-selection--single {
  outline: 3px solid rgba(174, 237, 17, 0.45);
  outline-offset: 2px;
}

body.woocommerce-checkout input.input-text,
body.woocommerce-checkout textarea,
body.woocommerce-checkout select {
  box-sizing: border-box;
  width: 100%;
  padding: 0.7rem 0.8rem;
}

body.woocommerce-checkout .form-row label {
  margin-bottom: 0.3rem;
  color: #4e4e4e;
  font-size: 0.82rem;
  font-weight: 700;
}

body.woocommerce-checkout #customer_details .form-row {
  margin-bottom: 0.9rem;
}

body.woocommerce-checkout #customer_details input.input-text,
body.woocommerce-checkout #customer_details textarea,
body.woocommerce-checkout #customer_details .select2-selection--single {
  border-color: #d7d1c7;
  background: #fcfbf8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

body.woocommerce-checkout #customer_details input.input-text:focus,
body.woocommerce-checkout #customer_details textarea:focus,
body.woocommerce-checkout #customer_details .select2-container--focus .select2-selection--single {
  border-color: var(--andes-green);
  outline: 3px solid rgba(31, 61, 43, 0.12);
  outline-offset: 1px;
}

body.woocommerce-checkout #customer_details .andes-commerce-field-group {
  clear: both;
  margin: 1.5rem 0 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e1ddd6;
}

body.woocommerce-checkout #customer_details .andes-commerce-field-group:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

body.woocommerce-checkout #customer_details .andes-commerce-field-group h4 {
  margin: 0 0 0.25rem;
  color: var(--andes-coal);
  font-size: 1rem;
  letter-spacing: -0.01em;
}

body.woocommerce-checkout #customer_details .andes-commerce-field-group p {
  margin: 0;
  color: #6d6860;
  font-size: 0.8rem;
  line-height: 1.5;
}

body.woocommerce-checkout #customer_details .optional {
  color: #79736b;
  font-weight: 500;
}

body.woocommerce-checkout #billing_country_field .woocommerce-input-wrapper strong,
body.woocommerce-checkout #shipping_country_field .woocommerce-input-wrapper strong {
  display: block;
  min-height: 48px;
  box-sizing: border-box;
  padding: 0.85rem;
  border: 1px solid #e1ddd6;
  border-radius: 8px;
  background: #f6f3ee;
}

body.woocommerce-cart .cart-collaterals .cart_totals {
  float: none;
  width: 100%;
  padding: 1.35rem;
}

@media (min-width: 821px) {
  body.woocommerce-cart table.shop_table .product-remove {
    width: 34px;
  }

  body.woocommerce-cart table.shop_table .product-thumbnail {
    width: 92px;
  }

  body.woocommerce-cart table.shop_table .product-price,
  body.woocommerce-cart table.shop_table .product-subtotal {
    width: 102px;
  }

  body.woocommerce-cart table.shop_table .product-quantity {
    width: 112px;
  }
}

body.woocommerce-cart .cart-collaterals .cart_totals h2,
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout .woocommerce-billing-fields h3 {
  color: var(--andes-coal);
  font-size: 1.25rem;
}

body.woocommerce-cart .cart-collaterals .cart_totals table th,
body.woocommerce-cart .cart-collaterals .cart_totals table td,
body.woocommerce-checkout #order_review table th,
body.woocommerce-checkout #order_review table td {
  padding: 0.9rem 0.35rem;
  border-color: #ece8e2;
}

body.woocommerce-cart td.actions { padding: 1rem !important; }

body.woocommerce-cart td.actions .coupon {
  display: flex; float: left; width: min(100%, 28rem); gap: .55rem; align-items: stretch;
}

body.woocommerce-cart td.actions .coupon .input-text {
  flex: 1 1 12rem; width: auto !important; min-width: 0; min-height: 52px;
  padding: .7rem .8rem; border: 1px solid #cfcac2; border-radius: 8px;
}

body.woocommerce-cart td.actions .coupon button {
  flex: 0 0 auto; min-height: 52px; border: 1px solid var(--andes-green) !important;
  background: #fff !important; color: var(--andes-green) !important;
}

body.woocommerce-cart td.actions .coupon button:hover { background: #edf2ee !important; }

.andes-commerce-total-note td {
  padding: 1rem !important;
  border: 1px solid #d6dfd8 !important;
  border-radius: 8px;
  background: #f1f5f2;
  color: #4f5d54;
  font-size: 0.78rem;
  line-height: 1.55;
}

.andes-commerce-total-note strong {
  color: var(--andes-green);
}

body.woocommerce-cart .checkout-button,
body.woocommerce-cart button[name="update_cart"],
body.woocommerce-checkout #place_order,
body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  background: var(--andes-green) !important;
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: none;
  transition: background 160ms ease, transform 160ms ease;
}

body.woocommerce-cart .checkout-button:hover,
body.woocommerce-cart button[name="update_cart"]:hover,
body.woocommerce-checkout #place_order:hover,
body.woocommerce-cart .wc-block-cart__submit-button:hover,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
  background: #162d20 !important;
  transform: translateY(-1px);
}

body.woocommerce-cart button[name="update_cart"] {
  float: right; border: 1px solid #cbd5ce !important;
  background: #edf2ee !important; color: var(--andes-green) !important;
}

body.woocommerce-cart button[name="update_cart"]:not(:disabled):hover { background: #dfe9e2 !important; }
body.woocommerce-cart button[name="update_cart"]:disabled { opacity: .58; cursor: not-allowed; }

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
body.woocommerce-checkout #place_order { width: 100%; font-size: 1rem; text-align: center; }

body.woocommerce-cart #shipping_method,
body.woocommerce-checkout #shipping_method { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }

body.woocommerce-cart #shipping_method li,
body.woocommerce-checkout #shipping_method li { display: grid; grid-template-columns: 1.1rem minmax(0, 1fr); gap: .45rem; align-items: start; margin: 0; }

body.woocommerce-cart #shipping_method label,
body.woocommerce-checkout #shipping_method label { line-height: 1.45; }

/* El CTA flotante compite con totales, despacho y pago en pantallas pequeñas. */
@media (max-width: 820px) {
  body.woocommerce-cart :is(#ht-ctc-chat, .ht-ctc-chat, .joinchat, .qlwapp),
  body.woocommerce-checkout :is(#ht-ctc-chat, .ht-ctc-chat, .joinchat, .qlwapp) {
    display: none !important;
  }
}

body.woocommerce-cart .checkout-button:focus-visible,
body.woocommerce-cart button:focus-visible,
body.woocommerce-checkout button:focus-visible,
body.woocommerce-checkout input:focus-visible,
body.woocommerce-checkout select:focus-visible,
body.woocommerce-checkout textarea:focus-visible {
  outline: 3px solid rgba(174, 237, 17, 0.45);
  outline-offset: 2px;
}

/* Checkout clásico: información a la izquierda, resumen estable a la derecha. */
body.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 1040px) {
  body.woocommerce-cart .woocommerce:has(> .woocommerce-cart-form),
  body.woocommerce-checkout form.checkout {
    display: block;
  }

  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .cart-collaterals,
  body.woocommerce-checkout form.checkout #order_review {
    margin-bottom: 1rem;
  }

  body.woocommerce-checkout form.checkout #order_review_heading {
    margin: 1.5rem 0 .75rem;
  }
}

@media (min-width: 1041px) {
  body.woocommerce-cart .woocommerce > .cart-collaterals { position: sticky; top: 6rem; }
}

body.woocommerce-checkout form.checkout #customer_details {
  grid-column: 1;
  grid-row: 1 / span 2;
}

body.woocommerce-checkout form.checkout #order_review_heading,
body.woocommerce-checkout form.checkout #order_review {
  grid-column: 2;
}

body.woocommerce-checkout form.checkout #order_review_heading {
  grid-row: 1;
  margin: 0;
}

body.woocommerce-checkout form.checkout #order_review {
  grid-row: 2;
  padding: 1.35rem;
}

body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-additional-fields {
  margin-bottom: 1rem;
  padding: 1.35rem;
}

body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2 {
  float: none;
  width: 100%;
}

body.woocommerce-checkout #payment {
  background: #f7f5f1;
}

body.woocommerce-checkout #payment ul.payment_methods {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
  border-bottom: 1px solid #dfd9d0;
  list-style: none;
}

body.woocommerce-checkout #payment ul.payment_methods li {
  margin: 0;
  padding: 0.8rem;
  border: 1px solid #ddd7cf;
  border-radius: 8px;
  background: #fff;
}

body.woocommerce-checkout #payment ul.payment_methods li:has(input:checked) {
  border-color: var(--andes-green);
  box-shadow: 0 0 0 1px var(--andes-green);
}

body.woocommerce-checkout #payment ul.payment_methods li > label {
  color: var(--andes-coal);
  font-weight: 700;
}

body.woocommerce-checkout #payment div.payment_box {
  background: #fff;
}

body.woocommerce-checkout #payment div.payment_box::before {
  border-bottom-color: #fff;
}

.andes-commerce-review-product {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  color: var(--andes-coal);
  font-weight: 700;
}

.andes-commerce-review-thumb {
  width: 56px;
  height: 56px;
  margin: 0;
  border: 1px solid #e1ddd6;
  border-radius: 8px;
  object-fit: cover;
}

.andes-commerce-trust {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid #dfd9d0;
  border-radius: 12px;
  background: #fff;
}

.andes-commerce-trust > div {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.andes-commerce-trust > div > span {
  display: inline-grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: #e9f0eb;
  color: var(--andes-green);
  font-weight: 700;
}

.andes-commerce-trust p,
.andes-commerce-trust strong,
.andes-commerce-trust small {
  display: block;
  margin: 0;
}

.andes-commerce-trust small {
  margin-top: 0.15rem;
  color: #666;
  line-height: 1.35;
}

body.woocommerce-cart .cart-empty,
body.woocommerce-cart .return-to-shop {
  max-width: 620px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

@media (max-width: 820px) {
  .andes-commerce-purchase-header {
    margin-top: 1.25rem;
  }

  .andes-commerce-steps {
    grid-template-columns: auto 16px auto 16px auto;
    gap: 0.15rem;
    font-size: 0.68rem;
  }

  .andes-commerce-steps i {
    font-size: 0.8rem;
  }

  body.woocommerce-checkout form.checkout {
    display: block;
  }

  body.woocommerce-cart .woocommerce {
    display: block;
  }

  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .cart-collaterals {
    margin-bottom: 1rem;
  }

  body.woocommerce-checkout form.checkout #order_review_heading {
    margin: 1.5rem 0 0.75rem;
  }

  body.woocommerce-checkout form.checkout #order_review {
    padding: 1.1rem;
  }
}

@media (max-width: 600px) {
  body.woocommerce-cart .woocommerce,
  body.woocommerce-checkout .woocommerce {
    width: min(100% - 20px, 1180px);
  }

  body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info .showcoupon {
    grid-column: 2;
    min-width: 0;
  }

  body.woocommerce-checkout #customer_details .form-row-first,
  body.woocommerce-checkout #customer_details .form-row-last {
    float: none;
    width: 100%;
  }

  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .cart-collaterals .cart_totals,
  body.woocommerce-checkout .woocommerce-billing-fields,
  body.woocommerce-checkout .woocommerce-additional-fields,
  body.woocommerce-checkout #order_review {
    border-radius: 10px;
  }

  body.woocommerce-cart table.shop_table_responsive tr td {
    display: block;
    width: 100%;
    min-height: 42px;
    padding: 0.75rem 0;
    text-align: right !important;
  }

  body.woocommerce-cart table.shop_table_responsive thead,
  body.woocommerce-cart table.shop_table_responsive tbody th {
    display: none;
  }

  body.woocommerce-cart table.shop_table_responsive tbody tr {
    display: block;
    position: relative;
    padding: 0.5rem 0;
    border-bottom: 1px solid #ece8e2;
  }

  body.woocommerce-cart table.shop_table_responsive tr td::before {
    content: attr(data-title);
    float: left;
    margin-right: 1rem;
    color: #686868;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  body.woocommerce-cart table.shop_table_responsive tr td.product-remove::before,
  body.woocommerce-cart table.shop_table_responsive tr td.product-thumbnail::before,
  body.woocommerce-cart table.shop_table_responsive tr td.actions::before {
    display: none;
  }

  body.woocommerce-cart table.shop_table_responsive tr td.product-thumbnail {
    display: block;
    text-align: left !important;
  }

  body.woocommerce-cart table.shop_table_responsive tr td.product-thumbnail::before {
    display: none;
  }

  body.woocommerce-cart table.shop_table_responsive tr td.product-name {
    text-align: left !important;
  }

  body.woocommerce-cart .coupon {
    display: grid;
    gap: 0.5rem;
    float: none;
    width: 100%;
  }

  body.woocommerce-cart .coupon .input-text,
  body.woocommerce-cart .coupon button {
    width: 100% !important;
    min-height: 46px;
  }

  body.woocommerce-cart button[name="update_cart"] { float: none; width: 100%; margin-top: .65rem; }

  body.woocommerce-cart table.shop_table_responsive tr.cart_item { padding-right: 2.7rem; }
  body.woocommerce-cart table.shop_table_responsive tr td.product-remove {
    position: absolute; top: .5rem; right: 0; width: 2rem; min-height: 2rem; padding: 0;
  }
}

@media (max-width: 480px) {
  .andes-commerce-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
    width: 100%;
  }

  .andes-commerce-step-line {
    display: none;
  }

  .andes-commerce-steps > span:not(.andes-commerce-step-line) {
    flex-direction: column;
    gap: 0.25rem;
    justify-content: flex-start;
    text-align: center;
    white-space: normal;
  }
}

/* Experiencia de compra 0.2.7: composición editorial sobre el checkout nativo. */
.andes-commerce-purchase-header {
  max-width: 720px;
  margin: 1.5rem auto 1rem;
}

.andes-commerce-purchase-header .andes-commerce-title {
  font-weight: 750;
  letter-spacing: -0.035em;
}

.andes-commerce-steps {
  margin-bottom: 1.6rem;
}

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals .cart_totals,
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-additional-fields,
body.woocommerce-checkout #order_review {
  border-color: #d8d3ca;
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(30, 36, 31, 0.07);
}

body.woocommerce-cart .woocommerce-cart-form {
  overflow: hidden;
  padding: 0 1.35rem;
}

body.woocommerce-cart .cart-collaterals .cart_totals {
  padding: 1.5rem;
}

body.woocommerce-cart .cart-collaterals .cart_totals h2,
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout .woocommerce-billing-fields h3 {
  margin-top: 0;
  font-weight: 750;
  letter-spacing: -0.025em;
}

@media (min-width: 821px) {
  body.woocommerce-cart .woocommerce-cart-form table.shop_table thead {
    display: none;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tbody {
    display: block;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item {
    display: grid;
    grid-template-columns: 38px 88px minmax(180px, 1fr) 100px 94px 106px;
    gap: 0.75rem;
    align-items: center;
    padding: 1.15rem 0;
    border-bottom: 1px solid #e8e3db;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td {
    display: block;
    width: auto;
    padding: 0;
    border: 0;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item .product-price,
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item .product-subtotal {
    color: #494640;
    text-align: right;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item .product-subtotal {
    color: var(--andes-coal);
    font-weight: 750;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions {
    display: flow-root;
    padding: 1rem 0 !important;
    border: 0;
  }
}

body.woocommerce-cart td.product-thumbnail img {
  width: 78px;
  border-radius: 12px;
}

body.woocommerce-cart td.product-name a {
  line-height: 1.35;
}

body.woocommerce-cart td.product-name dl.variation,
body.woocommerce-checkout td.product-name dl.variation {
  margin: 0.45rem 0 0;
  color: #65615a;
  font-size: 0.78rem;
  line-height: 1.45;
}

body.woocommerce-cart .quantity .qty {
  width: 68px;
  min-height: 46px;
  text-align: center;
}

body.woocommerce-cart #shipping_method li,
body.woocommerce-checkout #shipping_method li {
  padding: 0.78rem 0.85rem;
  border: 1px solid #d9d4cb;
  border-radius: 11px;
  background: #fff;
}

body.woocommerce-cart #shipping_method li:has(input:checked),
body.woocommerce-checkout #shipping_method li:has(input:checked) {
  border-color: var(--andes-green);
  background: #f2f7f3;
  box-shadow: 0 0 0 1px var(--andes-green);
}

body.woocommerce-cart .checkout-button,
body.woocommerce-checkout #place_order {
  min-height: 56px;
  border-radius: 10px;
  background: var(--andes-accent) !important;
  color: var(--andes-coal) !important;
  font-size: 1rem;
  font-weight: 800;
}

body.woocommerce-cart .checkout-button:hover,
body.woocommerce-checkout #place_order:hover {
  background: #9fd90e !important;
  color: var(--andes-coal) !important;
}

body.woocommerce-checkout form.checkout {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  gap: 2rem;
}

body.woocommerce-checkout form.checkout #order_review {
  overflow: hidden;
  padding: 1.25rem;
  background: #fbfaf7;
}

body.woocommerce-checkout #order_review table.shop_table {
  width: 100%;
  border: 0;
  border-collapse: collapse;
}

body.woocommerce-checkout #order_review table.shop_table thead {
  display: none;
}

body.woocommerce-checkout #order_review table.shop_table tbody,
body.woocommerce-checkout #order_review table.shop_table tfoot {
  display: block;
}

body.woocommerce-checkout #order_review table.shop_table tbody tr.cart_item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid #e6e1d8;
}

body.woocommerce-checkout #order_review table.shop_table tbody tr.cart_item td {
  display: block;
  padding: 0;
  border: 0;
}

body.woocommerce-checkout #order_review table.shop_table .product-total {
  min-width: 82px;
  color: #34322e;
  font-weight: 700;
  text-align: right;
}

body.woocommerce-checkout .andes-commerce-review-product {
  display: flex;
  min-width: 0;
  gap: 0.8rem;
  align-items: center;
  font-size: 0.86rem;
  line-height: 1.35;
}

body.woocommerce-checkout .andes-commerce-review-thumb {
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  border-radius: 11px;
}

body.woocommerce-checkout #order_review table.shop_table tfoot tr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
  border-bottom: 1px solid #e6e1d8;
}

body.woocommerce-checkout #order_review table.shop_table tfoot th,
body.woocommerce-checkout #order_review table.shop_table tfoot td {
  display: block;
  padding: 0.9rem 0;
  border: 0;
}

body.woocommerce-checkout #order_review table.shop_table tfoot td {
  text-align: right;
}

body.woocommerce-checkout #order_review table.shop_table tfoot tr.woocommerce-shipping-totals,
body.woocommerce-checkout #order_review table.shop_table tfoot tr.andes-commerce-total-note {
  grid-template-columns: 1fr;
}

body.woocommerce-checkout #order_review table.shop_table tfoot tr.woocommerce-shipping-totals td,
body.woocommerce-checkout #order_review table.shop_table tfoot tr.andes-commerce-total-note td {
  text-align: left;
}

body.woocommerce-checkout #order_review table.shop_table tfoot tr.order-total {
  border-bottom: 0;
  font-size: 1.08rem;
}

body.woocommerce-checkout #payment {
  overflow: hidden;
  border: 1px solid #ddd8cf;
  border-radius: 14px;
  background: #f6f3ee;
}

body.woocommerce-checkout #payment ul.payment_methods li {
  border-radius: 11px;
}

body.woocommerce-checkout #payment .place-order {
  padding: 1rem;
}

body.woocommerce-checkout .andes-commerce-trust {
  grid-template-columns: 1fr;
  margin: 1rem 0;
  border-color: #d8e1da;
  background: #f2f7f3;
}

@media (max-width: 820px) {
  body.woocommerce-checkout form.checkout #order_review {
    padding: 1rem;
  }

  body.woocommerce-checkout #order_review table.shop_table tbody tr.cart_item {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.woocommerce-cart *,
  body.woocommerce-checkout * {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  body.woocommerce-cart .checkout-button:hover,
  body.woocommerce-cart button[name="update_cart"]:hover,
  body.woocommerce-checkout #place_order:hover,
  body.woocommerce-cart .wc-block-cart__submit-button:hover,
  body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
    transform: none;
  }
}
