/* Cultioo — Seller Store Page */

* {
    margin: 0; padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
*::-webkit-scrollbar { display: none; }

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Light.ttf') format('truetype');
    font-weight: 400;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    color: #111111;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ==================== NAV ==================== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: box-shadow 0.25s ease;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.05); }

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.18s ease;
}
.nav-logo:hover { opacity: 0.7; }
.nav-logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
}
.nav-logo .big  { color: #111111; }
.nav-logo .bite { color: rgba(0,0,0,0.25); font-weight: 400; }
.nav-badge {
    display: inline-flex;
    align-items: center;
    background: #111111;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 50px;
    margin-left: 10px;
}

.nav-actions { display: flex; align-items: center; gap: 10px; }

.btn-browse {
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: #111111;
    background: #f4f4f4;
    border: none;
    border-radius: 50px;
    padding: 10px 22px;
    text-decoration: none;
    transition: background 0.18s ease;
}
.btn-browse:hover { background: #ebebeb; }

.btn-account {
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    background: #111111;
    border: none;
    border-radius: 50px;
    padding: 10px 22px;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease;
}
.btn-account:hover { background: #333333; transform: translateY(-1px); }

/* ==================== SELLER HERO ==================== */
.seller-hero {
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 40px 80px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}
.seller-hero::before {
    content: '';
    position: absolute;
    top: -200px; left: 50%;
    transform: translateX(-50%);
    width: 900px; height: 900px;
    background: radial-gradient(circle, rgba(0,0,0,0.025) 0%, transparent 70%);
    pointer-events: none;
}

.seller-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    position: relative;
    z-index: 1;
}

.seller-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f7f7f7;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #aaaaaa;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease both;
}
.eyebrow-dot {
    width: 6px; height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.6; transform: scale(0.8); }
}

.seller-avatar {
    width: 100px; height: 100px;
    border-radius: 26px;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    animation: fadeInUp 0.65s 0.05s ease both;
    flex-shrink: 0;
}
.seller-avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.avatar-fallback {
    font-size: 2.4rem;
    font-weight: 700;
    color: #cccccc;
}

.seller-title {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    color: #111111;
    line-height: 0.9;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
    animation: fadeInUp 0.7s 0.1s ease both;
}

.seller-handle {
    font-size: 1.1rem;
    color: #bbbbbb;
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeInUp 0.7s 0.15s ease both;
}

.seller-rating {
    margin-bottom: 24px;
    animation: fadeInUp 0.7s 0.2s ease both;
}
.stars-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.star { font-size: 1.2rem; }
.star.filled { color: #ffc107; }
.star.half   { color: #ffc107; opacity: 0.55; }
.star.empty  { color: #e0e0e0; }
.rating-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #888888;
    margin-left: 4px;
}
.no-rating {
    font-size: 0.9rem;
    color: #cccccc;
    font-weight: 600;
}

.seller-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.7s 0.25s ease both;
}
.seller-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f7f7f7;
    color: #666666;
    font-size: 0.84rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
}

/* ==================== STATS STRIP ==================== */
.stats-strip {
    background: #f7f7f7;
    border-radius: 32px;
    margin: 0 40px 0;
    padding: 36px 60px;
    animation: fadeInUp 0.7s 0.3s ease both;
}
.stats-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #111111;
    letter-spacing: -0.04em;
    line-height: 1;
}
.stat-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #cccccc;
}
.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(0,0,0,0.08);
}

/* ==================== PRODUCTS SECTION ==================== */
.products-section {
    padding: 80px 40px 120px;
}
.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.section-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #cccccc;
    margin-bottom: 16px;
    display: block;
}
.section-title {
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 700;
    color: #111111;
    line-height: 1.0;
    letter-spacing: -0.03em;
    margin-bottom: 48px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

/* ==================== PRODUCT CARD ==================== */
.product-card {
    background: #f7f7f7;
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.18s ease;
    opacity: 0;
    transform: translateY(20px);
}
.product-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.22s ease, background 0.18s ease;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.1);
    background: #f0f0f0;
}

.product-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #efefef;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.product-card:hover .product-img-wrap img {
    transform: scale(1.04);
}

.product-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.product-name {
    font-size: 0.98rem;
    font-weight: 700;
    color: #111111;
    line-height: 1.35;
}
.product-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111111;
}
.product-unit {
    font-size: 0.82rem;
    font-weight: 400;
    color: #999999;
}
.price-na {
    font-size: 0.85rem;
    font-weight: 600;
    color: #cccccc;
}

.product-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding: 11px 20px;
    background: #111111;
    color: #ffffff;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.18s ease, transform 0.18s ease;
    align-self: flex-start;
}
.product-btn:hover { background: #333333; transform: translateY(-1px); }

/* ==================== STATES ==================== */
.products-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 0;
    color: #cccccc;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.loading-spinner {
    width: 32px; height: 32px;
    border: 3px solid #eeeeee;
    border-top-color: #111111;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 0;
    color: #cccccc;
    font-size: 1rem;
    font-weight: 600;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
    .nav { padding: 0 20px; }
    .stats-strip { margin: 0 16px; padding: 28px 24px; }
    .stats-inner { gap: 32px; }
    .stat-divider { display: none; }
    .seller-hero { padding: 120px 24px 60px; }
    .products-section { padding: 60px 20px 80px; }
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
}

@media (max-width: 600px) {
    .btn-browse { display: none; }
    .seller-title { letter-spacing: -0.03em; }
    .products-grid { grid-template-columns: 1fr 1fr; }
}
