/* ── AI WooCommerce Additional Info - Frontend CSS v2.0 ── */
/* Dark theme completely removed as requested                */

.ai-woo-attrs-types-wrap {
    margin: 28px 0;
    border-top: 2px solid #e0e0e0;
    padding-top: 22px;
}

.ai-woo-attrs-type-section {
    margin-bottom: 12px;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow .25s ease;
}
.ai-woo-attrs-type-section:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
}

.ai-attrs-type-title {
    background: #f8f8f8;
    padding: 13px 16px;
    margin: 0;
    cursor: pointer;
    font-size: .95em;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #e8e8e8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background .18s ease;
}
.ai-attrs-type-title:hover { background: #f0f0f0; }

.ai-toggle-icon {
    font-size: 11px;
    transition: transform .25s ease;
    display: inline-block;
    color: #888;
}
.ai-woo-attrs-type-section.collapsed .ai-toggle-icon {
    transform: rotate(-90deg);
}
.ai-woo-attrs-type-section.collapsed .ai-attrs-type-content {
    display: none;
}

.ai-attrs-type-content {
    padding: 18px 16px;
    background: #fff;
}

.ai-attrs-type-content table.shop_attributes {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}
.ai-attrs-type-content table.shop_attributes tr {
    border-bottom: 1px solid #f0f0f0;
}
.ai-attrs-type-content table.shop_attributes tr:last-child {
    border-bottom: none;
}
.ai-attrs-type-content table.shop_attributes tr th {
    font-weight: 600;
    width: 35%;
    color: #444;
    padding: 11px 0;
    text-align: left;
    border: none;
    font-size: .9em;
}
.ai-attrs-type-content table.shop_attributes tr th::after { content: ":"; }
.ai-attrs-type-content table.shop_attributes tr td {
    padding: 11px 0;
    color: #555;
    border: none;
    font-size: .9em;
    word-wrap: break-word;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .ai-woo-attrs-types-wrap { margin: 18px 0; padding-top: 16px; }
    .ai-attrs-type-title     { font-size: .9em; padding: 11px 13px; }
    .ai-attrs-type-content   { padding: 14px 13px; }
    .ai-attrs-type-content table.shop_attributes tr th { width: 42%; }
}

@media (max-width: 480px) {
    .ai-attrs-type-content table.shop_attributes tr th,
    .ai-attrs-type-content table.shop_attributes tr td {
        display: block;
        width: 100%;
        padding: 6px 0;
    }
    .ai-attrs-type-content table.shop_attributes tr th { font-weight: 700; margin-bottom: 2px; }
    .ai-attrs-type-content table.shop_attributes tr td { margin-bottom: 10px; }
}

/* ── Print ── */
@media print {
    .ai-woo-attrs-type-section.collapsed .ai-attrs-type-content { display: block !important; }
    .ai-toggle-icon { display: none; }
}
