/* ═══════════════════════════════════════
   AFIYETSE — Home Page Styles
   ═══════════════════════════════════════ */

:root {
    --orange: #E8820C;
    --orange-deep: #C46A08;
    --orange-light: #FFF0E0;
    --cream: #FDFAF5;
    --brown: #3D2008;
    --text: #2A1A08;
    --muted: #8A6A50;
    --white: #FFFFFF;
    --radius: 16px;
    --radius-sm: 10px;
}

/* ── HERO ── */
.hero-section {
    background: linear-gradient(160deg, var(--orange) 0%, var(--orange-deep) 100%);
    padding: 36px 24px 40px;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute; top: -60px; right: -60px;
    width: 200px; height: 200px;
    background: rgba(255,255,255,0.06); border-radius: 50%;
}
.hero-section::after {
    content: '';
    position: absolute; bottom: -40px; left: -40px;
    width: 140px; height: 140px;
    background: rgba(255,255,255,0.04); border-radius: 50%;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px; padding: 5px 12px;
    font-size: 12px; color: rgba(255,255,255,0.95);
    font-weight: 500; margin-bottom: 18px; letter-spacing: 0.3px;
}
.hero-title {
    font-size: 32px; line-height: 1.15; color: var(--white);
    font-weight: 900; margin-bottom: 12px; position: relative; z-index: 1;
}
.hero-title em { font-style: italic; color: rgba(255,255,255,0.85); }
.hero-subtitle {
    font-size: 14px; color: rgba(255,255,255,0.82); line-height: 1.6;
    margin-bottom: 24px; position: relative; z-index: 1;
}

/* Hero Search */
.hero-search-form { position: relative; z-index: 1; }
.hero-search-box {
    background: var(--white); border-radius: var(--radius);
    padding: 6px 6px 6px 16px; display: flex; align-items: center;
    gap: 10px; box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.hero-search-icon { font-size: 18px; flex-shrink: 0; }
.hero-search-input {
    flex: 1; border: none; outline: none; font-size: 15px;
    color: var(--text); background: transparent; font-family: inherit; min-width: 0;
}
.hero-search-input::placeholder { color: #C0A898; }
.hero-search-btn {
    background: var(--orange); color: var(--white); border: none;
    border-radius: 10px; padding: 10px 18px; font-size: 14px;
    font-weight: 600; font-family: inherit; cursor: pointer;
    white-space: nowrap; flex-shrink: 0; transition: background 0.2s;
}
.hero-search-btn:hover { background: var(--orange-deep); }

/* Location hint */
.location-hint {
    display: flex; align-items: center; gap: 6px;
    margin-top: 12px; position: relative; z-index: 1;
}
.location-hint span { font-size: 12px; color: rgba(255,255,255,0.7); }
.location-hint strong { font-size: 12px; color: rgba(255,255,255,0.95); font-weight: 600; }
.location-hint .change-link {
    margin-left: auto; font-size: 11px;
    color: rgba(255,255,255,0.5); cursor: pointer; text-decoration: none;
}

/* Hero stats */
.hero-stats {
    display: flex; align-items: center; gap: 0;
    margin-top: 20px; position: relative; z-index: 1;
}
.hero-stat { flex: 1; display: flex; flex-direction: column; align-items: center; }
.hero-stat-number { font-size: 22px; font-weight: 800; color: var(--white); line-height: 1; }
.hero-stat-label { font-size: 11px; color: rgba(255,255,255,0.7); margin-top: 3px; text-align: center; }
.hero-stat-divider { width: 1px; height: 32px; background: rgba(255,255,255,0.2); }

/* ── CATEGORIES ── */
.categories-section { padding: 24px 20px 8px; background: var(--white); }
.section-label {
    font-size: 11px; font-weight: 600; color: var(--muted);
    letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 14px;
}
.category-grid {
    display: flex; gap: 10px; overflow-x: auto;
    padding-bottom: 4px; scrollbar-width: none;
}
.category-grid::-webkit-scrollbar { display: none; }
.category-card {
    display: flex; flex-direction: column; align-items: center;
    gap: 6px; cursor: pointer; flex-shrink: 0; text-decoration: none;
}
.category-icon {
    width: 56px; height: 56px; border-radius: 16px;
    background: var(--orange-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; transition: transform 0.2s;
}
.category-card:hover .category-icon { transform: scale(1.08); }
.category-name {
    font-size: 11px; font-weight: 500; color: var(--text);
    text-align: center; line-height: 1.2; max-width: 60px;
}

/* ── PRODUCTS SECTION ── */
.products-section { padding: 24px 20px; background: var(--cream); }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.section-title { font-size: 20px; font-weight: 700; color: var(--text); margin: 0; }
.see-all { font-size: 13px; font-weight: 600; color: var(--orange); text-decoration: none; }

/* Override product-grid for home page */
.products-section .product-grid { display: flex; flex-direction: column; gap: 16px; }

.products-section .product-card {
    background: var(--white); border-radius: var(--radius);
    overflow: hidden; box-shadow: 0 2px 12px rgba(61,32,8,0.07);
    text-decoration: none; display: block; border: none;
}
.products-section .product-image {
    width: 100%; height: 200px;
    background: linear-gradient(135deg, #C8860A 25%, #E8A030 50%, #C8860A 75%);
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.products-section .product-no-image { font-size: 64px; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2)); background: transparent; height: auto; width: auto; }
.products-section .product-info { padding: 14px 16px 16px; }
.products-section .product-category {
    display: inline-flex; align-items: center; gap: 4px;
    background: rgba(255,255,255,0.92); border-radius: 8px;
    padding: 4px 10px; font-size: 11px; font-weight: 600;
    color: var(--orange); letter-spacing: 0.5px;
    text-transform: uppercase; margin-bottom: 6px;
}
.products-section .product-title { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 6px; line-height: 1.3; }
.products-section .product-seller { font-size: 13px; color: var(--muted); margin-bottom: 12px; display: flex; align-items: center; gap: 5px; }
.seller-avatar-sm {
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--orange-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; flex-shrink: 0;
}
.products-section .product-footer { display: flex; align-items: center; justify-content: space-between; border-top: none; padding-top: 0; }
.products-section .product-price { font-size: 20px; font-weight: 700; color: var(--orange); }
.product-cta {
    background: var(--orange-light); color: var(--orange-deep); border: none;
    border-radius: var(--radius-sm); padding: 9px 16px; font-size: 13px;
    font-weight: 600; font-family: inherit; cursor: pointer;
    text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}

/* ── SELLER SPOTLIGHT ── */
.spotlight {
    margin: 24px 20px;
    background: linear-gradient(135deg, var(--brown) 0%, #5A2D10 100%);
    border-radius: var(--radius); padding: 20px;
    position: relative; overflow: hidden;
}
.spotlight::after {
    content: '👩‍🍳';
    position: absolute; right: 16px; bottom: -8px;
    font-size: 72px; opacity: 0.25;
}
.spotlight-badge {
    display: inline-block;
    background: rgba(232,130,12,0.3); border: 1px solid rgba(232,130,12,0.5);
    border-radius: 20px; padding: 3px 10px;
    font-size: 11px; color: #FFB84D; font-weight: 600;
    letter-spacing: 0.5px; margin-bottom: 10px;
}
.spotlight h3 { font-size: 18px; color: var(--white); font-weight: 700; margin-bottom: 6px; }
.spotlight p { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.5; margin-bottom: 16px; max-width: 200px; }
.spotlight-btn {
    background: var(--orange); color: var(--white); border: none;
    border-radius: var(--radius-sm); padding: 9px 18px;
    font-size: 13px; font-weight: 600; font-family: inherit;
    cursor: pointer; text-decoration: none; display: inline-block;
}

/* ── ACTIVE SELLERS ── */
.sellers-section { padding: 8px 20px 24px; }
.seller-row {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 0; border-bottom: 1px solid #F5EDE4;
    cursor: pointer; text-decoration: none;
}
.seller-row:last-child { border-bottom: none; }
.seller-ava {
    width: 48px; height: 48px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; flex-shrink: 0;
}
.seller-info { flex: 1; }
.seller-name { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.seller-sub { font-size: 12px; color: var(--muted); }
.seller-stats { text-align: right; }
.seller-count { font-size: 13px; font-weight: 600; color: var(--orange); margin-bottom: 2px; }
.seller-rating { font-size: 12px; color: var(--muted); }