/* ENIGMA — SELLER LEGAL PAGES */

.legal-navigation a.is-active{
    color:#fff;
    background:linear-gradient(135deg,#91606b,#68414a);
    box-shadow:0 9px 22px rgba(105,65,75,.18);
}

.seller-legal-warning{
    margin-bottom:26px;
    padding:20px 22px;
    border:1px solid #e6b9c1;
    border-radius:16px;
    color:#75454e;
    background:#fff0f3;
}

.seller-legal-warning strong{
    display:block;
    margin-bottom:6px;
}

.seller-legal-warning p{
    margin:0;
    color:#8b5c65;
    line-height:1.65;
}

.seller-legal-details{
    margin:0 0 24px;
}

.seller-legal-details > div{
    display:grid;
    grid-template-columns:minmax(170px,.7fr) minmax(0,1.3fr);
    gap:20px;
    padding:15px 0;
    border-bottom:1px solid var(--legal-border);
}

.seller-legal-details > div:first-child{
    padding-top:0;
}

.seller-legal-details dt{
    color:var(--legal-faint);
    font-size:12px;
    font-weight:650;
}

.seller-legal-details dd{
    margin:0;
    color:#504548;
    font-size:14px;
    font-weight:600;
    text-align:right;
    overflow-wrap:anywhere;
}

.seller-legal-list{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin:20px 0 0 !important;
    padding:0 !important;
    list-style:none;
}

.seller-legal-list li{
    position:relative;
    margin:0 !important;
    padding:16px 16px 16px 42px !important;
    border:1px solid var(--legal-border);
    border-radius:13px;
    color:#6e6265;
    background:#fcf9fa;
}

.seller-legal-list li::before{
    content:"";
    position:absolute;
    top:20px;
    left:18px;
    width:8px;
    height:8px;
    border-radius:50%;
    background:#b77b87;
    box-shadow:0 0 0 5px rgba(183,123,135,.10);
}

.seller-legal-steps{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin:22px 0 0 !important;
    padding:0 !important;
    list-style:none;
}

.seller-legal-steps li{
    display:grid;
    grid-template-columns:42px minmax(0,1fr);
    gap:14px;
    align-items:start;
    margin:0 !important;
    padding:15px;
    border:1px solid var(--legal-border);
    border-radius:14px;
    background:#fcf9fa;
}

.seller-legal-steps li > span{
    display:flex;
    width:38px;
    height:38px;
    align-items:center;
    justify-content:center;
    border-radius:11px;
    color:#81505a;
    background:#f3e5e8;
    font-size:10px;
    font-weight:750;
}

.seller-legal-steps p{
    margin:6px 0 0 !important;
}

.seller-legal-basis{
    margin:24px 0;
    padding:24px;
    border:1px solid var(--legal-border);
    border-radius:20px;
    background:linear-gradient(145deg,#fff,#faf6f7);
}

.seller-legal-basis > span{
    display:block;
    margin-bottom:14px;
    color:#9a6b75;
    font-size:10px;
    font-weight:750;
    letter-spacing:.14em;
    text-transform:uppercase;
}

.seller-legal-basis > div{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.seller-legal-basis strong{
    display:inline-flex;
    padding:8px 11px;
    border:1px solid #ead9dd;
    border-radius:999px;
    color:#704b54;
    background:#fbf1f3;
    font-size:10px;
}

.seller-legal-basis p{
    margin:16px 0 0;
    color:#85787b;
    font-size:11px;
    line-height:1.7;
}

.seller-legal-card-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    margin-bottom:22px;
}

.seller-legal-card{
    display:flex;
    min-height:160px;
    padding:22px;
    flex-direction:column;
    border:1px solid var(--legal-border);
    border-radius:20px;
    color:inherit;
    background:linear-gradient(145deg,#fff,#faf7f8);
    text-decoration:none;
    box-shadow:0 15px 38px rgba(60,45,50,.05);
    transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}

.seller-legal-card:hover{
    border-color:#dfbdc4;
    transform:translateY(-3px);
    box-shadow:0 20px 42px rgba(72,48,55,.10);
}

.seller-legal-card > span{
    color:#af7782;
    font-size:10px;
    font-weight:750;
}

.seller-legal-card > strong{
    margin:auto 0 7px;
    color:#4b4043;
    font-size:18px;
}

.seller-legal-card > p{
    margin:0;
    color:#97898c;
    font-size:11px;
}

.seller-legal-primary-link{
    display:inline-flex;
    min-height:45px;
    margin-top:10px;
    padding:0 18px;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    color:#fff;
    background:#504447;
    font-size:11px;
    font-weight:650;
    text-decoration:none;
}

.seller-legal-operator{
    display:flex;
    margin-top:22px;
    padding:22px;
    flex-direction:column;
    gap:5px;
    border:1px solid var(--legal-border);
    border-radius:16px;
    color:#75696c;
    background:#faf6f7;
    font-size:12px;
}

.seller-legal-operator strong{
    margin-bottom:5px;
    color:#4e4346;
}

.footer-legal-links{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.footer-legal-links a{
    color:inherit;
}

@media(max-width:760px){
    .seller-legal-details > div{
        grid-template-columns:1fr;
        gap:6px;
    }

    .seller-legal-details dd{
        text-align:left;
    }

    .seller-legal-list,
    .seller-legal-card-grid{
        grid-template-columns:1fr;
    }
}
