/**
 * Checkout & Cart — POUZE farby a fonty. ŽIADNE layout zmeny.
 */

/* Primárne tlačidlo */
.wc-proceed-to-checkout a.checkout-button,
#payment #place_order {
  background: var(--c-lime) !important;
  color: var(--c-anthracite) !important;
  border-radius: var(--r-md) !important;
  font-weight: 700 !important;
  border: none !important;
}
.wc-proceed-to-checkout a.checkout-button:hover,
#payment #place_order:hover {
  background: var(--c-lime-dark) !important;
  color: #fff !important;
}

/* Inputy */
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
  border: 1.5px solid var(--c-border) !important;
  border-radius: var(--r-md) !important;
  font-size: 14px !important;
}
.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row select:focus {
  border-color: var(--c-lime) !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Tabuľka */
.woocommerce table.shop_table {
  border: 1px solid var(--c-border) !important;
  border-radius: var(--r-lg) !important;
}
.woocommerce table.shop_table th {
  background: var(--c-bg-soft) !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: var(--c-steel) !important;
}

/* Notices */
.woocommerce-message {
  border-top-color: var(--c-lime) !important;
}

/* Payment box */
#payment {
  background: var(--c-bg-soft) !important;
  border-radius: var(--r-lg) !important;
}

/* Zrušiť page-prose max-width obmedzenie pre WC stránky */
.woocommerce-cart .page-prose,
.woocommerce-checkout .page-prose,
.woocommerce-account .page-prose {
  max-width: 100% !important;
}

/* ── Košík — vizuál ── */

/* Tabuľka */
.woocommerce-cart table.shop_table {
  border-radius: var(--r-xl) !important;
  overflow: hidden;
  border: 1px solid var(--c-border) !important;
  font-size: 14px;
}
.woocommerce-cart table.shop_table thead tr th {
  background: var(--c-bg-soft) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: var(--c-steel) !important;
  padding: 12px 16px !important;
  border-bottom: 1px solid var(--c-border) !important;
}
.woocommerce-cart table.shop_table tbody tr td {
  padding: 16px !important;
  border-bottom: 1px solid var(--c-border) !important;
  vertical-align: middle !important;
  color: var(--c-anthracite) !important;
}
.woocommerce-cart table.shop_table tbody tr:last-child td {
  border-bottom: none !important;
}

/* Thumbnail */
.woocommerce-cart table.cart td.product-thumbnail {
  width: 88px !important;
  padding: 12px !important;
}
.woocommerce-cart table.cart td.product-thumbnail img {
  width: 72px !important;
  height: 72px !important;
  object-fit: contain !important;
  border: 1px solid var(--c-border) !important;
  border-radius: var(--r-md) !important;
  background: #fff !important;
  padding: 4px !important;
  display: block !important;
}

/* Produkt link */
.woocommerce-cart table.cart td.product-name a {
  color: var(--c-anthracite) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}
.woocommerce-cart table.cart td.product-name a:hover {
  color: var(--c-lime-dark) !important;
}

/* Remove */
.woocommerce-cart table.cart a.remove {
  font-size: 20px !important;
  color: var(--c-steel) !important;
  width: 28px !important;
  height: 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  transition: all 0.15s !important;
}
.woocommerce-cart table.cart a.remove:hover {
  background: #fee2e2 !important;
  color: #dc2626 !important;
}

/* Quantity */
.woocommerce-cart .quantity input.qty {
  width: 64px !important;
  text-align: center !important;
  border: 1.5px solid var(--c-border) !important;
  border-radius: var(--r-md) !important;
  padding: 8px !important;
  font-family: var(--f-mono) !important;
  font-size: 14px !important;
}

/* Actions row */
.woocommerce-cart table.cart td.actions {
  background: var(--c-bg-soft) !important;
  border-top: 1px solid var(--c-border) !important;
}
.woocommerce-cart .coupon input#coupon_code {
  border: 1.5px solid var(--c-border) !important;
  border-radius: var(--r-md) !important;
  padding: 9px 14px !important;
  font-size: 14px !important;
}

/* Sumár košíka */
.cart_totals h2 {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--c-anthracite) !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 16px !important;
}
.cart_totals table.shop_table {
  border-radius: var(--r-xl) !important;
  overflow: hidden !important;
}
.cart_totals .order-total th,
.cart_totals .order-total td {
  font-weight: 700 !important;
  font-size: 16px !important;
  background: var(--c-bg-soft) !important;
}

/* Checkout button */
.wc-proceed-to-checkout {
  padding: 16px 0 0 !important;
}

/* ── Pokladňa — vizuál ── */
.woocommerce-checkout h3 {
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  color: var(--c-anthracite) !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid var(--c-border) !important;
  margin-bottom: 20px !important;
}
.woocommerce-checkout #order_review table.shop_table {
  border-radius: var(--r-xl) !important;
  overflow: hidden !important;
}
.woocommerce-checkout #order_review .order-total th,
.woocommerce-checkout #order_review .order-total td {
  font-weight: 700 !important;
  font-size: 15px !important;
  background: var(--c-bg-soft) !important;
}
#payment ul.payment_methods {
  border-radius: var(--r-lg) var(--r-lg) 0 0 !important;
}
#payment .place-order {
  padding: 20px !important;
}
