/* ================================================================
   ANONAIR SHOP – Styles (exakt wie Philosophy, About, Rules)
   ================================================================ */

* {
    box-sizing: border-box;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

body {
    margin: 0;
    min-height: 100vh;
    background: #f5f5f7;
    color: #111827;
    display: flex;
    flex-direction: column;
    padding: 0;
}

body.dark {
    background: radial-gradient(1200px 700px at 50% -10%, #0b1730 0%, #020617 55%, #000 100%);
    color: #e5e7eb;
}

/* ================================================================
   HEADER – exakt wie auf Philosophy, About, Rules
   ================================================================ */
header.aa-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px max(20px, calc((100vw - 1120px) / 2));
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 30px;
}

body.dark header.aa-header {
    background: rgba(2, 6, 23, 0.9);
    border-bottom: 1px solid #0f172a;
}

.aa-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1; /* ← NEU: nimmt den verfügbaren Platz ein */
}

.aa-title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.aa-title a {
    color: inherit;
    text-decoration: none;
}

.aa-title span {
    color: #2563eb;
}

.aa-sub {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
    letter-spacing: 0.06em;
    text-transform: lowercase;
}

body.dark .aa-sub {
    color: #9ca3af;
}

.aa-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0; /* ← NEU: Buttons bleiben rechts */
}

.aa-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: #e5e7eb;
    font-size: 18px;
    transition: 0.2s;
}

.aa-icon-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

body.dark .aa-icon-btn {
    background: #020617;
    color: #e5e7eb;
    border: 1px solid #1f2937;
}

#donateBtn {
    animation: heartbeat 1.6s ease-in-out infinite;
    background: #fee2e2;
    color: #b91c1c;
}

body.dark #donateBtn {
    background: #450a0a;
    color: #fecaca;
    border: 1px solid #7f1d1d;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.16); }
    45% { transform: scale(0.9); }
    65% { transform: scale(1.08); }
}


/* ================================================================
   SEITENBREITE / AUSRICHTUNG
   Header, Inhalt und Footer folgen derselben Mittelachse.
   ================================================================ */
main {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    flex: 1;
}

/* ================================================================
   PRODUKTLISTE
   ================================================================ */
#product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: transform 0.2s;
}

body.dark .product-card {
    background: #0f172a;
    border: 1px solid #1f2937;
}

.product-card:hover {
    transform: translateY(-4px);
}

.product-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.product-card h3 {
    margin: 12px 0 6px;
    font-size: 16px;
}

.product-card p {
    font-size: 14px;
    color: #555;
    margin: 4px 0;
}

body.dark .product-card p {
    color: #9ca3af;
}

.product-card strong {
    display: block;
    font-size: 18px;
    color: #2196f3;
    margin: 10px 0;
}

.product-card button {
    background: #2196f3;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

.product-card button:hover {
    background: #1976d2;
}

/* ================================================================
   WARENKORB
   ================================================================ */
#cart {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: sticky;
    bottom: 0;
    margin-top: 20px;
}

body.dark #cart {
    background: #0f172a;
    border: 1px solid #1f2937;
}

#cart h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

#cart-items {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
}

#cart-items li {
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

body.dark #cart-items li {
    border-bottom-color: #1f2937;
}

#cart-total {
    font-size: 18px;
    font-weight: 600;
    margin: 12px 0;
}

#checkout-btn {
    background: #4caf50;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s;
}

#checkout-btn:hover {
    background: #388e3c;
}

/* ================================================================
   FOOTER – exakt wie auf Philosophy, About, Rules
   ================================================================ */
footer {
    text-align: center;
    font-size: 13px;
    padding: 16px;
    color: #6b7280;
    border-top: 1px solid #e5e7eb;
    margin-top: 40px;
}

body.dark footer {
    color: #9ca3af;
    border-top-color: #1f2937;
}

footer a {
    color: #2563eb;
    text-decoration: none;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 600px) {
    header.aa-header {
        padding: 10px 14px;
        gap: 10px;
    }

    .aa-left {
        min-width: 0;
    }

    .aa-title {
        font-size: 18px;
    }

    .aa-sub {
        font-size: 10px;
        letter-spacing: 0.035em;
        line-height: 1.35;
    }

    .aa-right {
        width: auto;
        justify-content: flex-end;
    }

    main {
        width: min(100% - 28px, 1120px);
    }
    .shop-notice{
    max-width:900px;
    margin:30px auto;
    padding:0 20px;
}

.shop-notice-box{
    background:#fff8e1;
    border:2px solid #f4b400;
    border-radius:14px;
    padding:30px;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.shop-notice-box h2{
    margin-top:0;
    color:#b26a00;
}

.shop-notice-box p{
    margin:14px 0;
    line-height:1.7;
}

body.dark .shop-notice-box{
    background:#2a2416;
    border-color:#d6a000;
    color:#f3f4f6;
}

body.dark .shop-notice-box h2{
    color:#ffd54f;
}
}