/* ═══════════════════════════════════════════════════════
   BIONIKO CATALOG — White Medical Theme with Blue Accents
   Brand Colors: #0546FF (blue), #1D1D1B (dark), #FFFFFF, #808080
   Fonts: Creato Display (headings), Roboto (body), Novecento Wide (accents)
   ═══════════════════════════════════════════════════════ */

/* ─── Reset & Base ─── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bioniko-blue: #0546FF;
    --bioniko-blue-dark: #0338CC;
    --bioniko-blue-light: #3A6FFF;
    --bioniko-blue-glow: rgba(5, 70, 255, 0.08);
    --bioniko-blue-glow-strong: rgba(5, 70, 255, 0.15);
    --bioniko-dark: #1D1D1B;
    --bioniko-dark-soft: #2A2A28;
    --bioniko-gray: #808080;
    --bioniko-gray-light: #B0B0B0;
    --bioniko-gray-subtle: #E8E8E8;
    --bioniko-white: #FFFFFF;
    --bioniko-off-white: #F7F8FA;
    --bioniko-surface: #FFFFFF;
    --bioniko-surface-card: #FFFFFF;
    --bioniko-surface-elevated: #F2F4F8;
    --bioniko-text-primary: #1D1D1B;
    --bioniko-text-secondary: #555555;
    --bioniko-text-muted: #999999;
    --bioniko-border: rgba(0,0,0,0.07);
    --bioniko-border-hover: rgba(5, 70, 255, 0.35);
    --font-display: 'Creato Display', 'Helvetica Neue', Arial, sans-serif;
    --font-accent: 'Novecento Wide', 'Creato Display', Arial, sans-serif;
    --font-body: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04);
    --shadow-card-hover: 0 8px 32px rgba(5, 70, 255, 0.10), 0 2px 8px rgba(0,0,0,0.06);
    --shadow-filter: 0 2px 20px rgba(0,0,0,0.06);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bioniko-off-white);
    color: var(--bioniko-text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bioniko-off-white); }
::-webkit-scrollbar-thumb { background: var(--bioniko-blue); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--bioniko-blue-light); }

/* ═══════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════ */
#hero {
    position: relative;
    height: 62vh;
    min-height: 420px;
    max-height: 680px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bioniko-white);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--bioniko-white);
}

.hero-texture {
    position: absolute;
    inset: 0;
    background-image: url('/static/textures/texture-white.png');
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    mix-blend-mode: multiply;
}

/* Wave oval ring — spans the full hero background */
.hero-wave-oval {
    position: absolute;
    inset: 0;
    background-image: url('/static/textures/wave-oval.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.55;
    pointer-events: none;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 55% 55% at center, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
}

/* Subtle blue accent line at the very bottom of the hero */
#hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--bioniko-blue), transparent);
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
    animation: heroFadeIn 1.0s ease-out;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-logo-link {
    display: inline-block;
    transition: var(--transition-smooth);
}
.hero-logo-link:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 0 30px rgba(5, 70, 255, 0.25));
}

.hero-logo {
    width: min(340px, 52vw);
    height: auto;
}

.hero-tagline {
    font-family: var(--font-accent);
    font-weight: 300;
    font-size: clamp(0.75rem, 1.5vw, 1rem);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--bioniko-gray);
    opacity: 0.8;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    animation: scrollHintFade 2.5s ease-in-out infinite;
}

.scroll-hint-label {
    font-family: var(--font-accent);
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--bioniko-gray);
    opacity: 0.7;
}

.scroll-chevron {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.scroll-chevron span {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 1.5px solid var(--bioniko-blue);
    border-bottom: 1.5px solid var(--bioniko-blue);
    transform: rotate(45deg);
    animation: chevronDrop 1.6s ease-in-out infinite;
}

.scroll-chevron span:nth-child(2) {
    animation-delay: 0.2s;
    opacity: 0.6;
}

.scroll-chevron span:nth-child(3) {
    animation-delay: 0.4s;
    opacity: 0.3;
}

@keyframes chevronDrop {
    0%, 100% { opacity: 0.2; transform: rotate(45deg) translateY(-3px); }
    50% { opacity: 1; transform: rotate(45deg) translateY(3px); }
}

@keyframes scrollHintFade {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Legacy scroll-line kept for fallback */
.scroll-line {
    display: none;
}

/* ═══════════════════════════════════════════════════════
   FILTER BAR
   ═══════════════════════════════════════════════════════ */
.filter-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--bioniko-border);
    transition: var(--transition-smooth);
}

.filter-bar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-filter);
}

.filter-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Search */
.filter-search {
    position: relative;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--bioniko-gray);
    pointer-events: none;
}

#search-input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 2.75rem;
    background: var(--bioniko-surface-elevated);
    border: 1px solid var(--bioniko-border);
    border-radius: 100px;
    color: var(--bioniko-text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-fast);
}

#search-input::placeholder {
    color: var(--bioniko-gray-light);
    font-weight: 300;
}

#search-input:focus {
    border-color: var(--bioniko-blue);
    box-shadow: 0 0 0 3px var(--bioniko-blue-glow);
    background: var(--bioniko-white);
}

.search-clear {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--bioniko-gray);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.25rem;
    display: none;
    transition: var(--transition-fast);
}
.search-clear:hover { color: var(--bioniko-text-primary); }
.search-clear.visible { display: block; }

/* Filter Chips */
.filter-families {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: center;
    flex-wrap: wrap;
}
.filter-families::-webkit-scrollbar { display: none; }

.filter-chip {
    flex-shrink: 0;
    padding: 0.4rem 1.1rem;
    background: transparent;
    border: 1px solid var(--bioniko-gray-subtle);
    border-radius: 100px;
    color: var(--bioniko-text-secondary);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
    text-transform: uppercase;
}

.filter-chip:hover {
    border-color: var(--bioniko-blue);
    color: var(--bioniko-blue);
    background: var(--bioniko-blue-glow);
}

.filter-chip.active {
    background: var(--bioniko-blue);
    border-color: var(--bioniko-blue);
    color: var(--bioniko-white);
    font-weight: 500;
    box-shadow: 0 2px 12px rgba(5, 70, 255, 0.25);
}

/* ═══════════════════════════════════════════════════════
   CATALOG GRID
   ═══════════════════════════════════════════════════════ */
.catalog {
    min-height: 60vh;
    padding: 2.5rem 2rem 6rem;
    max-width: 1440px;
    margin: 0 auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.75rem;
}

/* ═══════════════════════════════════════════════════════
   PRODUCT BLOCK (Component)
   ═══════════════════════════════════════════════════════ */
.product-block {
    position: relative;
    background: var(--bioniko-surface-card);
    border: 1px solid var(--bioniko-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(32px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
}

.product-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-block:hover {
    border-color: rgba(5, 70, 255, 0.25);
    box-shadow: 0 12px 40px rgba(5, 70, 255, 0.10), 0 2px 8px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}

/* Image Carousel */
.product-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #F7F8FA 0%, #ECEEF2 100%);
    overflow: hidden;
    flex-shrink: 0;
}

.product-carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-carousel-slide {
    flex: 0 0 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.75rem;
}

.product-carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius-sm);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.10));
}

.product-block:hover .product-carousel-slide img {
    transform: scale(1.05);
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--bioniko-border);
    color: var(--bioniko-text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 3;
    opacity: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-block:hover .carousel-nav { opacity: 1; }
.carousel-nav:hover { background: var(--bioniko-blue); border-color: var(--bioniko-blue); color: white; }
.carousel-prev { left: 0.75rem; }
.carousel-next { right: 0.75rem; }

.carousel-dots {
    position: absolute;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 3;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 0;
}

.carousel-dot.active {
    background: var(--bioniko-blue);
    width: 18px;
    border-radius: 3px;
}

/* NEW Badge */
.product-badge-new {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    background: var(--bioniko-blue);
    color: white;
    font-family: var(--font-accent);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 100px;
    z-index: 3;
    box-shadow: 0 2px 10px rgba(5, 70, 255, 0.3);
}

/* Action Buttons Container */
.product-action-btns {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    z-index: 3;
    align-items: flex-end;
}

/* YouTube Button */
.product-yt-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border: 1px solid var(--bioniko-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    flex-shrink: 0;
}

.product-yt-btn:hover {
    background: #FF0000;
    border-color: #FF0000;
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(255,0,0,0.30);
}

.product-yt-btn svg {
    width: 20px;
    height: 20px;
    fill: #FF0000;
}

.product-yt-btn:hover svg {
    fill: white;
}

/* Shop Button — Shopify green circle icon, matches YouTube button size */
.product-shop-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border: 1px solid var(--bioniko-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    flex-shrink: 0;
}

.product-shop-btn:hover {
    background: #5A8A00;
    border-color: #5A8A00;
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(90, 138, 0, 0.35);
}

.product-shop-btn svg {
    width: 20px;
    height: 20px;
    stroke: #5A8A00;
    fill: none;
}

.product-shop-btn:hover svg {
    stroke: white;
}

/* Product Info */
.product-info {
    padding: 1.4rem 1.6rem 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Blue accent bar at top of info section */
.product-info::before {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--bioniko-blue);
    border-radius: 2px;
    margin-bottom: 0.9rem;
    transition: width 0.3s ease;
}

.product-block:hover .product-info::before {
    width: 56px;
}

.product-sku {
    font-family: var(--font-accent);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--bioniko-blue);
    text-transform: uppercase;
    margin-bottom: 0.45rem;
    opacity: 0.85;
}

.product-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--bioniko-text-primary);
    line-height: 1.25;
    margin-bottom: 0.7rem;
    letter-spacing: -0.01em;
}

.product-description {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--bioniko-text-secondary);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.product-families {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--bioniko-border);
}

.product-family-tag {
    padding: 0.18rem 0.65rem;
    background: transparent;
    border: 1px solid rgba(5, 70, 255, 0.2);
    border-radius: 4px;
    font-family: var(--font-accent);
    font-size: 0.58rem;
    font-weight: 600;
    color: var(--bioniko-blue);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.product-family-tag:hover {
    background: var(--bioniko-blue);
    border-color: var(--bioniko-blue);
    color: white;
    cursor: pointer;
}

/* No image placeholder */
.product-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--bioniko-gray-light);
}

.product-no-image svg {
    opacity: 0.3;
    stroke: var(--bioniko-gray-light);
}

.product-no-image span {
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--bioniko-gray-light);
}

/* ═══════════════════════════════════════════════════════
   NO RESULTS
   ═══════════════════════════════════════════════════════ */
.no-results {
    text-align: center;
    padding: 6rem 2rem;
}

.no-results-icon {
    color: var(--bioniko-gray-light);
    opacity: 0.3;
    margin-bottom: 1.5rem;
}

.no-results-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--bioniko-gray);
    margin-bottom: 1.5rem;
}

.no-results-reset {
    padding: 0.6rem 2rem;
    background: transparent;
    border: 1px solid var(--bioniko-blue);
    border-radius: 100px;
    color: var(--bioniko-blue);
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.no-results-reset:hover {
    background: var(--bioniko-blue);
    color: white;
}

/* ═══════════════════════════════════════════════════════
   ADMIN
   ═══════════════════════════════════════════════════════ */
.admin-trigger {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bioniko-white);
    border: 1px solid var(--bioniko-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 200;
    transition: var(--transition-fast);
    opacity: 0.2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.admin-trigger:hover {
    opacity: 1;
    border-color: var(--bioniko-blue);
    background: var(--bioniko-white);
    box-shadow: 0 4px 16px rgba(5, 70, 255, 0.15);
}

.admin-trigger svg {
    color: var(--bioniko-gray);
}

.admin-trigger:hover svg {
    color: var(--bioniko-blue);
}

.admin-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.admin-panel {
    background: var(--bioniko-white);
    border: 1px solid var(--bioniko-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 420px;
    width: 90%;
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.admin-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--bioniko-gray);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
}
.admin-close:hover { color: var(--bioniko-text-primary); }

.admin-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.admin-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.25rem;
    color: var(--bioniko-text-primary);
}

.admin-subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--bioniko-gray);
    text-align: center;
    margin-bottom: 1.5rem;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.admin-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--bioniko-text-secondary);
    letter-spacing: 0.03em;
}

.admin-input {
    padding: 0.75rem 1rem;
    background: var(--bioniko-surface-elevated);
    border: 1px solid var(--bioniko-border);
    border-radius: var(--radius-sm);
    color: var(--bioniko-text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-fast);
}

.admin-input:focus {
    border-color: var(--bioniko-blue);
    box-shadow: 0 0 0 3px var(--bioniko-blue-glow);
    background: var(--bioniko-white);
}

.admin-btn {
    padding: 0.85rem;
    background: var(--bioniko-blue);
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.admin-btn:hover { background: var(--bioniko-blue-dark); }
.admin-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.admin-btn-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.admin-status {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    text-align: center;
    display: none;
}

.admin-status.success {
    display: block;
    background: rgba(0, 200, 83, 0.08);
    border: 1px solid rgba(0, 200, 83, 0.25);
    color: #00873C;
}

.admin-status.error {
    display: block;
    background: rgba(255, 23, 68, 0.06);
    border: 1px solid rgba(255, 23, 68, 0.2);
    color: #C62828;
}

.admin-status.loading {
    display: block;
    background: var(--bioniko-blue-glow);
    border: 1px solid rgba(5, 70, 255, 0.2);
    color: var(--bioniko-blue);
}

.admin-info {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--bioniko-border);
    font-size: 0.78rem;
    color: var(--bioniko-gray);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* ═══════════════════════════════════════════════════════
   LOADING SCREEN
   ═══════════════════════════════════════════════════════ */
.loading-screen {
    position: fixed;
    inset: 0;
    background: var(--bioniko-white);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.loading-icon {
    width: 60px;
    height: 60px;
    animation: loadingPulse 1.5s ease-in-out infinite;
}

@keyframes loadingPulse {
    0%, 100% { opacity: 0.4; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
}

.loading-bar {
    width: 200px;
    height: 2px;
    background: var(--bioniko-surface-elevated);
    border-radius: 1px;
    overflow: hidden;
}

.loading-bar-fill {
    height: 100%;
    background: var(--bioniko-blue);
    border-radius: 1px;
    width: 0%;
    animation: loadingFill 1.5s ease-in-out forwards;
}

@keyframes loadingFill {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .catalog {
        padding: 2rem 1rem 4rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .filter-bar-inner {
        padding: 0.75rem 1rem;
    }

    .filter-families {
        justify-content: flex-start;
        flex-wrap: wrap;
        overflow-x: visible;
    }

    .hero-logo {
        width: min(280px, 70vw);
    }

    .hero-tagline {
        font-size: 0.7rem;
    }

    .product-name {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-carousel {
        aspect-ratio: 1 / 1;
    }

    .filter-chip {
        font-size: 0.7rem;
        padding: 0.35rem 0.85rem;
    }
}

/* ═══════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════ */
@keyframes blockReveal {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-block.visible {
    animation: blockReveal 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
