/* ============================================================
   TOP EXQUISITE MARKET — COMPONENTS
   Buttons, Forms, Cards, Navbar, Footer
   ============================================================ */

/* ── BUTTONS ── */
.btn {
    display:         inline-flex;
    align-items:     center;
    justify-content: center;
    gap:             8px;
    font-family:     var(--font-body);
    font-weight:     600;
    font-size:       14px;
    padding:         12px 24px;
    border-radius:   var(--radius-sm);
    border:          2px solid transparent;
    cursor:          pointer;
    transition:      var(--transition);
    white-space:     nowrap;
    text-decoration: none;
    line-height:     1;
}

/* Primary — Gold background, Green text */
.btn-primary {
    background:   var(--gold);
    color:        var(--green);
    border-color: var(--gold);
}
.btn-primary:hover {
    background:   #d9ab00;
    border-color: #d9ab00;
    transform:    translateY(-1px);
    box-shadow:   0 4px 16px rgba(238,189,0,0.35);
}

/* Secondary — Green background, White text */
.btn-secondary {
    background:   var(--green);
    color:        var(--white);
    border-color: var(--green);
}
.btn-secondary:hover {
    background:   var(--green-deep);
    border-color: var(--green-deep);
    transform:    translateY(-1px);
}

/* Ghost — Transparent, Green border */
.btn-ghost {
    background:   transparent;
    color:        var(--green);
    border-color: var(--green);
}
.btn-ghost:hover {
    background: var(--green);
    color:      var(--white);
}

/* Ghost Gold */
.btn-ghost-gold {
    background:   transparent;
    color:        var(--gold);
    border-color: var(--gold);
}
.btn-ghost-gold:hover {
    background: var(--gold);
    color:      var(--green);
}

/* Danger */
.btn-danger {
    background:   var(--error);
    color:        var(--white);
    border-color: var(--error);
}
.btn-danger:hover {
    background: #b91c1c;
    transform:  translateY(-1px);
}

/* Sizes */
.btn-sm {
    font-size: 13px;
    padding:   8px 16px;
}
.btn-lg {
    font-size: 16px;
    padding:   14px 32px;
}
.btn-xl {
    font-size: 16px;
    padding:   16px 40px;
}
.btn-full { width: 100%; }

/* Loading state */
.btn.loading {
    opacity:        0.7;
    pointer-events: none;
}

.btn.loading::after {
    content:       '';
    width:         14px;
    height:        14px;
    border:        2px solid currentColor;
    border-top:    2px solid transparent;
    border-radius: 50%;
    animation:     spin 0.6s linear infinite;
}

/* Disabled */
.btn:disabled {
    opacity:        0.5;
    cursor:         not-allowed;
    transform:      none;
    pointer-events: none;
}

/* ── FORMS ── */
.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display:       block;
    font-size:     13px;
    font-weight:   600;
    color:         var(--text);
    margin-bottom: 6px;
}

.form-label span {
    color: var(--error);
    margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
    width:         100%;
    padding:       12px 16px;
    border:        1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family:   var(--font-body);
    font-size:     14px;
    color:         var(--text);
    background:    var(--white);
    transition:    var(--transition);
    appearance:    none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--green);
    box-shadow:   0 0 0 3px rgba(8,100,13,0.08);
    outline:      none;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--subtle);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: var(--error);
    box-shadow:   0 0 0 3px rgba(220,38,38,0.08);
}

.form-textarea {
    resize:     vertical;
    min-height: 100px;
}

.form-error {
    font-size:  12px;
    color:      var(--error);
    margin-top: 4px;
    display:    flex;
    align-items: center;
    gap:        4px;
}

.form-hint {
    font-size:  12px;
    color:      var(--subtle);
    margin-top: 4px;
}

/* Input with icon */
.input-wrap {
    position: relative;
}

.input-wrap .input-icon-left {
    position:  absolute;
    left:      14px;
    top:       50%;
    transform: translateY(-50%);
    color:     var(--subtle);
    font-size: 18px;
    pointer-events: none;
}

.input-wrap .input-icon-right {
    position:  absolute;
    right:     14px;
    top:       50%;
    transform: translateY(-50%);
    color:     var(--subtle);
    font-size: 18px;
    cursor:    pointer;
    transition: var(--transition);
}

.input-wrap .input-icon-right:hover { color: var(--green); }

.input-wrap .form-input.has-icon-left  { padding-left:  44px; }
.input-wrap .form-input.has-icon-right { padding-right: 44px; }

/* Input prefix */
.input-prefix-wrap {
    display:    flex;
    align-items: stretch;
}

.input-prefix {
    background:    var(--green-light);
    border:        1.5px solid var(--border);
    border-right:  none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    padding:       12px 14px;
    font-size:     14px;
    color:         var(--subtle);
    white-space:   nowrap;
    display:       flex;
    align-items:   center;
}

.input-prefix-wrap .form-input {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Checkbox */
.checkbox-wrap {
    display:     flex;
    align-items: flex-start;
    gap:         10px;
    cursor:      pointer;
}

.checkbox-wrap input[type="checkbox"] {
    width:         18px;
    height:        18px;
    border:        2px solid var(--border);
    border-radius: 4px;
    cursor:        pointer;
    accent-color:  var(--green);
    flex-shrink:   0;
    margin-top:    2px;
}

.checkbox-label {
    font-size:   14px;
    color:       var(--text);
    line-height: 1.5;
}

/* Toggle switch */
.toggle-wrap {
    display:     flex;
    align-items: center;
    gap:         10px;
}

.toggle {
    position:      relative;
    width:         44px;
    height:        24px;
    background:    var(--border);
    border-radius: 12px;
    cursor:        pointer;
    transition:    var(--transition);
    flex-shrink:   0;
}

.toggle.active { background: var(--green); }

.toggle::after {
    content:       '';
    position:      absolute;
    width:         18px;
    height:        18px;
    background:    var(--white);
    border-radius: 50%;
    top:           3px;
    left:          3px;
    transition:    var(--transition);
    box-shadow:    0 1px 4px rgba(0,0,0,0.15);
}

.toggle.active::after { left: 23px; }

.toggle-label {
    font-size:   14px;
    font-weight: 500;
    color:       var(--text);
}

/* ── CARDS ── */
.card {
    background:    var(--white);
    border-radius: var(--radius-lg);
    border:        1.5px solid var(--border);
    box-shadow:    var(--shadow-sm);
    overflow:      hidden;
    transition:    var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform:  translateY(-3px);
}

.card-body { padding: var(--space-lg); }

.card-header {
    padding:       var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--border);
    display:       flex;
    align-items:   center;
    justify-content: space-between;
}

.card-title {
    font-family: var(--font-heading);
    font-size:   16px;
    font-weight: 700;
    color:       var(--green);
}

/* Product card */
.product-card {
    background:    var(--white);
    border-radius: var(--radius-lg);
    border:        1.5px solid var(--border);
    box-shadow:    var(--shadow-sm);
    overflow:      hidden;
    transition:    var(--transition);
    display:       flex;
    flex-direction: column;
}

.product-card:hover {
    transform:  translateY(-5px);
    box-shadow: var(--shadow-md);
}

.product-card-img-wrap {
    position: relative;
    overflow: hidden;
}

.product-card-img {
    width:      100%;
    height:     200px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-card-img {
    transform: scale(1.04);
}

.product-card-cat {
    position:      absolute;
    top:           12px;
    left:          12px;
    background:    var(--gold);
    color:         var(--green);
    font-size:     10px;
    font-weight:   700;
    padding:       3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card-wish {
    position:      absolute;
    top:           10px;
    right:         10px;
    width:         34px;
    height:        34px;
    background:    rgba(255,255,255,0.95);
    border-radius: 50%;
    display:       flex;
    align-items:   center;
    justify-content: center;
    border:        none;
    cursor:        pointer;
    transition:    var(--transition);
    box-shadow:    0 2px 8px rgba(0,0,0,0.1);
}

.product-card-wish:hover { transform: scale(1.1); }
.product-card-wish i     { font-size: 16px; color: var(--subtle); }
.product-card-wish.active i { color: var(--error); }

.product-card-body {
    padding: var(--space-md);
    flex:    1;
    display: flex;
    flex-direction: column;
}

.product-card-name {
    font-family:        var(--font-heading);
    font-size:          14px;
    font-weight:        600;
    color:              var(--text);
    margin-bottom:      8px;
    display:            -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow:           hidden;
    line-height:        1.4;
}

.product-card-price {
    font-family:   var(--font-heading);
    font-size:     20px;
    font-weight:   700;
    color:         var(--gold);
    margin-bottom: 10px;
}

.product-card-seller {
    display:       flex;
    align-items:   center;
    gap:           8px;
    margin-bottom: 8px;
}

.product-card-seller-name {
    font-size:  12px;
    font-weight: 600;
    color:       var(--text);
    flex:        1;
    white-space: nowrap;
    overflow:    hidden;
    text-overflow: ellipsis;
}

.product-card-verified {
    display:     flex;
    align-items: center;
    gap:         3px;
    font-size:   11px;
    font-weight: 700;
    color:       var(--green);
    white-space: nowrap;
}

.product-card-verified i { font-size: 13px; }

.product-card-location {
    display:       flex;
    align-items:   center;
    gap:           4px;
    font-size:     12px;
    color:         var(--subtle);
    margin-bottom: 10px;
}

.product-card-location i { font-size: 13px; }

.product-card-footer {
    display:       flex;
    align-items:   center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
}

.product-card-body .btn {
    margin-top: auto;
    width:      100%;
    padding:    10px;
    font-size:  13px;
}

/* Category card */
.cat-card {
    background:    var(--white);
    border:        1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding:       var(--space-xl) var(--space-md) var(--space-lg);
    text-align:    center;
    cursor:        pointer;
    transition:    var(--transition);
    box-shadow:    var(--shadow-sm);
}

.cat-card:hover {
    transform:    translateY(-6px);
    border-color: var(--gold);
    box-shadow:   var(--shadow-md);
}

.cat-icon {
    width:         64px;
    height:        64px;
    background:    var(--green-light);
    border-radius: 14px;
    display:       flex;
    align-items:   center;
    justify-content: center;
    margin:        0 auto var(--space-md);
    transition:    var(--transition);
}

.cat-card:hover .cat-icon { background: var(--gold-bg); }
.cat-icon i { color: var(--green); font-size: 28px; }

.cat-name {
    font-family:   var(--font-heading);
    font-weight:   600;
    font-size:     14px;
    color:         var(--text);
    margin-bottom: 4px;
}

.cat-count {
    font-size: 12px;
    color:     var(--subtle);
}

/* ── NAVBAR ── */
.navbar {
    position:   sticky;
    top:        0;
    z-index:    100;
    background: var(--white);
    box-shadow: 0 1px 0 var(--border), 0 2px 8px rgba(0,0,0,0.04);
}

.navbar-inner {
    display:     flex;
    align-items: center;
    gap:         var(--space-lg);
    padding:     14px var(--space-lg);
    max-width:   var(--container);
    margin:      0 auto;
}

/* Logo */
.logo {
    display:     flex;
    align-items: center;
    gap:         10px;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-icon {
    width:         38px;
    height:        38px;
    background:    var(--green);
    border-radius: 10px;
    display:       flex;
    align-items:   center;
    justify-content: center;
    flex-shrink:   0;
}

.logo-icon i { color: var(--gold); font-size: 20px; }

.logo-text {
    font-family:  var(--font-heading);
    font-weight:  800;
    font-size:    15px;
    color:        var(--green);
    line-height:  1.15;
}

.logo-text span { color: var(--gold); }

/* Search bar */
.nav-search {
    flex:        1;
    display:     flex;
    align-items: center;
    background:  var(--green-light);
    border:      1.5px solid var(--border);
    border-radius: var(--radius-sm);
    overflow:    hidden;
    transition:  var(--transition);
}

.nav-search:focus-within {
    border-color: var(--green);
    box-shadow:   0 0 0 3px rgba(8,100,13,0.08);
}

.nav-search input {
    flex:       1;
    border:     none;
    background: transparent;
    padding:    10px 16px;
    font-size:  14px;
    color:      var(--text);
    outline:    none;
}

.nav-search input::placeholder { color: var(--subtle); }

.nav-search-btn {
    background:  var(--green);
    border:      none;
    padding:     10px 16px;
    cursor:      pointer;
    display:     flex;
    align-items: center;
    transition:  var(--transition);
}

.nav-search-btn:hover { background: var(--green-deep); }
.nav-search-btn i     { color: var(--white); font-size: 18px; }

/* Nav actions */
.nav-actions {
    display:     flex;
    align-items: center;
    gap:         10px;
    flex-shrink: 0;
}

.nav-link {
    font-size:   14px;
    font-weight: 600;
    color:       var(--text);
    padding:     8px 4px;
    transition:  var(--transition);
    white-space: nowrap;
}

.nav-link:hover { color: var(--green); }

.nav-icon-btn {
    position:      relative;
    width:         40px;
    height:        40px;
    border-radius: 50%;
    border:        1.5px solid var(--border);
    background:    var(--white);
    display:       flex;
    align-items:   center;
    justify-content: center;
    cursor:        pointer;
    transition:    var(--transition);
    color:         var(--text);
}

.nav-icon-btn:hover {
    border-color: var(--green);
    color:        var(--green);
}

.nav-icon-btn .badge-count {
    position:      absolute;
    top:           -4px;
    right:         -4px;
    width:         18px;
    height:        18px;
    background:    var(--gold);
    color:         var(--green);
    font-size:     10px;
    font-weight:   700;
    border-radius: 50%;
    display:       flex;
    align-items:   center;
    justify-content: center;
}

/* Hamburger */
.hamburger {
    display:    none;
    background: none;
    border:     none;
    cursor:     pointer;
    padding:    4px;
    color:      var(--green);
}

/* Category pills */
.cat-pills-bar {
    border-top:  1px solid var(--border);
    background:  var(--white);
    overflow-x:  auto;
    scrollbar-width: none;
}

.cat-pills-bar::-webkit-scrollbar { display: none; }

.cat-pills-inner {
    display:   flex;
    gap:       4px;
    padding:   10px var(--space-lg);
    max-width: var(--container);
    margin:    0 auto;
}

.cat-pill {
    flex-shrink:   0;
    padding:       6px 16px;
    border-radius: 20px;
    font-size:     13px;
    font-weight:   600;
    cursor:        pointer;
    transition:    var(--transition);
    white-space:   nowrap;
    color:         var(--subtle);
    border:        1.5px solid transparent;
    background:    none;
}

.cat-pill:hover {
    color:        var(--green);
    border-color: var(--green);
}

.cat-pill.active {
    background: var(--green);
    color:      var(--white);
}

/* ── MOBILE MENU ── */
.mobile-menu {
    position:   fixed;
    top:        0;
    left:       0;
    width:      280px;
    height:     100vh;
    background: var(--white);
    z-index:    200;
    padding:    var(--space-lg);
    transform:  translateX(-100%);
    transition: var(--transition-slow);
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.mobile-menu.active { transform: translateX(0); }

.mobile-menu-overlay {
    position:   fixed;
    inset:      0;
    background: rgba(0,0,0,0.5);
    z-index:    199;
    opacity:    0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity:    1;
    visibility: visible;
}

.mobile-menu-header {
    display:         flex;
    align-items:     center;
    justify-content: space-between;
    margin-bottom:   var(--space-lg);
    padding-bottom:  var(--space-md);
    border-bottom:   1px solid var(--border);
}

.mobile-menu-close {
    background: none;
    border:     none;
    font-size:  24px;
    cursor:     pointer;
    color:      var(--subtle);
}

.mobile-menu-nav {
    display:        flex;
    flex-direction: column;
    gap:            4px;
}

.mobile-menu-link {
    display:       flex;
    align-items:   center;
    gap:           12px;
    padding:       12px var(--space-md);
    border-radius: var(--radius-sm);
    font-size:     14px;
    font-weight:   600;
    color:         var(--text);
    transition:    var(--transition);
}

.mobile-menu-link:hover {
    background: var(--green-light);
    color:      var(--green);
}

.mobile-menu-link i { font-size: 20px; color: var(--green); }

.mobile-menu-btns {
    display:        flex;
    flex-direction: column;
    gap:            10px;
    margin-top:     var(--space-lg);
    padding-top:    var(--space-lg);
    border-top:     1px solid var(--border);
}

/* ── FOOTER ── */
.footer {
    background:  var(--green);
    padding:     var(--space-4xl) var(--space-lg) 0;
    border-top:  3px solid var(--gold);
}

.footer-inner {
    max-width: var(--container);
    margin:    0 auto;
    display:   grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap:       var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

.footer-tagline {
    font-size:   14px;
    color:       rgba(255,255,255,0.65);
    margin:      var(--space-md) 0 var(--space-lg);
    line-height: 1.7;
}

.social-icons {
    display: flex;
    gap:     10px;
}

.social-icon {
    width:         38px;
    height:        38px;
    background:    rgba(255,255,255,0.1);
    border-radius: 50%;
    display:       flex;
    align-items:   center;
    justify-content: center;
    cursor:        pointer;
    transition:    var(--transition);
    text-decoration: none;
}

.social-icon:hover { background: rgba(238,189,0,0.25); }
.social-icon i     { color: rgba(255,255,255,0.85); font-size: 18px; }

.footer-col h4 {
    font-family:     var(--font-heading);
    font-size:       12px;
    font-weight:     700;
    color:           var(--white);
    margin-bottom:   var(--space-lg);
    text-transform:  uppercase;
    letter-spacing:  1.5px;
}

.footer-col ul  { display: flex; flex-direction: column; gap: 10px; }
.footer-col a   { font-size: 14px; color: rgba(255,255,255,0.65); }
.footer-col a:hover { color: var(--gold); }

.footer-contact-item {
    display:     flex;
    align-items: flex-start;
    gap:         10px;
    font-size:   13px;
    color:       rgba(255,255,255,0.65);
    line-height: 1.5;
    margin-bottom: 14px;
}

.footer-contact-item i {
    color:      var(--gold);
    font-size:  16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-app-soon {
    margin-top:    var(--space-md);
    background:    rgba(255,255,255,0.08);
    border:        1.5px dashed rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    padding:       12px var(--space-md);
    font-size:     12px;
    color:         rgba(255,255,255,0.5);
    display:       flex;
    align-items:   center;
    gap:           8px;
}

.footer-app-soon i { color: var(--gold); font-size: 16px; }

.footer-bottom {
    border-top:      1px solid rgba(255,255,255,0.1);
    padding:         18px var(--space-lg);
    max-width:       var(--container);
    margin:          0 auto;
    display:         flex;
    align-items:     center;
    justify-content: space-between;
}

.footer-bottom p   { font-size: 13px; color: rgba(255,255,255,0.45); }
.footer-bottom a   { color: var(--gold); font-weight: 600; }

/* ── DASHBOARD SIDEBAR ── */
.dash-layout {
    display:    flex;
    min-height: 100vh;
}

.dash-sidebar {
    width:      260px;
    background: var(--green);
    flex-shrink: 0;
    position:   sticky;
    top:        0;
    height:     100vh;
    overflow-y: auto;
    display:    flex;
    flex-direction: column;
}

.dash-sidebar-header {
    padding:       var(--space-lg);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dash-sidebar-profile {
    display:     flex;
    align-items: center;
    gap:         12px;
    padding:     var(--space-md) var(--space-lg);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: var(--space-sm);
}

.dash-profile-name {
    font-family: var(--font-heading);
    font-size:   14px;
    font-weight: 700;
    color:       var(--white);
    line-height: 1.2;
}

.dash-profile-role {
    font-size: 11px;
    color:     var(--gold);
    font-weight: 600;
}

.dash-nav { padding: var(--space-sm) 0; flex: 1; }

.dash-nav-item {
    display:     flex;
    align-items: center;
    gap:         12px;
    padding:     12px var(--space-lg);
    font-size:   14px;
    font-weight: 600;
    color:       rgba(255,255,255,0.65);
    cursor:      pointer;
    transition:  var(--transition);
    text-decoration: none;
    border-left: 3px solid transparent;
    position:    relative;
}

.dash-nav-item:hover {
    color:       var(--white);
    background:  rgba(255,255,255,0.08);
}

.dash-nav-item.active {
    color:            var(--white);
    background:       rgba(255,255,255,0.1);
    border-left-color: var(--gold);
}

.dash-nav-item.active i { color: var(--gold); }
.dash-nav-item i        { font-size: 20px; flex-shrink: 0; }

.dash-nav-badge {
    margin-left:   auto;
    background:    var(--gold);
    color:         var(--green);
    font-size:     10px;
    font-weight:   700;
    padding:       2px 7px;
    border-radius: 10px;
}

.dash-nav-logout {
    margin-top:  auto;
    border-top:  1px solid rgba(255,255,255,0.1);
    padding-top: var(--space-sm);
}

.dash-nav-logout .dash-nav-item:hover {
    color:      #FCA5A5;
    background: rgba(220,38,38,0.1);
}

/* Dashboard main */
.dash-main {
    flex:       1;
    background: var(--green-light);
    min-width:  0;
}

.dash-topbar {
    background:    var(--white);
    padding:       var(--space-md) var(--space-xl);
    border-bottom: 1px solid var(--border);
    display:       flex;
    align-items:   center;
    justify-content: space-between;
    position:      sticky;
    top:           0;
    z-index:       50;
}

.dash-page-title {
    font-family: var(--font-heading);
    font-size:   22px;
    font-weight: 700;
    color:       var(--green);
}

.dash-content { padding: var(--space-xl); }

/* Stat cards */
.stat-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap:     var(--space-lg);
    margin-bottom: var(--space-xl);
}

.stat-card {
    background:    var(--white);
    border-radius: var(--radius-lg);
    padding:       var(--space-lg);
    border:        1.5px solid var(--border);
    box-shadow:    var(--shadow-sm);
}

.stat-card-icon {
    width:         48px;
    height:        48px;
    border-radius: 12px;
    display:       flex;
    align-items:   center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.stat-card-icon.green { background: var(--green-light); }
.stat-card-icon.gold  { background: var(--gold-bg); }
.stat-card-icon.green i { color: var(--green); font-size: 24px; }
.stat-card-icon.gold  i { color: var(--gold);  font-size: 24px; }

.stat-card-value {
    font-family:   var(--font-heading);
    font-size:     clamp(24px, 2vw, 32px);
    font-weight:   800;
    color:         var(--green);
    margin-bottom: 4px;
    line-height:   1;
}

.stat-card-value.gold { color: var(--gold); }

.stat-card-label {
    font-size:   13px;
    color:       var(--subtle);
    font-weight: 500;
}

.stat-card-sub {
    font-size:   12px;
    color:       var(--subtle);
    margin-top:  4px;
}

.stat-card-sub.green { color: var(--success); }
.stat-card-sub.red   { color: var(--error); }

/* ── TABLE ── */
.table-wrap {
    overflow-x:    auto;
    border-radius: var(--radius-lg);
    border:        1.5px solid var(--border);
    box-shadow:    var(--shadow-sm);
}

table {
    width:           100%;
    border-collapse: collapse;
    background:      var(--white);
}

thead th {
    background:    var(--green-light);
    padding:       12px var(--space-md);
    text-align:    left;
    font-size:     12px;
    font-weight:   700;
    color:         var(--green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space:   nowrap;
}

tbody td {
    padding:     12px var(--space-md);
    font-size:   13px;
    color:       var(--text);
    border-top:  1px solid var(--border);
    white-space: nowrap;
}

tbody tr:hover { background: var(--green-light); }

/* Status pills */
.status-pill {
    display:       inline-flex;
    align-items:   center;
    gap:           4px;
    padding:       3px 10px;
    border-radius: 10px;
    font-size:     11px;
    font-weight:   700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-paid      { background: #EFF6FF; color: #1D4ED8; }
.status-shipped   { background: #FFF7ED; color: #C2410C; }
.status-completed { background: #F0FDF4; color: var(--success); }
.status-disputed  { background: #FEF2F2; color: var(--error); }
.status-pending   { background: var(--gold-bg); color: #92400E; }
.status-refunded  { background: #F5F3FF; color: #6D28D9; }
.status-active    { background: #F0FDF4; color: var(--success); }
.status-suspended { background: #FEF2F2; color: var(--error); }
.status-sold      { background: #F5F3FF; color: #6D28D9; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .footer-inner { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
    .stat-cards   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    /* Navbar */
    .nav-actions .btn-ghost,
    .nav-actions .nav-link { display: none; }
    .hamburger             { display: flex; }

    /* Footer */
    .footer-inner  { grid-template-columns: 1fr; gap: var(--space-lg); }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

    /* Dashboard */
    .dash-sidebar { display: none; }
    .dash-sidebar.mobile-open { display: flex; position: fixed; z-index: 200; }

    /* Stats */
    .stat-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .stat-cards { grid-template-columns: 1fr; }
    .navbar-inner { gap: var(--space-md); }
}