.sas-gallery {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.sas-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.sas-item {
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sas-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.sas-item-image {
    height: 250px;
    overflow: hidden;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sas-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sas-no-image {
    color: #999;
    font-size: 14px;
    text-align: center;
}

.sas-item-details {
    padding: 20px;
}

.sas-item-name {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.sas-item-description {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.sas-item-price {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: bold;
    color: #27ae60;
}

.sas-reservation-form {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.sas-size-selector,
.sas-quantity-selector {
    margin-bottom: 15px;
}

.sas-size-selector label,
.sas-quantity-selector label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.sas-size-select,
.sas-quantity-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.sas-reserve-btn {
    width: 100%;
    padding: 12px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease;
}

.sas-reserve-btn:hover:not(:disabled) {
    background: #2980b9;
}

.sas-reserve-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}

.sas-login-message {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
    margin: 0;
}

.sas-login-message a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}

.sas-user-reservations {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #eee;
}

.sas-user-reservations h3 {
    margin-bottom: 20px;
    color: #333;
}

.sas-reservations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.sas-reservation-item {
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.sas-reservation-details {
    margin-bottom: 15px;
    line-height: 1.6;
}

.sas-cancel-reservation-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s ease;
}

.sas-cancel-reservation-btn:hover {
    background: #c0392b;
}

.sas-message {
    padding: 12px 20px;
    border-radius: 4px;
    margin: 20px 0;
    font-weight: bold;
}

.sas-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.sas-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (max-width: 768px) {
    .sas-items-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sas-reservations-grid {
        grid-template-columns: 1fr;
    }
    
    .sas-gallery {
        padding: 15px;
    }
}