.products{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 5rem;


}

.product{
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1rem;
    background: #f4fbf8;
}

.product-image{
    font-size: 8rem;

}

body{
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.2px;
    padding: 2rem;
    max-width: 1500px; /* vllt weg */
    margin: auto;
    background: #ffffff;
    color: #111;

}

body, p{
    font-weight: 400;
}

.info{
    margin-bottom: 30px;
}

h2 {
    margin-bottom:15px;
    color: #1f2937;
}

h3{
    color: #6b7280;
}

.buy-btn {
    font-weight: 600;
    margin-top:15px;
    background:#4caf93;
    color:white;
    border:none;
    padding:12px 18px;
    border-radius:10px;
    font-weight:600;
}

.buy-btn:hover{
    background: #3ebf9b;
}

.product:hover {
    transform: translateY(-4px);
    transition: 0.2s;
}

.price{
    font-size:22px;
    font-weight:700;
    color: #111827;
}

.infos {
    max-width: 700px;
    margin: 40px auto;
    padding: 20px;


}

.infos h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 12px;
}

.info {
    color: #374151;
    line-height: 1.5;
    margin: 6px 0;
}

.infos p:last-child {
    color: #2f7d66;
    font-weight: 600;
}

/* Styling für das Zahlungs-Protokoll (Log-Konsole) */
#log-panel {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1400px;
    height: 300px;
    background: rgba(20, 24, 33, 0.95);
    backdrop-filter: blur(10px);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Courier New', Courier, monospace;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
}

#log-panel.collapsed {
    height: 48px;
}

#log-header {
    height: 48px;
    padding: 0 20px;
    background: #181d28;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    user-select: none;
}

.log-title {
    color: #e5e7eb;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.log-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.log-actions button {
    background: #2a3245;
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    font-family: sans-serif;
    transition: all 0.2s ease;
}

.log-actions button:hover {
    background: #3b4760;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

#toggle-log-panel {
    background: #2f7d66 !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 600;
}

#toggle-log-panel:hover {
    background: #3ebf9b !important;
}

#log-entries {
    flex: 1;
    overflow-y: auto;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #0f1219;
}

.log-entry {
    font-size: 13px;
    line-height: 1.5;
    display: flex;
    gap: 10px;
    word-break: break-all;
}

.log-time {
    color: #64748b;
    flex-shrink: 0;
}

.log-source {
    color: #38bdf8;
    font-weight: bold;
    flex-shrink: 0;
}

.log-entry.info .log-message {
    color: #cbd5e1;
}

.log-entry.success {
    background: rgba(16, 185, 129, 0.05);
    border-left: 3px solid #10b981;
    padding-left: 6px;
}

.log-entry.success .log-message {
    color: #34d399;
}

.log-entry.success .log-source {
    color: #34d399;
}

.log-entry.warning {
    background: rgba(245, 158, 11, 0.05);
    border-left: 3px solid #f59e0b;
    padding-left: 6px;
}

.log-entry.warning .log-message {
    color: #fbbf24;
}

.log-entry.warning .log-source {
    color: #fbbf24;
}

.log-entry.error {
    background: rgba(239, 68, 68, 0.05);
    border-left: 3px solid #ef4444;
    padding-left: 6px;
}

.log-entry.error .log-message {
    color: #f87171;
}

.log-entry.error .log-source {
    color: #f87171;
}