/* ── custom_webstore.css — Funnelly Webstore ─────────────────────────────── */
/* Loaded after components.css — webstore-specific overrides and page styles  */

/* ── Webstore header ────────────────────────────────────────────────────── */
.webstore-header .navbar { background: var(--white, #fff); box-shadow: 0 1px 0 #e5e7eb; }
.nav-cart { display: flex; align-items: center; }

/* ── Webstore main container ────────────────────────────────────────────── */
.webstore-main { background: #f9fafb; min-height: 60vh; }

/* ── Hero section ───────────────────────────────────────────────────────── */
.webstore-hero {
    background: linear-gradient(135deg, var(--primary, #3b82f6) 0%, #6366f1 100%);
    color: #fff;
    padding: 4rem 0 3rem;
    overflow: hidden;
}
.webstore-hero-inner {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}
@media (min-width: 768px) {
    .webstore-hero-inner { grid-template-columns: 1fr 340px; }
}

.webstore-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.3rem 0.875rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.875rem;
    color: rgba(255,255,255,0.9);
}
.webstore-hero-heading {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 1rem;
    color: #fff;
}
.webstore-hero-sub {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.85);
    margin: 0 0 1.75rem;
    max-width: 520px;
}
.webstore-hero-actions {
    display: flex;
    gap: 0.875rem;
    flex-wrap: wrap;
}
.btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.7);
    color: #fff;
    padding: 0.6875rem 1.375rem;
    border-radius: var(--radius-md, 6px);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background var(--transition-fast, 0.15s), border-color var(--transition-fast, 0.15s);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; }

/* Hero stat cards */
.webstore-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.webstore-hero-cards {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    width: 100%;
    max-width: 280px;
}
.hero-stat-card {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--radius-md, 6px);
    padding: 1.125rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(4px);
}
.hero-stat-card--accent {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
}
.hero-stat-num {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    min-width: 2.5rem;
}
.hero-stat-label {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

/* ── Section headings ───────────────────────────────────────────────────── */
.section-heading-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}
.section-heading {
    font-size: 1.375rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-color, #111);
}
.section-link {
    font-size: 0.9rem;
    color: var(--primary, #3b82f6);
    text-decoration: none;
    font-weight: 500;
}
.section-link:hover { text-decoration: underline; }

/* Spacing helpers for webstore sections */
.py-1 { padding-top: 1rem; padding-bottom: 1rem; }
.py-2 { padding-top: 2rem; padding-bottom: 2rem; }

/* ── Product card enhancements ──────────────────────────────────────────── */
/* Override .container inside product grids — components.css sets flex */
.product-grid .container,
.webstore-main .container { display: block; }

/* Keep product-card images at a consistent aspect ratio */
.product-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #f3f4f6;
    display: block;
}

/* Category pills in webstore context */
.webstore-main .category-pills { padding: 0.25rem 0; }

/* ── Webstore footer ────────────────────────────────────────────────────── */
/* inherits global footer styles */
