.product-advantages {
    margin-top: 30px;
}
.advantages__box {
    display: flex;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 20px;
}

.square-rating {
    display: flex;
    gap: 5px;
}
.square-rating .square {
    width: 20px;
    height: 20px;
    background-color: #ccc;
}
.square-rating .square.filled {
    background-color: #000;
}
.product-specs-table {
    width: 100%;
    border-collapse: collapse;
}

.product-specs table.product-specs-table td.spec-value,
.product-material table.product-material-table td.material-value,
.product-scope-application
    table.product-scope-application-table
    td.scope-application-value {
    text-align: right;
}

.product-specs table.product-specs-table td,
.product-material table.product-material-table td,
.product-scope-application table.product-scope-application-table td {
    padding: 8px;
    border-bottom: 1px solid #333;
    color: #333;
}

.spec-rating-squares,
.materials-rating-squares,
.scope-application-rating-squares {
    display: flex;
    justify-content: end;
    gap: 4px;
}

.spec-square,
.materials-square,
.scope-application-squares {
    width: 16px;
    height: 16px;
    background-color: #000;
    border-radius: 2px;
}

.product-specs h4.product-title,
.product-material h4.product-title,
.product-scope-application h4.product-title,
.advantage-product-scope-application h4.product-title {
    font-weight: 600;
    font-size: 1.2rem;
    border-bottom: 5px solid #333;
}

.content-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-advantages {
    margin: 20px 0;
}

.advantages-title {
    margin-bottom: 20px;
    font-weight: 600;
}

.advantages-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    background-color: #f8f9fa;
}

.advantage-image img {
    display: block;
    height: auto;
    border-radius: 4px;
}

.advantage-content {
    flex: 1;
}

.advantage-title {
    margin: 0 0 8px 0;
    font-weight: 600;
}

.advantage-text {
    margin: 0;
    line-height: 1.5;
}

/* Layout Horizontal */
.layout-horizontal .advantages-container {
    flex-direction: row;
    flex-wrap: wrap;
}

.layout-horizontal .advantage-item {
    flex: 1;
    min-width: 250px;
}

/* Layout Grid */
.layout-grid .advantages-container {
    display: grid;
    gap: 20px;
}

.layout-grid .grid-cols-1 {
    grid-template-columns: 1fr;
}
.layout-grid .grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}
.layout-grid .grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}
.layout-grid .grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Image Position Top */
.image-top .advantage-item {
    flex-direction: column;
    text-align: start;
}

/* Image Position Right */
.image-right .advantage-item {
    flex-direction: row-reverse;
}

/* Responsive */
@media (max-width: 768px) {
    .layout-horizontal .advantages-container {
        flex-direction: column;
    }

    .layout-grid .advantages-container {
        grid-template-columns: 1fr !important;
    }

    .advantage-item {
        flex-direction: column;
        text-align: center;
    }

    .image-right .advantage-item,
    .image-left .advantage-item {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .advantage-item {
        padding: 12px;
    }

    .advantages-container {
        gap: 15px;
    }
}
