.colors-container,
.sizes-container {
    gap: 10px;
}

.color-option,
.size-option {
    transition: all 0.3s ease;
    cursor: pointer;
}

.color-option:hover,
.size-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

.selected-variant-info {
    font-size: 0.9rem;
}

.quantity-container .text-success {
    color: #4b7064 !important;
}

.product-share {
    list-style: none;
    padding: 0;
}

.product-share li {
    margin-left: 10px;
}

.product-share a {
    color: #666;
    transition: color 0.3s ease;
}

.product-share a:hover {
    color: #4b7064;
}

.size-option.opacity-50 {
    opacity: 0.5;
}

.size-option:not(.opacity-50):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.text-info {
    color: #17a2b8 !important;
}

.loading-line {
    position: relative;
    overflow: hidden;
}

.loading-line::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4b7064, transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.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;
}

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

/* Enhanced Loading Styles */
.enhanced-loader {
    position: relative;
    overflow: hidden;
    /* min-height: 60px;
            width: 80px; */
}

.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;
    /* This centers the element */
    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;
}

.size-option {
    position: relative;
    overflow: hidden;
}

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

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

@keyframes globalLoading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.global-loading {
    display: none;
}

div[wire\:loading] .global-loading {
    display: block;
}

.skeleton-loader {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.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;
    }
}

.nav-tabs .nav-link {
    margin: 0px 8px;
    font-size: 18px;
    font-weight: 600;
    color: #555;
    border: 2px solid transparent;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-link:hover {
    border: 2px solid #4b7064;
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.supplier-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em,
        rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
}

.star-rating {
    color: #ffc107;
    direction: ltr;
}

.star-rating-input .btn-link {
    text-decoration: none;
    transition: all 0.2s;
}

.star-rating-input .btn-link:hover i {
    transform: scale(1.2);
}

.review-form-card {
    border-width: 2px;
}

.progress {
    background-color: #e9ecef;
}

.progress-bar {
    border-radius: 4px;
}

.review-item:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.reviews-section .card {
    border-radius: 10px;
    overflow: hidden;
}

.reviews-section .card-header {
    background: linear-gradient(135deg, #4b7064 0%, #559a83 100%);
    color: white;
    border: none;
}

.review-item {
    transition: all 0.3s ease;
}

.review-item:hover {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
}
