:root {
    --ekeko-orange: #f97316;
    --ekeko-orange-dark: #c94f0b;
    --ekeko-yellow: #fbbf24;
    --ekeko-ink: #1f2937;
    --ekeko-navy: #102a43;
    --ekeko-muted: #64748b;
    --ekeko-soft: #f7f8fb;
    --ekeko-line: #e5e7eb;
    --ekeko-green: #16a34a;
    --market: var(--ekeko-orange);
    --market-dark: var(--ekeko-orange-dark);
    --navy: var(--ekeko-navy);
    --soft: var(--ekeko-soft);
    --success: var(--ekeko-green);
}

* {
    letter-spacing: 0;
}

body {
    background: var(--ekeko-soft);
    color: var(--ekeko-ink);
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

a {
    color: var(--ekeko-navy);
}

.topbar {
    background: #fff;
    box-shadow: 0 10px 28px rgba(16, 42, 67, .08);
    position: sticky;
    top: 0;
    z-index: 30;
}

.utility-bar {
    background: linear-gradient(90deg, #fff7ed, #fffbeb);
    border-bottom: 1px solid #fed7aa;
    color: #92400e;
    font-size: .88rem;
    padding: 7px 0;
}

.utility-bar span {
    align-items: center;
    display: inline-flex;
    gap: .4rem;
}

.main-navbar {
    padding: 12px 0;
}

.brand {
    align-items: center;
    color: var(--ekeko-navy);
    display: flex;
    gap: .7rem;
    margin-right: 0;
    min-width: 178px;
    text-decoration: none;
}

.brand-avatar {
    align-items: center;
    background: linear-gradient(135deg, #fff7ed, #fed7aa);
    border: 2px solid #fff;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(249, 115, 22, .22);
    display: flex;
    height: 58px;
    justify-content: center;
    overflow: hidden;
    width: 58px;
}

.brand-avatar img {
    height: 78px;
    object-fit: cover;
    object-position: 47% 16%;
    width: 78px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.08;
}

.brand-text strong {
    font-size: 1.24rem;
    font-weight: 900;
}

.brand-text small {
    color: var(--ekeko-orange-dark);
    font-size: .74rem;
    font-weight: 800;
    text-transform: uppercase;
}

.search-bar {
    display: flex;
}

.search-bar .form-control {
    border: 1px solid #d7dde5;
    border-radius: 999px 0 0 999px;
    min-height: 46px;
    padding-left: 18px;
}

.search-bar .btn {
    border-radius: 0 999px 999px 0;
    min-width: 58px;
}

.nav-link {
    color: var(--ekeko-ink);
    font-weight: 750;
}

.nav-link:hover {
    color: var(--ekeko-orange-dark);
}

.btn-market {
    background: linear-gradient(135deg, var(--ekeko-orange), #fb923c);
    border: 0;
    color: #fff;
    font-weight: 800;
}

.btn-market:hover {
    background: linear-gradient(135deg, var(--ekeko-orange-dark), var(--ekeko-orange));
    color: #fff;
}

.btn-market-outline {
    border-color: var(--ekeko-orange);
    color: var(--ekeko-orange-dark);
    font-weight: 800;
}

.btn-market-outline:hover {
    background: var(--ekeko-orange);
    color: #fff;
}

.icon-btn {
    align-items: center;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: var(--ekeko-orange-dark);
    display: inline-flex;
    height: 38px;
    justify-content: center;
    width: 42px;
}

.category-nav {
    background: var(--ekeko-navy);
}

.category-nav .container {
    align-items: center;
    display: flex;
    gap: .65rem;
    overflow-x: auto;
    padding-bottom: 9px;
    padding-top: 9px;
}

.category-nav a {
    align-items: center;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: .92rem;
    font-weight: 750;
    gap: .38rem;
    padding: 8px 13px;
    text-decoration: none;
}

.category-nav a:hover,
.category-nav .sell-link {
    background: rgba(255, 255, 255, .14);
}

.home-hero {
    background:
        radial-gradient(circle at 15% 15%, rgba(251, 191, 36, .38), transparent 26%),
        linear-gradient(135deg, #fff7ed 0%, #fff 42%, #fff0df 100%);
    overflow: hidden;
    padding: 36px 0 18px;
}

.hero-shell {
    align-items: center;
    background:
        linear-gradient(110deg, rgba(16, 42, 67, .95), rgba(16, 42, 67, .82)),
        url("../img/hero-market.svg");
    background-position: center, right center;
    background-repeat: no-repeat;
    background-size: cover, auto 100%;
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(16, 42, 67, .22);
    color: #fff;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
    min-height: 500px;
    padding: clamp(28px, 5vw, 58px);
    position: relative;
}

.hero-copy {
    max-width: 720px;
}

.hero-kicker,
.section-eyebrow {
    align-items: center;
    color: var(--ekeko-orange-dark);
    display: inline-flex;
    font-size: .78rem;
    font-weight: 900;
    gap: .35rem;
    text-transform: uppercase;
}

.hero-kicker {
    background: #fff;
    border-radius: 999px;
    color: #9a3412;
    margin-bottom: 16px;
    padding: 8px 13px;
}

.hero-shell h1 {
    font-size: clamp(2.15rem, 4.6vw, 4.9rem);
    font-weight: 950;
    line-height: 1.02;
    margin-bottom: 18px;
    max-width: 820px;
}

.hero-shell p {
    color: rgba(255, 255, 255, .88);
    font-size: 1.13rem;
    line-height: 1.65;
    max-width: 640px;
}

.hero-actions,
.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.hero-stats span {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 14px;
    color: rgba(255, 255, 255, .82);
    padding: 11px 14px;
}

.hero-stats strong {
    color: var(--ekeko-yellow);
    display: block;
    font-size: 1.2rem;
}

.hero-visual {
    min-height: 420px;
    position: relative;
}

.hero-mascot-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(255, 247, 237, .88));
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 28px;
    bottom: -30px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .2);
    display: flex;
    justify-content: center;
    left: 2%;
    overflow: hidden;
    position: absolute;
    right: 4%;
    top: -6px;
}

.hero-mascot-card img {
    height: 112%;
    max-width: 100%;
    object-fit: contain;
    object-position: center bottom;
}

.floating-offer {
    align-items: center;
    background: #fff;
    border-radius: 18px;
    bottom: 30px;
    box-shadow: 0 14px 32px rgba(16, 42, 67, .18);
    color: var(--ekeko-ink);
    display: flex;
    gap: 12px;
    left: -18px;
    padding: 14px 16px;
    position: absolute;
}

.floating-offer i {
    align-items: center;
    background: var(--ekeko-orange);
    border-radius: 12px;
    color: #fff;
    display: flex;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.floating-offer strong,
.floating-offer span {
    display: block;
}

.floating-offer span {
    color: var(--ekeko-muted);
    font-size: .85rem;
}

.benefits-strip {
    background: #fff;
    border-bottom: 1px solid var(--ekeko-line);
    border-top: 1px solid var(--ekeko-line);
}

.benefits-strip .container {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding-bottom: 18px;
    padding-top: 18px;
}

.benefit-item {
    align-items: center;
    color: var(--ekeko-navy);
    display: flex;
    font-weight: 800;
    gap: 10px;
}

.benefit-item i {
    align-items: center;
    background: #fff7ed;
    border-radius: 12px;
    color: var(--ekeko-orange);
    display: flex;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.section-block {
    padding-bottom: 56px;
    padding-top: 56px;
}

.section-title {
    align-items: end;
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 1rem;
}

.section-title h1,
.section-title h2 {
    color: var(--ekeko-navy);
    font-weight: 950;
    margin: 3px 0 0;
}

.section-title a {
    color: var(--ekeko-orange-dark);
    font-weight: 850;
    text-decoration: none;
}

.category-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-tile {
    background: #fff;
    border: 1px solid var(--ekeko-line);
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(16, 42, 67, .07);
    color: var(--ekeko-navy);
    min-height: 210px;
    overflow: hidden;
    padding: 18px;
    position: relative;
    text-decoration: none;
}

.category-tile img {
    bottom: 0;
    height: 118px;
    object-fit: contain;
    position: absolute;
    right: 0;
    width: 148px;
}

.category-icon {
    align-items: center;
    background: #fff7ed;
    border-radius: 14px;
    color: var(--ekeko-orange);
    display: flex;
    font-size: 1.3rem;
    height: 46px;
    justify-content: center;
    margin-bottom: 18px;
    width: 46px;
}

.category-tile strong,
.category-tile small {
    display: block;
    position: relative;
    z-index: 1;
}

.category-tile strong {
    font-size: 1.2rem;
    font-weight: 900;
}

.category-tile small {
    color: var(--ekeko-muted);
    font-weight: 750;
}

.daily-deals {
    background:
        linear-gradient(135deg, rgba(249, 115, 22, .93), rgba(251, 191, 36, .9)),
        url("../img/hero-market.svg");
    background-position: center;
    background-size: cover;
    padding: 58px 0;
}

.deals-header {
    align-items: center;
    color: #fff;
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 18px;
}

.deals-header .section-eyebrow,
.deals-header h2,
.deals-header p {
    color: #fff;
}

.deals-header h2 {
    font-weight: 950;
}

.deals-header p {
    margin: 0;
    opacity: .9;
}

.deal-countdown {
    align-items: center;
    background: rgba(255, 255, 255, .92);
    border-radius: 18px;
    color: var(--ekeko-ink);
    display: flex;
    gap: 8px;
    padding: 12px 14px;
}

.deal-countdown span {
    background: var(--ekeko-navy);
    border-radius: 10px;
    color: #fff;
    font-weight: 900;
    padding: 8px 10px;
}

.deal-countdown small {
    color: var(--ekeko-muted);
    font-weight: 800;
}

.product-card {
    background: #fff;
    border: 1px solid var(--ekeko-line);
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(16, 42, 67, .08);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
    box-shadow: 0 18px 44px rgba(16, 42, 67, .14);
    transform: translateY(-4px);
}

.product-img {
    align-items: center;
    background: linear-gradient(135deg, #eef2f6, #fff7ed);
    display: flex;
    justify-content: center;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.product-img {
    aspect-ratio: 4 / 3;
}

.product-img img,
.detail-image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.discount-badge {
    background: var(--ekeko-orange);
    border-radius: 999px;
    color: #fff;
    font-size: .74rem;
    font-weight: 900;
    left: 12px;
    padding: 6px 10px;
    position: absolute;
    top: 12px;
}

.discount-badge.new {
    background: var(--ekeko-green);
}

.product-card h5 {
    font-size: 1.02rem;
    font-weight: 900;
    line-height: 1.25;
    min-height: 48px;
}

.product-card h5 a {
    color: var(--ekeko-navy);
    text-decoration: none;
}

.product-card p {
    color: var(--ekeko-muted);
    min-height: 40px;
}

.rating-row {
    align-items: center;
    color: #f59e0b;
    display: flex;
    font-size: .83rem;
    gap: 2px;
    margin-bottom: 12px;
}

.rating-row span {
    color: var(--ekeko-muted);
    font-weight: 800;
    margin-left: 5px;
}

.product-card strong {
    color: var(--ekeko-orange-dark);
    display: block;
    font-size: 1.13rem;
}

.product-card del {
    color: #94a3b8;
    font-size: .85rem;
}

.product-actions {
    margin-top: 14px;
}

.detail-image {
    align-items: center;
    aspect-ratio: 1 / 1;
    background: #fff;
    border-radius: 22px;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.price {
    color: var(--ekeko-orange-dark);
    font-weight: 950;
}

.qty {
    max-width: 100px;
}

.supplier-band {
    background: #fff;
    padding: 58px 0;
}

.supplier-card {
    align-items: center;
    background: #fff;
    border: 1px solid var(--ekeko-line);
    border-radius: 20px;
    display: flex;
    gap: 16px;
    padding: 20px;
}

.supplier-featured {
    align-items: flex-start;
    box-shadow: 0 12px 32px rgba(16, 42, 67, .07);
    height: 100%;
}

.supplier-logo {
    align-items: center;
    background: linear-gradient(135deg, var(--ekeko-navy), #1e4d72);
    border-radius: 18px;
    color: #fff;
    display: flex;
    flex: 0 0 auto;
    font-size: 1.5rem;
    font-weight: 950;
    height: 58px;
    justify-content: center;
    width: 58px;
}

.supplier-info h5,
.supplier-info p {
    margin: 0 0 8px;
}

.supplier-info p {
    color: var(--ekeko-muted);
}

.verified-badge {
    align-items: center;
    color: var(--ekeko-green);
    display: inline-flex;
    font-size: .78rem;
    font-weight: 900;
    gap: .3rem;
    margin-bottom: 8px;
}

.seller-cta {
    align-items: center;
    background: linear-gradient(135deg, var(--ekeko-navy), #173f5f);
    border-radius: 24px;
    color: #fff;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding: clamp(24px, 4vw, 42px);
}

.seller-cta h2 {
    font-weight: 950;
    max-width: 760px;
}

.seller-cta p {
    color: rgba(255, 255, 255, .82);
    margin: 0;
    max-width: 720px;
}

.auth-page {
    align-items: center;
    background: var(--ekeko-soft);
    display: flex;
    justify-content: center;
    min-height: 72vh;
    padding: 40px 16px;
}

.auth-card,
.filter-panel,
.admin-form,
.info-panel,
.metric-card,
.checkout-box {
    background: #fff;
    border: 1px solid var(--ekeko-line);
    border-radius: 18px;
    box-shadow: 0 16px 42px rgba(16, 42, 67, .08);
    padding: 24px;
}

.auth-card {
    max-width: 430px;
    width: 100%;
}

.auth-card.wide {
    max-width: 760px;
}

.auth-card h1 {
    color: var(--ekeko-navy);
    font-size: 1.7rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.dashboard-head {
    align-items: center;
    background: var(--ekeko-navy);
    border-radius: 18px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 28px;
}

.dashboard-head span {
    color: #fed7aa;
    font-weight: 900;
    text-transform: uppercase;
}

.dashboard-head h1 {
    font-weight: 950;
    margin: 0;
}

.dash-card {
    background: #fff;
    border: 1px solid var(--ekeko-line);
    border-radius: 18px;
    color: var(--ekeko-navy);
    display: flex;
    flex-direction: column;
    gap: .4rem;
    min-height: 150px;
    padding: 22px;
    text-decoration: none;
}

.dash-card i {
    color: var(--ekeko-orange);
    font-size: 1.8rem;
}

.dash-card strong,
.metric-card strong {
    font-size: 1.35rem;
}

.metric-card span {
    color: var(--ekeko-muted);
    display: block;
}

.footer {
    background:
        radial-gradient(circle at 10% 20%, rgba(249, 115, 22, .2), transparent 24%),
        #0f172a;
    color: rgba(255, 255, 255, .76);
    margin-top: 0;
}

.footer-brand {
    align-items: center;
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-brand img {
    background: #fff7ed;
    border-radius: 16px;
    height: 58px;
    object-fit: cover;
    object-position: 47% 16%;
    width: 58px;
}

.footer h5,
.footer h6 {
    color: #fff;
    font-weight: 900;
}

.footer-brand span {
    color: #fed7aa;
    font-size: .86rem;
    font-weight: 800;
}

.footer a {
    color: rgba(255, 255, 255, .78);
    display: block;
    margin-bottom: 8px;
    text-decoration: none;
}

.footer a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    align-items: center;
    background: rgba(255, 255, 255, .1);
    border-radius: 999px;
    display: flex;
    height: 38px;
    justify-content: center;
    margin: 0;
    width: 38px;
}

.payment-pill {
    background: rgba(255, 255, 255, .1);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: .76rem;
    font-weight: 900;
    margin: 4px 4px 0 0;
    padding: 5px 9px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 34px;
    padding-top: 18px;
}

.seller-page {
    background: var(--ekeko-soft);
}

.seller-header {
    align-items: center;
    background: #fff;
    border: 1px solid var(--ekeko-line);
    border-radius: 22px;
    box-shadow: 0 12px 32px rgba(16, 42, 67, .07);
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 22px;
}

.seller-header h1 {
    color: var(--ekeko-navy);
    font-weight: 950;
    margin: 0;
}

.seller-header p {
    color: var(--ekeko-muted);
    margin: 4px 0 0;
}

.seller-filters,
.seller-table-card,
.form-section {
    background: #fff;
    border: 1px solid var(--ekeko-line);
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(16, 42, 67, .06);
    margin-bottom: 18px;
    padding: 18px;
}

.seller-table-top {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
}

.product-admin-table {
    min-width: 1060px;
}

.product-admin-table th {
    color: var(--ekeko-muted);
    font-size: .78rem;
    text-transform: uppercase;
}

.product-cell {
    align-items: center;
    display: flex;
    gap: 12px;
    min-width: 260px;
}

.product-cell img {
    background: #fff7ed;
    border-radius: 14px;
    height: 58px;
    object-fit: cover;
    width: 58px;
}

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

.product-cell span {
    color: var(--ekeko-muted);
    font-size: .82rem;
}

.stock-pill {
    border-radius: 999px;
    display: inline-flex;
    font-weight: 900;
    min-width: 44px;
    padding: 5px 10px;
    text-align: center;
}

.stock-pill.success {
    background: #dcfce7;
    color: #166534;
}

.stock-pill.warning {
    background: #fef3c7;
    color: #92400e;
}

.stock-pill.danger {
    background: #fee2e2;
    color: #991b1b;
}

.pagination-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
    padding-top: 14px;
}

.product-form .form-section h5 {
    color: var(--ekeko-navy);
    font-weight: 950;
    margin-bottom: 16px;
}

.sticky-side {
    position: sticky;
    top: 132px;
}

.dropzone {
    align-items: center;
    background: linear-gradient(135deg, #fff7ed, #f8fafc);
    border: 2px dashed #fdba74;
    border-radius: 20px;
    color: var(--ekeko-navy);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 190px;
    justify-content: center;
    padding: 24px;
    text-align: center;
}

.dropzone.dragover {
    background: #ffedd5;
    border-color: var(--ekeko-orange);
}

.dropzone input {
    display: none;
}

.dropzone i {
    color: var(--ekeko-orange);
    font-size: 2.5rem;
}

.dropzone span {
    color: var(--ekeko-muted);
    font-size: .9rem;
}

.image-preview-grid,
.image-gallery-admin {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fill, minmax(116px, 1fr));
    margin-top: 14px;
}

.image-preview-grid img,
.gallery-admin-item img {
    aspect-ratio: 1 / 1;
    background: #f1f5f9;
    border-radius: 16px;
    object-fit: cover;
    width: 100%;
}

.gallery-admin-item {
    position: relative;
}

.gallery-actions {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-top: 8px;
}

.product-detail-admin-image {
    background: #fff;
    border: 1px solid var(--ekeko-line);
    border-radius: 22px;
    overflow: hidden;
}

.product-detail-admin-image img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
}

.info-label {
    color: var(--ekeko-muted);
    display: block;
    font-size: .78rem;
    font-weight: 900;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.company-center {
    max-width: 1480px;
}

.company-nav {
    background: #fff;
    border: 1px solid var(--ekeko-line);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(16, 42, 67, .06);
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    overflow-x: auto;
    padding: 10px;
}

.company-nav a {
    align-items: center;
    border-radius: 12px;
    color: var(--ekeko-navy);
    display: inline-flex;
    flex: 0 0 auto;
    font-weight: 850;
    gap: 7px;
    padding: 10px 13px;
    text-decoration: none;
}

.company-nav a:hover {
    background: #fff7ed;
    color: var(--ekeko-orange-dark);
}

.company-hero {
    align-items: center;
    background:
        linear-gradient(115deg, rgba(16, 42, 67, .96), rgba(16, 42, 67, .78)),
        url("../img/hero-market.svg");
    background-position: center right;
    background-size: cover;
    border-radius: 24px;
    box-shadow: 0 18px 48px rgba(16, 42, 67, .18);
    color: #fff;
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    padding: clamp(24px, 4vw, 42px);
}

.company-hero h1 {
    font-weight: 950;
}

.company-hero p {
    color: rgba(255,255,255,.82);
    margin: 0;
}

.metric-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.seller-metric,
.company-card {
    background: #fff;
    border: 1px solid var(--ekeko-line);
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(16, 42, 67, .07);
    padding: 18px;
}

.seller-metric {
    min-height: 126px;
    position: relative;
}

.seller-metric span,
.company-card.economy span {
    color: var(--ekeko-muted);
    display: block;
    font-size: .82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.seller-metric strong,
.company-card.economy strong {
    color: var(--ekeko-navy);
    display: block;
    font-size: 2rem;
    font-weight: 950;
    margin-top: 8px;
}

.seller-metric i {
    bottom: 16px;
    color: var(--ekeko-orange);
    font-size: 1.7rem;
    position: absolute;
    right: 18px;
}

.seller-metric.warning i,
.seller-metric.warning strong {
    color: #d97706;
}

.seller-metric.danger i,
.seller-metric.danger strong {
    color: #dc2626;
}

.company-card-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.company-card-head h5 {
    color: var(--ekeko-navy);
    font-weight: 950;
    margin: 0;
}

.company-card-head span {
    color: var(--ekeko-muted);
    font-weight: 800;
}

.alert-list {
    display: grid;
    gap: 10px;
}

.alert-list a {
    align-items: center;
    background: #fff7ed;
    border-radius: 14px;
    color: var(--ekeko-navy);
    display: flex;
    font-weight: 850;
    gap: 10px;
    padding: 12px;
    text-decoration: none;
}

.alert-list i {
    color: var(--ekeko-orange);
}

.ranking-row {
    align-items: center;
    border-bottom: 1px solid var(--ekeko-line);
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.ranking-row:last-child {
    border-bottom: 0;
}

.ranking-row strong,
.ranking-row span {
    display: block;
}

.ranking-row span,
.activity-feed span {
    color: var(--ekeko-muted);
    font-size: .86rem;
}

.ranking-row em {
    background: #dcfce7;
    border-radius: 999px;
    color: #166534;
    font-style: normal;
    font-weight: 900;
    padding: 6px 10px;
}

.activity-feed {
    display: grid;
    gap: 12px;
}

.activity-feed div {
    align-items: flex-start;
    display: grid;
    gap: 4px 10px;
    grid-template-columns: 32px 1fr;
}

.activity-feed i {
    align-items: center;
    background: #fff7ed;
    border-radius: 10px;
    color: var(--ekeko-orange);
    display: flex;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.activity-feed strong,
.activity-feed span {
    grid-column: 2;
}

.company-logo-preview {
    aspect-ratio: 1 / 1;
    border: 1px solid var(--ekeko-line);
    border-radius: 18px;
    object-fit: cover;
    width: 120px;
}

.chat-card {
    height: 100%;
}

.chat-bubble {
    border-radius: 16px;
    margin-bottom: 12px;
    padding: 13px;
}

.chat-bubble p {
    margin: 6px 0;
}

.chat-bubble.customer {
    background: #f8fafc;
}

.chat-bubble.seller {
    background: #fff7ed;
    margin-left: 24px;
}

.customer-center {
    max-width: 1440px;
}

.customer-nav {
    background: #fff;
    border: 1px solid var(--ekeko-line);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(16, 42, 67, .06);
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    overflow-x: auto;
    padding: 10px;
}

.customer-nav a {
    align-items: center;
    border-radius: 12px;
    color: var(--ekeko-navy);
    display: inline-flex;
    flex: 0 0 auto;
    font-weight: 850;
    gap: 7px;
    padding: 10px 13px;
    text-decoration: none;
}

.customer-nav a:hover {
    background: #fff7ed;
    color: var(--ekeko-orange-dark);
}

.customer-hero {
    align-items: center;
    background:
        linear-gradient(115deg, rgba(249, 115, 22, .94), rgba(16, 42, 67, .84)),
        url("../img/hero-market.svg");
    background-position: center right;
    background-size: cover;
    border-radius: 24px;
    box-shadow: 0 18px 48px rgba(16, 42, 67, .16);
    color: #fff;
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    padding: clamp(24px, 4vw, 42px);
}

.customer-hero h1 {
    font-weight: 950;
}

.customer-hero p {
    color: rgba(255,255,255,.88);
    margin: 0;
}

.customer-metric-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.customer-metric,
.customer-card {
    background: #fff;
    border: 1px solid var(--ekeko-line);
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(16, 42, 67, .07);
    padding: 18px;
}

.customer-metric {
    color: var(--ekeko-navy);
    display: block;
    min-height: 126px;
    position: relative;
    text-decoration: none;
}

.customer-metric i {
    color: var(--ekeko-orange);
    font-size: 1.65rem;
}

.customer-metric span,
.customer-metric strong {
    display: block;
}

.customer-metric span {
    color: var(--ekeko-muted);
    font-size: .82rem;
    font-weight: 900;
    margin-top: 10px;
    text-transform: uppercase;
}

.customer-metric strong {
    font-size: 2rem;
    font-weight: 950;
}

.quick-actions {
    display: grid;
    gap: 10px;
}

.quick-actions a {
    align-items: center;
    background: #fff7ed;
    border-radius: 14px;
    color: var(--ekeko-navy);
    display: flex;
    font-weight: 850;
    gap: 10px;
    padding: 12px;
    text-decoration: none;
}

.address-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.address-card p {
    color: var(--ekeko-muted);
    margin-bottom: 4px;
}

.timeline {
    display: grid;
    gap: 12px;
}

.timeline div {
    border-left: 3px solid #fed7aa;
    padding-left: 12px;
}

.timeline i {
    color: var(--ekeko-green);
    margin-right: 6px;
}

.timeline strong,
.timeline span {
    display: block;
}

.timeline span {
    color: var(--ekeko-muted);
    font-size: .86rem;
}

.quote-finder {
    background:
        linear-gradient(135deg, rgba(255, 247, 237, .98), rgba(255, 255, 255, .96)),
        url("../img/hero-market.svg");
    background-position: right center;
    background-size: cover;
}

.quote-step {
    align-items: center;
    background: var(--ekeko-orange);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 34px;
    font-weight: 950;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.quote-search .input-group {
    border: 1px solid #fed7aa;
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(249, 115, 22, .12);
    overflow: hidden;
}

.quote-search .input-group-text,
.quote-search .form-control {
    border: 0;
}

.quote-search .input-group-text {
    background: #fff;
    color: var(--ekeko-orange);
}

.quote-help {
    align-items: center;
    background: rgba(255, 255, 255, .74);
    border: 1px dashed #fdba74;
    border-radius: 14px;
    color: var(--ekeko-navy);
    display: flex;
    font-size: .9rem;
    gap: 9px;
    padding: 10px 12px;
}

.quote-help i,
.quote-empty i {
    color: var(--ekeko-orange);
}

.quote-result-title {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 4px 2px 12px;
}

.quote-result-title span {
    color: var(--ekeko-muted);
    font-size: .9rem;
}

.quote-product-card {
    display: grid;
    gap: 14px;
    grid-template-columns: 104px minmax(0, 1fr);
    margin-bottom: 12px;
    padding: 14px;
}

.quote-product-img {
    aspect-ratio: 1;
    background: #f8fafc;
    border: 1px solid var(--ekeko-line);
    border-radius: 16px;
    height: auto;
    object-fit: contain;
    padding: 10px;
    width: 100%;
}

.quote-product-info h6 {
    color: var(--ekeko-navy);
    font-weight: 950;
    margin-bottom: 4px;
}

.quote-product-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 8px 0 12px;
}

.quote-product-meta strong {
    color: var(--ekeko-orange-dark);
    font-size: 1.05rem;
}

.quote-product-meta span {
    color: var(--ekeko-muted);
    font-size: .86rem;
    font-weight: 800;
}

.quote-inline-form {
    background: #f8fafc;
    border: 1px solid var(--ekeko-line);
    border-radius: 16px;
    padding: 12px;
}

.quote-history-card h5 {
    color: var(--ekeko-navy);
    font-size: 1rem;
    font-weight: 950;
}

.quote-answer {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    padding: 12px;
}

.quote-answer span {
    color: #15803d;
    display: block;
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.quote-answer strong {
    color: #166534;
    display: block;
    font-size: 1.2rem;
}

.quote-answer p {
    margin: 4px 0 0;
}

.quote-empty {
    align-items: center;
    color: var(--ekeko-muted);
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 190px;
    justify-content: center;
    text-align: center;
}

.quote-empty i {
    font-size: 2rem;
}

.quote-empty h5 {
    color: var(--ekeko-navy);
    font-weight: 950;
    margin: 0;
}

.quote-empty p {
    margin: 0;
    max-width: 360px;
}

@media (max-width: 575.98px) {
    .quote-result-title {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .quote-product-card {
        grid-template-columns: 74px minmax(0, 1fr);
        padding: 12px;
    }

    .quote-product-img {
        border-radius: 12px;
        padding: 7px;
    }

    .quote-inline-form {
        margin-left: -86px;
        margin-top: 10px;
    }

    .quote-search .input-group {
        display: grid;
        grid-template-columns: 44px 1fr;
    }

    .quote-search .btn {
        border-radius: 0;
        grid-column: 1 / -1;
        min-height: 44px;
    }
}

.admin-master {
    max-width: 1540px;
}

.admin-master-nav {
    background: #fff;
    border: 1px solid var(--ekeko-line);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(16, 42, 67, .06);
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    overflow-x: auto;
    padding: 10px;
}

.admin-master-nav a {
    align-items: center;
    border-radius: 12px;
    color: var(--ekeko-navy);
    display: inline-flex;
    flex: 0 0 auto;
    font-weight: 850;
    gap: 7px;
    padding: 10px 13px;
    text-decoration: none;
}

.admin-master-nav a:hover {
    background: #fff7ed;
    color: var(--ekeko-orange-dark);
}

.admin-hero {
    align-items: center;
    background:
        linear-gradient(115deg, rgba(15, 23, 42, .98), rgba(16, 42, 67, .82)),
        url("../img/hero-market.svg");
    background-position: center right;
    background-size: cover;
    border-radius: 24px;
    box-shadow: 0 18px 48px rgba(16, 42, 67, .2);
    color: #fff;
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    padding: clamp(24px, 4vw, 42px);
}

.admin-hero h1 {
    font-weight: 950;
}

.admin-hero p {
    color: rgba(255,255,255,.82);
    margin: 0;
}

.admin-metric-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.admin-card,
.admin-metric {
    background: #fff;
    border: 1px solid var(--ekeko-line);
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(16, 42, 67, .07);
    padding: 18px;
}

.admin-metric {
    min-height: 126px;
    position: relative;
}

.admin-metric span,
.admin-card.economy span {
    color: var(--ekeko-muted);
    display: block;
    font-size: .8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-metric strong,
.admin-card.economy strong {
    color: var(--ekeko-navy);
    display: block;
    font-size: 1.85rem;
    font-weight: 950;
    margin-top: 8px;
}

.admin-metric i {
    bottom: 16px;
    color: var(--ekeko-orange);
    font-size: 1.6rem;
    position: absolute;
    right: 18px;
}

.admin-metric.warning strong,
.admin-metric.warning i {
    color: #d97706;
}

.admin-metric.danger strong,
.admin-metric.danger i {
    color: #dc2626;
}

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

.admin-card-head h5,
.admin-card h5 {
    color: var(--ekeko-navy);
    font-weight: 950;
}

.admin-inline-form {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.admin-inline-form label {
    font-size: .8rem;
    white-space: nowrap;
}

.color-dot {
    border-radius: 999px;
    display: inline-block;
    height: 24px;
    width: 24px;
}

@media (max-width: 991.98px) {
    .hero-shell {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-visual {
        min-height: 360px;
    }

    .hero-mascot-card {
        left: 8%;
        right: 8%;
    }

    .benefits-strip .container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .seller-cta,
    .deals-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .header-actions {
        flex-wrap: wrap;
    }

    .seller-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .sticky-side {
        position: static;
    }

    .company-hero {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .customer-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .customer-metric-grid,
    .address-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-hero {
        align-items: flex-start;
        flex-direction: column;
    }

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

@media (max-width: 575.98px) {
    .main-navbar {
        padding: 10px 0;
    }

    .brand {
        min-width: auto;
    }

    .brand-avatar {
        height: 48px;
        width: 48px;
    }

    .brand-avatar img {
        height: 66px;
        width: 66px;
    }

    .brand-text strong {
        font-size: 1.05rem;
    }

    .brand-text small {
        font-size: .66rem;
    }

    .home-hero {
        padding-top: 18px;
    }

    .hero-shell {
        border-radius: 20px;
        padding: 24px;
    }

    .hero-shell h1 {
        font-size: 2.15rem;
    }

    .hero-actions .btn,
    .seller-cta .btn {
        width: 100%;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 300px;
    }

    .hero-mascot-card {
        bottom: -16px;
        left: 0;
        right: 0;
        top: 0;
    }

    .floating-offer {
        bottom: 8px;
        left: 8px;
        right: 8px;
    }

    .benefits-strip .container,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .benefit-item {
        justify-content: flex-start;
    }

    .section-block,
    .daily-deals,
    .supplier-band {
        padding-bottom: 40px;
        padding-top: 40px;
    }

    .section-title,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .deal-countdown {
        flex-wrap: wrap;
    }

    .metric-grid {
        grid-template-columns: 1fr;
    }

    .company-nav {
        border-radius: 14px;
    }

    .company-card-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .customer-metric-grid,
    .address-grid {
        grid-template-columns: 1fr;
    }

    .customer-nav {
        border-radius: 14px;
    }

    .admin-metric-grid {
        grid-template-columns: 1fr;
    }

    .admin-master-nav {
        border-radius: 14px;
    }
}
