/* Checkout Premium Metis Revo 2.4.3 – górna część strony zamówienia
   Metis Media | metismedia.pl
   Pasek darmowej dostawy u góry, „Masz już konto w RevoLife?”, panel logowania mieszczący się na telefonie,
   Facebook i Google w barwach marek, bez Social Login w sekcji „Informacje o dostawie”. */

html body.revolife-premium-checkout-page .rpc-shell .rpc-native-billing-hook-before > div:has(> .nsl-container),
html body.revolife-premium-checkout-page .rpc-shell .rpc-native-billing-hook-before .nsl-container{display:none!important}

/* ---------- 1. pasek darmowej dostawy ---------- */
html body.revolife-premium-checkout-page .rpc-shell .rpc-free-top{display:flex;align-items:center;gap:16px;margin:0 0 14px;padding:14px 20px;border:1px solid rgba(20,20,20,.075);border-radius:22px;background:#fff;box-shadow:0 10px 26px rgba(15,15,15,.04);font-family:inherit;color:#111}
html body.revolife-premium-checkout-page .rpc-shell .rpc-free-top__ic{flex:none;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#f2f2ef;color:#111}
html body.revolife-premium-checkout-page .rpc-shell .rpc-free-top__ic svg{width:22px;height:22px;display:block}
html body.revolife-premium-checkout-page .rpc-shell .rpc-free-top__main{flex:1 1 auto;min-width:0}
html body.revolife-premium-checkout-page .rpc-shell .rpc-free-top__t{margin:0 0 8px;font-size:15px;line-height:1.3;font-weight:600}
html body.revolife-premium-checkout-page .rpc-shell .rpc-free-top__t b{font-weight:800}
html body.revolife-premium-checkout-page .rpc-shell .rpc-free-top__bar{position:relative;height:8px;border-radius:99px;background:#ececea;overflow:hidden}
html body.revolife-premium-checkout-page .rpc-shell .rpc-free-top__bar i{position:absolute;inset:0 auto 0 0;border-radius:inherit;background:linear-gradient(90deg,#C9B6F4,#F3B7D3 45%,#FFD86A);transition:width .5s cubic-bezier(.16,1,.3,1)}
html body.revolife-premium-checkout-page .rpc-shell .rpc-free-top__n{display:flex;justify-content:space-between;margin-top:6px;font-size:12px;color:#80838c}
html body.revolife-premium-checkout-page .rpc-shell .rpc-free-top__a{flex:none;display:inline-flex;align-items:center;height:40px;padding:0 18px;border-radius:999px;border:1.5px solid #111;color:#111!important;font-size:13.5px;font-weight:700;text-decoration:none!important;white-space:nowrap;transition:background-color .2s,color .2s}
html body.revolife-premium-checkout-page .rpc-shell .rpc-free-top__a:hover{background:#111;color:#fff!important}
html body.revolife-premium-checkout-page .rpc-shell .rpc-free-top.is-done{background:#eef8f1;border-color:#cfe9d8}
html body.revolife-premium-checkout-page .rpc-shell .rpc-free-top.is-done .rpc-free-top__ic{background:#1f7a4d;color:#fff}
html body.revolife-premium-checkout-page .rpc-shell .rpc-free-top.is-done .rpc-free-top__t{margin:0}
html body.revolife-premium-checkout-page .rpc-shell .rpc-free-top.is-done .rpc-free-top__bar,
html body.revolife-premium-checkout-page .rpc-shell .rpc-free-top.is-done .rpc-free-top__n,
html body.revolife-premium-checkout-page .rpc-shell .rpc-free-top.is-done .rpc-free-top__a{display:none}
html body.revolife-premium-checkout-page .rpc-shell .rpc-free-top__s{display:block;margin-top:2px;font-size:13px;font-weight:500;color:#4c6b58}

/* ---------- 2. pasek „Masz już konto w RevoLife?” ---------- */
html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices .woocommerce-form-login-toggle .woocommerce-info{justify-content:space-between!important;gap:12px!important}
html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices .woocommerce-form-login-toggle .woocommerce-info .showlogin{margin-left:auto!important;flex:none!important}
html body.revolife-premium-checkout-page .rpc-shell .rpc-acc-q{display:flex;flex-direction:column;gap:1px;min-width:0;text-align:left}
html body.revolife-premium-checkout-page .rpc-shell .rpc-acc-q b{font-size:15px!important;font-weight:700!important;color:#111!important;line-height:1.3!important}
html body.revolife-premium-checkout-page .rpc-shell .rpc-acc-q span{font-size:13px!important;font-weight:500!important;color:#80838c!important;line-height:1.4!important}

/* ---------- 3. panel logowania ---------- */
html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:14px 16px!important;padding:24px!important;box-sizing:border-box!important;
  width:100%!important;max-width:100%!important;overflow:hidden!important}
html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login *{box-sizing:border-box!important}
html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login br,
html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login .clear,
html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login p:empty{display:none!important}
html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login > p:first-child:not(.form-row){display:none!important}
html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login .form-row-first,
html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login .form-row-last{min-width:0!important;width:100%!important}
html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login .form-row label:not(.woocommerce-form-login__rememberme){display:block!important;margin:0 0 8px!important;font-size:13px!important;font-weight:700!important;line-height:1.3!important;color:#111!important}
html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login input.input-text{width:100%!important;max-width:100%!important;height:54px!important;min-height:54px!important;font-size:16px!important}
html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login input.input-text:focus{border-color:#111!important;outline:none!important;box-shadow:0 0 0 3px rgba(17,17,17,.08)!important}
html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login > p.form-row:not(.form-row-first):not(.form-row-last){display:contents!important}
html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login .woocommerce-form-login__rememberme{grid-column:1!important;grid-row:3!important;display:inline-flex!important;align-items:center!important;gap:9px!important;margin:0!important;font-size:13.5px!important;font-weight:600!important;color:#111!important;cursor:pointer!important;min-height:28px!important}
html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login .woocommerce-form-login__rememberme input{width:18px!important;height:18px!important;margin:0!important;accent-color:#111!important;flex:none!important}
html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login .lost_password{grid-column:2!important;grid-row:3!important;justify-self:end!important;align-self:center!important;margin:0!important;font-size:13.5px!important;white-space:nowrap!important}
html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login .lost_password a{font-weight:700!important}
html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login button.woocommerce-form-login__submit{grid-column:1/-1!important;grid-row:4!important;width:100%!important;height:54px!important;min-height:54px!important;margin:2px 0 0!important;font-size:15px!important;font-weight:800!important;justify-content:center!important}

/* ---------- 4. Facebook i Google w barwach marek ---------- */
html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login > div:has(> .nsl-container){grid-column:1/-1!important;grid-row:5!important;padding:0!important;margin:0!important}
html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login > div:has(> .nsl-container)::before{content:"lub kontynuuj przez";display:flex!important;align-items:center!important;justify-content:center!important;margin:6px 0 14px!important;font-size:12px!important;font-weight:600!important;letter-spacing:.02em!important;color:#8a8d95!important;
  background:linear-gradient(#e6e6e4,#e6e6e4) left center/calc(50% - 76px) 1px no-repeat,linear-gradient(#e6e6e4,#e6e6e4) right center/calc(50% - 76px) 1px no-repeat!important}
html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login .nsl-container{display:block!important;padding:0!important;margin:0!important;width:100%!important}
html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login .nsl-container-buttons{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important;width:100%!important;margin:0!important;padding:0!important}
html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login .nsl-container-buttons > :not(a),
html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login .nsl-container-buttons > a:not(:has(.nsl-button)){display:none!important}
html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login .nsl-container-buttons a{display:block!important;margin:0!important;width:100%!important;min-width:0!important;max-width:none!important;text-decoration:none!important;border:0!important;border-radius:999px!important}
html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login .nsl-button{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;height:50px!important;min-height:50px!important;width:100%!important;padding:0 16px!important;border-radius:999px!important;box-shadow:none!important;transition:filter .2s,background-color .2s,border-color .2s!important}
html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login .nsl-button-facebook{background:#1877F2!important;border:1px solid #1877F2!important;color:#fff!important}
html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login .nsl-container-buttons a:hover .nsl-button-facebook{background:#166FE5!important;border-color:#166FE5!important}
html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login .nsl-button-google{background:#fff!important;border:1px solid #747775!important;color:#1F1F1F!important}
html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login .nsl-container-buttons a:hover .nsl-button-google{background:#F7F8F8!important}
html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login .nsl-button-svg-container{padding:0!important;flex:none!important;display:grid!important;place-items:center!important;width:22px!important;height:22px!important}
html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login .nsl-button-svg-container svg{width:22px!important;height:22px!important}
html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login .nsl-button-label-container{flex:none!important;margin:0!important;padding:0!important;font-family:Roboto,"Helvetica Neue",Arial,sans-serif!important;font-size:15px!important;font-weight:500!important;line-height:1!important;letter-spacing:0!important;text-align:left!important;color:inherit!important;white-space:nowrap!important}
html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login .nsl-button-label-container b{font-weight:500!important;color:inherit!important}

/* ---------- komputer ---------- */
@media (min-width:641px){
  html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login{padding:28px!important}
  html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login button.woocommerce-form-login__submit{width:auto!important;min-width:240px!important;justify-self:start!important;padding:0 36px!important}
  html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login .nsl-container-buttons{grid-template-columns:repeat(2,minmax(0,280px))!important}
  html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login > div:has(> .nsl-container)::before{justify-content:flex-start!important;background:linear-gradient(#e6e6e4,#e6e6e4) right center/calc(100% - 140px) 1px no-repeat!important}
}

/* ---------- telefon ---------- */
@media (max-width:640px){
  html body.revolife-premium-checkout-page .rpc-shell .rpc-free-top{flex-wrap:wrap;padding:14px 16px;gap:12px;border-radius:20px}
  html body.revolife-premium-checkout-page .rpc-shell .rpc-free-top__ic{width:36px;height:36px}
  html body.revolife-premium-checkout-page .rpc-shell .rpc-free-top__main{flex:1 1 calc(100% - 52px)}
  html body.revolife-premium-checkout-page .rpc-shell .rpc-free-top__t{font-size:14px}
  html body.revolife-premium-checkout-page .rpc-shell .rpc-free-top__a{width:100%;justify-content:center;height:40px}
  html body.revolife-premium-checkout-page .rpc-shell .rpc-acc-q b{font-size:14px}
  html body.revolife-premium-checkout-page .rpc-shell .rpc-acc-q span{font-size:12px}
  html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login{padding:20px 18px!important;border-radius:24px!important;gap:12px 10px!important}
  html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login .form-row-first,
  html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login .form-row-last{grid-column:1/-1!important}
  html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login .woocommerce-form-login__rememberme,
  html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login .lost_password{grid-row:4!important}
  html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login button.woocommerce-form-login__submit{grid-row:5!important}
  html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login > div:has(> .nsl-container){grid-row:6!important}
  html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices form.woocommerce-form-login.login .nsl-container-buttons{grid-template-columns:1fr!important}
}

/* telefon: pytanie o konto nad przyciskiem, przycisk na całą szerokość (jak w pasku dostawy) */
@media (max-width:640px){
  html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices .woocommerce-form-login-toggle .woocommerce-info{flex-direction:column!important;align-items:stretch!important;gap:12px!important}
  html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices .woocommerce-form-login-toggle .woocommerce-info .showlogin{margin:0!important;width:100%!important;justify-content:center!important;height:42px!important}
}

/* v2.1: przy koncie tylko pytanie i przycisk, w jednym wierszu także na telefonie */
@media (max-width:640px){
  html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices .woocommerce-form-login-toggle .woocommerce-info{flex-direction:row!important;align-items:center!important}
  html body.revolife-premium-checkout-page .rpc-shell .rpc-checkout-notices .woocommerce-form-login-toggle .woocommerce-info .showlogin{width:auto!important;height:auto!important}
}
