/* Quick View Modal Styles */

/* Labels/Badges */
.label-group {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
}

.product-label {
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    text-align: center;
    min-width: 50px;
    display: inline-block;
}

.product-label:empty {
    display: none;
}

.label-hot {
    background: #ff6b6b;
    color: white;
}

.label-sale {
    background: #ffc107;
    color: #333;
}

/* Stock Message */
.stock-message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border-radius: 6px;
    border-left: 4px solid;
    font-size: 14px;
    font-weight: 400;
    margin: 15px 0;
    text-transform: capitalize;
}

.stock-message i {
    font-size: 18px;
}

.stock-message.in-stock {
    background: #d4edda;
    border-left-color: #28a745;
    color: #155724;
}

.stock-message.in-stock i {
    color: #28a745;
}

.stock-message.out-of-stock {
    background: #f8d7da;
    border-left-color: #dc3545;
    color: #721c24;
}

.stock-message.out-of-stock i {
    color: #dc3545;
}

/* Divider */
.divider {
    border: none;
    border-top: 1px solid #e9ecef;
    margin: 15px 0;
}

/* Product Variant / Actions */
.quantity__value:disabled {
    background: #d0d0d0 !important;
    color: #888 !important;
    cursor: not-allowed !important;
    opacity: 0.5 !important;
    pointer-events: none !important;
    font-weight: 400 !important;
}

.quantity__value:disabled:hover {
    background: #d0d0d0 !important;
    color: #888 !important;
    box-shadow: none !important;
}

.quantity__number {
    border: none;
    width: 50px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 0;
}

.quantity__number:focus {
    outline: none;
}

/* Quantity Error - Stock Full Message */
.quantity__error {
    padding: 12px 15px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    border-radius: 6px;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 400;
    margin-top: 8px;
    animation: slideDown 0.3s ease-out;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
    display: none;
    align-items: center;
    gap: 8px;
}

.quantity__error.show {
    display: flex;
}

.quantity__error::before {
    content: '⚠ ';
    font-size: 16px;
    font-weight: 700;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.primary__btn {
    padding: 10px 20px;
    border: 1px solid #0b71b9;
    border-radius: 4px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    height: 3.8rem;
}

.quickview__cart--btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.quickview__cart--btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.quickview__buynow--btn {
    background: #6c757d;
    color: white;
    margin-left: 5px;
}

.quickview__buynow--btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Social Sharing */
.product-single-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sr-only {
    display: none;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-icon:hover {
    color: white;
    transform: translateY(-3px);
}

.social-facebook:hover {
    background: #3b5998;
}

.social-twitter:hover {
    background: #1da1f2;
}

.social-whatsapp:hover,
.fab.fa-whatsapp:hover {
    background: #25d366;
}

.social-linkedin:hover {
    background: #25d366;
}

/* Responsive */
@media (max-width: 768px) {
    .quickview__variant--list {
        flex-direction: column;
    }

    .quickview__cart--btn,
    .quickview__buynow--btn {
        width: 100%;
    }

    .quickview__buynow--btn {
        margin-left: 0;
    }

    .label-group {
        top: 10px;
        right: 10px;
        gap: 5px;
    }

    .product-label {
        padding: 6px 10px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .social-icons {
        flex-wrap: wrap;
    }

    .quantity__box {
        width: 100%;
    }

    .quickview__cart--btn,
    .quickview__buynow--btn {
        width: 100%;
    }
}
