/**
 * Mobile storefront — sklepygrand.pl (ładowany osobno, omija stary cache CSS)
 */

/* Karta produktu — baner telefonu obok nazwy */
#product .sg-product-heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px 12px;
  margin: 0 0 14px;
}

#product .sg-product-heading-row h1 {
  flex: 1 1 180px;
  margin: 0;
  min-width: 0;
  line-height: 1.25;
}

#product .sg-product-call-banner {
  flex: 1 1 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #2d5a3d;
  color: #fff !important;
  text-decoration: none !important;
  font-family: "Open Sans", sans-serif;
  box-shadow: 0 2px 10px rgba(45, 90, 61, 0.25);
  transition: background 0.12s ease, transform 0.12s ease;
}

#product .sg-product-call-banner:active {
  background: #234830;
  transform: scale(0.98);
}

#product .sg-product-call-banner__icon {
  font-size: 20px;
  line-height: 1;
}

#product .sg-product-call-banner__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

#product .sg-product-call-banner__label {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.95;
}

#product .sg-product-call-banner__number {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

#product #usefull_link_block,
#product #product_comments_block_extra,
#product #idTab5,
#product .sendtofriend,
#product h3.page-product-heading + #idTab5,
#product section.page-product-box:empty {
  display: none !important;
}

/* Domyślnie ukryty (desktop); mobile nadpisuje poniżej */
#sg-mobile-call-bar {
  display: none !important;
}

/* Górny czarny pasek: telefon, logowanie, kontakt (mobile + desktop) */
header .banner,
header .nav {
  display: none !important;
}

#phone-banner,
#contact-link,
.header_user_info,
header .shop-phone {
  display: none !important;
}

#search_block_top,
#searchbox {
  display: none !important;
}

/* Telefon w headerze (desktop) — mockup Grand Menu */
.sg-header-phone {
  display: none;
}

.sg-header-brand__wordmark {
  display: none;
}

/* Header desktop — GRAND + menu + telefon (mockup Grand Menu) */
@media (min-width: 992px) {
  header {
    background: #fff !important;
    border-bottom: 1px solid #e8e8e4;
  }

  header > div > .container > .row {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 84px;
    margin-left: 0 !important;
    margin-right: 0 !important;
    gap: 8px;
  }

  header > div > .container > .row > [class*="col-"],
  header > div > .container > .row #header_logo {
    float: none !important;
    width: auto !important;
  }

  header .row #header_logo {
    order: 1;
    flex: 0 0 auto;
    align-self: center;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    width: auto !important;
    max-width: none;
  }

  .sg-header-brand__img {
    display: none !important;
  }

  .sg-header-brand__wordmark {
    display: block;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 700;
    font-size: 44px;
    letter-spacing: 1px;
    line-height: 1;
    color: #5aa012;
  }

  header #block_top_menu.sf-contener {
    order: 2;
    flex: 1 1 auto;
    min-width: 0;
    align-self: stretch;
    display: flex !important;
    justify-content: center;
    padding-top: 0 !important;
    margin-left: 0 !important;
    overflow: visible;
  }

  header > div > .container > .row > .col-sm-4.clearfix:has(.shopping_cart) {
    order: 3;
    flex: 0 0 auto;
    align-self: center;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-left: 0 !important;
  }

  .sg-header-phone {
    order: 4;
    display: inline-flex;
    align-self: center;
    align-items: center;
    margin-left: 4px;
    padding: 11px 20px;
    border-radius: 999px;
    background: #2d5c3f;
    color: #fff !important;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.15s ease;
  }

  .sg-header-phone:hover {
    background: #5aa012;
    color: #fff !important;
  }

  #header .shopping_cart,
  .shopping_cart {
    padding-top: 0 !important;
  }

  #block_top_menu .cat-title.cat-title--hamburger {
    display: none !important;
  }

  #block_top_menu .sf-menu.menu-content {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: auto !important;
    max-width: 100%;
    max-height: none !important;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    box-shadow: none !important;
    background: transparent !important;
    border: none !important;
  }

  #block_top_menu .sf-menu > li {
    float: none !important;
    border-right: none !important;
    display: flex;
    align-items: stretch;
  }

  #block_top_menu .sf-menu > li > a {
    display: flex !important;
    align-items: center;
    padding: 0 22px !important;
    border-bottom: 3px solid transparent !important;
    background: transparent !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #333 !important;
    line-height: 1.2 !important;
  }

  #block_top_menu .sf-menu > li > a:hover,
  #block_top_menu .sf-menu > li.sfHover > a,
  #block_top_menu .sf-menu > li > a:focus {
    color: #5aa012 !important;
    background: transparent !important;
    border-bottom-color: transparent !important;
  }

  body.cms-o-nas #block_top_menu .sf-menu > li > a[href*="o-nas"],
  body.cms-4 #block_top_menu .sf-menu > li > a[href*="content/4"] {
    color: #2d5c3f !important;
    border-bottom-color: #5aa012 !important;
  }
}

/* Stopka — adres, godziny, mapa, SEO (mobile + desktop) */
.sg-mobile-footer-info {
  display: block;
  padding: 22px 14px 16px;
  margin: 0 0 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: #d8d8d8;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.footer-container #footer #block_contact_infos {
  display: none !important;
}

.sg-mobile-footer-info__title {
  margin: 0 0 14px;
  color: #fff !important;
  font-size: 20px !important;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.sg-mobile-footer-info__address,
.sg-mobile-footer-info__hours,
.sg-mobile-footer-info__phone,
.sg-mobile-footer-info__map-wrap {
  margin: 0 0 16px;
}

.sg-mobile-footer-info__address {
  font-size: 17px;
}

.sg-mobile-footer-info__address strong {
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}

.sg-mobile-footer-info__hours {
  font-size: 16px;
}

.sg-mobile-footer-info__hours-label {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

.sg-mobile-footer-info__phone {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sg-mobile-footer-info__tel {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(201, 169, 97, 0.35);
  color: #fff !important;
  text-decoration: none !important;
  transition: background 0.15s ease;
}

.sg-mobile-footer-info__tel:active,
.sg-mobile-footer-info__tel:hover {
  background: rgba(201, 169, 97, 0.18);
}

.sg-mobile-footer-info__tel-label {
  font-size: 13px;
  font-weight: 600;
  color: #c9a961;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.sg-mobile-footer-info__tel-number {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.15;
}

.sg-mobile-footer-info__map {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(201, 169, 97, 0.55);
  background: rgba(201, 169, 97, 0.12);
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  transition: background 0.15s ease;
}

.sg-mobile-footer-info__map:active,
.sg-mobile-footer-info__map:hover {
  background: rgba(201, 169, 97, 0.28);
}

.sg-mobile-footer-info__seo {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #b0b0b0;
  font-size: 14px;
  line-height: 1.6;
}

.sg-mobile-footer-info__seo-title {
  margin: 0 0 10px;
  color: #e8e8e8 !important;
  font-size: 16px !important;
  font-weight: 700;
  line-height: 1.3;
}

.sg-mobile-footer-info__seo p {
  margin: 0 0 12px;
}

.sg-mobile-footer-info__seo p:last-child {
  margin-bottom: 0;
}

.sg-mobile-footer-info__seo strong {
  color: #e0e0e0;
  font-weight: 600;
}

@media (min-width: 992px) {
  .sg-mobile-footer-info {
    padding: 28px 0 20px;
    margin: 0 0 12px;
  }

  .sg-mobile-footer-info__store {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px 32px;
    align-items: start;
  }

  .sg-mobile-footer-info__phone {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .sg-mobile-footer-info__tel {
    flex: 1 1 240px;
  }

  .sg-mobile-footer-info__map-wrap {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .sg-mobile-footer-info__seo {
    max-width: 920px;
  }
}

/* Badge „Nowy” nad tytułem (lista produktów) */
ul.product_list .product-image-container .new-box {
  display: none !important;
}

ul.product_list .right-block .sg-product-badge--new {
  margin: 0 4px 8px;
  text-align: center;
}

ul.product_list .right-block .sg-product-badge--new .new-label {
  position: static;
  left: auto;
  top: auto;
  width: auto;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font: 700 11px/1.2 "Open Sans", Arial, sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transform: none;
  -webkit-transform: none;
}

ul.product_list .right-block .sg-product-badge--new .new-label:before,
ul.product_list .right-block .sg-product-badge--new .new-label:after {
  display: none !important;
  content: none !important;
}

/* Lista produktów — ten sam wygląd co na mobile (wszystkie szerokości) */
ul.product_list.grid.sg-mobile-product-grid,
ul.product_list.grid.sg-mobile-product-grid.row {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 6px;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

ul.product_list.grid.sg-mobile-product-grid:before,
ul.product_list.grid.sg-mobile-product-grid:after {
  display: none !important;
  content: none !important;
}

ul.product_list.grid.sg-mobile-product-grid > li,
ul.product_list.grid.sg-mobile-product-grid > li.ajax_block_product,
ul.product_list.grid.sg-mobile-product-grid > li.col-xs-6,
ul.product_list.grid.sg-mobile-product-grid > li.col-xs-12,
ul.product_list.grid.sg-mobile-product-grid > li.col-sm-4,
ul.product_list.grid.sg-mobile-product-grid > li.col-sm-6,
ul.product_list.grid.sg-mobile-product-grid > li.col-md-3,
ul.product_list.grid.sg-mobile-product-grid > li.col-md-4,
ul.product_list.grid.sg-mobile-product-grid > li.first-in-line,
ul.product_list.grid.sg-mobile-product-grid > li.first-item-of-tablet-line,
ul.product_list.grid.sg-mobile-product-grid > li.first-item-of-mobile-line {
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  flex: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
  box-sizing: border-box;
  padding-bottom: 0 !important;
}

ul.product_list.grid.sg-mobile-product-grid > li .product-container {
  border-radius: 20px !important;
  overflow: hidden !important;
  background: #f7f7f7 !important;
  padding-bottom: 8px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
}

ul.product_list.grid.sg-mobile-product-grid > li .left-block {
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}

ul.product_list.grid.sg-mobile-product-grid > li .left-block,
ul.product_list.grid.sg-mobile-product-grid > li .right-block {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

ul.product_list.grid.sg-mobile-product-grid > li .product-container h5 {
  min-height: 0 !important;
  margin: 0 0 4px !important;
  padding: 0 8px 4px !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
}

ul.product_list.grid.sg-mobile-product-grid > li .product-container h5 .product-name {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

ul.product_list.grid.sg-mobile-product-grid > li .product-container .content_price {
  padding: 0 8px 2px !important;
  line-height: 1.2 !important;
  font-size: 13px !important;
}

ul.product_list.grid.sg-mobile-product-grid > li .product-container .button-container,
ul.product_list.grid.sg-mobile-product-grid > li .product-container .functional-buttons,
ul.product_list.grid.sg-mobile-product-grid > li .product-container .color-list-container,
ul.product_list.grid.sg-mobile-product-grid > li .product-container .hook-reviews,
ul.product_list.grid.sg-mobile-product-grid > li .product-container .product-desc,
ul.product_list.grid.sg-mobile-product-grid > li .product-container .availability,
ul.product_list.grid.sg-mobile-product-grid .product-image-container .quick-view-wrapper-mobile,
ul.product_list.grid.sg-mobile-product-grid .product-image-container .quick-view {
  display: none !important;
}

ul.product_list.grid.sg-mobile-product-grid > li .right-block .sg-product-badge--new {
  margin: 0 8px 4px !important;
}

ul.product_list.grid.sg-mobile-product-grid > li .right-block .sg-product-badge--new .new-label {
  font-size: 9px !important;
  padding: 3px 8px !important;
  border-radius: 999px !important;
}

ul.product_list.grid.sg-mobile-product-grid > li .product-container .product-image-container {
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: #e8e8e8 !important;
  aspect-ratio: 4 / 5;
  height: auto !important;
  overflow: hidden !important;
  transform: translateZ(0);
  isolation: isolate;
}

ul.product_list.grid.sg-mobile-product-grid > li .product-image-container a.product_img_link {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1;
  display: block;
  line-height: 0;
  overflow: hidden !important;
  border-radius: 0 !important;
}

ul.product_list.grid.sg-mobile-product-grid > li .product-image-container img,
ul.product_list.grid.sg-mobile-product-grid > li .product-image-container img.replace-2x,
ul.product_list.grid.sg-mobile-product-grid > li .product-image-container img.img-responsive {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  object-fit: cover !important;
  object-position: center 12% !important;
  transform: none !important;
}

ul.product_list.grid.sg-mobile-product-grid > li .product-image-container .content_price,
ul.product_list.grid.sg-mobile-product-grid > li .product-image-container .sale-box {
  z-index: 2;
}

@media (max-width: 991px) {
  ul.product_list.grid.sg-mobile-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Lightbox zdjęcia produktu (mobile) */
.sg-mobile-image-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100200;
  padding: 16px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
}

.sg-mobile-image-lightbox.is-open {
  display: flex;
}

body.sg-mobile-image-lightbox-open {
  overflow: hidden;
}

.sg-mobile-image-lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.sg-mobile-image-lightbox__frame {
  width: 100%;
  max-height: calc(100dvh - 32px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sg-mobile-image-lightbox__img {
  max-width: 100%;
  max-height: calc(100dvh - 32px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

/* Modal podglądu produktu z listy (tap w miniaturkę) */
.sg-mobile-product-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100250;
}

.sg-mobile-product-modal.is-open {
  display: block;
}

body.sg-mobile-product-modal-open {
  overflow: hidden;
}

.sg-mobile-product-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.sg-mobile-product-modal__sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 92dvh;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.sg-mobile-product-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #1a1a1a;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.sg-mobile-product-modal__close:active {
  background: #000;
}

.sg-mobile-product-modal__scroll {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 16px 12px;
}

.sg-mobile-product-modal__image-wrap {
  margin-bottom: 12px;
  width: 100%;
  min-width: 100%;
  align-self: stretch;
  border-radius: 14px !important;
  overflow: hidden !important;
  background: #f0f0f0;
  transform: translateZ(0);
  line-height: 0;
}

.sg-mobile-product-modal__image {
  display: block;
  width: 100% !important;
  min-width: 100%;
  max-width: 100% !important;
  height: auto !important;
  max-height: min(72vh, 640px) !important;
  object-fit: contain;
  object-position: center top;
  margin: 0;
  border-radius: 0 !important;
}

#sg-mobile-product-modal .sg-mobile-product-modal__image {
  width: 100% !important;
}

.sg-mobile-product-modal__title {
  margin: 0 0 10px;
  padding-right: 36px;
  font: 600 17px/1.3 "Open Sans", sans-serif;
  color: #111;
}

.sg-mobile-product-modal__desc {
  margin: 0 0 12px;
  font: 400 14px/1.45 "Open Sans", sans-serif;
  color: #444;
}

.sg-mobile-product-modal__product-link {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #2d5a3d;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sg-mobile-product-modal__call {
  flex-shrink: 0;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid #eee;
}

.sg-mobile-product-modal__call-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #2d5a3d;
  color: #fff !important;
  text-decoration: none !important;
  text-align: center;
}

.sg-mobile-product-modal__call-label {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.95;
}

.sg-mobile-product-modal__call-number {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.sg-mobile-product-modal__call.sg-mobile-call-bar--closed .sg-mobile-product-modal__call-link {
  background: #4a4a4a !important;
  cursor: default;
}

/* Desktop — wyśrodkowany dialog zamiast dolnego sheetu */
@media (min-width: 992px) {
  .sg-mobile-product-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
    box-sizing: border-box;
  }

  .sg-mobile-product-modal__backdrop {
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
  }

  .sg-mobile-product-modal__sheet {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    flex: 0 1 auto;
    width: min(520px, calc(100vw - 48px));
    max-height: min(88vh, 780px);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
    z-index: 1;
  }

  .sg-mobile-product-modal__scroll {
    padding: 20px 22px 16px;
  }

  .sg-mobile-product-modal__image-wrap {
    position: relative;
    border-radius: 12px !important;
    aspect-ratio: 4 / 5;
    width: 100%;
    max-height: min(56vh, 460px);
    height: auto;
    background: #e8e8e8;
  }

  .sg-mobile-product-modal__image {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-width: 100%;
    min-height: 100%;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover;
    object-position: center 12%;
  }

  .sg-mobile-product-modal__title {
    font-size: 19px;
  }

  .sg-mobile-product-modal__desc {
    font-size: 15px;
  }

  .sg-mobile-product-modal__call {
    padding: 12px 16px 16px;
    border-radius: 0 0 18px 18px;
  }

  .sg-mobile-product-modal__call-link {
    flex-direction: row;
    justify-content: center;
    gap: 10px 16px;
  }

  .sg-mobile-product-modal__call-number {
    font-size: 20px;
  }

  .sg-mobile-product-modal__close:hover {
    background: #000;
  }
}

#index #top_column #htmlcontent_top,
#index #htmlcontent_top {
  display: none !important;
}

@media (max-width: 991px) {
  #top_column #htmlcontent_top,
  #htmlcontent_top {
    display: none !important;
  }

  header {
    padding-bottom: 0 !important;
  }

  /* Hero — zaokrąglony slider, odstęp od krawędzi ekranu */
  #index #slider_row.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #index #slider_row > #top_column {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #homepage-slider {
    border-radius: 20px !important;
    overflow: hidden !important;
    margin: 0 0 10px !important;
    padding-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  #homepage-slider .bx-wrapper .bx-controls-direction {
    display: none !important;
  }

  #homepage-slider .bx-wrapper,
  #homepage-slider .bx-wrapper .bx-viewport,
  #homepage-slider .bx-wrapper a,
  #homepage-slider .bx-wrapper img,
  #homepage-slider #homeslider li,
  #homepage-slider .homeslider-container {
    border-radius: 20px !important;
  }

  #homepage-slider .bx-wrapper .bx-viewport {
    overflow: hidden !important;
  }

  #homepage-slider .bx-wrapper img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Kategorie / listing — ukryj lewą kolumnę (Katalog, Tagi, itd.) */
  body.show-left-column #left_column {
    display: none !important;
  }

  body.show-left-column #center_column {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  body.show-left-column #columns > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Logo + hamburger w jednym wierszu */
  header > div > .container > .row {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
  }

  header > div > .container > .row > [class*="col-"] {
    float: none !important;
    width: auto !important;
    max-width: none;
    padding-left: 5px !important;
    padding-right: 5px !important;
  }

  header .row #header_logo {
    float: none !important;
    flex: 0 1 auto;
    min-width: 0;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  header .row #header_logo img {
    margin: 0 !important;
    max-height: 48px;
    width: auto;
  }

  header #block_top_menu.sf-contener {
    clear: none !important;
    float: none !important;
    width: auto !important;
    flex: 0 0 auto;
    margin-left: auto !important;
    padding-top: 0 !important;
    overflow: visible;
    z-index: 10002;
  }

  header .row .shopping_cart,
  header .row #block_cart {
    float: none !important;
    flex: 0 0 auto;
    margin-left: 0 !important;
    padding-top: 0 !important;
  }

  /* Kategorie — hamburger (tylko ikona) */
  #block_top_menu .sf-menu.menu-content {
    display: none;
    float: none;
    border-bottom: none;
    background: #fff;
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100dvh - 72px);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    top: 72px;
    margin: 0;
    padding: 0;
    z-index: 10001;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 12px 20px 20px !important;
  }

  #block_top_menu .sf-menu > li > a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 64px !important;
    padding: 0 !important;
    border-bottom: 1px solid #eee !important;
    background: transparent !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: #222 !important;
  }

  #block_top_menu .sf-menu > li > a::after {
    content: "→";
    flex-shrink: 0;
    color: #5aa012;
    font-size: 18px;
    font-weight: 600;
  }

  body.cms-o-nas #block_top_menu .sf-menu > li > a[href*="o-nas"] {
    color: #2d5c3f !important;
  }

  body.cms-o-nas #block_top_menu .sf-menu > li > a[href*="o-nas"]::after {
    content: "●";
  }

  #block_top_menu .cat-title.cat-title--hamburger {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 44px;
    min-height: 44px;
    box-sizing: border-box;
    margin: 0;
    padding: 10px 12px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #222;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  #block_top_menu .cat-title.cat-title--hamburger:after {
    display: none !important;
    content: none !important;
  }

  #block_top_menu .cat-title__icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    gap: 5px;
    width: 22px;
    height: 16px;
  }

  #block_top_menu .cat-title__icon span {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
    transform-origin: center;
  }

  #block_top_menu .cat-title--hamburger.active .cat-title__icon span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  #block_top_menu .cat-title--hamburger.active .cat-title__icon span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  #block_top_menu .cat-title--hamburger.active .cat-title__icon span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  #block_top_menu .cat-title--hamburger:hover,
  #block_top_menu .cat-title--hamburger:focus-visible {
    background: #f6f6f6;
    color: #111;
    outline: none;
  }

  #block_top_menu .cat-title--hamburger.active {
    background: #222;
    color: #fff;
  }

  #block_top_menu .sf-menu > li {
    float: none !important;
    border-right: none !important;
  }

  #block_top_menu .sf-menu > li > a {
    padding: 14px 16px !important;
    font-size: 15px !important;
    border-bottom: 1px solid #eee !important;
  }

  /* Pill tabs — przewijane poziomo */
  /* Zakładki Nowości / Popularne — ukryte, jedna lista produktów */
  #index #home-page-tabs {
    display: none !important;
  }

  #index .tab-content.sg-home-products > .tab-pane,
  #index .tab-content.sg-home-products > ul.tab-pane {
    display: none !important;
  }

  #index .tab-content.sg-home-products > #blocknewproducts {
    display: grid !important;
    list-style: none;
  }

  #index #homefeatured,
  #index #blockbestsellers {
    display: none !important;
  }

  #index #columns.container,
  #index .columns-container > .container {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  #index #home-page-tabs.sg-mobile-tab-bar,
  #index #home-page-tabs {
    display: none !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    gap: 8px;
    margin: 0 -4px 14px;
    padding: 8px 12px 10px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    border: none !important;
    background: #f3f3f3 !important;
    border-radius: 12px;
    list-style: none;
  }

  #index #home-page-tabs::-webkit-scrollbar {
    display: none;
  }

  #index #home-page-tabs > li {
    float: none !important;
    width: auto !important;
    flex: 0 0 auto;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    scroll-snap-align: center;
  }

  #index #home-page-tabs > li > a {
    display: block;
    margin: 0 !important;
    padding: 10px 18px !important;
    border: none !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #333 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
  }

  #index #home-page-tabs > li.active > a,
  #index #home-page-tabs > li > a:hover,
  #index #home-page-tabs > li > a:focus {
    background: #1a1a1a !important;
    color: #fff !important;
  }

  #index .tab-content,
  #index .tab-content.sg-home-products {
    padding: 0 0 8px;
  }

  /* Karta produktu — tap w zdjęcie otwiera podgląd (fancybox) */
  #product .pb-left-column #image-block #view_full_size .span_link {
    display: block;
    bottom: 12px;
    margin-left: -72px;
    width: 144px;
    font-size: 12px;
    padding: 8px 0;
  }

  #product .pb-left-column {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #product .pb-left-column #image-block,
  #product .pb-left-column #views_block {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #product .pb-left-column #image-block {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 14px !important;
    border: none !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 14px !important;
    background: #e8e8e8 !important;
    aspect-ratio: 4 / 5;
    transform: translateZ(0);
    isolation: isolate;
  }

  #product .pb-left-column #image-block #view_full_size {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    line-height: 0;
  }

  #product .pb-left-column #image-block a.jqzoom,
  #product .pb-left-column #image-block .zoomPad {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 0 !important;
  }

  #product .primary_block .pb-left-column img,
  #product .pb-left-column #image-block img,
  #product .pb-left-column #image-block #bigpic {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    min-width: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center center !important;
    background: transparent !important;
  }

  #product .pb-left-column #image-block a.jqzoom div div img {
    width: 100% !important;
    max-width: none !important;
  }

  #product .pb-right-column {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
  }

  /* Przyklejony pasek na dole — bez duplikatu banera obok tytułu */
  #product .sg-product-call-banner {
    display: none !important;
  }

  #product .sg-product-heading-row h1 {
    flex: 1 1 100%;
  }

  .product-box .product-image {
    border: none !important;
    padding: 0 !important;
  }

  .product-box .product-image img {
    border-radius: 10px;
    width: 100%;
    height: auto;
  }

  /* Przyklejony pasek — odstęp pod treścią w stopce (nie biały pas pod stopką) */
  body {
    padding-bottom: 0 !important;
  }

  .footer-container {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
    margin-bottom: 0 !important;
  }

  .sg-grand-footer {
    margin-top: 16px;
    padding-top: 24px;
  }

  #footer.sg-grand-footer-wrap > .row,
  #footer.sg-grand-footer-wrap .footer-block {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: none !important;
  }

  #index .columns-container {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  @keyframes sg-call-hours-dot-pulse {
    0%,
    100% {
      opacity: 1;
      transform: scale(1);
    }
    50% {
      opacity: 0.65;
      transform: scale(0.92);
    }
  }

  #sg-mobile-call-bar {
    display: block !important;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10050;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.65);
    -webkit-backdrop-filter: blur(16px) saturate(1.15);
    backdrop-filter: blur(16px) saturate(1.15);
    border-top: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1);
    transform: translate3d(0, 0, 0);
    opacity: 1;
    transition: transform 0.28s ease, opacity 0.28s ease;
    will-change: transform, opacity;
  }

  #sg-mobile-call-bar.sg-mobile-call-bar--scroll-hidden {
    transform: translate3d(0, 110%, 0);
    opacity: 0;
    pointer-events: none;
  }

  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    #sg-mobile-call-bar {
      background: rgba(248, 248, 248, 0.96);
    }
  }

  #sg-mobile-call-bar .sg-mobile-call-bar__link {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 12px;
    background: #2d5a3d;
    color: #fff !important;
    text-decoration: none !important;
    font-family: 'Open Sans', sans-serif;
  }

  #sg-mobile-call-bar .sg-mobile-call-bar__left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
  }

  #sg-mobile-call-bar .sg-mobile-call-bar__link:active {
    background: #234830;
    transform: scale(0.98);
  }

  #sg-mobile-call-bar.sg-mobile-call-bar--open .sg-mobile-call-bar__link {
    transition: transform 0.12s ease, background 0.12s ease;
  }

  #sg-mobile-call-bar .sg-mobile-call-bar__icon {
    font-size: 22px;
    line-height: 1;
  }

  #sg-mobile-call-bar .sg-mobile-call-bar__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
    min-width: 0;
  }

  #sg-mobile-call-bar .sg-mobile-call-bar__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.88;
  }

  #sg-mobile-call-bar .sg-mobile-call-bar__number {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.15;
  }

  #sg-mobile-call-bar .sg-mobile-call-bar__hint {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    opacity: 0.9;
  }

  #sg-mobile-call-bar.sg-mobile-call-bar--closed .sg-mobile-call-bar__hint {
    display: none !important;
  }

  #sg-mobile-call-bar .sg-mobile-call-bar__hours {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 2px;
    max-width: 46%;
    padding: 4px 0 4px 12px;
    margin: -2px 0;
    border-left: 1px solid rgba(255, 255, 255, 0.28);
    text-align: right;
    line-height: 1.2;
  }

  #sg-mobile-call-bar .sg-mobile-call-bar__hours-head {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
  }

  #sg-mobile-call-bar .sg-mobile-call-bar__hours-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #9dffbf;
    box-shadow: 0 0 0 2px rgba(157, 255, 191, 0.35), 0 0 10px rgba(157, 255, 191, 0.55);
    animation: sg-call-hours-dot-pulse 2.4s ease-in-out infinite;
  }

  #sg-mobile-call-bar .sg-mobile-call-bar__hours-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  #sg-mobile-call-bar .sg-mobile-call-bar__hours-detail {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  #sg-mobile-call-bar .sg-mobile-call-bar__hours-remaining {
    font-size: 10px;
    font-weight: 600;
    opacity: 0.88;
    white-space: nowrap;
  }

  #sg-mobile-call-bar .sg-mobile-call-bar__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  #sg-mobile-call-bar.sg-mobile-call-bar--closed .sg-mobile-call-bar__link {
    background: #4a4a4a !important;
    cursor: default;
  }

  #sg-mobile-call-bar.sg-mobile-call-bar--closed .sg-mobile-call-bar__label {
    opacity: 0.85;
  }

  #sg-mobile-call-bar.sg-mobile-call-bar--closed .sg-mobile-call-bar__hours {
    border-left-color: rgba(255, 255, 255, 0.18);
  }

  #sg-mobile-call-bar.sg-mobile-call-bar--closed .sg-mobile-call-bar__hours-dot {
    background: #bdbdbd;
    box-shadow: none;
    animation: none;
  }

  #sg-mobile-call-bar.sg-mobile-call-bar--closed .sg-mobile-call-bar__hours-detail {
    font-size: 11px;
    font-weight: 600;
    opacity: 0.9;
  }

  #sg-mobile-call-bar.sg-mobile-call-bar--open .sg-mobile-call-bar__hours-detail {
    color: #fff;
  }

  #sg-mobile-call-bar.sg-mobile-call-bar--open .sg-mobile-call-bar__hours-remaining {
    color: #c8f5d4;
  }

  #sg-mobile-call-bar.sg-mobile-call-bar--closed .sg-mobile-call-bar__hours-remaining {
    color: #f5f5f5;
    font-size: 11px;
  }

}

/* Strony CMS — typografia domyślna */
#cms #center_column {
  padding-top: 8px;
  padding-bottom: 28px;
}

#cms #center_column .sg-cms-page--default.rte {
  max-width: 42rem;
  margin: 0 auto;
  font-family: "Open Sans", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: #2a2a2a;
}

#cms #center_column .sg-cms-page--default.rte p {
  margin: 0 0 1.1em;
}

#cms #center_column .sg-cms-page--default.rte p span {
  display: inline;
}

/* O nas — mockup Grand Menu */
body#cms.cms-o-nas,
body#cms.cms-4 {
  background: #f4f4f2 !important;
}

body#cms.cms-o-nas .columns-container,
body#cms.cms-4 .columns-container {
  background: #f4f4f2;
}

#cms.cms-o-nas #center_column,
#cms.cms-4 #center_column {
  max-width: none;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  float: none;
  padding-top: 24px;
  padding-bottom: 24px;
}

#cms.cms-o-nas #columns.container,
#cms.cms-4 #columns.container {
  max-width: 960px;
}

.sg-grand-page-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.sg-about-page {
  font-family: "Open Sans", sans-serif;
  color: #222;
}

.sg-about-page__hero {
  margin: 0;
  padding: 56px 40px;
  border-radius: 0;
  background: #f4f7f0;
  box-shadow: none;
  text-align: center;
}

.sg-about-page__eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2d5c3f;
}

.sg-about-page__title {
  margin: 10px 0 0;
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  color: #222;
}

.sg-about-page__lead {
  margin: 20px auto 0;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.55;
  color: #444;
}

.sg-about-page__highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 32px 40px 0;
  list-style: none;
}

.sg-about-page__highlight {
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e3e3df;
  box-shadow: none;
  text-align: center;
}

.sg-about-page__highlight-value {
  display: block;
  margin-bottom: 0;
  font-size: 22px;
  font-weight: 700;
  color: #2d5c3f;
  line-height: 1.2;
}

.sg-about-page__highlight-label {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.5;
  color: #555;
}

.sg-about-page__body {
  max-width: 620px;
  margin: 0 auto;
  padding: 32px 40px 0;
  font-size: 17px;
  line-height: 1.65;
  color: #222;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sg-about-page__body p {
  margin: 0;
}

.sg-about-page__visit {
  margin: 32px 40px 40px;
  padding: 32px;
  border-radius: 24px;
  background: #2d5c3f;
  color: #fff;
}

.sg-about-page__visit-title {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff !important;
}

.sg-about-page__visit-store {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.sg-about-page__visit-address {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
}

.sg-about-page__visit-hours {
  margin: 6px 0 0;
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.45;
}

.sg-about-page__visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.sg-about-page__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 0.15s ease, color 0.15s ease;
}

.sg-about-page__btn--primary {
  background: #fff;
  color: #2d5c3f !important;
}

.sg-about-page__btn--primary:hover {
  background: #e8f3dc;
  color: #2d5c3f !important;
}

.sg-about-page__btn--secondary {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.sg-about-page__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
}

.sg-about-page__btn--map {
  background: transparent;
  color: #fff !important;
  border: 1px solid #b8a45a;
}

.sg-about-page__btn--map:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
}

@media (max-width: 767px) {
  #cms.cms-o-nas #center_column,
  #cms.cms-4 #center_column {
    padding-top: 12px;
    padding-bottom: 24px;
  }

  .sg-grand-page-card {
    border-radius: 16px;
  }

  .sg-about-page__hero {
    padding: 32px 20px;
    text-align: left;
  }

  .sg-about-page__lead {
    margin-left: 0;
    margin-right: 0;
    font-size: 17px;
  }

  .sg-about-page__highlights,
  .sg-about-page__body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .sg-about-page__visit {
    margin: 24px 16px 24px;
    padding: 24px 20px;
    border-radius: 20px;
  }

  .sg-about-page__visit-actions {
    flex-direction: column;
  }

  .sg-about-page__btn {
    width: 100%;
  }
}

/* O nas — ciemna stopka w karcie (mockup Grand Menu v2) */
.sg-about-page__footer {
  background: #1a1a1a;
  color: #d8d8d4;
  padding: 48px 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.sg-about-page__footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.sg-about-page__footer-logo {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  color: #5aa012;
}

.sg-about-page__footer-brand p {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: #a8a8a2;
}

.sg-about-page__footer-label {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 700;
  text-transform: uppercase;
  color: #c9b268;
}

.sg-about-page__footer-col p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

.sg-about-page__footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sg-about-page__footer-contact a {
  color: #fff;
  font-size: 15px;
  text-decoration: none;
}

.sg-about-page__footer-contact a:hover {
  color: #8fd04a;
}

.sg-about-page__footer-map {
  align-self: flex-start;
  margin-top: 4px;
  padding: 9px 18px;
  border: 1px solid #c9b268;
  border-radius: 999px;
  color: #c9b268 !important;
  font-size: 14px;
  font-weight: 600;
}

.sg-about-page__footer-map:hover {
  background: #c9b268;
  color: #1a1a1a !important;
}

.sg-about-page__footer-seo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid #333;
  font-size: 13px;
  line-height: 1.65;
  color: #a8a8a2;
}

.sg-about-page__footer-seo p {
  margin: 0;
}

.sg-about-page__footer-seo strong {
  color: #fff;
  font-weight: 600;
}

.sg-about-page__footer-copy {
  margin: 0;
  font-size: 12px;
  color: #77776f;
}

/* Stopka globalna — Grand Home (tło na całą szerokość viewportu) */
.footer-container {
  background: #f3efe7 !important;
  border: none !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
}

.footer-container #footer,
.footer-container #footer.sg-grand-footer-wrap {
  background: transparent !important;
  float: none !important;
}

.footer-container .container,
.footer-container #footer.container {
  padding-bottom: 0 !important;
}

.sg-grand-footer-wrap {
  max-width: 1280px !important;
  width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
  box-sizing: border-box;
}

.sg-grand-footer-hook {
  display: none !important;
}

.sg-grand-footer {
  margin-top: 48px;
  background: transparent;
  color: #2a2a26;
  padding: 56px 0 0;
  overflow: visible;
  border-radius: 0;
}

.sg-grand-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.sg-grand-footer__brand-col {
  grid-column: span 2;
  min-width: 0;
}

.sg-grand-footer__tagline {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
  max-width: 440px;
}

.sg-grand-footer__newsletter {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  max-width: 440px;
  background: #fff;
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
}

.sg-grand-footer__newsletter-hint {
  flex: 1;
  font-size: 14px;
  color: #77776f;
  line-height: 1.3;
}

.sg-grand-footer__newsletter-btn {
  flex-shrink: 0;
  background: #2d5c3f;
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none !important;
}

.sg-grand-footer__newsletter-btn:hover {
  background: #5aa012;
  color: #fff !important;
}

.sg-grand-footer__nav,
.sg-grand-footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
}

.sg-grand-footer__nav a,
.sg-grand-footer__col a {
  color: #2d5c3f;
  text-decoration: none;
}

.sg-grand-footer__nav a:hover,
.sg-grand-footer__col a:hover {
  color: #5aa012;
}

.sg-grand-footer__nav-title {
  margin: 0 0 4px;
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 700;
  text-transform: uppercase;
  color: #2d5c3f;
}

.sg-grand-footer__text {
  margin: 0;
}

.sg-grand-footer__muted {
  margin: 0;
  color: #6a6a62;
  font-size: 15px;
  line-height: 1.7;
}

.sg-grand-footer__muted a {
  font-weight: 600;
}

.sg-grand-footer__link {
  font-weight: 700;
  text-decoration: underline !important;
}

.sg-grand-footer__phone {
  font-weight: 700;
  font-size: 18px;
  color: #2d5c3f !important;
}

.sg-grand-footer__seo {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(45, 92, 63, 0.14);
  font-size: 13px;
  line-height: 1.65;
  color: #6a6a62;
}

.sg-grand-footer__seo-title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #2d5c3f;
}

.sg-grand-footer__seo p {
  margin: 0 0 12px;
}

.sg-grand-footer__seo p:last-child {
  margin-bottom: 0;
}

.sg-grand-footer__seo strong {
  color: #2a2a26;
  font-weight: 600;
}

.sg-grand-footer__wordmark {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  font-size: clamp(90px, 20vw, 260px);
  line-height: 0.8;
  letter-spacing: 0.02em;
  color: #5aa012;
  text-align: center;
  margin-top: 48px;
  user-select: none;
  pointer-events: none;
}

.sg-grand-footer__bar {
  background: #2d5c3f;
  color: #e6efdf;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
  padding: 16px max(32px, calc((100vw - 1280px) / 2 + 32px));
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .sg-grand-footer-wrap {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .sg-grand-footer__bar {
    padding-left: 20px;
    padding-right: 20px;
  }

  .sg-grand-footer__seo {
    margin-top: 24px;
    padding-top: 20px;
    font-size: 12px;
  }

  .sg-grand-footer__wordmark {
    font-size: clamp(64px, 24vw, 120px);
    margin-top: 28px;
  }

  .sg-grand-footer__brand-col {
    grid-column: span 1;
  }

  .sg-grand-footer__newsletter {
    flex-direction: column;
    align-items: stretch;
    border-radius: 16px;
    padding: 12px;
  }

  .sg-grand-footer__newsletter-btn {
    text-align: center;
  }
}

/* Strona główna — Grand Home */
#index .columns-container {
  background: #fff;
}

#index #columns.container {
  max-width: 1280px;
}

#index .sg-grand-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 20px;
  margin: 28px 0 0;
  padding: 0 32px;
  float: none !important;
}

#index .sg-grand-home-hero::before,
#index .sg-grand-home-hero::after {
  display: none !important;
  content: none !important;
}

#index .sg-grand-home-hero > #top_column,
#index .sg-grand-home-hero > .sg-grand-home-hero__aside {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

#index .sg-grand-home-hero__slider {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  float: none !important;
  grid-column: 1;
  grid-row: 1;
}

#index .sg-grand-home-hero__aside {
  grid-column: 2;
  grid-row: 1;
}

#index #homepage-slider,
#index #homepage-slider.col-xs-8 {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  padding: 0 !important;
}

#index #homepage-slider .bx-wrapper {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
}

#index #homepage-slider,
#index #homepage-slider .bx-wrapper,
#index #homepage-slider .bx-viewport {
  border-radius: 20px !important;
  overflow: hidden !important;
}

#index #homepage-slider .bx-viewport {
  min-height: 240px;
}

@media (min-width: 992px) {
  #index #homepage-slider .bx-viewport {
    min-height: 440px;
  }

  #index #homepage-slider .bx-wrapper img,
  #index #homepage-slider img {
    display: block !important;
    width: 100% !important;
    height: 440px !important;
    object-fit: cover;
    object-position: center top;
  }
}

#index .sg-grand-home-hero__aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.sg-grand-home-promo {
  flex: 1;
  border-radius: 20px;
  padding: 28px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sg-grand-home-promo--inpost {
  background: #ffcc00;
  color: #111;
}

.sg-grand-home-promo--inpost .sg-grand-home-promo__title {
  margin: 0;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
}

.sg-grand-home-promo--inpost .sg-grand-home-promo__subtitle {
  margin: 6px 0 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}

.sg-grand-home-promo--inpost .sg-grand-home-promo__note {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 700;
}

.sg-grand-home-promo--store {
  background: #1f2f5c;
  color: #fff;
}

.sg-grand-home-promo--store .sg-grand-home-promo__lead {
  margin: 0;
  font-size: 13px;
  opacity: 0.85;
}

.sg-grand-home-promo--store .sg-grand-home-promo__heading {
  margin: 6px 0 0;
  font-size: 26px;
  font-weight: 800;
  color: #ffc933;
}

.sg-grand-home-promo--store .sg-grand-home-promo__address {
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
}

.sg-grand-home-promo--store .sg-grand-home-promo__link {
  margin-top: 8px;
  color: #ffc933;
  font-weight: 700;
  font-size: 14px;
  text-decoration: underline;
}

.sg-grand-home-products {
  padding: 0 32px 48px;
}

.sg-grand-home-products__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.sg-grand-home-products__title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #222;
}

.sg-grand-home-products__all {
  font-weight: 600;
  font-size: 14px;
  color: #2d5c3f;
  text-decoration: none;
}

.sg-grand-home-products__all:hover {
  color: #5aa012;
}

#index ul.product_list.grid.sg-mobile-product-grid > li .right-block .sg-product-badge--new .new-label {
  background: #5aa012;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Mobile menu — dolny pasek (mockup) */
.sg-mobile-menu-footer {
  display: none;
}

@media (max-width: 991px) {
  #index .sg-grand-home-hero {
    grid-template-columns: 1fr;
    padding: 0 6px;
    margin-top: 10px;
  }

  #index .sg-grand-home-hero__slider {
    grid-column: 1;
  }

  #index .sg-grand-home-hero__aside {
    display: none !important;
  }

  .sg-grand-home-products {
    padding: 0 6px 24px;
  }

  #block_top_menu .cat-title--hamburger.active ~ .sf-menu.menu-content {
    padding-bottom: 120px !important;
  }

  #block_top_menu .sg-mobile-menu-footer {
    display: none;
    flex-direction: column;
    gap: 12px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10002;
    padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0));
    background: #2d5c3f;
    color: #fff;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
  }

  #block_top_menu .cat-title--hamburger.active ~ .sg-mobile-menu-footer {
    display: flex;
  }

  .sg-mobile-menu-footer__meta {
    margin: 0;
    font-size: 13px;
    opacity: 0.9;
  }

  .sg-mobile-menu-footer__actions {
    display: flex;
    gap: 10px;
  }

  .sg-mobile-menu-footer__btn {
    flex: 1;
    text-align: center;
    padding: 13px 0;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
  }

  .sg-mobile-menu-footer__btn--primary {
    background: #fff;
    color: #2d5c3f !important;
  }

  .sg-mobile-menu-footer__btn--outline {
    border: 1px solid #fff;
    color: #fff !important;
  }
}

@media (min-width: 992px) {
  .sg-mobile-menu-footer {
    display: none !important;
  }

  #index .sg-grand-home-hero__aside {
    display: flex;
  }
}

/* Badge „W magazynie” — tylko stan dostępny (zostaw ostrzeżenia o braku) */
ul.product_list .availability:has(.label-success) {
  display: none !important;
}

#product #availability_statut:has(#availability_value.label-success) {
  display: none !important;
}

/* Stopka — bez starych modułów Presta (accordion) */
.footer-container #footer #newsletter_block_left,
.footer-container #footer .blockcategories_footer,
.footer-container #footer #block_various_links_footer,
.footer-container #footer > .row > section.footer-block,
.footer-container #footer .footer-block {
  display: none !important;
}

/* Mini modal — Facebook / Instagram */
.sg-social-follow-prompt {
  position: fixed;
  inset: 0;
  z-index: 10045;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.sg-social-follow-prompt.is-open {
  pointer-events: auto;
  opacity: 1;
}

body.sg-social-follow-prompt-open {
  overflow: hidden;
}

.sg-social-follow-prompt__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.sg-social-follow-prompt__panel {
  position: fixed;
  z-index: 1;
  right: 12px;
  bottom: 12px;
  width: min(360px, calc(100vw - 24px));
  padding: 16px 16px 14px;
  border-radius: 16px;
  background: #fff;
  color: #1a1a1a;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  font-family: 'Open Sans', sans-serif;
  transform: translate3d(0, 12px, 0);
  transition: transform 0.28s ease;
}

.sg-social-follow-prompt.is-open .sg-social-follow-prompt__panel {
  transform: translate3d(0, 0, 0);
}

.sg-social-follow-prompt__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #1a1a1a;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.sg-social-follow-prompt__eyebrow {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2d5a3d;
}

.sg-social-follow-prompt__title {
  margin: 0 32px 8px 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  color: #1a1a1a;
}

.sg-social-follow-prompt__desc {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.45;
  color: #555;
}

.sg-social-follow-prompt__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sg-social-follow-prompt__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  color: #fff !important;
}

.sg-social-follow-prompt__btn--fb {
  background: #1877f2;
}

.sg-social-follow-prompt__btn--fb:active {
  background: #146cdf;
}

.sg-social-follow-prompt__btn--ig {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 100%);
}

.sg-social-follow-prompt__btn--ig:active {
  filter: brightness(0.95);
}

.sg-social-follow-prompt__later {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 8px;
  border: none;
  background: transparent;
  color: #666;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

@media (max-width: 991px) {
  .sg-social-follow-prompt__panel {
    left: 12px;
    right: 12px;
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    width: auto;
  }
}

/* Strona główna — losowy Reels Instagram */
.sg-instagram-reel {
  display: none;
}

@media (max-width: 991px) {
  #index .sg-instagram-reel {
    display: block;
    margin: 16px 6px 20px;
    padding: 14px 12px 16px;
    border-radius: 20px;
    background: #f7f7f7;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    font-family: 'Open Sans', sans-serif;
  }

  #index .sg-instagram-reel__eyebrow {
    margin: 0 0 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8134af;
  }

  #index .sg-instagram-reel__title {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    color: #1a1a1a;
  }

  #index .sg-instagram-reel__lead {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.45;
    color: #555;
  }

  #index .sg-instagram-reel__lead a {
    color: #8134af !important;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  #index .sg-instagram-reel__embed-wrap {
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    min-height: 120px;
  }

  #index .sg-instagram-reel__embed {
    margin: 0 auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  #index .sg-instagram-reel__profile {
    display: block;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 100%);
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
  }

  #index .sg-instagram-reel__profile:active {
    filter: brightness(0.95);
  }
}
