* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /*font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;*/
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    font-family: "Open Sans", sans-serif;
    background: #E5E1D5;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

header {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    color: #667eea;
    font-size: 24px;
}

.logo { max-width:100px; width:96%; }
.logo img { max-width: 100%; height: auto; }

.cart-icon a {
    background: #873a10;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: transform 0.2s;
    display: inline-block;
}

.cart-icon a:hover {
    transform: scale(1.05);
    background: #000000;
}

.cart-icon i { margin-right:8px; opacity:.5; }
.cart-icon a:hover i { opacity:1; }

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.program-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.program-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.program-card h3 {
    padding: 15px 15px 5px;
    font-size: 20px;
    color: #333;
}

.program-card p {
    padding: 0 15px;
    color: #666;
    line-height: 1.5;
    font-size: 14px;
}

.price {
    padding: 10px 15px;
    font-size: 24px;
    font-weight: bold;
    color: #667eea;
}

.quota {
    padding: 0 15px;
    color: #888;
    font-size: 13px;
}

.event-date {
    padding: 5px 15px;
    color: #666;
    font-size: 14px;
}

.add-to-cart {
    padding: 15px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.qty-input {
    width: 60px;
    padding: 8px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
}

.add-to-cart-btn {
    flex: 1;
    background: #48bb78;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    font-weight: bold;
}

.add-to-cart-btn:hover {
    background: #38a169;
}

.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-success {
    background: #c6f6d5;
    color: #22543d;
    border: 1px solid #9ae6b4;
}

.alert-error {
    background: #fed7d7;
    color: #742a2a;
    border: 1px solid #fc8181;
}

@media (max-width: 768px) {
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 15px;
    }
}