/*
Theme Name: MIROMAX Doradca Handlowy
Theme URI: https://miromax.pl
Author: MIROMAX
Description: Responsywny motyw WordPress dla portalu doradczo-handlowego: doradztwo, audyt potrzeb, usługi, wyprzedaż i WooCommerce.
Version: 1.1.5
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: miromax-doradca-handlowy
License: GPL-2.0-or-later
*/
:root{--bg:#f6f8f6;--paper:#fff;--ink:#10233f;--muted:#5c6d82;--green:#006b4f;--green2:#00a36c;--mint:#eafff5;--line:#dbe7e2;--gold:#f6b83f;--radius:22px;--shadow:0 18px 46px rgba(16,35,63,.10);--max:1180px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:linear-gradient(180deg,#fffaf2 0,#f8fbfb 260px,var(--bg) 100%);font-size:16px;line-height:1.6}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}img{max-width:100%;height:auto}.miro-container{width:min(var(--max),calc(100% - 32px));margin-inline:auto}.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}.miro-skip{position:absolute;left:-999px;top:12px;background:#fff;color:#000;padding:10px 14px;z-index:999999}.miro-skip:focus{left:12px}.miro-topbar{position:sticky;top:0;z-index:1000;background:rgba(255,250,242,.94);backdrop-filter:blur(14px);border-bottom:1px solid rgba(0,107,79,.08)}.admin-bar .miro-topbar{top:32px}.miro-header{min-height:88px;display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center}.miro-brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none}.miro-logo-mark{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,var(--green),var(--green2));box-shadow:0 12px 24px rgba(0,107,79,.18);font-weight:1000;font-size:21px}.miro-brand-name{display:block;font-weight:1000;letter-spacing:.08em;line-height:1;color:var(--green);font-size:22px}.miro-brand-sub{display:block;font-size:11px;text-transform:uppercase;font-weight:900;letter-spacing:.12em;color:var(--green)}.miro-nav{display:flex;align-items:center;gap:8px;justify-content:center}.miro-nav ul{display:flex;align-items:center;gap:6px;list-style:none;padding:0;margin:0}.miro-nav a{display:inline-flex;align-items:center;min-height:42px;padding:9px 12px;border-radius:999px;color:var(--ink);font-weight:800;font-size:14px;text-decoration:none}.miro-nav a:hover{background:var(--mint);text-decoration:none}.miro-actions{display:flex;align-items:center;gap:10px}.miro-btn,.button,.wp-block-button__link,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,button.single_add_to_cart_button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:46px;border-radius:999px!important;border:0!important;padding:12px 20px!important;background:var(--green)!important;color:#fff!important;font-weight:1000!important;text-decoration:none!important;box-shadow:0 14px 28px rgba(0,107,79,.22)!important;cursor:pointer!important}.miro-btn:hover,.button:hover{background:#00563f!important;text-decoration:none!important}.miro-btn-light{background:#fff!important;color:var(--green)!important;border:1px solid var(--line)!important;box-shadow:none!important}.miro-menu-toggle{display:none;background:#fff;border:1px solid var(--line);border-radius:999px;min-height:44px;padding:9px 14px;font-weight:1000;color:var(--green)}.miro-searchbar{padding:0 0 18px}.miro-search-form{position:relative;display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center}.miro-categóry-trigger{border:1px solid #bdebd8;background:var(--mint);color:var(--green);border-radius:999px;min-height:48px;padding:10px 16px;font-weight:1000;cursor:pointer}.miro-search-input-wrap{display:grid;grid-template-columns:1fr auto;gap:8px;background:#fff;border:1px solid #bdebd8;border-radius:999px;padding:5px;box-shadow:0 16px 38px rgba(0,107,79,.08)}.miro-search-input-wrap input{min-width:0;border:0;background:transparent;padding:0 18px;outline:0;font-weight:700;color:var(--ink)}.miro-mega{position:absolute;left:0;right:0;top:calc(100% + 8px);background:#fff;border:1px solid var(--line);border-radius:26px;box-shadow:0 28px 80px rgba(20,35,60,.22);padding:18px;z-index:1002;display:none}.miro-mega.is-open{display:block}.miro-mega-head{border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:12px}.miro-mega-head strong{font-size:20px;color:var(--green)}.miro-mega-head span{display:block;color:var(--muted);font-weight:700}.miro-mega-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.miro-mega-tab{border:1px solid #cde9dd;background:#fff;color:var(--green);border-radius:999px;padding:10px 15px;font-weight:1000;cursor:pointer}.miro-mega-tab.is-active{background:var(--green);color:#fff}.miro-mega-panel{display:none}.miro-mega-panel.is-active{display:block}.miro-mega-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.miro-mega-card{padding:14px;border:1px solid var(--line);border-radius:18px;background:#fbfefd;color:var(--ink);text-decoration:none}.miro-mega-card:hover{border-color:#9edcc2;background:var(--mint);text-decoration:none}.miro-mega-card b{display:block;color:var(--green);line-height:1.2}.miro-mega-card span{display:block;color:var(--muted);font-size:13px;margin-top:3px}.miro-main{min-height:60vh}.miro-hero{padding:56px 0 42px}.miro-hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:32px;align-items:center}.miro-kicker{display:inline-flex;border:1px solid #f0c66f;color:#9a5a00;border-radius:999px;padding:7px 12px;text-transform:uppercase;letter-spacing:.18em;font-size:12px;font-weight:1000;background:#fff9e9}.miro-hero h1,.entry-title{font-size:clamp(38px,6vw,74px);line-height:.95;margin:18px 0 18px;letter-spacing:-.06em;color:#0c1733}.miro-hero p{font-size:18px;color:#40536d;max-width:680px}.miro-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.miro-hero-card,.miro-card,.miro-advisor-form{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow)}.miro-step-list{display:grid;gap:12px;margin:0;padding:0;list-style:none}.miro-step-list li{display:flex;gap:12px;align-items:flex-start}.miro-step-number{width:34px;height:34px;flex:0 0 34px;border-radius:50%;display:grid;place-items:center;background:var(--green);color:#fff;font-weight:1000}.miro-trust-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:22px}.miro-trust{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px;font-weight:800}.miro-trust small{display:block;color:var(--muted);font-weight:600}.miro-section{padding:48px 0}.miro-section-head{text-align:center;margin:0 auto 28px;max-width:760px}.miro-section-head h2{font-size:clamp(30px,4vw,52px);line-height:1;margin:8px 0;letter-spacing:-.04em}.miro-section-head p{color:var(--muted);font-size:17px}.miro-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.miro-card h3,.miro-card h2{margin-top:0;color:var(--green);line-height:1.15}.miro-card p{color:#4d6078}.miro-card-link{font-weight:1000;color:var(--green)}.miro-audit-table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow)}.miro-audit-table{width:100%;border-collapse:collapse;min-width:900px}.miro-audit-table th{background:var(--green);color:#fff;text-align:left;padding:16px;font-size:14px;text-transform:uppercase;letter-spacing:.04em}.miro-audit-table td{padding:17px 16px;border-bottom:1px solid #eef3f1;vertical-align:top}.miro-audit-table tr:last-child td{border-bottom:0}.miro-audit-table td:first-child{font-weight:1000;color:var(--ink)}.miro-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.miro-field{display:grid;gap:7px}.miro-field label{font-weight:900}.miro-field input,.miro-field select,.miro-field textarea{width:100%;border:1px solid #d9e5df;border-radius:16px;background:#fff;padding:13px 14px;outline:0}.miro-field textarea{min-height:128px;resize:vertical}.miro-field-full{grid-column:1/-1}.miro-help{color:var(--muted);font-size:13px;margin-top:-2px}.miro-success{background:var(--mint);border:1px solid #aae4c9;color:var(--green);padding:14px 16px;border-radius:16px;margin-bottom:16px;font-weight:900}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important;align-items:stretch!important}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product{width:auto!important;margin:0!important;float:none!important;background:#fff;border:1px solid var(--line);border-radius:24px;padding:14px!important;box-shadow:var(--shadow);display:flex!important;flex-direction:column!important;min-height:100%}.woocommerce ul.products li.product img{width:100%!important;height:220px!important;object-fit:cover!important;border-radius:18px!important;margin:0 0 14px!important;background:#f3f7f6!important}.woocommerce-loop-product__title{min-height:48px;margin:0 0 8px!important;color:var(--ink)!important;font-size:17px!important;line-height:1.25!important;font-weight:1000!important}.woocommerce ul.products li.product .price{color:var(--green)!important;font-size:18px!important;font-weight:1000!important;margin-top:auto!important}.woocommerce ul.products li.product .button{width:100%;margin-top:10px!important}.entry-content{font-size:17px}.entry-content>*{max-width:820px;margin-left:auto;margin-right:auto}.entry-content>.alignwide{max-width:var(--max)}.miro-page-head{padding:42px 0 18px;text-align:center}.miro-footer{margin-top:50px;background:#071d1a;color:#dff8ed;padding:46px 0 26px}.miro-footer-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:28px}.miro-footer h2,.miro-footer h3{color:#fff;margin-top:0}.miro-footer a{color:#dff8ed}.miro-footer small{display:block;color:#a7c7bb;margin-top:28px}.miro-backtop{position:fixed;right:18px;bottom:18px;z-index:9999;width:48px;height:48px;border-radius:50%;border:0;background:var(--green);color:#fff;box-shadow:0 14px 30px rgba(0,0,0,.22);font-size:22px;font-weight:1000;cursor:pointer;opacity:0;visibility:hidden;transform:translateY(8px);transition:.18s}.miro-backtop.is-visible{opacity:1;visibility:visible;transform:translateY(0)}@media(max-width:1000px){.miro-header{grid-template-columns:auto auto;justify-content:space-between}.miro-nav{position:fixed;inset:92px 14px auto 14px;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);padding:14px;display:none;justify-content:stretch}.miro-nav.is-open{display:block}.miro-nav ul{display:grid;gap:4px}.miro-nav a{width:100%;justify-content:flex-start}.miro-menu-toggle{display:inline-flex}.miro-actions .miro-btn{display:none!important}.miro-search-form{grid-template-columns:1fr}.miro-mega-links{grid-template-columns:1fr}.miro-hero-grid,.miro-grid-3,.miro-footer-grid{grid-template-columns:1fr}.miro-trust-row{grid-template-columns:1fr}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:640px){body{font-size:15px}.admin-bar .miro-topbar{top:0}.miro-header{min-height:72px}.miro-logo-mark{width:44px;height:44px;font-size:17px}.miro-brand-name{font-size:18px}.miro-brand-sub{font-size:9px}.miro-hero{padding:30px 0 26px}.miro-hero-card,.miro-card,.miro-advisor-form{padding:18px;border-radius:20px}.miro-form-grid{grid-template-columns:1fr}.woocommerce ul.products{grid-template-columns:1fr!important}.woocommerce ul.products li.product img{height:240px!important}.miro-footer{padding-bottom:80px}}


/* =========================================================
   MIROMAX Doradca Handlowy 1.1.2
   Pełna responsywność: mobile / tablet / laptop / desktop.
   Bezpieczne nadpisania na końcu pliku.
   ========================================================= */

:root{
  --miro-header-mobile-space: 126px;
}

html{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}

body{
  overflow-x:hidden;
}

a,button,input,select,textarea{
  -webkit-tap-highlight-color:rgba(0,107,79,.14);
}

button,
.miro-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button{
  touch-action:manipulation;
}

.miro-topbar{
  width:100%;
}

.miro-container{
  width:min(var(--max),calc(100% - 32px));
}

.miro-header,
.miro-search-form,
.miro-hero-grid,
.miro-grid-3,
.miro-footer-grid,
.miro-form-grid,
.miro-trust-row{
  min-width:0;
}

.miro-brand,
.miro-brand span,
.miro-nav,
.miro-actions,
.miro-search-input-wrap,
.miro-hero-grid > *,
.miro-card,
.miro-hero-card{
  min-width:0;
}

.miro-brand-name{
  max-width:260px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.miro-actions{
  justify-content:flex-end;
}

.miro-search-input-wrap input{
  width:100%;
  min-height:40px;
  font-size:16px;
}

.miro-search-input-wrap .miro-btn{
  min-width:96px;
  white-space:nowrap;
}

.miro-mega{
  max-height:min(72vh,720px);
  overflow:auto;
  overscroll-behavior:contain;
}

.miro-mega-card{
  min-width:0;
}

.miro-mega-card b,
.miro-mega-card span{
  overflow-wrap:anywhere;
}

.miro-hero h1,
.entry-title,
.miro-section-head h2{
  overflow-wrap:balance;
}

.miro-hero p,
.miro-section-head p,
.entry-content{
  overflow-wrap:anywhere;
}

.miro-btn{
  white-space:normal;
  text-align:center;
}

.miro-hero-actions .miro-btn{
  flex:0 1 auto;
}

.miro-audit-table-wrap{
  -webkit-overflow-scrolling:touch;
}

.miro-audit-table{
  line-height:1.45;
}

.miro-field input,
.miro-field select,
.miro-field textarea{
  font-size:16px;
}

.woocommerce ul.products{
  clear:both!important;
}

.woocommerce ul.products li.product{
  overflow:hidden;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title{
  overflow-wrap:anywhere;
}

.woocommerce div.product{
  width:min(var(--max),calc(100% - 32px));
  margin-inline:auto;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary{
  min-width:0;
}

.woocommerce div.product .product_title{
  font-size:clamp(30px,4.5vw,56px);
  line-height:1.02;
  letter-spacing:-.045em;
}

.woocommerce div.product form.cart{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}

.woocommerce div.product form.cart .button{
  min-width:190px;
}

.alignwide,
.alignfull,
.wp-block-image,
.wp-block-cover,
.wp-block-gallery{
  max-width:100%;
}

iframe,
video,
embed,
object{
  max-width:100%;
}

/* Duże laptopy i desktop */
@media (min-width:1201px){
  .woocommerce ul.products{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
}

/* Laptop / mały desktop */
@media (max-width:1200px){
  :root{--max:1080px}
  .miro-container{
    width:min(var(--max),calc(100% - 28px));
  }
  .miro-header{
    gap:14px;
  }
  .miro-nav a{
    padding-inline:10px;
    font-size:13px;
  }
  .miro-actions .miro-btn{
    padding-inline:16px!important;
  }
  .miro-hero-grid{
    grid-template-columns:minmax(0,1fr) minmax(300px,.82fr);
    gap:24px;
  }
  .woocommerce ul.products{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}

/* Tablet poziomo i pionowo */
@media (max-width:1024px){
  .admin-bar .miro-topbar{
    top:32px;
  }

  .miro-topbar{
    position:sticky;
  }

  .miro-header{
    min-height:76px;
    grid-template-columns:auto auto;
    justify-content:space-between;
    gap:12px;
  }

  .miro-brand-name{
    max-width:clamp(150px,36vw,300px);
  }

  .miro-actions{
    gap:8px;
  }

  .miro-menu-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    min-width:44px;
  }

  .miro-actions > .miro-btn{
    display:none!important;
  }

  .miro-nav{
    position:fixed;
    left:14px;
    right:14px;
    top:calc(82px + env(safe-area-inset-top,0px));
    max-height:calc(100dvh - 104px);
    overflow:auto;
    -webkit-overflow-scrolling:touch;
    background:#fff;
    border:1px solid var(--line);
    border-radius:22px;
    box-shadow:0 24px 70px rgba(16,35,63,.20);
    padding:12px;
    display:none;
    justify-content:stretch;
    z-index:1004;
  }

  .admin-bar .miro-nav{
    top:calc(114px + env(safe-area-inset-top,0px));
    max-height:calc(100dvh - 136px);
  }

  .miro-nav.is-open{
    display:block;
  }

  .miro-nav ul{
    display:grid;
    grid-template-columns:1fr;
    gap:4px;
    width:100%;
  }

  .miro-nav a{
    width:100%;
    min-height:46px;
    justify-content:flex-start;
    border-radius:14px;
    font-size:15px;
  }

  .miro-searchbar{
    padding-bottom:12px;
  }

  .miro-search-form{
    grid-template-columns:1fr;
    gap:10px;
  }

  .miro-categóry-trigger{
    justify-self:start;
    min-height:44px;
  }

  .miro-mega{
    position:fixed;
    left:14px;
    right:14px;
    top:calc(144px + env(safe-area-inset-top,0px));
    max-height:calc(100dvh - 164px);
    border-radius:22px;
    padding:14px;
  }

  .admin-bar .miro-mega{
    top:calc(176px + env(safe-area-inset-top,0px));
    max-height:calc(100dvh - 196px);
  }

  .miro-mega-links{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .miro-hero{
    padding:38px 0 30px;
  }

  .miro-hero-grid,
  .miro-grid-3,
  .miro-footer-grid{
    grid-template-columns:1fr;
  }

  .miro-hero-card{
    order:2;
  }

  .miro-trust-row{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .miro-section{
    padding:38px 0;
  }

  .woocommerce ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  .woocommerce ul.products li.product img{
    height:220px!important;
  }

  .woocommerce div.product div.images,
  .woocommerce div.product div.summary{
    float:none!important;
    width:100%!important;
  }
}

/* Telefon poziomo / mały tablet */
@media (max-width:768px){
  .miro-container{
    width:min(100% - 24px,var(--max));
  }

  .admin-bar .miro-topbar{
    top:0;
  }

  .miro-topbar{
    position:sticky;
    top:0;
  }

  .miro-header{
    min-height:68px;
  }

  .miro-brand{
    gap:9px;
  }

  .miro-logo-mark{
    width:44px;
    height:44px;
    font-size:18px;
    flex:0 0 44px;
  }

  .miro-brand-name{
    max-width:calc(100vw - 150px);
    font-size:18px;
  }

  .miro-brand-sub{
    font-size:9px;
    letter-spacing:.08em;
  }

  .miro-searchbar{
    padding-bottom:10px;
  }

  .miro-categóry-trigger{
    width:100%;
    justify-content:center;
  }

  .miro-search-input-wrap{
    grid-template-columns:1fr auto;
    border-radius:22px;
    padding:5px;
  }

  .miro-search-input-wrap input{
    padding-inline:12px;
  }

  .miro-search-input-wrap .miro-btn{
    min-width:76px;
    padding-inline:14px!important;
  }

  .miro-nav{
    top:calc(78px + env(safe-area-inset-top,0px));
    max-height:calc(100dvh - 94px);
  }

  .miro-mega{
    top:calc(138px + env(safe-area-inset-top,0px));
    max-height:calc(100dvh - 154px);
  }

  .miro-mega-head strong{
    font-size:18px;
  }

  .miro-mega-head span{
    font-size:13px;
  }

  .miro-mega-tabs{
    display:grid;
    grid-template-columns:1fr;
  }

  .miro-mega-tab{
    width:100%;
    min-height:44px;
  }

  .miro-mega-links{
    grid-template-columns:1fr;
  }

  .miro-hero{
    padding:28px 0 22px;
  }

  .miro-hero h1,
  .entry-title{
    font-size:clamp(34px,12vw,54px);
    letter-spacing:-.055em;
  }

  .miro-hero p{
    font-size:16px;
  }

  .miro-hero-actions{
    display:grid;
    grid-template-columns:1fr;
  }

  .miro-hero-actions .miro-btn{
    width:100%;
  }

  .miro-trust-row{
    grid-template-columns:1fr;
  }

  .miro-section-head{
    text-align:left;
  }

  .miro-section-head h2{
    font-size:clamp(28px,9vw,42px);
  }

  .miro-form-grid{
    grid-template-columns:1fr;
  }

  .miro-field-full{
    grid-column:auto;
  }

  .miro-audit-table,
  .miro-audit-table thead,
  .miro-audit-table tbody,
  .miro-audit-table th,
  .miro-audit-table td,
  .miro-audit-table tr{
    display:block;
    min-width:0;
    width:100%;
  }

  .miro-audit-table thead{
    display:none;
  }

  .miro-audit-table tr{
    padding:14px;
    border-bottom:1px solid #eef3f1;
  }

  .miro-audit-table tr:last-child{
    border-bottom:0;
  }

  .miro-audit-table td{
    padding:8px 0;
    border:0;
  }

  .miro-audit-table td::before{
    display:block;
    color:var(--green);
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.08em;
    font-weight:1000;
    margin-bottom:2px;
  }

  .miro-audit-table td:nth-child(1)::before{content:"Obszar"}
  .miro-audit-table td:nth-child(2)::before{content:"Typowa sytuacja"}
  .miro-audit-table td:nth-child(3)::before{content:"Co ustalamy"}
  .miro-audit-table td:nth-child(4)::before{content:"Możliwe rozwiązania"}
  .miro-audit-table td:nth-child(5)::before{content:"Produkty partnerów"}

  .woocommerce ul.products{
    grid-template-columns:1fr!important;
    gap:16px!important;
  }

  .woocommerce ul.products li.product{
    border-radius:20px;
  }

  .woocommerce ul.products li.product img{
    height:260px!important;
  }

  .woocommerce-loop-product__title{
    min-height:auto;
  }

  .miro-footer{
    margin-top:34px;
    padding:36px 0 82px;
  }

  .miro-backtop{
    right:14px;
    bottom:14px;
    width:44px;
    height:44px;
  }
}

/* Małe telefony */
@media (max-width:480px){
  body{
    font-size:15px;
  }

  .miro-container{
    width:calc(100% - 20px);
  }

  .miro-header{
    min-height:62px;
    gap:8px;
  }

  .miro-logo-mark{
    width:40px;
    height:40px;
    flex-basis:40px;
  }

  .miro-brand-name{
    max-width:calc(100vw - 128px);
    font-size:16px;
    letter-spacing:.04em;
  }

  .miro-brand-sub{
    display:none;
  }

  .miro-menu-toggle{
    min-width:42px;
    min-height:42px;
    padding:0 12px;
  }

  .miro-searchbar{
    padding-bottom:8px;
  }

  .miro-categóry-trigger{
    min-height:42px;
    padding:9px 12px;
  }

  .miro-search-input-wrap{
    grid-template-columns:1fr;
    border-radius:20px;
    padding:8px;
  }

  .miro-search-input-wrap input{
    min-height:42px;
    padding:0 12px;
  }

  .miro-search-input-wrap .miro-btn{
    width:100%;
    min-height:42px;
  }

  .miro-nav{
    left:10px;
    right:10px;
    top:72px;
    max-height:calc(100dvh - 86px);
    border-radius:18px;
  }

  .miro-mega{
    left:10px;
    right:10px;
    top:132px;
    max-height:calc(100dvh - 146px);
    border-radius:18px;
    padding:12px;
  }

  .miro-hero h1,
  .entry-title{
    font-size:clamp(31px,13vw,44px);
  }

  .miro-kicker{
    font-size:10px;
    letter-spacing:.12em;
  }

  .miro-hero-card,
  .miro-card,
  .miro-advisor-form{
    padding:16px;
    border-radius:18px;
  }

  .miro-section{
    padding:30px 0;
  }

  .miro-step-list li{
    gap:10px;
  }

  .miro-step-number{
    width:30px;
    height:30px;
    flex-basis:30px;
  }

  .woocommerce ul.products li.product img{
    height:240px!important;
  }

  .woocommerce div.product{
    width:calc(100% - 20px);
  }

  .woocommerce div.product form.cart .button{
    width:100%;
  }
}

/* Bardzo wąskie ekrany */
@media (max-width:360px){
  .miro-container{
    width:calc(100% - 16px);
  }

  .miro-brand-name{
    max-width:190px;
    font-size:15px;
  }

  .miro-logo-mark{
    width:36px;
    height:36px;
    flex-basis:36px;
  }

  .miro-hero h1,
  .entry-title{
    font-size:30px;
  }

  .miro-search-input-wrap{
    padding:7px;
  }
}

/* Dostępność i ograniczenie animacji */
@media (prefers-reduced-motion:reduce){
  *,
  *::before,
  *::after{
    animation-duration:.001ms!important;
    animation-iteration-count:1!important;
    scroll-behavior:auto!important;
    transition-duration:.001ms!important;
  }
}


/* =========================================================
   MIROMAX 1.1.3 — wbudowane logo MIROMAX w nagłówku
   ========================================================= */

.miro-brand .custom-logo,
.miro-site-logo{
  display:block;
  width:auto;
  max-width:150px;
  height:auto;
  max-height:64px;
  object-fit:contain;
  flex:0 0 auto;
}

.miro-brand .custom-logo-link{
  display:inline-flex;
  align-items:center;
  line-height:0;
  flex:0 0 auto;
}

.miro-brand:has(.miro-site-logo),
.miro-brand:has(.custom-logo){
  gap:14px;
}

@media (max-width:768px){
  .miro-brand .custom-logo,
  .miro-site-logo{
    max-width:118px;
    max-height:52px;
  }
}

@media (max-width:480px){
  .miro-brand .custom-logo,
  .miro-site-logo{
    max-width:92px;
    max-height:44px;
  }

  .miro-brand:has(.miro-site-logo),
  .miro-brand:has(.custom-logo){
    gap:8px;
  }
}

@supports not selector(:has(*)){
  .miro-brand{
    gap:12px;
  }
}


/* =========================================================
   MIROMAX 1.1.4 — szablony sklepu WooCommerce i /sklep
   ========================================================= */

.miro-shop-hero{
  padding:56px 0 24px;
  background:linear-gradient(180deg,#fffaf2 0,#f8fbfb 100%);
}
.miro-shop-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(280px,.65fr);
  gap:24px;
  align-items:stretch;
}
.miro-shop-hero h1{
  margin:12px 0 12px;
  font-size:clamp(38px,6vw,72px);
  line-height:.98;
  letter-spacing:-.055em;
}
.miro-shop-hero p{
  max-width:720px;
  color:var(--muted);
  font-size:18px;
}
.miro-shop-box{
  border:1px solid var(--line);
  border-radius:24px;
  background:#fff;
  padding:22px;
  box-shadow:var(--shadow);
}
.miro-shop-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:20px;
}
.miro-shop-tabs{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:26px;
}
.miro-shop-tab{
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
  background:#fff;
}
.miro-shop-tab strong{
  display:block;
  color:var(--green);
}
.miro-shop-wrap{
  padding:36px 0 60px;
}
.miro-shop-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:22px;
}
.miro-shop-toolbar .woocommerce-result-count,
.miro-shop-toolbar .woocommerce-ordering{
  margin:0!important;
}
.miro-shop-empty{
  max-width:780px;
  margin:30px auto;
  text-align:center;
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  padding:32px;
  box-shadow:var(--shadow);
}
.miro-shop-category-strip{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:20px 0 0;
}
.miro-shop-category-strip a{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  border-radius:999px;
  padding:9px 15px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--ink);
  font-weight:900;
  text-decoration:none;
}
.miro-shop-category-strip a:hover{
  background:var(--mint);
  color:var(--green);
}
.woocommerce-products-header,
.woocommerce .woocommerce-breadcrumb{
  width:min(var(--max),calc(100% - 32px));
  margin-inline:auto;
}
.woocommerce-page main.miro-main .woocommerce-notices-wrapper{
  width:min(var(--max),calc(100% - 32px));
  margin:18px auto 0;
}

@media(max-width:900px){
  .miro-shop-hero-grid,
  .miro-shop-tabs{
    grid-template-columns:1fr;
  }
  .miro-shop-hero{
    padding-top:34px;
  }
}
