/* ============================================================
   Tsili v2 — Complete Design System
   One file. No hotfixes. No competing layers. No overrides.
   Wine red / clay / cream / parchment palette.
   ============================================================ */

/* ── 0. Tokens ──────────────────────────────────────────────── */
:root {
    --red:       #9D1118;
    --red-dark:  #5A1414;
    --red-soft:  #C7362F;
    --clay:      #A64B2A;
    --clay-light:#F0D6C5;
    --cream:     #F8F1E8;
    --parchment: #FFF8EF;
    --sand:      #EAD7BD;
    --sand-60:   rgba(234,215,189,0.6);
    --ink:       #25201C;
    --muted:     #786A5F;
    --gold:      #C69C5A;
    --olive:     #526B4B;
    --white:     #ffffff;
    --radius-sm: 0.5rem;
    --radius:    0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --shadow-sm: 0 1px 3px rgba(37,32,28,0.05),0 1px 2px rgba(37,32,28,0.04);
    --shadow:    0 2px 8px rgba(37,32,28,0.06),0 1px 3px rgba(37,32,28,0.04);
    --shadow-lg: 0 8px 24px rgba(37,32,28,0.09),0 2px 6px rgba(37,32,28,0.04);
}

/* ── 1. Base reset ──────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Global input focus ring — inline outline:none is overridden by border-color */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--red) !important;
    box-shadow: 0 0 0 3px rgba(157,17,24,0.12);
}

html {
    font-size: 16px;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans Georgian', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--parchment);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    max-width: 100%;
}

main { flex: 1; }

/* No all-caps on Georgian text */
* { text-transform: none; font-variant-caps: normal; }

h1,h2,h3,h4,h5,h6 {
    font-family: 'Noto Serif Georgian', 'Georgia', serif;
    color: var(--ink);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ── 2. Layout helpers ──────────────────────────────────────── */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
    width: 100%;
}

.flex       { display: flex; }
.flex-col   { flex-direction: column; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.flex-wrap  { flex-wrap: wrap; }
.gap-2      { gap: 0.5rem; }
.gap-3      { gap: 0.75rem; }
.gap-4      { gap: 1rem; }
.gap-5      { gap: 1.25rem; }
.gap-6      { gap: 1.5rem; }
.gap-8      { gap: 2rem; }
.gap-12     { gap: 3rem; }
.flex-1     { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.grid       { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.hidden     { display: none; }
.relative   { position: relative; }
.overflow-hidden { overflow: hidden; }
.text-center { text-align: center; }

/* ── 3. Typography components ───────────────────────────────── */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--red);
    font-family: 'Noto Sans Georgian', sans-serif;
}
.eyebrow::before {
    content: '';
    display: inline-block;
    width: 1.5rem;
    height: 1px;
    background: currentColor;
    opacity: 0.55;
    flex-shrink: 0;
}
.eyebrow-clay  { color: var(--clay); }
.eyebrow-gold  { color: #8B6A2F; }
.eyebrow-olive { color: var(--olive); }
.eyebrow-cream { color: var(--cream); }

.section-title {
    font-family: 'Noto Serif Georgian', serif;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.45;
    letter-spacing: -0.01em;
    font-size: 1.75rem;
}
@media (min-width: 768px) { .section-title { font-size: 2.125rem; } }

.section-lead {
    color: var(--muted);
    margin-top: 0.5rem;
    max-width: 42rem;
    line-height: 1.65;
}

/* ── 4. Buttons ─────────────────────────────────────────────── */
/* Base styles applied to all variants (used without the "btn" base class) */
.btn,
.btn-primary,
.btn-outline,
.btn-outline-white,
.btn-clay,
.btn-ghost,
.btn-ghost-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Noto Sans Georgian', sans-serif;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    text-decoration: none;
    line-height: 1.4;
    min-height: 2.75rem;
    white-space: nowrap;
}
.btn-primary {
    background: var(--red);
    color: var(--white) !important;
    border-color: var(--red);
    transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, transform .1s ease;
}
.btn-primary:hover  { background: var(--red-dark); border-color: var(--red-dark); box-shadow: 0 3px 10px rgba(157,17,24,.25); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); box-shadow: none; }

.btn-outline {
    background: transparent;
    color: var(--ink);
    border-color: rgba(37,32,28,0.35);
    transition: background .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
}
.btn-outline:hover  { background: var(--ink); color: var(--white); border-color: var(--ink); transform: translateY(-1px); }
.btn-outline:active { transform: translateY(0); }

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.55);
    transition: background .15s ease, color .15s ease, transform .1s ease;
}
.btn-outline-white:hover  { background: var(--white); color: var(--ink); border-color: var(--white); transform: translateY(-1px); }
.btn-outline-white:active { transform: translateY(0); }

.btn-clay {
    background: var(--clay);
    color: var(--white) !important;
    border-color: var(--clay);
    transition: background .15s ease, border-color .15s ease, transform .1s ease;
}
.btn-clay:hover  { background: #8E3F22; border-color: #8E3F22; transform: translateY(-1px); }
.btn-clay:active { transform: translateY(0); }

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: transparent;
    transition: background .15s ease;
}
.btn-ghost:hover { background: rgba(234,215,189,0.4); }

/* Ghost button for use on dark/coloured backgrounds */
.btn-ghost-white {
    background: transparent;
    color: var(--white);
    border-color: transparent;
    transition: background .15s ease, color .15s ease;
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.12); }

/* ── 5. Cards ───────────────────────────────────────────────── */
.card {
    background: var(--white);
    border: 1px solid var(--sand-60);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.card-cream { background: var(--cream); }

/* ── 6. Badges ──────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    font-family: 'Noto Sans Georgian', sans-serif;
}
.badge-gold  { background:#FBF1DD; color:#8B6A2F; box-shadow:inset 0 0 0 1px #E9D6AC; }
.badge-olive { background:#EAF0E5; color:var(--olive); box-shadow:inset 0 0 0 1px #C6D6BC; }
.badge-clay  { background:var(--clay-light); color:var(--clay); box-shadow:inset 0 0 0 1px rgba(166,75,42,0.25); }
.badge-red   { background:#FEE2E2; color:var(--red); box-shadow:inset 0 0 0 1px rgba(157,17,24,0.2); }

/* Premium "featured" pill for product-card images — frosted, top-left, subtle
   gold border. Replaces the old solid badge-gold block sitting on photos. */
.product-badge {
    position: absolute;
    top: .55rem;
    left: .55rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .22rem .55rem .22rem .48rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 600;
    line-height: 1;
    color: #7A5A1E;
    background: rgba(255,248,220,.9);
    border: 1px solid rgba(180,130,30,.28);
    box-shadow: 0 2px 6px rgba(60,45,20,.14);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    white-space: nowrap;
    pointer-events: none;
}
.product-badge .star { color: #D4A12A; font-size: .82em; line-height: 1; }

/* ── 7. Navigation ──────────────────────────────────────────── */
.nav-root {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,248,239,0.95);
    border-bottom: 1px solid rgba(234,215,189,0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 4rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
}
.nav-logo {
    font-family: 'Noto Serif Georgian', serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--ink);
    letter-spacing: -0.02em;
    text-decoration: none;
    transition: color 0.15s;
}
.nav-logo:hover { color: var(--red); }

.nav-links {
    display: none;
    align-items: center;
    gap: 1.5rem;
}
.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.15s;
}
.nav-link:hover { color: var(--ink); }

.nav-actions {
    display: none;
    align-items: center;
    gap: 0.75rem;
}
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2rem;
    height: 2rem;
    padding: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 0.25rem;
}
.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all 0.2s ease;
    transform-origin: center;
}

@media (min-width: 768px) {
    .nav-links   { display: flex; }
    .nav-actions { display: flex; }
    .nav-toggle  { display: none; }
}

/* Mobile nav menu */
.nav-mobile {
    border-top: 1px solid rgba(234,215,189,0.5);
    background: var(--parchment);
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.nav-mobile .nav-link {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(234,215,189,0.3);
    display: block;
}
.nav-mobile-actions {
    display: flex;
    gap: 0.75rem;
    padding-top: 0.5rem;
}
.nav-mobile-actions .btn { flex: 1; justify-content: center; }

/* Alpine.js hide/show */
[x-cloak] { display: none !important; }

/* ── 8. Hero — static, corner stripes, no slider ────────────── */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #FFF8EF 0%, #F8F1E8 55%, rgba(157,17,24,0.04) 100%);
    padding: 4.5rem 1.25rem 4rem;
    min-height: 30rem;
}

/* Corner stripe decorations — CSS only, no images */
.corner-stripe::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 220px; height: 220px;
    background: repeating-linear-gradient(
        -45deg,
        rgba(157,17,24,0.055) 0px, rgba(157,17,24,0.055) 1.5px,
        transparent 1.5px, transparent 10px
    );
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    pointer-events: none;
}
.corner-stripe::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 110px; height: 110px;
    background: repeating-linear-gradient(
        -45deg,
        rgba(166,75,42,0.045) 0px, rgba(166,75,42,0.045) 1px,
        transparent 1px, transparent 9px
    );
    clip-path: polygon(0 0, 0 100%, 100% 100%);
    pointer-events: none;
}

.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: grid;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 768px) {
    .hero-inner { grid-template-columns: 1fr 1fr; }
}

.hero-title {
    font-family: 'Noto Serif Georgian', serif;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.4;
    letter-spacing: -0.02em;
    font-size: clamp(1.875rem, 5vw, 3rem);
    margin: 0.75rem 0 1rem;
}
.hero-title .accent { color: var(--red); }

.hero-lead {
    color: var(--muted);
    line-height: 1.65;
    font-size: 1.0625rem;
    max-width: 38rem;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2rem;
}

/* Hero right — stat cards */
.hero-panel {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
}
@media (min-width: 768px) { .hero-panel { display: flex; } }

.hero-stat-card {
    background: var(--white);
    border: 1px solid var(--sand-60);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: box-shadow 0.15s ease;
}
.hero-stat-card:hover { box-shadow: var(--shadow); }

.hero-stat-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.hero-stat-val  { font-weight: 700; font-size: 1.125rem; color: var(--ink); }
.hero-stat-label { font-size: 0.75rem; color: var(--muted); }

/* ── 9. Ornament divider ────────────────────────────────────── */
.ornament-divider {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.75rem 1.25rem;
    max-width: 1280px;
    margin: 0 auto;
}
.ornament-divider::before,
.ornament-divider::after {
    content: '';
    flex: 1;
    height: 1px;
}
.ornament-divider::before {
    background: linear-gradient(to right, transparent, rgba(166,75,42,0.22));
}
.ornament-divider::after {
    background: linear-gradient(to left, transparent, rgba(166,75,42,0.22));
}
.ornament-gem {
    color: rgba(166,75,42,0.4);
    font-size: 0.75rem;
    flex-shrink: 0;
    line-height: 1;
}

/* ── 10. Sections ───────────────────────────────────────────── */
.section {
    padding: 4rem 1.25rem;
}
.section-lg { padding: 5rem 1.25rem; }
.section-inner {
    max-width: 1280px;
    margin: 0 auto;
}
.section-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}
@media (min-width: 640px) {
    .section-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.section-bg-cream {
    background-color: rgba(248,241,232,0.4);
    border-top: 1px solid rgba(234,215,189,0.45);
    border-bottom: 1px solid rgba(234,215,189,0.45);
}

.section-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--red);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.15s;
    white-space: nowrap;
}
.section-link:hover { color: var(--red-dark); }

/* ── 11. Category grid ──────────────────────────────────────── */
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}
@media (min-width: 480px)  { .category-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px)  { .category-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .category-grid { grid-template-columns: repeat(6, 1fr); } }

.category-card {
    background: var(--white);
    border: 1px solid var(--sand-60);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 1.5rem 0.6rem;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.category-card:hover {
    border-color: rgba(157,17,24,0.28);
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}
.category-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: rgba(157,17,24,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    flex-shrink: 0;
}
.category-name  { font-size: 0.8125rem; font-weight: 600; color: var(--ink); }
.category-count { font-size: 0.7rem; color: var(--muted); }

/* ── 12. Product grid ───────────────────────────────────────── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }

.product-card {
    background: var(--white);
    border: 1px solid var(--sand-60);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
    cursor: pointer;
}
.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: rgba(157,17,24,.15);
}
.product-card-img {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #FBF1E2 0%, #F3E3CC 100%);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}
.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .22s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-card-body {
    padding: 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    flex: 1;
}
.product-card-seller { font-size: 0.7rem; color: var(--muted); }
.product-card-name   { font-size: 0.875rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.product-card-price  { font-size: 1rem; font-weight: 700; color: var(--red); margin-top: auto; }
.product-card-price-ph { font-size: 0.8125rem; font-weight: 500; color: rgba(120,106,95,0.45); margin-top: auto; }

/* ── 13. Entrepreneur section ───────────────────────────────── */
.entrepreneur-section {
    background: linear-gradient(135deg, #FFF8EF 0%, #F8F1E8 100%);
    position: relative;
    overflow: hidden;
}
.entrepreneur-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 768px) { .entrepreneur-inner { grid-template-columns: 1fr 1fr; } }

.steps-list { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; }
.step-item  { display: flex; align-items: flex-start; gap: 1rem; }
.step-num {
    flex-shrink: 0;
    width: 2rem; height: 2rem;
    border-radius: 9999px;
    background: var(--red);
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.step-body-title { font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.step-body-desc  { font-size: 0.8125rem; color: var(--muted); margin-top: 0.125rem; line-height: 1.55; }

.feature-cards { display: flex; flex-direction: column; gap: 0.75rem; }
.feature-card {
    background: var(--white);
    border: 1px solid var(--sand-60);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.feature-icon {
    width: 2.5rem; height: 2.5rem;
    border-radius: 0.625rem;
    background: rgba(157,17,24,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    flex-shrink: 0;
}
.feature-title { font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.feature-desc  { font-size: 0.75rem; color: var(--muted); }

/* ── 14. Funding CTA ────────────────────────────────────────── */
.funding-section { padding: 4rem 1.25rem; }
.funding-cta {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, #8B0E15 0%, #5A1414 60%, #3A0D0D 100%);
    color: var(--white);
    padding: 2.5rem 2rem;
}
.funding-cta::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 280px; height: 280px;
    background: repeating-linear-gradient(
        -45deg,
        rgba(255,255,255,0.04) 0px, rgba(255,255,255,0.04) 1.5px,
        transparent 1.5px, transparent 10px
    );
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    pointer-events: none;
}
@media (min-width: 768px) { .funding-cta { padding: 3.5rem; } }

.funding-cta-inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2rem;
    align-items: center;
}
@media (min-width: 768px) {
    .funding-cta-inner { grid-template-columns: 1fr auto; gap: 3rem; }
}

.funding-title {
    font-family: 'Noto Serif Georgian', serif;
    font-weight: 700;
    font-size: 1.625rem;
    color: var(--white);
    line-height: 1.5;
    letter-spacing: -0.01em;
    margin: 0.75rem 0 0.875rem;
}
@media (min-width: 768px) { .funding-title { font-size: 2rem; } }

.funding-lead {
    color: rgba(255,255,255,0.72);
    font-size: 0.9375rem;
    line-height: 1.6;
    max-width: 36rem;
    margin-bottom: 1.75rem;
}
.funding-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.funding-programs { display: flex; flex-direction: column; gap: 0.75rem; min-width: 240px; }
.funding-prog-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.75rem;
    padding: 0.875rem;
    cursor: pointer;
    transition: background 0.15s;
}
.funding-prog-card:hover { background: rgba(255,255,255,0.12); }
.funding-prog-type { font-size: 0.6875rem; color: rgba(255,255,255,0.45); margin-bottom: 0.25rem; }
.funding-prog-name { font-size: 0.875rem; font-weight: 500; color: var(--white); line-height: 1.3; }
.funding-prog-org  { font-size: 0.6875rem; color: rgba(255,255,255,0.45); margin-top: 0.25rem; }

/* ── 15. Footer ─────────────────────────────────────────────── */
.site-footer {
    background: var(--ink);
    color: var(--white);
    padding: 3.5rem 1.25rem 2.5rem;
    margin-top: 4rem;
}
.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    gap: 2.5rem;
}
@media (min-width: 768px) {
    .footer-inner { grid-template-columns: auto 1fr 1fr 1fr; gap: 3rem; }
}

.footer-brand      { font-family: 'Noto Serif Georgian', serif; font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.footer-brand-sub  { color: rgba(255,255,255,0.4); font-size: 0.75rem; margin-top: 0.25rem; }
.footer-brand-desc { color: rgba(255,255,255,0.35); font-size: 0.75rem; margin-top: 1rem; line-height: 1.6; max-width: 180px; }

.footer-col-title  { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; color: rgba(255,255,255,0.35); margin-bottom: 1rem; }
.footer-link {
    display: block;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.15s;
}
.footer-link:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 3rem;
    padding-top: 1.5rem;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
@media (min-width: 640px) {
    .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer-copy  { font-size: 0.75rem; color: rgba(255,255,255,0.35); line-height: 1.5; }
.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem 0.75rem;
}
@media (min-width: 640px) {
    .footer-legal { flex-wrap: nowrap; gap: 1.25rem; }
}
.footer-legal a {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s;
    padding: 0.125rem 0;           /* slightly larger tap target */
}
.footer-legal a:hover { color: rgba(255,255,255,0.75); }

/* ── 16. Utility helpers ────────────────────────────────────── */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.text-sm   { font-size: 0.875rem; }
.text-xs   { font-size: 0.75rem; }
.text-base { font-size: 1rem; }
.text-lg   { font-size: 1.125rem; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-red   { color: var(--red); }
.text-clay  { color: var(--clay); }
.text-muted { color: var(--muted); }
.text-white { color: var(--white); }
.text-ink   { color: var(--ink); }

.w-full { width: 100%; }
.text-center-sm { text-align: left; }
@media (min-width: 640px) { .text-center-sm { text-align: center; } }

/* ── Phase 11 — UI/UX Polish ─────────────────────────────────── */

/* 11·0  CSS variable aliases — views reference --tsili-* prefix */
:root {
    --tsili-red:       var(--red);
    --tsili-red-dark:  var(--red-dark);
    --tsili-ink:       var(--ink);
    --tsili-muted:     var(--muted);
    --tsili-parchment: var(--parchment);
    --tsili-cream:     var(--cream);
    --tsili-clay:      var(--clay);
    --tsili-olive:     var(--olive);
    --tsili-gold:      var(--gold);
    --tsili-sand:      var(--sand);
    --tsili-border:    rgba(234,215,189,0.65);
    --font-serif:      'Noto Serif Georgian', Georgia, serif;
    --font-sans:       'Noto Sans Georgian', -apple-system, sans-serif;
}

/* 11·1  Responsive display / grid utilities (CSS-escaped Tailwind names) */
@media (min-width: 640px) {
    .sm\:inline-flex { display: inline-flex !important; }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3,1fr); }
}
@media (min-width: 768px) {
    .md\:flex         { display: flex !important; }
    .md\:hidden       { display: none !important; }
    .md\:inline-flex  { display: inline-flex !important; }
    .md\:flex-col     { flex-direction: column !important; }
    .md\:grid-cols-3  { grid-template-columns: repeat(3,1fr); }
    .md\:grid-cols-4  { grid-template-columns: repeat(4,1fr); }
    .md\:text-3xl     { font-size: 1.875rem; }
    .md\:text-base    { font-size: 1rem; }
    .md-sidebar       { display: block !important; }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-4  { grid-template-columns: repeat(4,1fr); }
    .lg\:grid-cols-8  { grid-template-columns: repeat(8,1fr); }
}

/* 11·2  Component aliases (home page uses different names than CSS) */
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--red);
    font-family: 'Noto Sans Georgian', sans-serif;
    margin-bottom: 0.5rem;
}
.hero-tag::before {
    content: '';
    display: inline-block;
    width: 1.5rem;
    height: 1px;
    background: currentColor;
    opacity: 0.55;
    flex-shrink: 0;
}
.entrepreneur-steps { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; }
.step-number {
    flex-shrink: 0;
    width: 2rem; height: 2rem;
    border-radius: 9999px;
    background: var(--red);
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.step-text { font-size: 0.8125rem; color: var(--muted); margin-top: 0.125rem; line-height: 1.55; }

/* 11·3  Color & text utilities */
.text-tsili-red      { color: var(--red); }
.text-tsili-red-dark { color: var(--red-dark); }
.text-tsili-ink      { color: var(--ink); }
.text-tsili-muted    { color: var(--muted); }
.text-tsili-clay     { color: var(--clay); }
.text-tsili-olive    { color: var(--olive); }
.bg-tsili-ink        { background-color: var(--ink); }
.bg-tsili-parchment  { background-color: var(--parchment); }
.text-xl    { font-size: 1.25rem; }
.text-2xl   { font-size: 1.5rem; }
.font-serif { font-family: 'Noto Serif Georgian', Georgia, serif; }
.leading-tight    { line-height: 1.4; }
.leading-snug     { line-height: 1.375; }
.leading-relaxed  { line-height: 1.625; }

/* 11·4  Spacing additions (non-duplicates) */
.mt-0  { margin-top: 0; }
.mb-0  { margin-bottom: 0; }
.mb-1  { margin-bottom: 0.25rem; }
.mb-2  { margin-bottom: 0.5rem; }
.mb-3  { margin-bottom: 0.75rem; }
.p-3   { padding: 0.75rem; }
.p-4   { padding: 1rem; }
.p-5   { padding: 1.25rem; }
.px-5  { padding-left: 1.25rem; padding-right: 1.25rem; }
.py-2  { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4  { padding-top: 1rem; padding-bottom: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.max-w-lg { max-width: 32rem; }

/* 11·5  Size utilities */
.w-8     { width: 2rem; }
.w-10    { width: 2.5rem; }
.h-8     { height: 2rem; }
.h-10    { height: 2.5rem; }
.h-0\.5  { height: 2px; }

/* 11·6  Display / layout utilities */
.inline-flex { display: inline-flex; }
.block       { display: block; }
.col-span-4  { grid-column: span 4; }
.gap-1\.5    { gap: 0.375rem; }

/* 11·7  Border / shape utilities */
.rounded    { border-radius: 0.25rem; }
.rounded-xl { border-radius: 0.75rem; }
.border-t   { border-top: 1px solid rgba(234,215,189,0.5); }
.border-b   { border-bottom: 1px solid rgba(234,215,189,0.3); }

/* 11·8  Transition utilities */
.transition-all    { transition: all 0.2s ease; }
.transition-colors { transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease; }

/* 11B  Product card — gentler hover, 2-line name clamp */
.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: rgba(157,17,24,.12);
}
.product-card-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 11E  Mobile section spacing */
@media (max-width: 639px) {
    .hero     { padding: 3rem 1rem 2.5rem; min-height: auto; }
    .section  { padding: 2.5rem 1rem; }
    .section-lg { padding: 3rem 1rem; }
    .funding-cta { padding: 2rem 1.25rem; }
}

/* 11F  Empty state utility */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem;
    text-align: center;
    gap: 0.75rem;
}
.empty-state-icon  { font-size: 3rem; line-height: 1; }
.empty-state-title { font-weight: 600; font-size: 1rem; color: var(--ink); }
.empty-state-desc  { font-size: 0.875rem; color: var(--muted); max-width: 24rem; line-height: 1.6; }

/* 11·9  Footer copy link hover (covers any footer-copy <a> tags) */
.footer-copy a:hover { color: rgba(255,255,255,0.65); }

/* 11G  Nav active state */
.nav-link.active,
.nav-link[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* 11H  Subtle motion */
.card { transition: box-shadow 0.18s ease; }
.hero-stat-card { transition: box-shadow 0.18s ease, transform 0.15s ease; }
.hero-stat-card:hover { box-shadow: var(--shadow); transform: translateY(-1px); }

/* ── Phase 12 — Production UX Polish ─────────────────────────── */

/* 12A  Disabled & loading button states */
.btn:disabled,
.btn-primary:disabled,
.btn-outline:disabled,
.btn-outline-white:disabled,
.btn-clay:disabled,
.btn-ghost:disabled,
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
    pointer-events: none;
}

/* Loading spinner (inline, no lib needed) */
@keyframes tsili-spin { to { transform: rotate(360deg); } }
.spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.35);
    border-top-color: rgba(255,255,255,0.9);
    border-radius: 50%;
    animation: tsili-spin 0.65s linear infinite;
    flex-shrink: 0;
}
.spinner-dark {
    border-color: rgba(37,32,28,0.2);
    border-top-color: var(--ink);
}

/* 12C  Skeleton loader (CSS only) */
@keyframes tsili-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.skeleton {
    background: linear-gradient(90deg, #f0e9e0 25%, #e5d9cb 50%, #f0e9e0 75%);
    background-size: 200% 100%;
    animation: tsili-shimmer 1.6s ease-in-out infinite;
    border-radius: var(--radius);
}
.skeleton-text  { height: 0.875rem; margin-bottom: 0.5rem; border-radius: 4px; }
.skeleton-title { height: 1.25rem;  margin-bottom: 0.75rem; border-radius: 4px; width: 60%; }
.skeleton-img   { aspect-ratio: 4/3; width: 100%; }
.skeleton-card  { padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }

/* 12G  Mobile tap targets — all interactive elements min 44px tall */
.nav-link,
.nav-toggle,
.btn-primary,
.btn-outline,
.btn-outline-white,
.btn-clay,
.btn-ghost,
.btn {
    min-height: 44px;
}
/* Smaller overrideable for explicit compact contexts */
.btn-sm,
.btn-xs {
    min-height: 32px !important;
}
/* Chips / filter pills get 36px — large enough for thumbs */
.badge-chip,
.filter-chip {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

/* 12G  Notification bell in nav — 44px touch area */
.nav-bell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--parchment);
    text-decoration: none;
    font-size: 1rem;
    flex-shrink: 0;
    transition: background 0.15s;
}
.nav-bell:hover { background: var(--sand-60); }
.nav-bell-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: var(--red);
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 0.58rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 1.5px solid var(--parchment);
}
/* Pulse on unread */
.nav-bell-badge.pulse {
    animation: tsili-pulse 2s ease-in-out infinite;
}
@keyframes tsili-pulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(157,17,24,0.4); }
    50%      { box-shadow: 0 0 0 5px rgba(157,17,24,0); }
}

/* 12B  Flash banner dismiss button */
.flash-banner {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
}
.flash-banner-close {
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    opacity: 0.5;
    font-size: 1rem;
    line-height: 1;
    padding: 0.25rem;
    border-radius: 4px;
    flex-shrink: 0;
}
.flash-banner-close:hover { opacity: 1; }
.flash-success { background: rgba(82,107,75,.09); border-bottom: 2px solid rgba(82,107,75,.3); color: #3a5c34; }
.flash-error   { background: rgba(239,68,68,.07); border-bottom: 2px solid rgba(239,68,68,.25); color: #dc2626; }
.flash-info    { background: rgba(59,130,246,.07); border-bottom: 2px solid rgba(59,130,246,.25); color: #2563eb; }
.flash-warning { background: rgba(198,156,90,.09); border-bottom: 2px solid rgba(198,156,90,.35); color: #854d0e; }

/* 12F  Product detail — thumbnail active state */
.gallery-thumb {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.15s;
    aspect-ratio: 1/1;
}
.gallery-thumb:hover  { border-color: rgba(157,17,24,0.3); }
.thumb-active         { border-color: var(--red) !important; }

/* 12D  Notification unread highlight */
.notif-unread {
    border-left: 3px solid var(--red);
    background: rgba(157,17,24,0.025);
}
.notif-read { opacity: 0.78; }

/* 12H  Favicon placeholder (actual .ico exists) */
/* Meta handled by layout */

/* 12  Form field error highlight */
.field-error {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}
.field-error-msg {
    font-size: 0.78rem;
    color: #dc2626;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ══════════════════════════════════════════════════════════════
   Phase UI — Brand / Logo / Hero / Category upgrades
   ══════════════════════════════════════════════════════════════ */

/* ── Brand logo component (nav & footer) ─────────────────────── */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    flex-shrink: 0;
}
.brand-logo-mark {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    display: block;
}
.brand-logo-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.brand-logo-name {
    font-family: 'Noto Serif Georgian', Georgia, serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.brand-logo:hover .brand-logo-name { color: var(--red); }
.brand-logo-sub {
    font-size: 0.57rem;
    color: var(--muted);
    letter-spacing: 0.04em;
    line-height: 1.3;
    white-space: nowrap;
    font-weight: 400;
    font-family: 'Noto Sans Georgian', sans-serif;
}
/* Hide subtitle on very small screens so it doesn't overflow */
@media (max-width: 380px) {
    .brand-logo-sub { display: none; }
}

/* ── Hero premium (burgundy rounded hero box) ────────────────── */
.hero-section {
    padding: 1.5rem 1.25rem 3rem;
}
@media (min-width: 768px) {
    .hero-section { padding: 2rem 1.25rem 4rem; }
}
.hero-premium {
    position: relative;
    overflow: visible;   /* never clip Georgian text */
    background: linear-gradient(135deg, #8B0E15 0%, #5A1414 55%, #3A0D0D 100%);
    border-radius: 1.5rem;
    color: var(--white);
    padding: 3rem 2rem 3rem;
    display: grid;
    gap: 2.5rem;
    align-items: center;
}
@media (min-width: 768px) {
    .hero-premium {
        grid-template-columns: 1fr auto;
        padding: 4rem 3.5rem;
        gap: 3rem;
    }
}
/* Diagonal texture overlay (decoration only) */
.hero-premium::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    background: repeating-linear-gradient(
        -45deg,
        rgba(255,255,255,0.025) 0px, rgba(255,255,255,0.025) 1.5px,
        transparent 1.5px, transparent 11px
    );
    pointer-events: none;
}
.hero-premium-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 0.75rem;
}
.hero-premium-eyebrow::before {
    content: '';
    display: inline-block;
    width: 1.25rem;
    height: 1px;
    background: var(--gold);
    opacity: 0.7;
}
.hero-premium-title {
    font-family: 'Noto Serif Georgian', Georgia, serif;
    font-weight: 700;
    font-size: clamp(1.625rem, 4vw, 2.5rem);
    color: var(--white);
    line-height: 1.45;
    letter-spacing: -0.01em;
    margin: 0 0 1rem;
}
.hero-premium-lead {
    color: rgba(255,255,255,0.78);
    font-size: 0.9375rem;
    line-height: 1.65;
    max-width: 36rem;
    margin-bottom: 2rem;
}
.hero-premium-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Program cards column (hero right) */
.hero-prog-cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
@media (min-width: 768px) {
    .hero-prog-cards { min-width: 250px; max-width: 290px; }
}
/* Hide cards on mobile to keep hero clean */
@media (max-width: 767px) {
    .hero-prog-cards { display: none; }
}
.hero-prog-card {
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    text-decoration: none;
    display: block;
    transition: background 0.15s, border-color 0.15s;
}
.hero-prog-card:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.22);
}
.hero-prog-card-label {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--gold);
    opacity: 0.85;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    font-family: 'Noto Sans Georgian', sans-serif;
}
.hero-prog-card-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.4;
}

/* Tap-target minimum for new button variant */
.btn-ghost-white { min-height: 44px; }

/* ── Category icon size fix — full SVG image fills the slot ─── */
.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0.5rem;
}
/* Slightly larger icon slot so SVG cards show detail */
.category-icon {
    width: 3.5rem;
    height: 3.5rem;
}

/* ── Tsili category icons — on-brand SVG tiles (cream + wine line art) ─── */
.category-icon--art {
    width: 100%;
    max-width: 7rem;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    background: transparent;
    padding: 0;
}
.category-icon--art img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.2s ease;
    filter: drop-shadow(0 6px 11px rgba(60,42,28,0.22));
}
.category-card:hover .category-icon--art img {
    transform: scale(1.07) translateY(-1px);
}

/* ── Trust row ── v2.9 ─────────────────────────────────────────────────── */
.trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.25rem 1.5rem;
    padding: 0.75rem 1.25rem;
    border-top: 1px solid var(--sand-60);
    border-bottom: 1px solid var(--sand-60);
    background: var(--cream);
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--muted);
    white-space: nowrap;
}
.trust-item::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
    opacity: 0.55;
    flex-shrink: 0;
}
@media (max-width: 479px) {
    .trust-item { font-size: 0.68rem; }
    .trust-row  { gap: 0.2rem 1rem; }
}

/* ── Seller Dashboard ── v3.1 ──────────────────────────────── */
.seller-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}
.seller-kpi-card {
    background: white;
    border: 1px solid var(--tsili-border);
    border-radius: var(--radius);
    padding: 1.1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: .85rem;
    text-decoration: none;
    transition: border-color .15s, box-shadow .15s;
}
.seller-kpi-card:hover {
    border-color: var(--red);
    box-shadow: 0 2px 8px rgba(157,17,24,.07);
}
.seller-kpi-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.seller-kpi-value {
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.2;
}
.seller-kpi-label {
    font-size: .68rem;
    color: var(--muted);
    margin-top: .1rem;
}
.seller-quick-actions {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: .75rem;
    margin-bottom: 2rem;
}
.seller-quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .45rem;
    padding: .9rem .5rem;
    background: white;
    border: 1px solid var(--tsili-border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--ink);
    text-align: center;
    transition: border-color .15s, box-shadow .15s;
    cursor: pointer;
    font-family: inherit;
}
.seller-quick-action:hover {
    border-color: var(--red);
    box-shadow: 0 2px 8px rgba(157,17,24,.07);
    color: var(--red);
}
.seller-quick-action--disabled {
    opacity: .45;
    cursor: not-allowed;
    pointer-events: none;
}
.seller-quick-action-icon { font-size: 1.4rem; line-height: 1; }
.seller-quick-action-label { font-size: .75rem; font-weight: 600; line-height: 1.3; }
.seller-status-tab {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .35rem .8rem;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s, color .15s;
}
.seller-status-tab--active  { background: var(--red); color: white; }
.seller-status-tab--inactive { background: rgba(0,0,0,.05); color: var(--muted); }
.seller-status-tab--inactive:hover { background: rgba(0,0,0,.09); color: var(--ink); }
.seller-mobile-card {
    background: white;
    border: 1px solid var(--tsili-border);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
}
/* Product/order mobile card stacks (shown only on small screens) */
.seller-table-view  { display: block; }
.seller-cards-view  { display: none;  }
@media (max-width: 640px) {
    .seller-table-view  { display: none;  }
    .seller-cards-view  { display: block; }
    .seller-kpi-grid    { grid-template-columns: repeat(2, 1fr); gap: .65rem; }
    .seller-quick-actions { grid-template-columns: repeat(3, 1fr); gap: .5rem; }
}
@media (max-width: 900px) {
    .seller-kpi-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Product Form ── v3.1 ─────────────────────────────────── */
.product-form-section {
    background: white;
    border: 1px solid var(--tsili-border);
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
    overflow: hidden;
}
.product-form-section-head {
    padding: .65rem 1.5rem;
    border-bottom: 1px solid var(--tsili-border);
    background: var(--parchment);
}
.product-form-section-title {
    font-size: .68rem;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: .07em;
    text-transform: uppercase;
    margin: 0;
}
.product-form-section-body { padding: 1.5rem; }
.product-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.pf-field { margin-bottom: 1rem; }
.pf-field:last-child { margin-bottom: 0; }
.pf-label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: .4rem;
}
.pf-input {
    width: 100%;
    padding: .65rem 1rem;
    border: 1.5px solid var(--tsili-border);
    border-radius: 10px;
    font-family: inherit;
    font-size: .9rem;
    color: var(--ink);
    background: white;
    box-sizing: border-box;
    outline: none;
    transition: border-color .15s;
}
.pf-input:focus { border-color: var(--red); }
.pf-input--err   { border-color: #dc2626 !important; }
.form-error-text {
    font-size: .73rem;
    color: #dc2626;
    margin-top: .3rem;
    display: block;
}
.upload-dropzone {
    border: 2px dashed var(--tsili-border);
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.upload-dropzone:hover { border-color: var(--red); background: rgba(157,17,24,.02); }
.approval-note {
    border-radius: 10px;
    padding: .75rem 1rem;
    font-size: .82rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}
.approval-note--info    { background: rgba(82,107,75,.06);   border: 1px solid rgba(82,107,75,.2);   color: #374151; }
.approval-note--pending { background: rgba(198,156,90,.08); border: 1px solid rgba(198,156,90,.3); color: #b07d1a; }
.approval-note--warning { background: rgba(239,68,68,.05);  border: 1px solid rgba(239,68,68,.18); color: #b91c1c; }
@media (max-width: 640px) {
    .product-form-grid { grid-template-columns: 1fr; }
    .product-form-section-body { padding: 1.1rem; }
}
