/* Wędkarz.pro 2.17.58 — mobile only; desktop layout is kept intact. */
body.storefront-refined .product-card-photos{position:relative;display:block;min-width:0;width:100%}
body.storefront-refined .product-card-photos>.product-image{display:flex;width:100%;min-width:0}
body.storefront-refined .mobile-card-gallery-nav,
body.storefront-refined .mobile-card-gallery-count,
body.storefront-refined .mobile-detail-gallery-nav,
body.storefront-refined .mobile-detail-gallery-counter{display:none}
body.storefront-refined .mobile-card-sales-paused{display:inline-flex;align-items:center;gap:6px;font-size:.78rem;color:#65736b}
body.storefront-refined .mobile-disabled-buy{display:none}
@media(max-width:767.98px){
  /* Katalog: zamiast drobnych kafelków 2 wiersze -> 1 poziomy produkt na wiersz. */
  body.storefront-refined .catalog-product-grid>.col{flex:0 0 100%!important;width:100%!important;max-width:100%!important;min-width:0}
  body.storefront-refined .catalog-product-grid{row-gap:14px!important}
  body.storefront-refined .catalog-product-grid .product-card{
    display:grid!important;grid-template-columns:minmax(0,44%) minmax(0,56%);align-items:stretch;
    min-width:0;gap:0;overflow:hidden;border:1px solid #dfe6e1!important;
    border-radius:13px!important;background:#fff;
    box-shadow:0 2px 11px rgba(16,33,26,.045)!important;
  }
  body.storefront-refined .catalog-product-grid .product-card-photos{
    position:relative;align-self:stretch;min-height:252px;min-width:0;background:#fff;
  }
  body.storefront-refined .catalog-product-grid .product-card .product-image{
    display:flex!important;align-items:center;justify-content:center;
    width:100%!important;height:100%!important;min-height:252px;
    aspect-ratio:auto!important;padding:6px!important;background:#fff;
    border-radius:12px 0 0 12px!important;overflow:hidden;touch-action:pan-y;
  }
  body.storefront-refined .catalog-product-grid .product-card .product-image img{
    display:block;width:100%!important;height:100%!important;max-height:420px;
    min-width:0;object-fit:contain!important;object-position:center!important;
    user-select:none;-webkit-user-drag:none;transform:none!important;
  }
  body.storefront-refined .catalog-product-grid .product-card .product-brand-corner{display:none!important}
  body.storefront-refined .catalog-product-grid .product-card .product-content{
    display:flex!important;flex-direction:column;min-height:252px;min-width:0;
    padding:12px 12px 12px 9px!important;
  }
  body.storefront-refined .catalog-product-grid .product-card .product-brand{
    height:auto;min-height:0;margin:0 0 4px;font-size:.65rem;font-weight:700;
    letter-spacing:.015em;text-transform:uppercase;color:#64776e;
  }
  body.storefront-refined .catalog-product-grid .product-card .product-content h3{
    height:auto!important;min-height:0!important;max-height:3.9em;
    -webkit-line-clamp:3;margin:0 0 7px;
    font-size:.96rem!important;line-height:1.3;font-weight:700;
  }
  body.storefront-refined .catalog-product-grid .product-card .product-params{display:none!important}
  body.storefront-refined .catalog-product-grid .product-card .product-status-row{
    justify-content:flex-start!important;flex-wrap:wrap;min-height:0;gap:5px!important;margin:0 0 8px;
  }
  body.storefront-refined .catalog-product-grid .product-card .product-status-row .stock{
    padding:5px 6px;font-size:.68rem!important;border-radius:7px;
  }
  body.storefront-refined .catalog-product-grid .product-card .product-delivery-mini,
  body.storefront-refined .catalog-product-grid .product-card .card-seller-line{
    display:flex;gap:5px;align-items:flex-start;min-height:0;
    margin:0 0 7px!important;padding:0;font-size:.71rem!important;
    line-height:1.35;overflow-wrap:anywhere;
  }
  body.storefront-refined .catalog-product-grid .product-card .card-seller-line b{color:#344b3d;font-weight:700}
  body.storefront-refined .catalog-product-grid .product-card .product-card-bottom{
    display:flex!important;flex-direction:column;align-items:stretch!important;flex-wrap:nowrap;
    gap:6px;margin-top:auto!important;padding:6px 0 0!important;
  }
  body.storefront-refined .catalog-product-grid .product-card .product-card-price{
    display:flex!important;flex-direction:column;align-items:flex-start;gap:1px;
    width:100%;flex-basis:auto;min-height:0;grid-template-rows:none;
  }
  body.storefront-refined .catalog-product-grid .product-card .product-card-price>strong{
    font-size:1.15rem!important;line-height:1.3;font-weight:800!important;white-space:normal;
  }
  body.storefront-refined .catalog-product-grid .product-card .product-card-price>del{font-size:.76rem;line-height:1.3}
  body.storefront-refined .catalog-product-grid .product-card .omnibus-card{font-size:.66rem;line-height:1.3;margin:3px 0 0}
  body.storefront-refined .catalog-product-grid .product-card .product-card-bottom>form{display:block;width:100%;margin:0!important}
  body.storefront-refined .catalog-product-grid .product-card .product-card-bottom .btn,
  body.storefront-refined .catalog-product-grid .product-card .product-card-size-cta{
    display:flex!important;align-items:center;justify-content:center;width:100%!important;
    min-height:42px;max-width:none;min-width:0;padding:8px 4px!important;
    line-height:1.25;font-size:.7rem;font-weight:750;text-align:center;
    white-space:normal;text-decoration:none;
  }
  body.storefront-refined .catalog-product-grid .product-card .mobile-card-sales-paused{
    display:flex;margin:3px 0 0;padding:7px 8px;
    border:1px solid #e5e9e4;border-radius:7px;background:#f5f6f4;
    color:#626e65;font-size:.69rem;line-height:1.25;font-weight:650;
  }
  body.storefront-refined .catalog-product-grid .catalog-product-unavailable .catalog-unavailable-note{
    font-size:.68rem;line-height:1.3;margin:8px 0;
  }
  body.storefront-refined .catalog-product-grid .catalog-product-unavailable .product-bottom{
    margin-top:auto;display:flex;align-items:center;flex-wrap:wrap;gap:6px;
  }
  body.storefront-refined .catalog-product-grid .catalog-product-unavailable .catalog-details-button{
    width:auto!important;min-width:40px;min-height:40px;padding:8px!important;
  }
  /* Nawigacja zdjęć dotykiem i przyciskami. */
  body.storefront-refined .mobile-card-gallery-nav,
  body.storefront-refined .mobile-detail-gallery-nav{
    display:grid;place-items:center;position:absolute;top:50%;z-index:4;
    width:33px;height:33px;margin-top:-16px;padding:0;
    border:1px solid #e2e8e1;border-radius:50%!important;
    background:rgba(255,255,255,.93);color:#183027;
    box-shadow:0 1px 5px rgba(0,0,0,.09);cursor:pointer;touch-action:manipulation;
  }
  body.storefront-refined .mobile-card-gallery-nav.is-prev,
  body.storefront-refined .mobile-detail-gallery-nav.is-prev{left:7px}
  body.storefront-refined .mobile-card-gallery-nav.is-next,
  body.storefront-refined .mobile-detail-gallery-nav.is-next{right:7px}
  body.storefront-refined .mobile-card-gallery-count,
  body.storefront-refined .mobile-detail-gallery-counter{
    display:block;position:absolute;z-index:4;left:50%;bottom:9px;
    transform:translateX(-50%);padding:3px 9px;border-radius:20px;
    background:rgba(19,39,31,.8);color:#fff;
    font-size:.67rem;font-weight:700;white-space:nowrap;pointer-events:none;
  }
  body.storefront-refined [data-mobile-detail-stage],
  body.storefront-refined [data-mobile-card-gallery] .product-image{touch-action:pan-y}
  body.storefront-refined .modern-product-gallery .product-thumbnails{
    display:flex;flex-wrap:nowrap;align-items:center;gap:8px;
    max-width:100%;overflow-x:auto;padding:9px 2px 11px;
    scrollbar-width:thin;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;
  }
  body.storefront-refined .modern-product-gallery .product-thumbnails .product-thumb{
    flex:0 0 66px!important;scroll-snap-align:start;
    width:66px!important;min-width:66px;max-width:66px;height:66px!important;
  }
  body.storefront-refined .product-page-modern .buy-box,
  body.storefront-refined .product-page-modern .seller-available-sizes{
    visibility:visible!important;opacity:1!important;
  }
  body.storefront-refined .product-page-modern .buy-box{
    display:flex!important;align-items:stretch!important;flex-wrap:wrap;
    gap:10px;padding:14px 0!important;
  }
  body.storefront-refined .product-page-modern .buy-box .btn-accent{min-height:48px;flex:1 1 160px}
  body.storefront-refined .product-page-modern .buy-box .product-size-selector{flex:1 1 100%;min-width:0}
  body.storefront-refined .product-page-modern .buy-box .product-size-selector select{min-height:45px;font-size:16px}
  body.storefront-refined .product-page-modern .product-sales-paused{display:flex;visibility:visible;gap:10px}
  body.storefront-refined .mobile-disabled-buy{display:block;margin:12px 0 8px}
  body.storefront-refined .mobile-disabled-buy .btn{
    display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;
    background:#edf0ed;color:#69736b;border:1px solid #dbe2db;
    opacity:1;cursor:not-allowed;
  }
  /* Zapełnienie krótkich stron i brak białego pasa pod stopką. */
  body.storefront-refined{display:flex;flex-direction:column;min-height:100vh;min-height:100svh}
  body.storefront-refined>.site-footer{flex-shrink:0;margin-top:auto!important;margin-bottom:0!important}
  body.storefront-refined .footer-bottom{margin-bottom:0!important;padding-bottom:env(safe-area-inset-bottom,0px)}
  body.storefront-refined .back-to-top{position:fixed}
}
@media(prefers-reduced-motion:reduce){
 body.storefront-refined .mobile-card-gallery-nav,body.storefront-refined .mobile-detail-gallery-nav{transition:none!important}
}
