/* Homepage platform tabs + product panels */
.aa-platform {
    padding: 80px 0;
    background: #fff;
}
.aa-platform .wrap {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}
.aa-platform .sec-title {
    text-align: center;
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #253d4e;
    margin: 0 0 10px;
}
.aa-platform .sec-sub,
.aa-platform .aa-platform-intro {
    text-align: center;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 8px;
}
.aa-platform .aa-platform-products-title {
    text-align: center;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: #253d4e;
    margin: 8px 0 28px;
    position: relative;
    display: block;
    padding-bottom: 14px;
}
.aa-platform .aa-platform-products-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 72px;
    height: 4px;
    background: #7a1f2d;
    border-radius: 2px;
}
.aa-plat-tabs {
    display: flex;
    gap: 14px;
    margin: 36px 0 44px;
    flex-wrap: wrap;
    justify-content: center;
}
.aa-plat-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 24px;
    min-width: 138px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
    font: inherit;
    color: inherit;
}
.aa-plat-tab:hover,
.aa-plat-tab.active {
    border-color: #ff5722;
    background: #fff5f0;
    box-shadow: 0 4px 18px rgba(255, 87, 34, .13);
}
.aa-plat-icon {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    color: #fff;
}
.aa-plat-icon i {
    font-size: 22px;
    line-height: 1;
}
.pi-m2 { background: linear-gradient(135deg, #f46f25, #c0390b); }
.pi-od { background: linear-gradient(135deg, #714b67, #a44a7c); }
.pi-woo { background: linear-gradient(135deg, #7f54b3, #b07ae8); }
.pi-sh { background: linear-gradient(135deg, #5e8e3e, #96bf48); }
.aa-plat-name {
    font-size: 13px;
    font-weight: 600;
    color: #2c2c2c;
}
.aa-prod-grid-wrap,
#aa-prod-grid {
    width: 100%;
}
.aa-prod-card--widget {
    width: 100%;
}
.aa-prod-card--widget .block-title {
    display: none;
}
.aa-platform-widget .aa-platform-widget-grid {
    margin: 0;
}
.aa-platform-empty {
    text-align: center;
    color: #6b7280;
    padding: 24px 16px;
}
.aa-view-all {
    text-align: center;
    margin-top: 28px;
}
.aa-view-all .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
@media (max-width: 767.98px) {
    .aa-platform { padding: 48px 0; }
    .aa-platform .wrap { padding: 0 16px; }
    .aa-plat-tab {
        min-width: 110px;
        padding: 15px 14px;
    }
}
