











.shop-toolbar-container {
  margin-bottom: 0;
}
#main-content {
  padding-top: 80px;
}
.sidebar {
  padding-top: 60px;
  padding-left: 40px;
}
.product-image--holder a {
  display: flex;
  justify-content: center;
  align-items: center;
  /* background-color: red; */
  border-radius: 15px;
  overflow: hidden;
  background-color: #eae6e6;
  position: relative;
}
.header-inner, body {
  background-color: #f4f1f0;
}
.configurator-container {
  /* W Bootstrap 4 używamy flex-fill */
  flex: 1 1 auto !important;
  min-width: 300px;
  margin-bottom: 40px;
}
/* Dodajemy klasę do row żeby działał flex */
.products-row {
  display: flex !important;
  flex-wrap: wrap;
}
.custom-config-card {
  background: #fff;
  border: 2px dashed #e0e6ed;
  border-radius: 18px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.custom-config-card:hover {
  border-color: #DA4453;
  box-shadow: 0 8px 25px rgba(66, 133, 244, 0.15);
  transform: translateY(-2px);
}
.custom-config-card:hover .plus-icon {
  transform: scale(1.1) rotate(180deg);
  color: #fff;
}
.plus-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(12deg, #89216B, #DA4453);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 32px;
  font-weight: 300;
  transition: all 0.4s ease;
  position: relative;
}
.plus-icon::before {
  content: '+';
  position: absolute;
}
.config-title {
  font-size: 24px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 12px;
  line-height: 1.3;
}
.config-subtitle {
  font-size: 16px;
  color: #6c757d;
  margin-bottom: 25px;
  line-height: 1.5;
}
.config-features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 25px;
}
.config-features > .feature-item {
  margin: 5px 8px;
}
.feature-item {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #495057;
  background: #f8f9fa;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.feature-item:hover {
  background: #e9ecef;
  transform: translateY(-1px);
}
.feature-icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  opacity: 0.7;
}
.cta-button {
  background: linear-gradient(12deg, #89216B, #DA4453);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  width: 100%;
}
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}
/* Animacja pulsowania */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
.custom-config-card:hover .plus-icon {
  animation: pulse 2s infinite;
}
/* Responsywność dla Bootstrap 4 */
@media (max-width: 767.98px) {
  .custom-config-card {
    padding: 30px 20px;
  }
  .config-title {
    font-size: 20px;
  }
  .config-features {
    flex-direction: column;
    align-items: center;
  }
  .config-features > .feature-item {
    margin: 5px 0;
  }
  .configurator-container {
    margin-left: 0;
    min-width: auto;
    flex: 1 1 100% !important;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .configurator-container {
    min-width: 250px;
  }
}

.product-title a {
    color: #282828;
    font-size: 1.5rem;
}





.products-grid .airi-product {
    margin-bottom: 24px;
}


.mobile-header {
  display: none;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  z-index: 99999;
  position: relative;
  background: #eae6e680;
  z-index: 1000;
  overflow-y: hidden;
  max-width: 100%;
  padding: 10px 25px 9px;
  /* padding-top: 0; */
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.mobile-header h2 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 0;
}
.sidebar-close-btn {width: 36px;height: 36px;background: #fff;border: none;border-radius: 50%;cursor: pointer;display: flex;align-items: center;justify-content: center;transition: all 0.3s ease;z-index: 1001;} .sidebar-close-btn:hover { background: #e9ecef; border-color: #adb5bd; transform: scale(1.05); } .sidebar-close-btn:active { transform: scale(0.95); } /* Ikona X */ .sidebar-close-btn::before, .sidebar-close-btn::after {content: '';position: absolute;width: 14px;height: 2px;background: #6c757d;border-radius: 1px;transition: background-color 0.3s ease;} .sidebar-close-btn::before { transform: rotate(45deg); } .sidebar-close-btn::after { transform: rotate(-45deg); } .sidebar-close-btn:hover::before, .sidebar-close-btn:hover::after { background: #495057; }

@media (max-width: 768px) {
  
.configurator-container .col-12 {
  padding: 0;
}
  /* Ukryj większość zawartości shop-toolbar-container, zostaw tylko h1 */
  .shop-toolbar-container .shop-toolbar__left {
    display: none;
  }
  
  .shop-toolbar-container .shop-toolbar__inner .row .col-md-12:not(.categories-tags) {
    display: none;
  }
  
  /* Ukryj sidebar domyślnie */
  .sidebar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 74vh;
    background: rgba(255, 255, 255, 0.5);
    z-index: 1000;
    max-width: 100%;
    padding: 0;
    padding-top: 0;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    display: block !important;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
  }
  .sidebar-filters {
    overflow-y: scroll;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 74vh;
    padding-top: 97px;
    padding: 20px;
    padding-top: 76px;
  }

  .mobile-header {
    display: flex;
  }
  /* Pokaż sidebar gdy aktywny */
   body.sidebar-active .sidebar {
     transform: translateY(0);
  }
  .product-price-wrapper > span {
    font-size: 1.5rem;
  }


  body.sidebar-active::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(0 0 0 / 15%);
  z-index: 999;
  opacity: 0;
  animation: fadeIn 0.3s forwards;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
  
  /* Toolbar przypięty do dołu */
  .shop-toolbar__right {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: white;
    padding: 15px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #e0e0e0;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Reset wszystkich właściwości, które mogą wpływać na pozycjonowanie */
    transform: none;
    margin: 0;
    float: none;
  }
  
  /* Upewnij się, że rodzice nie wpływają na pozycjonowanie */
  .shop-toolbar__right * {
    position: relative;
  }
  
  
  /* Sortowanie */
  .product-ordering {
    position: relative;
  }
  
  
  .product-ordering__list {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 10px;
    display: none;
    z-index: 1001;
  }
  
  .product-ordering:hover .product-ordering__list,
  .product-ordering.active .product-ordering__list {
    display: block;
  }
  
  .product-ordering__list li {
    list-style: none;
    margin: 0;
  }
  
  .product-ordering__list a {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
  }
  
  .product-ordering__list a:hover {
    background: #f8f9fa;
  }
  
  .product-ordering__list li.active a {
    background: #007bff;
    color: white;
  }
  
  
  /* Style dla przeniesionego toolbara */
  .mobile-toolbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: white;
    padding: 12px 20px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #e0e0e0;
    z-index: 110;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    transform: none;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  body.apro-widget-opened .mobile-toolbar {
    bottom: 46px;
  }
  
  /* Główna zawartość z marginesem na dół */
  #main-content {
    margin-bottom: 80px; /* Miejsce dla przypiętego toolbara */
    width: 100%;
    padding-top: 45px;
    padding-left: 24px;
    padding-right: 24px;
  }
  
  /* Nagłówek kategorii */
  .categories-tags {
    padding: 20px 0;
    text-align: center;
  }
  
  .category-title h1 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
  }
  
  .tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }
  .shop-toolbar {
   margin: 0; 
  }
  .categories-tags .tagcloud a {
        
    font-size: 12px;
    text-decoration: none;
    padding: 10px 25px;
    margin-right: 0;
    margin-top: 0;
    border: none;
    color: #000;
    border-radius: 100px;
    background: #fff;
    padding: 9px 12px;
    border-radius: 12px;
    font-weight: normal;
    letter-spacing: .5px;
  }
  
  .tagcloud a:hover {
    background: #007bff;
    color: white;
  }
  
  /* Siatka produktów */
  
  .products-grid .airi-product {
    width: 100%;
    padding: 0 6px;
    margin-bottom: 12px;
  }
  .products-grid .airi-product {
    
  }
  .airi-product .product-inner {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    position: relative;
    padding: 0;
  }
  
  .product-image img {
    width: 100%;
    height: auto;
  }
  
  .product-info {
    padding: 14px 9px 42px;
  }
  
  .product-title {
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 0;
  }
  
  .product-title a {
    color: #333;
    text-decoration: none;
    line-height: 1.5;
    font-size: 14px;
  }
  .product-image--holder a {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  .product-price-wrapper {
    font-size: 16px;
    font-weight: 600;
    color: #007bff;
    position: absolute;
    left: 0;
    bottom: 6px;
    width: 100%;
  }
  
  /* Konfigulator */
  .configurator-container {
    width: 100%;
    padding: 0 6px;
    margin-bottom: 20px;
  }
  
  .custom-config-card {
    cursor: pointer;
    transition: transform 0.3s;
  }
  
  .custom-config-card:hover {
    transform: translateY(-2px);
  }
  
  .plus-icon::before {
    content: "+";
    font-size: 24px;
    font-weight: bold;
  }
  
  .config-title {
    font-size: 18px;
    margin: 15px 0 10px;
  }
  
  .config-subtitle {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 15px;
  }
  
  .config-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
  }
  
  .feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
  }
  
  .feature-icon {
    width: 16px;
    height: 16px;
  }
  
  .cta-button {
    
    padding: 12px 24px;
   
  }
  
  .cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
  }
  
  /* Filtry w sidebarze */
  .filter-section {
    margin-bottom: 25px;
  }
  
  .filter-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    /* color: #333333bd; */
  }
  
  
  
  .darkening-label {
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.2px;
  }
  
  
  .shop-toolbar__btn,
  .product-filter-btn,
  .product-ordering__btn {
    background: #f9f7f7c2;
  }
  
  
}








/* ===== PAGINATION INFO BOX STYLES ===== */
/* Dodaj do pliku variants_grid.css */

/* Główny kontener pagination info */
.pagination-info-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 34px;
    /*box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2);*/
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Subtelny gradient overlay */
.pagination-info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

/* Hover effect */
.pagination-info-box:hover {
    transform: translateY(-1px);
    /*box-shadow: 0 12px 40px rgba(102, 126, 234, 0.25);*/
}

/* Zawartość boxa */
.pagination-info-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

/* Sekcja informacji o stronie */
.page-info {
    display: flex;
    align-items: center;
    gap: 16px;
    color: white;
}

.page-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.page-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.page-details h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: white;
}

.page-details p {
    font-size: 14px;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.8);
}

/* Sekcja przycisków nawigacji */
.navigation-buttons {
    display: flex;
    gap: 12px;
}

.nav-button {
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

/* Przycisk powrotu do początku */
.nav-button.primary {
    background: rgba(255, 255, 255, 0.9);
    color: #4a5568;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-button.primary:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
    text-decoration: none;
    color: #2d3748;
}

/* Przycisk powrotu do poprzedniej strony */
.nav-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-button.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
    text-decoration: none;
    color: white;
}

/* Ikony w przyciskach */
.nav-button svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Animacja ripple effect */
.nav-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.nav-button:active::after {
    width: 200px;
    height: 200px;
}

/* Subtle pulsing animation */
@keyframes subtle-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.95; }
}

.pagination-info-box {
    animation: subtle-pulse 4s ease-in-out infinite;
}

/* Responsywność */
@media (max-width: 768px) {
    .pagination-info-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .page-info {
        justify-content: center;
    }

    .navigation-buttons {
        flex-direction: column;
        width: 100%;
    }

    .nav-button {
        justify-content: center;
        width: 100%;
    }

    .pagination-info-box {
        padding: 20px 16px;
    }
}

/* Integracja z istniejącym layoutem */
.shop-toolbar__left .pagination-info-box {
    margin-top: 10px;
}

/* Usunięcie starych stylów dla product-view-count (jeśli istnieją) */
.product-view-count {
    display: none;
}

