.option-card {
    transition: all 0.3s ease;
    min-height: 170px;
}

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

.option-card.selected {
    border-color: #4b7064 !important;
    background-color: #f8fff9;
}

.option-name {
    font-size: 0.9rem;
}

.option-price {
    font-size: 0.85rem;
}

/* Enhanced Loading Styles from product page */
.enhanced-loader {
    position: relative;
    overflow: hidden;
}

.enhanced-loader::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 5;
    border-radius: inherit;
}

.enhanced-loader::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #4b7064;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 6;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.pulse-loader {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

.quick-transition {
    transition: all 0.2s ease-in-out;
}

.floating-loader.show {
    display: flex !important;
    animation: slideIn 0.3s ease-out;
}

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

.loading-spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #4b7064;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-overlay {
    position: relative;
}

.loading-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Size option styles */
.size-option {
    position: relative;
    overflow: hidden;
}

.size-option[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .w-s-100 {
        width: 100% !important;
    }

    .option-card {
        width: 100px !important;
        padding: 10px !important;
    }

    .cart-section .card-body {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .cart-section .card-body > div {
        margin-bottom: 15px;
        width: 100%;
        justify-content: space-between !important;
    }
}
