/**
 * KACH.KZ — WooCommerce Pages CSS
 * Bootscore + Bootstrap 5 compatible
 * No emoji, clean professional style
 */

:root {
  --kach-red:        #dc3545;
  --kach-red-hover:  #b02a37;
  --kach-dark:       #111827;
  --kach-gray-50:    #f9fafb;
  --kach-gray-100:   #f3f4f6;
  --kach-gray-200:   #e5e7eb;
  --kach-gray-400:   #9ca3af;
  --kach-gray-500:   #6b7280;
  --kach-gray-700:   #374151;
  --kach-radius:     14px;
  --kach-radius-sm:  10px;
  --kach-radius-lg:  20px;
  --kach-shadow:     0 4px 16px rgba(17,24,39,.06);
  --kach-shadow-md:  0 12px 34px rgba(17,24,39,.08);
  --kach-trans:      .25s ease;
  --kach-font:       "Roboto Condensed", sans-serif;
}

/* ── Buttons ── */
.btn-kach {
  background: var(--kach-red);
  border: 2px solid var(--kach-red);
  color: #fff;
  font-weight: 600;
  border-radius: var(--kach-radius);
  padding: .6rem 1.5rem;
  transition: background var(--kach-trans), box-shadow var(--kach-trans);
  line-height: 1.4;
}
.btn-kach:hover, .btn-kach:focus {
  background: var(--kach-red-hover);
  border-color: var(--kach-red-hover);
  color: #fff;
  box-shadow: 0 4px 14px rgba(220,53,69,.3);
}
.btn-kach-dark {
  background: var(--kach-dark);
  border: 2px solid var(--kach-dark);
  color: #fff;
  font-weight: 600;
  border-radius: var(--kach-radius);
  padding: .6rem 1.5rem;
  transition: background var(--kach-trans);
  line-height: 1.4;
}
.btn-kach-dark:hover { background: #1f2937; border-color: #1f2937; color: #fff; }

/* ── Status badges ── */
.kach-status {
  display: inline-flex; align-items: center;
  padding: .2rem .7rem;
  border-radius: 999px;
  font-size: .75rem; font-weight: 700; letter-spacing: .02em;
}
.kach-status-green  { background: #d1fae5; color: #065f46; }
.kach-status-blue   { background: #dbeafe; color: #1e40af; }
.kach-status-yellow { background: #fef3c7; color: #92400e; }
.kach-status-red    { background: #fee2e2; color: #991b1b; }
.kach-status-gray   { background: var(--kach-gray-100); color: var(--kach-gray-500); }

/* ── Form inputs ── */
.kach-field { margin-bottom: 1rem; }
.kach-label {
  display: block; font-size: 1rem; font-weight: 600;
  color: var(--kach-gray-700); margin-bottom: .35rem; letter-spacing: .01em;
}
.kach-input, .kach-select, .kach-textarea {
  display: block; width: 100%;
  padding: .6rem 1rem;
  border: 1.5px solid var(--kach-gray-200);
  border-radius: var(--kach-radius);
  font-size: .9rem; color: var(--kach-dark);
  background: #fff;
  transition: border-color var(--kach-trans), box-shadow var(--kach-trans);
  outline: none; appearance: none;
}
.kach-input:focus, .kach-select:focus, .kach-textarea:focus {
  border-color: var(--kach-red);
  box-shadow: 0 0 0 3px rgba(220,53,69,.1);
}
.kach-input::placeholder { color: var(--kach-gray-400); }
.kach-textarea { resize: vertical; min-height: 90px; }
.kach-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  padding-right: 2.5rem; cursor: pointer;
}

/* Password wrap */
.kach-pw-wrap { position: relative; }
.kach-pw-wrap .kach-input { padding-right: 2.8rem; }
.kach-pw-toggle {
  position: absolute; right: .75rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; color: var(--kach-gray-400);
  padding: 0; line-height: 1; transition: color var(--kach-trans);
}
.kach-pw-toggle:hover { color: var(--kach-gray-700); }

/* ── Empty state ── */
.kach-empty { text-align: center; padding: 5rem 1.5rem; background: #fff; border: 1px solid var(--kach-gray-200); border-radius: var(--kach-radius-lg); box-shadow: var(--kach-shadow); }
.kach-empty__title { font-family: var(--kach-font); font-size: 1.3rem; font-weight: 800; color: var(--kach-dark); margin-bottom: .5rem; }
.kach-empty__text  { color: var(--kach-gray-500); margin-bottom: 1.5rem; font-size: .92rem; }

/* ── Card ── */
.kach-card {
  background: #fff; border: 1px solid var(--kach-gray-200);
  border-radius: var(--kach-radius-lg); padding: 1.5rem;
  box-shadow: var(--kach-shadow);
}

/* ══════════════════════════════════════════
   MY ACCOUNT — LOGIN / REGISTER
══════════════════════════════════════════ */
.kach-auth-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  max-width: 860px; margin: 0 auto;
}
.kach-auth-card { padding: 1.75rem 2rem; }
.kach-auth-card__title {
  font-size: 1.2rem; font-weight: 800; color: var(--kach-dark); margin-bottom: .35rem;
}
.kach-auth-card__sub { font-size: .875rem; color: var(--kach-gray-500); margin-bottom: 1.5rem; }
.kach-forgot {
  font-size: .8rem; color: var(--kach-red); font-weight: 500;
  text-decoration: none; float: right;
}
.kach-forgot:hover { text-decoration: underline; color: var(--kach-red); }

/* Lost password */
.kach-lostpw { max-width: 420px; margin: 0 auto; }
.kach-lostpw__back {
  display: block; text-align: center; margin-top: 1rem;
  font-size: .875rem; color: var(--kach-gray-500); text-decoration: none;
}
.kach-lostpw__back:hover { color: var(--kach-red); }

/* ══════════════════════════════════════════
   MY ACCOUNT — LAYOUT
══════════════════════════════════════════ */
.kach-account-layout { display: grid; grid-template-columns: 220px 1fr; gap: 1.5rem; align-items: start; }

/* Sidebar nav */
.kach-nav {
  background: #fff; border: 1px solid var(--kach-gray-200);
  border-radius: var(--kach-radius-lg); overflow: hidden;
  box-shadow: var(--kach-shadow); position: sticky; top: 100px;
}
.kach-nav__user {
  padding: 1rem 1.1rem; border-bottom: 1px solid var(--kach-gray-100);
  display: flex; align-items: center; gap: .75rem;
}
.kach-nav__avatar { width: 38px !important; height: 38px !important; border-radius: 50% !important; object-fit: cover; flex-shrink: 0; }
.kach-nav__name  { font-size: 1rem; font-weight: 700; color: var(--kach-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kach-nav__email { font-size: 1rem; color: var(--kach-gray-400); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kach-nav__list  { list-style: none; margin: 0; padding: .4rem; }
.kach-nav__list li { margin: 0; }
.kach-nav__link {
  display: flex; align-items: center; gap: .5rem;
  padding: .55rem .8rem; border-radius: var(--kach-radius-sm);
  font-size: .84rem; font-weight: 500; color: var(--kach-gray-700);
  text-decoration: none; transition: background var(--kach-trans), color var(--kach-trans);
}
.kach-nav__link:hover { background: var(--kach-gray-50); color: var(--kach-dark); }
.kach-nav__link.is-active { background: var(--kach-red); color: #fff; font-weight: 600; }
.kach-nav__icon { width: 16px; text-align: center; flex-shrink: 0; }

/* Dashboard */
.kach-welcome {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  border-radius: var(--kach-radius-lg); padding: 1.25rem 1.5rem;
  color: #fff; display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.25rem; flex-wrap: wrap;
}
.kach-welcome__avatar { width: 48px !important; height: 48px !important; border-radius: 50% !important; object-fit: cover; border: 2px solid rgba(255,255,255,.2); flex-shrink: 0; }
.kach-welcome__name { font-size: 1.05rem; font-weight: 700; margin: 0 0 .2rem; }
.kach-welcome__sub  { font-size: 1rem; opacity: .65; margin: 0; }

.kach-quick { display: grid; grid-template-columns: repeat(4,1fr); gap: .875rem; margin-bottom: 1.25rem; }
.kach-quick__item {
  background: #fff; border: 1px solid var(--kach-gray-200);
  border-radius: var(--kach-radius); padding: 1rem;
  text-align: center; text-decoration: none;
  transition: border-color var(--kach-trans), box-shadow var(--kach-trans), transform var(--kach-trans);
  display: block;
}
.kach-quick__item:hover { border-color: var(--kach-red); box-shadow: 0 4px 16px rgba(220,53,69,.12); transform: translateY(-2px); }
.kach-quick__icon  { font-size: 1.4rem; margin-bottom: .35rem; display: block; }
.kach-quick__label { font-size: .78rem; font-weight: 700; color: var(--kach-dark); display: block; }

/* Recent orders header */
.kach-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .875rem; }
.kach-section-head__title { font-size: 1rem; font-weight: 700; color: var(--kach-dark); margin: 0; }
.kach-section-head__link  { font-size: .8rem; color: var(--kach-red); font-weight: 500; text-decoration: none; }

/* Order row (dashboard) */
.kach-order-row {
  background: #fff; border: 1px solid var(--kach-gray-200);
  border-radius: var(--kach-radius); padding: .875rem 1.1rem;
  margin-bottom: .625rem;
  display: grid; grid-template-columns: auto 1fr auto auto auto; gap: 1rem; align-items: center;
}
.kach-order-row__num  { font-weight: 700; color: var(--kach-red); font-size: .9rem; }
.kach-order-row__date { font-size: .78rem; color: var(--kach-gray-400); }
.kach-order-row__sum  { font-weight: 700; font-size: .9rem; }

/* Order card (orders list) */
.kach-order-card {
  background: #fff; border: 1px solid var(--kach-gray-200);
  border-radius: var(--kach-radius-lg); padding: 1.1rem 1.25rem;
  margin-bottom: .875rem; box-shadow: var(--kach-shadow);
}
.kach-order-card__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: .75rem; border-bottom: 1px solid var(--kach-gray-100); margin-bottom: .75rem; }
.kach-order-card__num  { font-size: 1rem; font-weight: 800; color: var(--kach-dark); }
.kach-order-card__date { font-size: .78rem; color: var(--kach-gray-400); }
.kach-order-card__items { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .75rem; }
.kach-order-card__item { display: flex; align-items: center; gap: .5rem; background: var(--kach-gray-50); border-radius: var(--kach-radius-sm); padding: .3rem .5rem; }
.kach-order-card__item img { width: 34px !important; height: 34px !important; border-radius: 5px; object-fit: cover; }
.kach-order-card__item-name { font-size: .78rem; color: var(--kach-gray-700); }
.kach-order-card__foot { display: flex; align-items: center; justify-content: space-between; padding-top: .75rem; border-top: 1px solid var(--kach-gray-100); }
.kach-order-total { font-size: 1.05rem; font-weight: 800; color: var(--kach-red); }

/* View order */
.kach-view-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.kach-view-num  { font-size: 1.3rem; font-weight: 800; color: var(--kach-dark); }
.kach-view-date { font-size: .8rem; color: var(--kach-gray-400); margin-top: .2rem; }
.kach-view-body { display: grid; grid-template-columns: 1fr 280px; gap: 1.25rem; align-items: start; }

.kach-view-table th { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--kach-gray-400); font-weight: 700; padding: .5rem .75rem; border-bottom: 2px solid var(--kach-gray-100); }
.kach-view-table td { padding: .75rem; border-bottom: 1px solid var(--kach-gray-50); font-size: .875rem; vertical-align: middle; }
.kach-view-table tr:last-child td { border-bottom: none; }
.kach-view-product { display: flex; align-items: center; gap: .625rem; }
.kach-view-product img { width: 40px !important; height: 40px !important; border-radius: 6px; object-fit: cover; }

/* Edit account sections */
.kach-edit-card { margin-bottom: 1.25rem; }
.kach-edit-card__title { font-size: .95rem; font-weight: 700; color: var(--kach-dark); margin-bottom: 1.1rem; padding-bottom: .625rem; border-bottom: 1px solid var(--kach-gray-100); }

/* Address grid */
.kach-address-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.kach-address-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .875rem; }
.kach-address-card__title { font-size: .9rem; font-weight: 700; color: var(--kach-dark); margin: 0; }
address.kach-addr { font-style: normal; font-size: .875rem; color: var(--kach-gray-700); line-height: 1.7; margin: 0; }

/* ══════════════════════════════════════════
   CART
══════════════════════════════════════════ */
/* ═══ Cart header ═══ */
.kach-cart-head {
  display: grid; grid-template-columns: 2.5fr 1fr 1fr 1fr 36px; gap: 1rem;
  padding: 0 1rem .75rem;
}
.kach-cart-head span {
  font-family: var(--kach-font);
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--kach-gray-400);
}

/* ═══ Cart row ═══ */
.kach-cart-row {
  display: grid; grid-template-columns: 2.5fr 1fr 1fr 1fr 36px; gap: 1rem;
  align-items: center; background: #fff;
  border: 1px solid var(--kach-gray-200); border-radius: var(--kach-radius-lg);
  padding: 1rem; margin-bottom: .75rem;
  box-shadow: var(--kach-shadow);
  transition: box-shadow var(--kach-trans), transform var(--kach-trans);
}
.kach-cart-row:hover {
  box-shadow: var(--kach-shadow-md);
  transform: translateY(-2px);
}

/* Product info */
.kach-cart-product { display: flex; align-items: center; gap: .875rem; }
.kach-cart-product__thumb {
  width: 72px; height: 72px; flex-shrink: 0;
  border-radius: var(--kach-radius); overflow: hidden;
  border: 1px solid var(--kach-gray-100); background: var(--kach-gray-50);
}
.kach-cart-product__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.kach-cart-product__name {
  font-family: var(--kach-font);
  font-size: .9rem; font-weight: 700; color: var(--kach-dark);
  text-decoration: none; line-height: 1.35; display: block;
  transition: color var(--kach-trans);
}
.kach-cart-product__name:hover { color: var(--kach-red); }
.kach-cart-product__sku {
  font-size: .72rem; color: var(--kach-gray-400); margin-top: .25rem;
}

/* Price */
.kach-cart-price {
  font-family: var(--kach-font);
  font-size: .9rem; color: var(--kach-gray-700); font-weight: 600;
}

/* Subtotal */
.kach-cart-subtotal {
  font-family: var(--kach-font);
  font-size: 1rem; font-weight: 800; color: var(--kach-red);
}

/* Qty stepper */
.kach-qty {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--kach-gray-200);
  border-radius: var(--kach-radius); overflow: hidden;
}
.kach-qty__btn {
  width: 32px; height: 36px; background: var(--kach-gray-50);
  border: none; cursor: pointer; font-size: 1rem; font-weight: 400;
  color: var(--kach-gray-500);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--kach-trans), color var(--kach-trans);
}
.kach-qty__btn:hover { background: var(--kach-gray-100); color: var(--kach-dark); }
.kach-qty__input {
  width: 42px; height: 36px; border: none;
  border-left: 1px solid var(--kach-gray-200);
  border-right: 1px solid var(--kach-gray-200);
  text-align: center; font-size: .875rem; font-weight: 700;
  font-family: var(--kach-font);
  color: var(--kach-dark); outline: none;
}
.kach-qty__input::-webkit-inner-spin-button,
.kach-qty__input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* Remove button */
.kach-cart-remove {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--kach-gray-50);
  border: 1px solid var(--kach-gray-200); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--kach-gray-400); text-decoration: none;
  transition: background var(--kach-trans), color var(--kach-trans), border-color var(--kach-trans);
}
.kach-cart-remove:hover {
  background: #fee2e2; border-color: #fca5a5; color: var(--kach-red);
}

/* Cart footer row */
.kach-cart-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid var(--kach-gray-100); flex-wrap: wrap;
}
.kach-coupon { display: flex; gap: .5rem; }
.kach-coupon__input {
  max-width: 200px; padding: 9px 14px;
  border: 1px solid var(--kach-gray-200); border-radius: var(--kach-radius);
  font-size: .85rem; font-family: var(--kach-font); outline: none;
  transition: border-color var(--kach-trans);
}
.kach-coupon__input:focus { border-color: var(--kach-red); }

/* ═══ Cart totals sidebar ═══ */
.kach-totals {
  background: #fff;
  border: 1px solid var(--kach-gray-200);
  border-radius: var(--kach-radius-lg);
  padding: 1.75rem;
  box-shadow: var(--kach-shadow-md);
  position: sticky; top: 100px;
}
.kach-totals__title {
  font-family: var(--kach-font);
  font-size: 1.1rem; font-weight: 800; color: var(--kach-dark);
  margin-bottom: 1.25rem;
}
.kach-totals__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .4rem 0; font-size: .875rem; color: var(--kach-gray-700);
}
.kach-totals__label {
  font-family: var(--kach-font);
  color: var(--kach-gray-500); font-size: 1rem;
}
.kach-totals__grand {
  display: flex; justify-content: space-between; align-items: center;
  padding: .875rem 0 0; margin-top: .875rem;
  border-top: 2px solid var(--kach-gray-100);
}
.kach-totals__grand-label {
  font-family: var(--kach-font);
  font-size: 1rem; font-weight: 700; color: var(--kach-dark);
}
.kach-totals__grand-price {
  font-family: var(--kach-font);
  font-size: 1.4rem; font-weight: 800; color: var(--kach-red);
}

/* Checkout button */
.kach-checkout-btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: .875rem;
  background: var(--kach-red); color: #fff;
  font-family: var(--kach-font);
  font-weight: 700; font-size: .9rem;
  text-transform: uppercase; letter-spacing: .04em;
  border: none; border-radius: var(--kach-radius); text-align: center;
  text-decoration: none; margin-top: 1.25rem; cursor: pointer;
  transition: background var(--kach-trans), box-shadow var(--kach-trans), transform var(--kach-trans);
}
.kach-checkout-btn:hover {
  background: var(--kach-red-hover); color: #fff;
  box-shadow: 0 6px 20px rgba(220,53,69,.3);
  transform: translateY(-1px);
}

/* Continue shopping */
.kach-totals__continue { text-align: center; margin-top: .875rem; }
.kach-totals__continue a {
  font-family: var(--kach-font);
  font-size: .8rem; color: var(--kach-gray-500);
  text-decoration: none; transition: color var(--kach-trans);
}
.kach-totals__continue a:hover { color: var(--kach-red); }

/* Trust indicators */
.kach-trust-row {
  margin-top: 1.25rem; padding-top: 1rem;
  border-top: 1px solid var(--kach-gray-100);
}
.kach-trust-item {
  font-family: var(--kach-font);
  font-size: .75rem; color: var(--kach-gray-400);
  padding: .25rem 0; display: flex; align-items: center;
}

/* WC qty override on cart */
.woocommerce-cart .quantity { display: flex; }
.woocommerce-cart .quantity .qty {
  width: 56px; padding: .5rem;
  border: 1.5px solid var(--kach-gray-200);
  border-radius: var(--kach-radius); font-size: .875rem; font-weight: 700;
  font-family: var(--kach-font);
  text-align: center; outline: none;
  transition: border-color var(--kach-trans);
}
.woocommerce-cart .quantity .qty:focus { border-color: var(--kach-red); }

/* ═══ Empty cart ═══ */
.kach-empty {
  text-align: center; padding: 5rem 1.5rem;
  background: #fff;
  border: 1px solid var(--kach-gray-200);
  border-radius: var(--kach-radius-lg);
  box-shadow: var(--kach-shadow);
}
.kach-empty__title {
  font-family: var(--kach-font);
  font-size: 1.3rem; font-weight: 800; color: var(--kach-dark);
  margin-bottom: .5rem;
}
.kach-empty__text {
  color: var(--kach-gray-500); margin-bottom: 1.5rem;
  font-size: .92rem;
}

/* ═══ Mobile cart ═══ */
@media (max-width: 767px) {
  .kach-cart-head { display: none; }
  .kach-cart-row {
    grid-template-columns: 1fr;
    gap: .75rem;
    padding: 1rem;
  }
  .kach-cart-product__thumb { width: 64px; height: 64px; }
  .kach-cart-price::before { content: 'Цена: '; font-weight: 400; color: var(--kach-gray-400); font-size: .78rem; }
  .kach-cart-subtotal::before { content: 'Сумма: '; font-weight: 400; color: var(--kach-gray-400); font-size: .78rem; }
  .kach-cart-remove {
    position: absolute; top: 10px; right: 10px;
  }
  .kach-cart-row { position: relative; }
  .kach-totals { position: static; }
  .kach-coupon { width: 100%; }
  .kach-coupon__input { max-width: none; flex: 1; }
}

/* Hide default WC notice styling */
.wc-empty-cart-message { display: none; }

/* ══════════════════════════════════════════
   CHECKOUT
══════════════════════════════════════════ */
.kach-steps { display: flex; align-items: center; margin-bottom: 1.75rem; }
.kach-step { flex: 1; display: flex; flex-direction: column; align-items: center; position: relative; }
.kach-step + .kach-step::before { content: ''; position: absolute; right: 50%; top: 17px; left: -50%; height: 2px; background: var(--kach-gray-200); }
.kach-step--done + .kach-step::before, .kach-step--active + .kach-step::before { background: var(--kach-red); }
.kach-step__dot { width: 34px; height: 34px; border-radius: 50%; background: var(--kach-gray-100); border: 2px solid var(--kach-gray-200); display: flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 700; color: var(--kach-gray-400); position: relative; z-index: 1; }
.kach-step--active .kach-step__dot { background: var(--kach-red); border-color: var(--kach-red); color: #fff; box-shadow: 0 0 0 4px rgba(220,53,69,.15); }
.kach-step--done .kach-step__dot { background: var(--kach-red); border-color: var(--kach-red); color: #fff; }
.kach-step__label { font-size: .7rem; font-weight: 600; color: var(--kach-gray-400); margin-top: .4rem; text-align: center; }
.kach-step--active .kach-step__label { color: var(--kach-red); }
.kach-step--done .kach-step__label   { color: var(--kach-gray-700); }

.kach-checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 1.5rem; align-items: start; }
.kach-checkout-cols  { display: flex; flex-direction: column; gap: 1.1rem; }
.kach-checkout-section { background: #fff; border: 1px solid var(--kach-gray-200); border-radius: var(--kach-radius-lg); padding: 1.5rem; box-shadow: var(--kach-shadow); }
.kach-checkout-section__title { font-size: .95rem; font-weight: 700; color: var(--kach-dark); margin: 0 0 1.1rem; display: flex; align-items: center; gap: .5rem; }
.kach-checkout-sidebar { position: sticky; top: 100px; }

/* WC checkout field overrides */
.woocommerce-checkout .form-row { margin-bottom: .875rem; }
.woocommerce-checkout .form-row label { font-size: 1rem; font-weight: 600; color: var(--kach-gray-700); display: block; margin-bottom: .35rem; }
.woocommerce-checkout .form-row abbr { color: var(--kach-red); }
.woocommerce-checkout .input-text, .woocommerce-checkout select {
  width: 100% !important; display: block !important;
  padding: .6rem 1rem !important; border: 1.5px solid var(--kach-gray-200) !important;
  border-radius: var(--kach-radius) !important; font-size: .875rem !important;
  color: var(--kach-dark) !important; background: #fff !important;
  transition: border-color var(--kach-trans), box-shadow var(--kach-trans) !important;
  outline: none !important; appearance: none !important;
}
.woocommerce-checkout .input-text:focus, .woocommerce-checkout select:focus {
  border-color: var(--kach-red) !important;
  box-shadow: 0 0 0 3px rgba(220,53,69,.1) !important;
}
.woocommerce-checkout .form-row-first { float: left; width: calc(50% - .5rem); }
.woocommerce-checkout .form-row-last  { float: right; width: calc(50% - .5rem); }
.woocommerce-checkout .form-row-wide::after, .woocommerce-checkout .col2-set::after { content: ''; display: block; clear: both; }

/* Payment methods */
#payment { margin-top: 1rem; }
#payment .payment_methods { list-style: none; padding: 0; margin: 0 0 1rem; }
#payment .payment_methods li { border: 1.5px solid var(--kach-gray-200); border-radius: var(--kach-radius-sm); margin-bottom: .5rem; overflow: hidden; transition: border-color var(--kach-trans); }
#payment .payment_methods li:has(input:checked) { border-color: var(--kach-red); }
#payment .payment_methods label { display: flex; align-items: center; gap: .6rem; padding: .7rem 1rem; cursor: pointer; font-size: .875rem; font-weight: 500; }
#payment .payment_methods input[type=radio] { accent-color: var(--kach-red); }
#payment .payment_box { padding: 0 1rem .75rem; font-size: 1rem; color: var(--kach-gray-500); background: var(--kach-gray-50); }
#payment #place_order {
  display: block; width: 100%; padding: .85rem;
  background: var(--kach-red); border: none; border-radius: var(--kach-radius);
  color: #fff; font-size: .95rem; font-weight: 700; cursor: pointer;
  transition: background var(--kach-trans), box-shadow var(--kach-trans);
}
#payment #place_order:hover { background: var(--kach-red-hover); box-shadow: 0 4px 14px rgba(220,53,69,.3); }

/* Order review */
.kach-review-item { display: flex; align-items: center; gap: .75rem; padding: .5rem 0; border-bottom: 1px solid var(--kach-gray-50); }
.kach-review-item:last-child { border-bottom: none; }
.kach-review-item__img { position: relative; flex-shrink: 0; }
.kach-review-item__img img { width: 44px !important; height: 44px !important; border-radius: 6px; object-fit: cover; border: 1px solid var(--kach-gray-100); }
.kach-review-item__qty { position: absolute; top: -5px; right: -5px; width: 17px; height: 17px; background: var(--kach-red); color: #fff; border-radius: 50%; font-size: .62rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.kach-review-item__name  { flex: 1; font-size: .8rem; font-weight: 600; color: var(--kach-dark); }
.kach-review-item__price { font-size: 1rem; font-weight: 700; flex-shrink: 0; }
.kach-totals__section { border-top: 1px solid var(--kach-gray-100); padding-top: .875rem; margin-top: .875rem; }

/* WC terms */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { margin: 1rem 0 .75rem; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper label { font-size: 1rem; color: var(--kach-gray-700); }

/* ══════════════════════════════════════════
   THANK YOU
══════════════════════════════════════════ */
.kach-thankyou { max-width: 760px; margin: 0 auto; }
.kach-thankyou__hero { text-align: center; padding: 1.25rem 0 .5rem; }
.kach-thankyou__check { margin: 0 auto 1.1rem; width: 64px; height: 64px; }
.kach-thankyou__check svg { width: 64px; height: 64px; }
.kach-thankyou__check svg circle { stroke-dasharray: 160; stroke-dashoffset: 160; animation: kach-draw .5s ease forwards; }
.kach-thankyou__check svg path  { stroke-dasharray: 36; stroke-dashoffset: 36; animation: kach-draw .4s .45s ease forwards; }
@keyframes kach-draw { to { stroke-dashoffset: 0; } }
.kach-thankyou__title { font-size: 1.75rem; font-weight: 800; margin-bottom: .5rem; }
.kach-thankyou__sub   { color: var(--kach-gray-500); }

.kach-thankyou__meta { display: grid; grid-template-columns: repeat(4,1fr); gap: .875rem; margin: 1.25rem 0; }
.kach-tmeta__label { font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; color: var(--kach-gray-400); font-weight: 700; margin-bottom: .3rem; }
.kach-tmeta__val   { font-size: .9rem; font-weight: 700; color: var(--kach-dark); }

.kach-thankyou__addrs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.25rem; }

/* ══════════════════════════════════════════
   MINI CART
══════════════════════════════════════════ */
.kach-minicart {
  --mc-bg:        #fff;
  --mc-border:    #e5e7eb;
  --mc-item-bg:   #f9fafb;
  --mc-radius:    10px;
}

/* Item */
.kach-mc-item {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .875rem 1rem;
  border-bottom: 1px solid var(--mc-border);
  background: var(--mc-bg);
  transition: background var(--kach-trans);
}
.kach-mc-item:hover { background: var(--mc-item-bg); }
.kach-mc-item:last-child { border-bottom: none; }

.kach-mc-img {
  flex-shrink: 0; width: 58px; height: 58px;
  border-radius: 8px; overflow: hidden;
  border: 1px solid var(--mc-border); background: var(--mc-item-bg);
}
.kach-mc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.kach-mc-body { flex: 1; min-width: 0; }
.kach-mc-name {
  display: block; font-size: 1rem; font-weight: 600; color: var(--kach-dark);
  text-decoration: none; line-height: 1.35; margin-bottom: .3rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.kach-mc-name:hover { color: var(--kach-red); }
.kach-mc-variation { font-size: .72rem; color: var(--kach-gray-400); margin-bottom: .35rem; }
.kach-mc-price-row { display: flex; align-items: center; gap: .5rem; }
.kach-mc-qty-price  { font-size: .78rem; color: var(--kach-gray-500); }
.kach-mc-subtotal   { font-size: .85rem; font-weight: 700; color: var(--kach-red); margin-left: auto; }

/* Qty controls in mini cart */
.kach-mc-qty-wrap { display: flex; align-items: center; gap: .35rem; margin-top: .4rem; }
.kach-mc-qty-btn {
  width: 24px; height: 24px; border-radius: 4px;
  background: var(--mc-item-bg); border: 1px solid var(--mc-border);
  cursor: pointer; font-size: .9rem; font-weight: 300;
  display: flex; align-items: center; justify-content: center;
  color: var(--kach-gray-500); transition: background var(--kach-trans);
  line-height: 1;
}
.kach-mc-qty-btn:hover { background: var(--kach-gray-200); color: var(--kach-dark); }
.kach-mc-qty-input {
  width: 34px; height: 24px; border: 1px solid var(--mc-border);
  border-radius: 4px; text-align: center; font-size: .78rem; font-weight: 600;
  color: var(--kach-dark); outline: none;
}
.kach-mc-qty-input:focus { border-color: var(--kach-red); }

.kach-mc-remove {
  width: 26px; height: 26px; flex-shrink: 0;
  border-radius: 50%; background: transparent; border: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--kach-gray-300); text-decoration: none; font-size: .75rem;
  transition: background var(--kach-trans), color var(--kach-trans);
}
.kach-mc-remove:hover { background: #fee2e2; color: var(--kach-red); }

/* Footer */
.kach-mc-footer { padding: 1rem; border-top: 1px solid var(--mc-border); background: var(--mc-bg); }
.kach-mc-total  { display: flex; align-items: center; justify-content: space-between; margin-bottom: .875rem; }
.kach-mc-total__label { font-size: 1rem; color: var(--kach-gray-500); font-weight: 600; }
.kach-mc-total__price { font-size: 1.15rem; font-weight: 800; color: var(--kach-dark); }
.kach-mc-btns { display: flex; flex-direction: column; gap: .5rem; }
.kach-mc-btn-cart {
  display: block; width: 100%; padding: .6rem 1rem;
  border: 1.5px solid var(--kach-gray-200); border-radius: var(--kach-radius);
  background: #fff; color: var(--kach-dark); font-size: .875rem; font-weight: 600;
  text-align: center; text-decoration: none;
  transition: border-color var(--kach-trans), background var(--kach-trans);
}
.kach-mc-btn-cart:hover { border-color: var(--kach-dark); background: var(--kach-gray-50); color: var(--kach-dark); }
.kach-mc-btn-checkout {
  display: block; width: 100%; padding: .65rem 1rem;
  background: var(--kach-red); border: 2px solid var(--kach-red);
  border-radius: var(--kach-radius); color: #fff; font-size: .875rem; font-weight: 700;
  text-align: center; text-decoration: none;
  transition: background var(--kach-trans), box-shadow var(--kach-trans);
}
.kach-mc-btn-checkout:hover { background: var(--kach-red-hover); border-color: var(--kach-red-hover); color: #fff; box-shadow: 0 3px 10px rgba(220,53,69,.3); }

/* Empty mini cart */
.kach-mc-empty { padding: 2rem 1rem; text-align: center; color: var(--kach-gray-500); font-size: .875rem; }

/* Notices in mini cart */
.woocommerce-messages-container { min-height: 0; }
.kach-mc-notices { padding: .5rem 1rem 0; }

/* ══════════════════════════════════════════
   WHOLESALE PAGE
══════════════════════════════════════════ */
.kach-wholesale-hero {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  border-radius: var(--kach-radius-lg); padding: 2.5rem 2rem;
  text-align: center; color: #fff; margin-bottom: 2rem;
  position: relative; overflow: hidden;
}
.kach-wholesale-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% -5%, rgba(220,53,69,.2) 0%, transparent 70%);
}
.kach-wholesale-hero > * { position: relative; }
.kach-wholesale-hero__badge { margin-bottom: .875rem; }
.kach-wholesale-hero__title { font-size: clamp(1.4rem,4vw,2.2rem); font-weight: 800; margin-bottom: .625rem; }
.kach-wholesale-hero__sub   { opacity: .7; font-size: .95rem; margin-bottom: 1.25rem; }

.kach-benefits { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-bottom: 2rem; }
.kach-benefit { background: #fff; border: 1px solid var(--kach-gray-200); border-radius: var(--kach-radius-lg); padding: 1.25rem; box-shadow: var(--kach-shadow); transition: transform var(--kach-trans), box-shadow var(--kach-trans); }
.kach-benefit:hover { transform: translateY(-2px); box-shadow: var(--kach-shadow-md); }
.kach-benefit__icon  { width: 36px; height: 36px; background: #fee2e2; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: .75rem; }
.kach-benefit__icon svg { color: var(--kach-red); }
.kach-benefit__title { font-size: 1rem; font-weight: 700; color: var(--kach-dark); margin-bottom: .35rem; }
.kach-benefit__text  { font-size: 1rem; color: var(--kach-gray-500); line-height: 1.6; margin: 0; }

.kach-wholesale-layout { display: grid; grid-template-columns: 1fr 300px; gap: 2rem; margin-bottom: 2rem; align-items: start; }
.kach-steps-list { list-style: none; padding: 0; margin: 0; }
.kach-steps-list li { display: flex; gap: .875rem; align-items: flex-start; margin-bottom: 1.1rem; }
.kach-steps-list__num { width: 36px; height: 36px; flex-shrink: 0; background: var(--kach-red); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 800; }
.kach-steps-list__title { font-weight: 700; color: var(--kach-dark); margin-bottom: .25rem; font-size: .9rem; }
.kach-steps-list__text  { font-size: 1rem; color: var(--kach-gray-500); line-height: 1.6; margin: 0; }

.kach-stats-card { background: #fff; border: 1px solid var(--kach-gray-200); border-radius: var(--kach-radius-lg); padding: 1.5rem; box-shadow: var(--kach-shadow); position: sticky; top: 100px; }
.kach-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.1rem; }
.kach-stat__num   { font-size: 1.85rem; font-weight: 800; color: var(--kach-red); line-height: 1; }
.kach-stat__label { font-size: .75rem; color: var(--kach-gray-500); line-height: 1.4; margin-top: .2rem; }

/* FAQ */
.kach-faq { max-width: 720px; margin: 0 auto; }
.kach-faq-item { background: #fff; border: 1px solid var(--kach-gray-200); border-radius: var(--kach-radius); margin-bottom: .5rem; overflow: hidden; transition: border-color var(--kach-trans); }
.kach-faq-item.is-open { border-color: rgba(220,53,69,.3); }
.kach-faq-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.1rem; background: none; border: none; cursor: pointer; font-size: .9rem; font-weight: 600; color: var(--kach-dark); text-align: left; transition: color var(--kach-trans); }
.kach-faq-item.is-open .kach-faq-btn { color: var(--kach-red); }
.kach-faq-icon { flex-shrink: 0; transition: transform var(--kach-trans); color: var(--kach-gray-400); }
.kach-faq-item.is-open .kach-faq-icon { transform: rotate(180deg); color: var(--kach-red); }
.kach-faq-body { padding: 0 1.1rem .9rem; font-size: .85rem; color: var(--kach-gray-500); line-height: 1.7; }

.kach-wholesale-form-section { background: linear-gradient(135deg, #111827 0%, #1f2937 100%); border-radius: var(--kach-radius-lg); padding: 2rem; margin-bottom: 2rem; }
.kach-wholesale-form-section .kach-section-title { color: #fff; font-size: 1.3rem; font-weight: 800; margin-bottom: .35rem; }
.kach-wholesale-form-section .kach-section-sub   { color: rgba(255,255,255,.6); font-size: .875rem; margin-bottom: 1.25rem; }
.kach-wholesale-form-inner { background: #fff; border-radius: var(--kach-radius); padding: 1.75rem; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.kach-footer {
  background: #0f172a;
  color: rgba(255,255,255,.75);
  font-size: .875rem;
}
.kach-footer-top {
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 2.5rem 0;
}
.kach-footer__logo { display: block; margin-bottom: .875rem; max-width: 140px; }
.kach-footer__about { font-size: 1rem; color: rgba(255,255,255,.5); line-height: 1.7; margin-bottom: 1rem; }
.kach-footer__socials { display: flex; gap: .625rem; }
.kach-footer__social {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); text-decoration: none; font-size: .875rem;
  transition: background var(--kach-trans), color var(--kach-trans);
}
.kach-footer__social:hover { background: var(--kach-red); border-color: var(--kach-red); color: #fff; }
.kach-footer__col-title { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.35); margin-bottom: .875rem; }
.kach-footer__nav { list-style: none; padding: 0; margin: 0; }
.kach-footer__nav li { margin-bottom: .45rem; }
.kach-footer__nav a { color: rgba(255,255,255,.6); text-decoration: none; font-size: 1rem; transition: color var(--kach-trans); }
.kach-footer__nav a:hover { color: #fff; }
.kach-footer__contacts { list-style: none; padding: 0; margin: 0; }
.kach-footer__contacts li { display: flex; align-items: flex-start; gap: .625rem; margin-bottom: .75rem; color: rgba(255,255,255,.6); font-size: 1rem; line-height: 1.5; }
.kach-footer__contacts a { color: rgba(255,255,255,.75); text-decoration: none; transition: color var(--kach-trans); }
.kach-footer__contacts a:hover { color: #fff; }
.kach-footer__contact-icon { width: 16px; flex-shrink: 0; margin-top: .15rem; color: var(--kach-red); }
.kach-footer-bottom { padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.06); }
.kach-footer-copy { font-size: .78rem; color: rgba(255,255,255,.3); }

/* ══════════════════════════════════════════
   WC NOTICES OVERRIDE
══════════════════════════════════════════ */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-info {
  border-radius: var(--kach-radius-sm); font-size: .875rem;
  border-left: 3px solid #10b981; background: #ecfdf5; color: #065f46;
  padding: .75rem 3rem; margin-bottom: .875rem; list-style: none;
}
.woocommerce-notices-wrapper .woocommerce-error { border-color: var(--kach-red); background: #fef2f2; color: #991b1b; }
.woocommerce-notices-wrapper .woocommerce-info  { border-color: #3b82f6; background: #eff6ff; color: #1e40af; }
.woocommerce-notices-wrapper ul { padding-left: 1rem; margin: 0; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 991px) {
  .kach-account-layout { grid-template-columns: 1fr; }
  .kach-nav { position: static; }
  .kach-quick { grid-template-columns: repeat(2,1fr); }
  .kach-view-body { grid-template-columns: 1fr; }
  .kach-address-grid { grid-template-columns: 1fr; }
  .kach-checkout-layout { grid-template-columns: 1fr; }
  .kach-checkout-sidebar { position: static; }
  .kach-cart-row > div:nth-child(2),
  .kach-cart-row > div:nth-child(3) { display: none; }
  .kach-cart-head { display: none; }
  .kach-cart-row { grid-template-columns: 1fr auto 36px; }
  .kach-benefits { grid-template-columns: repeat(2,1fr); }
  .kach-wholesale-layout { grid-template-columns: 1fr; }
  .kach-stats-card { position: static; }
  .kach-totals { position: static; }
  .kach-thankyou__meta { grid-template-columns: repeat(2,1fr); }
  .kach-thankyou__addrs { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .kach-auth-wrap { grid-template-columns: 1fr; gap: 1rem; }
  .kach-auth-card { padding: 1.25rem 1.25rem; }
  .kach-benefits { grid-template-columns: 1fr; }
  .kach-steps .kach-step__label { display: none; }
  .kach-wholesale-hero { padding: 1.75rem 1rem; }
}

/* ── Shipping in checkout sidebar ── */
.kach-checkout-sidebar .woocommerce-shipping-totals td { display: block; padding: 0; }
.kach-checkout-sidebar .woocommerce-shipping-totals th { display: block; padding: 0; font-size: 1rem; font-weight: 600; color: var(--kach-gray-700, #374151); margin-bottom: .35rem; }
.kach-checkout-sidebar .woocommerce-shipping-totals { margin-bottom: .75rem; }
.kach-checkout-sidebar #shipping_method { list-style: none; padding: 0; margin: 0; }
.kach-checkout-sidebar #shipping_method li { font-size: 1rem; margin-bottom: .35rem; display: flex; align-items: center; gap: .4rem; }
.kach-checkout-sidebar #shipping_method li label { margin: 0; cursor: pointer; }
.kach-checkout-sidebar #shipping_method li input[type="radio"] { accent-color: var(--kach-red, #dc3545); }
.kach-checkout-sidebar .woocommerce-shipping-destination { font-size: .78rem; color: var(--kach-gray-400, #9ca3af); }
.kach-checkout-sidebar .shipping-calculator-button { font-size: .78rem; color: var(--kach-red, #dc3545); text-decoration: none; }

/* Payment in checkout */
.woocommerce-checkout-payment { margin-top: 1rem; }
.woocommerce-checkout-payment .wc_payment_methods { list-style: none; padding: 0; margin: 0 0 1rem; }
.woocommerce-checkout-payment .wc_payment_method { border: 1px solid var(--kach-gray-200, #e5e7eb); border-radius: 8px; padding: .75rem 1rem; margin-bottom: .5rem; transition: border-color .2s; }
.woocommerce-checkout-payment .wc_payment_method label { cursor: pointer; display: flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 500; margin: 0; }
.woocommerce-checkout-payment .payment_box { padding: .75rem 0 0 1.5rem; font-size: 1rem; color: var(--kach-gray-500, #6b7280); }
.woocommerce-checkout-payment .place-order { margin-top: 1rem; }

/* ══════════════════════════════════════════
   Checkout — review-order table styling
══════════════════════════════════════════ */
.woocommerce-checkout-review-order-table { width: 100%; border-collapse: collapse; }
.woocommerce-checkout-review-order-table thead { display: none; }
.woocommerce-checkout-review-order-table tbody tr { border-bottom: 1px solid var(--kach-gray-100, #f3f4f6); }
.woocommerce-checkout-review-order-table tbody td { padding: .65rem .4rem; vertical-align: middle; font-size: .85rem; }
.woocommerce-checkout-review-order-table tbody .product-name { color: var(--kach-dark, #111827); }
.woocommerce-checkout-review-order-table tbody .product-quantity { color: var(--kach-red, #dc3545); font-weight: 700; }
.woocommerce-checkout-review-order-table tbody .product-total,
.woocommerce-checkout-review-order-table tfoot td { text-align: right; font-weight: 600; font-size: .875rem; }
.woocommerce-checkout-review-order-table tfoot tr { border-bottom: 1px solid var(--kach-gray-100, #f3f4f6); }
.woocommerce-checkout-review-order-table tfoot th {
  text-align: left; font-size: 1rem; font-weight: 500; color: var(--kach-gray-500, #6b7280); padding: .55rem .4rem;
}
.woocommerce-checkout-review-order-table tfoot td { padding: .55rem .4rem; font-size: .85rem; }
.woocommerce-checkout-review-order-table tfoot tr.order-total { border-bottom: none; border-top: 2px solid var(--kach-gray-200, #e5e7eb); }
.woocommerce-checkout-review-order-table tfoot tr.order-total th {
  font-size: .95rem; font-weight: 700; color: var(--kach-dark, #111827); padding-top: .75rem;
}
.woocommerce-checkout-review-order-table tfoot tr.order-total td {
  font-size: 1.1rem; font-weight: 800; color: var(--kach-red, #dc3545); padding-top: .75rem;
}
/* Shipping options */
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals td { text-align: right; }
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals ul { list-style: none; padding: 0; margin: 0; }
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals li { margin-bottom: .25rem; font-size: 1rem; }
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals label { font-weight: 400; cursor: pointer; }
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals input[type="radio"] { margin-right: .3rem; accent-color: var(--kach-red, #dc3545); }
/* Payment in checkout */
.woocommerce-checkout-payment { margin-top: 1rem; }
.woocommerce-checkout-payment .wc_payment_methods { list-style: none; padding: 0; margin: 0 0 1rem; }
.woocommerce-checkout-payment .wc_payment_method { border: 1.5px solid var(--kach-gray-200, #e5e7eb); border-radius: 8px; padding: .75rem 1rem; margin-bottom: .5rem; transition: border-color .2s; }
.woocommerce-checkout-payment .wc_payment_method:has(input:checked) { border-color: var(--kach-red, #dc3545); }
.woocommerce-checkout-payment .wc_payment_method label { font-size: .85rem; font-weight: 600; cursor: pointer; }
.woocommerce-checkout-payment .wc_payment_method input[type="radio"] { margin-right: .5rem; accent-color: var(--kach-red, #dc3545); }
.woocommerce-checkout-payment .payment_box { padding: .75rem 0 0; font-size: 1rem; color: var(--kach-gray-500, #6b7280); }
