:root {
    --bg-900: #0b1220;
    --bg-800: #111827;
    --bg-700: #0f172a;
    --card-bg: rgba(16, 24, 40, 0.65);
    --muted: #b2c0d6;
    --text-strong: #e5ecf5;
    --accent-500: #f97316;
    --accent-400: #fb923c;
    --accent-contrast: #0f172a;
    --border-strong: rgba(255, 255, 255, 0.08);
    --glow: 0 20px 60px rgba(12, 17, 30, 0.6);
}

[data-bs-theme="light"] {
    --bg-900: #f7f8fb;
    --bg-800: #ffffff;
    --bg-700: #eef2ff;
    --card-bg: rgba(255, 255, 255, 0.9);
    --muted: #4b5563;
    --text-strong: #0f172a;
    --accent-contrast: #ffffff;
    --border-strong: rgba(15, 23, 42, 0.08);
    --glow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: radial-gradient(circle at 20% 20%, rgba(251, 146, 60, 0.08), transparent 25%), radial-gradient(circle at 80% 0%, rgba(59, 130, 246, 0.08), transparent 22%), linear-gradient(145deg, var(--bg-900), var(--bg-800));
    color: var(--text-strong);
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--accent-400);
}

.nav-shell {
    background: rgba(12, 17, 30, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-strong);
    box-shadow: var(--glow);
    border-radius: 18px;
    top: 18px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: min(1220px, 96vw);
}

[data-bs-theme="light"] .nav-shell {
    background: rgba(255, 255, 255, 0.92);
}

.nav-tabs .nav-link {
    border: none;
    color: var(--muted);
    font-weight: 600;
}

.nav-tabs .nav-link.active {
    color: var(--text-strong);
    border-bottom: 2px solid var(--accent-500);
}

.nav-shell .nav-link {
    color: var(--text-strong);
}

.nav-shell .nav-link:hover {
    color: var(--accent-400);
}

.nav-shell .navbar-toggler {
    border: none;
    box-shadow: none;
}

.badge-avatar {
    background: var(--accent-500);
    color: var(--accent-contrast);
    border-radius: 10px;
}

.btn-accent {
    background: linear-gradient(120deg, var(--accent-500), var(--accent-400));
    border: none;
    color: var(--accent-contrast);
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-accent:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 36px rgba(249, 115, 22, 0.45);
    color: var(--accent-contrast);
}

.btn-soft {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-strong);
    color: var(--text-strong);
}

.glass-panel {
    background: var(--card-bg);
    border: 1px solid var(--border-strong);
    border-radius: 20px;
    box-shadow: var(--glow);
}

.hero-banner {
    padding: 120px 0 40px;
}

.hero-shell {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero-shell::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 60% 20%, rgba(59, 130, 246, 0.18), transparent 35%);
    z-index: 0;
}

.hero-shell > * {
    position: relative;
    z-index: 1;
}

.hero-headline {
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(59, 130, 246, 0.12);
    color: #bfdbfe;
    border-radius: 999px;
    border: 1px solid rgba(59, 130, 246, 0.28);
}

[data-bs-theme="light"] .hero-badge {
    background: rgba(59, 130, 246, 0.1);
    color: #1d4ed8;
}

.hero-stat {
    color: var(--muted);
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border-strong);
    border-radius: 18px;
    box-shadow: var(--glow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    padding: 12px;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.35);
    border-color: rgba(249, 115, 22, 0.5);
}

.product-card__image {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
}

.product-card__image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.product-card:hover .product-card__image img {
    transform: scale(1.03);
}

.product-card__title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-strong);
}

.product-card__price {
    color: #34d399;
    font-weight: 800;
}

.product-card__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.12);
    color: var(--accent-400);
    font-weight: 600;
    font-size: 0.85rem;
}

.announcement-card {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    box-shadow: var(--glow);
}

.announcement-details {
    backdrop-filter: blur(4px);
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-strong);
    gap: 12px;
    margin: 12px 0;
}

.section-heading h2 {
    margin: 0;
    font-weight: 800;
}

.error-shell {
    min-height: 70vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 48px 16px;
    background: linear-gradient(160deg, rgba(249, 115, 22, 0.12), rgba(59, 130, 246, 0.16));
    border-radius: 24px;
    border: 1px solid var(--border-strong);
    box-shadow: var(--glow);
}

.error-shell h1 {
    font-size: clamp(2.4rem, 3vw, 3rem);
    margin-bottom: 12px;
}

.error-shell p {
    color: var(--muted);
    margin-bottom: 24px;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
