/* Kontener szczegółów - domyślnie ukryty */
.m-details-area {
    border-top: 1px solid #f1f4f8;
    display: none;
    background: #fff;
}

/* Pasek zakładek */
.m-tabs-container {
    display: flex;
    background: #f9fbfc;
    border-bottom: 1px solid #f1f4f8;
}

.m-tab-link {
    flex: 1;
    padding: 15px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    color: #1d2b4f;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.m-tab-link:hover {
    background: #f1f4f8;
}

.m-tab-link.active {
    color: #a259ff;
    border-bottom: 3px solid #a259ff;
    background: #fff;
}

/* Treść zakładek */
.m-tab-content {
    padding: 30px;
    display: none;
}

.m-tab-content.active {
    display: block;
}

/* Specyfikacja - Siatka */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px 40px;
}

.spec-item {
    border-bottom: 1px solid #f0f0f0;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.spec-item span {
    color: #888;
    font-weight: 600;
}

.spec-item strong {
    font-weight: 700;
    color: #1d2b4f;
}

/* Słupki ocen (Tab: Oceny) */
.rat-container {
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
}

.rat-row {
    margin-bottom: 15px;
}

.rat-label {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1d2b4f;
}

.rat-bar-bg {
    background: #eee;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.rat-bar-fill {
    background: linear-gradient(90deg, #1cb5e0 0%, #a259ff 100%);
    height: 100%;
    border-radius: 5px;
    width: 0; /* Animowane przez JS lub inline style w PHP */
    transition: width 1s ease-out;
}