/* Komvia V9 · operaciones, confianza y seguridad */
.notification-link,.notification-mobile{position:relative}.notification-badge{position:absolute;top:-7px;right:-8px;background:#e33;color:#fff;border-radius:999px;min-width:18px;height:18px;padding:0 5px;display:grid;place-items:center;font-size:10px;font-weight:900}.notification-list{display:grid;gap:10px}.notification-item{background:#fff;border:1px solid #e1e8ef;border-radius:12px;padding:14px;display:flex;gap:12px;justify-content:space-between}.notification-item.unread{border-left:4px solid var(--orange)}.notification-item small{color:var(--muted)}.protection-card{background:#eef8f4;border:1px solid #bfe7d5;padding:16px;border-radius:14px;margin:16px 0}.protection-card.disputed{background:#fff4e7;border-color:#ffd4a3}.protection-card.refunded{background:#fdeeee;border-color:#f4c4c4}.dispute-thread{display:grid;gap:12px;margin:18px 0}.dispute-msg{background:#fff;border:1px solid #e1e8ef;border-radius:12px;padding:14px}.dispute-msg.me{border-left:4px solid var(--orange)}.evidence-grid{display:flex;gap:8px;flex-wrap:wrap}.evidence-grid img{width:96px;height:96px;object-fit:cover;border-radius:8px;border:1px solid #ddd}.store-hero{background:#fff;border-radius:18px;overflow:hidden;margin-bottom:22px;border:1px solid #e1e8ef}.store-cover{height:230px;background:linear-gradient(135deg,#0d2944,#1e527e);background-size:cover;background-position:center}.store-profile{display:flex;gap:18px;align-items:end;padding:0 24px 22px;margin-top:-50px}.store-logo{width:100px;height:100px;border-radius:20px;background:#fff;border:5px solid #fff;box-shadow:0 5px 20px #0002;object-fit:cover}.verified-badge{display:inline-flex;gap:4px;align-items:center;color:#075bb5;background:#eaf4ff;border:1px solid #b9d9fb;border-radius:999px;padding:3px 7px;font-size:10px;font-weight:900;line-height:1.15;white-space:nowrap;vertical-align:middle}.product-store-top .verified-badge{margin-left:5px}.cart-seller,.checkout-seller{display:block;margin-top:5px;color:var(--muted);font-size:11px}.cart-seller .verified-badge,.checkout-seller .verified-badge{margin-left:4px}.store-profile h1 .verified-badge{font-size:12px;padding:5px 9px}.store-meta{display:flex;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:13px}.coupon-card,.kyc-card,.report-card,.security-card{background:#fff;border:1px solid #e1e8ef;border-radius:14px;padding:18px}.coupon-grid,.report-grid,.security-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.coupon-row{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:10px;align-items:end}.stock-low{color:#b54800;font-weight:800}.stock-ok{color:#12634b;font-weight:800}.kyc-status{display:inline-block;padding:5px 9px;border-radius:999px;background:#eef2f6}.kyc-status.approved{background:#eaf7f2;color:#116b4e}.kyc-status.rejected{background:#fdeeee;color:#9a2626}.security-session{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #edf1f5;padding:12px 0}.coupon-box{border:1px dashed #d7dfe7;border-radius:12px;padding:14px;margin:14px 0}.checkout-discount{color:#12634b;font-weight:800}.report-filters{display:flex;gap:10px;flex-wrap:wrap;align-items:end}.twofa-secret{font-family:monospace;background:#f3f6f9;padding:10px;border-radius:8px;word-break:break-all}.dispute-admin-actions{display:flex;gap:8px;flex-wrap:wrap}.protected-label{display:inline-flex;align-items:center;gap:5px;background:#eaf7f2;color:#116b4e;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800}
@media(max-width:700px){.store-profile{align-items:flex-start;flex-direction:column;margin-top:-40px}.store-cover{height:150px}.store-logo{width:82px;height:82px}.coupon-grid,.report-grid,.security-grid{grid-template-columns:1fr}.coupon-row{grid-template-columns:1fr}.notification-item{flex-direction:column}.report-filters>*{width:100%}}

@media(max-width:560px){.product-store-top .verified-badge{font-size:8px;padding:2px 5px}.cart-seller .verified-badge,.checkout-seller .verified-badge{font-size:8px;padding:2px 5px}}

/* KOMVIA V9.2 — Perfil comprador profesional + vencimiento de pago */
.account-pro{max-width:1240px}.account-pro-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(135deg,#0d2944,#123f68);color:#fff;border-radius:22px;padding:28px 30px;margin:20px 0 16px;box-shadow:0 14px 38px #0b27452a}.account-pro-identity{display:flex;align-items:center;gap:18px;min-width:0}.account-pro-hero h1{margin:3px 0 5px;font-size:30px}.account-pro-hero p{margin:0;color:#d9e7f3}.account-avatar-pro{width:72px;height:72px;border:3px solid #ffffff35;background:#fff;color:var(--navy);box-shadow:0 8px 24px #00152c45}.account-pro-actions{display:flex;gap:9px;flex-wrap:wrap}.account-pro-actions .btn.secondary{background:#ffffff16;border:1px solid #ffffff35}.account-status-row{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.account-status{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;background:#ffffff16;border:1px solid #ffffff24;font-size:11px;font-weight:800;color:#fff}.account-status.ok{background:#dff7ea;color:#08754c;border-color:#b9e8d2}.account-status.warn{background:#fff5d9;color:#8a5a00;border-color:#ffe5a2}.account-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0}.account-stat-card{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e0e8ef;border-radius:15px;padding:16px 18px;box-shadow:0 5px 18px #16324d0b}.account-stat-card>span{font-size:25px}.account-stat-card b{display:block;font-size:24px;line-height:1}.account-stat-card small{display:block;margin-top:5px;color:var(--muted);font-weight:800}.account-stat-card.attention{border-color:#ffc49d;background:#fffaf6}.account-quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0 18px}.account-quick-card{display:flex;align-items:flex-start;gap:12px;background:#fff;border:1px solid #e0e8ef;border-radius:15px;padding:17px;color:var(--text)}.quick-icon{width:42px;height:42px;border-radius:12px;background:#f0f5f9;display:grid;place-items:center;font-size:20px;flex:0 0 auto}.account-quick-card small,.account-quick-card b,.account-quick-card span{display:block}.account-quick-card small{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:900}.account-quick-card b{margin:5px 0 3px}.account-quick-card span{color:var(--muted);font-size:12px;line-height:1.35}.account-tabs-pro{border:1px solid #e2e9f0;border-radius:14px;padding:7px;background:#fff;top:8px;box-shadow:0 5px 18px #16324d0a}.account-tabs-pro a{border:0;background:transparent;padding:9px 12px}.account-tabs-pro a:hover{background:#f4f7fa}.account-section{background:#fff;border:1px solid #e1e8ef;border-radius:18px;padding:22px;margin:18px 0}.account-section>.account-card{border:0;background:#f9fbfd;padding:20px}.account-section>.section-title{padding:0 2px 4px}.order-mini-timer{margin-top:5px;color:#b54800;font-size:11px;font-weight:900;white-space:nowrap}.order-mini-timer.expired{color:#9a2626}.payment-expiry-card{background:#fff7eb;border:1px solid #ffd6a8;border-left:5px solid #ff9f2f;border-radius:14px;padding:14px 16px;margin:14px 0;color:#6d4715}.payment-expiry-card>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.payment-expiry-card span{font-weight:900}.payment-expiry-card strong{font-variant-numeric:tabular-nums;font-size:26px;letter-spacing:.04em;color:#b95a00}.payment-expiry-card p{margin:8px 0 0;line-height:1.4}.payment-expiry-card.urgent{background:#fff3ef;border-color:#ffc5b4;border-left-color:#ff6b1a}.payment-expiry-card.urgent strong{color:#d84b00}
@media(max-width:900px){.account-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.account-quick-grid{grid-template-columns:1fr}.account-pro-hero{align-items:flex-start}.account-pro-actions{flex-direction:column}.account-pro-actions .btn{width:100%;text-align:center}}
@media(max-width:600px){.account-pro{padding-left:12px;padding-right:12px}.account-pro-hero{padding:19px 16px;border-radius:17px;flex-direction:column}.account-pro-identity{align-items:flex-start}.account-avatar-pro{width:54px;height:54px;font-size:21px}.account-pro-hero h1{font-size:22px}.account-pro-hero p{font-size:12px;word-break:break-word}.account-pro-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.account-stat-grid{gap:8px}.account-stat-card{padding:12px}.account-stat-card b{font-size:20px}.account-stat-card>span{font-size:20px}.account-section{padding:15px 12px;border-radius:15px}.account-section>.account-card{padding:15px 11px}.account-tabs-pro{overflow:auto;flex-wrap:nowrap;top:106px}.account-tabs-pro a{white-space:nowrap}.payment-expiry-card>div{align-items:flex-start}.payment-expiry-card strong{font-size:22px}}

/* KOMVIA V9.2.1 — perfil comprador sin direcciones */
.account-pro-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;min-width:320px}.account-pro-actions .btn{text-align:center}.account-pro-actions .orders-main-btn{grid-column:1/-1;background:#fff;color:var(--navy);border:1px solid #fff;font-weight:900}.account-pro-actions .orders-main-btn:hover{filter:brightness(.96)}.account-profile-note{background:#eef7ff;border:1px solid #cfe3f5;border-radius:14px;padding:14px 16px;margin:14px 0;color:#29455f}.account-profile-note b{display:block;margin-bottom:3px}.orders-page{max-width:1180px}.orders-page-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:22px 0}.orders-page-head h1{margin:0}.orders-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 18px}.orders-summary-card{background:#fff;border:1px solid #e1e8ef;border-radius:14px;padding:15px}.orders-summary-card b{display:block;font-size:24px}.orders-summary-card small{color:var(--muted);font-weight:800}.orders-mobile-list{display:none}.order-mobile-card{background:#fff;border:1px solid #e1e8ef;border-radius:15px;padding:15px;margin-bottom:10px}.order-mobile-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.order-mobile-card h3{margin:0;font-size:16px}.order-mobile-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:13px 0}.order-mobile-meta div{background:#f7f9fb;border-radius:9px;padding:9px}.order-mobile-meta small,.order-mobile-meta b{display:block}.order-mobile-meta small{color:var(--muted);font-size:10px}.order-mobile-actions{display:flex;gap:8px;flex-wrap:wrap}.order-mobile-actions .btn{flex:1;text-align:center;padding:10px}.account-tabs-pro .orders-tab-link{font-weight:900;color:var(--navy)}
@media(max-width:900px){.account-pro-actions{min-width:0;width:100%}.orders-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.account-pro-actions{grid-template-columns:1fr 1fr}.account-pro-actions .orders-main-btn{grid-column:1/-1}.orders-page-head{align-items:flex-start;flex-direction:column}.orders-page .table-wrap{display:none}.orders-mobile-list{display:block}.orders-summary{gap:8px}.orders-summary-card{padding:12px}.orders-summary-card b{font-size:20px}}

/* KOMVIA V9.2.2 — restaurar posición correcta del badge Vendedor Verificado */
.product-store-top{
  display:block;
  line-height:1.2;
}
.product-store-top>a{
  display:block;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.product-store-verified-inline{
  display:block;
  margin-top:4px;
  margin-bottom:5px;
  line-height:1;
}
.product-store-verified-inline .verified-badge{
  display:inline-flex;
  margin-left:0;
  max-width:100%;
  font-size:9px;
  padding:3px 6px;
  white-space:nowrap;
}
@media(max-width:560px){
  .product-store-verified-inline .verified-badge{
    font-size:8px;
    padding:2px 5px;
  }
}
