
/* Bapet Service Upsell v5 - mobile first */
.bsu-card{
    --radius: 14px;
    direction: rtl;
    width:100%;
    max-width:100%;
    margin:14px 0 8px;
    padding:10px;
    border:1px solid rgba(15,139,128,.10);
    border-radius:var(--radius);
    background:#fff;
    box-shadow:0 6px 18px rgba(28,39,41,.05);
    overflow:hidden;
}
.bsu-card *{box-sizing:border-box}
.bsu-main{min-width:0}
.bsu-top{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin-bottom:6px;
}
.bsu-pill{
    display:inline-flex;
    align-items:center;
    gap:5px;
    padding:4px 8px;
    border-radius:999px;
    background:#f2fbf8;
    border:1px solid rgba(15,139,128,.14);
    color:#4f6c67;
    font-size:10px;
    font-weight:800;
    line-height:1.2;
}
.bsu-pill i,
.bsu-help i,
.bsu-btn i,
.bsu-service-icon,
.bsu-service-inline i{
    display:inline-flex;
    align-items:center;
    justify-content:center;
}
.bsu-pill i svg,
.bsu-help i svg,
.bsu-btn i svg,
.bsu-service-icon svg,
.bsu-service-inline i svg{
    width:1em;
    height:1em;
    display:block;
}
.bsu-pill--soft{
    background:#fff7f8;
    border-color:rgba(231,182,190,.45);
    color:#9c6872;
}
.bsu-title{
    margin:0 0 4px!important;
    color:#0f5c57!important;
    font-size:18px!important;
    line-height:1.45!important;
    font-weight:900!important;
}
.bsu-desc{
    margin:0 0 7px!important;
    color:#5f6f72!important;
    font-size:12.4px!important;
    line-height:1.75!important;
}
.bsu-product-name{
    margin-bottom:7px;
    padding:6px 8px;
    border-radius:9px;
    background:#f5f8f8;
    color:#667477;
    font-size:10.4px;
    line-height:1.45;
}
.bsu-product-name strong{color:#2f4a47}
.bsu-coupon{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    padding:8px;
    margin-bottom:8px;
    border:1px dashed rgba(15,139,128,.30);
    border-radius:12px;
    background:#fbfefd;
}
.bsu-coupon-code{
    display:flex;
    align-items:center;
    gap:7px;
    min-width:0;
}
.bsu-coupon-code small{
    color:#6e7d7b;
    font-size:9.6px;
    white-space:nowrap;
}
.bsu-coupon-code strong{
    direction:ltr;
    display:inline-block;
    padding:5px 8px;
    border-radius:8px;
    border:1px solid rgba(15,139,128,.14);
    background:#fff;
    color:#0f5c57;
    font-size:15px;
    font-weight:900;
    letter-spacing:.4px;
}
.bsu-coupon-text{
    color:#0f8b80;
    font-size:10.8px;
    font-weight:850;
    text-align:left;
    line-height:1.45;
}
.bsu-actions{
    display:grid;
    grid-template-columns:1fr;
    gap:6px;
    margin-bottom:7px;
}
.bsu-btn{
    min-height:38px;
    display:flex!important;
    align-items:center;
    justify-content:center;
    gap:6px;
    padding:7px 9px;
    border-radius:10px;
    text-decoration:none!important;
    font-size:11px;
    font-weight:900;
    transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.bsu-btn:hover{transform:translateY(-1px)}
.bsu-btn i{
    width:15px;
    height:15px;
    flex:0 0 15px;
}
.bsu-btn--main{
    background:var(--bsu-accent,#0F8B80);
    color:#fff!important;
    box-shadow:0 8px 18px rgba(15,139,128,.18);
    animation:bsuPulse 1.7s ease-in-out infinite;
}
.bsu-btn--main:hover{animation-play-state:paused}
@keyframes bsuPulse{
    0%,100%{box-shadow:0 8px 18px rgba(15,139,128,.18)}
    50%{box-shadow:0 0 0 5px rgba(15,139,128,.10), 0 10px 24px rgba(15,139,128,.22)}
}
.bsu-btn--ghost{
    background:#fff;
    border:1px solid rgba(15,139,128,.24);
    color:#234643!important;
}
.bsu-help{
    display:flex;
    align-items:flex-start;
    gap:6px;
    padding:7px 8px;
    margin-bottom:7px;
    border-radius:10px;
    background:#f4f7f7;
    color:#667578;
    font-size:10px;
    line-height:1.55;
}
.bsu-help i{
    width:15px;
    height:15px;
    flex:0 0 15px;
    color:#0f8b80;
}
.bsu-services{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:6px;
}
.bsu-service{
    display:flex;
    flex-direction:column;
    gap:4px;
    padding:8px;
    min-height:60px;
    border:1px solid rgba(15,139,128,.08);
    border-radius:10px;
    background:#fff;
}
.bsu-service-icon{
    width:26px;
    height:26px;
    border-radius:50%;
    background:#eff8f6;
    color:#0f8b80;
}
.bsu-service-icon svg{width:14px;height:14px}
.bsu-service-text strong{
    display:block;
    margin:0 0 2px;
    color:#234744;
    font-size:9.5px;
    line-height:1.4;
}
.bsu-service-text small{
    display:block;
    color:#7b8a88;
    font-size:8px;
    line-height:1.4;
}

/* Cart */
.bsu-card--cart{
    margin-top:16px;
}
.bsu-services--cart{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin-bottom:7px;
}
.bsu-service-inline{
    display:inline-flex;
    align-items:center;
    gap:5px;
    padding:5px 8px;
    border-radius:999px;
    background:#f6faf9;
    color:#60716f;
    font-size:9px;
    font-weight:800;
}
.bsu-service-inline i{
    width:13px;
    height:13px;
    color:#0f8b80;
}
.bsu-help--cart{margin-bottom:0}
.bsu-coupon--cart{margin-bottom:7px}

/* Hero - desktop only */
.bsu-hero{
    display:none;
}
.bsu-hero img{
    width:100%;
    height:auto;
    display:block;
}

/* Wider mobile / tablet */
@media (min-width: 481px){
    .bsu-card{
        padding:12px;
        border-radius:16px;
    }
    .bsu-title{font-size:20px!important}
    .bsu-desc{font-size:13px!important}
    .bsu-coupon-code strong{font-size:16px}
    .bsu-actions{
        grid-template-columns:1fr 1fr;
    }
    .bsu-btn{font-size:11.5px}
    .bsu-help{font-size:10.6px}
}

/* Desktop single product */
@media (min-width: 769px){
    .bsu-card--single{
        display:grid;
        grid-template-columns:minmax(0,1fr) 110px;
        gap:12px;
        align-items:start;
    }
    .bsu-card--single .bsu-main{
        order:1;
    }
    .bsu-card--single .bsu-hero{
        order:2;
        display:flex;
        align-items:flex-start;
        justify-content:center;
    }
    .bsu-card--single .bsu-hero img{
        max-width:96px;
        max-height:120px;
        object-fit:contain;
        border-radius:14px;
        background:linear-gradient(180deg,#f8fbfb,#f1f7f5);
        padding:10px 6px 0;
    }
}

/* Narrow phone protection */
@media (max-width: 360px){
    .bsu-title{font-size:16px!important}
    .bsu-desc{font-size:11.5px!important}
    .bsu-coupon{
        flex-direction:column;
        align-items:stretch;
    }
    .bsu-coupon-text{
        text-align:right;
    }
    .bsu-services{
        grid-template-columns:1fr;
    }
}
