/* Cart Modal Styles - Matching gallery design */

/* Discount Preview */
.discount-preview {
    background: #e8f8f5;
    border: 1px solid #27ae60;
    border-radius: 8px;
    padding: 12px;
    margin-top: 15px;
}

.discount-preview .price-line.discount {
    color: #27ae60;
    font-weight: 600;
    margin-bottom: 8px;
}

.discount-details {
    margin-top: 5px;
}

.discount-details small {
    color: #229954;
    display: block;
    line-height: 1.4;
}

.cart-modal {
    background-color: rgba(0, 0, 0, 0.8);
}

.cart-modal .modal-content {
    position: relative;
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    margin: 5vh auto;
    padding: 0;
    display: block;
    height: auto;
}

.cart-modal-content h3 {
    margin: 0;
    color: #e67f0d;
    font-size: 1.5rem;
    padding: 20px 20px 10px;
    border-bottom: 1px solid #eee;
}

.cart-modal-body {
    padding: 20px;
}

.selected-image {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.selected-image img {
    max-width: 150px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.selected-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.selected-image div {
    margin-top: 10px;
    font-weight: 500;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group select,
.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group select:focus,
.form-group input:focus {
    outline: none;
    border-color: #e67f0d;
    box-shadow: 0 0 0 3px rgba(230, 127, 13, 0.1);
}

.price-display {
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.price-display span {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e67f0d;
}

.add-to-cart-submit {
    width: 100%;
    padding: 12px;
    background-color: #e67f0d;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.add-to-cart-submit:hover {
    background-color: #d16a00;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 127, 13, 0.3);
}

.add-to-cart-submit:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Gallery Image Info Styles - Matching gallery design */
.image-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: white;
}

.image-caption {
    flex: 1;
    text-align: left;
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-right: 10px;
}

.add-to-cart-btn {
    padding: 8px 16px;
    background-color: #e67f0d;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.add-to-cart-btn:hover {
    background-color: #d16a00;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 127, 13, 0.3);
}

/* Notification Styles - Matching gallery design */
.cart-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #e67f0d;
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 10000;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 500;
}

.cart-notification.show {
    transform: translateX(0);
}

