/**
 * Quick View Modal Styles
 */

/* Loading state */
#quickview-loading {
    padding: 50px 0;
}

#quickview-loading .spinner-border {
    border-width: 0.3em;
}

/* Attribute sections */
.attribute-section {
    margin-bottom: 20px;
}

.attribute-section .sub-title {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

.attribute-values {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Single attribute selector */
.single-attribute {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    background-color: #fff;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
}

.single-attribute:hover {
    border-color: #d4a574;
    color: #333;
    text-decoration: none;
}

.single-attribute.active {
    border-color: #d4a574;
    background-color: #d4a574;
    color: #fff;
}

.single-attribute .attribute-text {
    display: inline-block;
}

/* Color swatch */
.color-swatch {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #e0e0e0;
    margin-right: 8px;
}

.single-attribute.active .color-swatch {
    box-shadow: 0 0 0 1px #fff;
}

/* Short description */
#quickview-short-description {
    line-height: 1.6;
    color: #666;
    font-size: 14px;
}

/* Product details list */
#quickview-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#quickview-details ul li {
    padding: 5px 0;
    color: #666;
    font-size: 14px;
}

#quickview-details ul li span {
    font-weight: 600;
    color: #333;
}

/* Tags */
#quickview-tags a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

#quickview-tags a:hover {
    color: #d4a574;
}

/* Stock status styling */
#quickview-stock-status {
    color: #28a745;
    font-weight: 600;
}

#quickview-stock-status.out-of-stock {
    color: #dc3545;
}

#quickview-stock-status.on-backorder {
    color: #ffc107;
}

/* Modal adjustments */
.modal-wrapper .modal-dialog {
    max-width: 900px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .attribute-values {
        gap: 8px;
    }
    
    .single-attribute {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .color-swatch {
        width: 18px;
        height: 18px;
    }
}

/* Error state */
.alert {
    margin: 20px;
}

.alert i {
    margin-right: 8px;
}



