/* ============================================================
   Liquidation Mart — Product Accordions
   ============================================================ */

.lm-accordions {
    margin: 40px 0;
    border-top: 1px solid #e0e0e0;
}

/* Accordion Item */
.lm-accordion {
    border-bottom: 1px solid #e0e0e0;
}

/* Title / Trigger Button */
.lm-accordion-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #111111;
    text-align: left;
    letter-spacing: 0.01em;
}

.lm-accordion-title:hover {
    color: #cc0000;
}

/* Chevron Icon */
.lm-chevron {
    display: inline-block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    transition: transform 0.18s ease;
}

.lm-accordion.lm-open .lm-chevron {
    transform: rotate(180deg);
}

/* Content Panel — animated with max-height slide */
.lm-accordion-content {
    overflow: hidden;
    max-height: 0;
    padding-bottom: 0;
    transition: max-height 0.22s ease, padding-bottom 0.22s ease;
}

/* Override the [hidden] attribute so we can animate instead of snap */
.lm-accordion-content[hidden] {
    display: block !important;
    max-height: 0;
}

.lm-accordion.lm-open .lm-accordion-content {
    max-height: 800px;
    padding-bottom: 20px;
}

/* Checklist (Product Details) */
.lm-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lm-checklist li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

.lm-checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cc0000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

/* Info Table (Materials, Dimensions) */
.lm-info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    border: none !important;
    background: none !important;
}

.lm-info-table tr {
    border: none !important;
    border-bottom: 1px solid #ebebeb !important;
    background: none !important;
}

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

.lm-info-table td {
    padding: 12px 0;
    vertical-align: top;
    line-height: 1.6;
    border: none !important;
    background: none !important;
}

.lm-info-table td:first-child {
    color: #1f2124;
    font-weight: 600;
    width: 200px;
    min-width: 160px;
    padding-right: 24px;
    font-size: 13px;
}

/* !important needed — Elementor injects link/text colour into accordion content */
.lm-info-table td:last-child {
    color: #1a1a1a !important;
    font-weight: 400;
    text-align: right;
}

/* Mobile — stack label above value */
@media ( max-width: 640px ) {
    .lm-info-table tr {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid #ebebeb !important;
    }
    .lm-info-table tr:last-child {
        padding-bottom: 0;
    }
    .lm-info-table td {
        display: block;
        width: 100% !important;
        padding: 0 !important;
        min-width: unset;
    }
    .lm-info-table td:first-child {
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: #1f2124;
        font-weight: 600;
        margin-bottom: 3px;
    }
    .lm-info-table td:last-child {
        font-size: 14px;
        text-align: left !important;
    }
}
