.cafe-card {
    position: relative;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cafe-card:hover {
    transform: translateY(-5px);
}

.cafe-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.cafe-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cafe-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.cafe-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #dc3545;
    margin-bottom: 1rem;
}

.cafe-description {
    color: #666;
    margin-bottom: 1rem;
}

.options-section {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.option-group {
    margin-bottom: 1rem;
    width: 100%;
}

.option-group label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.size-select,
.option-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

/* Temperature select styling */
.temp-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    background-color: white;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    margin-bottom: 1rem;
}

.temp-select:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.temp-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.2);
}

/* Required field indicator */
.option-group label.required::after {
    content: "*";
    color: #dc3545;
    margin-left: 4px;
}

/* Disabled state styling */
.temp-select:disabled,
.size-select:disabled,
.option-select:disabled {
    background-color: #e9ecef;
    cursor: not-allowed;
    opacity: 0.7;
}


/* Options group styling */
.options-group {
    margin-bottom: 1rem;
    width: 100%;
}

.options-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

/* Radio button styling for options */
.option-radio {
    display: none;
}

.option-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.option-radio:checked + .option-label {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.option-label:hover {
    border-color: var(--primary-color);
    background-color: rgba(var(--primary-color-rgb), 0.1);
}


.add-to-cart-btn {
    margin-top: auto;
    display: inline-block;
    width: 100%;
    padding: 0.8rem;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.add-to-cart-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.add-to-cart-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .cafe-card {
        margin: 1rem;
    }
}

.added-to-cart-message,
.removed-from-cart-message {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    animation: slideIn 0.3s ease-out;
    z-index: 1000;
}

.added-to-cart-message {
    background-color: #28a745;
}

.removed-from-cart-message {
    background-color: #dc3545;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.cart-quantity {
    color: var(--primary-color);
    font-weight: 500;
    margin: 10px 0;
}

.remove-all-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 10px;
    margin: 10px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.2);
    display: flex;
    gap: 8px;
}

.remove-all-btn:hover {
    background-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.remove-all-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.2);
}

.dynamic-cart-info {
    margin: 10px 0;
}
.dynamic-cart-info p {
    margin: 5px 0;
}