:root {
      --red: #d71920;
      --red-dark: #9f1118;
      --black: #080808;
      --ink: #171717;
      --muted: #666666;
      --soft: #f6f6f6;
      --line: #e5e5e5;
      --white: #ffffff;
      --shadow: 0 16px 42px rgba(15, 15, 15, .08);
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: auto; }
    body { margin: 0; font-family: Inter, Arial, Helvetica, sans-serif; background: #fff; color: var(--ink); }
    img { max-width: 100%; display: block; }
    a { color: inherit; text-decoration: none; }
    button, input, select, textarea { font: inherit; }
    button { cursor: pointer; }
    .page-wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
    .top-strip { background: #101010; border-bottom: 1px solid #222; color: #fff; font-size: 12px; font-weight: 800; }
    .top-strip .page-wrap { min-height: 30px; display: flex; align-items: center; justify-content: center; gap: 30px; }
    .site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); box-shadow: 0 6px 24px rgba(0,0,0,.05); backdrop-filter: blur(14px); }
    .header-main { min-height: 76px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; }
    .brand { display: inline-flex; align-items: center; gap: 12px; min-width: 232px; }
    .brand-mark { display: none; }
    .brand img { display: block; width: 192px; max-height: 48px; height: auto; object-fit: contain; }
    .brand-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .brand-sub { display: none; }
    .main-nav { display: flex; align-items: center; justify-content: center; gap: 32px; justify-self: center; }
    .nav-link { border: 0; background: transparent; padding: 8px 0; color: #171717; font-weight: 900; text-transform: uppercase; font-size: 13px; letter-spacing: 0; }
    .nav-link:hover, .nav-link.active { color: var(--red); }
    .header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 0; }
    .search-form { width: min(260px, 24vw); min-height: 42px; display: flex; align-items: center; border: 1px solid #d7d7d7; border-radius: 999px; background: #fff; padding-left: 14px; }
    .search-form:focus-within { border-color: #151515; box-shadow: 0 0 0 3px rgba(0,0,0,.06); }
    .search-form input { min-width: 0; width: 100%; border: 0; outline: none; background: transparent; padding: 9px 2px; color: #111; }
    .icon-button { position: relative; border: 0; background: transparent; color: #151515; min-width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 999px; font-weight: 900; }
    .icon-button:hover { color: var(--red); background: #fff1f1; }
    .icon-button svg { width: 21px; height: 21px; stroke-width: 1.9; }
    .header-cart-button { color: #151515; background: transparent; }
    .header-cart-button:hover { color: var(--red); background: #fff1f1; }
    .header-cart-button.is-active { color: var(--red); }
    .header-cart-button.is-active:hover { background: var(--red); color: #fff; }
    .cart-badge { position: absolute; right: 0; top: 1px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 1000; }
    .cart-badge[hidden] { display: none; }
    .header-cart-button:hover .cart-badge { background: #111; }
    .mobile-menu-button { display: none; }
    .category-nav { border-top: 1px solid #f1f1f1; background: #fff; }
    .category-nav .page-wrap { min-height: 46px; display: flex; align-items: center; gap: 20px; overflow-x: auto; scrollbar-width: none; }
    .category-nav .page-wrap::-webkit-scrollbar { display: none; }
    .category-pill { border: 0; background: transparent; padding: 13px 0; white-space: nowrap; color: #555; font-size: 13px; font-weight: 800; }
    .category-pill:hover, .category-pill.active { color: var(--red); }
    .mobile-drawer { position: fixed; inset: 0; z-index: 90; display: none; }
    .mobile-drawer.open { display: block; }
    .mobile-backdrop { position: absolute; inset: 0; border: 0; background: rgba(0,0,0,.55); }
    .mobile-panel { position: absolute; left: 0; top: 0; bottom: 0; width: min(420px, 91vw); overflow: auto; background: #fff; padding: 18px; box-shadow: 18px 0 50px rgba(0,0,0,.24); }
    .mobile-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
    .mobile-list { display: grid; gap: 8px; margin-top: 16px; }
    .mobile-list button, .mobile-list a { width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 13px; text-align: left; font-weight: 900; }
    .hero-section { padding: 34px 0 12px; background: #fff; }
    .hero-section .page-wrap { max-width: 1040px; }
    .hero-carousel { position: relative; overflow: hidden; min-height: 318px; touch-action: pan-y; border-radius: 8px; background: #111; box-shadow: 0 18px 46px rgba(0,0,0,.14); }
    #heroSlides { position: absolute; inset: 0; display: flex; height: 100%; will-change: transform; transform: translate3d(0,0,0); }
    #heroSlides.hero-track-animating { transition: transform .58s cubic-bezier(.25,.46,.45,.94); }
    #heroSlides.hero-track-dragging { transition: none !important; }
    .hero-slide { position: relative; flex: 0 0 100%; min-width: 100%; height: 100%; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 24px; padding: 34px clamp(32px, 5vw, 72px); color: #fff; opacity: 1; visibility: visible; pointer-events: auto; backface-visibility: hidden; -webkit-backface-visibility: hidden; user-select: none; -webkit-user-select: none; }
    .hero-slide.active { opacity: 1; visibility: visible; }
    .hero-copy { max-width: 560px; }
    .eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #fff; background: var(--red); border-radius: 999px; padding: 7px 11px; font-size: 12px; font-weight: 1000; text-transform: uppercase; }
    .hero-copy h1 { margin: 16px 0 12px; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.02; letter-spacing: 0; }
    .hero-copy p { margin: 0; color: #e8e8e8; font-size: 16px; line-height: 1.55; max-width: 500px; }
    .hero-art { width: 100%; min-height: 230px; display: grid; place-items: center; border: 0; background: transparent; padding: 0; color: inherit; }
    .hero-art img { width: min(430px, 100%); max-height: 275px; object-fit: contain; filter: drop-shadow(0 24px 32px rgba(0,0,0,.36)); }
    .primary-button, .secondary-button { border: 0; min-height: 44px; border-radius: 6px; padding: 12px 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 1000; }
    .primary-button { background: var(--red); color: #fff; }
    .primary-button:hover { background: #b9141b; }
    .secondary-button { background: #111; color: #fff; }
    .secondary-button:hover { background: var(--red); }
    .white-button { background: #fff; color: #111; }
    .hero-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
    .hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: rgba(0,0,0,.42); color: #fff; display: grid; place-items: center; }
    .hero-arrow:hover { background: var(--red); border-color: var(--red); }
    .hero-arrow.prev { left: 14px; }
    .hero-arrow.next { right: 14px; }
    .hero-dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; align-items: center; justify-content: center; gap: 8px; z-index: 2; }
    .hero-dot { width: 34px; height: 4px; border: 0; border-radius: 999px; background: rgba(255,255,255,.34); padding: 0; }
    .hero-dot.active { background: var(--red); }
    .section { padding: 44px 0 0; }
    .section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
    .section-kicker { margin: 0 0 6px; color: var(--red); font-size: 12px; font-weight: 1000; text-transform: uppercase; }
    .section-title { margin: 0; font-size: clamp(24px, 3vw, 34px); line-height: 1.08; letter-spacing: 0; }
    .section-copy { margin: 8px 0 0; max-width: 660px; color: #666; line-height: 1.6; }
    .category-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
    .category-card { border: 1px solid var(--line); background: #fff; border-radius: 8px; overflow: hidden; min-height: 168px; text-align: left; display: flex; flex-direction: column; box-shadow: 0 10px 24px rgba(0,0,0,.04); }
    .category-card:hover { border-color: #f1b3b6; transform: translateY(-2px); transition: .18s ease; }
    .category-image { height: 112px; display: grid; place-items: center; background: #fafafa; border-bottom: 1px solid #f1f1f1; }
    .category-image img { width: 90%; height: 92px; object-fit: contain; }
    .category-body { padding: 12px; }
    .category-body strong { display: block; font-size: 15px; line-height: 1.2; }
    .category-body span { display: block; margin-top: 4px; color: #777; font-size: 12px; line-height: 1.35; }
    .products-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
    .product-card { position: relative; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 10px 28px rgba(0,0,0,.04); }
    .product-card:hover { border-color: #efb5b8; box-shadow: 0 14px 38px rgba(0,0,0,.08); }
    .product-photo { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; border-bottom: 1px solid #f0f0f0; background: #fff; }
    .product-photo a { position: absolute; inset: 0; border: 0; background: transparent; padding: 0; display: grid; place-items: center; }
    .product-photo img { width: 90%; height: 90%; object-fit: contain; padding: 6px; }
    .badges { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 1; }
    .badge { border-radius: 5px; padding: 5px 7px; background: #111; color: #fff; font-size: 11px; font-weight: 1000; text-transform: uppercase; }
    .badge.sale { background: var(--red); }
    .product-body { padding: 14px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
    .brand-line { color: var(--red); font-size: 11px; font-weight: 1000; text-transform: uppercase; min-height: 14px; }
    .product-name { border: 0; background: transparent; padding: 0; color: #151515; text-align: left; font-weight: 1000; line-height: 1.25; min-height: 42px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .product-name:hover { color: var(--red); }
    .product-meta { min-height: 34px; color: #777; font-size: 12px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .price-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: auto; }
    .price-line strong { font-size: 22px; line-height: 1; }
    .old-price { color: #888; font-size: 13px; text-decoration: line-through; }
    .card-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 3px; }
    .outline-button, .cart-button { min-height: 42px; border-radius: 6px; padding: 10px 12px; font-weight: 1000; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-align: center; }
    .outline-button { border: 1px solid #cfcfcf; background: #fff; color: #111; }
    .outline-button:hover { border-color: var(--red); color: var(--red); }
    .cart-button { border: 0; background: #111; color: #fff; }
    .cart-button:hover { background: var(--red); }
    .catalog-panel { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 18px; box-shadow: 0 10px 28px rgba(0,0,0,.04); }
    .catalog-tools { display: grid; grid-template-columns: minmax(220px, 1fr) 220px 180px; gap: 12px; margin-bottom: 16px; }
    .field { width: 100%; border: 1px solid #d8d8d8; background: #fff; border-radius: 6px; padding: 12px 13px; outline: none; }
    .field:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(215,25,32,.12); }
    .load-row { display: flex; justify-content: center; margin-top: 18px; }
    .category-page-view { padding: 34px 0 0; background: #fff; }
    .category-page-view[hidden] { display: none; }
    .product-page-view { padding: 34px 0 0; background: #fff; }
    .product-page-view[hidden] { display: none; }
    .breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: #757575; font-size: 13px; font-weight: 800; margin-bottom: 18px; }
    .breadcrumbs a, .breadcrumbs button { border: 0; background: transparent; color: #333; padding: 0; font-weight: 900; }
    .breadcrumbs a:hover, .breadcrumbs button:hover { color: var(--red); }
    .category-page-hero { border-bottom: 1px solid var(--line); padding: 24px 0 28px; margin-bottom: 22px; }
    .category-page-title { margin: 0; font-size: clamp(34px, 5vw, 58px); line-height: .98; letter-spacing: 0; text-transform: uppercase; }
    .category-page-description { max-width: 760px; margin: 12px 0 0; color: #606060; font-size: 16px; line-height: 1.65; }
    .category-page-tools { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; color: #666; font-size: 14px; font-weight: 800; }
    .category-empty { border: 1px solid var(--line); border-radius: 8px; padding: 26px; color: #555; background: #fff; }
    .product-page-grid { display: grid; grid-template-columns: minmax(320px, .95fr) minmax(360px, 1.05fr); gap: 34px; align-items: start; }
    .product-page-photo { border: 1px solid var(--line); border-radius: 8px; background: #fff; min-height: 520px; display: grid; place-items: center; padding: 24px; }
    .product-page-photo img { width: 100%; height: min(480px, 55vh); object-fit: contain; }
    .product-page-gallery { display: grid; gap: 12px; }
    .product-page-thumbs { display: flex; gap: 9px; overflow-x: auto; padding-bottom: 2px; }
    .product-thumb { flex: 0 0 76px; width: 76px; height: 76px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 5px; display: grid; place-items: center; }
    .product-thumb img { width: 100%; height: 100%; object-fit: contain; }
    .product-thumb.active, .product-thumb:hover { border-color: var(--red); }
    .product-page-summary { display: grid; gap: 16px; }
    .product-page-summary h1 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.05; letter-spacing: 0; }
    .availability { display: inline-flex; align-items: center; width: max-content; gap: 8px; border-radius: 999px; background: #f1fff5; color: #147a34; padding: 7px 11px; font-weight: 1000; font-size: 13px; }
    .product-page-actions { display: grid; grid-template-columns: minmax(190px, 260px) minmax(160px, 220px); gap: 10px; margin-top: 6px; }
    .product-page-description { border-top: 1px solid var(--line); padding-top: 18px; color: #3d3d3d; line-height: 1.72; }
    .product-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .product-choice-grid .field, .quantity-field { display: grid; gap: 6px; font-size: 12px; font-weight: 1000; color: #555; text-transform: uppercase; }
    .product-choice-grid select { min-height: 42px; border: 1px solid var(--line); border-radius: 7px; background: #fff; padding: 0 10px; color: #111; }
    .quantity-control { display: inline-grid; grid-template-columns: 42px 70px 42px; width: max-content; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; background: #fff; }
    .quantity-control button { border: 0; background: #fff; font-weight: 1000; font-size: 18px; }
    .quantity-control input { border: 0; border-inline: 1px solid var(--line); text-align: center; font-weight: 1000; outline: none; }
    .product-lower-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 16px; margin-top: 22px; }
    .product-info-panel { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 18px; }
    .product-info-panel h3 { margin: 0 0 10px; font-size: 18px; }
    .product-info-panel p { margin: 0; color: #555; line-height: 1.65; }
    .related-section { margin-top: 38px; }
    .about-section { margin-top: 42px; background: #fff; border-block: 1px solid var(--line); }
    .about-inner { padding: 54px 20px; }
    .about-inner h2 { margin: 0 0 28px; font-size: clamp(34px, 5vw, 58px); line-height: .98; letter-spacing: 0; text-transform: uppercase; }
    .about-copy { max-width: 1120px; display: grid; gap: 17px; }
    .about-copy p { color: #383838; line-height: 1.72; margin: 0; font-size: 16px; }
    .about-copy .about-lead { color: #151515; font-weight: 900; }
    .about-copy .about-final { color: var(--red); font-weight: 1000; }
    .trust-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-top: 22px; }
    .trust-item { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 16px; }
    .trust-item strong { display: block; }
    .trust-item span { display: block; margin-top: 5px; color: #666; font-size: 13px; line-height: 1.4; }
    .newsletter-section { margin-top: 54px; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .newsletter-inner { max-width: 980px; margin: 0 auto; padding: 64px 20px 56px; text-align: center; }
    .newsletter-logo { display: inline-flex; align-items: center; justify-content: center; margin-bottom: 22px; }
    .newsletter-logo img { width: 150px; height: auto; object-fit: contain; }
    .newsletter-title { margin: 0; color: #151515; font-size: clamp(24px, 3.4vw, 38px); font-weight: 500; line-height: 1.25; letter-spacing: 0; }
    .newsletter-form { max-width: 760px; margin: 28px auto 0; display: grid; grid-template-columns: minmax(220px, 1fr) 260px; gap: 12px; align-items: center; }
    .newsletter-form input[type="email"] { width: 100%; min-height: 58px; border: 1px solid #d8d8d8; border-radius: 8px; background: #fff; padding: 0 18px; outline: none; font-weight: 700; color: #222; }
    .newsletter-form input[type="email"]:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(215,25,32,.12); }
    .newsletter-submit { min-height: 58px; border: 0; border-radius: 8px; background: var(--red); color: #fff; padding: 0 24px; font-weight: 1000; }
    .newsletter-submit:hover { background: #b9141b; }
    .newsletter-consent { max-width: 760px; margin: 14px auto 0; display: flex; align-items: flex-start; gap: 10px; color: #565656; text-align: left; font-size: 13px; line-height: 1.45; }
    .newsletter-consent input { width: 20px; height: 20px; margin: 0; accent-color: var(--red); flex: 0 0 auto; }
    .newsletter-consent button { border: 0; background: transparent; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 2px; font-weight: 800; }
    .site-footer { background: #080808; color: #fff; }
    .footer-logo { display: flex; justify-content: center; padding-top: 34px; }
    .footer-logo .brand { justify-content: center; min-width: 0; color: #111; background: #fff; border-radius: 6px; padding: 10px 14px; }
    .footer-logo .brand img { width: 190px; }
    .footer-logo .brand-sub { color: #555; }
    .footer-grid { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); gap: 28px; padding: 34px 0 28px; }
    .footer-col h3, .footer-accordion-title { margin: 0 0 14px; font-size: 15px; text-transform: uppercase; letter-spacing: 0; }
    .footer-col p, .footer-col a, .footer-col button { color: #d5d5d5; font-size: 14px; line-height: 1.7; }
    .footer-links { display: grid; gap: 7px; }
    .footer-links button, .footer-links a { border: 0; padding: 0; background: transparent; text-align: left; }
    .footer-links button:hover, .footer-links a:hover { color: #fff; }
    .payment-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
    .payment-tags span { background: rgba(255,255,255,.1); border-radius: 5px; padding: 5px 8px; font-size: 12px; font-weight: 900; color: #fff; }
    .footer-mobile { display: none; padding: 24px 0; }
    .footer-accordion { border-top: 1px solid rgba(255,255,255,.12); }
    .footer-accordion-title { width: 100%; border: 0; background: transparent; color: #fff; padding: 16px 0; display: flex; align-items: center; justify-content: space-between; }
    .footer-accordion-body { display: none; padding: 0 0 16px; }
    .footer-accordion.open .footer-accordion-body { display: grid; gap: 8px; }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,.12); color: #a7a7a7; font-size: 12px; }
    .footer-bottom .page-wrap { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
    .drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 120; width: min(440px, 100%); background: #fff; transform: translateX(104%); transition: transform .25s ease; display: flex; flex-direction: column; box-shadow: -18px 0 50px rgba(0,0,0,.25); }
    .drawer.open { transform: translateX(0); }
    .drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px; border-bottom: 1px solid var(--line); }
    .drawer-head h3 { margin: 0; font-size: 24px; }
    .close-button { border: 0; background: #111; color: #fff; border-radius: 6px; min-width: 38px; height: 38px; font-weight: 1000; }
    .drawer-items { flex: 1; overflow: auto; padding: 14px; display: grid; gap: 12px; align-content: start; }
    .cart-line { display: grid; grid-template-columns: 70px 1fr; gap: 12px; border: 1px solid var(--line); border-radius: 8px; padding: 10px; }
    .cart-line img { width: 70px; height: 70px; object-fit: contain; }
    .cart-line strong { display: block; line-height: 1.3; font-size: 13px; }
    .cart-line span { color: #666; font-size: 13px; }
    .qty-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
    .qty-row button { min-width: 28px; height: 28px; border: 1px solid var(--line); background: #fff; border-radius: 5px; font-weight: 900; }
    .qty-row .remove { color: var(--red); border-color: #f2c2c4; }
    .drawer-foot { border-top: 1px solid var(--line); padding: 16px; }
    .total-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; font-weight: 1000; font-size: 20px; }
    .drawer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .floating-cart { position: fixed; right: 22px; bottom: 22px; z-index: 80; display: none; }
    .floating-button { width: 58px; height: 58px; border: 1px solid var(--line); border-radius: 999px; display: grid; place-items: center; background: #fff; color: #111; box-shadow: 0 14px 35px rgba(0,0,0,.12); }
    body.cart-has-items .floating-button { border-color: var(--red); background: var(--red); color: #fff; box-shadow: 0 14px 35px rgba(215,25,32,.35); }
    .floating-button svg { width: 25px; height: 25px; }
    .quick-cart { position: absolute; right: -12px; bottom: 70px; width: 360px; max-height: min(580px, calc(100vh - 120px)); overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 20px 50px rgba(0,0,0,.2); transform: translateX(24px); opacity: 0; pointer-events: none; transition: .22s ease; }
    .floating-cart:hover .quick-cart, .floating-cart.is-quick-cart-open .quick-cart, .quick-cart.open { transform: translateX(0); opacity: 1; pointer-events: auto; }
    .quick-cart-head { display: flex; justify-content: space-between; gap: 12px; padding: 14px; border-bottom: 1px solid var(--line); font-weight: 1000; }
    .quick-cart-body { padding: 12px; display: grid; gap: 10px; }
    .quick-line { display: grid; grid-template-columns: 54px 1fr auto; gap: 9px; align-items: center; }
    .quick-line img { width: 54px; height: 54px; object-fit: contain; border: 1px solid #f0f0f0; border-radius: 6px; }
    .quick-line strong { display: block; font-size: 12px; line-height: 1.25; }
    .quick-line span { color: #666; font-size: 12px; }
    .modal { position: fixed; inset: 0; z-index: 130; display: none; padding: 18px; overflow: auto; background: rgba(0,0,0,.72); }
    .modal.open { display: grid; place-items: center; }
    .detail-gallery { min-height: 560px; border-right: 1px solid var(--line); background: #fff; padding: 18px; display: grid; grid-template-rows: 1fr auto; gap: 12px; }
    .detail-main-photo { display: grid; place-items: center; min-height: 410px; }
    .detail-main-photo img { width: 100%; height: 100%; max-height: 480px; object-fit: contain; }
    .thumbs { display: flex; gap: 8px; overflow-x: auto; }
    .thumbs button { width: 72px; height: 72px; flex: 0 0 auto; border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 4px; }
    .thumbs img { width: 100%; height: 100%; object-fit: contain; }
    .detail-body { padding: 24px; }
    .detail-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
    .detail-body h2 { margin: 6px 0 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.05; letter-spacing: 0; }
    .detail-desc { color: #555; line-height: 1.7; margin: 16px 0 0; }
    .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
    .chip { border: 1px solid var(--line); background: #fafafa; border-radius: 6px; padding: 8px 10px; font-weight: 800; font-size: 13px; }
    .info-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-top: 14px; }
    .info-box { border: 1px solid var(--line); background: #fafafa; border-radius: 8px; padding: 12px; }
    .info-box strong { display: block; font-size: 13px; }
    .info-box span { display: block; margin-top: 5px; color: #666; font-size: 12px; line-height: 1.4; }
    .detail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
    .simple-modal { width: min(620px, 100%); background: #fff; border-radius: 8px; padding: 22px; box-shadow: 0 28px 80px rgba(0,0,0,.32); }
    .simple-modal h2 { margin: 0 0 10px; }
    .simple-modal p { color: #666; line-height: 1.55; }
    .toast { position: fixed; left: 50%; bottom: 22px; z-index: 160; transform: translate(-50%, 120px); min-width: min(420px, calc(100vw - 34px)); background: #111; color: #fff; border-radius: 8px; padding: 12px 14px; box-shadow: 0 18px 42px rgba(0,0,0,.24); transition: transform .25s ease; font-weight: 900; text-align: center; }
    .toast.show { transform: translate(-50%, 0); }
    .empty-state { border: 1px dashed #cfcfcf; border-radius: 8px; padding: 24px; background: #fff; color: #666; text-align: center; }
    .hidden { display: none !important; }
    @media (min-width: 861px) {
      .floating-cart { display: block; }
    }
    @media (max-width: 1100px) {
      .header-main { grid-template-columns: auto 1fr auto; gap: 12px; }
      .brand { min-width: 0; }
      .brand img { width: 138px; }
      .main-nav { display: none; }
      .mobile-menu-button { display: inline-grid; }
      .search-form { width: min(360px, 36vw); }
      .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
      .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
      .footer-grid { grid-template-columns: repeat(3, 1fr); }
    }
    @media (max-width: 860px) {
      .page-wrap { padding: 0 14px; }
      .top-strip .page-wrap { justify-content: center; text-align: center; }
      .top-strip span:nth-child(n+2) { display: none; }
      .header-main { min-height: auto; padding: 12px 0; grid-template-columns: auto 1fr auto auto; }
      .brand { min-width: 0; }
      .brand-mark { display: none; }
      .brand img { display: block; width: 142px; }
      .brand-sub { display: none; }
      .header-actions { display: contents; }
      .search-form { grid-column: 1 / -1; order: 6; width: 100%; margin-top: 8px; }
      .header-actions .account-button { display: inline-grid; }
      .category-nav .page-wrap { gap: 16px; }
      .hero-section { padding-top: 18px; }
      .hero-carousel { min-height: 460px; }
      .hero-slide { grid-template-columns: 1fr; align-content: center; padding: 30px 22px 64px; gap: 16px; text-align: left; }
      .hero-copy h1 { font-size: clamp(30px, 9vw, 44px); }
      .hero-art { min-height: 170px; }
      .hero-art img { max-height: 190px; }
      .hero-arrow { top: auto; bottom: 13px; transform: none; }
      .hero-arrow.prev { left: 18px; }
      .hero-arrow.next { right: 18px; }
      .section { padding-top: 30px; }
      .section-head { align-items: flex-start; flex-direction: column; }
      .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
      .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
      .product-body { padding: 12px; }
      .price-line strong { font-size: 19px; }
      .catalog-tools { grid-template-columns: 1fr; }
      .about-inner { grid-template-columns: 1fr; padding: 36px 14px; }
      .about-points { grid-template-columns: 1fr; }
      .trust-row { grid-template-columns: repeat(2, minmax(0,1fr)); }
      .newsletter-inner { padding: 46px 14px 42px; }
      .newsletter-logo img { width: 135px; }
      .newsletter-form { grid-template-columns: 1fr; }
      .footer-grid { display: none; }
      .footer-mobile { display: block; }
      .detail-gallery { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
      .detail-main-photo { min-height: 300px; }
      .info-grid, .detail-actions, .drawer-actions { grid-template-columns: 1fr; }
      /* Mobile: the extra floating/quick cart is intentionally hidden.
         The header cart icon remains available. */
      .floating-cart { display: none !important; }
    }
    @media (max-width: 520px) {
      .brand-mark { width: 40px; height: 40px; }
      .icon-button { min-width: 38px; height: 38px; }
      .hero-carousel { min-height: 500px; }
      .category-grid, .products-grid, .trust-row { grid-template-columns: 1fr; }
      .category-card { min-height: 170px; }
      .product-name, .product-meta { min-height: 0; }
      .drawer { width: 100%; }
    }

    .main-nav { gap: 20px; }
    .main-nav .nav-link { font-size: 12px; }
    .trust-row { margin-top: 0; padding: 10px 0 0; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
    .trust-item { border: 0; background: transparent; border-radius: 0; padding: 8px 0; box-shadow: none; display: flex; align-items: center; gap: 12px; }
    .trust-icon { flex: 0 0 44px; width: 44px; height: 44px; margin-top: 0; border-radius: 999px; display: grid; place-items: center; background: #fff1f1; color: var(--red); }
    .trust-icon svg { width: 23px; height: 23px; stroke-width: 2.15; }
    .trust-item > span:not(.trust-icon) { display: block; margin-top: 0; color: inherit; font-size: inherit; line-height: normal; }
    .trust-item strong { display: block; color: #151515; font-size: 14px; line-height: 1.2; }
    .trust-item small { display: block; margin-top: 4px; color: #666; font-size: 12px; line-height: 1.45; }
    .add-cart-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
    .cart-mini-icon { width: 24px; height: 24px; border-radius: 999px; display: inline-grid; place-items: center; background: rgba(255,255,255,.13); color: currentColor; }
    .cart-mini-icon svg { width: 17px; height: 17px; stroke-width: 2.3; }
    @media (max-width: 860px) {
      .trust-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
      .trust-item { align-items: flex-start; }
    }
    @media (max-width: 520px) {
      .trust-row { grid-template-columns: 1fr; }
      .trust-icon { width: 40px; height: 40px; flex-basis: 40px; }
    }
    .top-strip { display: none; }
    .page-wrap { max-width: 1360px; }
    .site-header { border-bottom: 1px solid #eef0f3; box-shadow: 0 5px 18px rgba(16,24,40,.04); }
    .header-main { min-height: 88px; grid-template-columns: auto minmax(0,1fr) auto; }
    .brand img { width: 206px; }
    .main-nav { justify-self: start; gap: 24px; }
    .main-nav .nav-link { color: #061b3d; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 900; text-transform: none; }
    .main-nav .nav-link svg { width: 14px; height: 14px; stroke-width: 2.6; }
    .main-nav .nav-link:hover, .main-nav .nav-link.active { color: var(--red); }
    .header-actions { gap: 12px; }
    .header-actions .search-form { width: min(320px, 22vw); min-height: 48px; border-color: #e1e4e8; box-shadow: 0 4px 16px rgba(16,24,40,.04); }
    .header-actions .search-form input::placeholder { color: #8a8f98; }
    .icon-button { color: #061b3d; background: transparent; }
    .icon-button:hover { color: var(--red); background: transparent; }
    .icon-button svg { width: 25px; height: 25px; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
    .header-cart-button svg, .account-button svg { width: 28px; height: 28px; }
    .header-cart-button { color: #061b3d; background: transparent; }
    .header-cart-button:hover { color: var(--red); background: transparent; }
    .header-cart-button.is-active { color: var(--red); }
    .cart-badge { right: -3px; top: -2px; min-width: 18px; height: 18px; background: var(--red); border: 2px solid #fff; font-size: 10px; }
    .category-nav { display: none; }
    .mega-layer { position: fixed; left: 0; right: 0; top: 88px; z-index: 75; opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .18s ease, transform .18s ease; }
    .mega-layer.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
    .mega-backdrop { position: fixed; inset: 88px 0 0; border: 0; background: rgba(6, 14, 25, .18); }
    .mega-wrap { position: relative; }
    .mega-panel { display: none; width: 100%; min-height: 330px; border: 1px solid #e4e7eb; border-radius: 18px; background: #fff; box-shadow: 0 28px 70px rgba(17,24,39,.14); padding: 28px; }
    .mega-panel.active { display: grid; }
    .mega-panel[data-mega-panel="categories"] { grid-template-columns: 260px 1fr; gap: 34px; }
    .mega-tabs { display: grid; align-content: start; gap: 8px; border-right: 1px solid #eef0f3; padding-right: 18px; }
    .mega-tabs button { border: 0; border-radius: 12px; background: transparent; color: #061b3d; padding: 15px 16px; text-align: left; font-weight: 1000; }
    .mega-tabs button.active, .mega-tabs button:hover { background: #eef3ff; color: #061b3d; }
    .mega-content { min-width: 0; }
    .mega-tab-panel { display: none; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 26px; }
    .mega-tab-panel.active { display: grid; }
    .mega-column h3 { margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid #eef0f3; color: #061b3d; font-size: 13px; letter-spacing: .02em; text-transform: uppercase; }
    .mega-column button, .mega-column a, .mega-brand-list button, .mega-brand-list a { display: block; width: 100%; border: 0; background: transparent; color: #2a2f38; padding: 8px 0; text-align: left; line-height: 1.35; font-weight: 750; }
    .mega-column button:hover, .mega-column a:hover, .mega-brand-list button:hover, .mega-brand-list a:hover { color: var(--red); }
    .mega-brands, .mega-about { grid-template-columns: 310px 1fr; gap: 28px; }
    .mega-promo-card { min-height: 250px; border-radius: 16px; background: linear-gradient(135deg, #101010, #2a0608); color: #fff; padding: 26px; display: grid; align-content: end; gap: 12px; }
    .mega-promo-card strong { font-size: 27px; line-height: 1; }
    .mega-promo-card span { color: rgba(255,255,255,.82); line-height: 1.45; }
    .mega-promo-card button, .mega-promo-card a { width: max-content; border: 0; border-radius: 999px; background: var(--red); color: #fff; padding: 11px 16px; font-weight: 1000; text-transform: uppercase; font-size: 12px; }
    .mega-brand-list { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 4px 28px; align-content: start; }
    .mega-about-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; align-content: stretch; }
    .mega-about-cards button, .mega-about-cards a { border: 1px solid #e4e7eb; border-radius: 16px; background: #fff; padding: 22px; text-align: left; display: grid; align-content: start; gap: 12px; }
    .mega-about-cards button:hover, .mega-about-cards a:hover { border-color: #efb5b8; box-shadow: 0 14px 32px rgba(17,24,39,.07); }
    .mega-about-cards span { width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center; background: #fff1f1; color: var(--red); font-size: 12px; font-weight: 1000; }
    .mega-about-cards strong { color: #061b3d; font-size: 20px; }
    .mega-about-cards small { color: #5f6670; line-height: 1.55; font-size: 14px; }
    @media (max-width: 1100px) {
      .header-main { grid-template-columns: auto 1fr auto; }
      .brand img { width: 160px; }
      .header-actions .search-form { width: min(300px, 32vw); }
      .mega-layer { display: none; }
    }
    @media (max-width: 860px) {
      .site-header { z-index: 80; }
      .header-main { grid-template-columns: 1fr auto auto auto; gap: 13px; padding: 16px 0 18px; }
      .brand { grid-column: 1 / 2; }
      .brand img { width: 132px; }
      .header-actions { display: contents; }
      .header-actions .search-form { grid-column: 2 / -1; order: 6; width: 100%; min-height: 58px; margin-top: 18px; border-radius: 28px; }
      .mobile-menu-button { grid-column: 1 / 2; order: 6; justify-self: start; min-width: 56px; height: 58px; border-radius: 12px; color: #080808; }
      .mobile-menu-button svg { width: 35px; height: 35px; }
      body.mobile-menu-open .mobile-menu-button svg path { display: none; }
      body.mobile-menu-open .mobile-menu-button::before { content: "X"; font-size: 42px; font-weight: 400; line-height: 1; color: #080808; }
      body.mobile-menu-open { overflow: hidden; }
      .account-button, .header-cart-button { min-width: 42px; height: 42px; }
      .account-button svg, .header-cart-button svg { width: 30px; height: 30px; }
      .mobile-drawer { top: 152px; z-index: 70; }
      .mobile-backdrop { background: rgba(0,0,0,.36); }
      .mobile-panel { width: min(760px, 80vw); padding: 10px 16px 34px; box-shadow: 22px 0 48px rgba(0,0,0,.22); }
      .mobile-panel-head, .mobile-panel > .search-form { display: none; }
      .mobile-list { gap: 0; margin-top: 0; }
      .mobile-list button, .mobile-list a { min-height: 74px; border: 0; border-bottom: 1px solid #e6e8ec; border-radius: 0; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; color: #061b3d; font-size: clamp(22px, 5vw, 31px); line-height: 1.1; font-weight: 650; }
      .mobile-list button svg, .mobile-list a svg { flex: 0 0 31px; width: 31px; height: 31px; stroke-width: 2.4; }
      .mobile-list .mobile-menu-featured { min-height: 64px; margin: 0 0 18px; border: 0; border-radius: 8px; background: #dce5ff; font-weight: 850; }
      .mobile-list .mobile-menu-featured svg { transform: rotate(90deg); }
    }
    #start { display: flex; flex-direction: column; }

/* FIX: na podstronach kategorii/produktu strona główna nie może zostać nad właściwym widokiem */
#start[hidden] {
  display: none !important;
}

    #start > .hero-section { order: 1; }
    #start > .home-benefits { order: 2; }
    #polecane { order: 3; }
    #kategorie { order: 4; }
    #marketingBanner { order: 5; }
    #bestsellery { order: 6; }
    #nowosci { order: 7; }
    #homeBrands { order: 8; }
    #promocje, #suplementy, #sporty-walki, #o-nas, #katalog { display: none; }
    #polecane .products-grid, #bestsellery .products-grid, #nowosci .products-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .page-wrap { max-width: 1360px; }
    .header-main { display: flex; align-items: center; gap: clamp(14px, 1.4vw, 22px); min-height: 82px; }
    .brand { flex: 0 0 auto; min-width: 0; }
    .brand img { width: clamp(154px, 14vw, 206px); }
    .main-nav { flex: 0 1 auto; justify-content: flex-start; gap: clamp(14px, 1.35vw, 24px); min-width: max-content; }
    .main-nav .nav-link { white-space: nowrap; }
    .nav-about-link { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
    .nav-about-link span { display: inline-block; white-space: nowrap; }
    .header-actions { margin-left: auto; flex: 1 1 360px; min-width: 330px; gap: 8px; }
    .header-actions .search-form { flex: 1 1 clamp(220px, 20vw, 340px); width: auto; max-width: 340px; min-width: 220px; }
    .icon-button { flex: 0 0 42px; }
    .mega-layer { z-index: 1000; }
    .mega-backdrop { z-index: 0; }
    .mega-wrap { position: relative; z-index: 1; }
    .product-card { height: 100%; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
    .product-card:hover { transform: translateY(-3px); }
    .card-actions { margin-top: auto; }
    .marketing-banner { min-height: 250px; border-radius: 8px; overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 20px; padding: clamp(24px, 4vw, 48px); background: linear-gradient(135deg, #101010, #2a0608); color: #fff; box-shadow: 0 18px 46px rgba(0,0,0,.12); }
    .marketing-banner h2 { margin: 0; font-size: clamp(28px, 4vw, 48px); line-height: 1.04; letter-spacing: 0; }
    .marketing-banner p { margin: 12px 0 0; color: rgba(255,255,255,.78); line-height: 1.6; max-width: 560px; }
    .marketing-banner img { width: 100%; height: 220px; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(0,0,0,.32)); }
    .brand-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
    .brand-tile { min-height: 92px; border: 1px solid var(--line); border-radius: 8px; background: #fff; display: grid; place-items: center; padding: 14px; text-align: center; font-weight: 1000; color: #061b3d; box-shadow: 0 10px 28px rgba(0,0,0,.04); }
    .brand-tile:hover { border-color: #efb5b8; color: var(--red); transform: translateY(-2px); }
    .category-page-tools .field { max-width: 260px; }
    .category-sort-field { width: min(260px, 100%); border: 1px solid #d8d8d8; background: #fff; border-radius: 8px; padding: 8px 12px; display: grid; gap: 4px; }
    .category-sort-field span { color: #777; font-size: 10px; font-weight: 1000; text-transform: uppercase; }
    .category-sort-field select { border: 0; outline: 0; background: transparent; color: #111; font-weight: 900; min-height: 24px; }
    .product-page-view .breadcrumbs { margin-top: 0; }
    .product-page-meta { display: flex; flex-wrap: wrap; gap: 8px; }
    .product-page-meta .chip { background: #fff; }
    .related-section .section-head { margin-bottom: 14px; }
    @media (max-width: 1180px) {
      .main-nav { display: none; }
      .mobile-menu-button { display: inline-grid; }
      .header-main { display: grid; grid-template-columns: auto 1fr auto; }
      .header-actions { min-width: 0; }
      .header-actions .search-form { max-width: 360px; min-width: 200px; width: min(360px, 36vw); }
      .mega-layer { display: none; }
      #polecane .products-grid, #bestsellery .products-grid, #nowosci .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
      .brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    }
    @media (max-width: 860px) {
      #polecane .products-grid, #bestsellery .products-grid, #nowosci .products-grid { display: flex; overflow-x: auto; gap: 12px; scroll-snap-type: x proximity; padding-bottom: 6px; }
      #polecane .product-card, #bestsellery .product-card, #nowosci .product-card { flex: 0 0 min(76vw, 320px); scroll-snap-align: start; }
      .product-page-grid { grid-template-columns: 1fr; gap: 20px; }
      .product-page-photo { min-height: 360px; }
      .product-page-actions { grid-template-columns: 1fr; }
      .product-choice-grid, .product-lower-grid { grid-template-columns: 1fr; }
      .marketing-banner { grid-template-columns: 1fr; padding: 24px; }
      .marketing-banner img { height: 170px; }
      .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    @media (max-width: 520px) {
      .brand-grid { grid-template-columns: 1fr; }
      .category-page-tools { align-items: stretch; flex-direction: column; }
      .category-page-tools .field { max-width: none; }
    }


/* ===== v10 compact cards + KFD-like trust icons ===== */
.page-wrap { max-width: 1440px; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
}
.product-card:hover {
  box-shadow: 0 10px 24px rgba(0,0,0,.07);
}
.product-photo {
  aspect-ratio: 1 / 1;
}
.product-photo img {
  width: 86%;
  height: 86%;
  padding: 4px;
}
.badges { left: 8px; top: 8px; gap: 4px; }
.badge {
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 10px;
}
.product-body {
  padding: 11px 11px 12px;
  gap: 7px;
}
.brand-line {
  font-size: 10px;
  min-height: 12px;
}
.product-name {
  font-size: 14px;
  min-height: 38px;
}
.product-meta {
  min-height: 28px;
  font-size: 11px;
}
.price-line strong {
  font-size: 18px;
}
.old-price {
  font-size: 12px;
}
.product-actions {
  gap: 8px;
}
.add-cart-button,
.quick-add,
.cart-icon-button {
  min-height: 38px;
}

/* Trust / benefits row more like compact KFD info cards */
.home-benefits .page-wrap {
  max-width: 1380px;
}
.trust-row {
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
  margin-top: 18px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #e9ebef;
  border-radius: 22px;
  padding: 18px 18px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(16,24,40,.03);
}
.trust-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #f8f9fb;
  color: #222;
}
.trust-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 2;
}
.trust-item strong {
  display: block;
  color: #161616;
  font-size: 15px;
  line-height: 1.15;
}
.trust-item small {
  display: block;
  margin-top: 5px;
  color: #676d78;
  font-size: 12px;
  line-height: 1.35;
}

@media (max-width: 1360px) {
  .products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust-row { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-body { padding: 10px; }
  .product-name { font-size: 13px; min-height: 34px; }
  .price-line strong { font-size: 16px; }
}
@media (max-width: 520px) {
  .trust-row { grid-template-columns: 1fr; }
  .trust-item {
    padding: 15px 14px;
    border-radius: 18px;
  }
  .trust-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    flex-basis: 42px;
  }
}


/* ===== v11 centered benefit icons ===== */
.home-benefits {
  padding-top: 22px;
  padding-bottom: 24px;
}
.home-benefits .trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 26px;
  margin-top: 0;
}
.home-benefits .trust-item {
  min-height: 142px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 10px;
  padding: 14px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.home-benefits .trust-icon {
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  margin: 0 auto 2px;
  border-radius: 0;
  background: transparent;
  color: #202124;
  display: grid;
  place-items: center;
}
.home-benefits .trust-icon svg {
  width: 34px;
  height: 34px;
  stroke-width: 1.8;
}
.home-benefits .trust-item > span:not(.trust-icon) {
  width: 100%;
  margin: 0;
  text-align: center;
}
.home-benefits .trust-item strong {
  display: block;
  margin: 0;
  color: #171717;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
}
.home-benefits .trust-item small {
  display: block;
  max-width: 230px;
  margin: 6px auto 0;
  color: #686868;
  font-size: 12px;
  line-height: 1.4;
}
@media (max-width: 900px) {
  .home-benefits .trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}
@media (max-width: 520px) {
  .home-benefits .trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .home-benefits .trust-item {
    min-height: 132px;
    padding: 12px 8px;
  }
  .home-benefits .trust-icon {
    width: 44px;
    height: 44px;
  }
  .home-benefits .trust-icon svg {
    width: 30px;
    height: 30px;
  }
  .home-benefits .trust-item strong { font-size: 13px; }
  .home-benefits .trust-item small { font-size: 11px; }
}

/* ===== v11 dedicated cart / checkout ===== */
.cart-page-main,
.checkout-page-main {
  background: #fff;
  min-height: 58vh;
  padding: 46px 0 76px;
}
.cart-page-heading,
.checkout-page-heading {
  margin-bottom: 30px;
}
.cart-page-heading h1,
.checkout-page-heading h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
  letter-spacing: -.025em;
  font-weight: 900;
}
.cart-page-heading p,
.checkout-page-heading p {
  margin: 10px 0 0;
  color: #6d6d6d;
  font-size: 14px;
}
.checkout-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 8px;
  margin: 0 0 30px;
}
.checkout-step {
  position: relative;
  padding: 11px 10px 11px 38px;
  border-bottom: 2px solid #e6e6e6;
  color: #929292;
  font-size: 12px;
  font-weight: 800;
}
.checkout-step span {
  position: absolute;
  left: 8px;
  top: 7px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid #cfcfcf;
  background: #fff;
}
.checkout-step.active,
.checkout-step.done {
  color: #171717;
  border-color: var(--red);
}
.checkout-step.active span,
.checkout-step.done span {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
}
.cart-page-layout,
.checkout-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 34px;
  align-items: start;
}
.cart-page-products {
  border-top: 1px solid #e9e9e9;
}
.cart-page-line {
  display: grid;
  grid-template-columns: 112px minmax(0,1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #e9e9e9;
}
.cart-page-line img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  background: #fff;
}
.cart-page-info {
  min-width: 0;
}
.cart-page-brand {
  margin-bottom: 5px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.cart-page-name {
  display: block;
  color: #171717;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 850;
}
.cart-page-unit {
  display: block;
  margin-top: 7px;
  color: #747474;
  font-size: 13px;
}
.cart-page-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}
.cart-page-qty button {
  width: 34px;
  height: 34px;
  border: 1px solid #d8d8d8;
  background: #fff;
  border-radius: 5px;
  font-weight: 900;
}
.cart-page-qty b {
  min-width: 28px;
  text-align: center;
}
.cart-page-qty .cart-page-remove {
  width: auto;
  margin-left: 6px;
  padding: 0 6px;
  border: 0;
  color: #777;
  text-decoration: underline;
  font-size: 12px;
  font-weight: 700;
}
.cart-page-line-total {
  min-width: 105px;
  text-align: right;
  color: #171717;
  font-size: 18px;
  font-weight: 900;
}
.cart-empty-box {
  padding: 54px 20px;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  text-align: center;
}
.cart-empty-box h2 {
  margin: 0 0 8px;
  font-size: 21px;
}
.cart-empty-box p {
  margin: 0 0 20px;
  color: #737373;
}
.cart-summary-card,
.checkout-summary-card {
  position: sticky;
  top: 112px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 8px 28px rgba(0,0,0,.04);
}
.cart-summary-card h2,
.checkout-summary-card h2 {
  margin: 0 0 20px;
  font-size: 20px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
  color: #4d4d4d;
  font-size: 14px;
}
.summary-row strong {
  color: #171717;
}
.summary-row.total {
  margin-top: 8px;
  padding-top: 17px;
  border-top: 1px solid #e3e3e3;
  color: #171717;
  font-size: 17px;
  font-weight: 900;
}
.summary-row.total strong {
  font-size: 22px;
}
.cart-checkout-button {
  width: 100%;
  min-height: 54px;
  margin-top: 18px;
  border: 0;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  font-weight: 900;
  font-size: 14px;
}
.cart-checkout-button:hover { background: #b9141b; }
.cart-checkout-button:disabled {
  cursor: not-allowed;
  opacity: .4;
}
.cart-continue-link {
  width: 100%;
  min-height: 46px;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d6d6d6;
  border-radius: 6px;
  color: #171717;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}
.cart-security-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: #777;
  font-size: 12px;
  line-height: 1.4;
}
.cart-security-note svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.checkout-form-card {
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: 24px;
}
.checkout-form-card + .checkout-form-card {
  margin-top: 18px;
}
.checkout-form-card h2 {
  margin: 0 0 18px;
  font-size: 20px;
}
.checkout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}
.checkout-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.checkout-field.full { grid-column: 1 / -1; }
.checkout-field label {
  color: #333;
  font-size: 12px;
  font-weight: 800;
}
.checkout-field input,
.checkout-field select {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  background: #fff;
  color: #171717;
  outline: none;
}
.checkout-field input:focus,
.checkout-field select:focus {
  border-color: #222;
  box-shadow: 0 0 0 3px rgba(0,0,0,.05);
}
.checkout-choice {
  display: grid;
  gap: 10px;
}
.checkout-choice label {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border: 1px solid #dedede;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
}
.checkout-choice input {
  accent-color: var(--red);
}
.checkout-products-mini {
  display: grid;
  gap: 11px;
  margin-bottom: 15px;
}
.checkout-mini-line {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 10px;
  align-items: center;
  font-size: 12px;
}
.checkout-mini-line img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.checkout-mini-line strong {
  display: block;
  line-height: 1.25;
}
.checkout-mini-line small {
  display: block;
  margin-top: 3px;
  color: #777;
}
body.is-cart-page .floating-cart,
body.is-checkout-page .floating-cart,
body.is-cart-page #cartDrawer,
body.is-checkout-page #cartDrawer {
  display: none !important;
}
@media (max-width: 900px) {
  .cart-page-layout,
  .checkout-page-layout {
    grid-template-columns: 1fr;
  }
  .cart-summary-card,
  .checkout-summary-card { position: static; }
}
@media (max-width: 620px) {
  .cart-page-main,
  .checkout-page-main { padding: 28px 0 52px; }
  .checkout-steps { grid-template-columns: repeat(2, 1fr); }
  .cart-page-line {
    grid-template-columns: 84px minmax(0,1fr);
    gap: 13px;
  }
  .cart-page-line img { width: 84px; height: 84px; }
  .cart-page-line-total {
    grid-column: 2;
    text-align: left;
    font-size: 16px;
  }
  .checkout-grid { grid-template-columns: 1fr; }
}


/* ===== v14: finalne poprawki strony głównej, bez zmiany brandingu ===== */

html {
  scroll-behavior: smooth;
}

#polecane,
#bestsellery,
#nowosci,
#promocje {
  scroll-margin-top: 112px;
}

/* Docelowa kolejność strony głównej */
#start > .hero-section { order: 1; }
#start > .home-jump-bar { order: 2; }
#start > .home-benefits { order: 3; }
#polecane { order: 4; }
#bestsellery { order: 5; }
#nowosci { order: 6; }
#marketingBanner { order: 7; }
#promocje { order: 8; }

/* Elementy usunięte wizualnie ze strony głównej */
#kategorie,
#homeBrands,
#suplementy,
#sporty-walki,
#o-nas,
#katalog {
  display: none !important;
}

/* Promocje wracają jako normalna sekcja */
#promocje {
  display: block !important;
}

/* Wąski szary pasek skrótów */
.home-jump-bar {
  width: 100%;
  background: #f1f2f3;
  border-top: 1px solid #e3e5e7;
  border-bottom: 1px solid #e3e5e7;
  margin-top: 14px;
}
.home-jump-inner {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vw, 58px);
  overflow-x: auto;
  scrollbar-width: none;
}
.home-jump-inner::-webkit-scrollbar {
  display: none;
}
.home-jump-inner a {
  flex: 0 0 auto;
  color: #292929;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
  transition: color .18s ease;
}
.home-jump-inner a:hover {
  color: var(--red);
}

/* Bardziej kompaktowe kafelki jak w dużym e-commerce */
#polecane .products-grid,
#bestsellery .products-grid,
#nowosci .products-grid,
#promocje .products-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.product-card {
  border-radius: 6px;
}
.product-photo img {
  width: 82%;
  height: 82%;
}
.product-body {
  padding: 10px;
  gap: 6px;
}
.product-name {
  font-size: 13px;
  min-height: 34px;
}
.product-meta {
  font-size: 10.5px;
  min-height: 27px;
}
.brand-line {
  font-size: 9.5px;
}
.badge {
  padding: 4px 6px;
  font-size: 9px;
}

.product-card-footer {
  min-height: 42px;
  margin-top: auto;
  padding-top: 3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.product-card-footer .price-line {
  margin-top: 0;
  min-width: 0;
  gap: 5px;
}
.product-card-footer .price-line strong {
  font-size: 17px;
}
.product-card-footer .old-price {
  font-size: 10.5px;
}

.product-quick-cart {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 1px solid #d5d7da;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #171717;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease;
}
.product-quick-cart svg {
  width: 19px;
  height: 19px;
}
.product-quick-cart:hover {
  border-color: var(--red);
  color: var(--red);
  background: #fff7f7;
  transform: translateY(-1px);
}

/* Ikony benefitów nadal idealnie wycentrowane */
.home-benefits .trust-icon svg {
  overflow: visible;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1360px) {
  #polecane .products-grid,
  #bestsellery .products-grid,
  #nowosci .products-grid,
  #promocje .products-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  #polecane .products-grid,
  #bestsellery .products-grid,
  #nowosci .products-grid,
  #promocje .products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .home-jump-inner {
    justify-content: flex-start;
    padding-left: 16px;
    padding-right: 16px;
    gap: 26px;
  }

  #polecane .products-grid,
  #bestsellery .products-grid,
  #nowosci .products-grid,
  #promocje .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .hero-section {
    padding-bottom: 14px !important;
  }

  .home-jump-bar {
    margin-top: 8px;
  }
  .home-jump-inner {
    min-height: 43px;
    gap: 22px;
  }
  .home-jump-inner a {
    font-size: 12px;
  }

  #polecane .products-grid,
  #bestsellery .products-grid,
  #nowosci .products-grid,
  #promocje .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-card-footer {
    gap: 6px;
  }
  .product-card-footer .price-line strong {
    font-size: 15px;
  }
  .product-quick-cart {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }
}


/* ===== v15 icons only ===== */
.home-benefits .trust-row {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: start !important;
}
.home-benefits .trust-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}
.home-benefits .trust-icon {
  display: grid !important;
  place-items: center !important;
}
.home-benefits .trust-icon-poland svg {
  width: 40px !important;
  height: 40px !important;
}
.home-benefits .trust-icon-check svg {
  width: 32px !important;
  height: 32px !important;
  stroke-width: 2.2 !important;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 900px) {
  .home-benefits .trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}


/* ===== v16 refine Poland + circled check ===== */
.home-benefits .trust-icon-poland svg {
  width: 42px !important;
  height: 42px !important;
}
.home-benefits .trust-icon-check svg {
  width: 34px !important;
  height: 34px !important;
  stroke-width: 2 !important;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ===== v17: better Poland outline ===== */
.home-benefits .trust-icon-poland svg {
  width: 44px !important;
  height: 44px !important;
}


/* ===== v18: Poland icon from supplied KFD reference ===== */
.home-benefits .trust-icon-poland img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}


/* ===== v19: full uncropped KFD Poland icon ===== */
.home-benefits .trust-icon-poland img {
  width: 52px !important;
  height: 52px !important;
  object-fit: contain !important;
  object-position: center !important;
}


/* ===== v20: final safe Poland icon, never cropped ===== */
.home-benefits .trust-icon-poland {
  width: 50px !important;
  height: 50px !important;
  overflow: visible !important;
}
.home-benefits .trust-icon-poland img {
  display: block !important;
  width: 46px !important;
  height: 46px !important;
  max-width: 46px !important;
  max-height: 46px !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: auto !important;
}
@media (max-width: 520px) {
  .home-benefits .trust-icon-poland {
    width: 44px !important;
    height: 44px !important;
  }
  .home-benefits .trust-icon-poland img {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
  }
}


/* ===== v21 MOBILE FINAL ===== */
html, body { max-width: 100%; }
body { overflow-x: clip; }
.page-wrap, .category-page-view, .product-page-view, .cart-page-main, .checkout-page-main { min-width: 0; }
.product-choice-grid { grid-template-columns: minmax(0, 360px); }

@media (max-width: 860px) {
  input, select, textarea, .search-form input, .checkout-field input, .checkout-field select { font-size: 16px !important; }
  .page-wrap { width: 100%; max-width: 100%; padding-left: 14px !important; padding-right: 14px !important; }

  .header-main {
    display: grid !important;
    grid-template-columns: 50px minmax(0,1fr) 42px 42px !important;
    grid-template-rows: auto 50px !important;
    gap: 9px 8px !important;
    min-height: 0 !important;
    padding: 10px 0 11px !important;
  }
  .brand { grid-column: 1 / 3 !important; grid-row: 1 !important; min-width: 0 !important; justify-self: start !important; order: 0 !important; }
  .brand img { width: 132px !important; max-height: 42px !important; }
  .main-nav, .category-nav { display: none !important; }
  .header-actions { display: contents !important; }
  .account-button { grid-column: 3 !important; grid-row: 1 !important; order: 0 !important; min-width: 40px !important; width: 40px !important; height: 40px !important; }
  .header-cart-button { grid-column: 4 !important; grid-row: 1 !important; order: 0 !important; min-width: 40px !important; width: 40px !important; height: 40px !important; }
  .account-button svg, .header-cart-button svg { width: 25px !important; height: 25px !important; }
  .mobile-menu-button { display: inline-grid !important; grid-column: 1 !important; grid-row: 2 !important; order: 0 !important; min-width: 48px !important; width: 48px !important; height: 48px !important; border-radius: 10px !important; }
  .mobile-menu-button svg { width: 29px !important; height: 29px !important; }
  .header-actions .search-form { grid-column: 2 / 5 !important; grid-row: 2 !important; order: 0 !important; width: 100% !important; min-width: 0 !important; max-width: none !important; min-height: 48px !important; height: 48px !important; margin: 0 !important; border-radius: 24px !important; }
  .header-actions .search-form .icon-button { min-width: 44px !important; width: 44px !important; height: 44px !important; }
  .mobile-drawer { top: 118px !important; z-index: 70 !important; }
  .mobile-panel { width: min(88vw, 360px) !important; max-width: 360px !important; padding: 8px 12px 28px !important; }
  .mobile-list button, .mobile-list a { min-height: 58px !important; padding: 0 12px !important; font-size: clamp(17px,5vw,22px) !important; }

  .hero-section { padding-top: 14px !important; }
  .hero-carousel { min-height: 430px !important; }
  .hero-slide { grid-template-columns: 1fr !important; align-content: start !important; gap: 12px !important; padding: 24px 22px 58px !important; }
  .hero-copy h1 { font-size: clamp(29px,8.5vw,38px) !important; line-height: 1.03 !important; }
  .hero-copy p { font-size: 14px !important; line-height: 1.5 !important; }
  .hero-actions { margin-top: 16px !important; }
  .hero-art { min-height: 115px !important; }
  .hero-art img { width: min(260px,82%) !important; max-height: 140px !important; }

  .home-jump-inner { justify-content: flex-start !important; min-height: 43px !important; gap: 22px !important; padding-left: 14px !important; padding-right: 14px !important; overflow-x: auto !important; }
  .home-jump-inner a { font-size: 11.5px !important; }

  .home-benefits { padding-top: 18px !important; padding-bottom: 8px !important; }
  .home-benefits .trust-row { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 14px 8px !important; }
  .home-benefits .trust-item { min-width: 0 !important; min-height: 0 !important; height: auto !important; padding: 8px 5px !important; gap: 7px !important; }
  .home-benefits .trust-icon { width: 44px !important; height: 44px !important; flex-basis: 44px !important; }
  .home-benefits .trust-item strong { font-size: 13px !important; }
  .home-benefits .trust-item small { max-width: 160px !important; margin-top: 4px !important; font-size: 10.5px !important; line-height: 1.35 !important; }

  .section { padding-top: 28px !important; }
  .section-head { align-items: stretch !important; gap: 11px !important; }
  .section-title { font-size: clamp(24px,7vw,31px) !important; }
  .section-head .outline-button { align-self: flex-start !important; max-width: 100% !important; }

  #polecane .products-grid, #bestsellery .products-grid, #nowosci .products-grid, #promocje .products-grid,
  #categoryProducts, .related-section .products-grid {
    display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 10px !important; overflow: visible !important; padding-bottom: 0 !important;
  }
  #polecane .product-card, #bestsellery .product-card, #nowosci .product-card, #promocje .product-card { min-width: 0 !important; width: auto !important; flex: initial !important; }
  .product-body { min-width: 0 !important; padding: 9px !important; gap: 5px !important; }
  .product-name { min-height: 0 !important; font-size: 12.5px !important; line-height: 1.27 !important; overflow-wrap: anywhere; }
  .product-meta { min-height: 0 !important; font-size: 9.5px !important; line-height: 1.3 !important; }
  .brand-line { font-size: 9px !important; }
  /* v28: stabilny footer karty na mobile — koszyk nie może „uciekać” przy długiej cenie/nazwie */
  .product-card-footer {
    min-width: 0 !important;
    width: 100% !important;
    min-height: 36px !important;
    margin-top: auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 32px !important;
    align-items: end !important;
    gap: 6px !important;
  }
  .product-card-footer .price-line {
    min-width: 0 !important;
    width: 100% !important;
    flex-wrap: wrap !important;
    align-self: end !important;
    margin: 0 !important;
  }
  .product-card-footer .price-line strong { font-size: 14.5px !important; white-space: nowrap; }
  .product-card-footer .old-price { font-size: 9.5px !important; }
  .product-quick-cart {
    position: static !important;
    inset: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: none !important;
    min-width: 32px !important;
    max-width: 32px !important;
    width: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    height: 32px !important;
    justify-self: end !important;
    align-self: end !important;
    transform: none !important;
  }

  .marketing-banner { grid-template-columns: 1fr !important; min-height: 0 !important; padding: 20px !important; gap: 10px !important; }
  .marketing-banner h2 { font-size: 28px !important; }
  .marketing-banner img { height: 140px !important; }

  .category-page-view, .product-page-view { padding-top: 18px !important; }
  .breadcrumbs { flex-wrap: nowrap !important; overflow-x: auto !important; white-space: nowrap !important; gap: 6px !important; margin-bottom: 12px !important; padding-bottom: 4px !important; font-size: 11px !important; scrollbar-width: none; }
  .breadcrumbs::-webkit-scrollbar { display: none; }
  .category-page-hero { padding: 16px 0 20px !important; margin-bottom: 16px !important; }
  .category-page-title { font-size: clamp(28px,9vw,39px) !important; overflow-wrap: anywhere; }
  .category-page-description { margin-top: 9px !important; font-size: 14px !important; line-height: 1.5 !important; }
  .category-page-tools { flex-direction: column !important; align-items: stretch !important; gap: 9px !important; }
  .category-page-tools .field, .category-sort-field { width: 100% !important; max-width: none !important; }

  .product-page-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .product-page-gallery { min-width: 0 !important; gap: 9px !important; }
  .product-page-photo { min-height: 0 !important; width: 100% !important; aspect-ratio: 1/1 !important; padding: 12px !important; }
  .product-page-photo img { width: 100% !important; height: 100% !important; max-height: 330px !important; object-fit: contain !important; }
  .product-page-thumbs { max-width: 100% !important; gap: 7px !important; overflow-x: auto !important; }
  .product-thumb { flex: 0 0 64px !important; width: 64px !important; height: 64px !important; }
  .product-page-summary { min-width: 0 !important; gap: 13px !important; }
  .product-page-summary h1 { font-size: clamp(25px,7.5vw,33px) !important; line-height: 1.07 !important; overflow-wrap: anywhere; }
  .availability { width: fit-content !important; max-width: 100% !important; white-space: normal !important; font-size: 12px !important; }
  .product-choice-grid { grid-template-columns: 1fr !important; width: 100% !important; max-width: 100% !important; }
  .product-choice-grid .field, .product-choice-grid select { min-width: 0 !important; width: 100% !important; }
  .product-choice-grid select { min-height: 46px !important; }
  .quantity-field { width: 100% !important; }
  .quantity-control { max-width: 100% !important; }
  .product-page-actions { grid-template-columns: 1fr !important; width: 100% !important; gap: 9px !important; }
  .product-page-actions > button, .product-page-actions > a { width: 100% !important; min-height: 48px !important; }
  .product-page-meta { max-width: 100% !important; gap: 6px !important; }
  .product-page-meta .chip { max-width: 100% !important; font-size: 11px !important; overflow-wrap: anywhere; }
  .product-lower-grid, .info-grid { grid-template-columns: 1fr !important; }
  .product-lower-grid { gap: 12px !important; margin-top: 18px !important; }
  .product-info-panel { min-width: 0 !important; padding: 15px !important; }
  .product-info-panel p { overflow-wrap: anywhere; }

  .newsletter-form { grid-template-columns: 1fr !important; }

  .cart-page-main, .checkout-page-main { padding-top: 26px !important; padding-bottom: 48px !important; }
  .cart-page-layout, .checkout-page-layout { grid-template-columns: 1fr !important; gap: 20px !important; }
  .cart-summary-card, .checkout-summary-card { position: static !important; width: 100% !important; }
  .checkout-steps { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 5px !important; }
  .checkout-step { min-width: 0 !important; padding: 9px 5px 9px 31px !important; font-size: 10px !important; overflow-wrap: anywhere; }
  .checkout-step span { left: 3px !important; width: 22px !important; height: 22px !important; }
  .checkout-grid { grid-template-columns: 1fr !important; }
  .checkout-field.full { grid-column: auto !important; }
}

@media (max-width: 380px) {
  .page-wrap { padding-left: 10px !important; padding-right: 10px !important; }
  .header-main { grid-template-columns: 46px minmax(0,1fr) 38px 38px !important; gap: 7px 5px !important; }
  .brand img { width: 116px !important; }
  .account-button, .header-cart-button { min-width: 36px !important; width: 36px !important; height: 36px !important; }
  .mobile-menu-button { min-width: 44px !important; width: 44px !important; height: 46px !important; }
  #polecane .products-grid, #bestsellery .products-grid, #nowosci .products-grid, #promocje .products-grid,
  #categoryProducts, .related-section .products-grid { gap: 8px !important; }
  .product-body { padding: 8px !important; }
  .product-name { font-size: 11.5px !important; }
  .product-card-footer { grid-template-columns: minmax(0, 1fr) 30px !important; gap: 5px !important; }
  .product-card-footer .price-line strong { font-size: 13.5px !important; }
  .product-quick-cart { min-width: 30px !important; max-width: 30px !important; width: 30px !important; min-height: 30px !important; max-height: 30px !important; height: 30px !important; }
}


/* ==========================================================
   v24 HOME JUMP BAR — pozycja dokładnie jak na referencji
   slider -> szary pasek -> 4 benefity -> sekcje produktów
   ========================================================== */

.home-jump-bar {
  position: static !important;
  inset: auto !important;
  z-index: auto !important;

  width: 100vw !important;
  max-width: none !important;
  margin: 0 calc(50% - 50vw) !important;
  padding: 0 !important;

  background: #f1f1f1 !important;
  border-top: 1px solid #dedede !important;
  border-bottom: 1px solid #dedede !important;
  box-shadow: none !important;
}

.home-jump-inner {
  width: min(1180px, calc(100% - 32px)) !important;
  min-height: 48px !important;
  margin: 0 auto !important;
  padding: 0 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(34px, 6vw, 82px) !important;

  overflow: visible !important;
  white-space: nowrap !important;
}

.home-jump-inner a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  min-height: 48px !important;
  padding: 0 !important;

  color: #262626 !important;
  background: transparent !important;
  border: 0 !important;

  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

.home-jump-inner a:hover,
.home-jump-inner a:focus-visible {
  color: #d60000 !important;
}

/* v41: równy, proporcjonalny oddech nad i pod bannerem. */
.hero-section {
  margin-bottom: 0 !important;
  padding-bottom: 34px !important;
}

.hero-section + .home-jump-bar {
  margin-top: 0 !important;
}

/* Ikony zaczynają się zaraz pod paskiem. */
.home-jump-bar + .home-benefits {
  margin-top: 0 !important;
}

/* Pasek NIE jest sticky podczas scrollowania. */
#homeJumpBar {
  position: static !important;
  top: auto !important;
}

/* Mobile: ten sam układ, a przy bardzo małej szerokości
   przewija się wyłącznie zawartość paska, nie cała strona. */
@media (max-width: 620px) {
  .home-jump-bar {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
  }

  .home-jump-inner {
    width: 100% !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 14px !important;

    justify-content: flex-start !important;
    gap: 24px !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch;
  }

  .home-jump-inner::-webkit-scrollbar {
    display: none !important;
  }

  .home-jump-inner a {
    min-height: 44px !important;
    flex: 0 0 auto !important;
    font-size: 12px !important;
  }
}


/* ==========================================================
   v25 STICKY HOME JUMP BAR
   Start: pod sliderem.
   Scroll: zostaje widoczny pod sticky headerem.
   ========================================================== */

:root {
  --fs-desktop-header-height: 82px;
  --fs-jump-bar-height: 48px;
  --fs-mobile-header-height: 64px;
  --fs-mobile-jump-bar-height: 44px;
}

/* Nadpisuje v24 "static", ale nie zmienia pozycji początkowej w dokumencie. */
#homeJumpBar.home-jump-bar {
  position: sticky !important;
  top: var(--fs-desktop-header-height) !important;
  z-index: 55 !important;
  isolation: isolate;
  margin-top: 0 !important;
  box-shadow: 0 3px 10px rgba(0,0,0,.035) !important;
}

/* Po kliknięciu linków nagłówek sekcji nie chowa się pod headerem+paskiem. */
#polecane,
#bestsellery,
#nowosci,
#promocje {
  scroll-margin-top: calc(
    var(--fs-desktop-header-height) +
    var(--fs-jump-bar-height) +
    16px
  ) !important;
}

/* Mobile header v23 ma 64px wysokości. */
@media (max-width: 860px) {
  #homeJumpBar.home-jump-bar {
    top: var(--fs-mobile-header-height) !important;
    z-index: 75 !important;
  }

  #polecane,
  #bestsellery,
  #nowosci,
  #promocje {
    scroll-margin-top: calc(
      var(--fs-mobile-header-height) +
      var(--fs-mobile-jump-bar-height) +
      12px
    ) !important;
  }
}

/* iPhone safe-area: jeśli przeglądarka wykorzystuje inset u góry,
   header nadal jest bazą, a pasek nie wychodzi poza viewport. */
@supports (top: env(safe-area-inset-top)) {
  @media (max-width: 860px) {
    #homeJumpBar.home-jump-bar {
      top: var(--fs-mobile-header-height) !important;
    }
  }
}


/* ==========================================================
   v26 iOS-safe persistent home jump bar
   JS fallback instead of relying on CSS sticky on Safari/iOS.
   ========================================================== */

#start > .fs-jump-shell {
  order: 2;
}

.fs-jump-shell {
  width: 100%;
  min-width: 0;
  height: 48px;
  position: relative;
}

/* Disable the old sticky behavior inside the new shell.
   JS will switch to fixed only after the correct threshold. */
.fs-jump-shell > #homeJumpBar.home-jump-bar {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  z-index: 55 !important;
}

/* While fixed, the shell remains in the document and prevents layout jump. */
.fs-jump-shell.fs-jump-is-fixed > #homeJumpBar.home-jump-bar {
  position: fixed !important;
  top: var(--fs-live-header-height, 82px) !important;
  left: 0 !important;
  right: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 !important;
  z-index: 59 !important;
  box-shadow: 0 4px 13px rgba(0,0,0,.07) !important;
}

/* Dynamic scroll offset is set by JS from real measured header/bar heights. */
#polecane,
#bestsellery,
#nowosci,
#promocje {
  scroll-margin-top: var(--fs-live-scroll-offset, 150px) !important;
}

@media (max-width: 860px) {
  .fs-jump-shell {
    height: 44px;
  }

  .fs-jump-shell.fs-jump-is-fixed > #homeJumpBar.home-jump-bar {
    top: var(--fs-live-header-height, 64px) !important;
    z-index: 90 !important;
  }
}


/* ==========================================================
   v27 MOBILE STICKY TOP FIX
   Pasek przykleja się dokładnie pod WIDOCZNĄ częścią headera.
   Gdy header zjedzie z ekranu, top automatycznie = 0.
   ========================================================== */

.fs-jump-shell.fs-jump-is-fixed > #homeJumpBar.home-jump-bar {
  top: var(--fs-jump-fixed-top, 0px) !important;
}

/* Nie rezerwuj już sztucznego 64px na mobile. */
@media (max-width: 860px) {
  .fs-jump-shell.fs-jump-is-fixed > #homeJumpBar.home-jump-bar {
    top: var(--fs-jump-fixed-top, 0px) !important;
  }
}

/* ==========================================================
   v29 DESKTOP CATEGORY SYNC
   Desktopowe Kategorie mają tę samą kolejność i hierarchię
   co menu mobilne. Mobile pozostaje bez zmian.
   ========================================================== */
@media (min-width: 861px) {
  .mega-panel[data-mega-panel="categories"] {
    grid-template-columns: 270px minmax(0, 1fr) !important;
    gap: 30px !important;
    min-height: 430px !important;
    max-height: min(620px, calc(100vh - 130px)) !important;
    overflow: hidden !important;
  }

  .fs-desktop-category-tabs {
    display: flex !important;
    flex-direction: column !important;
    align-content: initial !important;
    gap: 0 !important;
    padding-right: 18px !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }

  .fs-desktop-category-tabs button {
    flex: 0 0 auto !important;
    min-height: 49px !important;
    border-radius: 0 !important;
    border-bottom: 1px solid #eef0f3 !important;
    padding: 0 14px !important;
    display: flex !important;
    align-items: center !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    text-transform: none !important;
  }

  .fs-desktop-category-tabs button:first-child {
    border-top: 1px solid #eef0f3 !important;
  }

  .fs-desktop-category-tabs button.active,
  .fs-desktop-category-tabs button:hover {
    background: #f7f7f8 !important;
    color: var(--red) !important;
  }

  .fs-desktop-category-content {
    min-width: 0 !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    padding-right: 4px !important;
  }

  .fs-desktop-category-content .fs-desktop-category-panel {
    grid-template-columns: 1fr !important;
    align-content: start !important;
    gap: 20px !important;
  }

  .fs-desktop-category-heading {
    padding-bottom: 16px !important;
    border-bottom: 1px solid #eceef0 !important;
  }

  .fs-desktop-category-heading > a {
    display: inline-block !important;
    color: #111 !important;
    font-size: 24px !important;
    line-height: 1.1 !important;
    font-weight: 1000 !important;
  }

  .fs-desktop-category-heading > a:hover {
    color: var(--red) !important;
  }

  .fs-desktop-category-heading > span {
    display: block !important;
    max-width: 760px !important;
    margin-top: 7px !important;
    color: #6a6a6a !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  .fs-desktop-subcategory-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 28px !important;
    align-content: start !important;
  }

  .fs-desktop-subcategory-grid > a {
    min-height: 43px !important;
    display: flex !important;
    align-items: center !important;
    border-bottom: 1px solid #f0f1f2 !important;
    color: #222 !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    font-weight: 760 !important;
  }

  .fs-desktop-subcategory-grid > a:hover {
    color: var(--red) !important;
  }

  .fs-desktop-category-all {
    grid-column: 1 / -1 !important;
    max-width: 320px !important;
    color: var(--red) !important;
    font-weight: 900 !important;
  }

  /* Pasek kategorii pod headerem: identyczna kolejność jak w menu mobile. */
  .category-nav .page-wrap {
    gap: 24px !important;
  }

  .category-pill {
    font-size: 12.5px !important;
  }
}


/* ===== v39: image-only full-width hero ===== */
.hero-carousel {
  min-height: 318px !important;
  background: #111;
}
.hero-slide {
  display: block !important;
  padding: 0 !important;
  gap: 0 !important;
  background: #111;
}
.hero-copy,
.hero-actions,
.hero-slide .eyebrow {
  display: none !important;
}
.hero-art.hero-art-full {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  background: #111 !important;
}
.hero-art.hero-art-full img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  padding: 0 !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  filter: none !important;
  user-select: none !important;
  -webkit-user-drag: none !important;
}

@media (max-width: 860px) {
  .hero-carousel {
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 16 / 7 !important;
  }
  .hero-slide {
    min-height: 0 !important;
    height: 100% !important;
    text-align: initial !important;
  }
  .hero-art.hero-art-full,
  .hero-art.hero-art-full img {
    min-height: 0 !important;
  }
  .hero-arrow {
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
  }
  .hero-arrow.prev { left: 12px !important; }
  .hero-arrow.next { right: 12px !important; }
  .hero-dots { bottom: 12px !important; }
}

@media (max-width: 520px) {
  .hero-carousel {
    min-height: 0 !important;
    aspect-ratio: 16 / 8 !important;
  }
}


/* ===== v45 FINAL CLIENT FEEDBACK =====
   Keep accepted image-only hero; tighten benefits; mobile banner uses native artwork ratio. */

/* Compact the 4-benefit block so the space before product sections matches the hero rhythm. */
.home-benefits {
  padding-top: 12px !important;
  padding-bottom: 10px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.home-benefits .trust-row {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  gap: 12px 20px !important;
}
.home-benefits .trust-item {
  min-height: 108px !important;
  height: auto !important;
  padding: 7px 8px !important;
  gap: 5px !important;
}
.home-benefits .trust-icon {
  width: 46px !important;
  height: 46px !important;
  margin-bottom: 0 !important;
}
.home-benefits .trust-item small {
  margin-top: 4px !important;
  line-height: 1.25 !important;
}
#polecane.section {
  padding-top: 14px !important;
  margin-top: 0 !important;
}

/* Homepage product sections: only the main heading, no small red kicker label. */
#polecane .section-kicker,
#bestsellery .section-kicker,
#nowosci .section-kicker,
#promocje .section-kicker {
  display: none !important;
}

/* Mobile hero: banner artwork is ~1300x430 (3.02:1). Using that ratio makes it
   visibly lower/wider and prevents cropping of artwork/text baked into the image. */
@media (max-width: 860px) {
  .hero-section {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }
  .hero-carousel {
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 1300 / 430 !important;
    background: #111 !important;
  }
  .hero-slide {
    min-height: 0 !important;
    height: 100% !important;
    padding: 0 !important;
  }
  .hero-art.hero-art-full {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    background: #111 !important;
  }
  .hero-art.hero-art-full img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
  }
  .hero-arrow {
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
  }
  .hero-dots { bottom: 7px !important; }

  .home-benefits {
    padding-top: 10px !important;
    padding-bottom: 8px !important;
  }
  .home-benefits .trust-row {
    gap: 8px 6px !important;
  }
  .home-benefits .trust-item {
    min-height: 86px !important;
    padding: 5px 3px !important;
    gap: 3px !important;
  }
  .home-benefits .trust-icon {
    width: 40px !important;
    height: 40px !important;
    flex-basis: 40px !important;
  }
  .home-benefits .trust-item strong {
    font-size: 12.5px !important;
    line-height: 1.15 !important;
  }
  .home-benefits .trust-item small,
  .trust-copy-short {
    margin-top: 2px !important;
    font-size: 9.5px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    max-width: none !important;
  }
  #polecane.section {
    padding-top: 10px !important;
  }
}

@media (max-width: 390px) {
  .home-benefits .trust-item small,
  .trust-copy-short {
    font-size: 9px !important;
    letter-spacing: -0.08px !important;
  }
}
