.apex-cart-page {
  width: 100%;
  max-width: none;
  margin: 36px 0 70px;
  padding: 0 clamp(16px, 3vw, 44px);
}

.woocommerce-cart .container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.woocommerce-cart .container > .card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

.woocommerce-cart .container > .card > h1 {
  display: none;
}

.apex-cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: 34px;
  align-items: start;
}

.apex-cart-layout__main,
.apex-cart-layout__totals .cart-collaterals,
.apex-cart-empty {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
}

.apex-cart-layout__main {
  padding: 0 26px 12px;
}

.apex-cart-page .woocommerce-notices-wrapper {
  margin-bottom: 14px;
}

.apex-cart-layout table.shop_table {
  border: 0;
  margin: 0;
  border-collapse: collapse;
}

.apex-cart-layout table.shop_table thead th {
  font-size: 15px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: none;
  background: transparent;
  border-bottom: 1px solid #e5e7eb;
  padding: 24px 0;
}

.apex-cart-layout table.shop_table tbody td {
  border-bottom: 1px solid #e5e7eb;
  padding: 26px 0;
}

.apex-cart-layout table.shop_table .product-price,
.apex-cart-layout table.shop_table .product-quantity,
.apex-cart-layout table.shop_table .product-subtotal {
  width: 12%;
  white-space: nowrap;
  text-align: right;
}

.apex-cart-layout table.shop_table thead .product-price,
.apex-cart-layout table.shop_table thead .product-quantity,
.apex-cart-layout table.shop_table thead .product-subtotal {
  text-align: right;
  font-size: 14px;
}

.apex-cart-layout table.shop_table tbody .product-price,
.apex-cart-layout table.shop_table tbody .product-quantity,
.apex-cart-layout table.shop_table tbody .product-subtotal {
  text-align: right;
}

.apex-cart-product {
  display: grid;
  grid-template-columns: 26px 120px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.apex-cart-product__remove {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ef4444;
  color: #fff;
  text-decoration: none;
  font-size: 10px;
}

.apex-cart-product__remove:hover {
  background: #dc2626;
}

.apex-cart-product__thumb img {
  width: 112px!important;
  height: 112px!important;
  object-fit: contain;
}

.apex-cart-product__meta a,
.apex-cart-product__meta {
  color: #1f2937;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.apex-cart-layout .product-price,
.apex-cart-layout .product-subtotal {
  font-size: 17px;
  color: #111827;
  font-weight: 700;
}

.apex-cart-layout .product-price {
  color: #9ca3af;
}

.apex-cart-layout .quantity {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  padding: 0 8px;
  height: 50px;
}

.apex-cart-layout .quantity input.qty {
  width: 42px;
  border: 0;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  background: transparent;
  -moz-appearance: textfield;
}

.apex-cart-layout .quantity input.qty::-webkit-outer-spin-button,
.apex-cart-layout .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.apex-cart-layout .quantity .minus,
.apex-cart-layout .quantity .plus {
  border: 0;
  background: transparent;
  width: 24px;
  color: #111827;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
}

.apex-cart-layout .product-quantity {
  text-align: right;
}

.apex-qty-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  padding: 0 8px;
  min-width: 118px;
}

.apex-qty-control .qty {
  width: 42px;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  -moz-appearance: textfield;
}

.apex-qty-control .qty::-webkit-outer-spin-button,
.apex-qty-control .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.apex-qty-btn {
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  color: #111827;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.apex-qty-static {
  display: inline-flex;
  min-width: 34px;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

.apex-cart-layout td.actions {
  border-bottom: 0;
  padding: 22px 0 10px;
}

.apex-cart-actions-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.apex-cart-actions-row .coupon {
  display: none !important;
}

.apex-cart-actions-row .coupon .input-text {
  min-width: 420px;
  height: 62px;
  border: 1px solid #d1d5db;
  border-radius: 16px;
  padding: 0 18px;
  font-size: 18px;
}

.apex-cart-page .button,
.apex-cart-page button.button,
.apex-cart-page a.button {
  height: 62px;
  border: 0;
  border-radius: 16px;
  padding: 0 24px;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  background: #e5e7eb;
  color: #1f2937;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.apex-cart-page .button:hover,
.apex-cart-page button.button:hover,
.apex-cart-page a.button:hover {
  background: #d1d5db;
}

.apex-cart-actions-row__right {
  display: flex;
  gap: 12px;
}

.apex-cart-clear {
  min-width: 180px;
}

.apex-cart-layout__totals .cart-collaterals {
  padding: 24px 22px;
}

.apex-cart-layout__totals .cart_totals {
  float: none!important;
  width: 100%!important;
}

.apex-cart-layout__totals .cart_totals h2 {
  font-size: 0;
  font-weight: 800;
  text-transform: none;
  margin: 0 0 22px;
  color: #111827;
}

.apex-cart-layout__totals .cart_totals h2::before {
  content: "Ukupno";
  display: block;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.apex-cart-layout__totals .shop_table {
  border: 0;
  margin: 0;
  width: 100%;
  table-layout: auto;
}

.apex-cart-layout__totals .shop_table tbody tr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.apex-cart-layout__totals .shop_table th,
.apex-cart-layout__totals .shop_table td {
  padding: 14px 0;
  border-bottom: 1px solid #e5e7eb;
  font-size: 16px;
  background: transparent;
  line-height: 1.35;
  width: auto;
}

.apex-cart-layout__totals .shop_table th {
  color: #111827;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.apex-cart-layout__totals .shop_table td {
  text-align: right;
  color: #111827;
  font-weight: 500;
  white-space: nowrap;
  margin-left: auto;
}

.apex-cart-layout__totals .shop_table .shipping th,
.apex-cart-layout__totals .shop_table .shipping td {
  padding-top: 18px;
  padding-bottom: 18px;
  vertical-align: top;
}

.apex-cart-layout__totals .shop_table .shipping th {
  color: #6b7280;
  font-size: 17px;
  font-weight: 800;
  text-transform: none;
}

.apex-cart-layout__totals .shop_table .shipping td {
  white-space: normal;
  text-align: right;
}

.apex-cart-layout__totals ul#shipping_method {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.apex-cart-layout__totals ul#shipping_method li {
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 19px;
  line-height: 1.35;
  color: #0f172a;
  font-weight: 800;
}

.apex-cart-layout__totals ul#shipping_method li input[type="radio"] {
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: #2563eb;
  cursor: pointer;
}

.apex-cart-layout__totals ul#shipping_method li label {
  margin: 0;
  cursor: pointer;
}

.apex-cart-layout__totals ul#shipping_method .amount {
  font-weight: 900;
}

.apex-cart-layout__totals .woocommerce-shipping-destination {
  margin: 12px 0 4px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.45;
  text-align: right;
}

.apex-cart-layout__totals .shipping-calculator-button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 6px;
  color: #1d4ed8;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.apex-cart-layout__totals .shipping-calculator-button:hover {
  color: #1e40af;
}

.apex-cart-layout__totals .shipping-calculator-form {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f9fafb;
}

.apex-cart-layout__totals .shipping-calculator-form p {
  margin: 0 0 10px;
}

.apex-cart-layout__totals .shipping-calculator-form p:last-child {
  margin-bottom: 0;
}

.apex-cart-layout__totals .shipping-calculator-form input.input-text,
.apex-cart-layout__totals .shipping-calculator-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 0 12px;
  background: #fff;
  color: #111827;
}

.apex-cart-layout__totals .shipping-calculator-form button.button {
  width: 100%;
  min-height: 46px;
  border-radius: 10px;
  background: #0f172a;
  color: #fff;
}

.apex-cart-layout__totals .shipping-calculator-form button.button:hover {
  background: #111827;
}

/* Shipping block v2: inside card, left aligned, custom option cards */
.apex-cart-layout__totals .shop_table .shipping {
  display: block !important;
}

.apex-cart-layout__totals .shop_table .shipping th {
  display: block !important;
  width: 100% !important;
  padding-top: 18px;
  padding-bottom: 10px;
  border-bottom: 0 !important;
}

.apex-cart-layout__totals .shop_table .shipping td {
  display: block !important;
  width: 100% !important;
  margin-left: 0;
  text-align: left !important;
  padding-top: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid #e5e7eb !important;
}

.apex-cart-layout__totals ul#shipping_method {
  width: 100%;
  align-items: stretch !important;
  gap: 10px;
}

.apex-cart-layout__totals ul#shipping_method li {
  display: block;
  width: 100%;
  font-size: 0;
}

.apex-cart-layout__totals ul#shipping_method li input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.apex-cart-layout__totals ul#shipping_method li label {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.apex-cart-layout__totals ul#shipping_method li label::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #94a3b8;
  box-sizing: border-box;
  flex: 0 0 18px;
}

.apex-cart-layout__totals ul#shipping_method li input[type="radio"]:checked + label {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
  transform: translateY(-1px);
}

.apex-cart-layout__totals ul#shipping_method li input[type="radio"]:checked + label::before {
  border-color: #2563eb;
  box-shadow: inset 0 0 0 4px #2563eb;
}

.apex-cart-layout__totals ul#shipping_method li label .amount {
  margin-left: auto;
  font-weight: 900;
}

.apex-cart-layout__totals .woocommerce-shipping-destination,
.apex-cart-layout__totals .shipping-calculator-button,
.apex-cart-layout__totals .shipping-calculator-form {
  display: none !important;
}

.apex-cart-layout__totals .order-total th,
.apex-cart-layout__totals .order-total td {
  font-size: 19px;
  font-weight: 800;
  color: #111827;
}

.apex-cart-layout__totals .order-total td bdi,
.apex-cart-layout__totals .order-total td span {
  font-size: 25px;
  font-weight: 900;
  line-height: 1.1;
}

.apex-cart-layout__totals .order-total td .woocommerce-Price-amount {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.apex-cart-layout__totals .order-total td span {
  font-size: inherit;
  font-weight: inherit;
}

.apex-cart-layout__totals .apex-cart-pdv-note-row td {
  border-bottom: 0;
  padding-top: 8px;
  padding-bottom: 2px;
}

.apex-cart-layout__totals .apex-cart-pdv-note {
  display: block;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
}

/* Line cleanup: keep only section dividers that matter */
.apex-cart-layout__totals .shop_table tbody tr {
  gap: 0 !important;
}

.apex-cart-layout__totals .shop_table .cart-subtotal,
.apex-cart-layout__totals .shop_table .order-total {
  border-bottom: 0 !important;
}

.apex-cart-layout__totals .shop_table .cart-subtotal th,
.apex-cart-layout__totals .shop_table .cart-subtotal td,
.apex-cart-layout__totals .shop_table .order-total th,
.apex-cart-layout__totals .shop_table .order-total td {
  border-bottom: 0 !important;
}

.apex-cart-layout__totals .shop_table .order-total th,
.apex-cart-layout__totals .shop_table .order-total td {
  padding-top: 20px;
  padding-bottom: 12px;
}

.apex-cart-layout__totals .apex-cart-pdv-note-row {
  display: block !important;
  border-top: 1px solid #e5e7eb !important;
  border-bottom: 1px solid #e5e7eb !important;
  margin-top: 6px;
}

.apex-cart-layout__totals .apex-cart-pdv-note-row td {
  display: block !important;
  width: 100% !important;
  border: 0 !important;
  padding: 14px 0 !important;
}

.apex-cart-layout__totals .apex-cart-pdv-note {
  text-align: left;
}

.apex-cart-layout__totals .wc-proceed-to-checkout {
  margin: 28px 0 0;
  padding-bottom: 0;
}

.apex-cart-layout__totals .wc-proceed-to-checkout .checkout-button {
  width: 100%;
  height: 66px;
  border-radius: 18px;
  background: #ef4444 !important;
  color: #fff !important;
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 0;
  border: 0 !important;
  text-transform: none;
  letter-spacing: 0;
}

.apex-cart-layout__totals .wc-proceed-to-checkout .checkout-button:hover {
  background: #dc2626 !important;
}

.apex-cart-empty {
  max-width: 860px;
  margin: 0 auto;
  padding: 52px 34px;
  text-align: center;
}

.apex-cart-empty__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #fee2e2;
  color: #ef4444;
  position: relative;
  font-size: 38px;
}

.apex-cart-empty__icon-wrap .fa-circle-xmark {
  position: absolute;
  right: -6px;
  bottom: -4px;
  font-size: 22px;
  background: #fff;
  border-radius: 50%;
}

.apex-cart-empty h2 {
  margin: 20px 0 10px;
  font-size: 32px;
  font-weight: 800;
  color: #111827;
}

.apex-cart-empty p {
  margin: 0 auto;
  max-width: 620px;
  color: #6b7280;
  font-size: 18px;
  line-height: 1.7;
}

.apex-cart-empty__features {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.apex-cart-empty__features span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #fecaca;
  background: #fff7f7;
  color: #991b1b;
  font-size: 15px;
  font-weight: 600;
}

.apex-cart-empty__btn {
  margin-top: 26px;
  background: #ef4444 !important;
  color: #fff !important;
}

.apex-cart-empty__btn:hover {
  background: #dc2626 !important;
}

.woocommerce-cart .cart-empty,
.woocommerce-cart .return-to-shop {
  display: none;
}

@media (max-width: 1200px) {
  .apex-cart-page {
    padding: 0 18px;
  }

  .apex-cart-layout {
    grid-template-columns: 1fr;
  }

  .apex-cart-layout__totals {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .apex-cart-page {
    margin-top: 28px;
    padding: 0 14px;
  }

  .apex-cart-layout__main {
    padding: 0 14px;
  }

  .apex-cart-layout table.shop_table thead th {
    font-size: 15px;
    padding: 14px 0;
  }

  /* Remove Woo responsive pseudo-label gutter that creates large left empty space */
  .woocommerce-cart table.shop_table_responsive tr td::before,
  .woocommerce-cart table.shop_table_responsive tr th::before {
    display: none !important;
    content: none !important;
  }

  .woocommerce-cart table.shop_table_responsive tr td,
  .woocommerce-cart table.shop_table_responsive tr th {
    text-align: left !important;
  }

  /* One cart item = 2 rows:
     row 1: product block
     row 2: price | quantity | subtotal */
  .woocommerce-cart .apex-cart-layout table.shop_table_responsive tr.woocommerce-cart-form__cart-item {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 10px;
    border-bottom: 1px solid #e5e7eb;
  }

  .woocommerce-cart .apex-cart-layout table.shop_table_responsive tr.woocommerce-cart-form__cart-item > td {
    border-bottom: 0 !important;
  }

  .woocommerce-cart .apex-cart-layout table.shop_table_responsive tr.woocommerce-cart-form__cart-item > td.product-name {
    grid-column: 1 / -1;
    padding-bottom: 10px !important;
  }

  .woocommerce-cart .apex-cart-layout table.shop_table_responsive tr.woocommerce-cart-form__cart-item > td.product-price,
  .woocommerce-cart .apex-cart-layout table.shop_table_responsive tr.woocommerce-cart-form__cart-item > td.product-quantity,
  .woocommerce-cart .apex-cart-layout table.shop_table_responsive tr.woocommerce-cart-form__cart-item > td.product-subtotal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 4px 0 10px !important;
    text-align: center !important;
  }

  .woocommerce-cart .apex-cart-layout table.shop_table_responsive tr.woocommerce-cart-form__cart-item > td.product-price::before,
  .woocommerce-cart .apex-cart-layout table.shop_table_responsive tr.woocommerce-cart-form__cart-item > td.product-quantity::before,
  .woocommerce-cart .apex-cart-layout table.shop_table_responsive tr.woocommerce-cart-form__cart-item > td.product-subtotal::before {
    content: attr(data-title);
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    line-height: 1.2;
  }

  .apex-cart-product {
    grid-template-columns: 22px 70px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
  }

  .apex-cart-product__remove {
    justify-self: start;
    align-self: center;
    margin: 0;
  }

  .apex-cart-product__thumb img {
    width: 70px !important;
    height: 70px !important;
    object-fit: contain;
  }

  .apex-cart-product__meta {
    text-align: left !important;
    min-width: 0;
  }

  .apex-cart-product__meta a,
  .apex-cart-product__meta {
    font-size: 15px;
  }

  .apex-cart-layout .product-price,
  .apex-cart-layout .product-subtotal {
    font-size: 18px;
    text-align: left !important;
  }

  .apex-cart-layout .quantity {
    height: 42px;
    border-radius: 12px;
  }

  .apex-cart-layout .quantity input.qty {
    width: 38px;
    font-size: 18px;
  }

  .apex-cart-layout .quantity .minus,
  .apex-cart-layout .quantity .plus {
    font-size: 22px;
    width: 24px;
  }

  .apex-qty-control {
    height: 42px;
    border-radius: 12px;
    min-width: 96px;
    padding: 0 6px;
  }

  .apex-qty-control .qty {
    width: 34px;
    font-size: 16px;
  }

  .apex-qty-btn {
    width: 20px;
    font-size: 20px;
  }

  .apex-cart-actions-row {
    flex-direction: column;
    align-items: stretch;
  }

  .apex-cart-actions-row .coupon .input-text {
    min-width: 100%;
    height: 50px;
    font-size: 16px;
  }

  .apex-cart-actions-row__right {
    width: 100%;
    justify-content: center;
  }

  .apex-cart-actions-row__right .button {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
  }

  .apex-cart-page .button,
  .apex-cart-page button.button,
  .apex-cart-page a.button {
    height: 50px;
    font-size: 16px;
    border-radius: 12px;
  }

  .apex-cart-layout__totals .cart-collaterals {
    padding: 18px;
  }

  .apex-cart-layout__totals .cart_totals h2 {
    display: none !important;
    margin: 0 !important;
  }

  .apex-cart-layout__totals .shop_table th,
  .apex-cart-layout__totals .shop_table td,
  .apex-cart-layout__totals .order-total th,
  .apex-cart-layout__totals .order-total td {
    font-size: 16px;
  }

  .apex-cart-layout__totals ul#shipping_method {
    align-items: flex-start;
  }

  .apex-cart-layout__totals .shop_table .shipping td,
  .apex-cart-layout__totals .woocommerce-shipping-destination {
    text-align: left;
  }

  .apex-cart-layout__totals .order-total td bdi,
  .apex-cart-layout__totals .order-total td span {
    font-size: 26px;
  }

  .apex-cart-layout__totals .shop_table .order-total {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-top: 0 !important;
  }

  .apex-cart-layout__totals .shop_table .order-total th,
  .apex-cart-layout__totals .shop_table .order-total td {
    display: block !important;
    width: auto !important;
    margin: 0 !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    border-bottom: 0 !important;
    text-align: left !important;
  }

  .apex-cart-layout__totals .shop_table .order-total td {
    text-align: right !important;
  }

  .apex-cart-layout__totals .shop_table .order-total th {
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 0.01em;
  }

  .apex-cart-layout__totals .shop_table .order-total td .woocommerce-Price-amount {
    justify-content: flex-end;
  }

  .apex-cart-layout__totals .wc-proceed-to-checkout .checkout-button {
    height: 56px;
    font-size: 18px;
    border-radius: 14px;
  }

  .apex-cart-empty {
    padding: 36px 18px;
  }

  .apex-cart-empty h2 {
    font-size: 28px;
  }

  .apex-cart-empty p {
    font-size: 16px;
  }
}

/* -----------------------------------------
   TYPOGRAPHY NORMALIZATION (smaller)
----------------------------------------- */
.woocommerce-cart {
  font-size: 15px;
}

.apex-cart-product__meta a,
.apex-cart-product__meta {
  font-size: 16px;
}

.apex-cart-layout .product-price,
.apex-cart-layout .product-subtotal {
  font-size: 15px;
}

.apex-cart-layout .quantity input.qty,
.apex-qty-control .qty,
.apex-qty-static {
  font-size: 15px;
}

.apex-cart-page .button,
.apex-cart-page button.button,
.apex-cart-page a.button {
  font-size: 15px;
}

.apex-cart-layout__totals .cart_totals h2::before {
  font-size: 18px;
}

.apex-cart-layout__totals .shop_table th,
.apex-cart-layout__totals .shop_table td {
  font-size: 14px;
}

.apex-cart-layout__totals .shop_table .shipping th {
  font-size: 14px;
}

.apex-cart-layout__totals ul#shipping_method li label {
  font-size: 14px;
}

.apex-cart-layout__totals .order-total th,
.apex-cart-layout__totals .order-total td {
  font-size: 16px;
}

.apex-cart-layout__totals .order-total td bdi,
.apex-cart-layout__totals .order-total td span {
  font-size: 22px;
}

.apex-cart-layout__totals .wc-proceed-to-checkout .checkout-button {
  font-size: 18px;
}

.apex-cart-empty h2 {
  font-size: 24px;
}

.apex-cart-empty p {
  font-size: 15px;
}

/* Final mobile alignment overrides */
@media (max-width: 767px) {
  .apex-cart-actions-row__right .button,
  .apex-cart-clear {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .woocommerce-cart .apex-cart-layout table.shop_table_responsive tr.woocommerce-cart-form__cart-item > td.product-price,
  .woocommerce-cart .apex-cart-layout table.shop_table_responsive tr.woocommerce-cart-form__cart-item > td.product-quantity,
  .woocommerce-cart .apex-cart-layout table.shop_table_responsive tr.woocommerce-cart-form__cart-item > td.product-subtotal {
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    width: auto !important;
    min-width: 0 !important;
    border-top: 0 !important;
    background: transparent !important;
  }

  .woocommerce-cart .apex-cart-layout table.shop_table_responsive tr.woocommerce-cart-form__cart-item > td.product-price::before,
  .woocommerce-cart .apex-cart-layout table.shop_table_responsive tr.woocommerce-cart-form__cart-item > td.product-quantity::before,
  .woocommerce-cart .apex-cart-layout table.shop_table_responsive tr.woocommerce-cart-form__cart-item > td.product-subtotal::before {
    display: none !important;
    content: none !important;
  }

  .woocommerce-cart .apex-cart-layout table.shop_table_responsive tr.woocommerce-cart-form__cart-item:nth-child(even) > td,
  .woocommerce-cart .apex-cart-layout table.shop_table_responsive tr.woocommerce-cart-form__cart-item:nth-child(odd) > td {
    background: transparent !important;
  }

  /* Keep "Vrijednost robe" visible on mobile totals */
  .apex-cart-layout__totals .shop_table .cart-subtotal {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }

  .apex-cart-layout__totals .shop_table .cart-subtotal th,
  .apex-cart-layout__totals .shop_table .cart-subtotal td {
    display: block !important;
    width: auto !important;
    margin: 0 !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    border-bottom: 0 !important;
  }

  .apex-cart-layout__totals .shop_table .cart-subtotal th {
    text-align: left !important;
    font-weight: 700 !important;
    color: #111827 !important;
  }

  .apex-cart-layout__totals .shop_table .cart-subtotal td {
    text-align: right !important;
  }
}
