/* KERT Product Details — stile tabelle e sezioni collassabili */

.kert-product-details {
    font-family: inherit;
    max-width: 100%;
}

/* Sezione collassabile */
.kert-section {
    margin-bottom: 8px !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    box-shadow: none !important;
}

.kert-section-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 16px !important;
    cursor: pointer !important;
    background: #fafafa !important;
    border-bottom: 1px solid #e5e5e5 !important;
    user-select: none !important;
    -webkit-user-select: none !important;
}

.kert-section-header:hover {
    background: #f0f0f0 !important;
}

.kert-section-title {
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: #111 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

.kert-section-arrow {
    font-size: 12px !important;
    color: #999 !important;
    transition: transform 0.2s ease !important;
    flex-shrink: 0 !important;
}

.kert-section.kert-collapsed .kert-section-arrow {
    transform: rotate(-90deg) !important;
}

.kert-section.kert-collapsed .kert-section-body {
    display: none !important;
}

/* Tabella pulita */
.kert-table {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 14px !important;
    margin: 0 !important;
    border: none !important;
}

.kert-table tr {
    border: none !important;
    border-bottom: 1px solid #f0f0f0 !important;
    background: #ffffff !important;
    transition: background 0.15s ease !important;
}

.kert-table tr:last-child {
    border-bottom: none !important;
}

.kert-table tr:hover {
    background: #f7f8f9 !important;
}

.kert-table td {
    padding: 10px 16px !important;
    background: transparent !important;
    border: none !important;
    vertical-align: middle !important;
    line-height: 1.5 !important;
    color: #333 !important;
    box-shadow: none !important;
}

.kert-table td:first-child {
    font-weight: 600 !important;
    color: #444 !important;
    width: 40% !important;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .kert-table td {
        padding: 8px 12px !important;
        font-size: 13px !important;
    }
    .kert-table td:first-child {
        width: 45% !important;
    }
    .kert-section-header {
        padding: 10px 12px !important;
    }
    .kert-section-title {
        font-size: 11px !important;
    }
}

@media (max-width: 400px) {
    .kert-table {
        display: block !important;
    }
    .kert-table tr {
        display: flex !important;
        flex-direction: column !important;
        border-bottom: 1px solid #ebebeb !important;
        padding: 6px 0 !important;
    }
    .kert-table td {
        padding: 4px 12px !important;
        width: 100% !important;
    }
    .kert-table td:first-child {
        font-size: 11px !important;
        color: #888 !important;
        padding-bottom: 2px !important;
        width: 100% !important;
    }
}
