.paypo-banner{
    margin:20px 0;
    border:1px solid #e2e2e2;
    border-radius:12px;
    background:#fff;
    overflow:hidden;
}

/* klikany nagłówek */

.paypo-banner__summary{
    list-style:none;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:16px 18px;
    cursor:pointer;
}

.paypo-banner__summary::-webkit-details-marker{
    display:none;
}

.paypo-banner__summary::marker{
    display:none;
    content:"";
}

.paypo-banner__summary:hover{
    background:#fafafa;
}

/* logo + tekst */

.paypo-banner__row{
    display:flex;
    align-items:center;
    gap:16px;
    flex:1;
    min-width:0;
}

/* LOGO */

.paypo-banner__logo{
    width:42%;
    max-width:240px;
    height:auto;
    flex-shrink:0;
}

/* TEKST */

.paypo-banner__title{
    font-size:16px;
    font-weight:600;
    color:#222;
    line-height:1.35;
    flex:1;
}

/* strzałka */

.paypo-banner__arrow{
    flex:0 0 auto;
    width:12px;
    height:12px;
    border-right:2px solid #222;
    border-bottom:2px solid #222;
    transform:rotate(45deg);
    transition:transform .2s ease;
}

.paypo-banner[open] .paypo-banner__arrow{
    transform:rotate(225deg);
}

/* panel po rozwinięciu */

.paypo-banner__panel{
    padding:0 18px 18px 18px;
    border-top:1px solid #f0f0f0;
}

/* opis */

.paypo-banner__text{
    margin:16px 0 14px;
    font-size:14px;
    line-height:1.6;
    color:#444;
}

/* button */

.paypo-banner__button{
    display:inline-block;
    padding:12px 20px;
    border-radius:10px;
    background:#36d399;
    color:#111;
    text-decoration:none;
    font-weight:700;
}

.paypo-banner__button:hover{
    opacity:.9;
    text-decoration:none;
    color:#111;
}

/* MOBILE */

@media (max-width:768px){

.paypo-banner__row{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
}

.paypo-banner__logo{
    width:65%;
    max-width:200px;
}

.paypo-banner__title{
    font-size:15px;
}

.paypo-banner__panel{
    padding:0 14px 14px 14px;
}

.paypo-banner__text{
    font-size:13px;
}

}