:root {
    --shop-primary: #d1495b;
    --shop-primary-dark: #a8324a;
    --shop-dark: #1c2333;
    --shop-bg: #fafafa;
    --shop-surface: #ffffff;
    --shop-border: #e6e6e6;
    --shop-text-muted: #6b7280;
    --radius: 12px;
    --font: "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); background: var(--shop-bg); color: var(--shop-dark); }
a { color: var(--shop-primary-dark); text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 1rem; }

/* Kopfbereich: Logo + Menue oben, mobile-first als Hamburger vorbereitet */
.shop-header {
    background: var(--shop-surface);
    border-bottom: 1px solid var(--shop-border);
    position: sticky;
    top: 0;
    z-index: 50;
}
.shop-header__row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.85rem 1rem; gap: 1rem; max-width: 1100px; margin: 0 auto;
}
.shop-header__brand { font-size: 1.25rem; font-weight: 700; color: var(--shop-dark); }
.shop-header__actions { display: flex; align-items: center; gap: 1rem; font-size: 0.9rem; }
.shop-header__cart {
    background: var(--shop-primary); color: #fff; padding: 0.4rem 0.8rem; border-radius: 999px;
    font-weight: 600;
}
.shop-nav {
    display: flex; gap: 1.25rem; overflow-x: auto; padding: 0 1rem 0.75rem;
    max-width: 1100px; margin: 0 auto; -webkit-overflow-scrolling: touch;
}
.shop-nav a { white-space: nowrap; font-size: 0.9rem; color: var(--shop-dark); }
.shop-nav a:hover { color: var(--shop-primary); }

/* Grid-Utilities, bewusst schlank statt komplettes Bootstrap zu laden */
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, 1fr); } }

.card {
    background: var(--shop-surface); border: 1px solid var(--shop-border); border-radius: var(--radius);
    padding: 1rem; transition: box-shadow .15s ease, transform .15s ease;
}
.card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); transform: translateY(-2px); }

.product-card img { border-radius: 8px; aspect-ratio: 1/1; object-fit: cover; margin-bottom: 0.6rem; background: #f0f0f0; }
.product-card h3 { font-size: 1rem; margin: 0 0 0.3rem; }
.product-card .price { font-weight: 700; color: var(--shop-primary-dark); }

.btn {
    display: inline-block; background: var(--shop-primary); color: #fff; border: none;
    padding: 0.65rem 1.3rem; border-radius: 8px; font-size: 0.95rem; cursor: pointer; text-align: center;
}
.btn:hover { background: var(--shop-primary-dark); }
.btn-secondary { background: var(--shop-dark); }
.btn-block { display: block; width: 100%; }

form label { display: block; margin: 0.65rem 0 0.25rem; font-size: 0.85rem; color: var(--shop-text-muted); }
form input, form select, form textarea {
    width: 100%; padding: 0.6rem 0.75rem; border: 1px solid var(--shop-border); border-radius: 8px; font-size: 0.95rem;
    font-family: inherit;
}

section { padding: 1.5rem 0; }
h1 { font-size: 1.5rem; }
h2 { font-size: 1.2rem; }

.alert { padding: 0.7rem 1rem; border-radius: 8px; font-size: 0.9rem; margin-bottom: 1rem; }
.alert-error { background: #fdecea; color: #a8324a; }
.alert-success { background: #e6f6ea; color: #1c7c30; }

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 0.55rem 0.7rem; border-bottom: 1px solid var(--shop-border); font-size: 0.9rem; }

.shop-footer {
    background: var(--shop-dark); color: #cbd3e0; padding: 2rem 1rem; margin-top: 3rem; font-size: 0.85rem;
}

.badge-lock {
    display: inline-block; font-size: 0.75rem; background: #fdf3e3; color: #92600c; padding: 0.15rem 0.5rem; border-radius: 999px;
}

/* Mobile-first: auf kleinen Screens Formularaktionen als volle Breite */
@media (max-width: 480px) {
    .btn { width: 100%; }
    .shop-header__brand { font-size: 1.05rem; }
}
