/* ============================================================
   Korea Care – assets/css/woocommerce.css
   Estilos para páginas WooCommerce (shop, archive, cart, checkout).
   ============================================================ */

/* ── SHOP / ARCHIVE GRID ── */
.kc-wc-page { padding: 0; }

.woocommerce-products-header { padding: 40px 40px 0 32px; }
.woocommerce-products-header__title { font-size: 36px; font-weight: 900; margin-bottom: 8px; }

/* Legacy shop-wrap — sidebar layout */
.kc-shop-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 0;
}

/* ════════════════════════════
   SIDEBAR DE CATEGORIAS
════════════════════════════ */
.kc-shop-sidebar {
  width: 220px;
  flex-shrink: 0;
  padding: 32px 0 40px 40px;
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  scrollbar-width: none;
}
.kc-shop-sidebar::-webkit-scrollbar { display: none; }

.kc-sidebar-section { margin-bottom: 28px; }

.kc-sidebar-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 14px;
}

.kc-sidebar-cats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.kc-sidebar-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.kc-sidebar-cat:hover {
  background: #F0EBE6;
  color: var(--bronze, #9B6B43);
}
.kc-sidebar-cat.active {
  background: var(--black, #0D0D0D);
  color: #fff;
}
.kc-sidebar-cat.active .kc-sidebar-count { opacity: 0.6; }

.kc-sidebar-count {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.45;
  margin-left: 4px;
}

/* Toggle ver esgotados (sidebar) */
.kc-sidebar-oos { border-top: 1.5px solid #EEEAE6; padding-top: 20px; }

.kc-oos-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1.5px solid #DDD8D2;
  border-radius: 100px;
  background: #fff;
  font-size: 11px;
  font-weight: 700;
  color: #999;
  text-decoration: none;
  white-space: nowrap;
  transition: all .15s;
}
.kc-oos-toggle svg { flex-shrink: 0; }
.kc-oos-toggle:hover { border-color: var(--gold, #C9A46A); color: var(--bronze, #9B6B43); }
.kc-oos-toggle.active {
  background: var(--gold, #C9A46A);
  border-color: var(--gold, #C9A46A);
  color: #fff;
}

/* ════ SHOP MAIN ════ */
.kc-shop-main {
  flex: 1;
  min-width: 0;
  padding: 28px 40px 72px 32px;
}

/* Result count + ordering bar */
.kc-shop-full .woocommerce-result-count { font-size: 13px; color: #999; margin-bottom: 10px; }
.kc-shop-full .woocommerce-ordering { margin-bottom: 20px; }

/* Products grid */
.products.columns-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.products.columns-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.products.columns-3 { grid-template-columns: repeat(3, 1fr); }
.products.columns-2 { grid-template-columns: repeat(2, 1fr); }
.products li.product { list-style: none !important; }
.products li.product::before { display: none !important; }

/* ─── WC toolbar ─── */
.woocommerce-ordering { margin-bottom: 24px; }
.woocommerce-ordering select {
  border: 1.5px solid #ddd;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--txt);
  outline: none;
  appearance: none;
  cursor: pointer;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M0 0l5 6 5-6z' fill='%23888'/></svg>") no-repeat right 14px center;
  padding-right: 34px;
}
.woocommerce-ordering select:focus { border-color: var(--gold, #C9A46A); }
.woocommerce-result-count { font-size: 13px; color: #888; margin-bottom: 8px; }

/* WC product loop card (content-product.php) */
.kc-loop-card {
  background: #fff; border: 1.5px solid #F0F0F0; border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s; height: 100%;
}
.kc-loop-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.1); transform: translateY(-2px); }

.kc-loop-card .kc-card-img {
  width: 100%; aspect-ratio: 1/1; background: var(--pk-light); overflow: hidden;
}
/* Force image to fill square container – overrides WC's height:auto */
.kc-loop-card .kc-card-img img,
.woocommerce ul.products li.product .kc-loop-card .kc-card-img img {
  width: 100% !important; height: 100% !important;
  object-fit: cover; transition: transform .35s;
  display: block;
}
.kc-loop-card:hover .kc-card-img img { transform: scale(1.05); }

/* Card body */
.kc-loop-card .kc-card-body {
  padding: 14px 14px 16px; display: flex; flex-direction: column; flex: 1;
}
.kc-loop-card .kc-card-brand { font-size: 10px; color: #b0b0b0; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.kc-loop-card .kc-card-name { font-size: 14px; font-weight: 700; line-height: 1.35; color: var(--txt); margin-bottom: 8px; flex: 1; }
.kc-loop-card .kc-card-name:hover { color: var(--pk); }

/* SVG star rating */
.kc-loop-card .kc-card-stars { display: flex; gap: 2px; margin-bottom: 10px; }
.kc-loop-card .kc-card-stars .kc-star {
  width: 13px; height: 13px; stroke: #FFBA00; fill: none; stroke-width: 2;
}
.kc-loop-card .kc-card-stars .kc-star--filled { fill: #FFBA00; }

.kc-loop-card .kc-card-price { font-size: 15px; font-weight: 800; color: var(--txt); margin-bottom: 14px; }
.kc-loop-card .kc-card-price .price ins { text-decoration: none; }
.kc-loop-card .kc-card-price .price del { font-size: 12px; color: #bbb; font-weight: 400; margin-right: 5px; }

/* Full-width add-to-cart button */
.kc-loop-card .kc-card-atc {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 11px 14px;
  background: var(--txt); color: #fff;
  border: none; border-radius: 10px; cursor: pointer;
  font-size: 13px; font-weight: 700; font-family: inherit;
  text-decoration: none; transition: background .2s;
  margin-top: auto;
}
.kc-loop-card .kc-card-atc svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.kc-loop-card .kc-card-atc:hover { background: var(--pk); }
.kc-loop-card .kc-card-atc.loading { opacity: .6; pointer-events: none; }
.kc-loop-card .added_to_cart { display: none; }

/* Out of stock badge */
.kc-loop-card .kc-oos {
  background: #eee; color: #aaa; font-size: 9px; font-weight: 700;
  text-transform: uppercase; padding: 3px 8px; border-radius: 8px;
}

/* Pagination */
.woocommerce-pagination { padding: 36px 0; display: flex; justify-content: center; }
.woocommerce-pagination ul { display: flex; gap: 8px; list-style: none; }
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid #ddd; font-size: 13px; font-weight: 600;
  color: var(--txt); transition: background .2s, border-color .2s;
}
.woocommerce-pagination ul li span.current,
.woocommerce-pagination ul li a:hover { background: var(--pk); border-color: var(--pk); color: #fff; }

/* Flash notices */
.woocommerce-message, .woocommerce-error, .woocommerce-info {
  padding: 12px 20px; border-radius: 10px;
  margin: 0 80px 20px; font-size: 14px;
}
.woocommerce-message { background: #e9f7ef; border-left: 4px solid #27ae60; color: #1a6b3c; }
.woocommerce-error { background: #fdecea; border-left: 4px solid #e74c3c; color: #8a1a1a; }
.woocommerce-info { background: #eaf4fb; border-left: 4px solid #3498db; color: #1a4a6b; }
.woocommerce-message .button { margin-left: auto; float: right; }
.woocommerce-message .button,
.woocommerce-error .button { background: var(--pk); color: #fff; padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; border: none; cursor: pointer; }

/* ── CART PAGE ── */
.kc-cart-page { padding: 36px 80px 72px; max-width: 1400px; margin: 0 auto; }

/* Header */
.kc-cart-page-header { margin-bottom: 36px; }
.kc-cart-back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: #888;
  text-decoration: none; margin-bottom: 14px;
  transition: color .2s;
}
.kc-cart-back-link:hover { color: var(--pk); }
.kc-cart-back-link svg { flex-shrink: 0; }
.kc-cart-page-header h1 {
  font-size: 32px; font-weight: 900; color: var(--txt);
  display: flex; align-items: baseline; gap: 12px;
}
.kc-cart-page-count {
  font-size: 16px; font-weight: 500; color: #999;
}

/* Layout two-column */
.kc-cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

/* ── Items column ── */
.kc-cart-items-list { display: flex; flex-direction: column; gap: 16px; }

.kc-cart-card {
  display: flex; gap: 20px; align-items: flex-start;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  transition: box-shadow .2s;
}
.kc-cart-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.07); }

.kc-cart-card-img {
  flex-shrink: 0; width: 100px; height: 100px;
  border-radius: 14px; overflow: hidden;
  background: var(--pk-bg);
}
.kc-cart-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.kc-cart-card-img a { display: block; width: 100%; height: 100%; }

.kc-cart-card-body { flex: 1; min-width: 0; }

.kc-cart-card-top {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 12px;
  margin-bottom: 18px;
}
.kc-cart-card-name a {
  font-size: 15px; font-weight: 700; color: var(--txt);
  text-decoration: none; line-height: 1.4;
  display: block;
}
.kc-cart-card-name a:hover { color: var(--pk); }
.kc-cart-card-unit-price .amount {
  font-size: 14px; font-weight: 600; color: #888; white-space: nowrap;
}

.kc-cart-card-bottom {
  display: flex; align-items: center; gap: 20px;
}

/* Qty stepper */
.kc-qty-stepper {
  display: flex; align-items: center;
  border: 1.5px solid var(--border); border-radius: 50px;
  overflow: hidden; height: 40px;
}
.kc-qty-btn {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 100%; flex-shrink: 0;
  background: none; border: none; cursor: pointer;
  color: var(--txt); transition: background .15s, color .15s;
}
.kc-qty-btn:hover { background: var(--pk-light); color: var(--pk); }
.kc-qty-input {
  width: 44px; text-align: center; border: none; outline: none;
  font-size: 14px; font-weight: 700; color: var(--txt);
  font-family: inherit; background: transparent;
  -moz-appearance: textfield;
}
.kc-qty-input::-webkit-outer-spin-button,
.kc-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.kc-cart-card-subtotal .amount {
  font-size: 16px; font-weight: 800; color: var(--txt);
  white-space: nowrap;
}

.kc-cart-card-remove {
  margin-left: auto; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: none; border: 1.5px solid #eee;
  color: #bbb; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.kc-cart-card-remove:hover {
  background: #fdecea; border-color: #e74c3c; color: #e74c3c;
}

/* Update button */
.kc-cart-form-actions { margin-top: 20px; display: flex; justify-content: flex-end; }
.kc-cart-update-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: none; border: 1.5px solid var(--border);
  color: var(--txt2); padding: 10px 20px; border-radius: 30px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  font-family: inherit; transition: border-color .2s, color .2s;
}
.kc-cart-update-btn:hover { border-color: var(--pk); color: var(--pk); }

/* ── Summary column ── */
.kc-cart-summary-col { position: sticky; top: 100px; }
.kc-cart-summary-box {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 24px; padding: 28px;
}
.kc-cart-summary-title {
  font-size: 18px; font-weight: 900; margin-bottom: 20px;
  padding-bottom: 14px; border-bottom: 1.5px solid var(--border);
}

.kc-free-shipping-progress {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 16px;
}
.kc-free-shipping-progress--mini-cart {
  margin-bottom: 14px;
  border-radius: 14px;
  background: var(--pk-bg);
}
.kc-free-shipping-progress__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 10px;
}
.kc-free-shipping-progress__text strong { font-size: 13px; font-weight: 900; color: var(--txt); }
.kc-free-shipping-progress__text span { font-size: 12px; color: #666; line-height: 1.35; }
.kc-free-shipping-progress__track {
  height: 8px;
  border-radius: 999px;
  background: #eee9e4;
  overflow: hidden;
}
.kc-free-shipping-progress__track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--bronze));
}
.kc-free-shipping-progress__link {
  display: inline-flex;
  margin-top: 9px;
  font-size: 12px;
  font-weight: 800;
  color: var(--bronze);
  text-decoration: underline;
}
.kc-free-shipping-progress.is-unlocked {
  border-color: rgba(45,155,111,.25);
  background: #f0fdf4;
}
.kc-free-shipping-progress.is-unlocked .kc-free-shipping-progress__track span { background: #2d9b6f; }

.kc-next-bonus {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 13px 14px;
  border-radius: 14px;
  background: #fff8e8;
  border: 1.5px solid rgba(201,164,106,.35);
  margin-bottom: 16px;
}
.kc-next-bonus--mini-cart { margin-bottom: 14px; }
.kc-next-bonus__badge {
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.kc-next-bonus strong { display: block; font-size: 13px; font-weight: 900; color: var(--txt); margin-bottom: 3px; }
.kc-next-bonus p { margin: 0; font-size: 12px; color: #665b4d; line-height: 1.4; }

/* WC cart_totals inside summary */
.kc-cart-summary-box .cart_totals table {
  width: 100%; border-collapse: collapse;
}
.kc-cart-summary-box .cart_totals table th,
.kc-cart-summary-box .cart_totals table td {
  padding: 10px 0; border-bottom: 1px solid #f5f5f5; font-size: 14px;
}
.kc-cart-summary-box .cart_totals table th { color: #888; font-weight: 500; }
.kc-cart-summary-box .cart_totals table td { text-align: right; font-weight: 700; }
.kc-cart-summary-box .cart_totals .order-total th,
.kc-cart-summary-box .cart_totals .order-total td {
  border-bottom: none; padding-top: 14px; font-size: 16px;
}
.kc-cart-summary-box .cart_totals .order-total td .amount {
  font-size: 22px; color: var(--gold); font-weight: 900;
}

/* Checkout button */
.kc-cart-summary-box .proceed-to-checkout,
.kc-cart-summary-box .wc-proceed-to-checkout {
  margin-top: 4px;
}
.kc-cart-summary-box .proceed-to-checkout .checkout-button,
.kc-cart-summary-box .wc-proceed-to-checkout .checkout-button {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; text-align: center;
  background: var(--pk); color: #fff;
  padding: 17px 20px; border-radius: 50px;
  font-size: 16px; font-weight: 900; letter-spacing: .3px;
  margin-top: 18px; transition: background .2s, transform .15s, box-shadow .2s;
  text-decoration: none; box-shadow: 0 4px 16px rgba(201,164,106,.35);
}
.kc-cart-summary-box .proceed-to-checkout .checkout-button:hover,
.kc-cart-summary-box .wc-proceed-to-checkout .checkout-button:hover {
  background: var(--pk-dark); transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201,164,106,.45);
}
.kc-cart-summary-box .proceed-to-checkout .checkout-button::before,
.kc-cart-summary-box .wc-proceed-to-checkout .checkout-button::before {
  content: '';
  display: inline-block; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23fff' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0110 0v4'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
}

/* ── CEP Shipping Calculator ── */
.kc-cep-calc {
  margin-top: 20px; padding-top: 20px;
  border-top: 1.5px solid var(--border);
}
.kc-cep-calc-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 800; color: var(--txt);
  margin-bottom: 12px;
}
.kc-cep-calc-title svg { color: var(--pk); flex-shrink: 0; }

.kc-cep-calc-row {
  display: flex; gap: 8px;
}
.kc-cep-input {
  flex: 1; padding: 11px 14px;
  border: 1.5px solid #ddd; border-radius: 10px;
  font-size: 14px; font-family: inherit; color: var(--txt);
  outline: none; transition: border-color .2s;
  letter-spacing: .5px;
}
.kc-cep-input:focus { border-color: var(--pk); }
.kc-cep-btn {
  flex-shrink: 0; padding: 11px 18px;
  background: var(--txt); color: #fff;
  border: none; border-radius: 10px;
  font-size: 13px; font-weight: 700; font-family: inherit;
  cursor: pointer; transition: background .2s;
  white-space: nowrap;
}
.kc-cep-btn:hover { background: var(--pk); }
.kc-cep-btn:disabled { opacity: .6; cursor: not-allowed; }

.kc-cep-find-link {
  display: inline-block; margin-top: 8px;
  font-size: 12px; color: var(--pk); text-decoration: underline;
}

.kc-cep-result { margin-top: 12px; font-size: 13px; }
.kc-cep-result--error {
  padding: 10px 14px; border-radius: 8px;
  background: #fdecea; color: #c0392b; border-left: 3px solid #e74c3c;
}
.kc-cep-result--success {
  padding: 10px 14px; border-radius: 8px;
  background: #f0fdf4; border-left: 3px solid #27ae60;
}
.kc-cep-addr {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: #333; margin-bottom: 10px;
}
.kc-cep-addr svg { color: var(--pk); flex-shrink: 0; }

.kc-shipping-methods { display: flex; flex-direction: column; gap: 6px; }
.kc-shipping-method {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 10px; background: #fff; border-radius: 8px;
  border: 1.5px solid #e0f2e9;
}
.kc-sm-label { font-size: 13px; font-weight: 600; color: var(--txt); }
.kc-sm-cost { font-size: 13px; font-weight: 800; color: #27ae60; }
.kc-sm-cost .amount { font-size: 13px; font-weight: 800; color: #27ae60; }
.kc-cep-note { font-size: 12px; color: #666; margin: 4px 0 0; }

/* Coupon in summary */
.kc-cart-summary-box .coupon { margin-bottom: 16px; }
.kc-cart-summary-box .coupon label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #555; }
.kc-cart-summary-box .coupon .input-text {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid #ddd; border-radius: 10px;
  font-size: 13px; outline: none; font-family: inherit;
  transition: border-color .2s;
}
.kc-cart-summary-box .coupon .input-text:focus { border-color: var(--pk); }
.kc-cart-summary-box .coupon .button {
  background: none; border: 1.5px solid var(--pk);
  color: var(--pk); padding: 9px 18px; border-radius: 30px;
  font-size: 13px; font-weight: 700; cursor: pointer;
  margin-top: 8px; transition: background .15s, color .15s;
  font-family: inherit; width: 100%;
}
.kc-cart-summary-box .coupon .button:hover { background: var(--pk); color: #fff; }

/* Trust badges inside summary */
.kc-cart-trust-row {
  margin-top: 22px; padding-top: 18px;
  border-top: 1.5px solid var(--border);
  display: flex; flex-direction: column; gap: 10px;
}
.kc-cart-trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; color: #666;
}
.kc-cart-trust-item svg { flex-shrink: 0; color: var(--pk); }

/* Empty cart */
.kc-empty-cart {
  text-align: center; padding: 80px 40px;
}
.kc-empty-cart-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100px; height: 100px; border-radius: 50%;
  background: var(--pk-light); color: var(--pk);
  margin-bottom: 24px;
}
.kc-empty-cart h2 { font-size: 24px; font-weight: 900; margin-bottom: 10px; }
.kc-empty-cart p { font-size: 15px; color: #888; margin-bottom: 28px; }

/* ── CHECKOUT ── */
.kc-checkout-page { padding: 40px 80px 72px; max-width: 1400px; margin: 0 auto; }

.kc-checkout-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}

.kc-checkout-left { display: flex; flex-direction: column; gap: 20px; }

/* Cards / sections */
.kc-checkout-section {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 28px 32px;
}
.kc-checkout-section-title {
  font-size: 16px; font-weight: 800; color: #111;
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 20px; padding-bottom: 14px;
  border-bottom: 1px solid #f0f0f0;
}
.kc-checkout-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: #111; color: #fff;
  font-size: 12px; font-weight: 800; flex-shrink: 0;
}

/* Billing / shipping field labels */
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3 { display: none; }

/* Form rows */
.form-row { margin-bottom: 14px; }
.form-row label {
  display: block; font-size: 11px; font-weight: 700;
  margin-bottom: 5px; color: #888;
  text-transform: uppercase; letter-spacing: .5px;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="number"],
.form-row input[type="password"],
.form-row select,
.form-row textarea {
  width: 100%; padding: 11px 14px;
  border: 1px solid #ddd; border-radius: 8px;
  font-size: 14px; color: #111; outline: none;
  transition: border-color .15s, box-shadow .15s;
  font-family: inherit; background: #fff;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: #999;
  box-shadow: 0 0 0 3px rgba(0,0,0,.06);
}
.form-row.woocommerce-invalid input,
.form-row.woocommerce-invalid select { border-color: #c0392b; }
.form-row abbr { color: #c0392b; }

/* Side-by-side first/last name */
.woocommerce-billing-fields .form-row-first,
.woocommerce-billing-fields .form-row-last,
.woocommerce-shipping-fields .form-row-first,
.woocommerce-shipping-fields .form-row-last {
  display: inline-block; width: calc(50% - 7px); vertical-align: top;
}
.woocommerce-billing-fields .form-row-first,
.woocommerce-shipping-fields .form-row-first { margin-right: 12px; }

/* Payment methods */
#payment { margin: 0; }
#payment .payment_methods { list-style: none; padding: 0; margin: 0 0 20px; }
#payment .payment_methods li {
  padding: 14px 16px;
  border: 1px solid #e0e0e0; border-radius: 10px;
  margin-bottom: 8px; cursor: pointer;
  transition: border-color .15s;
}
#payment .payment_methods li:has(input:checked) { border-color: #333; }
#payment .payment_methods li input[type="radio"] { margin-right: 10px; accent-color: #111; }
#payment .payment_methods li label { font-size: 14px; font-weight: 600; cursor: pointer; color: #111; }
#payment .payment_methods li .payment_box {
  padding: 10px 0 0 26px; font-size: 13px; color: #666; line-height: 1.6;
}
#payment .woocommerce-privacy-policy-text { font-size: 12px; color: #aaa; margin-bottom: 16px; }

/* Place order button — clean dark */
#place_order {
  display: block; width: 100%; text-align: center;
  background: #111; color: #fff;
  padding: 15px 20px; border-radius: 8px;
  font-size: 15px; font-weight: 800;
  border: none; cursor: pointer; margin-top: 4px;
  transition: background .15s, transform .1s;
  font-family: inherit; letter-spacing: .2px;
}
#place_order:hover { background: #333; transform: translateY(-1px); }

/* ── RIGHT COLUMN: order summary ── */
.kc-checkout-right { position: sticky; top: 100px; }
.kc-checkout-summary-box {
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 12px; padding: 24px;
}
.kc-checkout-summary-title {
  font-size: 16px; font-weight: 800; color: #111;
  margin: 0 0 16px; padding-bottom: 14px;
  border-bottom: 1px solid #ebebeb;
}

/* Order review table */
.kc-order-review-inner .shop_table { width: 100%; border-collapse: collapse; }
.kc-order-review-inner .shop_table thead th {
  font-size: 11px; text-transform: uppercase; letter-spacing: .8px;
  color: #aaa; font-weight: 700; padding: 0 0 10px; text-align: left;
}
.kc-order-review-inner .shop_table thead th.product-total { text-align: right; }
.kc-order-review-inner .shop_table tbody td {
  padding: 10px 0; border-bottom: 1px solid #f2f2f2;
  font-size: 14px; vertical-align: middle; color: #333;
}
.kc-order-review-inner .shop_table tbody td.product-name { font-weight: 600; }
.kc-order-review-inner .shop_table tbody td.product-total { text-align: right; font-weight: 600; }
.kc-order-review-inner .shop_table tfoot tr th { font-size: 13px; font-weight: 500; color: #888; padding: 9px 0; }
.kc-order-review-inner .shop_table tfoot tr td { text-align: right; font-weight: 700; font-size: 13px; padding: 9px 0; }
.kc-order-review-inner .shop_table tfoot .order-total th,
.kc-order-review-inner .shop_table tfoot .order-total td {
  font-size: 15px; padding-top: 12px;
  border-top: 1.5px solid #e0e0e0;
  font-weight: 900; color: #111;
}

/* ── Shipping methods (radio list) inside checkout order review ── */
.kc-order-review-inner #shipping_method,
.woocommerce-checkout-review-order #shipping_method {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.kc-order-review-inner #shipping_method li,
.woocommerce-checkout-review-order #shipping_method li {
  position: relative;
}
/* Hide native radio */
.kc-order-review-inner #shipping_method input[type="radio"],
.woocommerce-checkout-review-order #shipping_method input[type="radio"] {
  position: absolute; opacity: 0; width: 0; height: 0;
}
/* Label becomes card */
.kc-order-review-inner #shipping_method label,
.woocommerce-checkout-review-order #shipping_method label {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px; cursor: pointer;
  font-size: 13px; font-weight: 600; color: #333;
  background: #fff;
  transition: border-color .18s, background .18s;
  gap: 8px;
}
.kc-order-review-inner #shipping_method label:hover,
.woocommerce-checkout-review-order #shipping_method label:hover {
  border-color: var(--pk);
  background: var(--pk-light);
}
/* Selected state */
.kc-order-review-inner #shipping_method input[type="radio"]:checked + label,
.woocommerce-checkout-review-order #shipping_method input[type="radio"]:checked + label {
  border-color: var(--pk);
  background: var(--pk-light);
  color: #111;
}
/* Checkmark indicator */
.kc-order-review-inner #shipping_method label::before,
.woocommerce-checkout-review-order #shipping_method label::before {
  content: '';
  flex-shrink: 0;
  width: 16px; height: 16px;
  border: 2px solid #ccc;
  border-radius: 50%;
  transition: border-color .18s, background .18s;
}
.kc-order-review-inner #shipping_method input[type="radio"]:checked + label::before,
.woocommerce-checkout-review-order #shipping_method input[type="radio"]:checked + label::before {
  border-color: var(--pk);
  background: var(--pk);
  box-shadow: inset 0 0 0 3px #fff;
}
/* Price at far right */
.kc-order-review-inner #shipping_method label .woocommerce-Price-amount,
.woocommerce-checkout-review-order #shipping_method label .woocommerce-Price-amount {
  margin-left: auto; font-weight: 800; color: #111; font-size: 13px;
}
/* Free shipping label: green */
.kc-order-review-inner #shipping_method label .free-shipping-label,
.kc-order-review-inner #shipping_method input[type="radio"]:checked + label bdi:only-child,
.woocommerce-checkout-review-order #shipping_method label .free-shipping-label {
  color: #27ae60; font-weight: 800;
}
/* Shipping row in table: remove default td padding conflict */
.kc-order-review-inner .shop_table tfoot .shipping th { vertical-align: top; padding-top: 13px; }
.kc-order-review-inner .shop_table tfoot .shipping td { padding-top: 6px; }

/* Coupon */
.kc-order-review-inner .coupon { display: flex; gap: 8px; margin-bottom: 14px; }
.kc-order-review-inner .coupon input {
  flex: 1; padding: 9px 12px;
  border: 1px solid #ddd; border-radius: 8px;
  font-size: 13px; font-family: inherit; outline: none;
}
.kc-order-review-inner .coupon input:focus { border-color: #999; }
.kc-order-review-inner .coupon .button {
  background: none; border: 1px solid #ccc; color: #555;
  padding: 9px 14px; border-radius: 8px; font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: inherit; white-space: nowrap;
  transition: border-color .15s, color .15s;
}
.kc-order-review-inner .coupon .button:hover { border-color: #999; color: #111; }

/* Trust badges */
.kc-checkout-trust-row {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid #ebebeb;
  display: flex; flex-direction: column; gap: 9px;
}
.kc-checkout-trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: #888;
}
.kc-checkout-trust-item svg { flex-shrink: 0; color: #aaa; }

/* ═══════════════════════════════════════════════
   MY ACCOUNT – Layout, Nav, Dashboard, Forms
   ═══════════════════════════════════════════════ */

/* ── Page layout ── */
.woocommerce-account .woocommerce {
  display: flex; gap: 36px; padding: 40px 80px 72px;
  align-items: flex-start; background: var(--pk-bg);
}
.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation { flex: 0 0 240px; }
.woocommerce-account .woocommerce .woocommerce-MyAccount-content { flex: 1; min-width: 0; }

/* ── Sidebar nav ── */
.kc-account-nav {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 20px; overflow: hidden;
  position: sticky; top: 90px;
  box-shadow: 0 2px 16px rgba(0,0,0,.05);
}

/* User block at top of nav */
.kc-account-nav-user {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 18px 16px;
  border-bottom: 1.5px solid var(--border);
  background: linear-gradient(135deg, #0D0D0D 0%, #1a1a1a 100%);
}
.kc-account-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 900; flex-shrink: 0;
  letter-spacing: -1px;
}
.kc-account-nav-info { min-width: 0; }
.kc-account-nav-name {
  display: block; font-size: 13px; font-weight: 800;
  color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.kc-account-nav-email {
  display: block; font-size: 11px; color: #aaa;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Nav items */
.kc-account-nav ul { list-style: none; margin: 0; padding: 8px 0; }
.kc-account-nav ul li { margin: 0; }
.kc-account-nav ul li a {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 18px;
  font-size: 13.5px; font-weight: 600; color: #444;
  text-decoration: none;
  transition: color .18s, background .18s;
  border-left: 3px solid transparent;
}
.kc-nav-icon {
  width: 18px; height: 18px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: #aaa;
  transition: color .18s;
}
.kc-nav-icon svg { width: 18px; height: 18px; }
.kc-account-nav ul li a:hover { color: var(--txt); background: var(--pk-light); border-left-color: var(--gold); }
.kc-account-nav ul li a:hover .kc-nav-icon { color: var(--gold); }
.kc-account-nav ul li.is-active a {
  color: var(--txt); font-weight: 800;
  background: var(--pk-light); border-left-color: var(--pk);
}
.kc-account-nav ul li.is-active a .kc-nav-icon { color: var(--pk); }
/* Logout item */
.kc-account-nav ul li.woocommerce-MyAccount-navigation-link--customer-logout {
  border-top: 1.5px solid var(--border); margin-top: 6px; padding-top: 6px;
}
.kc-account-nav ul li.woocommerce-MyAccount-navigation-link--customer-logout a { color: #c00; }
.kc-account-nav ul li.woocommerce-MyAccount-navigation-link--customer-logout a:hover { background: #fff5f5; border-left-color: #c00; }
.kc-account-nav ul li.woocommerce-MyAccount-navigation-link--customer-logout a .kc-nav-icon { color: #c00; }

/* ── Content area ── */
.woocommerce-MyAccount-content { flex: 1; min-width: 0; }
.woocommerce-MyAccount-content h2 { font-size: 22px; font-weight: 900; margin-bottom: 18px; color: var(--txt); }
.woocommerce-MyAccount-content h3 { font-size: 17px; font-weight: 800; margin: 20px 0 12px; }

/* ══════════════════════════════════════════════
   VIEW ORDER – Detalhes do pedido
   ══════════════════════════════════════════════ */
.kc-view-order { display: flex; flex-direction: column; gap: 24px; }

/* Header */
.kc-vo-header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.kc-vo-header-left { display: flex; flex-direction: column; gap: 4px; }
.kc-vo-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; color: var(--txt-light,#888);
  text-decoration: none; margin-bottom: 2px;
  transition: color .15s;
}
.kc-vo-back:hover { color: var(--pk); }
.kc-vo-title { font-size: 24px; font-weight: 900; color: var(--txt); margin: 0; }
.kc-vo-date { font-size: 13px; color: var(--txt-light,#888); }
.kc-vo-status-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 14px; border-radius: 100px;
  font-size: 13px; font-weight: 800;
  flex-shrink: 0; align-self: flex-start;
}
.kc-vo-status-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
}

/* Progress bar */
.kc-vo-progress {
  display: flex; align-items: center;
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 16px; padding: 20px 28px;
  gap: 0; overflow-x: auto;
}
.kc-vo-step {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  flex-shrink: 0; min-width: 80px;
}
.kc-vo-step-circle {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #f3f4f6; border: 2px solid #e5e7eb;
  font-size: 12px; font-weight: 800; color: #9ca3af;
  transition: all .25s;
}
.kc-vo-step.is-done .kc-vo-step-circle { background: var(--pk); border-color: var(--pk); color: #fff; }
.kc-vo-step.is-current .kc-vo-step-circle {
  background: #fff; border-color: var(--pk); color: var(--pk);
  box-shadow: 0 0 0 4px rgba(201,168,76,.15);
}
.kc-vo-step-label { font-size: 11px; font-weight: 600; color: #9ca3af; text-align: center; line-height: 1.35; }
.kc-vo-step.is-done .kc-vo-step-label,
.kc-vo-step.is-current .kc-vo-step-label { color: var(--txt); }
.kc-vo-step-line {
  flex: 1; height: 2px; background: #e5e7eb;
  margin-bottom: 22px; min-width: 20px;
  transition: background .25s;
}
.kc-vo-step-line.is-done { background: var(--pk); }

/* Grid */
.kc-vo-grid { display: grid; grid-template-columns: 1fr 300px; gap: 20px; align-items: flex-start; }
.kc-vo-main { display: flex; flex-direction: column; gap: 16px; }
.kc-vo-aside { display: flex; flex-direction: column; gap: 16px; }

/* Cards */
.kc-vo-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 16px; padding: 22px;
}
.kc-vo-card-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 800; color: var(--txt);
  margin: 0 0 18px; padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.kc-vo-card-title svg { stroke: var(--pk); flex-shrink: 0; }

/* Items */
.kc-vo-items { display: flex; flex-direction: column; gap: 0; }
.kc-vo-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.kc-vo-item:last-child { border-bottom: none; }
.kc-vo-item-thumb {
  flex-shrink: 0; width: 64px; height: 64px;
  border-radius: 10px; overflow: hidden;
  border: 1px solid var(--border);
  background: var(--pk-bg,#fafafa);
}
.kc-vo-item-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kc-vo-item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.kc-vo-item-name { font-size: 13.5px; font-weight: 700; color: var(--txt); line-height: 1.4; }
.kc-vo-item-name a { color: inherit; text-decoration: none; }
.kc-vo-item-name a:hover { color: var(--pk); }
.kc-vo-item-meta { font-size: 11.5px; color: #888; }
.kc-vo-item-right { flex-shrink: 0; text-align: right; display: flex; flex-direction: column; gap: 2px; }
.kc-vo-item-qty { font-size: 12px; color: #aaa; font-weight: 600; }
.kc-vo-item-price { font-size: 14px; font-weight: 800; color: var(--txt); }

/* Totals */
.kc-vo-totals { padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.kc-vo-total-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13.5px; color: #666;
}
.kc-vo-total-row.is-grand {
  padding-top: 12px; margin-top: 4px;
  border-top: 2px solid var(--border);
  font-size: 16px; font-weight: 900; color: var(--txt);
}
.kc-vo-total-row.is-grand .kc-vo-total-value { color: var(--pk); }

/* Actions */
.kc-vo-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.kc-vo-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 100px;
  font-size: 13.5px; font-weight: 800; text-decoration: none;
  transition: all .18s;
}
.kc-vo-btn--pay { background: var(--pk); color: #fff; }
.kc-vo-btn--pay:hover { background: var(--pk-dark,#b08a2e); transform: translateY(-1px); }
.kc-vo-btn--cancel {
  background: transparent; color: #c00;
  border: 1.5px solid #fecaca;
}
.kc-vo-btn--cancel:hover { background: #fff5f5; border-color: #c00; }

/* Notes */
.kc-vo-notes-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.kc-vo-note {
  background: var(--pk-bg,#fafafa); border-radius: 10px;
  padding: 12px 14px;
  border-left: 3px solid var(--pk);
}
.kc-vo-note-time { display: block; font-size: 11px; color: #999; font-weight: 600; margin-bottom: 4px; }
.kc-vo-note-text { font-size: 13px; color: var(--txt); line-height: 1.6; }
.kc-vo-note-text p { margin: 0; }

/* Address */
.kc-vo-addr-card address { font-style: normal; font-size: 13.5px; color: var(--txt); line-height: 1.7; }
.kc-vo-contact {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: #888; margin-top: 8px;
}
.kc-vo-contact svg { stroke: #aaa; flex-shrink: 0; }

/* Info text */
.kc-vo-info-text { font-size: 13.5px; color: var(--txt); margin: 0; font-weight: 600; }

/* Tracking */
.kc-vo-tracking-code {
  font-family: monospace; font-size: 15px; font-weight: 800;
  color: var(--txt); letter-spacing: 1px;
  background: var(--pk-bg,#fafafa); border: 1.5px dashed var(--border);
  padding: 10px 14px; border-radius: 10px;
  margin-bottom: 12px; word-break: break-all;
}
.kc-vo-track-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700; color: var(--pk);
  text-decoration: none;
}
.kc-vo-track-btn:hover { text-decoration: underline; }
.kc-vo-tracking-empty { font-size: 13px; color: #999; margin: 0; line-height: 1.6; }

/* Mobile */
@media (max-width: 768px) {
  .kc-vo-grid { grid-template-columns: 1fr; }
  .kc-vo-progress { padding: 16px; gap: 0; }
  .kc-vo-step { min-width: 60px; }
  .kc-vo-step-label { font-size: 10px; }
  .kc-vo-title { font-size: 20px; }
  .kc-vo-card { padding: 16px; }
}

/* ── DASHBOARD ── */
.kc-account-dashboard { display: flex; flex-direction: column; gap: 28px; }

/* Welcome banner */
.kc-account-welcome {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: linear-gradient(135deg, #0D0D0D 0%, #1a1a1a 100%);
  border-radius: 20px; padding: 28px 32px;
  color: #fff;
}
.kc-account-greeting { font-size: 22px; font-weight: 900; margin-bottom: 6px; }
.kc-account-greeting strong { color: var(--gold); }
.kc-account-welcome-sub { font-size: 13.5px; color: rgba(255,255,255,.65); line-height: 1.65; }
.kc-account-welcome-badge {
  flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: rgba(201,164,106,.15); border: 1.5px solid rgba(201,164,106,.3);
  border-radius: 16px; padding: 16px 20px;
  color: var(--gold); font-size: 12px; font-weight: 700; text-align: center;
}
.kc-account-welcome-badge svg { width: 28px; height: 28px; }

/* Stats row */
.kc-account-stats {
  display: flex; gap: 16px;
}
.kc-account-stat {
  flex: 1; background: #fff; border: 1.5px solid var(--border);
  border-radius: 16px; padding: 20px 22px;
  display: flex; flex-direction: column; gap: 4px;
}
.kc-stat-num { font-size: 22px; font-weight: 900; color: var(--txt); }
.kc-stat-label { font-size: 12px; color: #888; font-weight: 500; }

/* Quick action cards */
.kc-account-actions {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.kc-account-action-card {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1.5px solid var(--border); border-radius: 16px;
  padding: 18px 20px; text-decoration: none; color: var(--txt);
  transition: border-color .2s, box-shadow .2s, transform .15s;
}
.kc-account-action-card:hover {
  border-color: var(--gold); box-shadow: 0 4px 20px rgba(201,164,106,.18);
  transform: translateY(-2px); color: var(--txt);
}
.kc-action-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--pk-light); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--pk);
  transition: background .2s;
}
.kc-action-icon svg { width: 18px; height: 18px; }
.kc-account-action-card:hover .kc-action-icon { background: var(--gold); color: #fff; }
.kc-action-label { flex: 1; font-size: 14px; font-weight: 700; }
.kc-action-arrow { font-size: 16px; color: #ccc; transition: color .2s, transform .2s; }
.kc-account-action-card:hover .kc-action-arrow { color: var(--gold); transform: translateX(3px); }
.kc-action-highlight { background: linear-gradient(135deg, #0D0D0D 0%, #1a1a1a 100%); border-color: #0D0D0D; color: #fff; }
.kc-action-highlight .kc-action-icon { background: rgba(201,164,106,.2); color: var(--gold); }
.kc-action-highlight .kc-action-arrow { color: rgba(255,255,255,.4); }
.kc-action-highlight:hover { border-color: var(--gold); color: #fff; }
.kc-action-highlight:hover .kc-action-icon { background: var(--gold); color: #fff; }
.kc-action-highlight:hover .kc-action-arrow { color: var(--gold); }

/* Account section title */
.kc-account-section-title {
  font-size: 16px; font-weight: 800; color: var(--txt);
  margin-bottom: 12px; padding-bottom: 10px;
  border-bottom: 1.5px solid var(--border);
}

/* Last order card */
.kc-last-order-card {
  display: flex; align-items: center; gap: 20px;
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 16px; padding: 18px 22px;
}
.kc-last-order-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.kc-last-order-num { font-size: 15px; font-weight: 800; }
.kc-last-order-date { font-size: 12px; color: #888; }
.kc-last-order-status {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
  background: var(--pk-light); color: var(--txt); width: fit-content;
}
.kc-order-status-processing { background: #e8f4ff; color: #1a72d2; }
.kc-order-status-completed  { background: #edfcf2; color: #1a7a40; }
.kc-order-status-cancelled  { background: #fff0f0; color: #c00; }
.kc-order-status-on-hold    { background: #fff8e7; color: #996600; }
.kc-last-order-total { font-size: 18px; font-weight: 900; color: var(--txt); }
.kc-last-order-btn {
  background: var(--pk); color: #fff; border: none; border-radius: 20px;
  padding: 9px 20px; font-size: 13px; font-weight: 700;
  text-decoration: none; transition: background .2s; white-space: nowrap;
}
.kc-last-order-btn:hover { background: var(--gold); color: #fff; }

/* ── Orders Table ── */
.woocommerce-orders-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.woocommerce-orders-table th {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1px;
  color: #888; font-weight: 700; padding: 0 12px 14px 0; text-align: left;
  border-bottom: 2px solid var(--border);
}
.woocommerce-orders-table td { padding: 14px 12px 14px 0; border-bottom: 1px solid #f5f5f5; vertical-align: middle; }
.woocommerce-orders-table .woocommerce-button {
  font-size: 12px; padding: 6px 16px; border-radius: 20px;
  background: var(--pk); color: #fff; font-weight: 700; text-decoration: none;
  transition: background .2s;
}
.woocommerce-orders-table .woocommerce-button:hover { background: var(--gold); }

/* Status badge colors on order table */
.woocommerce-orders-table .order-status { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; white-space: nowrap; display: inline-block; }
mark.order-status.status-processing { background: #e8f4ff; color: #1a72d2; }
mark.order-status.status-completed  { background: #edfcf2; color: #1a7a40; }
mark.order-status.status-cancelled  { background: #fff0f0; color: #c00; }
mark.order-status.status-on-hold    { background: #fff8e7; color: #996600; }
mark.order-status.status-pending,
mark.order-status.status-draft      { background: #f5f5f5; color: #666; }
mark.order-status.status-refunded   { background: #f0eeff; color: #6b21a8; }

/* ── Address boxes ── */
.woocommerce-Addresses { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.woocommerce-Address {
  background: #fff; border: 1.5px solid var(--border); border-radius: 18px; padding: 26px;
}
.woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.woocommerce-Address-title h3 { font-size: 16px; font-weight: 800; margin: 0; }
.woocommerce-Address-title .edit { font-size: 13px; color: var(--gold); font-weight: 600; }
.woocommerce-Address address { font-style: normal; font-size: 14px; line-height: 1.8; color: #666; }
.woocommerce-Address p:empty::before { content: 'Nenhum endereço salvo.'; color: #aaa; font-size: 13px; }

/* ── Account edit form fields ── */
.woocommerce-EditAccountForm .form-row,
.woocommerce-address-fields .form-row { margin-bottom: 18px; }
.woocommerce-EditAccountForm label,
.woocommerce-address-fields label {
  display: block; font-size: 13px; font-weight: 600; color: #555; margin-bottom: 7px;
}
.woocommerce-EditAccountForm input[type="text"],
.woocommerce-EditAccountForm input[type="email"],
.woocommerce-EditAccountForm input[type="password"],
.woocommerce-address-fields input[type="text"],
.woocommerce-address-fields select {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid #ddd; border-radius: 12px;
  font-size: 14px; color: var(--txt); font-family: inherit;
  outline: none; transition: border-color .2s; background: #fff;
}
.woocommerce-EditAccountForm input:focus,
.woocommerce-address-fields input:focus,
.woocommerce-address-fields select:focus { border-color: var(--pk); }
.woocommerce-EditAccountForm button[type="submit"],
.woocommerce-address-fields ~ .form-row button[type="submit"] {
  background: var(--pk); color: #fff; border: none; border-radius: 30px;
  padding: 13px 36px; font-size: 15px; font-weight: 800;
  cursor: pointer; transition: background .2s; margin-top: 10px;
}
.woocommerce-EditAccountForm button:hover { background: var(--gold); }
.woocommerce-EditAccountForm fieldset {
  border: 1.5px solid var(--border); border-radius: 14px;
  padding: 20px 22px; margin-top: 24px;
}
.woocommerce-EditAccountForm fieldset legend {
  font-size: 13px; font-weight: 700; color: var(--txt);
  padding: 0 8px;
}

/* ═══════════════════════════════════════════════
   LOGIN / REGISTER PAGE
   ═══════════════════════════════════════════════ */

/* Override WC's default wrapper padding on login page */
.woocommerce-account:not(.logged-in) .woocommerce { display: block; padding: 0; background: none; }

.kc-auth-page {
  min-height: calc(100vh - 200px);
  background: linear-gradient(160deg, #0D0D0D 0%, #1a1a1a 40%, #0D0D0D 100%);
  display: flex; flex-direction: column; align-items: center;
  padding: 48px 24px 72px;
}

/* Brand header */
.kc-auth-brand { text-align: center; margin-bottom: 36px; }
.kc-auth-logo-link { display: inline-block; margin-bottom: 10px; }
.kc-auth-logo-img { height: 40px; width: auto; filter: brightness(0) invert(1); }
.kc-auth-logo-link img { max-height: 44px; filter: brightness(0) invert(1); }
.kc-auth-tagline { font-size: 13px; color: rgba(255,255,255,.55); letter-spacing: .5px; }

/* Cards wrapper */
.kc-auth-wrap { display: flex; gap: 24px; width: 100%; max-width: 960px; align-items: flex-start; }
.kc-auth-single { max-width: 480px; }

/* Individual card */
.kc-auth-card {
  flex: 1; background: #fff; border-radius: 24px;
  padding: 36px 32px; box-shadow: 0 24px 60px rgba(0,0,0,.35);
  display: flex; flex-direction: column; gap: 0;
}

/* Card header */
.kc-auth-card-header { text-align: center; margin-bottom: 28px; }
.kc-auth-card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: #0D0D0D; color: #fff; margin-bottom: 16px;
}
.kc-auth-card-icon svg { width: 24px; height: 24px; }
.kc-auth-card-icon--gold { background: linear-gradient(135deg, var(--gold), var(--bronze)); color: #fff; }
.kc-auth-card-header h2 { font-size: 22px; font-weight: 900; color: var(--txt); margin-bottom: 6px; }
.kc-auth-card-header p { font-size: 13.5px; color: #888; line-height: 1.6; }

/* Form groups */
.kc-form-group { margin-bottom: 16px; }
.kc-form-group label {
  display: block; font-size: 12.5px; font-weight: 700;
  color: #555; margin-bottom: 7px; letter-spacing: .3px;
}
.kc-input-wrap { position: relative; }
.kc-input-icon {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: #bbb; pointer-events: none;
  display: flex; align-items: center;
}
.kc-input-icon svg { width: 16px; height: 16px; }
.kc-form-input {
  width: 100%; padding: 12px 14px 12px 40px;
  border: 1.5px solid #e5e5e5; border-radius: 12px;
  font-size: 14px; color: var(--txt); font-family: inherit;
  outline: none; transition: border-color .2s, box-shadow .2s;
  background: #fafafa;
}
.kc-form-input:focus {
  border-color: var(--pk); background: #fff;
  box-shadow: 0 0 0 3px rgba(13,13,13,.06);
}

/* Remember + forgot row */
.kc-auth-remember-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px; margin-top: 4px;
}
.kc-remember-label {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; color: #666; cursor: pointer;
}
.kc-remember-label input[type="checkbox"] { accent-color: var(--pk); width: 15px; height: 15px; }
.kc-auth-forgot { font-size: 13px; color: var(--gold); font-weight: 600; }
.kc-auth-forgot:hover { color: var(--bronze); }

/* Submit button */
.kc-auth-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 14px 20px;
  background: #0D0D0D; color: #fff; border: none;
  border-radius: 30px; font-size: 15px; font-weight: 800;
  cursor: pointer; transition: background .2s, box-shadow .2s;
  font-family: inherit; text-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
}
.kc-auth-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.kc-auth-btn:hover { background: #1a1a1a; box-shadow: 0 6px 20px rgba(0,0,0,.28); }
.kc-auth-btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--bronze) 100%); color: #fff;
  box-shadow: 0 4px 14px rgba(201,164,106,.35);
}
.kc-auth-btn--gold:hover { box-shadow: 0 6px 22px rgba(201,164,106,.5); background: linear-gradient(135deg, #d4af7a 0%, #a87349 100%); }

/* Benefits list */
.kc-auth-benefits {
  list-style: none; margin: 0 0 24px; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.kc-auth-benefits li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: #555; font-weight: 500;
}
.kc-auth-benefits li svg { width: 16px; height: 16px; flex-shrink: 0; color: #2a9d5c; }

/* Terms note */
.kc-auth-terms {
  font-size: 12px; color: #aaa; text-align: center; margin-top: 16px; line-height: 1.6;
}
.kc-auth-terms a { color: var(--gold); }

/* WooCommerce notices inside auth page */
.kc-auth-page .woocommerce-notices-wrapper,
.woocommerce-account:not(.logged-in) .woocommerce-notices-wrapper {
  width: 100%; max-width: 960px;
}
.kc-auth-page .woocommerce-error,
.kc-auth-page .woocommerce-message {
  width: 100%; max-width: 960px; border-radius: 12px; margin-bottom: 16px;
}

/* Register form inside card */
.kc-register-form { margin-top: 0; }

/* ════════════════════════════════════════════════════
   FILTER DRAWER + SHOP TOOLBAR
════════════════════════════════════════════════════ */

/* Bloqueia scroll do body quando drawer está aberto */
body.kc-no-scroll { overflow: hidden; }

/* Page wrapper */
.kc-shop-page { min-height: 60vh; }

/* Category banner (quando navegando uma categoria) */
.kc-cat-banner {
  height: 200px; display: flex; align-items: flex-end;
  padding: 0 40px; background: #1a1a1a no-repeat center/cover; position: relative;
}
.kc-cat-banner::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,.1) 100%);
}
.kc-cat-banner:not(.has-image) { background: linear-gradient(135deg, #0D0D0D 0%, #1a1a1a 100%); }
.kc-cat-banner-inner { position: relative; z-index: 1; padding-bottom: 28px; }
.kc-cat-banner-inner h1 {
  font-size: 32px; font-weight: 900; color: #fff;
  margin: 0 0 6px; text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.kc-cat-banner-inner p { font-size: 14px; color: rgba(255,255,255,.75); margin: 0; }

/* Título genérico da loja */
.kc-shop-title-bar { padding: 28px 40px 14px; }
.kc-shop-title-bar h1 { font-size: 28px; font-weight: 900; color: var(--txt); margin: 0; }

/* Toolbar */
.kc-shop-toolbar {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 40px;
  border-bottom: 1.5px solid var(--border);
  background: #fff;
}

.kc-filter-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border: 1.5px solid #ccc; border-radius: 30px;
  background: #fff; color: var(--txt);
  font-size: 14px; font-weight: 700; font-family: inherit;
  cursor: pointer; white-space: nowrap; flex-shrink: 0;
  transition: border-color .18s, background .18s;
}
.kc-filter-btn:hover { border-color: var(--txt); background: var(--pk-light); }
.kc-filter-btn svg { flex-shrink: 0; }

.kc-shop-search {
  flex: 0 1 360px;
  min-width: 220px;
  display: flex;
  align-items: center;
  position: relative;
}
.kc-shop-search input[type="search"] {
  width: 100%;
  height: 40px;
  padding: 0 46px 0 16px;
  border: 1.5px solid #ccc;
  border-radius: 999px;
  background: #fff;
  color: var(--txt);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.kc-shop-search input[type="search"]:focus {
  border-color: var(--txt);
  box-shadow: 0 0 0 3px rgba(13,13,13,.06);
}
.kc-shop-search button {
  position: absolute;
  right: 4px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: var(--txt);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.kc-shop-search button svg { stroke: currentColor; }
.kc-shop-search-clear {
  position: absolute;
  right: 42px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
}
.kc-shop-search-clear:hover { color: var(--txt); }

.kc-filter-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold); color: #fff;
  font-size: 10px; font-weight: 800; flex-shrink: 0;
}

.kc-toolbar-count { flex: 1; text-align: center; }
.kc-toolbar-count .woocommerce-result-count { margin: 0; font-size: 13px; color: #999; }

.kc-sort-wrap { flex-shrink: 0; }
.kc-sort-wrap .woocommerce-ordering { margin: 0; }
.kc-sort-wrap .woocommerce-ordering select {
  padding: 9px 34px 9px 16px; border-radius: 30px;
  border: 1.5px solid #ccc; font-size: 14px; font-weight: 600;
  font-family: inherit; color: var(--txt); outline: none; cursor: pointer;
  transition: border-color .18s;
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M0 0l5 6 5-6z' fill='%23888'/></svg>") no-repeat right 14px center;
  appearance: none;
}
.kc-sort-wrap .woocommerce-ordering select:focus { border-color: var(--pk); }

/* Products area */
.kc-shop-products { padding: 24px 40px 72px; }

/* ── Overlay ── */
.kc-filter-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.6); opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.kc-filter-overlay.kc-filter-overlay--active { opacity: 1; pointer-events: all; }

/* ── Drawer panel ── */
.kc-filter-drawer {
  position: fixed; top: 0; right: 0; z-index: 201;
  width: 390px; max-width: 100%; height: 100%;
  background: #fff; display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}
.kc-filter-drawer.kc-filter-drawer--open {
  transform: translateX(0);
  box-shadow: -10px 0 48px rgba(0,0,0,.22);
}

/* Drawer header */
.kc-filter-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1.5px solid var(--border);
  flex-shrink: 0; background: #fff;
}
.kc-filter-close {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: #f2f2f2; border: none; cursor: pointer;
  color: var(--txt); transition: background .18s; flex-shrink: 0;
}
.kc-filter-close:hover { background: #e5e5e5; }
.kc-filter-drawer-title { font-size: 16px; font-weight: 800; color: var(--txt); }
.kc-filter-clear-all { font-size: 13px; font-weight: 600; color: var(--gold); text-decoration: none; white-space: nowrap; }
.kc-filter-clear-all:hover { color: var(--bronze); text-decoration: underline; }

/* Form (scrollable) */
.kc-filter-form { flex: 1; overflow-y: auto; display: flex; flex-direction: column; padding: 0; }

/* Sections */
.kc-filter-section { padding: 20px; border-bottom: 1px solid #f0f0f0; }
.kc-filter-section-title {
  font-size: 12px; font-weight: 800; color: #888;
  text-transform: uppercase; letter-spacing: 1.2px; margin: 0 0 14px;
}

/* Category links */
.kc-filter-cats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.kc-filter-cat-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: #444; text-decoration: none;
  transition: background .15s, color .15s;
}
.kc-filter-cat-link:hover { background: var(--pk-light); color: var(--bronze); }
.kc-filter-cat-link.active { font-weight: 700; color: var(--txt); background: var(--pk-light); }
.kc-filter-cat-count { font-size: 12px; color: #bbb; }

/* Brand checkboxes */
.kc-filter-checks {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 2px;
  max-height: 300px; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: #ddd transparent;
}
.kc-check-label {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 6px; border-radius: 8px;
  cursor: pointer; transition: background .15s; user-select: none;
}
.kc-check-label:hover { background: #fafafa; }
.kc-check-label input[type="checkbox"] { display: none; }
.kc-check-box {
  width: 18px; height: 18px; border-radius: 5px;
  border: 2px solid #ccc; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .15s, background .15s; position: relative;
}
.kc-check-label.checked .kc-check-box { border-color: var(--txt); background: var(--txt); }
.kc-check-label.checked .kc-check-box::after {
  content: ''; position: absolute;
  width: 10px; height: 6px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}
.kc-check-name { flex: 1; font-size: 14px; color: #333; font-weight: 500; }
.kc-check-count { font-size: 12px; color: #bbb; }
.kc-check-label.checked .kc-check-name { font-weight: 700; color: var(--txt); }

/* Price range */
.kc-price-range-row { display: flex; align-items: flex-end; gap: 8px; }
.kc-price-field { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.kc-price-field label {
  font-size: 11px; font-weight: 700; color: #aaa;
  text-transform: uppercase; letter-spacing: .5px;
}
.kc-price-field input {
  width: 100%; padding: 10px 12px;
  border: 1.5px solid #ddd; border-radius: 10px;
  font-size: 14px; color: var(--txt); font-family: inherit;
  outline: none; transition: border-color .2s;
  -moz-appearance: textfield;
}
.kc-price-field input::-webkit-outer-spin-button,
.kc-price-field input::-webkit-inner-spin-button { -webkit-appearance: none; }
.kc-price-field input:focus { border-color: var(--pk); }
.kc-price-aplicar {
  flex-shrink: 0; padding: 10px 14px; border-radius: 10px;
  border: 1.5px solid #ccc; background: #fff; color: #555;
  font-size: 12px; font-weight: 700; font-family: inherit;
  cursor: pointer; white-space: nowrap; align-self: flex-end;
  transition: border-color .18s, background .18s;
}
.kc-price-aplicar:hover { border-color: var(--pk); background: var(--pk-light); color: var(--txt); }

/* Drawer footer */
.kc-filter-drawer-footer {
  padding: 16px 20px; border-top: 1.5px solid var(--border);
  display: flex; gap: 12px; background: #fff; flex-shrink: 0;
}
.kc-filter-btn-clear {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 12px 16px; border-radius: 30px;
  border: 1.5px solid #ccc; background: #fff; color: #555;
  font-size: 14px; font-weight: 700; text-decoration: none;
  transition: border-color .18s, color .18s;
}
.kc-filter-btn-clear:hover { border-color: var(--txt); color: var(--txt); }
.kc-filter-btn-apply {
  flex: 2; padding: 12px 16px; border-radius: 30px;
  border: none; background: var(--txt); color: #fff;
  font-size: 14px; font-weight: 700; font-family: inherit;
  cursor: pointer; transition: background .18s;
}
.kc-filter-btn-apply:hover { background: #333; }

/* ── RESPONSIVE SHOP ── */
@media (max-width: 1024px) {
  .kc-shop-sidebar { width: 180px; padding: 28px 0 40px 24px; }
  .kc-shop-main { padding: 24px 24px 48px 20px; }
  .kc-cart-page { padding: 24px 30px 48px; }
  .kc-checkout-page { padding: 24px 30px 48px; }
  .kc-cart-layout { grid-template-columns: 1fr 320px; gap: 24px; }
  .kc-checkout-grid { grid-template-columns: 1fr 340px; gap: 24px; }
  .woocommerce-message, .woocommerce-error, .woocommerce-info { margin: 0 30px 16px; }
  .products.columns-6 { grid-template-columns: repeat(4,1fr); }
  .products.columns-4 { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 768px) {
  /* Shop toolbar + drawer */
  .kc-shop-toolbar { padding: 12px 16px; gap: 10px; flex-wrap: wrap; }
  .kc-shop-search { order: 3; flex-basis: 100%; min-width: 100%; }
  .kc-toolbar-count { display: none; }
  .kc-filter-drawer { width: 100%; }
  .kc-shop-products { padding: 16px 14px 56px; }
  .kc-cat-banner { padding: 0 16px; height: 150px; }
  .kc-cat-banner-inner h1 { font-size: 24px; }
  .kc-shop-title-bar { padding: 20px 16px 10px; }
  .kc-shop-title-bar h1 { font-size: 22px; }
  .kc-filter-section { padding: 16px; }
  /* Sidebar → topo no mobile */
  .kc-shop-wrap { flex-direction: column; }
  .kc-shop-sidebar {
    position: static;
    width: 100%;
    padding: 16px 16px 0;
    max-height: none;
    overflow: visible;
  }
  .kc-sidebar-cats {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .kc-sidebar-cats::-webkit-scrollbar { display: none; }
  .kc-sidebar-cat {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 6px 13px;
    border: 1.5px solid #DDD8D2;
    border-radius: 100px;
    background: #fff;
    justify-content: center;
  }
  .kc-sidebar-cat.active { background: var(--black, #0D0D0D); color: #fff; border-color: var(--black); }
  .kc-sidebar-count { display: none; }
  .kc-sidebar-oos { border-top: none; padding-top: 8px; }
  .kc-shop-main { padding: 16px 14px 56px; }

  /* Shop grid mobile */
  .products.columns-6, .products.columns-5, .products.columns-4, .products.columns-3 { grid-template-columns: repeat(3,1fr); gap: 10px; }
  .kc-account-stat { padding: 16px; flex-direction: row; align-items: center; justify-content: space-between; }
  .kc-stat-num { font-size: 18px; }
  .kc-account-actions { grid-template-columns: 1fr; gap: 10px; }
  .kc-account-action-card { padding: 14px 16px; }
  .woocommerce-Addresses { grid-template-columns: 1fr; }
  .woocommerce-message, .woocommerce-error, .woocommerce-info { margin: 0 0 16px; }
  /* Cart mobile */
  .kc-cart-page { padding: 20px 16px 48px; }
  .kc-cart-layout { grid-template-columns: 1fr; }
  .kc-cart-summary-col { position: static; }
  .kc-cart-page-header h1 { font-size: 24px; }
  .kc-cart-card { gap: 14px; padding: 16px; flex-wrap: wrap; }
  .kc-cart-card-img { width: 80px; height: 80px; flex-shrink: 0; }
  .kc-cart-card-body { min-width: 0; }
  .kc-cart-card-bottom { flex-wrap: wrap; gap: 10px; }
  .kc-cart-card-subtotal { margin-left: auto; }
  .kc-cart-card-name a { font-size: 14px; }
  .kc-cart-summary-box { padding: 20px 16px; border-radius: 16px; }
  .kc-cep-calc-row { flex-direction: row; gap: 6px; }
  .kc-cep-input { font-size: 13px; }
  /* Checkout mobile */
  .kc-checkout-page { padding: 20px 16px 48px; }
  .kc-checkout-grid { grid-template-columns: 1fr; }
  .kc-checkout-right { position: static; }
  .kc-checkout-section { padding: 20px 16px; }
  .woocommerce-billing-fields .form-row-first,
  .woocommerce-billing-fields .form-row-last,
  .woocommerce-shipping-fields .form-row-first,
  .woocommerce-shipping-fields .form-row-last { width: 100%; display: block; margin-right: 0; }
  .woocommerce-message, .woocommerce-error, .woocommerce-info { font-size: 13px; padding: 10px 14px; }
  /* Shop */
  .kc-shop-wrap { padding: 16px 16px 40px; gap: 20px; }
  .products.columns-6, .products.columns-5, .products.columns-4, .products.columns-3 { grid-template-columns: repeat(2,1fr); gap: 10px; }

  /* My Account mobile */
  .woocommerce-account .woocommerce { padding: 0 0 48px; flex-direction: column; gap: 0; background: var(--pk-bg); }
  .woocommerce-account .woocommerce .woocommerce-MyAccount-navigation { flex: none; width: 100%; position: static; }
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content { padding: 16px; }

  /* Nav → horizontal tab bar */
  .kc-account-nav { border-radius: 0; border-left: none; border-right: none; border-top: none; box-shadow: none; }
  .kc-account-nav-user { padding: 16px 20px; gap: 12px; }
  .kc-account-avatar { width: 40px; height: 40px; font-size: 13px; }
  .kc-account-nav-name { font-size: 13px; }
  .kc-account-nav-email { font-size: 11px; }
  .kc-account-nav ul {
    display: flex; flex-wrap: nowrap; overflow-x: auto;
    padding: 0; gap: 0;
    scrollbar-width: none; border-top: 1px solid rgba(255,255,255,.08);
  }
  .kc-account-nav ul::-webkit-scrollbar { display: none; }
  .kc-account-nav ul li { width: auto; flex-shrink: 0; }
  .kc-account-nav ul li a {
    padding: 12px 16px; font-size: 12.5px; white-space: nowrap;
    border-left: none; border-bottom: 2.5px solid transparent; flex-direction: column; gap: 4px;
    align-items: center; text-align: center;
  }
  .kc-account-nav ul li.is-active a { border-left-color: transparent; border-bottom-color: var(--pk); background: transparent; color: var(--pk); }
  .kc-account-nav ul li.woocommerce-MyAccount-navigation-link--customer-logout { border-top: none; margin-top: 0; padding-top: 0; margin-left: auto; }
  .kc-account-nav ul li.woocommerce-MyAccount-navigation-link--customer-logout a { border-bottom-color: transparent; }

  /* Dashboard content */
  .kc-account-stats { flex-direction: row; gap: 8px; }
  .kc-account-stat { padding: 14px 12px; }
  .kc-stat-num { font-size: 16px; }
  .kc-stat-label { font-size: 11px; }
  .kc-account-actions { grid-template-columns: 1fr; }
  .kc-account-welcome { flex-direction: column; padding: 22px 20px; text-align: center; border-radius: 16px; margin: 0; }
  .kc-account-welcome-badge { flex-direction: row; align-self: center; padding: 10px 16px; }
  .kc-account-welcome-badge svg { width: 18px; height: 18px; }
  .kc-last-order-card { flex-wrap: wrap; gap: 12px; }

  /* ── Orders table → cards on mobile ── */
  .woocommerce-orders-table { display: block; }
  .woocommerce-orders-table thead { display: none; }
  .woocommerce-orders-table tbody { display: flex; flex-direction: column; gap: 12px; }
  .woocommerce-orders-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 4px 12px;
    background: #fff; border: 1.5px solid var(--border);
    border-radius: 14px; padding: 16px; border-bottom: none;
  }
  .woocommerce-orders-table tbody td { padding: 0; border-bottom: none; font-size: 13px; }
  /* Order number - full width, prominent */
  .woocommerce-orders-table__cell-order-number {
    grid-column: 1 / -1; font-size: 15px; font-weight: 900; color: var(--txt);
    border-bottom: 1px solid var(--border) !important; padding-bottom: 10px !important; margin-bottom: 2px;
  }
  .woocommerce-orders-table__cell-order-number::before { content: 'Pedido '; color: #aaa; font-size: 12px; font-weight: 500; display: block; margin-bottom: 2px; }
  .woocommerce-orders-table__cell-order-number a { color: var(--txt); text-decoration: none; }
  /* Date */
  .woocommerce-orders-table__cell-order-date { grid-column: 1; }
  .woocommerce-orders-table__cell-order-date::before { content: 'Data'; display: block; font-size: 10px; font-weight: 700; color: #aaa; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 3px; }
  /* Status */
  .woocommerce-orders-table__cell-order-status { grid-column: 2; text-align: right; }
  .woocommerce-orders-table__cell-order-status::before { content: 'Status'; display: block; font-size: 10px; font-weight: 700; color: #aaa; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 3px; }
  /* Total */
  .woocommerce-orders-table__cell-order-total { grid-column: 1; font-weight: 800; }
  .woocommerce-orders-table__cell-order-total::before { content: 'Total'; display: block; font-size: 10px; font-weight: 700; color: #aaa; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 3px; }
  /* Actions */
  .woocommerce-orders-table__cell-order-actions { grid-column: 2; text-align: right; align-self: end; }
  /* Hide rastreio column on small screens */
  .woocommerce-orders-table__cell-order-rastreio,
  td[data-title="Rastreio"] { display: none !important; }

  /* ── Addresses mobile ── */
  .woocommerce-Addresses { grid-template-columns: 1fr; gap: 14px; }
  .woocommerce-Address { padding: 20px; border-radius: 14px; }
  .woocommerce-Address address { font-size: 13.5px; line-height: 1.75; }
  .woocommerce-Address-title h3 { font-size: 15px; }
  /* Address edit form */
  .woocommerce-address-fields .form-row-first,
  .woocommerce-address-fields .form-row-last { width: 100%; float: none; margin-right: 0; }
  .woocommerce-address-fields .form-row { margin-bottom: 14px; }
  .woocommerce-address-fields input[type="text"],
  .woocommerce-address-fields select { font-size: 16px; /* prevent iOS zoom */ }
  /* Save button */
  .woocommerce-address-fields ~ .form-row button[type="submit"],
  .woocommerce-MyAccount-content .woocommerce-address-fields + .form-row button,
  .woocommerce-MyAccount-content [name="save_address"] {
    width: 100%; padding: 15px; font-size: 16px; border-radius: 50px;
  }
  .woocommerce-EditAccountForm input[type="text"],
  .woocommerce-EditAccountForm input[type="email"],
  .woocommerce-EditAccountForm input[type="password"] { font-size: 16px; }
  .woocommerce-EditAccountForm button[type="submit"] { width: 100%; padding: 15px; font-size: 16px; border-radius: 50px; }

  /* Auth login/register mobile */
  .kc-auth-page { padding: 32px 16px 48px; }
  .kc-auth-wrap { flex-direction: column; max-width: 100%; }
  .kc-auth-card { padding: 28px 20px; border-radius: 20px; }
  .kc-auth-remember-row { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ── Mini-cart register CTA ── */
.kc-cart-register-cta {
  margin: 16px 0 0;
  background: linear-gradient(135deg, var(--pk-light,#fdf4e7) 0%, #fff 100%);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  text-align: center;
}
.kc-cart-register-cta p {
  font-size: 12.5px; color: var(--txt-light,#555); margin: 0 0 10px;
}
.kc-cart-register-cta code {
  background: var(--pk); color: #fff;
  padding: 1px 6px; border-radius: 4px; font-size: 11px; font-family: monospace;
}
.kc-cart-register-cta__btn {
  display: block; background: var(--pk); color: #fff;
  padding: 9px 18px; border-radius: 100px;
  font-size: 12.5px; font-weight: 800; text-decoration: none;
  transition: background .2s;
}
.kc-cart-register-cta__btn:hover { background: var(--pk-dark,#b08a2e); }
