#ecmdescription, #ecmdescription * {
    transition: all .3s !important;
}

.ecmdescription-title {
    margin-bottom: 15px;
}

.ecmdescription-product-description-container {
    position: relative;
}

.ecmdescription-product-description.truncated {
    max-height: 200px;
    overflow: hidden;
    position: relative;
}

.ecmdescription-description-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    pointer-events: none;
}

.ecmdescription-read-more-btn {
    display: block;
    margin: auto;
    margin-top: 10px;
    position: relative;
    width: 100%;
    border-radius: var(--border-radius);
    border: solid 1px #888;
    color: var(--color-white);
    background: var(--color-blue);
    cursor: pointer;
    padding: .5rem;
}

.ecmdescription-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: 1000;
    overflow: auto;
    transition: background-color 0.3s ease;
}

.ecmdescription-modal-overlay.active {
    background-color: rgba(0, 0, 0, 0.7);
}

.ecmdescription-modal-content {
    background-color: #fff;
    margin: 20px auto;
    padding: 30px;
    width: 90%;
    max-width: 800px;
    border-radius: 5px;
    position: relative;
    margin-bottom: 100px;
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.ecmdescription-modal-overlay.active .ecmdescription-modal-content {
    transform: translateY(0);
    opacity: 1;
}

.ecmdescription-modal-close {
    position: absolute;
    right: 10px;
    top: 10px;
    height: 24px;
    width: 24px;
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 0;
    display: block;
}

.ecmdescription-section {
    margin-bottom: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.ecmdescription-section-header {
    display: flex;
    align-items: stretch;
    background-color: #f9f9f9;
    cursor: pointer;
}

.ecmdescription-section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-blue);
    padding: 0 15px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
}

.ecmdescription-section-icon span {
    color: white;
}

.ecmdescription-section-content-header {
    flex-grow: 1;
    padding: 15px;
    margin-left: 50px;
}

.ecmdescription-section-content-header h3 {
    margin: 0;
    font-size: 18px;
}

.ecmdescription-toggle-container {
    display: flex;
    justify-content: center;
    padding: 5px 0;
    cursor: pointer;
}

.ecmdescription-toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ecmdescription-toggle-icon span {
    color: var(--color-blue);
}

.ecmdescription-section-content {
    padding: 15px 15px 15px 65px;
}

.ecmdescription-section-content.collapsed {
    display: none;
}

.ecmdescription-description-item {
    margin-bottom: 10px;
}

.ecmdescription-description-item:last-child {
    margin-bottom: 0;
}

.ecmdescription-section.expanded .ecmdescription-toggle-icon span {
    transform: rotate(180deg);
}

