/*
 * SERVER DESTINATION: /var/www/dropship_site/public_html/assets/css/app.css
 * REPLACES Step 4 version.
 *
 * Design direction: neutral palette, tightened layout.
 * Key changes vs Step 4:
 *   - Refined type scale with Inter-style optical sizing
 *   - Better card elevation hierarchy (border + subtle shadow)
 *   - Improved mobile nav with hamburger
 *   - Tighter, more consistent spacing tokens
 *   - Auth pages: new split/card layout
 *   - Product grid: better hover and image handling
 *   - Form controls: refined focus rings
 */

/* ─────────────────────────────────────────────────────────────────────────────
   RESET & TOKENS
───────────────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family:      var(--font-body, 'Inter', system-ui, -apple-system, sans-serif);
    background-color: var(--color-secondary, #FAF7F2);
    color:            #1a1a1a;
    line-height:      1.65;
    min-height:       100vh;
    display:          flex;
    flex-direction:   column;
}

h1, h2, h3, h4, h5, h6 {
    font-family:  var(--font-heading, 'Inter', system-ui, sans-serif);
    line-height:  1.2;
    font-weight:  650;
    color:        var(--color-primary, #1a1a1a);
    letter-spacing: -0.01em;
}

a    { color: var(--color-accent, #FF6B35); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { font-family: inherit; }

/* ─────────────────────────────────────────────────────────────────────────────
   LAYOUT
───────────────────────────────────────────────────────────────────────────── */
.container {
    width:     100%;
    max-width: 1200px;
    margin:    0 auto;
    padding:   0 20px;
}
@media (min-width: 640px)  { .container { padding: 0 28px; } }
@media (min-width: 1024px) { .container { padding: 0 44px; } }

main { flex: 1; }
.section { padding: 48px 0; }
@media (min-width: 768px) { .section { padding: 72px 0; } }

/* ─────────────────────────────────────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────────────────────────────────────── */
.btn {
    display:         inline-flex;
    align-items:     center;
    justify-content: center;
    gap:             7px;
    padding:         11px 22px;
    border:          1.5px solid transparent;
    border-radius:   7px;
    font-size:       14px;
    font-weight:     560;
    letter-spacing:  0.01em;
    cursor:          pointer;
    transition:      background 0.14s, color 0.14s, border-color 0.14s, box-shadow 0.14s;
    white-space:     nowrap;
    text-decoration: none;
    line-height:     1;
}
.btn:focus-visible {
    outline: 2px solid var(--color-accent, #FF6B35);
    outline-offset: 2px;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn--primary {
    background: var(--color-primary, #1a1a1a);
    color: #fff;
}
.btn--primary:hover:not(:disabled) {
    background: color-mix(in srgb, var(--color-primary) 82%, black);
    color: #fff; text-decoration: none;
}

.btn--accent {
    background: var(--color-accent, #FF6B35);
    color: #fff;
}
.btn--accent:hover:not(:disabled) {
    background: var(--color-accent-hover, #e55a26);
    color: #fff; text-decoration: none;
    box-shadow: 0 2px 8px color-mix(in srgb, var(--color-accent) 35%, transparent);
}

.btn--ghost {
    background:   transparent;
    color:        var(--color-primary, #1a1a1a);
    border-color: #D1D5DB;
}
.btn--ghost:hover:not(:disabled) {
    background: #F9FAFB;
    border-color: #9CA3AF;
    text-decoration: none;
}

.btn--danger  { background: #DC2626; color: #fff; border-color: #DC2626; }
.btn--danger:hover:not(:disabled) { background: #b91c1c; text-decoration: none; color: #fff; }

.btn--sm  { padding: 7px 14px;  font-size: 13px; border-radius: 6px; }
.btn--lg  { padding: 14px 28px; font-size: 15px; }
.btn--full { width: 100%; }

/* ─────────────────────────────────────────────────────────────────────────────
   FORMS
───────────────────────────────────────────────────────────────────────────── */
.form-group {
    display:        flex;
    flex-direction: column;
    gap:            5px;
    margin-bottom:  18px;
}

.form-group label {
    font-size:   13px;
    font-weight: 560;
    color:       #374151;
    letter-spacing: 0.01em;
}

.form-control {
    width:         100%;
    padding:       9px 13px;
    border:        1.5px solid #E5E7EB;
    border-radius: 7px;
    font-size:     15px;
    font-family:   inherit;
    background:    #fff;
    color:         #1a1a1a;
    transition:    border-color 0.14s, box-shadow 0.14s;
    appearance:    none;
    line-height:   1.5;
}
.form-control:focus {
    outline:      none;
    border-color: var(--color-accent, #FF6B35);
    box-shadow:   0 0 0 3px color-mix(in srgb, var(--color-accent, #FF6B35) 15%, transparent);
}
.form-control::placeholder { color: #9CA3AF; }
.form-control:disabled { background: #F9FAFB; color: #6B7280; cursor: not-allowed; }
textarea.form-control { min-height: 110px; resize: vertical; }

.form-error { font-size: 12px; color: #DC2626; }
.form-hint  { font-size: 12px; color: #6B7280; line-height: 1.4; }
.required   { color: #DC2626; }

.form-check {
    display:     flex;
    align-items: center;
    gap:         9px;
    cursor:      pointer;
    font-size:   14px;
}
.form-check input[type="checkbox"] {
    width:  17px;
    height: 17px;
    accent-color: var(--color-accent, #FF6B35);
    cursor: pointer;
    flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   HEADER
───────────────────────────────────────────────────────────────────────────── */
.site-header {
    background: var(--color-primary, #1a1a1a);
    color:      #fff;
    position:   sticky;
    top:        0;
    z-index:    100;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-header .container {
    display:         flex;
    align-items:     center;
    justify-content: space-between;
    gap:             16px;
    height:          60px;
}

.site-header__logo,
.site-header__logo-text {
    font-size:   18px;
    font-weight: 700;
    color:       #fff;
    text-decoration: none;
    letter-spacing: -0.02em;
    white-space: nowrap;
    flex-shrink: 0;
}
.site-header__logo:hover { opacity: 0.85; text-decoration: none; }

.site-header__nav {
    display: none;
    gap:     28px;
    align-items: center;
}
.site-header__nav a {
    color:     rgba(255,255,255,0.78);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.14s;
}
.site-header__nav a:hover { color: #fff; text-decoration: none; }

@media (min-width: 768px) { .site-header__nav { display: flex; } }

.site-header__actions {
    display:     flex;
    align-items: center;
    gap:         8px;
    flex-shrink: 0;
}

/* Buttons inside dark header */
.site-header .btn--ghost {
    color:        rgba(255,255,255,0.8);
    border-color: rgba(255,255,255,0.25);
    padding:      7px 14px;
    font-size:    13px;
}
.site-header .btn--ghost:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.4); }
.site-header .btn--accent { padding: 7px 14px; font-size: 13px; }

/* Cart badge */
.cart-icon {
    position:    relative;
    color:       rgba(255,255,255,0.8);
    padding:     8px;
    display:     flex;
    align-items: center;
    border-radius: 6px;
    transition: background 0.14s;
}
.cart-icon:hover { color: #fff; background: rgba(255,255,255,0.1); text-decoration: none; }
.cart-icon__count {
    position:      absolute;
    top:           2px;
    right:         2px;
    background:    var(--color-accent, #FF6B35);
    color:         #fff;
    font-size:     10px;
    font-weight:   700;
    min-width:     16px;
    height:        16px;
    border-radius: 8px;
    display:       flex;
    align-items:   center;
    justify-content: center;
    padding:       0 3px;
    line-height:   1;
}

/* ─────────────────────────────────────────────────────────────────────────────
   FLASH MESSAGES
───────────────────────────────────────────────────────────────────────────── */
.flash {
    display:     flex;
    align-items: center;
    justify-content: space-between;
    gap:         16px;
    padding:     13px 20px;
    font-size:   14px;
    font-weight: 500;
    border-left: 3px solid currentColor;
}
.flash--success { background: #F0FDF4; color: #166534; }
.flash--error   { background: #FEF2F2; color: #991B1B; }
.flash--warning { background: #FFFBEB; color: #92400E; }
.flash--info    { background: #EFF6FF; color: #1E40AF; }
.flash__close {
    background: none; border: none; cursor: pointer;
    font-size: 18px; color: inherit; opacity: 0.55; flex-shrink: 0;
    line-height: 1; padding: 2px 4px; border-radius: 3px;
}
.flash__close:hover { opacity: 1; }

/* ─────────────────────────────────────────────────────────────────────────────
   HERO
───────────────────────────────────────────────────────────────────────────── */
.hero {
    background: var(--color-primary, #1a1a1a);
    color:      #fff;
    padding:    72px 0 80px;
    text-align: center;
}
.hero h1 {
    font-size:   clamp(28px, 5vw, 54px);
    color:       #fff;
    margin-bottom: 14px;
    font-weight: 720;
}
.hero p {
    font-size:   clamp(15px, 2vw, 18px);
    opacity:     0.72;
    max-width:   520px;
    margin:      0 auto 32px;
    line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────────────────────────
   CARDS
───────────────────────────────────────────────────────────────────────────── */
.card {
    background:    #fff;
    border:        1px solid #E5E7EB;
    border-radius: 10px;
    padding:       24px;
    box-shadow:    0 1px 3px rgba(0,0,0,.04), 0 1px 2px rgba(0,0,0,.03);
}
.card h2, .card h3 { font-size: 15px; margin-bottom: 16px; }

/* ─────────────────────────────────────────────────────────────────────────────
   PRODUCT GRID
───────────────────────────────────────────────────────────────────────────── */
.product-grid {
    display:               grid;
    grid-template-columns: repeat(2, 1fr);
    gap:                   16px;
}
@media (min-width: 640px)  { .product-grid { gap: 20px; } }
@media (min-width: 900px)  { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
    background:    #fff;
    border-radius: 10px;
    overflow:      hidden;
    display:       flex;
    flex-direction: column;
    border:        1px solid #E5E7EB;
    box-shadow:    0 1px 2px rgba(0,0,0,.04);
    transition:    box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.product-card:hover {
    box-shadow:   0 8px 28px rgba(0,0,0,.09);
    transform:    translateY(-2px);
    border-color: #D1D5DB;
}

.product-card__image {
    aspect-ratio: 1 / 1;
    overflow:     hidden;
    background:   #F3F4F6;
}
.product-card__image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.35s cubic-bezier(.25,.46,.45,.94);
}
.product-card:hover .product-card__image img { transform: scale(1.05); }

.product-card__body {
    padding:        16px 16px 10px;
    flex:           1;
    display:        flex;
    flex-direction: column;
    gap:            6px;
}

.product-card__title {
    font-size:   14px;
    font-weight: 600;
    color:       #1a1a1a;
    line-height: 1.4;
    display:     -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow:    hidden;
}
.product-card__vendor { font-size: 12px; color: #6B7280; }

.product-card__price-row {
    display:     flex;
    align-items: center;
    gap:         7px;
    margin-top:  auto;
    padding-top: 6px;
}
.product-card__price {
    font-size:   16px;
    font-weight: 700;
    color:       #1a1a1a;
}
.product-card__compare-price {
    font-size:       13px;
    color:           #9CA3AF;
    text-decoration: line-through;
}
.product-card__badge {
    font-size:     10px;
    font-weight:   700;
    padding:       2px 7px;
    border-radius: 4px;
    background:    #FEE2E2;
    color:         #991B1B;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.product-card__footer { padding: 0 16px 16px; }
.product-card--out-of-stock .product-card__image { filter: grayscale(20%); opacity: 0.85; }

/* ─────────────────────────────────────────────────────────────────────────────
   SEARCH & FILTER
───────────────────────────────────────────────────────────────────────────── */
.shop-bar {
    display:     flex;
    flex-wrap:   wrap;
    gap:         10px;
    align-items: center;
    margin-bottom: 24px;
}
.shop-bar__search {
    display:  flex;
    flex:     1;
    min-width: 200px;
    position: relative;
}
.shop-bar__search input { flex: 1; padding-right: 44px; }
.shop-bar__search-btn {
    position: absolute; right: 0; top: 0; bottom: 0; width: 44px;
    background: none; border: none; cursor: pointer; color: #9CA3AF;
    display: flex; align-items: center; justify-content: center;
    transition: color 0.14s;
}
.shop-bar__search-btn:hover { color: var(--color-accent, #FF6B35); }

.shop-bar__filter select {
    padding: 9px 32px 9px 13px; border: 1.5px solid #E5E7EB; border-radius: 7px;
    font-size: 14px; font-family: inherit; background: #fff; cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 10px center;
    transition: border-color 0.14s;
}
.shop-bar__filter select:focus { outline: none; border-color: var(--color-accent); }

/* ─────────────────────────────────────────────────────────────────────────────
   PAGINATION
───────────────────────────────────────────────────────────────────────────── */
.pagination {
    display: flex; justify-content: center; align-items: center;
    gap: 6px; margin-top: 40px; flex-wrap: wrap;
}
.pagination a, .pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 6px; font-size: 14px; font-weight: 500;
    border: 1.5px solid #E5E7EB; color: #1a1a1a; background: #fff;
    text-decoration: none; transition: background 0.14s, border-color 0.14s;
}
.pagination a:hover        { background: #F3F4F6; border-color: #D1D5DB; text-decoration: none; }
.pagination span.current   { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.pagination span.disabled  { opacity: 0.35; cursor: default; }

/* ─────────────────────────────────────────────────────────────────────────────
   AUTH PAGES
───────────────────────────────────────────────────────────────────────────── */
.auth-shell {
    min-height: calc(100vh - 120px);
    display:    flex;
    align-items: center;
    justify-content: center;
    padding:    40px 16px;
}

.auth-card {
    width:         100%;
    max-width:     440px;
    background:    #fff;
    border:        1px solid #E5E7EB;
    border-radius: 14px;
    padding:       40px 36px;
    box-shadow:    0 4px 24px rgba(0,0,0,.06);
}
.auth-card--wide { max-width: 600px; }

.auth-title {
    font-size:   26px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}
.auth-sub {
    color:        #6B7280;
    font-size:    15px;
    margin-bottom: 28px;
}
.auth-back {
    display:     inline-block;
    font-size:   13px;
    color:       #6B7280;
    margin-bottom: 20px;
    text-decoration: none;
}
.auth-back:hover { color: #1a1a1a; text-decoration: none; }

.auth-type-badge {
    display:       inline-block;
    background:    #F0F9FF;
    color:         #0369A1;
    border:        1px solid #BAE6FD;
    border-radius: 20px;
    padding:       4px 14px;
    font-size:     13px;
    font-weight:   600;
    margin-bottom: 16px;
}
.auth-type-badge--vendor {
    background: #FFF7ED;
    color:      #C2410C;
    border-color: #FED7AA;
}

.auth-footer-note {
    text-align:  center;
    font-size:   14px;
    color:       #6B7280;
    margin-top:  24px;
}

.auth-form-section {
    border-top:  1px solid #F3F4F6;
    padding-top: 20px;
    margin-top:  4px;
    margin-bottom: 4px;
}
.auth-form-section-title {
    font-size:   12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color:       #9CA3AF;
    margin-bottom: 16px;
}
.auth-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
@media (max-width: 500px) { .auth-two-col { grid-template-columns: 1fr; } }

/* Account type chooser cards */
.account-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 24px;
}
@media (max-width: 480px) { .account-type-grid { grid-template-columns: 1fr; } }

.account-type-card {
    display:        flex;
    flex-direction: column;
    gap:            8px;
    padding:        22px 20px;
    border:         2px solid #E5E7EB;
    border-radius:  10px;
    background:     #FAFAFA;
    text-decoration: none;
    color:          inherit;
    transition:     border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.account-type-card:hover {
    border-color: var(--color-accent, #FF6B35);
    background:   #fff;
    box-shadow:   0 4px 16px rgba(0,0,0,.07);
    text-decoration: none;
}
.account-type-icon { font-size: 28px; line-height: 1; margin-bottom: 4px; }
.account-type-card h2 { font-size: 16px; margin: 0; }
.account-type-card p  { font-size: 13px; color: #6B7280; margin: 0; line-height: 1.5; }
.account-type-cta { font-size: 13px; font-weight: 600; color: var(--color-accent, #FF6B35); margin-top: 4px; }

/* Application progress banner */
.auth-info-banner {
    background:   #F8FAFC;
    border:       1px solid #E2E8F0;
    border-radius: 8px;
    padding:      16px 20px;
    margin-bottom: 24px;
}
.auth-info-steps {
    display:     flex;
    align-items: center;
    gap:         8px;
    flex-wrap:   wrap;
    justify-content: center;
}
.auth-info-step {
    display:     flex;
    align-items: center;
    gap:         7px;
    font-size:   13px;
    color:       #374151;
    font-weight: 500;
}
.step-num {
    display:         inline-flex;
    align-items:     center;
    justify-content: center;
    width:           22px;
    height:          22px;
    border-radius:   50%;
    background:      var(--color-primary, #1a1a1a);
    color:           #fff;
    font-size:       11px;
    font-weight:     700;
    flex-shrink:     0;
}
.auth-info-step-arrow { color: #9CA3AF; font-size: 14px; }

/* ─────────────────────────────────────────────────────────────────────────────
   REMIND ME
───────────────────────────────────────────────────────────────────────────── */
.remind-me-form { display: flex; gap: 8px; flex-wrap: wrap; }
.remind-me-form input { flex: 1; min-width: 150px; }
.remind-me-success { font-size: 13px; color: #166534; font-weight: 500; }

/* ─────────────────────────────────────────────────────────────────────────────
   CART
───────────────────────────────────────────────────────────────────────────── */
.cart-layout { display: grid; gap: 28px; }
@media (min-width: 900px) { .cart-layout { grid-template-columns: 1fr 320px; } }

.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
    text-align: left; font-size: 11px; text-transform: uppercase;
    letter-spacing: 0.07em; color: #6B7280; padding: 8px 0;
    border-bottom: 1.5px solid #E5E7EB; font-weight: 600;
}
.cart-table td { padding: 14px 0; border-bottom: 1px solid #F3F4F6; vertical-align: middle; }
.cart-item__img   { width: 60px; height: 60px; object-fit: cover; border-radius: 7px; }
.cart-item__name  { font-weight: 560; font-size: 14px; }
.cart-item__remove { background: none; border: none; color: #9CA3AF; cursor: pointer; font-size: 16px; padding: 4px; border-radius: 4px; transition: color 0.14s; }
.cart-item__remove:hover { color: #DC2626; }
.qty-input { width: 54px; padding: 6px 8px; border: 1.5px solid #E5E7EB; border-radius: 6px; text-align: center; font-size: 14px; }

.cart-summary { background: #fff; border: 1px solid #E5E7EB; border-radius: 10px; padding: 22px; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.cart-summary h2 { font-size: 16px; margin-bottom: 18px; }
.cart-summary__row {
    display: flex; justify-content: space-between;
    font-size: 14px; padding: 7px 0; border-bottom: 1px solid #F3F4F6; color: #374151;
}
.cart-summary__row:last-of-type { border-bottom: none; }
.cart-summary__total {
    display: flex; justify-content: space-between;
    font-size: 17px; font-weight: 700; padding: 14px 0 18px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   CHECKOUT
───────────────────────────────────────────────────────────────────────────── */
.checkout-layout { display: grid; gap: 28px; }
@media (min-width: 900px) { .checkout-layout { grid-template-columns: 1fr 360px; } }

.checkout-card {
    background: #fff; border: 1px solid #E5E7EB; border-radius: 10px;
    padding: 24px; margin-bottom: 18px;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.checkout-card h2 { font-size: 16px; margin-bottom: 18px; }

/* ─────────────────────────────────────────────────────────────────────────────
   DASHBOARD LAYOUT
───────────────────────────────────────────────────────────────────────────── */
.dash-layout {
    display: grid;
    min-height: calc(100vh - 60px);
}
@media (min-width: 768px) { .dash-layout { grid-template-columns: 210px 1fr; } }

.dash-sidebar {
    background: var(--color-primary, #1a1a1a);
    color:      #fff;
    padding:    24px 0 32px;
}
.dash-sidebar__title {
    font-size:   10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color:       rgba(255,255,255,0.38);
    padding:     0 20px 10px;
    font-weight: 600;
}
.dash-sidebar a {
    display:     flex;
    align-items: center;
    gap:         9px;
    padding:     10px 20px;
    color:       rgba(255,255,255,0.68);
    font-size:   13.5px;
    font-weight: 500;
    transition:  background 0.14s, color 0.14s;
    text-decoration: none;
    border-left: 3px solid transparent;
}
.dash-sidebar a:hover  { background: rgba(255,255,255,0.07); color: #fff; }
.dash-sidebar a.active { background: rgba(255,255,255,0.09); color: #fff; border-left-color: var(--color-accent, #FF6B35); }

.dash-main {
    padding:    28px 24px;
    background: var(--color-secondary, #FAF7F2);
}
.dash-main h1 { font-size: 22px; margin-bottom: 24px; }

/* ─────────────────────────────────────────────────────────────────────────────
   STAT TILES
───────────────────────────────────────────────────────────────────────────── */
.stat-grid {
    display:               grid;
    grid-template-columns: repeat(2, 1fr);
    gap:                   14px;
    margin-bottom:         24px;
}
@media (min-width: 640px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-tile {
    background:    #fff;
    border:        1px solid #E5E7EB;
    border-radius: 10px;
    padding:       18px 20px;
    box-shadow:    0 1px 2px rgba(0,0,0,.03);
}
.stat-tile__label { font-size: 11px; color: #6B7280; text-transform: uppercase; letter-spacing: 0.07em; font-weight: 600; }
.stat-tile__value { font-size: 26px; font-weight: 720; color: var(--color-primary); margin-top: 4px; letter-spacing: -0.02em; }

/* ─────────────────────────────────────────────────────────────────────────────
   DATA TABLES
───────────────────────────────────────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th {
    text-align: left; font-weight: 600; font-size: 11px; text-transform: uppercase;
    letter-spacing: 0.06em; color: #6B7280; padding: 10px 14px;
    border-bottom: 2px solid #E5E7EB; white-space: nowrap;
}
.data-table td { padding: 11px 14px; border-bottom: 1px solid #F3F4F6; vertical-align: middle; }
.data-table tbody tr:hover { background: #FAFAFA; }
.data-table tbody tr:last-child td { border-bottom: none; }

.table-wrapper {
    overflow-x: auto; border-radius: 10px; border: 1px solid #E5E7EB;
    background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.03);
}

/* Status badges */
.badge {
    display: inline-block; padding: 3px 9px; border-radius: 20px;
    font-size: 11px; font-weight: 650; text-transform: capitalize; letter-spacing: 0.02em;
}
.badge--pending    { background: #FEF3C7; color: #92400E; }
.badge--paid       { background: #D1FAE5; color: #065F46; }
.badge--processing { background: #DBEAFE; color: #1E40AF; }
.badge--shipped    { background: #EDE9FE; color: #5B21B6; }
.badge--delivered  { background: #D1FAE5; color: #065F46; }
.badge--cancelled  { background: #FEE2E2; color: #991B1B; }
.badge--refunded   { background: #F3F4F6; color: #374151; }

/* ─────────────────────────────────────────────────────────────────────────────
   COOKIE BANNER
───────────────────────────────────────────────────────────────────────────── */
.cookie-banner {
    position:    fixed;
    bottom:      0; left: 0; right: 0;
    background:  var(--color-primary, #1a1a1a);
    color:       #fff;
    padding:     18px 24px;
    z-index:     999;
    display:     flex;
    flex-wrap:   wrap;
    align-items: center;
    gap:         14px;
    border-top:  1px solid rgba(255,255,255,0.1);
    box-shadow:  0 -4px 20px rgba(0,0,0,.15);
}
.cookie-banner p { flex: 1; min-width: 200px; font-size: 13px; opacity: 0.88; margin: 0; line-height: 1.5; }
.cookie-banner__actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ─────────────────────────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────────────────────────── */
.site-footer {
    background:   var(--color-primary, #1a1a1a);
    color:        rgba(255,255,255,0.6);
    padding:      28px 0;
    margin-top:   auto;
    border-top:   1px solid rgba(255,255,255,0.06);
}
.site-footer .container {
    display:         flex;
    flex-wrap:       wrap;
    justify-content: space-between;
    align-items:     center;
    gap:             14px;
}
.site-footer p   { font-size: 13px; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer a   { font-size: 13px; color: rgba(255,255,255,0.55); }
.site-footer a:hover { color: #fff; text-decoration: none; }

/* ─────────────────────────────────────────────────────────────────────────────
   UTILITIES
───────────────────────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted  { color: #6B7280; }
.text-sm     { font-size: 13px; }
.mt-8  { margin-top: 8px; }   .mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }  .mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }.mb-32 { margin-bottom: 32px; }

.empty-state { text-align: center; padding: 64px 24px; color: #6B7280; }
.empty-state h2 { font-size: 19px; color: #374151; margin-bottom: 8px; }
.empty-state p  { margin-bottom: 22px; font-size: 14px; }

.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.spinner {
    width: 18px; height: 18px;
    border: 2px solid rgba(0,0,0,.1);
    border-top-color: var(--color-accent, #FF6B35);
    border-radius: 50%;
    animation: spin 0.65s linear infinite;
    display: inline-block; flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }


/* =============================================================================
 * APPEND TO: /var/www/dropship_site/public_html/assets/css/app.css
 * Add these rules at the very bottom of the existing file.
 * =========================================================================== */

/* ─────────────────────────────────────────────────────────────────────────────
   DARK HERO
───────────────────────────────────────────────────────────────────────────── */
.hero-dark {
    position:   relative;
    min-height: 92vh;
    display:    flex;
    align-items: center;
    overflow:   hidden;
    background: #080c14;
}

/* Animated gradient orbs */
.hero-dark__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(255,107,53,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 60%, rgba(99,102,241,0.10) 0%, transparent 55%),
        radial-gradient(ellipse 40% 40% at 50% 10%, rgba(255,107,53,0.06) 0%, transparent 50%);
    animation: heroOrbs 12s ease-in-out infinite alternate;
}
@keyframes heroOrbs {
    0%   { opacity: 1; transform: scale(1); }
    100% { opacity: 0.7; transform: scale(1.08); }
}

/* Subtle grid overlay */
.hero-dark__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

.hero-dark__content {
    position:   relative;
    z-index:    2;
    padding:    80px 20px 100px;
    text-align: center;
}

.hero-dark__eyebrow {
    font-size:      12px;
    font-weight:    600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color:          rgba(255,107,53,0.85);
    margin-bottom:  20px;
}

.hero-dark__title {
    font-size:     clamp(36px, 7vw, 76px);
    font-weight:   760;
    line-height:   1.08;
    letter-spacing: -0.03em;
    color:         #F8F8F8;
    margin-bottom: 20px;
}

.hero-dark__title-accent {
    background: linear-gradient(135deg, #FF6B35 0%, #FF9A6C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-dark__sub {
    font-size:   clamp(15px, 2vw, 18px);
    color:       rgba(255,255,255,0.55);
    max-width:   520px;
    margin:      0 auto 36px;
    line-height: 1.6;
}

/* Hero search bar */
.hero-dark__search {
    max-width:    580px;
    margin:       0 auto 32px;
}

.hero-search-form {
    display:     flex;
    background:  rgba(255,255,255,0.06);
    border:      1px solid rgba(255,255,255,0.12);
    border-radius: 50px;
    overflow:    hidden;
    backdrop-filter: blur(12px);
    transition:  border-color 0.2s, box-shadow 0.2s;
}
.hero-search-form:focus-within {
    border-color: rgba(255,107,53,0.5);
    box-shadow:   0 0 0 3px rgba(255,107,53,0.12);
}

.hero-search-input {
    flex:       1;
    background: none;
    border:     none;
    outline:    none;
    color:      #fff;
    font-size:  15px;
    padding:    16px 20px;
    font-family: inherit;
}
.hero-search-input::placeholder { color: rgba(255,255,255,0.35); }

.hero-search-btn {
    background:  var(--color-accent, #FF6B35);
    border:      none;
    color:       #fff;
    padding:     0 22px;
    cursor:      pointer;
    display:     flex;
    align-items: center;
    justify-content: center;
    transition:  background 0.15s;
    flex-shrink: 0;
}
.hero-search-btn:hover { background: #e55a26; }

.hero-dark__ctas {
    display:         flex;
    gap:             12px;
    justify-content: center;
    flex-wrap:       wrap;
}

.btn--ghost-light {
    background:   transparent;
    color:        rgba(255,255,255,0.8);
    border:       1.5px solid rgba(255,255,255,0.2);
}
.btn--ghost-light:hover {
    background:   rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.4);
    color:        #fff;
    text-decoration: none;
}

/* ─────────────────────────────────────────────────────────────────────────────
   DARK SECTION (vendors strip)
───────────────────────────────────────────────────────────────────────────── */
.section-dark {
    background: #0d1117;
    padding:    72px 0;
}

.section-light {
    background: var(--color-secondary, #FAF7F2);
    padding:    72px 0;
}

.section-header {
    text-align:    center;
    margin-bottom: 48px;
}
.section-header__title {
    font-size:   clamp(24px, 4vw, 36px);
    font-weight: 700;
    color:       #F8F8F8;
    margin-bottom: 8px;
}
.section-header__sub {
    font-size: 15px;
    color:     rgba(255,255,255,0.45);
}
.section-header--light .section-header__title { color: var(--color-primary, #1a1a1a); }
.section-header--light .section-header__sub   { color: #6B7280; }

/* ─────────────────────────────────────────────────────────────────────────────
   VENDOR CARDS (homepage featured strip)
───────────────────────────────────────────────────────────────────────────── */
.vendor-grid {
    display:               grid;
    grid-template-columns: 1fr;
    gap:                   20px;
}
@media (min-width: 640px)  { .vendor-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .vendor-grid { grid-template-columns: repeat(3,1fr); } }

.vendor-card {
    background:    #161b22;
    border:        1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    overflow:      hidden;
    display:       flex;
    flex-direction: column;
    text-decoration: none;
    color:         inherit;
    transition:    border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.vendor-card:hover {
    border-color: rgba(255,107,53,0.4);
    transform:    translateY(-3px);
    box-shadow:   0 12px 40px rgba(0,0,0,.5);
    text-decoration: none;
}

.vendor-card__banner {
    height:             160px;
    background-size:    cover;
    background-position: center;
    position:           relative;
    flex-shrink:        0;
}
.vendor-card__banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 30%, rgba(22,27,34,0.85) 100%);
}

.vendor-card__avatar-wrap {
    position:  absolute;
    bottom:    -22px;
    left:      20px;
    z-index:   2;
}
.vendor-card__avatar {
    width:        54px;
    height:       54px;
    border-radius: 50%;
    border:       2px solid #161b22;
    object-fit:   cover;
    display:      block;
}
.vendor-card__avatar--initial {
    width:           54px;
    height:          54px;
    border-radius:   50%;
    border:          2px solid #161b22;
    background:      #374151;
    color:           #fff;
    font-size:       22px;
    font-weight:     700;
    display:         flex;
    align-items:     center;
    justify-content: center;
}

.vendor-card__body {
    padding:    32px 20px 20px;
    flex:       1;
    display:    flex;
    flex-direction: column;
    gap:        6px;
}
.vendor-card__name {
    font-size:   16px;
    font-weight: 650;
    color:       #F0F0F0;
    margin:      0;
}
.vendor-card__bio {
    font-size:   13px;
    color:       rgba(255,255,255,0.45);
    line-height: 1.5;
    margin:      0;
    flex:        1;
}
.vendor-card__meta {
    display:         flex;
    justify-content: space-between;
    align-items:     center;
    margin-top:      12px;
    padding-top:     12px;
    border-top:      1px solid rgba(255,255,255,0.06);
}
.vendor-card__count { font-size: 12px; color: rgba(255,255,255,0.35); }
.vendor-card__cta   { font-size: 13px; font-weight: 600; color: var(--color-accent, #FF6B35); }

/* ─────────────────────────────────────────────────────────────────────────────
   VENDOR STOREFRONT BANNER
───────────────────────────────────────────────────────────────────────────── */
.store-banner {
    height:                300px;
    background-size:       cover;
    background-position:   center;
    position:              relative;
    display:               flex;
    align-items:           flex-end;
}
@media (min-width: 768px) { .store-banner { height: 380px; } }

.store-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.1) 0%, rgba(0,0,0,.65) 100%);
}

.store-banner__content {
    position:    relative;
    z-index:     2;
    display:     flex;
    align-items: flex-end;
    gap:         20px;
    padding-bottom: 32px;
    flex-wrap:   wrap;
}

.store-banner__avatar-wrap { flex-shrink: 0; }
.store-banner__avatar {
    width:         90px;
    height:        90px;
    border-radius: 50%;
    border:        3px solid rgba(255,255,255,0.9);
    object-fit:    cover;
    display:       block;
}
.store-banner__avatar--initial {
    width:           90px;
    height:          90px;
    border-radius:   50%;
    border:          3px solid rgba(255,255,255,0.9);
    background:      #374151;
    color:           #fff;
    font-size:       36px;
    font-weight:     700;
    display:         flex;
    align-items:     center;
    justify-content: center;
}

.store-banner__info { color: #fff; }
.store-banner__name {
    font-size:   clamp(22px, 4vw, 36px);
    font-weight: 720;
    color:       #fff;
    margin:      0 0 6px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.store-banner__bio {
    font-size:   14px;
    color:       rgba(255,255,255,0.75);
    max-width:   560px;
    margin:      0 0 8px;
    line-height: 1.5;
}
.store-banner__meta {
    font-size: 13px;
    color:     rgba(255,255,255,0.5);
    margin:    0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   DARK MAIN LAYOUT override for homepage
   (so the dark hero bleeds edge-to-edge without the main.php padding)
───────────────────────────────────────────────────────────────────────────── */
body.page-home {
    background: #080c14;
}
body.page-home .site-footer {
    background: #0d1117;
    border-top: 1px solid rgba(255,255,255,0.06);
}


/* =============================================================================
 * APPEND TO: /var/www/dropship_site/public_html/assets/css/app.css
 * (after the dark_additions.css block already appended in Step 13)
 * Then bump version to ?v=4 in main.php and dashboard.php
 * =========================================================================== */

/* ─────────────────────────────────────────────────────────────────────────────
   FIX 1: Mobile overflow — the white strip on the right
   Cause: hero gradient / absolute elements bleeding past viewport width.
───────────────────────────────────────────────────────────────────────────── */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

.hero-dark,
.hero-dark__bg,
.hero-dark__grid {
    max-width: 100vw;
    overflow:  hidden;
}

/* ─────────────────────────────────────────────────────────────────────────────
   FIX 2: Hamburger mobile nav
───────────────────────────────────────────────────────────────────────────── */

/* Hamburger button — only shown on mobile */
.nav-hamburger {
    display:         flex;
    flex-direction:  column;
    justify-content: center;
    gap:             5px;
    width:           36px;
    height:          36px;
    background:      none;
    border:          none;
    cursor:          pointer;
    padding:         4px;
    border-radius:   6px;
    transition:      background 0.15s;
    flex-shrink:     0;
}
.nav-hamburger:hover { background: rgba(255,255,255,0.1); }
.nav-hamburger span {
    display:       block;
    width:         100%;
    height:        2px;
    background:    rgba(255,255,255,0.85);
    border-radius: 2px;
    transition:    transform 0.25s, opacity 0.25s;
    transform-origin: center;
}
/* Active (open) state */
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hide hamburger on desktop */
@media (min-width: 768px) { .nav-hamburger { display: none; } }

/* Mobile slide-down nav menu */
.mobile-nav {
    display:    none;
    position:   absolute;
    top:        60px;
    left:       0;
    right:      0;
    background: var(--color-primary, #1a1a1a);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding:    12px 0 16px;
    z-index:    99;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
    display:     block;
    padding:     12px 20px;
    color:       rgba(255,255,255,0.8);
    font-size:   15px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition:  background 0.15s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { background: rgba(255,255,255,0.07); color: #fff; text-decoration: none; }
.mobile-nav .mobile-nav__divider {
    height:     1px;
    background: rgba(255,255,255,0.08);
    margin:     8px 0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   FIX 3: Vendor grid — cap at 3 tiles per row (was 3 but Test Vendor
   pushed to a 4th). Force exactly 3 columns on wide screens.
───────────────────────────────────────────────────────────────────────────── */
.vendor-grid {
    grid-template-columns: 1fr !important;
}
@media (min-width: 640px) {
    .vendor-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (min-width: 900px) {
    .vendor-grid { grid-template-columns: repeat(3, 1fr) !important; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   FIX 4: Vendor card banner image fallback
   When Unsplash URLs fail to load, show a branded gradient instead.
───────────────────────────────────────────────────────────────────────────── */
.vendor-card__banner {
    background-color: #1a2035;
    /* Gradient shows when image fails */
    background-image:
        linear-gradient(135deg, #1a2035 0%, #2d1b4e 50%, #1a2035 100%),
        var(--banner-bg, none);
}

/* Product card image fallback */
.product-card__image {
    background: #F0EFF0;
}
.product-card__image img {
    /* Show alt text area with styling when image fails */
    font-size: 13px;
    color: #9CA3AF;
    text-align: center;
}

/* ─────────────────────────────────────────────────────────────────────────────
   FIX 5: Hero CTA buttons — stack on very small screens
───────────────────────────────────────────────────────────────────────────── */
.hero-dark__ctas {
    flex-direction: column;
    align-items: center;
}
@media (min-width: 480px) {
    .hero-dark__ctas { flex-direction: row; }
}
.hero-dark__ctas .btn {
    width: 100%;
    max-width: 280px;
}
@media (min-width: 480px) {
    .hero-dark__ctas .btn { width: auto; max-width: none; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   FIX 6: Admin user profile editor — image management fields
───────────────────────────────────────────────────────────────────────────── */
.admin-profile-preview {
    width:         80px;
    height:        80px;
    border-radius: 50%;
    object-fit:    cover;
    border:        2px solid #E5E7EB;
    display:       block;
    margin-bottom: 10px;
    background:    #F3F4F6;
}
.admin-banner-preview {
    width:         100%;
    height:        100px;
    object-fit:    cover;
    border-radius: 8px;
    border:        1px solid #E5E7EB;
    margin-bottom: 10px;
    background:    #F3F4F6;
    display:       block;
}

/* =============================================================================
 * APPEND TO: app.css (after existing content)
 * Then bump to ?v=5 in main.php and dashboard.php
 * =========================================================================== */

/* ─────────────────────────────────────────────────────────────────────────────
   BUY NOW FIX — separate session, never touches main cart
   (handled in JS — no CSS needed but document here)
───────────────────────────────────────────────────────────────────────────── */

/* ─────────────────────────────────────────────────────────────────────────────
   STATS BAR
───────────────────────────────────────────────────────────────────────────── */
.stats-bar {
    background:  #0d1117;
    border-top:  1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stats-bar__inner {
    display:         flex;
    align-items:     center;
    justify-content: center;
    flex-wrap:       wrap;
    gap:             0;
    padding:         20px 0;
}
.stats-bar__item {
    display:        flex;
    flex-direction: column;
    align-items:    center;
    padding:        8px 32px;
    gap:            2px;
}
.stats-bar__num {
    font-size:     22px;
    font-weight:   760;
    color:         #F8F8F8;
    letter-spacing: -0.02em;
    line-height:   1;
}
.stats-bar__label {
    font-size:  12px;
    color:      rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    white-space: nowrap;
}
.stats-bar__divider {
    width:  1px;
    height: 36px;
    background: rgba(255,255,255,0.08);
    flex-shrink: 0;
}
@media (max-width: 480px) {
    .stats-bar__item  { padding: 8px 16px; }
    .stats-bar__divider { display: none; }
    .stats-bar__inner { gap: 4px; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   SECTION HEADER — enhanced
───────────────────────────────────────────────────────────────────────────── */
.section-header__eyebrow {
    font-size:      11px;
    font-weight:    700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color:          rgba(255,107,53,0.9);
    margin-bottom:  8px;
}
.section-header__eyebrow--dark {
    color: var(--color-accent, #FF6B35);
}
.section-header__eyebrow--accent {
    color: var(--color-accent, #FF6B35);
}

/* ─────────────────────────────────────────────────────────────────────────────
   HOW IT WORKS
───────────────────────────────────────────────────────────────────────────── */
.section-mid {
    background: #fff;
    padding:    72px 0;
}
.section-header--mid { text-align: center; margin-bottom: 48px; }
.section-header__title--dark {
    font-size:   clamp(24px, 4vw, 36px);
    font-weight: 700;
    color:       var(--color-primary, #1a1a1a);
    margin-bottom: 0;
}

.how-grid {
    display:               grid;
    grid-template-columns: 1fr;
    gap:                   32px;
    max-width:             900px;
    margin:                0 auto;
}
@media (min-width: 640px) { .how-grid { grid-template-columns: repeat(3,1fr); } }

.how-step {
    text-align:  center;
    padding:     32px 24px;
    border:      1px solid #E5E7EB;
    border-radius: 12px;
    background:  #FAFAFA;
    transition:  box-shadow 0.2s, transform 0.2s;
}
.how-step:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,.07);
    transform:  translateY(-2px);
}
.how-step__num {
    font-size:   40px;
    font-weight: 800;
    color:       var(--color-accent, #FF6B35);
    opacity:     0.25;
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.04em;
}
.how-step h3 {
    font-size:   17px;
    margin-bottom: 10px;
}
.how-step p {
    font-size:   14px;
    color:       #6B7280;
    line-height: 1.6;
    margin:      0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────────────────────────────────────────────── */
.testimonial-grid {
    display:               grid;
    grid-template-columns: 1fr;
    gap:                   20px;
    margin-top:            36px;
}
@media (min-width: 640px)  { .testimonial-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .testimonial-grid { grid-template-columns: repeat(3,1fr); } }

.testimonial-card {
    background:    rgba(255,255,255,0.05);
    border:        1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding:       24px;
    display:       flex;
    flex-direction: column;
    gap:           14px;
    transition:    border-color 0.2s, background 0.2s;
}
.testimonial-card:hover {
    border-color: rgba(255,107,53,0.3);
    background:   rgba(255,255,255,0.07);
}

.star-row {
    display:     flex;
    align-items: center;
    gap:         2px;
}

.testimonial-card__quote {
    font-size:   14px;
    line-height: 1.65;
    color:       rgba(255,255,255,0.75);
    margin:      0;
    flex:        1;
    font-style:  normal;
}

.testimonial-card__author {
    display:     flex;
    align-items: center;
    gap:         12px;
    padding-top: 14px;
    border-top:  1px solid rgba(255,255,255,0.06);
}
.testimonial-card__avatar {
    width:           40px;
    height:          40px;
    border-radius:   50%;
    display:         flex;
    align-items:     center;
    justify-content: center;
    font-size:       14px;
    font-weight:     700;
    color:           #fff;
    flex-shrink:     0;
}
.testimonial-card__name {
    font-size:   14px;
    font-weight: 650;
    color:       #F0F0F0;
    margin:      0 0 2px;
}
.testimonial-card__meta {
    font-size: 12px;
    color:     rgba(255,255,255,0.35);
    margin:    0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   CONTACT SECTION
───────────────────────────────────────────────────────────────────────────── */
.section-contact {
    background: #fff;
    padding:    80px 0;
}

.contact-grid {
    display:               grid;
    grid-template-columns: 1fr;
    gap:                   48px;
    align-items:           start;
}
@media (min-width: 768px) {
    .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-info__title {
    font-size:   clamp(24px, 4vw, 36px);
    font-weight: 720;
    letter-spacing: -0.02em;
    margin:      12px 0 16px;
    line-height: 1.15;
}
.contact-info__sub {
    font-size:   15px;
    color:       #6B7280;
    line-height: 1.6;
    margin-bottom: 28px;
}
.contact-info__items {
    display:        flex;
    flex-direction: column;
    gap:            18px;
}
.contact-info__item {
    display:     flex;
    align-items: flex-start;
    gap:         14px;
}
.contact-info__icon {
    width:           40px;
    height:          40px;
    background:      #FFF7ED;
    border-radius:   8px;
    display:         flex;
    align-items:     center;
    justify-content: center;
    font-size:       18px;
    flex-shrink:     0;
}
.contact-info__item-label {
    font-size:   12px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color:       #9CA3AF;
    font-weight: 600;
    margin:      0 0 2px;
}
.contact-info__item-val {
    font-size:   14px;
    color:       #374151;
    font-weight: 500;
    margin:      0;
}

.contact-form-wrap {
    background:    #F9FAFB;
    border:        1px solid #E5E7EB;
    border-radius: 14px;
    padding:       32px;
}
.contact-form .form-group { margin-bottom: 0; }
.contact-form label { color: #374151; }

/* ─────────────────────────────────────────────────────────────────────────────
   /PRODUCTS PAGE — sidebar layout
───────────────────────────────────────────────────────────────────────────── */
.products-layout {
    display: grid;
    gap:     32px;
}
@media (min-width: 768px) {
    .products-layout { grid-template-columns: 220px 1fr; }
}

.products-sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
@media (max-width: 767px) {
    .products-sidebar {
        display: none;
    }
    .products-sidebar--open {
        display: flex;
    }
    #toggle-sidebar { display: inline-flex !important; }
}

.sidebar-section {
    background:    #fff;
    border:        1px solid #E5E7EB;
    border-radius: 10px;
    padding:       18px 16px;
}
.sidebar-title {
    font-size:   11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color:       #9CA3AF;
    margin-bottom: 10px;
}
.sidebar-link {
    display:         flex;
    justify-content: space-between;
    align-items:     center;
    padding:         7px 10px;
    border-radius:   6px;
    font-size:       14px;
    color:           #374151;
    text-decoration: none;
    transition:      background 0.12s, color 0.12s;
}
.sidebar-link:hover {
    background: #F3F4F6;
    color:      #1a1a1a;
    text-decoration: none;
}
.sidebar-link--active {
    background: color-mix(in srgb, var(--color-accent,#FF6B35) 10%, white);
    color:      var(--color-accent, #FF6B35);
    font-weight: 600;
}
.sidebar-link__count {
    font-size:     12px;
    color:         #9CA3AF;
    background:    #F3F4F6;
    padding:       1px 7px;
    border-radius: 20px;
}
.sidebar-link--active .sidebar-link__count {
    background: color-mix(in srgb, var(--color-accent,#FF6B35) 15%, white);
    color:      var(--color-accent, #FF6B35);
}

/* Filter tags (active filter pills) */
.filter-tag {
    display:       inline-flex;
    align-items:   center;
    gap:           4px;
    padding:       4px 10px;
    background:    #FFF7ED;
    color:         #C2410C;
    border:        1px solid #FED7AA;
    border-radius: 20px;
    font-size:     12px;
    font-weight:   600;
    text-decoration: none;
    transition:    background 0.12s;
    white-space:   nowrap;
}
.filter-tag:hover { background: #FFEDD5; text-decoration: none; }
.filter-tag--clear {
    background:  #FEE2E2;
    color:       #991B1B;
    border-color: #FCA5A5;
}

/* Products search bar on dark header */
.products-search-form { margin-top: 8px; }


/* =============================================================================
 * SHOPPA.UK BRAND OVERRIDES
 * APPEND TO: /var/www/dropship_site/public_html/assets/css/app.css
 * Then bump version to ?v=6 in both layout files.
 *
 * Brand colours:
 *   Primary (backgrounds, header): #0a0a0a
 *   Accent (CTA, links, highlights): #E8453C
 *   Secondary (page bg): #f5f5f5
 * =========================================================================== */

/* ── Force brand colours via CSS vars (overrides whatever is in theme_settings) */
:root {
    --color-primary:      #0a0a0a !important;
    --color-secondary:    #f5f5f5 !important;
    --color-accent:       #E8453C !important;
    --color-accent-hover: #c73530 !important;
}

/* ── HERO — deeper black, shoppa red gradient orbs */
.hero-dark {
    background: #050505;
}
.hero-dark__bg {
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(232,69,60,0.14) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 60%, rgba(232,69,60,0.07) 0%, transparent 55%),
        radial-gradient(ellipse 40% 40% at 50% 10%, rgba(232,69,60,0.08) 0%, transparent 50%);
}

/* ── HEADER */
.site-header {
    background: #0a0a0a;
    border-bottom: 1px solid rgba(232,69,60,0.15);
}

/* ── DARK SECTIONS */
.section-dark { background: #0d0d0d; }
.stats-bar    { background: #0d0d0d; border-color: rgba(232,69,60,0.1); }

/* ── VENDOR CARDS on dark bg */
.vendor-card {
    background: #111;
    border-color: rgba(255,255,255,0.06);
}
.vendor-card:hover {
    border-color: rgba(232,69,60,0.5);
    box-shadow: 0 12px 40px rgba(232,69,60,0.12);
}

/* ── TESTIMONIAL CARDS */
.testimonial-card {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.07);
}
.testimonial-card:hover {
    border-color: rgba(232,69,60,0.3);
    background: rgba(255,255,255,0.06);
}

/* ── HERO SEARCH */
.hero-search-form:focus-within {
    border-color: rgba(232,69,60,0.6);
    box-shadow: 0 0 0 3px rgba(232,69,60,0.12);
}

/* ── BUTTONS — accent red */
.btn--accent {
    background: #E8453C;
    border-color: #E8453C;
}
.btn--accent:hover:not(:disabled) {
    background: #c73530;
    border-color: #c73530;
    box-shadow: 0 2px 12px rgba(232,69,60,0.35);
}

/* ── SIDEBAR active links */
.sidebar-link--active {
    background: rgba(232,69,60,0.1);
    color: #E8453C;
}
.sidebar-link--active .sidebar-link__count {
    background: rgba(232,69,60,0.15);
    color: #E8453C;
}

/* ── MOBILE NAV */
.mobile-nav {
    background: #0a0a0a;
    border-top-color: rgba(232,69,60,0.2);
}

/* ── FOOTER */
.site-footer {
    background: #0a0a0a;
    border-top-color: rgba(232,69,60,0.1);
}

/* ── SECTION EYEBROW TEXT */
.section-header__eyebrow,
.section-header__eyebrow--dark,
.section-header__eyebrow--accent {
    color: #E8453C;
}

/* ── HOW-IT-WORKS step numbers */
.how-step__num { color: #E8453C; }

/* ── CONTACT section accent icon bg */
.contact-info__icon { background: #FFF0EF; }

/* ── STATS BAR numbers */
.stats-bar__num { color: #F8F8F8; }

/* ── FORM focus rings */
.form-control:focus {
    border-color: #E8453C;
    box-shadow: 0 0 0 3px rgba(232,69,60,0.15);
}

/* ── DASHBOARD SIDEBAR active */
.dash-sidebar a.active {
    border-left-color: #E8453C;
}

/* ── BADGES */
.badge--paid       { background: #D1FAE5; color: #065F46; }
.badge--processing { background: #DBEAFE; color: #1E40AF; }
.badge--shipped    { background: #EDE9FE; color: #5B21B6; }
.badge--pending    { background: #FEF3C7; color: #92400E; }
.badge--cancelled  { background: #FEE2E2; color: #991B1B; }

/* ── PAGINATION current page */
.pagination span.current {
    background: #E8453C;
    border-color: #E8453C;
}

/* ─────────────────────────────────────────────────────────────────────────────
   OUT OF STOCK PRODUCT PAGE FIX
   The product page was rendering without layout CSS when out of stock.
   Root cause: $user not passed to view caused an undefined variable notice
   which broke output buffering. Now fixed in the controller, but also
   ensuring the out-of-stock state renders cleanly.
───────────────────────────────────────────────────────────────────────────── */

/* Product page — out of stock state */
.product-card--out-of-stock .product-card__image {
    filter: grayscale(30%);
    opacity: 0.8;
}

/* Out of stock box on product detail page */
.out-of-stock-box {
    padding: 20px 24px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: 10px;
    margin-bottom: 20px;
}
.out-of-stock-box h3 {
    color: #991B1B;
    font-size: 15px;
    font-weight: 650;
    margin-bottom: 12px;
}

/* Remind me form on product detail */
.remind-me-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.remind-me-form input {
    flex: 1;
    min-width: 200px;
}
.remind-me-success {
    font-size: 14px;
    color: #166534;
    font-weight: 500;
    padding: 10px 0;
}

/* Product page image area — no-image placeholder */
.product-no-image {
    aspect-ratio: 1/1;
    background: #F3F4F6;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
    font-size: 14px;
    gap: 12px;
}
.product-no-image svg {
    opacity: 0.3;
}

/* ── HERO eyebrow text colour for shoppa brand */
.hero-dark__eyebrow { color: rgba(232,69,60,0.9); }

/* ── HERO title accent */
.hero-dark__title-accent {
    background: linear-gradient(135deg, #E8453C 0%, #ff7a72 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Cart count badge */
.cart-icon__count { background: #E8453C; }

/* ── Auth type badge — vendor */
.auth-type-badge--vendor {
    background: #FFF0EF;
    color: #C73530;
    border-color: #FECACA;
}

/* ── Filter tags */
.filter-tag {
    background: #FFF0EF;
    color: #C73530;
    border-color: #FECACA;
}
.filter-tag:hover { background: #FFE4E3; }
