/* =========================================
   MAB COMPONENTS
   Shared Design System
========================================= */


/* =========================
   Section Header Premium
========================= */

.mab-section-head{
    position:relative;
    display:block;
    margin-bottom:22px;
    padding:0 0 16px;
    border-bottom:
    1px solid rgba(15,23,42,.08);
}

/* Small accent */
.mab-section-head::before{
    content:"";
    position:absolute;
    right:0;
    bottom:-1px;
    width:80px;
    height:3px;
    border-radius:20px;
    background:
    linear-gradient(
        90deg,
        #2563eb,
        #22c55e
    );
}

/* Title */
.mab-section-head__title{
    position:relative;
    display:flex;
    align-items:center;
    gap:10px;
    margin:0 0 8px;
    font-size:19px;
    line-height:1.6;
    font-weight:950;
    color:#0f172a;
}

/* title marker */
.mab-section-head__title::before{
    content:"";
    width:9px;
    height:9px;
    border-radius:50%;
    background:#2563eb;
    box-shadow:
    0 0 0 5px rgba(37,99,235,.12);
}

/* Subtitle */
.mab-section-head__sub{
    margin:0;
    max-width:75ch;
    font-size:13.5px;
    line-height:2;
    color:#64748b;
}

/* Hover identity for interactive pages */
.mab-section-head:hover::before{
    width:110px;
    transition:.3s ease;
}

/* Mobile */
@media(max-width:560px){
    .mab-section-head{
        margin-bottom:18px;
        padding-bottom:13px;
    }
    .mab-section-head__title{
        font-size:17px;
    }
    .mab-section-head__sub{
        font-size:13px;
    }
}

/* =========================================
   MAB Review Cards
   Shared Comment Component
========================================= */
.mab-review-card{
    flex:0 0 310px;
    scroll-snap-align:start;
    background:rgba(255,255,255,.92);
    border:
    1px solid rgba(15,23,42,.08);
    border-radius:18px;
    padding:16px;
    display:flex;
    flex-direction:column;
    min-height:200px;
    transition:
    transform .18s ease,
    box-shadow .18s ease;
}
.mab-review-card:hover{
    transform:translateY(-3px);
    box-shadow:
    0 18px 40px rgba(2,6,23,.10);
}

/* Review Header */
.mab-review-card__head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:12px;
}
.mab-review-card__type{
    display:inline-flex;
    align-items:center;
    padding:6px 10px;
    border-radius:999px;
    font-size:12px;
    font-weight:900;
    background:rgba(37,99,235,.10);
    border:
    1px solid rgba(37,99,235,.18);
    color:#2563eb;
}
.mab-review-card__type--product{
    background:rgba(22,163,74,.10);
    border-color:
    rgba(22,163,74,.18);
    color:#16a34a;
}
.mab-review-card__topic{
    flex:1;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:12.5px;
    font-weight:900;
    color:#0f172a;
    text-decoration:none!important;
}

/* Review Text */
.mab-review-card__text{
    margin:0;
    flex:1;
    font-size:13px;
    line-height:2;
    color:#475569;
}

/* Review Footer */
.mab-review-card__foot{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-top:14px;
    padding-top:10px;
    border-top:
    1px dashed rgba(15,23,42,.14);
}
.mab-review-card__author{
    font-size:12px;
    font-weight:900;
    color:#0f172a;
}
.mab-review-card__date{
    font-size:12px;
    color:#64748b;
}

/* =========================================
   MAB Horizontal Carousel
   Shared Component
========================================= */
.mab-carousel{
    display:flex;
    overflow-x:auto;
    gap:16px;
    padding-bottom:8px;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
}
.mab-carousel::-webkit-scrollbar{
    height:8px;
}
.mab-carousel::-webkit-scrollbar-thumb{
    background:
    rgba(15,23,42,.18);
    border-radius:999px;
}

/* =========================================
   MAB Reviews Section Wrapper
========================================= */

.mab-reviews{
    direction:rtl;
    margin-top:18px;
    border-radius:18px;
    padding:clamp(16px,2.6vw,24px);
    background:
    rgba(255,255,255,.92);
    border:
    1px solid rgba(15,23,42,.08);
    box-shadow:
    0 14px 36px rgba(2,6,23,.06);
}