:root{--femi-gold:#d3b574;--femi-gold-dark:#a9823f;--femi-ink:#2f2b26;--femi-muted:#6f6a63;--femi-line:#eadfcd;--femi-soft:#fbf8f1;--femi-soft-2:#fffdf8;--femi-error:#8a2f2f}
.femi-return-shell{max-width:1040px;margin:24px auto;padding:0;background:#fff;border:1px solid var(--femi-line);border-radius:12px;overflow:hidden;color:var(--femi-ink);box-shadow:0 10px 28px rgba(69,53,30,.07);font-size:15px;line-height:1.55;font-weight:400}
.woocommerce-MyAccount-content .femi-return-shell{max-width:none;margin:0;border-color:var(--femi-line)}
.femi-return-head{padding:26px 28px 22px;background:linear-gradient(180deg,#fffaf0 0%,#fff 100%);color:var(--femi-ink);border-bottom:1px solid var(--femi-line)}
.woocommerce-MyAccount-content .femi-return-head{padding-top:24px}
.femi-return-head span{display:inline-block;margin:0 0 7px;color:var(--femi-gold-dark);font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.femi-return-head h2{margin:0;color:var(--femi-ink);font-size:30px;line-height:1.15;font-weight:500;letter-spacing:-.01em}
.femi-return-head p{max-width:650px;margin:9px 0 0;color:var(--femi-muted);font-size:15px;font-weight:400}
.femi-tabs{display:flex;gap:8px;border-bottom:1px solid var(--femi-line);background:#fff;padding:14px 22px 12px}
.femi-tabs button{appearance:none;border:1px solid var(--femi-line);border-radius:8px;background:#fff;padding:10px 16px;cursor:pointer;font-weight:500;color:var(--femi-muted);transition:.15s ease}
.femi-tabs button:hover{border-color:var(--femi-gold);color:var(--femi-ink)}
.femi-tabs button.is-active{background:var(--femi-gold);border-color:var(--femi-gold);color:#fff}
.femi-tab-panel{display:none;padding:22px}.femi-tab-panel.is-active{display:block}
.femi-panel{border:1px solid var(--femi-line);border-radius:10px;padding:20px;margin:0 0 18px;background:#fff;box-shadow:0 6px 18px rgba(69,53,30,.04)}
.femi-panel h3,.femi-return-form h3{margin:0 0 10px;color:var(--femi-ink);font-size:20px;line-height:1.25;font-weight:500;letter-spacing:-.01em}
.femi-return-form label{display:block;margin:14px 0;font-weight:500;color:var(--femi-ink)}
.femi-return-form input[type=text],.femi-return-form input[type=url],.femi-return-form select,.femi-return-form textarea{width:100%;box-sizing:border-box;margin-top:6px;padding:11px 12px;border:1px solid var(--femi-line);border-radius:8px;background:#fff;color:var(--femi-ink);outline:none;transition:.15s ease;font-weight:400}
.femi-return-form input[type=text]:focus,.femi-return-form input[type=url]:focus,.femi-return-form select:focus,.femi-return-form textarea:focus{border-color:var(--femi-gold);box-shadow:0 0 0 3px rgba(211,181,116,.14)}
.femi-return-form button,.femi-return-cta{display:inline-flex;align-items:center;justify-content:center;background:var(--femi-gold);color:#fff!important;border:0;border-radius:8px;padding:11px 20px;font-weight:500;cursor:pointer;text-decoration:none!important;box-shadow:0 6px 14px rgba(185,146,75,.20);transition:.15s ease}
.femi-return-form button:hover,.femi-return-cta:hover{background:#c29f58;color:#fff!important;box-shadow:0 8px 18px rgba(185,146,75,.24)}
.femi-compact-form{display:grid;grid-template-columns:1fr 1fr auto;gap:13px;align-items:end}.femi-compact-form label{margin:0}.femi-compact-form button{min-height:44px;white-space:nowrap}
.femi-return-success{background:#f4fbf0;border:1px solid #c5dfba;padding:14px 16px;border-radius:10px;margin:22px 22px 16px;color:#27542b}.femi-return-error,.femi-inline-error{background:#fff5f5;border:1px solid #efc7c7;padding:13px 15px;border-radius:8px;margin:0 0 16px;color:var(--femi-error);font-weight:500}.femi-return-error{margin:22px 22px 16px}.femi-order-found{background:var(--femi-soft);border:1px solid var(--femi-line);border-radius:10px;padding:15px 18px;margin:0 0 20px;color:var(--femi-ink)}
.femi-return-item{border:1px solid var(--femi-line);border-radius:10px;padding:15px;margin:12px 0;background:#fff;box-shadow:0 5px 14px rgba(69,53,30,.035)}
.femi-check-row{display:flex!important;gap:13px;align-items:center;margin:0 0 12px!important}.femi-check-row input{flex:0 0 auto;width:17px;height:17px;accent-color:var(--femi-gold)}.femi-thumb img{width:68px;height:68px;object-fit:cover;border-radius:8px;border:1px solid var(--femi-line);background:#fff}.femi-check-row small{color:var(--femi-muted)}
.femi-item-fields{display:grid;grid-template-columns:120px 1fr;gap:14px;padding-left:44px}.femi-muted{color:var(--femi-muted);font-weight:400}.femi-radio{font-weight:500!important}
.femi-next-steps{border:1px solid var(--femi-line);border-radius:10px;background:#fff;padding:20px;margin:0 22px 20px;box-shadow:0 8px 20px rgba(69,53,30,.05)}.femi-step-block{padding:0 0 18px;margin:0 0 18px;border-bottom:1px solid var(--femi-line)}.femi-step-block:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}.femi-next-steps h3{margin:0 0 10px;font-size:20px;color:var(--femi-ink);font-weight:500;text-transform:uppercase;letter-spacing:.02em}.femi-next-steps h4{margin:0 0 8px;color:var(--femi-gold-dark);font-size:14px;text-transform:uppercase;letter-spacing:.06em;font-weight:500}.femi-next-steps p{margin:10px 0;color:var(--femi-muted)}.femi-info-box{background:var(--femi-soft);border:1px solid var(--femi-line);border-radius:8px;padding:14px;margin:12px 0}.femi-info-box ul{margin:8px 0 0 20px;padding:0}.femi-return-options{display:grid;grid-template-columns:1fr 1fr;gap:16px}.femi-return-option{border:1px solid var(--femi-line);border-radius:10px;padding:16px;background:var(--femi-soft-2)}.femi-return-option address{font-style:normal;line-height:1.7;color:var(--femi-ink);font-weight:500;margin-top:8px}
.femi-order-list{display:grid;grid-template-columns:1fr;gap:10px}.femi-order-link{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:14px;align-items:center;text-decoration:none;border:1px solid var(--femi-line);border-radius:10px;padding:14px;color:var(--femi-ink);background:#fff;transition:.15s ease}.femi-order-link:hover{border-color:var(--femi-gold);box-shadow:0 8px 18px rgba(69,53,30,.06)}.femi-order-meta strong,.femi-order-meta small{display:block}.femi-order-meta small{margin-top:3px;color:var(--femi-muted)}.femi-order-total{font-weight:500;white-space:nowrap}.femi-order-action{display:inline-flex;align-items:center;justify-content:center;min-width:82px;border-radius:8px;background:var(--femi-gold);color:#fff;padding:8px 13px;font-weight:500}
.femi-return-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;border:1px solid var(--femi-line);border-radius:10px;padding:14px;margin:10px 0;background:#fff;text-decoration:none;color:var(--femi-ink);transition:.15s ease}.femi-return-card:hover,.femi-return-card.is-active{border-color:var(--femi-gold);box-shadow:0 8px 18px rgba(69,53,30,.06)}.femi-return-card span{display:block}.femi-return-card small{display:block;margin-top:5px;color:var(--femi-muted);font-size:12px;text-align:right}.femi-status{display:inline-block;padding:5px 10px;border-radius:8px;background:#fff4d8;color:#8a6421;font-weight:500;font-size:12px}
.femi-return-details{border:1px solid var(--femi-line);background:var(--femi-soft);border-radius:10px;padding:16px;margin:0 0 16px}.femi-return-details-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.femi-return-details-head strong,.femi-return-details-head span{display:block}.femi-return-detail-items{display:grid;gap:10px}.femi-return-detail-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;background:#fff;border:1px solid var(--femi-line);border-radius:8px;padding:12px}.femi-return-detail-item strong,.femi-return-detail-item small,.femi-return-detail-item span{display:block}.femi-return-detail-item small{color:var(--femi-muted);margin-top:3px}.femi-return-detail-item>div:last-child{text-align:right;white-space:nowrap}
@media(max-width:760px){.femi-return-shell{margin:10px;border-radius:10px}.femi-return-head{padding:24px 18px 20px}.femi-return-head h2{font-size:26px}.femi-return-head p{font-size:15px}.femi-tabs{overflow:auto;padding:12px 14px}.femi-tab-panel{padding:16px 14px}.femi-panel{padding:17px}.femi-compact-form{grid-template-columns:1fr}.femi-compact-form button{height:auto;width:100%}.femi-item-fields{grid-template-columns:1fr;padding-left:0}.femi-check-row{align-items:flex-start}.femi-thumb img{width:58px;height:58px}.femi-order-link{grid-template-columns:1fr}.femi-order-action{width:100%;box-sizing:border-box}.femi-return-card{grid-template-columns:1fr}.femi-return-card small{text-align:left}.femi-next-steps,.femi-return-success,.femi-return-error{margin-left:14px;margin-right:14px}.femi-return-options{grid-template-columns:1fr}.femi-return-detail-item{grid-template-columns:1fr}.femi-return-detail-item>div:last-child{text-align:left;white-space:normal}.femi-return-details-head{display:block}.femi-return-details-head .femi-status{margin-top:8px}}

/* 0.4.0 - spokojniejszy, czytelniejszy widok instrukcji i szczegółów zwrotu */
.femi-return-shell{border-radius:6px;box-shadow:0 6px 18px rgba(69,53,30,.045)}
.femi-return-head{padding:24px 28px 20px}
.femi-return-head h2{font-weight:400}
.femi-return-head p{font-weight:400}
.femi-return-form button,.femi-return-cta,.femi-order-action{border-radius:5px;font-weight:400;box-shadow:none}
.femi-panel,.femi-return-item,.femi-order-link,.femi-return-card,.femi-return-details{border-radius:6px;box-shadow:none}
.femi-next-steps{border:0;border-radius:0;background:#fff;padding:4px 28px 28px;margin:0;box-shadow:none}
.femi-step-block{padding:24px 0;margin:0;border-bottom:1px solid var(--femi-line)}
.femi-step-block:first-child{padding-top:12px}
.femi-next-steps h3{font-size:22px;text-transform:none;letter-spacing:0;font-weight:400;margin:4px 0 12px;color:var(--femi-ink)}
.femi-next-steps h4{font-size:13px;font-weight:500;letter-spacing:.04em;color:var(--femi-gold-dark);margin:0 0 10px;text-transform:uppercase}
.femi-next-steps p{font-size:15px;line-height:1.65;color:var(--femi-muted);margin:8px 0;max-width:720px}
.femi-step-number{display:inline-block;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--femi-gold-dark);font-weight:500;margin-bottom:3px}
.femi-step-with-image{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:26px;align-items:start}
.femi-step-image{border:1px solid var(--femi-line);background:#fff;padding:10px;max-width:340px}
.femi-step-image img{display:block;width:100%;height:auto}
.femi-simple-list{margin:10px 0 12px 20px;padding:0;color:var(--femi-muted);line-height:1.7}
.femi-return-options{gap:18px;margin-top:10px}
.femi-return-option{border-radius:6px;padding:20px;background:#fffdf9;box-shadow:none}
.femi-wygodne-logo{display:block;max-width:260px;width:100%;height:auto;margin:0 0 10px}
.femi-return-card small{font-size:12px;color:var(--femi-muted);text-align:left;margin-top:4px}
.femi-return-details-head small{display:block;margin-top:4px;color:var(--femi-muted);font-size:13px;font-weight:400}
.femi-return-detail-item{grid-template-columns:74px minmax(0,1fr) auto;border-radius:6px;padding:12px;align-items:center}
.femi-detail-thumb img{width:62px;height:62px;object-fit:cover;border:1px solid var(--femi-line);background:#fff}
.femi-detail-product small,.femi-detail-meta small{color:var(--femi-muted);font-size:12px;margin-top:3px}
.femi-detail-meta{text-align:right;white-space:nowrap}
.femi-detail-meta span{display:block;font-weight:400}
@media(max-width:760px){.femi-return-head{padding:22px 18px 18px}.femi-next-steps{padding:2px 18px 22px}.femi-step-with-image{grid-template-columns:1fr;gap:14px}.femi-step-image{max-width:none}.femi-return-detail-item{grid-template-columns:58px minmax(0,1fr);gap:10px}.femi-detail-thumb img{width:50px;height:50px}.femi-detail-meta{grid-column:2;text-align:left;white-space:normal}.femi-return-options{grid-template-columns:1fr}}


/* 0.4.1 - instrukcja jako harmonijka */
.femi-return-instruction-wrap{border-top:1px solid var(--femi-line);background:#fff}
.femi-instruction-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 28px;background:#fff;border:0;border-bottom:1px solid var(--femi-line);color:var(--femi-ink);cursor:pointer;text-align:left;font:inherit}
.femi-instruction-toggle span{display:block;font-size:18px;font-weight:400;color:var(--femi-ink)}
.femi-instruction-toggle small{display:block;font-size:13px;font-weight:400;color:var(--femi-muted);margin-top:2px}
.femi-instruction-toggle:after{content:'–';display:flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid var(--femi-line);border-radius:50%;color:var(--femi-gold-dark);font-size:20px;line-height:1;flex:0 0 auto}
.femi-return-instruction-wrap.is-collapsed .femi-instruction-toggle:after{content:'+'}
.femi-return-instruction-wrap.is-collapsed .femi-instruction-toggle{border-bottom:0}
.femi-return-instruction-wrap .femi-next-steps{border-top:0}
@media(max-width:760px){.femi-instruction-toggle{padding:16px 18px}.femi-instruction-toggle span{font-size:17px}.femi-instruction-toggle{align-items:flex-start}.femi-instruction-toggle:after{width:28px;height:28px}}

/* 0.4.2 - instrukcja tylko wtedy, gdy jest potrzebna + czytelny status */
.femi-return-success{margin:20px 28px 10px;border:0;background:#f7fbf2;color:#38532d;border-radius:6px;padding:16px 18px;font-weight:400}
.femi-return-instruction-wrap{margin:0 0 18px;background:#fff;border:1px solid var(--femi-line);border-radius:6px;overflow:hidden}
.femi-return-success + .femi-return-instruction-wrap{margin:0;border-left:0;border-right:0;border-radius:0}
.femi-panel .femi-return-instruction-wrap{margin-top:12px}
.femi-instruction-toggle{padding:16px 20px}
.femi-instruction-toggle:after{border-radius:6px;width:28px;height:28px;font-size:18px}
.femi-return-instruction-wrap .femi-next-steps{padding:4px 22px 24px}
.femi-return-progress{display:grid;grid-template-columns:repeat(5,1fr);gap:0;margin:16px 0 18px;border:1px solid var(--femi-line);border-radius:6px;background:#fff;overflow:hidden}
.femi-progress-step{position:relative;display:flex;align-items:center;gap:8px;padding:12px 10px;color:var(--femi-muted);font-size:12px;border-right:1px solid var(--femi-line);min-width:0}
.femi-progress-step:last-child{border-right:0}
.femi-progress-step span{width:9px;height:9px;border-radius:50%;border:1px solid #cfc6b8;background:#fff;flex:0 0 auto}
.femi-progress-step small{font-size:12px;line-height:1.25;font-weight:400;white-space:normal}
.femi-progress-step.is-done span{background:var(--femi-gold);border-color:var(--femi-gold)}
.femi-progress-step.is-current{background:#fffaf0;color:var(--femi-ink)}
.femi-progress-step.is-current small{font-weight:500}
.femi-return-details{background:#fffdf9}
.femi-return-detail-item{box-shadow:none}
.femi-detail-thumb img{border-radius:4px}
@media(max-width:760px){.femi-return-success{margin:16px 18px 8px}.femi-return-progress{grid-template-columns:1fr;margin:14px 0}.femi-progress-step{border-right:0;border-bottom:1px solid var(--femi-line)}.femi-progress-step:last-child{border-bottom:0}.femi-return-instruction-wrap .femi-next-steps{padding:2px 16px 20px}}


/* 0.4.3 - wygładzony formularz zgłaszania zwrotu: więcej oddechu na desktopie i mobile */
.femi-return-items-form{
    max-width:920px;
    margin:0 auto 8px;
    padding:26px 30px 30px;
    background:#fff;
    border:1px solid var(--femi-line);
    border-radius:6px;
    box-sizing:border-box;
}
.femi-tab-panel > .femi-return-items-form:first-child{margin-top:2px}
.femi-order-found + .femi-return-items-form{margin-top:18px}
.femi-return-items-form > h3{
    margin-top:26px;
    padding-top:24px;
    border-top:1px solid var(--femi-line);
    font-size:21px;
    font-weight:400;
}
.femi-return-items-form > h3:first-of-type{
    margin-top:0;
    padding-top:0;
    border-top:0;
}
.femi-return-items-form > .femi-muted{
    margin:0 0 18px;
    max-width:680px;
    font-size:15px;
    line-height:1.6;
}
.femi-order-found{
    max-width:920px;
    margin:0 auto 18px;
    padding:16px 20px;
    border-radius:6px;
    background:#fffdf9;
    box-sizing:border-box;
}
.femi-return-items{
    display:grid;
    gap:12px;
    margin:14px 0 26px;
}
.femi-return-item{
    margin:0;
    padding:18px;
    border-radius:6px;
    background:#fff;
}
.femi-check-row{
    gap:15px;
    padding:0;
}
.femi-check-row span:last-child{
    min-width:0;
    line-height:1.35;
}
.femi-check-row strong{
    display:block;
    font-size:15px;
    font-weight:500;
    color:var(--femi-ink);
}
.femi-check-row small{
    display:block;
    margin-top:4px;
    font-size:12px;
}
.femi-thumb img{
    border-radius:4px;
}
.femi-item-fields{
    margin-top:14px;
    padding:14px 0 0 91px;
    border-top:1px solid #f1e8d8;
    grid-template-columns:120px minmax(220px,1fr);
    align-items:end;
}
.femi-item-fields label,
.femi-return-items-form > label{
    font-size:14px;
    font-weight:400;
    color:var(--femi-muted);
}
.femi-return-form input[type=text],
.femi-return-form input[type=url],
.femi-return-form select,
.femi-return-form textarea{
    min-height:43px;
    border-radius:5px;
    padding:10px 12px;
    font-size:15px;
    line-height:1.4;
}
.femi-return-form textarea{
    min-height:104px;
    resize:vertical;
}
.femi-return-items-form > label{
    margin:15px 0;
}
.femi-return-items-form button[type=submit]{
    margin-top:10px;
    min-height:44px;
    padding:11px 22px;
    border-radius:5px;
    font-size:15px;
    font-weight:400;
}
.femi-compact-form{
    gap:16px;
}
.femi-compact-form label{
    font-size:14px;
    font-weight:400;
    color:var(--femi-muted);
}
.femi-panel{
    padding:24px;
}
.femi-panel > h3:first-child{
    font-weight:400;
}
.femi-inline-error{
    max-width:920px;
    margin:0 auto 16px;
    border-radius:6px;
    font-weight:400;
}
@media(max-width:760px){
    .femi-return-shell{
        margin:8px 0;
        border-left:0;
        border-right:0;
        border-radius:0;
    }
    .femi-tab-panel{
        padding:14px 12px 18px;
    }
    .femi-panel{
        padding:18px 16px;
        margin-bottom:14px;
    }
    .femi-order-found{
        margin:0 0 14px;
        padding:14px 15px;
    }
    .femi-return-items-form{
        margin:0;
        padding:18px 15px 20px;
        border-radius:6px;
    }
    .femi-return-items-form > h3{
        font-size:19px;
        margin-top:22px;
        padding-top:20px;
    }
    .femi-return-items-form > .femi-muted{
        font-size:14px;
        margin-bottom:14px;
    }
    .femi-return-item{
        padding:14px;
    }
    .femi-check-row{
        display:grid!important;
        grid-template-columns:22px 58px minmax(0,1fr);
        gap:10px;
        align-items:start;
    }
    .femi-check-row input{
        margin-top:18px;
    }
    .femi-thumb img{
        width:54px;
        height:54px;
    }
    .femi-check-row strong{
        font-size:14px;
    }
    .femi-item-fields{
        padding:13px 0 0;
        margin-top:12px;
        grid-template-columns:1fr;
        gap:10px;
    }
    .femi-return-form input[type=text],
    .femi-return-form input[type=url],
    .femi-return-form select,
    .femi-return-form textarea{
        font-size:16px;
    }
    .femi-return-items-form button[type=submit]{
        width:100%;
    }
    .femi-inline-error{
        margin:0 0 14px;
    }
}


.femi-return-empty-panel{
    text-align:center;
    padding-top:30px;
    padding-bottom:32px;
}
.femi-return-back-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-top:16px;
    min-height:42px;
    padding:10px 22px;
    border:1px solid #d3b574;
    border-radius:6px;
    background:#fff;
    color:#8f7538;
    font-size:14px;
    font-weight:500;
    text-decoration:none!important;
    line-height:1.25;
}
.femi-return-back-link:hover{
    background:#fbf8f0;
    color:#6f5a28;
}
@media (max-width: 640px){
    .femi-return-back-link{
        width:100%;
    }
}
