/* =========================================
   Product Info Tabs
   ========================================= */

.product-info-tabs {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 40px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border: 1px solid #E2E8F0;
}

/* Info Section */
.info-section {
    background: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
    box-sizing: border-box;
}

.info-section:last-child {
    border-bottom: none;
}

/* Header */
.info-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 25px;
    background: #F0F4F9;
    border-bottom: 1px solid #E2E8F0;
}

.info-header svg {
    width: 24px;
    height: 24px;
    color: #0F172A;
    flex-shrink: 0;
}

.product-info-tabs .info-header h3 {
    margin: 0 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #0F172A !important;
    line-height: 1.4 !important;
    padding: 0 !important;
}

/* Content */
.info-content {
    padding: 10px 25px;
    color: #647284;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 400;
}

.info-content p {
    margin: 0 0 16px 0;
    color: #647284;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.3;
}

.info-content p:last-child {
    margin-bottom: 0;
}

/* Lists */
.info-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.info-content ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 6px;
    color: #647284;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.3;
}

/* Bold text from editor */
.info-content strong,
.info-content b {
    font-weight: 500;
}

.info-content ul li:last-child {
    margin-bottom: 0;
}

.info-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: #3B82F6;
    border-radius: 50%;
}

/* Specs List (Технічні характеристики) */
.specs-list {
    margin: 0;
    padding-bottom: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 5px 20px;
}

.spec-row {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 0 0 8px 0;
    border: none;
    border-bottom: 1px solid #E2E8F0;
    position: relative;
}

.spec-row dt {
    font-weight: 400;
    color: #647284;
    margin: 0;
    font-size: 16px;
    line-height: 1.3;
}

.spec-row dd {
    font-weight: 400;
    color: #647284;
    margin: 0;
    font-size: 16px;
    line-height: 1.3;
}

/* Product Sets - назва товару в наборі */
.product-set-title {
    font-weight: 600;
    color: #647284;
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 0px;
    padding-top: 32px;
    grid-column: 1 / -1;
}

.product-set-title:first-child {
    padding-top: 2px;
}

/* Розділювач між товарами - ВИДАЛЕНО */
.product-set-divider {
    display: none;
}

/* Mobile */
@media (max-width: 768px) {
    .product-info-tabs {
        margin: 30px 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .info-header {
        padding: 16px 20px;
    }

    .info-header svg {
        width: 24px;
        height: 24px;
    }

    .info-header h3 {
        font-size: 18px;
    }

    .info-content {
        padding: 10px 16px !important;
        font-size: 16px;
        line-height: 1.3;
    }

    .info-content p {
        font-size: 16px;
        line-height: 1.3;
    }

    .info-content ul li {
        padding-left: 24px;
        margin-bottom: 6px;
        font-size: 16px;
        line-height: 1.3;
    }

    .specs-list {
        grid-template-columns: 1fr;
        gap: 3px;
        padding-bottom: 6px;
    }

    .spec-row {
        padding: 0 0 6px 0;
        border-bottom: 1px solid #E2E8F0;
        gap: 2px;
    }

    .spec-row dt {
        font-size: 16px;
        line-height: 1.3;
        margin-bottom: 0;
    }

    .spec-row dd {
        font-size: 16px;
        line-height: 1.3;
    }

    .product-set-title {
        margin-bottom: 6px;
        padding-top: 26px;
        font-size: 16px;
        line-height: 1.3;
    }

    .product-set-title:first-child {
        padding-top: 8px;
    }

    .product-set-divider {
        margin: 8px 0;
    }
}

/* iOS */
@supports (-webkit-touch-callout: none) {
    .info-content strong,
    .info-content b {
        font-weight: 500;
    }

    .product-set-title {
        font-weight: 600 !important;
    }
}