/**
 * FineCenter - Additional Information Manager V5.0.0
 * Stage 5.3.2.6 — External Frontend CSS
 */

.fc-aim4-product-attributes {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    direction: rtl;
}

.fc-aim4-product-attributes tr {
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.fc-aim4-product-attributes tr:last-child {
    border-bottom: 0;
}

.fc-aim4-product-attributes th,
.fc-aim4-product-attributes td {
    padding: 12px 10px;
    vertical-align: top;
    text-align: right;
    border: 0;
    background: transparent;
}

.fc-aim4-product-attributes th {
    width: 32%;
    font-weight: 700;
}

.fc-aim4-product-attributes td {
    width: 68%;
}

.fc-aim4-product-attributes td p {
    margin: 0;
}

.fc-aim4-product-attributes a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.fc-aim4-json-value {
    display: block;
    direction: ltr;
    text-align: left;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.fc-aim4-matritza-information {
    width: 100%;
}

.fc-aim4-matritza-information__status {
    margin: 0 0 12px;
    padding: 9px 12px;
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 5px;
    background: rgba(0,0,0,.035);
    font-size: 14px;
    line-height: 1.5;
}

.fc-aim4-matritza-information__status[hidden] {
    display: none !important;
}

.fc-aim4-matritza-information__status.is-loading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fc-aim4-matritza-information__status.is-loading::before {
    content: '';
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    border: 2px solid currentColor;
    border-left-color: transparent;
    border-radius: 50%;
    animation: fc-aim4-spin .75s linear infinite;
}

.fc-aim4-matritza-information__status.is-error {
    color: #8a2424;
    background: #fcf0f1;
    border-color: #f0b8bd;
}

.fc-aim4-empty {
    margin: 0;
    padding: 14px;
    border: 1px dashed rgba(0,0,0,.18);
    border-radius: 5px;
    text-align: center;
}

/*
 * Quick View safety: the Matritza shortcode keeps one action row for
 * every child in the DOM. Broad Quick View layout rules must never
 * reveal the inactive rows when the information table is replaced.
 */
#fc-ajax-qv-root [data-matritza-child-button]:not(.is-active),
.my-quick-view-box.is-open [data-matritza-child-button]:not(.is-active) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

#fc-ajax-qv-root [data-matritza-child-button]:not(.is-active) .fc-matritza-actions,
#fc-ajax-qv-root [data-matritza-child-button]:not(.is-active) .fc-matritza-qty-row,
.my-quick-view-box.is-open [data-matritza-child-button]:not(.is-active) .fc-matritza-actions,
.my-quick-view-box.is-open [data-matritza-child-button]:not(.is-active) .fc-matritza-qty-row {
    display: none !important;
}

@keyframes fc-aim4-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 767px) {
    .fc-aim4-product-attributes th {
        width: 42%;
    }

    .fc-aim4-product-attributes td {
        width: 58%;
    }

    .fc-aim4-product-attributes th,
    .fc-aim4-product-attributes td {
        padding: 10px 7px;
        font-size: 14px;
    }
}
