
.tb2b-portal-grid,.tb2b-admin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:20px}
.tb2b-card,.tb2b-search-card,.tb2b-admin-card,.tb2b-product-card,.tb2b-payment-wrap,.tb2b-price-card{background:#fff;border:1px solid #e7e7e7;border-radius:16px;box-shadow:0 10px 24px rgba(0,0,0,.05)}
.tb2b-card,.tb2b-search-card,.tb2b-admin-card,.tb2b-payment-wrap,.tb2b-price-card{padding:20px}
.tb2b-dashboard-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:20px;flex-wrap:wrap}
.tb2b-dashboard-head h2{margin:0 0 6px;font-size:28px;line-height:1.2}
.tb2b-search-title{font-size:22px;font-weight:700;margin-bottom:12px}
.tb2b-search-row{display:grid;grid-template-columns:2fr 2fr 2fr 2fr auto;gap:14px;align-items:end}
.tb2b-search-row label,.tb2b-form label{display:block;margin-bottom:6px;font-weight:600}
.tb2b-search-row select,.tb2b-form input{width:100%;padding:11px 12px;border:1px solid #d9d9d9;border-radius:12px;background:#fff}
.tb2b-search-btn-wrap .button,.tb2b-form .button{width:100%;padding:12px 18px;border-radius:12px}
.tb2b-results-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:18px;margin-top:20px}
.tb2b-product-card{overflow:hidden}
.tb2b-product-thumb img{width:100%;height:auto;display:block}
.tb2b-product-content{padding:18px}
.tb2b-product-content h3{margin:0 0 10px;font-size:20px;line-height:1.35}
.tb2b-product-meta{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.tb2b-product-meta span,.tb2b-badge{display:inline-flex;padding:6px 10px;border-radius:999px;background:#f6f6f6;font-size:12px;font-weight:600}
.tb2b-product-price strong,.tb2b-price-current{display:block;font-size:28px;color:#0d5c63;line-height:1.2}
.tb2b-product-price small,.tb2b-price-note,.tb2b-search-help{display:block;color:#666;margin-top:4px}
.tb2b-product-actions{margin-top:14px}
.tb2b-profile-card{margin-top:20px}
.tb2b-price-top{display:flex;align-items:end;gap:12px}
.tb2b-price-base{text-decoration:line-through;color:#888}
.tb2b-price-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.tb2b-badge-green{background:#e8f7ec;color:#1f7a34}
.tb2b-payment-title{font-size:20px;font-weight:700;margin-bottom:10px}
.tb2b-payment-option{display:flex;gap:12px;border:1px solid #eee;border-radius:14px;padding:12px;margin:10px 0;align-items:flex-start}
.tb2b-payment-option input{margin-top:4px}
.tb2b-head-actions{display:flex;gap:10px;flex-wrap:wrap}
.tb2b-head-actions .button{border-radius:12px}
.tab2b-agent-price small{display:block}
@media (max-width: 900px){
  .tb2b-search-row{grid-template-columns:1fr}
}

.tb2b-payment-wrap{margin:18px 0}.tb2b-payment-option{cursor:pointer}.tb2b-admin-wrap code{display:inline-block;padding:10px 12px;background:#f6f7f7;border-radius:10px}

.tb2b-dashboard-pro{display:block}
.tb2b-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;flex-wrap:wrap;padding:22px;border-radius:20px;background:linear-gradient(135deg,#fff7ef,#ffffff);border:1px solid #f0e3d2;box-shadow:0 16px 36px rgba(0,0,0,.06);margin-bottom:22px}
.tb2b-eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:#b06a00;font-weight:700;margin-bottom:8px}
.tb2b-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}
.tb2b-stat-card{background:#fff;border:1px solid #ececec;border-radius:18px;padding:18px;box-shadow:0 10px 24px rgba(0,0,0,.04)}
.tb2b-stat-label{display:block;font-size:12px;color:#666;text-transform:uppercase;letter-spacing:.08em;margin-bottom:8px}
.tb2b-stat-card strong{font-size:28px;line-height:1.15;color:#1c3b57}
.tb2b-orders-table-wrap{overflow:auto}
.tb2b-orders-table th,.tb2b-orders-table td{vertical-align:top}
.tb2b-cancel-summary{cursor:pointer;color:#0d5c63;font-weight:700}
.tb2b-cancel-form textarea{width:100%;padding:10px;border:1px solid #ddd;border-radius:10px}
.tb2b-order-box{margin-top:18px;padding:18px;border:1px solid #e7e7e7;border-radius:16px;background:#fff}
@media (max-width: 980px){.tb2b-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width: 640px){.tb2b-stats-grid{grid-template-columns:1fr;}}
