:root {
    --ts-primary: #0b5fa5;
    --ts-primary-dark: #083f72;
    --ts-accent: #14a7c6;
    --ts-soft: #eef7fb;
    --ts-ink: #183044;
}

body {
    color: var(--ts-ink);
}

.brand-logo {
    display: block;
    height: 42px;
    width: auto;
}

.header-main {
    padding-bottom: .9rem;
    padding-top: .9rem;
}

.header-main .form-control,
.header-main .btn {
    min-height: 52px;
}

.header-main .btn-icon {
    height: 50px;
    min-height: 50px;
    width: 50px;
}

.public-navbar .navbar-nav {
    gap: .35rem;
}

.public-navbar .nav-link {
    padding-bottom: 1rem;
    padding-top: 1rem;
}

.public-navbar .btn.dropdown-toggle {
    min-height: 50px;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.hero-marketplace {
    background: linear-gradient(105deg, rgba(236, 247, 253, .96), rgba(232, 244, 255, .9)), url("/assets/images/banner/grocery-banner.png");
    background-position: center;
    background-size: cover;
    border-radius: 8px;
}

.market-stats {
    background: #fff;
    border: 1px solid #e5edf4;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(24, 48, 68, .06);
    overflow: hidden;
}

.stat-item {
    border-right: 1px solid #e5edf4;
    padding: 1.5rem 1rem;
}

.stat-item h3 {
    color: var(--ts-primary);
    font-weight: 800;
    margin-bottom: .25rem;
}

.stat-item p {
    color: #6b7b88;
    font-size: .875rem;
    margin-bottom: 0;
}

.feature-band,
.vendor-highlight {
    background: #fff;
    border: 1px solid #e5edf4;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(24, 48, 68, .06);
    padding: 2rem;
}

.feature-band {
    background: linear-gradient(135deg, #ffffff, #eef7fb);
}

.journey-steps {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.journey-steps div {
    background: rgba(255, 255, 255, .86);
    border: 1px solid #e0ebf3;
    border-radius: 8px;
    padding: 1rem;
}

.journey-steps span {
    align-items: center;
    background: var(--ts-primary);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-size: .8rem;
    font-weight: 700;
    height: 28px;
    justify-content: center;
    margin-bottom: .75rem;
    width: 28px;
}

.journey-steps strong,
.journey-steps small {
    display: block;
}

.journey-steps small {
    color: #6b7b88;
    line-height: 1.45;
    margin-top: .35rem;
}

.vendor-highlight li {
    color: #405464;
    margin-bottom: .85rem;
}

.software-icon {
    align-items: center;
    background: var(--ts-soft);
    border-radius: 8px;
    color: var(--ts-primary);
    display: inline-flex;
    font-size: 2rem;
    height: 72px;
    justify-content: center;
    width: 72px;
}

.software-card .card-product-action {
    opacity: 1;
    position: static;
    transform: none;
}

.dashboard-shell {
    background: #f7f8fa;
    min-height: 100vh;
}

.btn-primary,
.bg-primary {
    background-color: var(--ts-primary) !important;
    border-color: var(--ts-primary) !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--ts-primary-dark) !important;
    border-color: var(--ts-primary-dark) !important;
}

.btn-outline-primary {
    border-color: var(--ts-primary);
    color: var(--ts-primary);
}

.btn-outline-primary:hover {
    background: var(--ts-primary);
    border-color: var(--ts-primary);
}

.text-success,
.text-primary {
    color: var(--ts-primary) !important;
}

.bg-success {
    background-color: var(--ts-accent) !important;
}

.dropdown-fullwidth {
    position: static;
}

.dropdown-fullwidth .dropdown-menu {
    left: 0;
    margin: auto;
    max-width: 1140px;
    right: 0;
    width: calc(100% - 2rem);
}

.dashboard-sidebar {
    background: #fff;
    border-right: 1px solid #edf0f2;
    min-height: 100vh;
}

.dashboard-sidebar .nav-link {
    border-radius: 8px;
    color: #5c6c75;
    margin-bottom: .25rem;
}

.dashboard-sidebar .nav-link.active,
.dashboard-sidebar .nav-link:hover {
    background: var(--ts-soft);
    color: var(--ts-primary);
}

.metric-card {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(3, 7, 18, .08);
}

.text-rupee::before {
    content: "INR ";
}

.section-head {
    margin-left: auto;
    margin-right: auto;
    max-width: 720px;
}

.success-feature-card {
    background: #fff;
    border: 1px solid #e5edf4;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(24, 48, 68, .05);
    height: 100%;
    padding: 1.5rem;
    transition: transform .18s ease, box-shadow .18s ease;
}

.success-feature-card:hover {
    box-shadow: 0 14px 34px rgba(24, 48, 68, .09);
    transform: translateY(-3px);
}

.success-feature-card > i {
    align-items: center;
    background: var(--ts-soft);
    border-radius: 8px;
    color: var(--ts-primary);
    display: inline-flex;
    font-size: 1.6rem;
    height: 54px;
    justify-content: center;
    margin-bottom: 1rem;
    width: 54px;
}

.buyer-cta {
    align-items: center;
    background: linear-gradient(135deg, #eaf6fb, #ffffff);
    border: 1px solid #dbeaf3;
    border-radius: 8px;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    padding: 2rem;
}

.directory-hero {
    background: linear-gradient(135deg, #eef7fb, #ffffff);
    border-bottom: 1px solid #e5edf4;
}

.directory-summary {
    background: #fff;
    border: 1px solid #dfeaf1;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(24, 48, 68, .05);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
}

.directory-summary div {
    border-right: 1px solid #e5edf4;
    padding: 1rem;
    text-align: center;
}

.directory-summary div:last-child {
    border-right: 0;
}

.directory-summary strong {
    color: var(--ts-primary);
    display: block;
    font-size: 1.35rem;
}

.directory-summary span {
    color: #6b7b88;
    font-size: .78rem;
}

.filter-panel {
    position: sticky;
    top: 1rem;
}

.filter-panel .form-check-label {
    color: #405464;
    font-size: .92rem;
}

.rating-filter {
    color: #f5a524;
}

.listing-toolbar {
    align-items: center;
    background: #fff;
    border: 1px solid #e5edf4;
    border-radius: 8px;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 1rem 1.25rem;
}

.software-list {
    display: grid;
    gap: 1rem;
}

.directory-product-card {
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e5edf4;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(24, 48, 68, .05);
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 88px minmax(0, 1fr) 155px;
    padding: 1.25rem;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.directory-product-card:hover {
    border-color: #c7dce8;
    box-shadow: 0 14px 34px rgba(24, 48, 68, .09);
    transform: translateY(-2px);
}

.product-logo-box {
    align-items: center;
    background: var(--ts-soft);
    border-radius: 8px;
    color: var(--ts-primary);
    display: flex;
    font-size: 2.1rem;
    height: 88px;
    justify-content: center;
    width: 88px;
}

.product-list-body h4 a {
    color: var(--ts-ink);
    text-decoration: none;
}

.product-list-body h4 a:hover {
    color: var(--ts-primary);
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.feature-tags span {
    background: #f3f8fb;
    border: 1px solid #dceaf2;
    border-radius: 999px;
    color: #456273;
    font-size: .78rem;
    padding: .3rem .65rem;
}

.product-score-box {
    border-left: 1px solid #e5edf4;
    padding-left: 1.25rem;
    text-align: center;
}

.rating-score {
    color: var(--ts-primary);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.product-detail-hero {
    background: linear-gradient(135deg, #eef7fb, #ffffff 60%, #f7fbfd);
    border-bottom: 1px solid #e5edf4;
}

.detail-hero-card {
    background: rgba(255, 255, 255, .9);
    border: 1px solid #dfeaf1;
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(24, 48, 68, .08);
    padding: 2rem;
}

.detail-logo-card {
    background: linear-gradient(180deg, #f4fbff, #ffffff);
    border: 1px solid #dfeaf1;
    border-radius: 8px;
    height: 100%;
    padding: 2rem;
    text-align: center;
}

.product-avatar-xl {
    align-items: center;
    background: linear-gradient(135deg, var(--ts-primary), var(--ts-accent));
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(11, 95, 165, .24);
    color: #fff;
    display: inline-flex;
    font-size: 4rem;
    height: 148px;
    justify-content: center;
    width: 148px;
}

.vendor-mini-stats {
    border-top: 1px solid #dfeaf1;
    display: grid;
    gap: .5rem;
    grid-template-columns: repeat(3, 1fr);
    padding-top: 1rem;
}

.vendor-mini-stats strong,
.vendor-mini-stats span {
    display: block;
}

.vendor-mini-stats strong {
    color: var(--ts-primary);
}

.vendor-mini-stats span {
    color: #6b7b88;
    font-size: .75rem;
}

.detail-copy {
    padding: .5rem 0;
}

.detail-rating-strip {
    background: #f6fafc;
    border: 1px solid #dfeaf1;
    border-radius: 8px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    overflow: hidden;
}

.detail-rating-strip > div {
    border-right: 1px solid #dfeaf1;
    padding: .9rem 1rem;
}

.detail-rating-strip > div:last-child {
    border-right: 0;
}

.detail-rating-strip strong {
    display: block;
    font-size: 1.15rem;
}

.detail-rating-strip small {
    color: #6b7b88;
    display: block;
    margin-top: .2rem;
}

.detail-price-row {
    align-items: center;
    background: #fff;
    border: 1px solid #dfeaf1;
    border-radius: 8px;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1rem 1.25rem;
}

.detail-meta-grid {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.detail-meta-grid div {
    background: #fff;
    border: 1px solid #e5edf4;
    border-radius: 8px;
    padding: .85rem;
}

.detail-meta-grid span {
    color: #6b7b88;
    display: block;
    font-size: .78rem;
}

.detail-meta-grid strong {
    display: block;
    margin-top: .2rem;
}

.detail-feature {
    align-items: center;
    background: #f6fafc;
    border-radius: 8px;
    display: flex;
    gap: .65rem;
    padding: .85rem;
}

.detail-feature i {
    color: var(--ts-primary);
}

.rating-row {
    align-items: center;
    display: grid;
    gap: 1rem;
    grid-template-columns: 150px minmax(0, 1fr) 40px;
    margin-bottom: 1rem;
}

.rating-row .progress {
    height: 8px;
}

.rating-row .progress-bar {
    background-color: var(--ts-primary);
}

.detail-action-card {
    top: 1rem;
}

.cart-hero {
    background: linear-gradient(135deg, #eef7fb, #ffffff);
    border-bottom: 1px solid #e5edf4;
}

.cart-trust-card {
    align-items: center;
    background: #fff;
    border: 1px solid #dfeaf1;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(24, 48, 68, .05);
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
}

.cart-trust-card i {
    color: var(--ts-primary);
    font-size: 2rem;
}

.cart-trust-card strong,
.cart-trust-card span {
    display: block;
}

.cart-trust-card span {
    color: #6b7b88;
    font-size: .875rem;
    margin-top: .2rem;
}

.checkout-steps {
    background: #fff;
    border: 1px solid #e5edf4;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(24, 48, 68, .05);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
}

.checkout-steps div {
    align-items: center;
    border-right: 1px solid #e5edf4;
    display: flex;
    gap: .75rem;
    padding: 1rem;
}

.checkout-steps div:last-child {
    border-right: 0;
}

.checkout-steps span {
    align-items: center;
    background: #edf4f8;
    border-radius: 50%;
    color: #6b7b88;
    display: inline-flex;
    font-weight: 700;
    height: 30px;
    justify-content: center;
    width: 30px;
}

.checkout-steps .active span {
    background: var(--ts-primary);
    color: #fff;
}

.cart-list-card,
.cart-summary-card,
.cart-help-card {
    background: #fff;
    border: 1px solid #e5edf4;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(24, 48, 68, .06);
}

.cart-list-head {
    align-items: center;
    border-bottom: 1px solid #e5edf4;
    display: flex;
    justify-content: space-between;
    padding: 1.25rem;
}

.cart-product-row {
    align-items: flex-start;
    display: grid;
    gap: 1rem;
    grid-template-columns: 76px minmax(0, 1fr) 130px;
    padding: 1.25rem;
}

.cart-product-row + .cart-product-row {
    border-top: 1px solid #e5edf4;
}

.cart-product-icon {
    align-items: center;
    background: var(--ts-soft);
    border-radius: 8px;
    color: var(--ts-primary);
    display: flex;
    font-size: 1.9rem;
    height: 76px;
    justify-content: center;
    width: 76px;
}

.cart-feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.cart-feature-tags span {
    background: #f6fafc;
    border: 1px solid #dfeaf1;
    border-radius: 999px;
    color: #456273;
    font-size: .76rem;
    padding: .3rem .6rem;
}

.cart-product-price {
    text-align: right;
}

.cart-product-price strong,
.cart-product-price span {
    display: block;
}

.cart-help-card {
    align-items: center;
    display: grid;
    gap: 1rem;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    padding: 1.25rem;
}

.cart-summary-card {
    padding: 1.5rem;
    position: sticky;
    top: 1rem;
}

.summary-line,
.summary-total {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: .85rem;
}

.summary-line span {
    color: #5f7280;
}

.summary-total {
    background: #f6fafc;
    border-radius: 8px;
    margin-bottom: 0;
    padding: 1rem;
}

.summary-total strong {
    color: var(--ts-primary);
    font-size: 1.35rem;
}

.secure-note {
    align-items: flex-start;
    color: #6b7b88;
    display: flex;
    font-size: .82rem;
    gap: .5rem;
}

.secure-note i {
    color: var(--ts-primary);
}

.checkout-hero {
    background: linear-gradient(135deg, #eef7fb, #ffffff);
    border-bottom: 1px solid #e5edf4;
}

.checkout-card {
    background: #fff;
    border: 1px solid #e5edf4;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(24, 48, 68, .06);
    overflow: hidden;
}

.checkout-card-head {
    align-items: center;
    background: #f8fbfd;
    border-bottom: 1px solid #e5edf4;
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
}

.checkout-card-head > span {
    align-items: center;
    background: var(--ts-primary);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    font-weight: 700;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.checkout-card-body {
    padding: 1.25rem;
}

.payment-options {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.payment-option {
    border: 1px solid #dfeaf1;
    border-radius: 8px;
    cursor: pointer;
    padding: 1rem;
}

.payment-option.active,
.payment-option:hover {
    border-color: var(--ts-primary);
    box-shadow: 0 8px 20px rgba(11, 95, 165, .08);
}

.payment-option input {
    margin-right: .35rem;
}

.payment-option i {
    color: var(--ts-primary);
    display: block;
    font-size: 1.8rem;
    margin: .75rem 0;
}

.payment-option strong,
.payment-option small {
    display: block;
}

.payment-option small {
    color: #6b7b88;
}

.checkout-summary-item {
    align-items: flex-start;
    border-bottom: 1px solid #e5edf4;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding-bottom: .85rem;
}

.checkout-summary-item + .checkout-summary-item {
    padding-top: .85rem;
}

.checkout-summary-item:last-child {
    border-bottom: 0;
}

.checkout-summary-item span {
    color: #6b7b88;
    display: block;
    font-size: .82rem;
    margin-top: .2rem;
}

.order-result {
    background: linear-gradient(135deg, #eef7fb, #ffffff);
    min-height: 70vh;
}

.result-card {
    background: #fff;
    border: 1px solid #dfeaf1;
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(24, 48, 68, .09);
    margin: 0 auto;
    max-width: 920px;
    padding: 2.5rem;
    text-align: center;
}

.result-icon {
    align-items: center;
    border-radius: 50%;
    display: inline-flex;
    font-size: 3rem;
    height: 92px;
    justify-content: center;
    margin-bottom: 1.25rem;
    width: 92px;
}

.success-result .result-icon {
    background: #eaf7f4;
    color: #12866f;
}

.error-result .result-icon {
    background: #fff4e8;
    color: #c06b00;
}

.order-meta {
    border: 1px solid #e5edf4;
    border-radius: 8px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 1.5rem 0;
    overflow: hidden;
}

.order-meta div {
    border-right: 1px solid #e5edf4;
    padding: 1rem;
}

.order-meta div:last-child {
    border-right: 0;
}

.order-meta span,
.order-meta strong {
    display: block;
}

.order-meta span {
    color: #6b7b88;
    font-size: .8rem;
}

.result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: center;
}

.next-step {
    align-items: flex-start;
    display: flex;
    gap: .85rem;
    padding: 1rem 0;
}

.next-step + .next-step {
    border-top: 1px solid #e5edf4;
}

.next-step i {
    align-items: center;
    background: var(--ts-soft);
    border-radius: 8px;
    color: var(--ts-primary);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1.4rem;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.next-step span {
    color: #6b7b88;
    display: block;
    font-size: .9rem;
    margin-top: .2rem;
}

.auth-panel {
    background: linear-gradient(140deg, #eaf6fb, #f7fbff);
    min-height: calc(100vh - 160px);
}

.auth-modern {
    position: relative;
}

.auth-brand-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(238, 247, 251, .92));
    border: 1px solid #dfeaf1;
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(24, 48, 68, .08);
    padding: 2.25rem;
}

.auth-benefits {
    display: grid;
    gap: .85rem;
    margin-bottom: 1.5rem;
}

.auth-benefits div,
.auth-note {
    align-items: center;
    background: #fff;
    border: 1px solid #e5edf4;
    border-radius: 8px;
    display: flex;
    gap: .8rem;
    padding: .9rem;
}

.auth-benefits i,
.auth-note i {
    align-items: center;
    background: var(--ts-soft);
    border-radius: 8px;
    color: var(--ts-primary);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1.2rem;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.auth-note {
    color: #5f7280;
    font-size: .9rem;
}

.auth-stats {
    border: 1px solid #dfeaf1;
    border-radius: 8px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
}

.auth-stats div {
    background: #fff;
    border-right: 1px solid #dfeaf1;
    padding: .9rem;
    text-align: center;
}

.auth-stats div:last-child {
    border-right: 0;
}

.auth-stats strong {
    color: var(--ts-primary);
    display: block;
    font-size: 1.25rem;
}

.auth-stats span {
    color: #6b7b88;
    display: block;
    font-size: .78rem;
}

.auth-card {
    background: #fff;
    border: 1px solid #dfeaf1;
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(24, 48, 68, .1);
    padding: 2rem;
}

.auth-card-wide {
    padding: 2rem;
}

.auth-card-head {
    margin-bottom: 1.5rem;
}

.auth-form .btn {
    min-height: 50px;
}

.auth-input {
    margin-bottom: 1rem;
}

.auth-input label {
    display: block;
    font-weight: 500;
    margin-bottom: .45rem;
}

.auth-input div {
    align-items: center;
    border: 1px solid #dfeaf1;
    border-radius: 8px;
    display: flex;
    min-height: 50px;
    padding: 0 .85rem;
}

.auth-input div:focus-within {
    border-color: var(--ts-primary);
    box-shadow: 0 0 0 .2rem rgba(11, 95, 165, .08);
}

.auth-input i {
    color: var(--ts-primary);
    margin-right: .65rem;
}

.auth-input input {
    border: 0;
    flex: 1;
    min-width: 0;
    outline: 0;
}

.auth-divider {
    align-items: center;
    color: #7a8c98;
    display: flex;
    font-size: .82rem;
    gap: .75rem;
    margin: 1.25rem 0;
}

.auth-divider::before,
.auth-divider::after {
    background: #e5edf4;
    content: "";
    flex: 1;
    height: 1px;
}

.vendor-auth-panel {
    background:
        linear-gradient(135deg, rgba(238, 247, 251, .92), rgba(255, 255, 255, .94)),
        radial-gradient(circle at 12% 18%, rgba(20, 167, 198, .18), transparent 28%);
}

.vendor-auth-brand h1 {
    color: var(--ts-ink);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 1rem;
}

.vendor-auth-brand p {
    color: #5f7280;
    font-size: 1.02rem;
}

.vendor-auth-card .form-control,
.vendor-auth-card .form-select {
    border-color: #dfeaf1;
    min-height: 50px;
}

.vendor-auth-card textarea.form-control {
    min-height: auto;
}

.vendor-auth-card .form-control:focus,
.vendor-auth-card .form-select:focus {
    border-color: var(--ts-primary);
    box-shadow: 0 0 0 .2rem rgba(11, 95, 165, .08);
}

.vendor-onboard-steps {
    display: grid;
    gap: .9rem;
    margin-top: 1.5rem;
}

.vendor-onboard-steps div {
    background: #fff;
    border: 1px solid #e5edf4;
    border-radius: 8px;
    display: grid;
    gap: .75rem;
    grid-template-columns: 36px minmax(0, 1fr);
    padding: .95rem;
}

.vendor-onboard-steps span {
    align-items: center;
    background: var(--ts-primary);
    border-radius: 8px;
    color: #fff;
    display: inline-flex;
    font-weight: 800;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.vendor-onboard-steps strong,
.vendor-onboard-steps small {
    display: block;
}

.vendor-onboard-steps small {
    color: #6b7b88;
    margin-top: .2rem;
}

.vendor-package-preview {
    display: grid;
    gap: .85rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vendor-package-preview div {
    background: #f8fbfd;
    border: 1px solid #dfeaf1;
    border-radius: 8px;
    padding: .9rem;
}

.vendor-package-preview strong,
.vendor-package-preview span {
    display: block;
}

.vendor-package-preview strong {
    color: var(--ts-primary-dark);
}

.vendor-package-preview span {
    color: #6b7b88;
    font-size: .84rem;
    margin-top: .25rem;
}

.admin-layout {
    background: #f4f6f9;
    color: #17212b;
    min-height: 100vh;
}

.admin-topbar {
    background: #fff;
    border-bottom: 1px solid #e6eaf0;
    height: 72px;
}

.admin-sidebar {
    background: #111827;
    color: #d1d5db;
    min-height: 100vh;
}

.admin-sidebar .brand-logo {
    background: #fff;
    border-radius: 8px;
    padding: .35rem;
}

.admin-panel-label {
    color: #8aa3b8;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08rem;
    margin-bottom: .85rem;
    text-transform: uppercase;
}

.admin-sidebar .nav-link {
    align-items: center;
    border-radius: 8px;
    color: #d1d5db;
    display: flex;
    font-weight: 600;
    margin-bottom: .25rem;
    min-height: 44px;
    padding: .75rem .85rem;
}

.admin-sidebar .nav-link.active,
.admin-sidebar .nav-link:hover {
    background: rgba(20, 167, 198, .18);
    color: #fff;
}

.admin-main {
    padding: 2rem;
}

.admin-page-head {
    align-items: center;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.admin-page-head h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: .25rem;
}

.admin-page-head p {
    color: #6b7280;
    margin-bottom: 0;
}

.admin-head-actions {
    display: flex;
    gap: .65rem;
}

.admin-metrics,
.admin-stage-board {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-metric-card,
.admin-card,
.admin-vendor-card {
    background: #fff;
    border: 1px solid #e5eaf0;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .055);
}

.admin-metric-card {
    min-height: 132px;
    padding: 1.15rem;
    position: relative;
}

.admin-metric-card span {
    color: #64748b;
    display: block;
    font-size: .88rem;
}

.admin-metric-card strong {
    color: #111827;
    display: block;
    font-size: 1.65rem;
    line-height: 1.15;
    margin-top: .55rem;
}

.admin-metric-card small {
    color: var(--ts-primary);
    display: block;
    margin-top: .35rem;
}

.admin-metric-card i {
    color: rgba(20, 167, 198, .2);
    font-size: 2rem;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.admin-card,
.admin-vendor-card {
    padding: 1.25rem;
}

.admin-card-head {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.admin-card-head h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: .2rem;
}

.admin-card-head p {
    color: #64748b;
    margin-bottom: 0;
}

.admin-table-wrap {
    border: 1px solid #e5eaf0;
    border-radius: 8px;
    overflow: hidden;
}

.admin-table thead th {
    background: #f8fafc;
    border-bottom: 1px solid #e5eaf0;
    color: #475569;
    font-size: .78rem;
    letter-spacing: .04rem;
    text-transform: uppercase;
}

.admin-table tbody td {
    border-color: #edf2f7;
    color: #334155;
    padding-bottom: .95rem;
    padding-top: .95rem;
}

.admin-status {
    background: #eef7fb;
    border: 1px solid #cfe9f4;
    border-radius: 999px;
    color: var(--ts-primary-dark);
    display: inline-flex;
    font-size: .76rem;
    font-weight: 800;
    padding: .35rem .65rem;
    white-space: nowrap;
}

.admin-review-list {
    display: grid;
    gap: .8rem;
}

.admin-review-list div,
.admin-toggle-row {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e5eaf0;
    border-radius: 8px;
    display: grid;
    gap: .75rem;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    padding: .85rem;
}

.admin-review-list i {
    align-items: center;
    background: #fff;
    border: 1px solid #e5eaf0;
    border-radius: 8px;
    color: var(--ts-primary);
    display: inline-flex;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.admin-review-list span,
.admin-toggle-row span {
    color: #334155;
    font-weight: 600;
}

.admin-review-list strong {
    color: #111827;
    font-size: .82rem;
}

.admin-filterbar {
    background: #fff;
    border: 1px solid #e5eaf0;
    border-radius: 8px;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(240px, 1fr) 220px 180px;
    margin-bottom: 1rem;
    padding: 1rem;
}

.admin-product-cell {
    align-items: center;
    display: grid;
    gap: .75rem;
    grid-template-columns: 42px minmax(0, 1fr);
}

.admin-product-cell span {
    align-items: center;
    background: #eef7fb;
    border-radius: 8px;
    color: var(--ts-primary);
    display: inline-flex;
    font-size: 1.2rem;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.admin-product-cell small {
    color: #64748b;
    display: block;
}

.admin-stage-board {
    margin-bottom: 1rem;
}

.admin-stage-board div {
    background: #fff;
    border: 1px solid #e5eaf0;
    border-radius: 8px;
    padding: 1rem;
}

.admin-stage-board span {
    color: #64748b;
    display: block;
}

.admin-stage-board strong {
    color: #111827;
    display: block;
    font-size: 1.6rem;
}

.admin-vendor-top {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.admin-vendor-card .software-icon {
    font-size: 1.4rem;
    height: 54px;
    width: 54px;
}

.admin-vendor-card h4 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: .25rem;
}

.admin-vendor-card p {
    color: #64748b;
    margin-bottom: 1rem;
}

.admin-vendor-meta {
    align-items: center;
    border-top: 1px solid #e5eaf0;
    display: flex;
    justify-content: space-between;
    padding: .7rem 0;
}

.admin-vendor-meta span {
    color: #64748b;
}

.admin-ticket {
    align-items: center;
    border-top: 1px solid #e5eaf0;
    display: grid;
    gap: 1rem;
    grid-template-columns: 44px minmax(0, 1fr) auto auto;
    padding: 1rem 0;
}

.admin-ticket-priority {
    align-items: center;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-radius: 8px;
    color: #be123c;
    display: inline-flex;
    font-weight: 800;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.admin-ticket h5 {
    font-size: 1rem;
    margin-bottom: .2rem;
}

.admin-ticket p {
    color: #64748b;
    margin-bottom: 0;
}

.admin-toggle-row {
    grid-template-columns: minmax(0, 1fr) auto;
}

.admin-login-page {
    align-items: center;
    background: linear-gradient(135deg, #0f172a, #0b5fa5);
    display: flex;
    min-height: 100vh;
    padding: 2rem;
}

.admin-login-shell {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, .75fr);
    margin: 0 auto;
    max-width: 1120px;
    width: 100%;
}

.admin-login-brand,
.admin-login-card {
    border-radius: 8px;
    padding: 2rem;
}

.admin-login-brand {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    color: #fff;
}

.admin-login-brand .brand-logo {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 2rem;
    padding: .35rem;
}

.admin-login-brand h1 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 1rem;
}

.admin-login-brand p {
    color: rgba(255, 255, 255, .78);
    font-size: 1.05rem;
    max-width: 680px;
}

.admin-login-points {
    display: grid;
    gap: .8rem;
    margin-top: 2rem;
}

.admin-login-points div {
    align-items: center;
    display: flex;
    gap: .8rem;
}

.admin-login-points i {
    align-items: center;
    background: rgba(255, 255, 255, .12);
    border-radius: 8px;
    color: #9ee7f4;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.admin-login-card {
    align-self: center;
    background: #fff;
    box-shadow: 0 24px 60px rgba(2, 6, 23, .24);
}

.admin-login-card h2 {
    font-weight: 800;
    margin-bottom: .35rem;
}

.admin-login-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.site-footer {
    background: linear-gradient(180deg, #f6fafc, #eef5f9);
    border-top: 1px solid #dfeaf1;
}

.footer-main {
    padding: 3rem 0 2rem;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: .65rem;
}

.footer-links a {
    color: #5f7280;
    font-size: .9rem;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--ts-primary);
}

.social-links {
    display: flex;
    gap: .65rem;
}

.social-links a {
    align-items: center;
    background: #fff;
    border: 1px solid #dfeaf1;
    border-radius: 8px;
    color: var(--ts-primary);
    display: inline-flex;
    height: 38px;
    justify-content: center;
    text-decoration: none;
    width: 38px;
}

.social-links a:hover {
    background: var(--ts-primary);
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #dfeaf1;
    color: #708391;
    display: flex;
    font-size: .875rem;
    gap: 1rem;
    justify-content: space-between;
    padding: 1rem 0;
}

.account-hero {
    background: linear-gradient(135deg, #eef7fb, #ffffff);
    border-bottom: 1px solid #dfeaf1;
    padding: 3rem 0;
}

.account-hero h1 {
    color: var(--ts-ink);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: .85rem;
}

.account-hero p {
    color: #6b7b88;
    font-size: 1.08rem;
    margin-bottom: 0;
    max-width: 760px;
}

.account-hero-card {
    background: #fff;
    border: 1px solid #dfeaf1;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(24, 48, 68, .08);
    padding: 1.35rem;
}

.account-hero-card span,
.account-hero-card small {
    color: #6b7b88;
    display: block;
}

.account-hero-card strong {
    color: var(--ts-primary);
    display: block;
    font-size: 1.55rem;
    margin: .25rem 0;
}

.account-section {
    background: #f8fbfd;
    padding: 3rem 0;
}

.account-layout {
    align-items: flex-start;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 280px minmax(0, 1fr);
}

.account-sidebar,
.account-card,
.subscription-card,
.training-card {
    background: #fff;
    border: 1px solid #dfeaf1;
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(24, 48, 68, .055);
}

.account-sidebar {
    padding: 1rem;
    position: sticky;
    top: 1rem;
}

.account-user {
    align-items: center;
    border-bottom: 1px solid #e7eff5;
    display: flex;
    gap: .8rem;
    padding: .5rem .35rem 1rem;
}

.account-avatar {
    align-items: center;
    background: linear-gradient(135deg, var(--ts-primary), var(--ts-accent));
    border-radius: 8px;
    color: #fff;
    display: inline-flex;
    font-weight: 800;
    height: 46px;
    justify-content: center;
    width: 46px;
}

.account-avatar.lg {
    font-size: 1.5rem;
    height: 74px;
    width: 74px;
}

.account-user h6,
.account-user p {
    margin-bottom: 0;
}

.account-user p,
.account-help p,
.account-card-head p,
.compact-order p,
.mini-product p,
.order-main p,
.subscription-card p,
.training-card p,
.support-ticket p {
    color: #6b7b88;
}

.account-menu {
    display: grid;
    gap: .35rem;
    padding: 1rem 0;
}

.account-menu a {
    align-items: center;
    border-radius: 8px;
    color: var(--ts-ink);
    display: flex;
    font-weight: 600;
    gap: .7rem;
    padding: .8rem .9rem;
    text-decoration: none;
}

.account-menu a:hover {
    background: var(--ts-soft);
    color: var(--ts-primary);
}

.account-menu i {
    color: var(--ts-primary);
    font-size: 1.05rem;
}

.account-help {
    background: #f0f8fc;
    border: 1px solid #d9ebf4;
    border-radius: 8px;
    padding: 1rem;
}

.account-help i {
    color: var(--ts-primary);
    font-size: 1.4rem;
}

.account-card {
    padding: 1.35rem;
}

.account-card-head {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1.15rem;
}

.account-card-head h3,
.order-row-card h5,
.compact-order h6,
.mini-product h6,
.subscription-card h4,
.training-card h4,
.support-ticket h6 {
    margin-bottom: .2rem;
}

.account-card-head p,
.compact-order p,
.mini-product p,
.order-main p,
.subscription-card p,
.training-card p,
.support-ticket p {
    margin-bottom: 0;
}

.account-metrics {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.account-metric-card {
    background: #fff;
    border: 1px solid #dfeaf1;
    border-radius: 8px;
    min-height: 118px;
    padding: 1.1rem;
    position: relative;
}

.account-metric-card span {
    color: #6b7b88;
    display: block;
    font-size: .9rem;
}

.account-metric-card strong {
    color: var(--ts-ink);
    display: block;
    font-size: 2rem;
    line-height: 1.1;
    margin-top: .55rem;
}

.account-metric-card i {
    color: rgba(11, 95, 165, .18);
    font-size: 2.1rem;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.order-list {
    display: grid;
    gap: 1rem;
}

.order-row-card {
    align-items: center;
    border: 1px solid #e5edf4;
    border-radius: 8px;
    display: grid;
    gap: 1rem;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    padding: 1rem;
}

.order-icon,
.subscription-icon,
.training-card > i {
    align-items: center;
    background: var(--ts-soft);
    border-radius: 8px;
    color: var(--ts-primary);
    display: inline-flex;
    font-size: 1.45rem;
    height: 52px;
    justify-content: center;
    width: 52px;
}

.order-side {
    text-align: right;
}

.order-side strong {
    display: block;
    margin-bottom: .6rem;
}

.account-status {
    background: #edf8fd;
    border: 1px solid #cce9f4;
    border-radius: 999px;
    color: var(--ts-primary-dark);
    display: inline-flex;
    font-size: .78rem;
    font-weight: 700;
    padding: .35rem .65rem;
}

.order-progress {
    display: grid;
    gap: .35rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: .85rem;
    max-width: 420px;
}

.order-progress span {
    background: #e4edf4;
    border-radius: 999px;
    height: 6px;
}

.order-progress .active {
    background: var(--ts-primary);
}

.compact-order,
.mini-product,
.support-ticket,
.security-row {
    align-items: center;
    border-top: 1px solid #e9f0f5;
    display: grid;
    gap: 1rem;
    padding: .95rem 0;
}

.compact-order {
    grid-template-columns: minmax(0, 1fr) auto auto;
}

.mini-product {
    grid-template-columns: 42px minmax(0, 1fr);
}

.mini-product span {
    align-items: center;
    background: var(--ts-soft);
    border-radius: 8px;
    color: var(--ts-primary);
    display: inline-flex;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.quick-actions {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quick-actions a {
    align-items: center;
    border: 1px solid #dfeaf1;
    border-radius: 8px;
    color: var(--ts-ink);
    display: flex;
    font-weight: 700;
    gap: .75rem;
    padding: 1rem;
    text-decoration: none;
}

.quick-actions a:hover {
    border-color: var(--ts-primary);
    color: var(--ts-primary);
}

.quick-actions i {
    color: var(--ts-primary);
    font-size: 1.25rem;
}

.order-detail-top,
.subscription-card,
.training-card {
    display: flex;
    gap: 1rem;
}

.order-detail-top {
    align-items: center;
    justify-content: space-between;
}

.order-total-box {
    background: #f8fbfd;
    border: 1px solid #dfeaf1;
    border-radius: 8px;
    min-width: 220px;
    padding: 1rem;
    text-align: right;
}

.order-total-box span,
.detail-list span,
.subscription-meta span,
.training-session span,
.security-row span {
    color: #6b7b88;
    display: block;
    font-size: .88rem;
}

.order-total-box strong {
    display: block;
    font-size: 1.45rem;
    margin: .2rem 0 .75rem;
}

.account-timeline {
    display: grid;
    gap: 1rem;
}

.account-timeline div {
    border-left: 2px solid #dce8f0;
    padding-left: 1.2rem;
    position: relative;
}

.account-timeline span {
    background: #dce8f0;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #dce8f0;
    height: 14px;
    left: -8px;
    position: absolute;
    top: .2rem;
    width: 14px;
}

.account-timeline .done,
.account-timeline .active {
    border-color: var(--ts-primary);
}

.account-timeline .done span,
.account-timeline .active span {
    background: var(--ts-primary);
    box-shadow: 0 0 0 1px var(--ts-primary);
}

.detail-list {
    display: grid;
    gap: .8rem;
}

.detail-list div,
.training-session div {
    background: #f8fbfd;
    border: 1px solid #e5edf4;
    border-radius: 8px;
    padding: .85rem;
}

.profile-avatar-wrap {
    text-align: center;
}

.profile-avatar-wrap h4 {
    margin: .8rem 0 .15rem;
}

.security-row {
    grid-template-columns: minmax(0, 1fr) auto;
}

.subscription-card,
.training-card {
    padding: 1.15rem;
}

.subscription-meter {
    background: #e6eff5;
    border-radius: 999px;
    height: 8px;
    margin-top: .9rem;
    overflow: hidden;
}

.subscription-meter span {
    background: linear-gradient(90deg, var(--ts-primary), var(--ts-accent));
    border-radius: inherit;
    display: block;
    height: 100%;
}

.subscription-meta {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-top: .75rem;
}

.training-session {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.support-ticket {
    grid-template-columns: minmax(0, 1fr) auto;
}

.subscription-badge {
    align-items: center;
    background: #eef7fb;
    border: 1px solid #cfe9f4;
    border-radius: 999px;
    color: var(--ts-primary-dark);
    display: inline-flex;
    font-size: .82rem;
    font-weight: 800;
    gap: .45rem;
    padding: .45rem .75rem;
}

.subscription-plan-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.subscription-plan-card {
    border: 1px solid #dfeaf1;
    border-radius: 8px;
    padding: 1.1rem;
    position: relative;
}

.subscription-plan-card.featured {
    border-color: var(--ts-primary);
    box-shadow: 0 12px 28px rgba(11, 95, 165, .1);
}

.plan-ribbon {
    background: var(--ts-primary);
    border-radius: 999px;
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    padding: .32rem .62rem;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.subscription-plan-card h4 {
    font-weight: 800;
    margin-bottom: .25rem;
}

.subscription-plan-card p,
.plan-price span,
.plan-meta span {
    color: #64748b;
}

.plan-price {
    margin: 1rem 0;
}

.plan-price strong {
    color: var(--ts-ink);
    display: block;
    font-size: 1.65rem;
    line-height: 1.1;
}

.plan-meta {
    display: grid;
    gap: .5rem;
    margin-bottom: 1rem;
}

.plan-meta span {
    align-items: center;
    display: flex;
    font-size: .88rem;
    gap: .5rem;
}

.plan-meta i,
.subscription-plan-card li i {
    color: var(--ts-primary);
}

.subscription-plan-card ul {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.subscription-plan-card li {
    align-items: flex-start;
    color: #334155;
    display: flex;
    font-size: .9rem;
    gap: .45rem;
    margin-bottom: .5rem;
}

.vendor-main {
    padding: 2rem;
}

.vendor-page-head {
    align-items: center;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.vendor-page-head h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: .25rem;
}

.vendor-page-head p,
.vendor-card-head p,
.vendor-license-row p,
.vendor-product-head p,
.vendor-session span,
.vendor-order-top p,
.vendor-plan-list small {
    color: #64748b;
    margin-bottom: 0;
}

.vendor-metrics {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vendor-metric,
.vendor-card,
.vendor-product-card,
.vendor-order-card {
    background: #fff;
    border: 1px solid #e5eaf0;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .055);
}

.vendor-metric {
    min-height: 126px;
    padding: 1.1rem;
    position: relative;
}

.vendor-metric span {
    color: #64748b;
    display: block;
}

.vendor-metric strong {
    display: block;
    font-size: 1.65rem;
    line-height: 1.1;
    margin-top: .55rem;
}

.vendor-metric small {
    color: var(--ts-primary);
}

.vendor-metric i {
    color: rgba(20, 167, 198, .2);
    font-size: 2rem;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.vendor-card,
.vendor-product-card,
.vendor-order-card {
    padding: 1.25rem;
}

.vendor-card-head,
.vendor-product-head,
.vendor-order-top {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.vendor-card-head h3,
.vendor-license-row h5,
.vendor-product-head h4,
.vendor-order-top h4 {
    font-weight: 800;
    margin-bottom: .2rem;
}

.vendor-license-row {
    align-items: center;
    border-top: 1px solid #e5eaf0;
    display: grid;
    gap: 1rem;
    grid-template-columns: 52px minmax(0, 1fr) auto auto;
    padding: 1rem 0;
}

.license-icon {
    align-items: center;
    background: #eef7fb;
    border-radius: 8px;
    color: var(--ts-primary);
    display: inline-flex;
    font-size: 1.35rem;
    height: 52px;
    justify-content: center;
    width: 52px;
}

.vendor-status {
    background: #eef7fb;
    border: 1px solid #cfe9f4;
    border-radius: 999px;
    color: var(--ts-primary-dark);
    display: inline-flex;
    font-size: .76rem;
    font-weight: 800;
    padding: .35rem .65rem;
    white-space: nowrap;
}

.vendor-session {
    align-items: center;
    border-top: 1px solid #e5eaf0;
    display: grid;
    gap: .85rem;
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 1rem 0;
}

.vendor-session i {
    align-items: center;
    background: #eef7fb;
    border-radius: 8px;
    color: var(--ts-primary);
    display: inline-flex;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.vendor-session span {
    display: block;
}

.vendor-plan-list {
    border: 1px solid #e5eaf0;
    border-radius: 8px;
    overflow: hidden;
}

.vendor-plan-list div {
    align-items: center;
    display: grid;
    gap: .75rem;
    grid-template-columns: 100px 120px minmax(0, 1fr);
    padding: .85rem;
}

.vendor-plan-list div + div {
    border-top: 1px solid #e5eaf0;
}

.vendor-plan-list span {
    font-weight: 800;
}

.vendor-product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 1rem;
}

.vendor-order-board {
    display: grid;
    gap: 1rem;
}

.vendor-order-grid {
    display: grid;
    gap: .8rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vendor-order-grid div {
    background: #f8fafc;
    border: 1px solid #e5eaf0;
    border-radius: 8px;
    padding: .85rem;
}

.vendor-order-grid span {
    color: #64748b;
    display: block;
    font-size: .84rem;
}

@media (max-width: 991.98px) {
    .journey-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .buyer-cta,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .filter-panel {
        position: static;
    }

    .directory-product-card {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .product-logo-box {
        height: 72px;
        width: 72px;
    }

    .product-score-box {
        border-left: 0;
        border-top: 1px solid #e5edf4;
        grid-column: 1 / -1;
        padding-left: 0;
        padding-top: 1rem;
        text-align: left;
    }

    .detail-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detail-rating-strip,
    .detail-price-row {
        grid-template-columns: 1fr;
    }

    .detail-price-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .checkout-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .checkout-steps div:nth-child(2) {
        border-right: 0;
    }

    .cart-summary-card {
        position: static;
    }

    .cart-help-card {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .cart-help-card .btn {
        grid-column: 1 / -1;
    }

    .payment-options,
    .order-meta,
    .auth-stats,
    .account-layout,
    .account-metrics,
    .quick-actions,
    .admin-metrics,
    .admin-stage-board,
    .admin-filterbar,
    .admin-login-shell,
    .subscription-plan-grid,
    .vendor-metrics,
    .vendor-order-grid,
    .vendor-package-preview {
        grid-template-columns: 1fr;
    }

    .admin-main {
        padding: 1.25rem;
    }

    .admin-page-head,
    .admin-head-actions,
    .vendor-page-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .vendor-main {
        padding: 1.25rem;
    }

    .admin-login-page {
        padding: 1rem;
    }

    .account-sidebar {
        position: static;
    }

    .order-row-card,
    .order-detail-top {
        align-items: flex-start;
        grid-template-columns: 1fr;
    }

    .order-detail-top {
        flex-direction: column;
    }

    .order-side,
    .order-total-box {
        text-align: left;
        width: 100%;
    }

    .order-meta div {
        border-bottom: 1px solid #e5edf4;
        border-right: 0;
    }

    .order-meta div:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 575.98px) {
    .journey-steps {
        grid-template-columns: 1fr;
    }

    .feature-band,
    .vendor-highlight,
    .buyer-cta {
        padding: 1.35rem;
    }

    .directory-summary,
    .detail-meta-grid {
        grid-template-columns: 1fr;
    }

    .detail-hero-card,
    .detail-logo-card {
        padding: 1.25rem;
    }

    .detail-rating-strip {
        grid-template-columns: 1fr;
    }

    .detail-rating-strip > div {
        border-bottom: 1px solid #dfeaf1;
        border-right: 0;
    }

    .detail-rating-strip > div:last-child {
        border-bottom: 0;
    }

    .listing-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .directory-product-card {
        grid-template-columns: 1fr;
    }

    .product-score-box {
        grid-column: auto;
    }

    .rating-row {
        grid-template-columns: 1fr;
    }

    .checkout-steps,
    .cart-product-row,
    .cart-help-card {
        grid-template-columns: 1fr;
    }

    .checkout-steps div {
        border-right: 0;
        border-bottom: 1px solid #e5edf4;
    }

    .checkout-steps div:last-child {
        border-bottom: 0;
    }

    .cart-list-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }

    .cart-product-price {
        text-align: left;
    }

    .result-card {
        padding: 1.5rem;
    }

    .auth-card,
    .auth-brand-panel {
        padding: 1.35rem;
    }

    .checkout-summary-item,
    .subscription-card,
    .training-card,
    .subscription-meta {
        flex-direction: column;
    }

    .training-session,
    .compact-order,
    .support-ticket,
    .security-row,
    .admin-ticket,
    .admin-review-list div,
    .admin-toggle-row,
    .vendor-license-row,
    .vendor-plan-list div {
        grid-template-columns: 1fr;
    }

    .admin-login-brand,
    .admin-login-card {
        padding: 1.35rem;
    }
}
