/* ═══════════════════════════════════════════════════════════
   Google Reviews Widget — SmartDeal
   Datos reales fetched de Google Places API (cacheado 24h).
   ═══════════════════════════════════════════════════════════ */

/* ─── Variant: COMPACT (pill) ─── */
.sd-reviews-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 100px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    font-size: 13px;
    text-decoration: none;
    color: #101418;
    line-height: 1;
    transition: all 0.15s ease;
}
.sd-reviews-pill:hover {
    border-color: #C5FF3E;
    box-shadow: 0 2px 8px rgba(197,255,62,0.15);
}
.sd-reviews-pill__stars {
    display: inline-flex;
    gap: 1px;
}
.sd-reviews-pill__rating {
    font-weight: 700;
    color: #101418;
}
.sd-reviews-pill__count {
    color: #5D6773;
    font-size: 12px;
}

/* ─── Variant: PDP (head + 2 reviews) ─── */
.sd-reviews-pdp {
    margin: 16px 0;
    padding: 16px;
    background: #FAFAFA;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
}
.sd-reviews-pdp__head {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #101418;
    margin-bottom: 12px;
}
.sd-reviews-pdp__rating {
    font-size: 22px;
    font-weight: 800;
    color: #101418;
    letter-spacing: -0.01em;
}
.sd-reviews-pdp__stars {
    display: inline-flex;
    gap: 2px;
}
.sd-reviews-pdp__count {
    font-size: 13px;
    color: #5D6773;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.sd-reviews-pdp__head:hover .sd-reviews-pdp__count {
    color: #101418;
}
.sd-reviews-pdp__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.sd-reviews-pdp__item {
    background: #FFFFFF;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #F0F0F0;
}
.sd-reviews-pdp__item-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    gap: 8px;
}
.sd-reviews-pdp__item-head strong {
    font-size: 13px;
    font-weight: 600;
    color: #101418;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sd-reviews-pdp__item-stars {
    color: #FFC107;
    font-size: 12px;
    flex-shrink: 0;
    letter-spacing: 1px;
}
.sd-reviews-pdp__item p {
    font-size: 12.5px;
    line-height: 1.45;
    color: #4B5563;
    margin: 0;
}

@media (max-width: 600px) {
    .sd-reviews-pdp__list { grid-template-columns: 1fr; }
}

/* ─── Variant: FULL (sección home) ─── */
.sd-reviews-full {
    margin: 48px auto;
    padding: 0 20px;
    max-width: 1200px;
}
.sd-reviews-full__head {
    text-align: center;
    margin-bottom: 28px;
}
.sd-reviews-full__title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    margin: 0 0 16px;
    color: #101418;
    letter-spacing: -0.02em;
}
.sd-reviews-full__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #101418;
}
.sd-reviews-full__rating {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}
.sd-reviews-full__stars {
    display: inline-flex;
    gap: 2px;
}
.sd-reviews-full__count {
    font-size: 14px;
    color: #5D6773;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.sd-reviews-full__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}
.sd-reviews-full__card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 20px;
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.sd-reviews-full__card:hover {
    border-color: #C5FF3E;
    transform: translateY(-2px);
}
.sd-reviews-full__card header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.sd-reviews-full__card strong {
    font-size: 14px;
    font-weight: 700;
    color: #101418;
}
.sd-reviews-full__card header span {
    color: #FFC107;
    letter-spacing: 1px;
}
.sd-reviews-full__card time {
    font-size: 12px;
    color: #9CA3AF;
    margin-left: auto;
}
.sd-reviews-full__card p {
    font-size: 14px;
    line-height: 1.55;
    color: #4B5563;
    margin: 0;
}
