/* Style dla tytułu produktu podzielonego na linie według przecinków */

/* Główny styl dla tytułu produktu z podziałem na linie */
h1.h1 .title-line {
  display: block;
  margin-bottom: 5px;
  text-transform: none;
  font-variant: normal;
}

/* Style dla poszczególnych linii tytułu */
h1.h1 .title-line-1 {
  font-size: 1em;
  font-weight: bold;
  color: #222;
  text-transform: none;
}

h1.h1 .title-line-2 {
  font-size: 1em;
  color: #222;
  text-transform: none;
}

h1.h1 .title-line-3 {
  font-size: 1em;
  color: #222;
  text-transform: none;
}

/* Usunięcie transformacji tekstu dla tytułu h1 */
.product-page h1.h1,
.category-nasz-dziennik h1.h1,
.product-container h1.h1 {
  text-transform: none;
  font-variant: normal;
} 

/* ---- STYLE DLA STRONY MOJE KONTO ---- */

.my-account-page {
  padding: 0.5rem 0;
}

.my-account-page .page-header {
  margin-bottom: 2.5rem;
  border-bottom: 1px solid #f5f5f5;
  padding-bottom: 1.5rem;
}

.my-account-page .page-header h1 {
  font-size: 2rem;
  font-weight: 600;
  color: #232323;
  margin-bottom: 0.5rem;
}

.my-account-greeting {
  font-size: 1rem;
  color: #7a7a7a;
  margin-bottom: 2rem;
}

.my-account-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 2rem;
}

.account-tile {
  flex: 0 0 calc(33.333% - 20px);
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
  border: 1px solid #f0f0f0;
}

.account-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.account-tile:hover .account-icon {
  background: #2fb5d2;
  color: white;
}

.account-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  padding: 25px 20px;
  height: 100%;
  color: #232323;
}

.account-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.account-icon i {
  font-size: 1.8rem;
  color: #7a7a7a;
  transition: all 0.3s ease;
}

.account-tile:hover .account-icon i {
  color: white;
}

.account-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.account-description {
  font-size: 0.9rem;
  color: #7a7a7a;
  line-height: 1.5;
}

.account-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #2fb5d2;
  color: white;
  border-radius: 20px;
  padding: 0.25rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Specjalny styl dla półki z wydaniami cyfrowymi */
.account-shelf-tile {
  background: linear-gradient(135deg, #4FACFE 0%, #00428C 100%);
}

.account-shelf-tile .account-icon {
  background: rgba(255, 255, 255, 0.2);
}

.account-shelf-tile .account-icon i,
.account-shelf-tile .account-title,
.account-shelf-tile .account-description {
  color: white;
}

.account-shelf-tile:hover .account-icon {
  background: white;
}

.account-shelf-tile:hover .account-icon i {
  color: #4FACFE;
}

/* Specjalny styl dla listy życzeń */
.account-wishlist-tile {
  background: linear-gradient(135deg, #FFB7B2 0%, #FF3838 100%);
}

.account-wishlist-tile .account-icon {
  background: rgba(255, 255, 255, 0.2);
}

.account-wishlist-tile .account-icon i,
.account-wishlist-tile .account-title,
.account-wishlist-tile .account-description {
  color: white;
}

.account-wishlist-tile:hover .account-icon {
  background: white;
}

.account-wishlist-tile:hover .account-icon i {
  color: #FF3838;
}

.account-logout {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #f5f5f5;
}

.logout-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f7f7f7;
  color: #7a7a7a;
  border: none;
  border-radius: 30px;
  padding: 10px 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.logout-btn:hover {
  background: #e9e9e9;
  color: #232323;
}

.logout-btn i {
  font-size: 1.2rem;
}

/* Responsywność dla strony Moje konto */
@media (max-width: 991px) {
  .account-tile {
    flex: 0 0 calc(50% - 20px);
  }
}

@media (max-width: 767px) {
  .account-tile {
    flex: 0 0 100%;
  }
  
  .my-account-page .page-header h1 {
    font-size: 1.75rem;
  }
  
  .my-account-greeting {
    font-size: 1.1rem;
  }
}

/* Specjalne style dla listy życzeń w stopce */
.footer-container .account-tile,
.footer-container .account-wishlist-tile,
.footer-container .account-shelf-tile {
  flex: auto !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
  transition: none !important;
  overflow: visible !important;
  transform: none !important;
}

.footer-container .account-link {
  padding: 0 !important;
  display: inline !important;
  color: inherit !important;
}

.footer-container .account-icon,
.footer-container .account-title,
.footer-container .account-description,
.footer-container .account-badge {
  display: none !important;
}

.footer-container .account-wishlist-tile a,
.footer-container .account-tile a,
.footer-container li a {
  color: inherit !important;
  text-decoration: none !important;
  padding: 0 !important;
  background: transparent !important;
  display: inline !important;
}

/* Poprawiamy ewentualne problemy z listami w stopce */
.footer-container ul li {
  display: block !important;
  margin-bottom: 5px !important;
}

/* Przywracamy poprzedni wygląd linków w stopce */
.footer-container a:hover {
  text-decoration: underline !important;
}

/* Style dla stopki stron konta użytkownika */
.page-footer .account-footer-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e5e5;
}

.page-footer .account-link {
  display: flex;
  align-items: center;
  color: #2fb5d2;
  font-weight: 500;
  transition: color 0.2s ease;
  text-decoration: none;
}

.page-footer .account-link:hover {
  color: #2387a2;
  text-decoration: none;
}

.page-footer .account-link i {
  margin-right: 5px;
  font-size: 20px;
}

.page-footer .account-link[data-role="home"] {
  margin-left: auto;
}

@media (max-width: 767px) {
  .page-footer .account-footer-links {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .page-footer .account-link[data-role="home"] {
    margin-left: 0;
  }
 
}

/* Miniaturki wydania nd */

.js-product.product.product-nd {
    margin-bottom: 30px;
}
.product-miniature.product-miniature-nd {
    box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
    border: none;
    border-radius: 0;
    height: 100%;
    /* display: flex;
    flex-direction: column; */
    transition: all 0.3s ease-in-out;
    transform: translateY(0);
    background-color: #fff;
}
.product-miniature.product-miniature-nd:hover {
    transform: translateY(-5px);
    box-shadow: 4px 8px 12px 0 rgba(22, 22, 26, 0.25);
}
.product-miniature.product-miniature-nd .thumbnail-container {
    margin-bottom: 0;
}
.product-miniature.product-miniature-nd:focus .product-description{
    border-top: none;
}
.product-miniature.product-miniature-nd .h3.product-title {
    height: 3.6em;
    text-transform: none;
}
.product-miniature.product-miniature-nd .h3.product-title a {
    font-weight: 700;
} 

.product-miniature.product-miniature-nd .product-price-and-shipping {
    font-weight: 600;
    color: #24b9d7;
}
.product-miniature.product-miniature-nd .thumbnail-container:focus .product-description::after,
.product-miniature.product-miniature-nd .thumbnail-container:hover .product-description::after {
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 0;
    content: "";
    border-top: #7a7a7a 0px solid;
    opacity: 1;
}

/* Miniaturki wydania subskrypcyjnego */
.js-product.product.product-sub {
    margin-bottom: 30px;
}
.product-miniature.product-miniature-sub {
    box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
    border: none;
    border-radius: 0;
    height: 100%;
    /* display: flex;
    flex-direction: column; */
    transition: all 0.3s ease-in-out;
    transform: translateY(0);
    background-color: #fff;
}
.product-miniature.product-miniature-sub:hover {
    transform: translateY(-5px);
    box-shadow: 4px 8px 12px 0 rgba(22, 22, 26, 0.25);
}
.product-miniature.product-miniature-sub .thumbnail-container {
    margin-bottom: 0;
}
.product-miniature.product-miniature-sub:focus .product-description{
    border-top: none;
}
.product-miniature.product-miniature-sub .h3.product-title {
    height: 3.6em;
    text-transform: none;
}
.product-miniature.product-miniature-sub .h3.product-title a {
    font-weight: 700;
} 

.product-miniature.product-miniature-sub .product-price-and-shipping {
    font-weight: 600;
    color: #24b9d7;
}
.product-miniature.product-miniature-sub .thumbnail-container:focus .product-description::after,
.product-miniature.product-miniature-sub .thumbnail-container:hover .product-description::after {
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 0;
    content: "";
    border-top: #7a7a7a 0px solid;
    opacity: 1;
}
@media (min-width: 1200px) {
    .product-sub.col-xl-2 {
        padding-left: 10px;
        padding-right: 10px;
    }
}



/* 
 * DODATKOWE STYLE DLA STRONY POMOCY - NASZ DZIENNIK
 * Ten plik możesz dodać do swojego motywu PrestaShop w:
 * themes/twoj-motyw/assets/css/custom.css
 * lub dołączyć w module PrestaShop
 */

       .toc {
            background-color: #f8f9fa;
            border-left: 4px solid #2989d8;
            padding: 20px;
            margin-bottom: 40px;
        }
        
        .toc h2 {
            color: #1e5799;
            margin-bottom: 15px;
        }
        
        .toc ul {
            list-style: none;
        }
        
        .toc li {
            margin: 10px 0;
        }
        
        .toc a {
            color: #2989d8;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
        }
        
        .toc a:hover {
            color: #1e5799;
            text-decoration: underline;
        }
        
        .section {
            margin-bottom: 50px;
            scroll-margin-top: 20px;
        }
        
        .section h2 {
            color: #1e5799;
            font-size: 2em;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 3px solid #2989d8;
        }
        
        .section h3 {
            color: #2989d8;
            font-size: 1.5em;
            margin-top: 30px;
            margin-bottom: 15px;
        }
        
        .steps {
            background-color: #f8f9fa;
            padding: 20px;
            border-radius: 8px;
            margin: 20px 0;
        }
        
        .step {
            background-color: white;
            padding: 20px;
            margin: 15px 0;
            border-radius: 5px;
            border-left: 4px solid #2989d8;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        
        .step-number {
            float:left;
            display: inline-block;
            background-color: #2989d8;
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            text-align: center;
            line-height: 30px;
            font-weight: bold;
            margin-right: 10px;
        }
        
        .step-title {
            font-weight: bold;
            color: #1e5799;
            font-size: 1.1em;
            margin-bottom: 10px;
        }
        
        .step-description {
            color: #555;
            margin-left: 40px;
        }
        
        .tip {
            background-color: #fff3cd;
            border-left: 4px solid #ffc107;
            padding: 15px;
            margin: 20px 0;
            border-radius: 5px;
        }
        
        .tip strong {
            color: #856404;
        }
        
        .warning {
            background-color: #f8d7da;
            border-left: 4px solid #dc3545;
            padding: 15px;
            margin: 20px 0;
            border-radius: 5px;
        }
        
        .warning strong {
            color: #721c24;
        }
        
        .info {
            background-color: #d1ecf1;
            border-left: 4px solid #17a2b8;
            padding: 15px;
            margin: 20px 0;
            border-radius: 5px;
        }
        
        .info strong {
            color: #0c5460;
        }
        
        .button-example {
            display: inline-block;
            background-color: #2989d8;
            color: white;
            padding: 10px 20px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: bold;
            margin: 10px 0;
        }
        
        .visual-guide {
            background-color: #e9ecef;
            padding: 15px;
            border-radius: 5px;
            margin: 15px 0;
            font-style: italic;
            color: #495057;
        }
        
        .icon {
            font-size: 1.2em;
            margin-right: 5px;
        }
        
    /*    footer {
            background-color: #333;
            color: white;
            text-align: center;
            padding: 20px;
            margin-top: 50px;
        } */


        .screenshot-placeholder {
	   border: solid 1px #aaa;
    padding: 12px;
    border-radius: 10px;
	}

        .screenshot-placeholder img {width: 100%  }
        
        @media (max-width: 768px) {
            header h1 {
                font-size: 1.8em;
            }
            
            .section h2 {
                font-size: 1.5em;
            }
            
            .container {
                padding: 10px;
                /* dodane aby na małych ekranach było lepiej */
                padding-top: 0;
            }
        }


@media (max-width: 768px) {
  .header-top .search-widgets {
    max-width: none;
  }
}

/* Menu wyrównanie */
@media (min-width: 1200px) {
  .header-top-right #search_widget {
    margin-top: 22px; 
  }
  .header-top-right #_desktop_top_menu {
    margin-top: 25.5px; 
  }

}