* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f1f5f9;
    color: #1e293b;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

/* ── Cards ── */
.card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: 10px 22px;
    background: #3b82f6;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    margin: 4px;
}
.btn:hover          { background: #2563eb; }
.btn-danger         { background: #ef4444; }
.btn-danger:hover   { background: #dc2626; }
.btn-secondary      { background: #64748b; }
.btn-secondary:hover{ background: #475569; }

/* ── Nav ── */
nav {
    background: white;
    padding: 14px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    margin-bottom: 32px;
}
nav .logo { font-size: 1.2rem; font-weight: 700; text-decoration: none; color: #1e293b; }
nav .nav-links a {
    margin-left: 16px;
    text-decoration: none;
    color: #64748b;
    font-size: 0.9rem;
}
nav .nav-links a:hover { color: #3b82f6; }

/* ── Products ── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    text-align: center;
}
.product-img {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}
.product-info { padding: 16px; }
.product-info h3 { margin-bottom: 6px; }
.product-info p  { color: #64748b; margin-bottom: 12px; }

/* ── Cookie Banner ── */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    background: #1e293b; color: #f1f5f9;
    padding: 16px 24px;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner.hiding  { transform: translateY(100%); }
.cookie-banner-content {
    max-width: 960px; margin: 0 auto;
    display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.cookie-banner-text {
    display: flex; align-items: flex-start; gap: 12px; flex: 1;
}
.cookie-icon { font-size: 1.5rem; flex-shrink: 0; }
.cookie-banner-text strong { display: block; margin-bottom: 4px; color: #f8fafc; }
.cookie-banner-text p  { margin: 0; font-size: 0.82rem; color: #94a3b8; line-height: 1.5; }
.cookie-banner-text a  { color: #60a5fa; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie-decline {
    padding: 9px 18px; background: transparent; color: #94a3b8;
    border: 1px solid #475569; border-radius: 6px; font-size: 0.85rem;
    cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.btn-cookie-decline:hover { background: #334155; color: #e2e8f0; }
.btn-cookie-accept {
    padding: 9px 20px; background: #3b82f6; color: #fff;
    border: none; border-radius: 6px; font-size: 0.85rem;
    font-weight: 600; cursor: pointer; transition: background 0.2s; white-space: nowrap;
}
.btn-cookie-accept:hover { background: #2563eb; }

@media (max-width: 600px) {
    .cookie-banner-content { flex-direction: column; gap: 14px; }
    .cookie-banner-actions { width: 100%; }
    .btn-cookie-decline,
    .btn-cookie-accept { flex: 1; text-align: center; }
}