/* Custom Header Styles */
#header {
    font-family: 'Poppins', sans-serif;
}

/* Logo styling */
#header .logo {
    max-height: 60px;
    width: auto;
}

/* Search form styling */
.minisearch {
    width: 100%;
}

.minisearch input[type="text"] {
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.minisearch input[type="text"]:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Header icons hover effects */
#header button:hover,
#header a:hover {
    transform: translateY(-1px);
    transition: transform 0.2s ease;
}

/* Cart/Account icon styling */
#menu-cart-icon,
#header .customer-menu-trigger {
    position: relative;
    transition: all 0.2s ease;
}

/* Badge styling for cart counter */
#menu-cart-icon .badge,
#compare-link .badge {
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    line-height: 1;
}

/* Mobile responsive adjustments */
@media (max-width: 767px) {
    #header .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .minisearch input[type="text"] {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    #header .logo {
        max-height: 45px;
    }
}

/* Desktop search bar specific styles */
@media (min-width: 768px) {
    .header-search-desktop {
        flex-grow: 1;
        max-width: 600px;
        margin: 0 2rem;
    }

    .header-search-desktop .minisearch input[type="text"] {
        height: 42px;
        border-radius: 21px;
        border: 2px solid #e5e7eb;
        background-color: #f9fafb;
        padding-left: 1.5rem;
        padding-right: 3rem;
    }

    .header-search-desktop .minisearch input[type="text"]:focus {
        background-color: #ffffff;
        border-color: #3b82f6;
    }
}

/* Header container grid layout */
#header .container > div {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    width: 100%;
}

@media (max-width: 767px) {
    #header .container > div {
        grid-template-columns: auto auto;
        gap: 0.5rem;
    }
}

/* Right side icons alignment */
#header .header-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#header .header-icons > * {
    flex-shrink: 0;
}

.bg-container-darker{
    background-color: white;
}

/* Ensure header stays clickable above full-bleed sections */
.page-header, header, .site-header {
  position: relative;
  z-index: 9999;
}

/* Ensure header root container sits above overlays */

[data-content-type=slide] .pagebuilder-slide-wrapper [data-element=content]{
    overflow: hidden;
}

.snowdog-topmenu-desktop .space-y-2.ml-4{
    margin-left: 0 !important;
}

.mobile-menu-search{
    display: block;
}

h1{
    font-size: 32px;
    line-height: 32px;
    letter-spacing: -0.13px;
    font-weight: 600;
    text-decoration: none;
}

h2{
    font-size: 26px;
    line-height: 32px;
    letter-spacing: -0.13px;
    font-weight: 600;
    text-decoration: none;
}

h3{
    font-size: 20px;
    line-height: 32px;
    letter-spacing: -0.13px;
    font-weight: 600;
    text-decoration: none;
}

.copyright{
    display: none;
}

.page-products .category-image{
    display: none;
}

.snowdog-menu-link:hover, .snowdog-menu-link:focus{
    color: #047857;
}

.navigation .group:hover{
    color: #047857;
}

.group:hover .snowdog-menu-link, .snowdog-menu-link:hover{
    color: #047857 !important;
}

/* Only make parent level (flex-4) items bold, not nested children */
.custom-submenu-template > .container ul > li.flex-4 > .group a {
    font-weight: 600;
}

/* Ensure child items in nested ul remain normal weight */
.custom-submenu-template ul.space-y-2 .group a {
    font-weight: normal;
}

.estimate-shipping-form{
    display: none;
}

/* Header responsive positioning */
.header-container {
    position: fixed;
    top: unset;
    left: 0;
    right: 0;
    z-index: 30;
    width: 100%;
}

@media (min-width: 768px) {
    .header-container {
        position: relative;
        top: unset;
        left: auto;
        right: auto;
        z-index: auto;
        width: auto;
        background-color: transparent !important;
    }
}

/* Mobile scroll behavior */
@media (max-width: 767px) {
    .header-container {
        transition: top 0.3s ease;
    }
}

.bg-red-500{
    background-color: #AD0B0B;
}

.bg-ambar-background{
    background-color: white;
    max-width: 50vw;
}

.custom-shadow-box{
    margin-bottom: 17px;
    border: 1px solid #F5F5F5;
    padding: 20px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

.brand-slides .glider-track{
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.brand-slides .glider-track .brand-slide{
    width: 100%;
}

.brand-carousel-widget {
    margin: 20px 0;
}

.brand-carousel-container {
    position: relative;
}



.brand-slide {
    text-align: center;
    padding: 15px;
}

.brand-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.brand-link:hover {
    transform: translateY(-5px);
}

.brand-logo-container {
    width: 120px;
    height: 80px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
}

.brand-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

.glider-prev,
.glider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #047857;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.glider-prev:hover,
.glider-next:hover {
    background: #047857;
}

.glider-prev {
    left: -20px;
}

.glider-next {
    right: -20px;
}

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

.glider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.glider-dot.active {
    background: #333;
}

@media (min-width: 768px) {
.catalog-category-view .sidebar-main{
    position: sticky;
    top: 1px;
    }
}

 .catalog-product-view #add-to-wishlist{
     display: none;
 }

.custom-submenu-template .snowdog-menu-link{
    font-weight: 700;
}

.snowdog-topmenu-desktop .w-full .py-12{
    border: 1px solid rgb(4 120 87 / var(--tw-bg-opacity, 1));
}

.snowdog-topmenu-desktop .px-6:hover{
    border: 1px solid rgb(4 120 87 / var(--tw-bg-opacity, 1));
}

.product-main-full-width #description img{
    margin: 0 auto;
}

.product-main-full-width #description{
    h2, h3, h4, h5, h6 {
        text-align: center;
    }
}

.pagebuilder-poster-content{
    p{
        font-size: 12px;
    }
    h3{
        font-size: 16px;
    }
}
.category-additional-description{
    h2{
        padding-top: 20px;
        padding-bottom: 20px;
    }
}


.blog-post-view .columns {
    max-width: 100%;
}

.blog-post-view .columns .post-featured-image img{
    object-fit: cover;
    max-height: 50vh;
    width: 100%
}

.blog-post-view .columns .post-featured-image {
    position: relative;
    width: 100%;
}

.blog-post-view .columns .post-featured-image img {
    object-fit: cover;
    max-height: 50vh;
    width: 100%;
    display: block; /* usuwa niepotrzebne odstępy */
}

/* Overlay */
.blog-post-view .columns .post-featured-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* półprzezroczysty czarny */
    pointer-events: none; /* pozwala klikać w linki/zdjęcie pod spodem */
    z-index: 1;
}

.blog-post-view .columns .post-featured-image .post-data-wrap{
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    z-index: 9;
}
.blog-post-view .columns .post-description{
    border-radius: 25px !important;
    background-color: #FFFFFF;
    padding: 20px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
    margin-top: -90px;
    position: relative;
    z-index: 15;
}

.blog-post-view .columns .post-featured-image h1{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    color: #fff;
    z-index: 16;
}

.blog-post-view .container.text-3xl{
    display: none;
}

.catalog-product-view .price-final_price .special-price{
    color:red;
}

.catalog-product-view .price-final_price .old-price{
    color:red;
}

.catalog-product-view .price-final_price .old-price .price-label{
    text-decoration: line-through;
    color: #9CA3AF;
}

.catalog-product-view .price-final_price .normal-price span{
    color:red;
}
