#subcategories ul {
  gap: 2rem !important;
}

@media (max-width: 767px) {
  #subcategories ul {
    gap: 0 !important;
  }
}

.category-header {
    display: inline-flex;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  
  .category-header h3 {
    margin: 0;
    flex-grow: 1;
    color: inherit; /* Upewnij się, że kolor jest dziedziczony */
  }
  
  .toggle-button {
    cursor: pointer;
    margin-left: 20px;
  }
  
  .category-description-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
  }
  
  .category-description-content.expanded {
    max-height: 1000px;
    opacity: 1;
  }
  
  .toggle-button::before {
    content: '▶';
    display: inline-block;
    margin-right: 5px;
    font-size: 1rem;
    transition: transform 0.3s;
  }
  
  .toggle-button.expanded::before {
    content: '▼';
    transform: rotate(0deg);
  }
  
  /* kolorek Mebli do 5 dni */
  /* .menuItemsCollection > li:nth-child(4) > a {
    color: #a68248 !important;
  }
   */
  
  .product-flags li.product-flag.on-sale {
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1;
    margin-top: 0 !important;
    text-align: center;
    background: #ff4123;
    display: none;
  }

  .product-miniature .product-flags {
    margin-top: 1rem;
  }

  .product-flags li.product-flag.new {
    background-color: #000 !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  @media (max-width: 480px) {
    .product-miniature .product-flags {
      margin-top: 0 !important;
      display: flex;
      flex-direction: row;
    }

    .product-flags li.product-flag {
      width: -webkit-fit-content;
      display: flex;
      flex-wrap: nowrap !important;
    }
  }

  #product .product_page_container .product-flags {
    margin-top: 15px;
  }

  .thumbnail-top::after {
    background: none;
  }

  footer .footerContainer .footerRightItems .contactBox .contactRow img {
    width: 55%;
    height: auto !important;
}

footer .footerContainer .footerRightItems .contactBox .contactRow .contactCircle {
  background: none;
  box-shadow: none;
}

.socialCircle {
  background: none;
  box-shadow: none;
}

.socialCircle img {
  width: 40px;
}

#footer .container .socialPromoText {
    text-align: center;
    font-size: larger;
    margin-bottom: 1rem;
    margin-right: 0.7rem;
    color: #000;
}

.footerContainer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 20px 0;
}

footer .footerContainer .footerLogo {
  width: 200px !important;
  display: flex;
  justify-content: center;
}

footer .footerContainer {
  padding: 20px;
}

.footerLogo img {
  max-width: 200px;
}

.footerRightItems {
  display: flex;
  justify-content: space-evenly;
  flex: 1;
  margin-top: 4rem;
}

.footerRightItems h3 {
  font-size: 2rem;
}

.contactBox {
  margin-right: 20px;
}

.contactRow {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.contactCircle img {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

.footerColumn {
  display: flex;
  flex-direction: column;
}

.footerSubtext {
  font-size: 12px;
  color: #666;
}

.footerLinks {
  display: flex;
  flex-direction: column;
}

.footerLinksTitle {
  font-weight: bold;
  margin-bottom: 10px;
}

.footerLinkItem {
  margin-bottom: 5px;
}

.footerLinkItem a {
  text-decoration: none;
  color: #000;
}

.footerLinkItem a:hover {
  text-decoration: underline;
}

.socialPromoText {
  margin-top: 20px;
  font-weight: bold;
  text-align: center;
}

.socialContainer {
  margin-bottom: 2rem;
  gap: 0;
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.socialCircle {
  margin: 0 10px;
}

.socialCircle img {
  width: 30px;
  height: 30px;
}

.paymentLogos {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.payLogo img {
  max-width: 50px;
  margin: 0 10px;
}

.copyrightBar {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
}

.copyTop {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

/** FIX: Footer overflow on small mobiles */
@media (min-width: 380px) {
  .copyItem {
    margin: 0 10px;
  }
}

.copyBot {
  font-size: 12px;
  color: #666;
}

@media (max-width: 768px) {
  .footerContainer {
      flex-direction: column;
      align-items: center;
  }

  footer .footerContainer .footerRightItems .contactBox{
    text-align: center;
  }

  .footerRightItems {
      flex-direction: column;
      align-items: center;
      justify-content: start;
      margin: 0;
  }

  .socialContainer {
      flex-direction: row;
      align-items: end;
  }

  .socialCircle, .payLogo {
      margin-bottom: 10px;
  }

  .product-miniature .thumbnail-container .product-thumbnail img {
    /* width: -webkit-fill-available; */
  }

  .lazy-load-img-container {
    height: auto;
  }

  .empty_variants {
    height: 0px;
  } 
}

.empty_variants {
  height: 1.6rem !important;
}

.product-miniature .variant-links {
  min-height: 0;
  height: 1.6rem;
}


li.product-flag.countdown {
  display: flex;
  flex-direction: column;
  width: auto;
  align-items: center;
}

.product-miniature .product-title {
  margin-top: 0;
}

div#custom-text.wrappingClass {
  max-height: none;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-bottom: 1rem;
}

#custom-text {
  margin-bottom: 0;
}

#custom-text .wrappingClass.show {
  height: 100%;
  max-height: none !important;
}

#custom-text .all-product-links {
  margin-bottom: 2rem;
}

/* kod do wrappera tekstu na glownej */
.wrappedText {
  max-height: 0;
  overflow: hidden; 
  /*mozliwosc animacji transition: max-height 0.5s ease;  */
}

.wrappedText.show {
  max-height: 100%;
}

.product-miniature .thumbnail-container .product-thumbnail img { 
  max-width: 250px !important;
}

.product_name_custom {
  max-width: 250px !important;
}

/*style do subcategories */
.subcategory-container {
  display: grid; /* Zmiana na grid */
  grid-template-columns: repeat(3, 1fr); /* 3 kolumny dla desktop */
  gap: 1.5rem;
  margin: 2rem 0 !important;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e07c35;
}

.subcategory-item {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 10px;
  background-color: #fff;
  border: 1px solid #e07c35;
  border-radius: 10px;
  height: 2.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease-in-out;
}

.subcategory-item:hover {
  background-color: #e07c35;
  transform: scale(1.05);
}

.subcategory-item:hover h5 {
  color: #fff !important;
}

.subcategory-item h5 {
  margin: 0;
  font-size: 0.9em;
  text-align: center;
  color: #000;
  font-weight: 400;
}

.subcategory-container::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  border: 2px solid #fff;
}

@media (max-width: 840px) {
  .subcategory-container {
    /* display: grid; */
    /* grid-template-columns: repeat(2, 1fr);  */
    /* height: 90px; */
    overflow: hidden;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0 10px !important;
    margin-top: 0 !important;
  }

  .subcategory-item {
      /* height: 2.5rem; */
      width: max-content;
      display: flex;
      align-items: center;
      justify-content: center;
  }
}

@media (max-width: 480px) {
  .subcategory-item {
      flex: 1 1 100%; 
  }
}

/* karta produktu - zmiany w zgodzie z projektem */

.product-variants-item {
  background: none;
  border-radius: 0px;
  padding: 0px;
}

span.color.texture {
/* .bs24-variant-list span.color { */
    --bs24-texture-size: 32px;
    width: var(--bs24-texture-size);
    height: var(--bs24-texture-size);
    margin: 0;
    padding: 4px;
}

.product_page_container {
  border: none;
  border-radius: none;
  padding: 0;
}

.btn.btn-primary.add-to-cart {
  background-color: #000;
  box-shadow: none;
}

button.btn.btn-primary.add-to-cart {
  border-radius: 0;
}

.btn.btn-primary.add-to-cart:hover {
  transform: scale(1.02);
  /* background-color: rgb(205, 184, 151); */
  background-color: rgba(221, 110, 66, 1);
  box-shadow: none;
}

.bootstrap-touchspin-up, .bootstrap-touchspin-down{
  border: thin solid #000 !important; 
  border-radius: 0; 
}

.input-group-btn:not(:last-child) > .btn, .input-group-btn:not(:last-child) > .btn-group {
   margin-right: 0; 
}

.product-quantity #quantity_wanted {
  /* border: 1px solid #000; */
  border-top: 1px solid black;
  border-bottom: 1px solid black;
}

.product-quantity {
    display: grid;

    grid-template-columns: auto;
    grid-template-rows: auto auto;
    gap: 12px;
}

@media(max-width: 768px) {
  .block-social ul, .product-quantity {
      display: grid;
  }

  .product-quantity {
      display: grid;

      /* ? Mobile */
      grid-template-columns: auto 1fr;
      grid-template-rows: auto;
      gap: 12px;
  }

  .product-quantity .qty {
    margin-right: 0;
  }

  .product-quantity .qty,
  .product-quantity .input-group {
    margin-bottom: 0;
  }

  .input-group-btn button {
    border-radius: 0;
  }
}

.product-promotional-text {
  cursor: pointer;
}

.product-features > dl.data-sheet dt.name {
  margin-right: 0 !important;
  border-right: 0 !important;
}

.product-features > dl.data-sheet dd.value {
  border-left: 0 !important;
}

.product-features > dl.data-sheet dd.value, .product-features > dl.data-sheet dt.name {
  background: #fff;
  border: 1px solid;
  display: flex;
  justify-content: center;
  align-items: center;
}

.definition-list dl dd:nth-of-type(even), .definition-list dl dt:nth-of-type(even), .product-features > dl.data-sheet dd.value:nth-of-type(even), .product-features > dl.data-sheet dt.name:nth-of-type(even) {
  background: #e9e9e9;
}

.page-content.page-cms ul, p {
  font-size: 0.9375rem;
  font-weight: 400;
  color: #000;
}

/* formularze do filtrów itd */
.form-control {
  padding: 0.5rem 1rem;
  color: #000;
  background: #FFF;
  border: 1px solid;
  border-radius: 10px;
}

/* filtry produktów, drobne zmiany z projektu */
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
  background: rgba(124, 117, 117, 1);
}

.ui-slider-range.ui-widget-header.ui-corner-all {
  background: rgba(124, 117, 117, 1);
}

.PM_ASShowCriterionsGroupHidden {
  text-align: center;
  border: 1px solid;
}

.PM_ASCriterionGroupImage li a img {
  border-radius: 50%;
  width: 1.2rem;
  height: 1.2rem;
}

/* inne style dla ramek w stronach produktów */
.brands-sort .select-title, .products-sort-order .select-title, .suppliers-sort .select-title {
  background: #f5f5f5;
}

/* css do artykulow na blogu */

#main .page-header {
  margin-bottom: 0;
  text-align: center;
}

#main .page-header h1 {
  font-size: x-large;
  color: #000;
  border-bottom: 1px solid;
  padding-bottom: 1rem;
}


#main .page-content {
  text-align: left;
}

.articleBanner {
  text-align: center !important;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid;
  position: relative;
}

.articleBanner2 {
  text-align: center;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid;
  position: relative;
}

.articleBanner img {
  width: -webkit-fill-available;
  height: auto;
}

.articleBanner2 img {
  width: -webkit-fill-available;
  height: auto;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.overlay span {
  color: white;
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.3); 
  border: 2px solid white; 
}

.overlay span a {
  color: white !important;
}

@media (min-width: 1025px) {
  .articleBanner img {
    width: auto;
  }

  .articleBanner2 img {
    width: 100%;
  }
}

/* testy stylu artykulu */
.image-column {
  display: flex;
  align-items: center; 
  justify-content: center; 
}
.image-column img {
  height: auto; 
  max-height: 100%; 
  width: auto;
  object-fit: cover; 
}
.blog-text-column {
  display: flex;
  flex-direction: column; 
  justify-content: center; 
}

.blog-container {
  margin: 2rem 0;
}

.blog-container .row {
  display: flex;
  align-items: center;
}

@media (max-width: 767px) {
  .blog-container .row {
    display: block;
  }

  .blog-image-column {
      order: 2; 
  }

  .blog-text-column {
    padding: 0;
  }
}

/* css dla calej sekcji blogu */

.blog-articles {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.blog-article {
  padding-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.blog-article-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px; 
  align-items: center; 
}

.blog-article-image img {
  width: 100%; 
  height: auto;
  object-fit: cover;
  max-height: 500px;
}

.blog-article-content {
  margin: 0 auto;
  width: 80%;
}

.blog-article-content h2 {
  margin: 2rem 0 1rem;
  font-size: 24px;
  color: #000;
}

.blog-article-content h2 a {
  color: #000;
  text-decoration: none;
}

.blog-article-content h2 a:hover {
  color: #cc9f58;
}

.blog-article-content .blog-article-date {
  font-size: 14px;
  color: #000;
  margin-bottom: 10px;
}

.blog-article-content p {
  font-size: 16px;
  color: #555;
  text-align: start;
}

.blog-tags {
  margin-top: 10px; 
  display: flex;
  gap: 10px; 
}

.blog-tag {
  background-color: #df764d; 
  color: #fff; 
  padding: 5px 10px;
  border-radius: 5px; 
  font-size: 14px; 
  display: inline-block;
  text-transform: uppercase; 
}


@media (max-width: 767px) {
  .blog-article-grid {
    display: inline;
  }

  .blog-article-image img {
    padding: 1rem;
  }

  .blog-tags {
    justify-content: center;
  }
}

/* poprawiam style dla wyświetlania miniaturek produktów */
.product-miniature .product-title a {
  font-style: normal;
  font-weight: 300;
  font-size: 13px;
  color: #000;
  line-height: 150%;
  /* margin-bottom: 15px; */
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  text-align: left;
  height: 2.3rem;
}

#product .product-flags li.product-flag.discount {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
}

#custom-text p {
  text-align: start;
}

.grade-stars.small-stars {
  top: -30px;
  right: -35px;
}

@media (max-width: 840px) {
  .grade-stars.small-stars {
    margin-right: 65px; /* zmniejszony margines na mobilnych urządzeniach */
  }
}

.cart-item {
  padding: 1rem 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin-bottom: 15px;
}

@media (max-width: 767px) {
  .cart-item {
    padding: 0;
  }
}

.product-line-info {
  margin-top: 10px;
}

.product-line-grid-right .cart-line-product-actions, .product-line-grid-right .product-price {
  line-height: 36px;
  color: #232323;
  font-size: 22px;
}

.cart-grid-right.col-lg-4 {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  
}

input.js-cart-line-product-quantity.form-control {
  text-align: center;
}

@media (max-width: 767px) {
  .input-group.bootstrap-touchspin {
    margin-bottom: 0.5rem;
  }
}

div#offer-title {
  color: #e07c35 !important;
}

.btn-comment, .btn-comment-inverse {
  background-color: #e07c35 !important;
}

.pagination .current a {
  font-size: 1.25rem;
  color: #e07c35;
}

#CookiebotWidget #CookiebotWidget-buttons #CookiebotWidget-btn-change {
  background-color: #e07c35 !important;
}

#CookiebotWidget .CookiebotWidget-body .CookiebotWidget-consents-list li.CookiebotWidget-approved svg {
  fill: #e07c35 !important;
}

#CookiebotWidget .CookiebotWidget-consent-details button {
    color: #e07c35 !important;
}

#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtonAccept, #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonAccept, #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll {
  background-color: #e07c35 !important;
}

#CybotCookiebotDialogFooter .CybotCookiebotDialogBodyButton {
  background-color: #FFFFFF;
  border: 2px solid #e07c35 !important;
}

#CybotCookiebotDialog.CybotEdge #CybotCookiebotDialogBodyEdgeMoreDetails a {
  color: #e07c35 !important;
}

#CybotCookiebotDialogNav .CybotCookiebotDialogNavItemLink.CybotCookiebotDialogActive {
  border-color: transparent;
  border-bottom: 1px solid #e07c35 !important;
  color: #e07c35 !important;
}

/* lemur */
/* @media (max-width: 768px) {
  .tm-slide-modal-bg.tm-slideModal-change-status-on-mouseclick.tm-slide-modal-bg--close {
    display: none !important;
    visibility: hidden !important;
  }

  .tm-lemur-container .tm-lemur-sticker-mobile.mobile-right-1, .tm-lemur-container .tm-lemur-sticker-mobile.mobile-right-2, .tm-lemur-container .tm-lemur-sticker-mobile.mobile-right-3, .tm-lemur-container .tm-lemur-sticker-mobile.mobile-right-4, .tm-lemur-container .tm-lemur-sticker-mobile.mobile-right-5 {
    display: none;
  }

  .tm-lemur-container .tm-slide-modal-bg {
    height: 0 !important;
  }

  .tm-lemur-container .tm-slide-modal-container--open .tm-slide-modal-container--mobile-right {
      transform: translateX(-100vw);
      display: block !important;
      visibility: visible !important;
  }

  .tm-lemur-container .tm-slide-modal-container--mobile-right {
      right: -100vw;
      display: none !important;
      visibility: hidden !important;
  }
} */

#header a:hover {
  color: #E18341 !important;
}

.all-product-link {
  cursor: pointer;
}

.banerInfo {
  width: -webkit-fill-available;
  margin-bottom: 2rem;
}

@media (max-width: 767px) {
  .banerInfo {
    display: none;
  }
}

.custom-text-block {
  /* font-size: 1rem !important; */
  font-size: 1rem;
  font-weight: 500;
  color: #232323;
  text-transform: initial;
}



/**
  * GENERAL COMPONENTS
  */

.bs24-cta-wrapper {
  display: flex;
  justify-content: center;
  /* grid-column: 1 / -1; */
  width: 100%;
}
.bs24-cta-wrapper.--with-margin-top {
  margin-top: 16px;
}
.bs24-cta-btn {
  line-height: inherit;
  word-wrap: break-word;
  box-sizing: border-box !important;
  border: none;
  cursor: pointer;
  padding: .6180469716em 1.41575em;
  text-decoration: none;
  font-weight: 600;
  text-shadow: none;
  display: inline-block;
  appearance: none;
  -webkit-appearance: none;
  border-color: #eeeeee;
  text-align: center;
  font-size: 18px;
  border-radius: 10px;
  background: #e07c35;
  color: #fff;
  transition: background .2s ease-in-out,transform .2s ease-in-out,box-shadow .2s ease-in-out;
}
.bs24-cta-btn:hover {
  color: #fff;
  background: linear-gradient(to right, rgb(232.5914634146, 139.3719512195, 56.9085365854), rgb(245.4578313253, 176.2771084337, 66.5421686747));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
