/**
 * Product Icons Frontend Styles
 * Fairfield Product Mods Plugin
 */

/* Container */
.fairfield-product-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 10px 0;
    align-items: center;
}

/* Individual icon item */
.product-icon-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    background: #f5f5f5;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    transition: all 0.2s ease;
}

/* Hover effect */
.product-icon-item:hover {
    background: #ececec;
    border-color: #d0d0d0;
}

/* Icon image */
.product-icon-img {
    width: 20px;
    height: 20px;
    display: inline-block;
    object-fit: contain;
}

/* Icon label */
.product-icon-label {
    font-size: 13px;
    color: #333;
    font-weight: 500;
    line-height: 1;
}

/* Flatsome theme specific adjustments */
.product-info .fairfield-product-icons {
    margin-bottom: 15px;
}

/* WooCommerce single product page positioning */
.single-product .fairfield-product-icons {
    clear: both;
}

/* Responsive styles */
@media (max-width: 768px) {
    .fairfield-product-icons {
        gap: 8px;
    }

    .product-icon-item {
        padding: 4px 8px;
        font-size: 12px;
    }

    .product-icon-img {
        width: 18px;
        height: 18px;
    }

    .product-icon-label {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .fairfield-product-icons {
        gap: 6px;
    }

    .product-icon-item {
        padding: 3px 6px;
    }

    .product-icon-img {
        width: 16px;
        height: 16px;
    }

    .product-icon-label {
        font-size: 11px;
    }
}

/* Vertical layout variant */
.fairfield-product-icons.vertical {
    flex-direction: column;
    align-items: flex-start;
}

/* Accessibility */
.product-icon-img[alt] {
    /* Ensure alt text is available for screen readers */
}

/* Print styles */
@media print {
    .fairfield-product-icons {
        page-break-inside: avoid;
    }

    .product-icon-item {
        border: 1px solid #ccc;
    }
}

