:root {
    --dremax-primary: #53692b;
    --dremax-primary-hover: #425422;
    --dremax-light-bg: #f5f7f2;
    --dremax-border-active: #849e47;
    --dremax-accent: #53692b; /* Głęboka oliwkowa zieleń dopasowana do interfejsu zwrotów */
    --dremax-accent-hover: #425522;
    --dremax-bg-light: #f8fafc;
    --dremax-border-color: #e5e7eb;
    --dremax-card-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
    --dremax-card-shadow-hover: 0 10px 30px -4px rgba(0, 0, 0, 0.08);
    --dremax-radius: 16px;
    --dremax-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --dremax-primary-light: rgba(83, 105, 43, 0.08);
    --dremax-dark: #0f172a;
    --dremax-muted: #64748b;
    --dremax-border: #e2e8f0;
    --dremax-border-hover: #b4c78d;
    --dremax-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
    --dremax-shadow-hover: 0 20px 32px -8px rgba(83, 105, 43, 0.16), 0 8px 16px -4px rgba(0, 0, 0, 0.04);
    --dremax-primary-light: #f4f7f0;
        --dremax-primary-border: #d2dcb8;   /* Delikatna oliwkowa ramka */

        /* Neutralne & Typografia */
        --dremax-text-dark: #1e293b;       /* Główny czarny/ciemny tekst nagłówków */
        --dremax-text-muted: #64748b;      /* Szary tekst pomocniczy / etykiety */
        --dremax-bg-page: #fafafa;         /* Bardzo jasne tło strony */
        --dremax-bg-card: #ffffff;         /* Czyste białe tło kart */
        --dremax-input-bg: #f8fafc;        /* Tło pól formularza */

        /* Zaokrąglenia (Border Radius) */
        --dremax-radius-sm: 8px;           /* Etykiety, małe elementy */
        --dremax-radius-md: 14px;          /* Inputy, przyciski, małe boxy */
        --dremax-radius-lg: 20px;          /* Główne kontenery i karty */
        --dremax-radius-pill: 50px;        /* Pigułki / Badge / Okrągłe ikony */


    }


/* ==========================================================================
   KAFELEK ARTYKUŁU (BLOG CARD) - DREMAX SYSTEM
   ========================================================================== */

/* Kontener główny kafelka */
.blog-card-item {
    border-color: var(--dremax-border) !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
    background-color: var(--dremax-bg-card);
}

.blog-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06) !important;
    border-color: var(--dremax-primary-border) !important;
}

/* Kontener ze zdjęciem */
.blog-card-img-holder {
    width: 100%;
    aspect-ratio: 16 / 10;
    background-color: #f8fafc;
}

.blog-card-img-holder img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    transition: transform 0.4s ease !important;
}

.blog-card-item:hover .blog-card-img-holder img {
    transform: scale(1.05);
}

/* Tytuł artykułu */
.blog-card-title {
    line-height: 1.4;
}

.blog-card-title a {
    color: var(--dremax-text-dark) !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.blog-card-item:hover .blog-card-title a {
    color: var(--dremax-primary) !important;
}

/* Skrót treści (Excerpt) */
.blog-card-excerpt {
    color: var(--dremax-text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Stopka kafelka */
.blog-card-footer {
    border-top-color: #f1f5f9 !important;
}

.text-dremax {
    color: var(--dremax-primary) !important;
}

/* Przycisk CZYTAJ / READ w stylu pigułki Dremax */
.btn-dremax-pill {
    background-color: var(--dremax-primary-light);
    color: var(--dremax-primary) !important;
    padding: 6px 14px;
    border-radius: var(--dremax-radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-decoration: none !important;
    border: 1px solid var(--dremax-primary-border);
    transition: all 0.25s ease !important;
}

.btn-dremax-pill i {
    transition: transform 0.25s ease;
    font-size: 0.7rem;
}

.blog-card-item:hover .btn-dremax-pill {
    background-color: var(--dremax-primary);
    color: #ffffff !important;
    border-color: var(--dremax-primary);
    box-shadow: var(--dremax-shadow-btn);
}

.blog-card-item:hover .btn-dremax-pill i {
    transform: translateX(3px);
}
/* ==========================================================================
   WIDOK POJEDYNCZEGO ARTYKUŁU - DREMAX ULTRA PREMIUM
   ========================================================================== */
/* ==========================================================================
   NAPRAWA UKŁADU (GRID & FLEXBOX OVERFLOW FIX)
   ========================================================================== */

/* 1. Wymuszenie prawidłowego zwężania kolumn w układzie Flexbox */
#article_page .row > [class*="col-"] {
    min-width: 0 !important;
}

/* 2. Zabezpieczenie panelu bocznego przed rozpychaniem */
.article-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
}

/* 3. Wymuszenie dynamicznego skalowania WSZYSTKICH obrazków w sidebarze */
.more_articles,
.more_articles .blog-card-item,
.more_articles .article-box {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.more_articles img,
.blog-card-img-holder img,
.blog-card-img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
}

/* Fix dla kontenera ze zdjęciem w kafelku blogowym */
.blog-card-img-holder {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 16 / 10;
    overflow: hidden !important;
    position: relative;
}

/* Usunięcie niebieskich domyślnych odnośników w obrębie artykułu */
#article_page a:not(.btn) {
    color: var(--dremax-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

#article_page a:not(.btn):hover {
    color: var(--dremax-primary-hover);
    text-decoration: underline;
}

/* Przycisk powrotu */
.btn-back-dremax {
    color: var(--dremax-muted) !important;
    background-color: #f8fafc;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid var(--dremax-border);
    transition: all 0.25s ease !important;
}

.btn-back-dremax:hover {
    color: var(--dremax-primary) !important;
    background-color: var(--dremax-primary-light);
    border-color: rgba(83, 105, 43, 0.3);
    transform: translateX(-3px);
    text-decoration: none !important;
}

/* Tytuł artykułu */
.article-title {
    font-size: 2rem !important;
    line-height: 1.3 !important;
    letter-spacing: -0.02em;
    color: var(--dremax-dark) !important;
}

@media (max-width: 768px) {
    .article-title {
        font-size: 1.5rem !important;
    }
}

/* Badge daty */
.badge-date-dremax {
    background-color: #f8fafc;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #edf2f7;
    font-weight: 600;
    color: #475569;
}

/* Obrazek nagłówkowy */
.article-featured-image {
    max-height: 480px;
    background-color: #f8fafc;
}

.article-featured-image img {
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: cover;
}

/* Formatowanie treści wpisu (.article-rich-content) */
.article-rich-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
}

.article-rich-content h2,
.article-rich-content h3,
.article-rich-content h4 {
    color: var(--dremax-dark);
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-rich-content p {
    margin-bottom: 1.25rem;
}

.article-rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.article-rich-content blockquote {
    border-left: 4px solid var(--dremax-primary);
    background-color: var(--dremax-primary-light);
    padding: 1rem 1.5rem;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    margin: 1.5rem 0;
}

/* Ramka [embed] - Sprawdź również */
.goto_more {
    background-color: #f8fafc !important;
    border: 1px solid var(--dremax-border) !important;
    border-left: 4px solid var(--dremax-primary) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.25s ease;
}

.goto_more:hover {
    background-color: var(--dremax-primary-light) !important;
    border-color: rgba(83, 105, 43, 0.3) !important;
    border-left-color: var(--dremax-primary) !important;
}

.goto-icon-box {
    width: 42px;
    height: 42px;
    background-color: #ffffff;
    color: var(--dremax-primary);
    border: 1px solid var(--dremax-border);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.goto-link {
    color: var(--dremax-dark) !important;
    font-size: 1rem;
    transition: color 0.2s ease !important;
}

.goto_more:hover .goto-link {
    color: var(--dremax-primary) !important;
    text-decoration: underline !important;
}

.extra-small {
    font-size: 0.725rem;
    letter-spacing: 0.05em;
}

/* Accent bar przy tytule w sidebarze */
.dremax-accent-bar {
    display: inline-block;
    width: 4px;
    height: 20px;
    background-color: var(--dremax-primary);
    border-radius: 4px;
}
/* ==========================================================================
   KAFELEK WPISU BLOGOWEGO - DREMAX ULTRA PREMIUM
   ========================================================================== */

/* CAŁKOWITE USUNIĘCIE DOMYŚLNYCH NIEBIESKICH LINKÓW W KAFELKU */
.blog-card-item a,
.blog-card-item a:visited,
.blog-card-item a:hover,
.blog-card-item a:active,
.blog-card-item a:focus {
    color: inherit !important;
    text-decoration: none !important;
    outline: none !important;
}

/* Kontener główny kafelka */
.blog-card-item {
    border: 1px solid var(--dremax-border) !important;
    border-radius: 16px !important;
    background-color: #ffffff !important;
    transition: var(--dremax-transition) !important;
    overflow: hidden !important;
    box-shadow: var(--dremax-shadow-sm) !important;
    will-change: transform, box-shadow;
}

.blog-card-item:hover {
    border-color: var(--dremax-border-hover) !important;
    transform: translateY(-6px) !important;
    box-shadow: var(--dremax-shadow-hover) !important;
}

/* Obrazek i nakładka gradientowa */
.blog-card-img-holder {
    aspect-ratio: 16 / 10;
    background-color: #f8fafc;
    overflow: hidden;
    position: relative;
}

.blog-card-img-holder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(15, 23, 42, 0.2) 100%);
    opacity: 0.6;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.blog-card-item:hover .blog-card-img-holder::after {
    opacity: 0.2;
}

.blog-card-img-link {
    display: block;
    width: 100%;
    height: 100%;
}

.blog-card-img-holder img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease !important;
    will-change: transform;
}

.blog-card-item:hover .blog-card-img-holder img {
    transform: scale(1.06) !important;
    filter: brightness(1.02);
}

/* Tytuł wpisu */
.blog-card-title {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    letter-spacing: -0.01em;
    margin-top: 0 !important;
}

.blog-card-title a {
    color: var(--dremax-dark) !important;
    transition: color 0.25s ease !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-item:hover .blog-card-title a,
.blog-card-title a:hover {
    color: var(--dremax-primary) !important;
}

/* Zajawka tekstu */
.blog-card-excerpt {
    color: var(--dremax-muted) !important;
    font-size: 0.875rem !important;
    line-height: 1.6 !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1.25rem !important;
}

/* Linia podziału stopki */
.blog-card-footer {
    border-top: 1px solid #f1f5f9 !important;
    transition: border-color 0.3s ease !important;
}

.blog-card-item:hover .blog-card-footer {
    border-color: #e2e8f0 !important;
}

/* Sekcja daty */
.blog-card-date {
    color: #94a3b8 !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    display: inline-flex;
    align-items: center;
}

.blog-card-date i {
    color: var(--dremax-primary) !important;
    opacity: 0.85;
    transition: transform 0.3s ease;
}

.blog-card-item:hover .blog-card-date i {
    transform: scale(1.15);
}

/* Mikro-przycisk CZYTAJ (Premium Pill Button) */
.blog-card-link {
    color: var(--dremax-primary) !important;
    font-size: 0.775rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    background-color: var(--dremax-primary-light) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: var(--dremax-transition) !important;
}

.blog-card-link i {
    font-size: 0.725rem !important;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

/* Stan aktywacji przycisku na hover całego kafelka */
.blog-card-item:hover .blog-card-link {
    color: #ffffff !important;
    background-color: var(--dremax-primary) !important;
    box-shadow: 0 4px 12px rgba(83, 105, 43, 0.28) !important;
}

.blog-card-item:hover .blog-card-link i {
    transform: translateX(4px) !important;
}

/* 1. TO JEST KLUCZOWE: Rodzic (formularz) musi być relative, żeby absolute wyników wiedziało, czego się trzymać */
.navbar-search-form {
    position: relative !important;
    overflow: visible !important; /* To jest magia, która wyłączy obcinanie! */
}

/* 2. Główny kontener wyników z nowym tłem i cieniem */
.search-result {
    position: absolute!important;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    margin-top: 12px; /* Odstęp od inputa */
    background: #f4f7f6; /* Bardzo delikatne, eleganckie tło całości */
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05); /* Miękki cień i subtelna zewnętrzna ramka */
    padding: 8px 0; /* Górny i dolny margines wewnętrzny */
    display: none;
}

.search-result.active {
    display: block;
    animation: slideDown 0.2s ease-out forwards;
}

/* 3. Lista i scrollbar */
.search-result ul {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 450px;
    overflow-y: auto;
}
.form-select.orderedsort_change{

}
.form-select.orderedsort_change {
    /* Poniżej znajduje się kod SVG ze zmienionym kolorem strzałki */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%236ca332' d='M3 6h10l-5 6z'/%3e%3c/svg%3e");
    background-size: 20px 18px; /* Opcjonalnie: dostosowuje wielkość strzałki */
    padding-right: 33px;
}

/* Ładniejszy scrollbar dla webkita */
.search-result ul::-webkit-scrollbar {
    width: 6px;
}
.search-result ul::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
}

/* 4. Pojedynczy produkt jako "Karta" */
.small-product {
    display: block;
    padding: 12px 16px;
    background: #ffffff; /* Biała karta produktu */
    margin: 0 12px 10px 12px; /* Odstępy: góra/dół i po bokach (oddziela od brzegów kontenera) */
    border-radius: 8px;
    border: 1px solid #e9ecef !important; /* Wyraźna, ale jasna ramka karty */
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Usuwamy margines z ostatniego elementu, żeby dół kontenera wyglądał równo */
.small-product:last-child {
    margin-bottom: 0;
}

/* 5. Efekt najechania myszką (Hover) */
.small-product:hover {
    border-color: #b8daff !important; /* Zmiana koloru ramki na niebieskawy */
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.08); /* Lekki, niebieski cień */
    transform: translateY(-2px); /* Delikatne podniesienie karty */
}

/* 6. Wnętrze karty (zdjęcie, tekst) */
.formated-content {
    display: flex;
    align-items: center;
}

.small-product img {
    border-radius: 6px;
    object-fit: cover;
    aspect-ratio: 1/1;
    max-height: 80px;
    width: auto;
    border: 1px solid #f1f3f5;
}

.small-product h5 {
    font-size: 15px!important;
    font-weight: 600;
    color: black;
    margin: 0 0 4px 0;
}

.small-product .sprice {
    font-size: 14px;
    font-weight: 700;
    color: black;
    margin: 0;
}

/* 7. Produkty niedostępne */
.small-product.no_available {
    background: white!important;
    border-color: #e9ecef !important;
    opacity: 0.7;
}

.small-product.no_available:hover {
    transform: none;
    box-shadow: none;
    border-color: #e9ecef !important;
}

/* Animacja */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.search-result article div a{
    text-decoration: none!important;
}
.bigmenu-category-grid img{
    width: 41px;
}
.navbar .bigmenu-category-grid a{
    padding-top:0.5rem!important;
    padding-bottom: 0.5rem!important;
}

.promo-grid {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 1rem;
    width: 100%;
}
.promo-grid a.promo-item {
    position: relative;
    display: flex; /* Zmieniamy z block, aby lepiej kontrolować wysokość */
    flex: 1;       /* Każdy boks zajmie tyle samo szerokości */
    overflow: hidden;
    border-radius: 8px; /* Opcjonalnie, by pasowało do stylu grafik */
}

/* Ustawiamy proporcje 40% / 30% / 30% */
.promo-grid a.promo-item:nth-child(1) {
    flex: 0 0 40%; /* Nie rośnij, nie kurcz się, zajmij bazowo 40% */
}

.promo-grid a.promo-item:nth-child(2),
.promo-grid a.promo-item:nth-child(3) {
    flex: 0 0 calc(30% - 0.5rem); /* Odejmujemy połowę gap, żeby zmieściło się w 100% */
}

.promo-grid a img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Wypełnia przestrzeń bez pasów */
    transition: transform 0.2s ease;
}

/* Opcjonalnie: Responsywność - na komórkach dajemy 100% szerokości */
@media (max-width: 768px) {
    .promo-grid {
        flex-direction: column;
    }
    .promo-grid a.promo-item:nth-child(1),
    .promo-grid a.promo-item:nth-child(2),
    .promo-grid a.promo-item:nth-child(3) {
        flex: 0 0 100%;
    }
}

.addToFavourite.active{
    color: var(--theme-7a9826)!important;
}
.rooms-item {
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.rooms-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.rooms-item .btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.badges-wrapper{
    position: absolute;
    margin-top: 60px;
    pointer-events: none;
}
.button-tabs .btn.active{
    background: white;
    color: black;
}
.compare-header img{
    max-width: 300px;
}
.product-tabs-slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.product-tabs-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.otherhandleview p{
    --bs-text-opacity: 1;
    color: var(--bs-secondary-color) !important;
    font-size: var(--body-sm-size);
}
.product-footer-actions{
    bottom: 0.75rem;
    right: 0.75rem;
    z-index: 5!important;
}
.custom-select-dark {
    text-align: center;
    padding-right: 2.5rem;
    background-color: #212529;
    border-color: #212529;
    color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23198754' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}
.custom-select-dark:hover, .custom-select-dark:focus {
    background-color: #1c1f23;
    border-color: #1a1e21;
    color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
}

.gallery-grid {
    display: block;
    position: relative;
    width: 100%;
}
.gallery-grid-sizer,
.gallery-grid-item {
    float: left;
    position: relative;
    box-sizing: border-box;
    padding: 8px;
    width: 33.333%;
}
.gallery-grid-item-inner {
    width: 100%;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}
.aspect-ratio-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.gallery-grid-item.is-square .aspect-ratio-wrapper {
    padding-top: 100%;
}
.gallery-grid-item.is-horizontal .aspect-ratio-wrapper {
    padding-top: 56.25%;
}
.gallery-grid-item.is-vertical .aspect-ratio-wrapper {
    padding-top: 177.78%;
}
.aspect-ratio-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border: 0;
}
.gallery-slider .swiper-slide {
    height: 350px;
    width: auto !important;
    position: relative;
    overflow: hidden;
    background-color: #f5f5f5;
}
.gallery-slider .swiper-slide.is-square {
    aspect-ratio: 1 / 1;
}

.gallery-slider .swiper-slide.is-horizontal {
    aspect-ratio: 16 / 9;
}

.gallery-slider .swiper-slide.is-vertical {
    aspect-ratio: 9 / 16;
}
.gallery-slider .gallery-item {
    display: block;
    width: 100%;
    height: 100%;
}
.gallery-slider .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.product-price strong{
    font-weight: bold;
}
.configurator-summary{
    overflow-y: scroll;
    max-height: 288px;
    padding-top: 0!important;
}
.configurator-summary .h4.fw-bold.mb-2.text-green{
    padding-top: 1rem;
    position: sticky;
    top: 0;
    background: white;
}
.image-option{
    padding-top: 20px;
}
.image-option img{
    max-width: 300px;
    border: 3px solid var(--theme-7a9826);
}
.text-dremax{
    color: var(--theme-7a9826)!important;
}
.product-additionals{
display: block;
    min-height: 23px;
}
.configurator-row.config-disabled {
    opacity: 0.3;
    background:lightgrey;
    padding:5px!important;
    filter: grayscale(100%);
    pointer-events: none;
    transition: all 0.3s ease;
}
.configurator-wrapper .row,
.configurator-wrapper [class*="col-"] {
    min-width: 0 !important;
    max-width: 100% !important;
}
.product-configurator,
.configurator-row,
.configurator-grid {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}
.configurator-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 1rem !important;
}
#calendar a{
    color: var(--theme-7a9826)!important;
    font-weight: bold!important;
    text-decoration: none;
}
#calendar .fc-timegrid-axis-cushion{
    color: var(--theme-7a9826)!important;
    font-weight: bold!important;
    text-decoration: none;
}
#calendar .fc-timegrid-slot-label-cushion{
    color: var(--theme-7a9826)!important;
    font-weight: bold!important;
}
#calendar .fc-daygrid-day-number{
    font-size: 25px;
}
#calendar .fc-button-group button{
    background: var(--theme-1e1e1e);
    border: none!important;
}
#calendar .fc-button-active{
    background: var(--theme-7a9826)!important;
}
@media screen and (max-width: 1460px) {
    .configurator-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}
@media screen and (max-width: 991px) {
    .configurator-grid {
        grid-template-columns: 1fr !important;
    }
}
.configurator-option {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}
.configurator-option *,
.configurator-option .d-flex {
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
}
.configurator-option img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    width: 186px!important;
    height: 186px!important;
}

.configurator-option:has(img)::after {
    content: "\e184";
    position: absolute;
    /* Kotwiczymy od góry i prawej, niezależnie od ilości tekstu na dole */
    top: 15px !important;
    right: 5px!important;
    width: 20px;
    height: 20px!Important;
    /* Usuwamy transformację, która dodatkowo przesuwała ikonę */
    -webkit-transform: none;
    transform: none;
}

@media screen and (max-width: 991px) {

    .configurator-option:has(img)::after {
        top: unset!important;
        bottom: 5px!important;
    }

    .configurator-option img {
        max-width: 80px !important;
    }
}
.navbar-bottom-list > li > a {
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size 0.3s ease;
}

.navbar-bottom-list > li > a:hover {
    background-size: 100% 2px;
}


/* ==========================================================================
   BURY Meble - Styl Formularza Rejestracji (Dopasowany do Modalu Logowania)
   ========================================================================== */

/* Główna karta formularza z czarnym nagłówkiem */
section .bg-white.shadow {
    border-radius: 16px !important;
    border: 1px solid #e0e0e0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
    overflow: hidden !important;
    padding: 0 !important; /* Nadpisanie domyślnego paddingu dla nagłówka */
}

/* Czarny pasek tytułowy (jak w modalu Logowanie) */
section .bg-white.shadow h1.h2 {
    background-color: #000000 !important;
    color: #ffffff !important;
    margin: 0 !important;
    padding: 16px 24px !important;
    font-size: 1.35rem !important;
    font-weight: 600 !important;
    text-align: left !important;
}

/* Wewnętrzny kontener formularza */
.register-form {
    padding: 24px 30px 30px 30px !important;
}

/* Nagłówek sekcji "1. Uzupełnij dane:" */
.register-form .h4 {
    font-weight: 700;
    color: #000000;
    font-size: 1.1rem;
}

/* Pola wejściowe (Kapsułkowe / Pill style) */
.register-form .form-control {
    border: 1px solid #dcdcdc;
    border-radius: 50px !important;
    font-size: 0.95rem;
    color: #000000;
    background-color: #ffffff;
    height: 48px !important;
    padding: 0 20px !important;
    transition: all 0.2s ease;
}

.register-form .form-control::placeholder {
    color: #757575;
}

.register-form .form-control:focus {
    border-color: #5c741d !important;
    box-shadow: 0 0 0 2px rgba(92, 116, 29, 0.15) !important;
    outline: none;
}

/* --- POLE HASŁA Z OCZKIEM --- */
.register-form .form-label-offset {
    margin-bottom: 0.5rem;
}

.register-form .form-label-offset-group {
    position: relative !important;
    display: block !important;
    width: 100% !important;
}

.register-form .form-label-offset-group .form-control {
    width: 100% !important;
    padding-right: 50px !important;
}

/* Przycisk oczka wycentrowany wewnątrz kapsułki */
.register-form .form-label-offset-group .togglePassword {
    position: absolute !important;
    right: 14px !important;
    top: 24px !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    border: none !important;
    color: #000000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 5 !important;
    cursor: pointer;
    padding: 0 !important;
    box-shadow: none !important;
    height: 32px !important;
    width: 32px !important;
}

.register-form .form-label-offset-group .togglePassword i {
    font-size: 1.35rem;
}

/* --- OLIWKOWY PRZYCISK GŁÓWNY (ZALOGUJ SIĘ / ZAREJESTRUJ SIĘ) --- */
.register-form .btn-primary-gradient,
.register-form .btn-primary {
    background: #5c741d !important; /* Oliwkowy kolor z modalu */
    border: none !important;
    color: #ffffff !important;
    font-weight: 700;
    height: 50px;
    border-radius: 50px !important;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-shadow: none !important;
}

.register-form .btn-primary-gradient:hover,
.register-form .btn-primary:hover {
    background-color: #4b5f17 !important;
    color: #ffffff !important;
}

/* --- OLIWKOWY TOGGLE SWITCH (REGULAMIN) --- */
.register-form .form-check.form-switch {
    padding-left: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.register-form .form-check-input[type="checkbox"] {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    width: 46px !important;
    height: 24px !important;
    background-color: #e0e0e0 !important;
    border-radius: 30px !important;
    position: relative !important;
    cursor: pointer !important;
    outline: none !important;
    border: none !important;
    transition: background-color 0.25s ease !important;
    flex-shrink: 0 !important;
    margin: 0 12px 0 0 !important;
    box-shadow: none !important;
}

.register-form .form-check-input[type="checkbox"]::before {
    content: "" !important;
    position: absolute !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    top: 3px !important;
    left: 3px !important;
    background-color: #ffffff !important;
    transition: transform 0.25s ease !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

.register-form .form-check-input[type="checkbox"]:checked {
    background-color: #5c741d !important; /* Włączony toggle ma kolor oliwkowy */
}

.register-form .form-check-input[type="checkbox"]:checked::before {
    transform: translateX(22px) !important;
}

.register-form .form-check-label {
    font-size: 0.9rem;
    color: #333333;
    cursor: pointer;
}

/* --- CZERWONE LINKI I AKCENTY BŁĘDÓW --- */
.register-form .entrance-form-link {
    color: #d90429 !important; /* Czerwony kolor z linku "Nie pamiętasz hasła?" */
    font-weight: 500;
    text-decoration: underline;
}

.register-form .link-dark {
    font-size: 0.9rem;
    color: #000000;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.register-form .link-dark:hover {
    color: #d90429;
    text-decoration: underline !important;
}

/* Komunikaty walidacyjne */
.form-error {
    display: block !important;
    color: #d90429 !important;
    font-size: 0.8rem !important;
    margin-top: 6px !important;
    margin-bottom: 6px !important;
    position: relative !important;
    clear: both !important;
    font-weight: 500;
}

input.error {
    border-color: #d90429 !important;
    background-color: #fff8f8 !important;
}

/* Lista wymagań dotyczących hasła */
.register-form .list-inline-item {
    font-size: 0.825rem;
    color: #666666;
    margin-right: 12px;
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
}

.register-form .entrance-form-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #eeeeee;
    color: #888888;
    font-size: 10px;
    margin-right: 6px;
}

.register-form li[data-valid].is-valid {
    color: #5c741d;
    font-weight: 600;
}

.register-form li[data-valid].is-valid .entrance-form-icon {
    background-color: #5c741d;
    color: #ffffff;
}

.register-form hr {
    border-top: 1px solid #eeeeee;
    opacity: 1;
    margin: 1.5rem 0;
}
/* ==========================================================================
   BURY Meble - Premium Alert Notifications
   ========================================================================== */

.custom-alert {
    display: flex;
    align-items: flex-start;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    animation: fadeInAlert 0.4s ease-out forwards;
}

@keyframes fadeInAlert {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-alert-icon {
    font-size: 1.6rem;
    line-height: 1;
    margin-right: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.custom-alert-content {
    flex-grow: 1;
}

.custom-alert-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
    line-height: 1.2;
}

.custom-alert-text {
    font-size: 0.875rem;
    line-height: 1.4;
    opacity: 0.9;
}

/* --- WARIANT SUKCES (np. register_ok) --- */
.custom-alert-success {
    background-color: #f3f6ec; /* Delikatne oliwkowe tło */
    border-color: #d4e0b3;
    color: #3b4c13;
}

.custom-alert-success .custom-alert-icon {
    color: #5c741d; /* Główny kolor oliwkowy z modalu */
}

/* --- WARIANT BŁĄD (np. error_exists, error_email) --- */
.custom-alert-danger {
    background-color: #fff5f5; /* Delikatne czerwone tło */
    border-color: #fecdd3;
    color: #9f1239;
}

.custom-alert-danger .custom-alert-icon {
    color: #d90429;
}

/* --- WARIANT OSTRZEŻENIE (np. law_acceptance) --- */
.custom-alert-warning {
    background-color: #fffbeb; /* Delikatne żółto-bursztynowe tło */
    border-color: #fde68a;
    color: #92400e;
}

.custom-alert-warning .custom-alert-icon {
    color: #d97706;
}
/* ==========================================
   Dremax Premium Activation Styles
   ========================================== */

.activation-section {
    max-width: 1000px;
}

/* Nowoczesne karty ze szklanym akcentem i łagodnym cieniem */
.premium-card {
    border-radius: 16px !important;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.premium-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
}

/* Niestandardowy, elegancki alert sukcesu */
.alert-custom-success {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 4px solid #22c55e;
    color: #166534;
    border-radius: 10px;
    padding: 1.1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Premium Button styling */
.btn-premium-secondary {
    background-color: #1e293b;
    color: #ffffff !important;
    border: none;
    border-radius: 8px;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
    transition: all 0.25s ease;
}

.btn-premium-secondary:hover {
    background-color: #0f172a;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
    transform: translateY(-1px);
}

/* Efekt wejścia ikony */
.activation-icon-wrapper svg {
    filter: drop-shadow(0 4px 6px rgba(34, 197, 94, 0.2));
}
/* ==========================================
   Dremax Premium Activation Card & Buttons
   ========================================== */

/* Główna karta */
.premium-activation-card {
    background: #ffffff;
    border-radius: 24px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
}

/* Perfekcyjnie wycentrowana ikona sukcesu */
.premium-success-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.premium-success-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
    transition: transform 0.3s ease;
}

.premium-success-icon svg {
    width: 36px;
    height: 36px;
}

.premium-activation-card:hover .premium-success-icon {
    transform: scale(1.05);
}

/* Premium Alert */
.alert-premium-success {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 5px solid #10b981;
    color: #14532d;
    border-radius: 14px;
    padding: 1rem 1.25rem;
}

/* GŁÓWNY PRZYCISK (Oliwkowy Dremax z wyrazistym cieniem) */
.btn-premium-primary-cta {
    background-color: #5a6e26 !important; /* Oliwka Dremax */
    color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(90, 110, 38, 0.3) !important;
    transition: all 0.25s ease !important;
}

.btn-premium-primary-cta:hover {
    background-color: #495b1d !important;
    box-shadow: 0 12px 25px rgba(90, 110, 38, 0.45) !important;
    transform: translateY(-2px);
    color: #ffffff !important;
}

.btn-premium-primary-cta:active {
    transform: translateY(0);
}

/* DRUGORZĘDNY PRZYCISK (Elegancja z konturem) */
.btn-premium-outline {
    background-color: #f8fafc !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 50px !important;
    font-size: 0.9rem;
    transition: all 0.2s ease !important;
}

.btn-premium-outline:hover {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #94a3b8 !important;
}
/* ==========================================
   Dremax Premium User Account Panel Layout
   ========================================== */

.account-page-wrapper {
    background-color: #f8fafc;
    min-height: 85vh;
}

/* Sidebar Box */
.userpanel-sidebar-card {
    background: #ffffff;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid #f1f5f9 !important;
}

/* Profile Header w Sidebarze */
.profile-avatar-circle {
    width: 44px;
    height: 44px;
    background-color: #f1f5f9;
    color: #5a6e26; /* Oliwka Dremax */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

/* Elementy menu nawigacyjnego */
.userpanel-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #475569;
    text-decoration: none !important;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease-in-out;
}

.userpanel-nav-item .icon {
    font-size: 1.35rem;
    color: #64748b;
    transition: color 0.2s ease-in-out;
}

/* Stan najechania (Hover) */
.userpanel-nav-item:hover {
    background-color: #f8fafc;
    color: #0f172a;
}

.userpanel-nav-item:hover .icon {
    color: #5a6e26;
}

/* Stan Aktywny (Active State) */
.userpanel-nav-item.active {
    background-color: #5a6e26 !important; /* Główny kolor marki */
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(90, 110, 38, 0.25);
}

.userpanel-nav-item.active .icon {
    color: #ffffff !important;
}

/* Styl Wylogowania */
.userpanel-nav-item.nav-item-logout {
    color: #ef4444;
}

.userpanel-nav-item.nav-item-logout .icon {
    color: #ef4444;
}

.userpanel-nav-item.nav-item-logout:hover {
    background-color: #fef2f2;
    color: #dc2626;
}

/* Główny kontener treści (Content Card) */
.userpanel-main-card {
    background: #ffffff;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid #f1f5f9 !important;
    min-height: 400px;
}

/* Ostrzeżenie (Alert) */
.alert-premium-warning {
    background-color: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 5px solid #f59e0b;
    color: #92400e;
    border-radius: 12px;
    padding: 1rem 1.25rem;
}
/* Przycisk w kolorze marki Dremax */
.btn-olive {
    background-color: #5a6e26 !important;
    border-color: #5a6e26 !important;
    color: #ffffff !important;
    transition: all 0.2s ease-in-out;
}

.btn-olive:hover {
    background-color: #48581e !important;
    border-color: #48581e !important;
    box-shadow: 0 4px 12px rgba(90, 110, 38, 0.3);
}

.text-olive {
    color: #5a6e26 !important;
}

.fs-7 {
    font-size: 0.825rem;
}

.cursor-pointer {
    cursor: pointer;
}
/* ==================================================
   Edit Address Form - Premium Theme (Dremax)
   ================================================== */

.edit-address-premium {
    font-family: inherit;
}

/* Header Card */
.form-header-card {
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e2e8f0;
}

.header-icon-badge {
    width: 52px;
    height: 52px;
    background: #f1f5f9;
    color: #5a6e26;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.badge-olive-subtle {
    background-color: rgba(90, 110, 38, 0.12);
    color: #5a6e26;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.btn-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    color: #475569;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.btn-back-link:hover {
    background-color: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Default Address Switch Banner */
.default-address-banner {
    background: linear-gradient(135deg, rgba(90, 110, 38, 0.05) 0%, rgba(248, 250, 252, 0.8) 100%);
    border: 1px solid rgba(90, 110, 38, 0.2);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
}

.default-address-banner .banner-icon {
    width: 40px;
    height: 40px;
    background-color: #5a6e26;
    color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Custom Switch Toggle */
.custom-switch .form-check-input {
    width: 2.75em;
    height: 1.5em;
    cursor: pointer;
}

.custom-switch .form-check-input:checked {
    background-color: #5a6e26;
    border-color: #5a6e26;
}

/* Section Cards */
.premium-form-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: border-color 0.2s ease;
}

.premium-form-card:hover {
    border-color: #cbd5e1;
}

.card-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.card-section-title i {
    font-size: 1.4rem;
    color: #5a6e26;
}

.card-section-title h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

/* Inputs & Labels */
.form-label-premium {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.form-label-premium .required {
    color: #ef4444;
}

.form-label-premium .label-hint {
    font-size: 0.775rem;
    font-weight: 400;
    color: #94a3b8;
}

.premium-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.premium-input-wrapper .input-icon {
    position: absolute;
    left: 14px;
    font-size: 1.15rem;
    color: #94a3b8;
    pointer-events: none;
    transition: color 0.2s ease;
}

.premium-input {
    width: 100%;
    padding: 10px 14px 10px 42px;
    font-size: 0.925rem;
    color: #0f172a;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s ease-in-out;
}

.premium-input::placeholder {
    color: #cbd5e1;
}

/* Focus States */
.premium-input:focus {
    background-color: #ffffff;
    border-color: #5a6e26;
    box-shadow: 0 0 0 4px rgba(90, 110, 38, 0.12);
    outline: none;
}

.premium-input:focus + .input-icon,
.premium-input-wrapper:focus-within .input-icon {
    color: #5a6e26;
}

/* Footer & Actions */
.form-actions-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.btn-premium-olive {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background-color: #5a6e26;
    border: 1px solid #5a6e26;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 14px rgba(90, 110, 38, 0.25);
}

.btn-premium-olive:hover {
    background-color: #48581e;
    border-color: #48581e;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(90, 110, 38, 0.35);
}

.btn-premium-secondary {
    display: inline-flex;
    align-items: center;
    padding: 12px 22px;
    background-color: #f1f5f9;
    color: #475569;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.btn-premium-secondary:hover {
    background-color: #e2e8f0;
    color: #0f172a;
}

/* Custom Alerts */
.premium-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 0.925rem;
    font-weight: 500;
}

.premium-alert.alert-danger {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.premium-alert.alert-success {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.premium-alert .alert-icon {
    font-size: 1.35rem;
}
/* ==================================================
   Order Details & Timeline Premium
   ================================================== */

/* Oś czasu zamówienia (Timeline) */
.order-timeline {
    position: relative;
    padding-left: 20px;
}

.order-timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background-color: #e2e8f0;
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-badge {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    z-index: 1;
    flex-shrink: 0;
}

.bg-olive {
    background-color: #5a6e26 !important;
}

.timeline-content {
    padding-top: 1px;
}

/* Tabela podsumowania */
.table-summary-row td {
    background-color: #f8fafc !important;
    border-top: 2px solid #e2e8f0 !important;
    padding: 1.25rem !important;
}

/* Przycisk konturowy */
.btn-premium-olive-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #5a6e26;
    border: 1px solid #5a6e26;
    background-color: transparent;
    transition: all 0.2s ease;
}

.btn-premium-olive-outline:hover {
    background-color: #5a6e26;
    color: #ffffff;
}
/* ==================================================
   Segmented Control (Przełącznik Tak/Nie)
   ================================================== */
.segmented-control {
    display: inline-flex;
    align-items: center;
    background-color: #f1f5f9;
    padding: 4px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

/* Ukrywa fabryczny przycisk radio (kropkę) */
.segmented-control input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Styl pojedynczego przycisku */
.segmented-control .segment-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 22px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0;
    user-select: none;
}

/* Stan po zaznaczeniu */
.segmented-control input[type="radio"]:checked + .segment-button {
    background-color: #ffffff;
    color: #5a6e26;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.segmented-control .segment-button:hover {
    color: #1e293b;
}

/* ==================================================
   Przycisk Premium: Uzupełnij adres faktury
   ================================================== */
.btn-premium-copy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #f4f6ef;
    color: #5a6e26;
    border: 1px solid #d0d9b6;
    border-radius: 10px;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-premium-copy:hover {
    background-color: #5a6e26;
    color: #ffffff;
    border-color: #5a6e26;
    box-shadow: 0 4px 12px rgba(90, 110, 38, 0.2);
}

.btn-premium-copy i {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.btn-premium-copy:hover i {
    transform: scale(1.15);
}
/* ==================================================
   Zielone linki i akcje w tabeli zamówień
   ================================================== */

/* Link numeru zamówienia (np. 1/2026) */
.order-ident-link {
    color: #5a6e26 !important;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.order-ident-link:hover,
.order-ident-link:focus {
    color: #3f4e1a !important;
    text-decoration: underline;
}

/* Przycisk akcji / strzałka (>) */
.btn-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background-color: #f4f6ef;
    color: #5a6e26 !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.btn-action-icon:hover {
    background-color: #5a6e26;
    color: #ffffff !important;
    transform: translateX(3px);
}

.btn-action-icon i {
    font-size: 1rem;
}
/* ==================================================
   Zielone linki i akcje w książce adresowej
   ================================================== */

/* Link aliasu adresu (np. Dom, Firma) */
.address-alias-link {
    color: #5a6e26 !important;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.address-alias-link:hover,
.address-alias-link:focus {
    color: #3f4e1a !important;
    text-decoration: underline;
}

/* Przyciski akcji w tabeli */
.btn-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

/* Przycisk edycji (zielony) */
.btn-action-edit {
    background-color: #f4f6ef;
    color: #5a6e26 !important;
}

.btn-action-edit:hover {
    background-color: #5a6e26;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Przycisk usuwania (subtelny czerwony) */
.btn-action-delete {
    background-color: #fdf2f2;
    color: #dc3545 !important;
}

.btn-action-delete:hover {
    background-color: #dc3545;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Klasa dla ikony zakładek */
.text-olive {
    color: #5a6e26 !important;
}
div.swal2-container {
    z-index: 99999 !important;
}


/* ==================================================
   Karta informacji o opinii - Style Ultra Premium
   ================================================== */
.review-status-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 1rem;
}

.premium-alert-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e6ebf1;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    max-width: 540px;
    width: 100%;
    box-shadow: 0 20px 40px -15px rgba(90, 110, 38, 0.07),
    0 2px 6px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-alert-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 50px -12px rgba(90, 110, 38, 0.13),
    0 4px 12px rgba(0, 0, 0, 0.03);
}

/* Oliwkowy akcent tonalny na górze karty */
.premium-alert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #5a6e26 0%, #8fa64a 50%, #c4d685 100%);
}

/* Kontener z dwutonowym badge'em ikony */
.alert-icon-wrapper {
    display: inline-flex;
    justify-content: center;
}

.alert-icon-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f4f6ef 0%, #e8edd9 100%);
    color: #5a6e26;
    border-radius: 50%;
    border: 2px solid #d0d9b6;
    box-shadow: 0 8px 20px rgba(90, 110, 38, 0.15),
    inset 0 2px 4px rgba(255, 255, 255, 0.9);
}

.alert-icon-badge svg {
    fill: #5a6e26;
    filter: drop-shadow(0 2px 3px rgba(90, 110, 38, 0.2));
}

/* Typografia nagłówka i opisu */
.alert-card-title {
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    color: #1e293b;
}

.alert-card-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #64748b;
}

/* Pigułka z numerem zamówienia */
.order-badge-pill {
    display: inline-flex;
    align-items: center;
    background-color: #f4f6ef;
    color: #5a6e26;
    border: 1px solid #d0d9b6;
    padding: 3px 10px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.875rem;
    margin: 0 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

/* Przycisk powrotu do zamówień */
.btn-premium-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 26px;
    background-color: #f4f6ef;
    color: #5a6e26 !important;
    border: 1px solid #d0d9b6;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-premium-back:hover {
    background-color: #5a6e26;
    color: #ffffff !important;
    border-color: #5a6e26;
    box-shadow: 0 6px 18px rgba(90, 110, 38, 0.25);
    transform: translateY(-1px);
}

.btn-premium-back i {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.btn-premium-back:hover i {
    transform: translateX(-4px);
}
/* ==================================================
   Wyśrodkowana Karta i Przycisk Premium Home
   ================================================== */

.premium-alert-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e6ebf1;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    width: 100%;
    box-shadow: 0 20px 40px -15px rgba(90, 110, 38, 0.08),
    0 2px 6px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-alert-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px -12px rgba(90, 110, 38, 0.14);
}

/* Oliwkowy pasek u góry karty */
.premium-alert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #5a6e26 0%, #8fa64a 50%, #c4d685 100%);
}

/* Badge ikony */
.alert-icon-wrapper {
    display: flex;
    justify-content: center;
}

.alert-icon-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f4f6ef 0%, #e8edd9 100%);
    color: #5a6e26;
    border-radius: 50%;
    border: 2px solid #d0d9b6;
    box-shadow: 0 8px 20px rgba(90, 110, 38, 0.15),
    inset 0 2px 4px rgba(255, 255, 255, 0.9);
}

.alert-icon-badge svg {
    fill: #5a6e26;
}

/* Nowy, spójny przycisk powrotu */
.btn-premium-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    background-color: #5a6e26;
    color: #ffffff !important;
    border: 1px solid #5a6e26;
    border-radius: 12px;
    font-size: 0.925rem;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(90, 110, 38, 0.25);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-premium-home:hover {
    background-color: #48581e;
    border-color: #48581e;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(90, 110, 38, 0.35);
    transform: translateY(-2px);
}

.btn-premium-home i {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.btn-premium-home:hover i {
    transform: scale(1.15);
}
/* ==================================================
   Sekcja Zwrotów i Reklamacji - Style Ultra Premium
   ================================================== */

/* Kolory główne */
.text-olive { color: #5a6e26 !important; }

/* Breadcrumbs & Nagłówek */
.badge-olive-subtle {
    background-color: #f4f6ef;
    color: #5a6e26;
    border: 1px solid #d0d9b6;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
}

.header-icon-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: #f4f6ef;
    color: #5a6e26;
    border-radius: 14px;
    font-size: 1.5rem;
    border: 1px solid #d0d9b6;
}

.login-prompt-banner {
    background-color: #fafbf8;
    border: 1px solid #e2e8f0;
}

.btn-link-olive {
    color: #5a6e26;
    transition: color 0.2s ease;
}
.btn-link-olive:hover {
    color: #3f4e1a;
}

/* Karty informacyjne (Telefon / FAQ) */
.info-mini-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: all 0.25s ease;
}

.info-mini-card:hover {
    border-color: #d0d9b6;
    box-shadow: 0 6px 16px rgba(90, 110, 38, 0.08);
    transform: translateY(-2px);
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #f4f6ef;
    color: #5a6e26;
    border-radius: 12px;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.info-link-highlight {
    color: #1e293b;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.info-link-highlight:hover {
    color: #5a6e26;
}

/* Nowoczesne Alerty Inline */
.premium-inline-alert {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 16px;
    font-size: 0.925rem;
    font-weight: 500;
}

.alert-inline-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.alert-warning-olive {
    background-color: #fefce8;
    color: #713f12;
    border: 1px solid #fef08a;
}

.alert-info-olive {
    background-color: #f4f6ef;
    color: #3f4e1a;
    border: 1px solid #d0d9b6;
}

.alert-danger-olive {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Pasek kroków (Step Progress Bar) */
.step-progress-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 24px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.55;
    transition: opacity 0.3s ease;
}

.step-item.active,
.step-item.completed {
    opacity: 1;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #f1f5f9;
    color: #64748b;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.step-item.active .step-number {
    background-color: #5a6e26;
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(90, 110, 38, 0.15);
}

.step-item.completed .step-number {
    background-color: #f4f6ef;
    color: #5a6e26;
    border: 1px solid #d0d9b6;
}

.step-text {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1e293b;
}

.step-line {
    flex: 1;
    height: 2px;
    background-color: #e2e8f0;
    margin: 0 20px;
}

/* Główna karta formularza */
.premium-form-card {
    background: #ffffff;
    border: 1px solid #e6ebf1;
    border-radius: 20px;
    padding: 2.25rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.form-label-premium {
    font-weight: 600;
    font-size: 0.875rem;
    color: #1e293b;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

/* Pola tekstowe i formularz */
.premium-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.premium-input-wrapper .input-icon {
    position: absolute;
    left: 16px;
    color: #94a3b8;
    font-size: 1.15rem;
    pointer-events: none;
    transition: color 0.2s ease;
}

.premium-input {
    height: 48px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    font-size: 0.925rem;
    transition: all 0.2s ease;
}

.premium-input:focus {
    border-color: #5a6e26;
    box-shadow: 0 0 0 4px rgba(90, 110, 38, 0.12);
}

.premium-input-wrapper:focus-within .input-icon {
    color: #5a6e26;
}

.premium-textarea {
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    font-size: 0.925rem;
    padding: 14px 16px;
    transition: all 0.2s ease;
}

.premium-textarea:focus {
    border-color: #5a6e26;
    box-shadow: 0 0 0 4px rgba(90, 110, 38, 0.12);
}

/* Tabela produktów ($gen_c) */
.premium-table-wrapper {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.01);
}

.premium-table thead {
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.premium-table th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    padding: 12px 16px;
}

.premium-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
}

.premium-table tbody tr:last-child td {
    border-bottom: none;
}

.custom-table-checkbox {
    width: 18px;
    height: 18px;
    accent-color: #5a6e26;
    cursor: pointer;
}

.badge-qty-pill {
    background-color: #f1f5f9;
    color: #475569;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
}

.price-pill {
    font-weight: 700;
    color: #1e293b;
}

/* Przycisk akcji Premium */
.btn-premium-olive {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #5a6e26;
    color: #ffffff !important;
    border: 1px solid #5a6e26;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 14px rgba(90, 110, 38, 0.22);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-premium-olive:hover {
    background-color: #48581e;
    border-color: #48581e;
    box-shadow: 0 6px 20px rgba(90, 110, 38, 0.32);
    transform: translateY(-1px);
}

/* Checkbox akceptacji regulaminu */
.custom-premium-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.custom-premium-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #5a6e26;
    margin-top: 2px;
    cursor: pointer;
}

.custom-premium-checkbox label {
    font-size: 0.875rem;
    color: #475569;
    cursor: pointer;
}

.link-olive-underline {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.link-olive-underline:hover {
    color: #5a6e26;
}
/* ==================================================
   Efekty Premium, Wyśrodkowanie i Animacje Formularza
   ================================================== */

/* Animacja płynnego pojawienia się karty (Fade In + Slide Up) */
.animated-card {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Karta formularza - wyśrodkowany układ */
.premium-form-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2.5rem 2.25rem;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.05),
    0 2px 6px rgba(0, 0, 0, 0.02);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;

}

.premium-form-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 20px 40px -10px rgba(90, 110, 38, 0.08),
    0 4px 12px rgba(0, 0, 0, 0.03);
}
.premium-form-card form.form-return {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}
/* Pola wejściowe rozciągnięte na 100% z ulepszonym focusem */
.premium-input-wrapper {
    position: relative;
    width: 100%;
}

.premium-input-wrapper .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.15rem;
    pointer-events: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

.premium-input {
    width: 100%;
    height: 50px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    background-color: #f8fafc;
    font-size: 0.95rem;
    color: #1e293b;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-input:focus {
    background-color: #ffffff;
    border-color: #5a6e26;
    box-shadow: 0 0 0 4px rgba(90, 110, 38, 0.14);
}

.premium-input-wrapper:focus-within .input-icon {
    color: #5a6e26;
    transform: translateY(-50%) scale(1.1);
}

/* Pole tekstowe */
.premium-textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    background-color: #f8fafc;
    font-size: 0.95rem;
    color: #1e293b;
    padding: 14px 16px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    resize: vertical;
}

.premium-textarea:focus {
    background-color: #ffffff;
    border-color: #5a6e26;
    box-shadow: 0 0 0 4px rgba(90, 110, 38, 0.14);
}

/* Interaktywny przycisk z animacją strzałki/ikony */
.btn-premium-olive {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #5a6e26;
    color: #ffffff !important;
    border: 1px solid #5a6e26;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    box-shadow: 0 6px 18px rgba(90, 110, 38, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-premium-olive:hover {
    background-color: #47581e;
    border-color: #47581e;
    box-shadow: 0 10px 25px rgba(90, 110, 38, 0.35);
    transform: translateY(-2px);
}

.btn-premium-olive:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(90, 110, 38, 0.2);
}

/* Mikro-animacja strzałki na przycisku */
.btn-premium-olive .icon-animated {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-premium-olive:hover .ph-arrow-right {
    transform: translateX(6px);
}

.btn-premium-olive:hover .ph-paper-plane-right {
    transform: translateX(4px) translateY(-2px);
}
.btn-premium-olive .icon-animated {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-premium-olive:hover .ph-paper-plane-right {
    transform: translateX(5px) translateY(-3px);
}
/* ==================================================
   PERFEKCYJNIE WYKOŃCZONA TABELA I CHECKBOX PREMIUM
   ================================================== */

/* 1. Reset i autorski Checkbox z idealną wektorową fajką */
.custom-table-checkbox {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    width: 22px !important;
    height: 22px !important;
    border: 2px solid #cbd5e1 !important;
    border-radius: 7px !important;
    outline: none !important;
    cursor: pointer;
    position: relative;
    background-color: #ffffff !important;
    background-image: none !important; /* Bezwzględne usunięcie nachodzących ikon tła */
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    vertical-align: middle;
    margin: 0 !important;
    display: inline-block;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Stan Hover */
.custom-table-checkbox:hover {
    border-color: #5a6e26 !important;
    background-color: #f8fafc !important;
    transform: scale(1.05);
}

/* Stan Zaznaczony (Checked) - czysta ikona SVG bez nachodzenia */
.custom-table-checkbox:checked {
    background-color: #5a6e26 !important;
    border-color: #5a6e26 !important;
    /* Idealnie wyśrodkowana, gładka ikona wektorowa SVG */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath d='M13.78 4.22a.75.75 0 010 1.06l-6.5 6.5a.75.75 0 01-1.06 0l-3.25-3.25a.75.75 0 111.06-1.06L7 10.19l5.97-5.97a.75.75 0 011.06 0z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 14px 14px !important;
    box-shadow: 0 4px 12px rgba(90, 110, 38, 0.3) !important;
}

/* Wyłączenie pseudoelementów mogących powodować podwójną ikonę */
.custom-table-checkbox::after,
.custom-table-checkbox::before {
    display: none !important;
    content: none !important;
}

/* 2. Dopracowany wygląd karty i wierszy tabeli */
.premium-table-wrapper {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.premium-table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.premium-table th {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    background-color: #f8fafc;
    padding: 14px 18px;
    border-bottom: 1px solid #e2e8f0;
}

.premium-table td {
    padding: 16px 18px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    transition: background-color 0.2s ease;
}

.premium-table tbody tr:last-child td {
    border-bottom: none;
}

/* Efekty wierszy: Hover oraz Zaznaczenie */
.premium-table tbody tr:hover td {
    background-color: #fcfdfe;
}

.premium-table tbody tr:has(.custom-table-checkbox:checked) td {
    background-color: #f6f8f0; /* Subtelne oliwkowe podświetlenie wybranego wiersza */
}

/* 3. Wykończenie detali (Pill ilości i Ceny) */
.badge-qty-pill {
    background-color: #f1f5f9;
    color: #475569;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 5px 12px;
    border-radius: 8px;
    display: inline-block;
}

.price-pill {
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
}
/* ==================================================
   Efekty Premium Pustego Koszyka
   ================================================== */

/* Animacja wejścia karty pustego koszyka */
.empty-cart-card {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05),
    0 4px 12px rgba(0, 0, 0, 0.02);
    animation: emptyCartFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes emptyCartFadeIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Interaktywny kontener ikony z lekkim obrotem przy hoverze */
.empty-cart-icon-wrapper {
    width: 90px;
    height: 90px;
    background-color: #f4f6ef;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.empty-cart-card:hover .empty-cart-icon-wrapper {
    background-color: #e9efe0;
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 10px 25px rgba(90, 110, 38, 0.15);
}

.empty-cart-icon-wrapper i {
    color: #5a6e26;
    transition: transform 0.3s ease;
}

.empty-cart-card:hover .empty-cart-icon-wrapper i {
    transform: scale(1.12);
}

/* Przycisk powrotu z przejciem w oliwkę i przesunięciem ikony */
.btn-empty-cart {
    background-color: #1e293b;
    color: #ffffff !important;
    border: 1px solid #1e293b;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(30, 41, 59, 0.12);
}

.btn-empty-cart:hover {
    background-color: #5a6e26;
    border-color: #5a6e26;
    color: #ffffff !important;
    box-shadow: 0 8px 22px rgba(90, 110, 38, 0.3);
    transform: translateY(-2px);
}

.btn-empty-cart i {
    transition: transform 0.25s ease;
}

.btn-empty-cart:hover i {
    transform: translateX(-4px);
}
.btn-empty-cart,
.btn-empty-cart:hover,
.btn-empty-cart:focus,
.btn-empty-cart:active,
.btn-empty-cart * {
    text-decoration: none !important;
    border: none!important;
    box-shadow: none;
}

/* ==================================================
   Cart Premium Theme (Dremax Executive)
   ================================================== */

.text-olive { color: #5a6e26 !important; }
.bg-olive { background-color: #5a6e26 !important; }
.border-olive-subtle { border-color: rgba(90, 110, 38, 0.25) !important; }
.bg-light-olive { background-color: rgba(90, 110, 38, 0.05) !important; }

/* Karta Produktu w Koszyku */
.cart-product-card {
    transition: all 0.2s ease-in-out;
    border-color: #e2e8f0 !important;
}
.cart-product-card:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.03) !important;
}

.cart-product-img {
    width: 100%;
    height: 75px;
    object-fit: contain;
}

.hover-olive:hover {
    color: #5a6e26 !important;
}

/* Opcje dostawy w Panelu */
.deivery_option {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 14px;
    transition: all 0.2s ease;
    background-color: #ffffff;
}
.deivery_option:hover {
    border-color: #5a6e26;
    background-color: #f8fafc;
}
.deivery_option input[type="radio"]:checked + span {
    font-weight: 700;
    color: #5a6e26;
}

/* Kod Rabatowy Input */
.rabate-form-wrapper input.form-control {
    border-radius: 10px 0 0 10px !important;
    border: 1px solid #e2e8f0;
    padding: 8px 12px;
}
.rabate-form-wrapper .btn {
    border-radius: 0 10px 10px 0 !important;
    background-color: #0f172a;
}

/* Przycisk Usuwania */
.btn-remove-cart-item {
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
}
.btn-remove-cart-item:hover {
    color: #ef4444 !important;
}

/* Responsywność */
@media (max-width: 991px) {
    .cart-summary-sticky {
        position: static !important;
    }
}
/* ==========================================================================
   DREMAX PREMIUM UI - CSS KOSZYKA (STYLE INSPIROWANE SERWISIEM ZWROTÓW)
   ========================================================================== */




/* --------------------------------------------------------------------------
   1. Konfiguracja Ogólna & Układ
   -------------------------------------------------------------------------- */
.bg-dremax {
    background-color: var(--dremax-accent) !important;
}

.text-dremax {
    color: var(--dremax-accent) !important;
}

.section-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    font-size: 0.85rem;
    font-weight: 500;
}

.section-breadcrumb .breadcrumb-item a {
    color: #6b7280;
    text-decoration: none;
    transition: var(--dremax-transition);
}

.section-breadcrumb .breadcrumb-item a:hover {
    color: var(--dremax-accent);
}

.actual_header.section-title {
    font-weight: 800;
    letter-spacing: -0.03em;
    position: relative;
    padding-bottom: 14px;
    color: var(--dremax-primary);
    font-size: 1.5rem;
}

.actual_header.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 4px;
    background-color: var(--dremax-accent);
    border-radius: 10px;
}

/* --------------------------------------------------------------------------
   3. Lista Produktów w Koszyku
   -------------------------------------------------------------------------- */
.product_cart_box {
    border-radius: var(--dremax-radius) !important;
    border: 1px solid var(--dremax-border-color) !important;
    box-shadow: var(--dremax-card-shadow);
    transition: var(--dremax-transition);
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
}

.product_cart_box:hover {
    box-shadow: var(--dremax-card-shadow-hover);
    border-color: #d1d5db !important;
    transform: translateY(-2px);
}

.product_img_inside_cart {
    object-fit: contain;
    border-radius: 12px;
    background-color: #f9fafb;
    padding: 8px;
    border: 1px solid #f3f4f6;
    transition: var(--dremax-transition);
}

.product_cart_box:hover .product_img_inside_cart {
    transform: scale(1.02);
}

.prod_dds.f_bold {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dremax-primary);
    letter-spacing: -0.01em;
}

/* Bloki konfiguracji personalizowanych */
.sprice small b {
    color: #4b5563;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.sprice small div.text-start {
    background-color: #f9fafb;
    border: 1px solid #f3f4f6;
    border-left: 3px solid var(--dremax-accent);
    padding: 12px 16px;
    border-radius: 10px;
    margin-top: 8px;
    font-size: 0.825rem;
    color: #374151;
    line-height: 1.6;
}

/* Stepper ilości (Przycisk - / +) */
.single-product-quantity {
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 3px;
    display: inline-flex;
    align-items: center;
    transition: var(--dremax-transition);
}

.single-product-quantity:focus-within {
    border-color: var(--dremax-accent);
    background-color: #ffffff;
}

.single-product-quantity .btn {
    border: none !important;
    background: transparent !important;
    color: var(--dremax-primary) !important;
    font-weight: 700;
    border-radius: 8px !important;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--dremax-transition);
}

.single-product-quantity .btn:hover {
    background-color: #ffffff !important;
    color: var(--dremax-accent) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.single-product-quantity input.quantity {
    border: none !important;
    background: transparent !important;
    font-weight: 700;
    color: var(--dremax-primary);
    box-shadow: none !important;
    font-size: 0.95rem;
}

/* Usuwanie z koszyka */
.delete-from-cart a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: #fef2f2;
    color: #ef4444;
    transition: var(--dremax-transition);
    border: 1px solid #fee2e2;
}

.delete-from-cart a:hover {
    background-color: #dc2626;
    color: #ffffff !important;
    border-color: #dc2626;
    transform: translateY(-1px);
}

.delete-from-cart a:hover i {
    color: #ffffff !important;
}


/* --------------------------------------------------------------------------
   5. Responsywność (Mobile)
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .product_cart_box {
        padding: 16px !important;
    }

    .cart-row {
        margin-top: 12px;
        justify-content: flex-start !important;
    }

    .delete-from-cart-wrap {
        margin-top: 10px;
        justify-content: flex-end;
    }
}
/* ==========================================================================
   RESET STARODAWNEGO PROGU RABATOWEGO ($tresholds_rabate_value)
   ========================================================================== */

/* Czyszczenie zewnętrznej ramki i tła ze starego PHP */
.threshold-wrapper,
.threshold-wrapper div,
.summary-promo-badge {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

/* Stworzenie nowej, eleganckiej karty Premium wokół rabatu */
.threshold-wrapper {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%) !important;
    border: 1px solid #86efac !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.08) !important;
}

/* Stylizacja wszystkich tekstów wewnątrz zmiennej $tresholds_rabate_value */
.threshold-wrapper *,
.threshold-wrapper td,
.threshold-wrapper p,
.threshold-wrapper div,
.threshold-wrapper span {
    color: #14532d !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
}

/* Wyrównanie i układ tabelki lub bloków rabatu */
.threshold-wrapper table {
    width: 100% !important;
    border-collapse: collapse !important;
}

.threshold-wrapper tr {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 2px 0 !important;
}

/* Przycisk głowny Checkout */
.btn-dremax-submit {
    background-color: var(--dremax-accent, #53692b) !important;
    box-shadow: 0 4px 14px rgba(83, 105, 43, 0.3) !important;
    transition: all 0.2s ease-in-out !important;
}

.btn-dremax-submit:hover {
    background-color: var(--dremax-accent-hover, #425422) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(83, 105, 43, 0.4) !important;
}
/* ==========================================================================
   KOREKTA METOD DOSTAWY (PREMIUM UI)
   ========================================================================== */

/* Kontener główny opcji dostaw - układ pionowy z równym odstępem */
.methods_delivery_catcher {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

/* Ukrycie starych niepotrzebnych kresek rozdzielających (<hr> / border-bottom) */
.methods_delivery_catcher hr,
.methods_delivery_catcher .clear {
    display: none !important;
}

/* Pojedynczy kafelek opcji dostawy */
.methods_delivery_catcher .deivery_option,
.methods_delivery_catcher .delivery_option,
.methods_delivery_catcher label.delivery-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 16px !important;
    margin: 0 !important;
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: all 0.2s ease-in-out !important;
    box-shadow: none !important;
    min-height: 48px !important;
    height: auto !important;
    float: none !important;
    width: 100% !important;
}

/* Efekt najechania myszką */
.methods_delivery_catcher .deivery_option:hover {
    background-color: #ffffff !important;
    border-color: #53692b !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}

/* Stan zaznaczony (zaznaczony radiobutton) */
.methods_delivery_catcher .deivery_option:has(input:checked),
.methods_delivery_catcher .deivery_option.active {
    background-color: #f4f7f0 !important;
    border: 1.5px solid #53692b !important;
    box-shadow: 0 2px 8px rgba(83, 105, 43, 0.1) !important;
}

/* Stylizacja radiobuttona */
.methods_delivery_catcher input[type="radio"] {
    width: 18px !important;
    height: 18px !important;
    margin: 0 10px 0 0 !important;
    accent-color: #53692b !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    vertical-align: middle !important;
}

/* Stylizacja etykiety/nazwy dostawcy */
.methods_delivery_catcher label,
.methods_delivery_catcher .deivery_option span,
.methods_delivery_catcher .deivery_option strong {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1.2 !important;
}

/* Wyrównanie ceny dostawy po prawej stronie na tej samej wysokości */
.methods_delivery_catcher .deivery_option .price,
.methods_delivery_catcher .deivery_option > span:last-child {
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-left: auto !important;
    white-space: nowrap !important;
    float: none !important;
}
/* ==========================================================================
   KARTA WYBORU PUNKTU ODBIORU (PACZKOMAT / ORLEN)
   ========================================================================== */

.pickup-point-card {
    border-color: #e2e8f0 !important;
    background-color: #f8fafc !important;
    transition: all 0.2s ease-in-out;
}

.pickup-point-card:hover {
    border-color: #cbd5e1 !important;
    background-color: #ffffff !important;
}

/* Przycisk wyboru punktu z mapy */
#change_paczkomat,
#change_orlen {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    border-color: #cbd5e1 !important;
    background-color: #ffffff !important;
    color: #334155 !important;
}

#change_paczkomat:hover,
#change_orlen:hover {
    background-color: #53692b !important;
    border-color: #53692b !important;
    color: #ffffff !important;
}
/* Styling kafelka dostawy */
label.deivery_option {
    border-color: #e2e8f0 !important;
    transition: all 0.2s ease-in-out !important;
    background-color: #ffffff !important;
}

label.deivery_option:hover {
    border-color: #53692b !important;
    background-color: #f8fafc !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

/* Stan aktywny (po kliknięciu/wyborze) */
label.deivery_option.active,
label.deivery_option:has(input[type="radio"]:checked) {
    border-color: #53692b !important;
    background-color: #f4f7f0 !important;
    box-shadow: 0 2px 8px rgba(83, 105, 43, 0.1) !important;
}

/* Radiobutton */
label.deivery_option input[type="radio"] {
    accent-color: #53692b !important;
    width: 18px !important;
    height: 18px !important;
    cursor: pointer !important;
}
/* ==========================================================================
   STYLISTYKA OPCJI DOSTAWY - DREMAX PREMIUM
   ========================================================================== */



/* Podstawowa karta dostawy */
.delivery-option-premium {
    background-color: #ffffff !important;
    border-color: #e2e8f0 !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

/* Hover na kartę */
.delivery-option-premium:hover {
    border-color: var(--dremax-border-active) !important;
    background-color: #fafcf8 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(83, 105, 43, 0.08) !important;
}

/* Stan aktywny (zaznaczona dostawa) */
.delivery-option-premium.active,
.delivery-option-premium:has(input[type="radio"]:checked) {
    background: linear-gradient(135deg, #ffffff 0%, var(--dremax-light-bg) 100%) !important;
    border: 1.5px solid var(--dremax-primary) !important;
    box-shadow: 0 3px 10px rgba(83, 105, 43, 0.12) !important;
}

/* Customowy Radiobutton w barwach Dremax */
.custom-radio-dremax {
    width: 20px !important;
    height: 20px !important;
    accent-color: var(--dremax-primary) !important;
    cursor: pointer !important;
    border-color: #cbd5e1 !important;
    box-shadow: none !important;
}

.custom-radio-dremax:checked {
    background-color: var(--dremax-primary) !important;
    border-color: var(--dremax-primary) !important;
}

/* Ramka logo dostawcy */
.delivery-logo-badge {
    border-color: #edf2f7 !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
}

/* Tag ceny dostawy */
.delivery-price-tag {
    background-color: #f8fafc;
    color: #334155;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

/* Wygląd tagu ceny dla aktywnej dostawy */
.delivery-option-premium.active .delivery-price-tag,
.delivery-option-premium:has(input[type="radio"]:checked) .delivery-price-tag {
    background-color: #ffffff;
    color: var(--dremax-primary);
    border-color: rgba(83, 105, 43, 0.3);
    font-weight: 800;
}

/* Przycisk Poczta Punkt */
.btn-outline-dremax {
    color: var(--dremax-primary) !important;
    border-color: var(--dremax-primary) !important;
    background-color: transparent !important;
    transition: all 0.2s ease !important;
}

.btn-outline-dremax:hover {
    color: #ffffff !important;
    background-color: var(--dremax-primary) !important;
    border-color: var(--dremax-primary) !important;
}
/* --------------------------------------------------------------------------
   Usuwanie z koszyka (Poprawka kontrastu na hover)
   -------------------------------------------------------------------------- */
.delete-from-cart a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: #fef2f2;
    border: 1px solid #fee2e2;
    transition: var(--dremax-transition);
    text-decoration: none !important;
}

/* Kolor ikony / SVG w stanie domyślnym */
.delete-from-cart a i,
.delete-from-cart a svg,
.delete-from-cart a span {
    color: #dc2626 !important;
    fill: #dc2626 !important;
    transition: var(--dremax-transition);
}

/* Stan po najechaniu myszką (Hover) */
.delete-from-cart a:hover {
    background-color: #dc2626 !important;
    border-color: #dc2626 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

/* Wymuszenie białego koloru ikony / SVG po najechaniu */
.delete-from-cart a:hover i,
.delete-from-cart a:hover svg,
.delete-from-cart a:hover span {
    color: #ffffff !important;
    fill: #ffffff !important;
}
.product_img_inside_cart img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* Usztywnienie kontenera miniatury produktu */
.cart-product-img {
    width: 90px;
    height: 90px;
    background-color: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cart-product-img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Szablon boksu konfiguracji wariantów */
.sprice small div.text-start {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-left: 3px solid var(--dremax-accent);
    padding: 10px 14px;
    border-radius: 8px;
    margin-top: 4px;
    font-size: 0.815rem;
    color: #374151;
    line-height: 1.55;
    word-break: break-word;
}
/* ==========================================================================
   DREMAX PREMIUM CONFIGURATION STYLES
   ========================================================================== */

/* Nagłówek sekcji "KONFIGURACJA" */
.config-header {
    font-size: 0.7rem !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #64748b !important;
    font-weight: 700 !important;
    display: block;
    margin-bottom: 6px;
}

/* Główny kontener kafelka */
.config-summary-box {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--dremax-accent);
    border-radius: 10px;
    padding: 8px 12px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.01);
}

/* Pojedynczy wiersz opcji */
.config-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 0.8125rem;
    line-height: 1.45;
}

.config-row:last-child {
    border-bottom: none;
    padding-bottom: 2px;
}

.config-row:first-child {
    padding-top: 2px;
}

/* Etykieta cechy (lewa strona) */
.config-label {
    font-weight: 600;
    color: #475569;
    flex-shrink: 0;
    max-width: 45%;
}

/* Wybrana wartość (prawa strona) */
.config-value {
    font-weight: 500;
    color: #0f172a;
    text-align: right;
    flex-grow: 1;
    word-break: break-word;
}

/* Plakietka z dodatkową ceną / dopłatą */
.config-badge {
    display: inline-block;
    background-color: rgba(83, 105, 43, 0.1);
    color: var(--dremax-accent);
    font-weight: 700;
    font-size: 0.725rem;
    padding: 1px 7px;
    border-radius: 6px;
    margin-left: 4px;
    white-space: nowrap;
}
/* ==========================================================================
   DREMAX PREMIUM SUMMARY WIDGET
   ========================================================================== */

.summary-premium {
    border-radius: var(--dremax-radius) !important;
    border: 1px solid var(--dremax-border-color) !important;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05) !important;
    position: sticky;
    top: 24px;
    overflow: hidden;
}

.summary-title {
    color: var(--dremax-primary);
    font-size: 1.1rem;
}

/* Wiersz kwotowy */
.summary-row {
    font-size: 0.95rem;
}

/* Duża kwota podsumowania */
.summary-grand-total {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--dremax-accent);
}

/* Przycisk głowny Checkout */
.btn-dremax-submit {
    background-color: var(--dremax-accent) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 0.95rem !important;
    box-shadow: 0 4px 14px rgba(83, 105, 43, 0.3) !important;
    transition: var(--dremax-transition) !important;
}

.btn-dremax-submit:hover {
    background-color: var(--dremax-accent-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(83, 105, 43, 0.4) !important;
    color: #ffffff !important;
}

.btn-dremax-submit svg {
    transition: transform 0.2s ease;
}

.btn-dremax-submit:hover svg {
    transform: translateX(4px);
}

/* Opcje Dostawy wewnątrz widgetu */
.methods_delivery_catcher .deivery_option {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 8px !important;
    transition: var(--dremax-transition);
}

.methods_delivery_catcher .deivery_option:hover {
    border-color: var(--dremax-accent);
    background-color: #ffffff;
}

/* Boks promocji / progów */
.summary-promo-badge {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Wersje mobilne */
@media (max-width: 575.98px) {
    .config-row {
        flex-direction: column;
        gap: 2px;
    }
    .config-label,
    .config-value {
        max-width: 100%;
        text-align: left;
    }
}
/* ==========================================================================
   SEKCJA BLOGA - DREMAX PREMIUM
   ========================================================================== */



/* Accent bar przy tytule */
.dremax-accent-bar {
    display: inline-block;
    width: 5px;
    height: 28px;
    background-color: var(--dremax-primary);
    border-radius: 4px;
}

/* Karta wpisu blogowego w siatce */
.blog-card-item {
    border-color: var(--dremax-border-color) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}

.blog-card-item:hover {
    transform: translateY(-4px);
    border-color: var(--dremax-primary) !important;
    box-shadow: 0 12px 24px rgba(83, 105, 43, 0.12) !important;
}

/* Dopasowanie obrazków wewnątrz ładowanych szablonów html */
.blog-card-item img,
.blog-card-full-wrapper img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    transition: transform 0.4s ease !important;
}

.blog-card-item:hover img {
    transform: scale(1.03);
}

/* Pudełko na obrazek */
.blog-card-item .img-wrapper,
.blog-card-item .post-thumbnail {
    overflow: hidden;
    border-bottom: 1px solid var(--dremax-border-color);
}

/* Typografia w kafelkach */
.blog-card-item h3,
.blog-card-item h4,
.blog-card-item .title {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    transition: color 0.2s ease !important;
    line-height: 1.4 !important;
}

.blog-card-item:hover h3,
.blog-card-item:hover h4,
.blog-card-item:hover .title {
    color: var(--dremax-primary) !important;
}

/* Wypunktowanie daty i metadanych */
.blog-card-item .date,
.blog-card-item .post-date {
    font-size: 0.8rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
}

/* Stylizacja Pagination z CodeIgniter */
.blog-pagination-wrapper ul,
.blog-pagination-wrapper .pagination {
    display: flex !important;
    gap: 6px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.blog-pagination-wrapper a,
.blog-pagination-wrapper span,
.blog-pagination-wrapper strong {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 40px !important;
    height: 40px !important;
    padding: 0 14px !important;
    border-radius: 10px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: #334155 !important;
    background-color: #ffffff !important;
    border: 1px solid var(--dremax-border-color) !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.blog-pagination-wrapper a:hover {
    background-color: var(--dremax-primary) !important;
    border-color: var(--dremax-primary) !important;
    color: #ffffff !important;
}

.blog-pagination-wrapper strong,
.blog-pagination-wrapper .active span,
.blog-pagination-wrapper .active a {
    background-color: var(--dremax-primary) !important;
    border-color: var(--dremax-primary) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(83, 105, 43, 0.25) !important;
}
/* Styling kontenera i generowanego tagu <img> w zmiennej $img */
/* ==========================================================================
   KAFELEK WPISU BLOGOWEGO - DREMAX ULTRA PREMIUM
   ========================================================================== */

/* Kontener główny kafelka */
.blog-card-item {
    border: 1px solid var(--dremax-border) !important;
    border-radius: 16px !important;
    background-color: #ffffff !important;
    transition: var(--dremax-transition) !important;
    overflow: hidden !important;
    box-shadow: var(--dremax-shadow-sm) !important;
    position: relative;
    will-change: transform, box-shadow;
}

.blog-card-item:hover {
    border-color: var(--dremax-border-hover) !important;
    transform: translateY(-6px) !important;
    box-shadow: var(--dremax-shadow-hover) !important;
}

/* Obrazek i efekt Zoom + Overlay */
.blog-card-img-holder {
    aspect-ratio: 16 / 10;
    background-color: #f8fafc;
    overflow: hidden;
    position: relative;
}

/* Subtelny gradientowy film na zdjęciu dodający głębi */
.blog-card-img-holder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(15, 23, 42, 0.25) 100%);
    opacity: 0.4;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.blog-card-item:hover .blog-card-img-holder::after {
    opacity: 0.15;
}

.blog-card-img-holder img,
.blog-card-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease !important;
    will-change: transform;
}

.blog-card-item:hover .blog-card-img-holder img,
.blog-card-item:hover .blog-card-img {
    transform: scale(1.06) !important;
    filter: brightness(1.02);
}

/* Tytuł wpisu z płynną zmianą koloru i dopasowaniem optycznym */
.blog-card-title {
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    letter-spacing: -0.01em;
}

.blog-card-title a {
    color: var(--dremax-dark) !important;
    transition: color 0.25s ease !important;
}

.blog-card-item:hover .blog-card-title a,
.blog-card-title a:hover {
    color: var(--dremax-primary) !important;
}

/* Zajawka tekstu z czytelnym wygładzaniem i limitem wierszy */
.blog-card-excerpt {
    color: var(--dremax-muted) !important;
    font-size: 0.885rem !important;
    line-height: 1.6 !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1.25rem !important;
}

/* Linia podziału stopki z miękkim przejściem */
.blog-card-footer {
    border-top: 1px solid #f1f5f9 !important;
    transition: border-color 0.3s ease !important;
}

.blog-card-item:hover .blog-card-footer {
    border-color: #e2e8f0 !important;
}

/* Sekcja daty z delikatną ikoną */
.blog-card-date {
    color: #94a3b8 !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
}

.blog-card-date i {
    color: var(--dremax-primary) !important;
    opacity: 0.85;
    transition: transform 0.3s ease;
}

.blog-card-item:hover .blog-card-date i {
    transform: scale(1.15);
}

/* Przycisk / Link CZYTAJ w formie mikro-pigułki */
.blog-card-link {
    color: var(--dremax-primary) !important;
    font-size: 0.775rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em;
    padding: 6px 14px;
    border-radius: 20px;
    background-color: var(--dremax-primary-light);
    transition: var(--dremax-transition) !important;
}

.blog-card-link i {
    font-size: 0.725rem;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

/* Interakcja przycisku na hover całego kafelka */
.blog-card-item:hover .blog-card-link {
    color: #ffffff !important;
    background-color: var(--dremax-primary) !important;
    box-shadow: 0 4px 10px rgba(83, 105, 43, 0.25);
}

.blog-card-item:hover .blog-card-link i {
    transform: translateX(4px);
}
.configurator-part.modal-option{
display: none;
}
.modal-container .configurator-part.modal-option{
    display: unset!important;
}
/*.showlisthandle{*/
/*    display: none!important;*/
/*}*/
/*.modal-container .showlisthandle{*/
/*    display: unset!important;*/
/*}*/
/*KONIEC*/
/* Wyzerowanie górnych odstępów na wszystkich kontenerach nagłówka */
header.fh,
header.fh .swiper,
header.fh .swiper-wrapper,
header.fh .swiper-slide,
header.fh .fh-item,
header.fh .fh-item-bg {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Wymuszenie wyzerowania marginesów i usunięcie luki pod obrazkiem */
header.fh .fh-item-bg img {
    display: block;
    margin-top: 0 !important;
    vertical-align: top;
}
@media (max-width: 767.98px) {
    /* Wymuszenie dopasowania wysokości slajdera do realnej zawartości */
    header.fh,
    header.fh .swiper,
    header.fh .swiper-wrapper,
    header.fh .swiper-slide,
    header.fh .fh-item {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    /* Zmniejszenie/wyzerowanie czarnego pola pod przyciskiem */
    header.fh .fh-item-content {
        padding-bottom: 15px !important; /* Daj 0px jeśli chcesz usunąć odstęp całkowicie */
        height: auto !important;
    }

    /* Usunięcie domyślnych marginesów Bootstrapa pod przyciskiem */
    header.fh .fh-actions,
    header.fh .container,
    header.fh .row,
    header.fh .col-12 {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
}
/* ==========================================================================
   STRONA "O NAS / DLA FIRM" & FORMULARZ - DREMAX PREMIUM
   ========================================================================== */

/* Tło strony i ogólne ustawienia */
.bg-dremax-page {
    background-color: #fafafa;
}

/* Karta główna treści */
.dremax-company-card,
.dremax-form-card {
    border-color: #e2e8f0 !important;
    background-color: #ffffff !important;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.04) !important;
}

/* Zielony pasek przy tytule */
.dremax-accent-bar {
    display: inline-block;
    width: 4px;
    height: 28px;
    background-color: var(--dremax-primary, #526425);
    border-radius: 4px;
}

/* Ikona w nagłówku formularza */
.goto-icon-box {
    width: 44px;
    height: 44px;
    background-color: var(--dremax-primary-light, #f4f6f0);
    border: 1px solid var(--dremax-primary-border, #d2dcb8);
    font-size: 1.1rem;
}

.text-dremax {
    color: var(--dremax-primary, #526425) !important;
}

.extra-small {
    font-size: 0.725rem;
    letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   FORMATOWANIE TREŚCI "O NAS" (Poprawne marginesy i typografia)
   -------------------------------------------------------------------------- */
.dremax-rich-text {
    font-size: 1rem;
    line-height: 1.75;
    color: #334155;
}

/* Reset nakładających się nagłówków z CMS */
.dremax-rich-text h1,
.dremax-rich-text h2,
.dremax-rich-text h3,
.dremax-rich-text h4 {
    color: var(--dremax-text-dark, #1e293b);
    font-weight: 700;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
    clear: both;
    display: block;
    width: 100%;
}

.dremax-rich-text h2:first-child,
.dremax-rich-text h3:first-child {
    margin-top: 0 !important;
}

.dremax-rich-text p {
    margin-bottom: 1.5rem !important;
}

/* Okiełznanie dwukolumnowych układów tekstowych, jeśli pochodzą z HTML */
.dremax-rich-text .row {
    margin-left: -12px;
    margin-right: -12px;
}

.dremax-rich-text [class*="col-"] {
    padding-left: 12px;
    padding-right: 12px;
}

/* --------------------------------------------------------------------------
   STYLIZACJA FORMULARZA KONTAKTOWEGO
   -------------------------------------------------------------------------- */
.dremax-form-wrapper .form-group,
.dremax-form-wrapper .mb-3 {
    margin-bottom: 1.25rem !important;
}

/* Etykiety pól */
.dremax-form-wrapper label {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    margin-bottom: 0.4rem !important;
    display: block;
}

/* Pola tekstowe i textarea */
.dremax-form-wrapper input[type="text"],
.dremax-form-wrapper input[type="email"],
.dremax-form-wrapper input[type="tel"],
.dremax-form-wrapper textarea,
.dremax-form-wrapper .form-control {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    font-size: 0.9rem !important;
    color: #0f172a !important;
    transition: all 0.2s ease-in-out !important;
    width: 100%;
}

.dremax-form-wrapper textarea {
    min-height: 120px;
    resize: vertical;
}

.dremax-form-wrapper input:focus,
.dremax-form-wrapper textarea:focus,
.dremax-form-wrapper .form-control:focus {
    background-color: #ffffff !important;
    border-color: var(--dremax-primary, #526425) !important;
    box-shadow: 0 0 0 4px rgba(82, 100, 37, 0.12) !important;
    outline: none !important;
}

/* KLAUZULA RODO / CHECKBOX */
.dremax-form-wrapper .form-check,
.dremax-form-wrapper .rodo-clause {
    background-color: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    padding: 12px 14px 12px 36px !important;
    margin-bottom: 1.5rem !important;
    position: relative;
}

.dremax-form-wrapper .form-check-input,
.dremax-form-wrapper input[type="checkbox"] {
    position: absolute;
    left: 12px;
    top: 14px;
    margin: 0;
    accent-color: var(--dremax-primary, #526425);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.dremax-form-wrapper .form-check-label,
.dremax-form-wrapper .rodo-text {
    font-size: 0.75rem !important;
    line-height: 1.5 !important;
    color: #64748b !important;
    font-weight: 400 !important;
    margin: 0 !important;
}

/* PRZYCISK WYŚLIJ (CTA) */
.dremax-form-wrapper button[type="submit"],
.dremax-form-wrapper input[type="submit"],
.dremax-form-wrapper .btn-submit {
    width: 100% !important;
    background-color: var(--dremax-primary, #526425) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 14px 24px !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 14px rgba(82, 100, 37, 0.25) !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.dremax-form-wrapper button[type="submit"]:hover,
.dremax-form-wrapper input[type="submit"]:hover,
.dremax-form-wrapper .btn-submit:hover {
    background-color: var(--dremax-primary-hover, #41501c) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(82, 100, 37, 0.35) !important;
}

.dremax-form-wrapper button[type="submit"]:active,
.dremax-form-wrapper input[type="submit"]:active,
.dremax-form-wrapper .btn-submit:active {
    transform: translateY(0) !important;
}
/* ==========================================================================
   POPRAWKA MARGINESÓW STRONY I IKONY FORMULARZA - DREMAX PREMIUM
   ========================================================================== */

/* Fix marginesów bocznych całej strony */
.container-wide {
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 28px !important;
    padding-right: 28px !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    .container-wide {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* Wymuszenie wyświetlania i wycentrowania ikony w nagłówku formularza */
.goto-icon-box {
    width: 46px !important;
    height: 46px !important;
    background-color: var(--dremax-primary-light, #f4f6f0) !important;
    border: 1px solid var(--dremax-primary-border, #d2dcb8) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.goto-icon-box i {
    font-size: 1.15rem !important;
    color: var(--dremax-primary, #526425) !important;
    line-height: 1 !important;
    display: inline-block !important;
}

/* Stylizacja nagłówków w sekcji treści (eliminowanie nakładania się) */
.dremax-rich-text h1,
.dremax-rich-text h2,
.dremax-rich-text h3 {
    color: var(--dremax-text-dark, #1e293b) !important;
    font-weight: 700 !important;
    margin-top: 1.75rem !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.3 !important;
}

.dremax-rich-text h2:first-child,
.dremax-rich-text h3:first-child {
    margin-top: 0 !important;
}

/* Stylizacja przycisku w formularzu z ikoną strzałki */
.dremax-form-wrapper button[type="submit"],
.dremax-form-wrapper input[type="submit"],
.dremax-form-wrapper .btn-submit {
    width: 100% !important;
    background-color: var(--dremax-primary, #526425) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 14px 20px !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 14px rgba(82, 100, 37, 0.25) !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.dremax-form-wrapper button[type="submit"]:hover,
.dremax-form-wrapper input[type="submit"]:hover,
.dremax-form-wrapper .btn-submit:hover {
    background-color: var(--dremax-primary-hover, #41501c) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(82, 100, 37, 0.35) !important;
}
/* ==========================================================================
   POPRAWKI FORMULARZA & CHECKBOXA RODO - DREMAX PREMIUM
   ========================================================================== */

/* 1. GWARANTOWANA WIDOCZNOŚĆ IKONY NAGŁÓWKA */
.goto-icon-box {
    width: 48px !important;
    height: 48px !important;
    background-color: var(--dremax-primary-light, #f4f6f0) !important;
    border: 1px solid var(--dremax-primary-border, #d2dcb8) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.goto-icon-box svg {
    stroke: var(--dremax-primary, #526425) !important;
    width: 22px !important;
    height: 22px !important;
}

.goto-icon-box i {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome !important;
    font-weight: 900 !important;
    font-size: 1.2rem !important;
    color: var(--dremax-primary, #526425) !important;
    display: inline-block !important;
}

/* 2. NAPRAWA BOXA KLAUZULI RODO / CHECKBOXA */
.dremax-form-wrapper .form-check,
.dremax-form-wrapper .checkbox,
.dremax-form-wrapper div[class*="rodo"],
.dremax-form-wrapper div[class*="clause"],
.dremax-form-wrapper .rodo-accept-box {
    background-color: var(--dremax-primary-light, #f4f6f0) !important;
    border: 1px solid var(--dremax-primary-border, #d2dcb8) !important;
    border-radius: 12px !important;
    padding: 12px 14px !important;
    margin-top: 1.25rem !important;
    margin-bottom: 1.5rem !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    max-height: 140px !important;
    overflow-y: auto !important;
    box-sizing: border-box !important;
}

/* Usunięcie brzydkiego zielonego paska przewijania (scrollbara) */
.dremax-form-wrapper div::-webkit-scrollbar {
    width: 4px !important;
}

.dremax-form-wrapper div::-webkit-scrollbar-track {
    background: transparent !important;
}

.dremax-form-wrapper div::-webkit-scrollbar-thumb {
    background-color: var(--dremax-primary-border, #d2dcb8) !important;
    border-radius: 4px !important;
}

/* 3. OLIWKOWY CHECKBOX W STYLU DREMAX */
.dremax-form-wrapper input[type="checkbox"] {
    accent-color: var(--dremax-primary, #526425) !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    margin: 2px 0 0 0 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    position: static !important;
}

/* 4. NAPRAWA TEKSTU W KLAUZULI RODO */
.dremax-form-wrapper .form-check-label,
.dremax-form-wrapper label[for*="check"],
.dremax-form-wrapper .rodo-text,
.dremax-form-wrapper input[type="checkbox"] + label {
    font-size: 0.775rem !important;
    line-height: 1.45 !important;
    color: #475569 !important;
    font-weight: 500 !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
    display: block !important;
}
/* ==========================================================================
   CUSTOM CHECKBOX DREMAX - WYRAŹNY STAN ZAZNACZENIA
   ========================================================================== */

/* Wygląd domyślny checkboxa (niezaznaczony) */
.dremax-form-wrapper input[type="checkbox"] {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    background-color: #ffffff !important;
    border: 2px solid var(--dremax-primary, #526425) !important;
    border-radius: 6px !important;
    outline: none !important;
    cursor: pointer !important;
    position: relative !important;
    margin: 1px 10px 0 0 !important;
    padding: 0 !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    flex-shrink: 0 !important;
}

/* Hover na niezaznaczonym */
.dremax-form-wrapper input[type="checkbox"]:hover {
    border-color: var(--dremax-primary-hover, #41501c) !important;
    box-shadow: 0 0 0 3px rgba(82, 100, 37, 0.15) !important;
    background-color: #fcfdfe !important;
}

/* STAN ZAZNACZONY (:checked) - Oliwkowe tło + Biała ptaszka SVG */
.dremax-form-wrapper input[type="checkbox"]:checked {
    background-color: var(--dremax-primary, #526425) !important;
    border-color: var(--dremax-primary, #526425) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 14px 14px !important;
    box-shadow: 0 2px 8px rgba(82, 100, 37, 0.35) !important;
}

/* Focus z klawiatury */
.dremax-form-wrapper input[type="checkbox"]:focus-visible {
    box-shadow: 0 0 0 4px rgba(82, 100, 37, 0.25) !important;
}
/* ==========================================================================
   ANIMACJE KART I IKONY FORMULARZA - DREMAX PREMIUM (ULTRA SMOOTH)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. PŁYNNY HOVER I WEJŚCIE DLA KART (DREMAX CARDS)
   -------------------------------------------------------------------------- */

/* Animacja łagodnego pojawiania się kart przy załadowaniu strony */
@keyframes dremaxCardFadeIn {
    0% {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.dremax-company-card,
.dremax-form-card {
    animation: dremaxCardFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;

    /* Eliminacja pikselozy i mikromigotania krawędzi na silnikach Blink/WebKit */
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
    will-change: transform, box-shadow;

    /* Organiczne, aksamitne przejście (zmiękczona krzywa hamowania) */
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.4s ease !important;
}

/* Ultra płynne, miękkie uniesienie karty po najechaniu */
.dremax-company-card:hover,
.dremax-form-card:hover {
    transform: translate3d(0, -5px, 0) !important;
    /* Wielowarstwowa chmura miękkiego cienia */
    box-shadow: 0 16px 32px -8px rgba(82, 100, 37, 0.12),
    0 6px 16px -4px rgba(0, 0, 0, 0.02) !important;
    border-color: var(--dremax-primary-border, #d2dcb8) !important;
}


/* --------------------------------------------------------------------------
   2. RUSZAJĄCA SIĘ IKONA FORMULARZA (EFEKT KOSZYKA / WIGGLE EFFECT)
   -------------------------------------------------------------------------- */

@keyframes dremaxCartWiggle {
    0%, 70%, 100% {
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    }
    75% {
        transform: translate3d(0, 0, 0) rotate(-10deg) scale(1.05);
    }
    80% {
        transform: translate3d(0, 0, 0) rotate(8deg) scale(1.05);
    }
    85% {
        transform: translate3d(0, 0, 0) rotate(-5deg) scale(1.02);
    }
    90% {
        transform: translate3d(0, 0, 0) rotate(3deg) scale(1.02);
    }
    95% {
        transform: translate3d(0, 0, 0) rotate(-1deg) scale(1);
    }
}

.goto-icon-box {
    animation: dremaxCartWiggle 4s infinite ease-in-out !important;
    transform-origin: center bottom !important;
    will-change: transform;
}
/* ==========================================================================
   DREMAX PREMIUM FAQ - DEDYKOWANE STYLE MOBILNE (< 992px)
   ========================================================================== */

@media (max-width: 991.98px) {

    /* 1. POZIOMY PASEK KATEGORII (PIGUŁKI Z PŁYNNYM SCROLLEM) */
    .dremax-mobile-tabs-container {
        margin-left: -12px;
        margin-right: -12px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .dremax-mobile-tabs-scroll {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
        padding: 4px 2px 12px 2px;
        scrollbar-width: none; /* Firefox */
    }

    .dremax-mobile-tabs-scroll::-webkit-scrollbar {
        display: none; /* Chrome / Safari */
    }

    /* Przycisk pigułki na mobilce */
    .dremax-mobile-tab-btn {
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        white-space: nowrap !important;
        padding: 10px 18px !important;
        border-radius: 50px !important;
        background-color: #f4f6f0 !important;
        border: 1px solid #d2dcb8 !important;
        color: #334155 !important;
        font-size: 0.875rem !important;
        font-weight: 600 !important;
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
        flex-shrink: 0 !important;
    }

    .dremax-mobile-tab-btn .icon {
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        color: var(--dremax-primary, #526425);
    }

    /* Stan Aktywny Pigułki (Oliwkowy Dremax) */
    .dremax-mobile-tab-btn.active {
        background-color: var(--dremax-primary, #526425) !important;
        border-color: var(--dremax-primary, #526425) !important;
        color: #ffffff !important;
        box-shadow: 0 4px 12px rgba(82, 100, 37, 0.25) !important;
    }

    .dremax-mobile-tab-btn.active .icon {
        color: #ffffff !important;
    }

    /* 2. STYLIZACJA AKORDEONÓW MOBILNYCH */
    .dremax-faq-accordion .accordion-item {
        border-radius: 14px !important;
        border: 1px solid #e2e8f0 !important;
        background-color: #ffffff !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
        overflow: hidden !important;
    }

    .dremax-faq-accordion .accordion-button {
        padding: 16px 18px !important;
        font-size: 0.935rem !important;
        font-weight: 600 !important;
        color: #1e293b !important;
        background-color: #ffffff !important;
        box-shadow: none !important;
    }

    .dremax-faq-accordion .accordion-button:not(.collapsed) {
        background-color: #fcfdfe !important;
        color: var(--dremax-primary, #526425) !important;
        border-bottom: 1px solid #f1f5f9 !important;
    }

    .dremax-faq-accordion .accordion-body {
        padding: 16px 18px !important;
        font-size: 0.885rem !important;
        line-height: 1.6 !important;
        color: #475569 !important;
    }

    /* 3. KARTY POMOCNICZE NA DOLE MOBILKI */
    .dremax-help-card {
        border-color: #e2e8f0 !important;
        transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    }

    .text-dremax {
        color: var(--dremax-primary, #526425) !important;
    }

    .btn-dremax-olive {
        background-color: var(--dremax-primary, #526425) !important;
        color: #ffffff !important;
        border: none !important;
        font-weight: 600 !important;
    }

    .btn-dremax-olive:hover,
    .btn-dremax-olive:active {
        background-color: var(--dremax-primary-hover, #41501c) !important;
        color: #ffffff !important;
    }
}
.btn-dremax-olive {
    background-color: var(--dremax-primary, #526425) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 600 !important;
}

.btn-dremax-olive:hover,
.btn-dremax-olive:active {
    background-color: var(--dremax-primary-hover, #41501c) !important;
    color: #ffffff !important;
}
.recomend-products-pagination {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
}
@media (max-width: 991.98px) {
    .collapse-bigmenu {
        max-height: 60vh; /* Ograniczenie wysokości rozwijanego okna */
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Zapewnienie, że siatka kategorii układana jest pionowo na mobilce */
    .bigmenu-category-grid {
        display: flex;
        flex-direction: column;
        height: auto !important;
    }
}

@media (max-width: 1199.98px) {
    /* 1. Cała sekcja jako jeden zielony blok */
    .section.benefits .benefits-green,
    .benefits-green {
        background-color: #7ba029 !important;
        padding: 24px 16px !important;

    }


    .benefits-green,
    .benefits-green .container,
    .benefits-green .row,
    .benefits-green .col-12,
    .benefits-green .benefits-box {
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
    }


    .benefits-green .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
    }

    .benefits-green .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        --bs-gutter-x: 0 !important;
        --bs-gutter-y: 0 !important;
    }

    .benefits-green .col-12 {
        padding: 0 !important;
        margin: 0 !important;
    }


    .benefits-green .benefits-box {
        display: flex !important;
        align-items: center !important;
        padding: 16px 8px !important;
        margin: 0 !important;
    }

    /* Usunięcie dolnej linii z ostatniego elementu */
    .benefits-green .col-12:last-child .benefits-box {
        border-bottom: none !important;
    }

    /* 5. Czytelny biały tekst */
    .benefits-green .benefits-content,
    .benefits-green .benefits-content p {
        color: #ffffff !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
    }
}
@media (max-width: 767.98px) {
    /* Blokada zgniatania się ikonek w kontenerach typu flex */
    .header-icon-badge,
    .info-icon,
    .alert-icon-badge,
    .alert-inline-icon,
    .input-icon,
    .step-number,
    i[class*="ph-"] {
        flex-shrink: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Wyrównanie ikonek wewnątrz pól input (zapobiega nakładaniu się na tekst) */
    .premium-input-wrapper {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
    }

    .premium-input-wrapper .input-icon {
        position: absolute !important;
        left: 14px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 5 !important;
        pointer-events: none !important;
        line-height: 1 !important;
    }

    .premium-input-wrapper .premium-input {
        padding-left: 2.75rem !important;
    }

    /* Poprawka dla paska kroków (Step Indicator) */
    .step-item {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .step-number {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        border-radius: 50% !important;
        line-height: 1 !important;
    }

    /* Poprawka dla bannerów oraz alertów z ikonkami */
    .premium-inline-alert,
    .info-mini-card,
    .login-prompt-banner {
        display: flex !important;
        align-items: center !important;
    }

    .alert-inline-icon {
        margin-right: 10px !important;
    }
}
/* Zapobieganie obcinaniu paska i podpowiedzi wyszukiwania na urządzeniach mobilnych */
.navbar-middle,
.navbar-middle-inner {
    overflow: visible !important;
}

@media (max-width: 991.98px) {
    .navbar-middle-inner {
        flex-wrap: wrap !important;
    }

    .navbar-search {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 10px;
    }

    .navbar-search-form {
        display: flex;
        align-items: center;
        width: 100%;
        position: relative;
    }

    .navbar-search-input {
        flex-grow: 1;
        width: 100%;
    }

    .navbar-search-input input {
        width: 100% !important;
        box-sizing: border-box;
    }

    /* Rozwijana lista wyników pod polem wyszukiwania */
    .search-results-container {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 9999;
        background: #fff;
        max-height: 350px;
        overflow-y: auto;
    }
}
/* 1. Odblokowanie ucinania w nagłówku */
header,
.header,
.navbar,
.navbar-middle,
.navbar-middle-inner,
.navbar-search {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
}

/* 2. Pozycjonowanie formularza jako punktu odniesienia */
.navbar-search-form {
    position: relative !important;
    width: 100% !important;
}

/* 3. Wyciągnięcie wyników na wierzch (floating dropdown) */
#search_results1,
.search-results-container {
    position: absolute !important;
    top: calc(100% + 4px) !important; /* Pojawia się tuż pod polem wyszukiwania */
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99999 !important; /* Wyświetla wyniki NAD wszystkimi innymi elementami strony */
    background: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
    max-height: 350px !important;
    overflow-y: auto !important; /* Przewijanie listy, gdy wyników jest dużo */
}
/*start*/

/* =========================================
   HYBRYDOWE FILTRY (MOBILE)
   ========================================= */
.smart-filters-wrapper {
    position: fixed;
    top: 0;
    left: -110%; /* Ukryte po lewej stronie poza ekranem */
    width: 900px;
    max-width: 90vw;
    height: 100vh;
    background: #fff;
    z-index: 1550;
    transition: left 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: 0 0 20px rgba(0,0,0,0.15);
    overflow-y: auto;
}

.smart-filters-wrapper.show-panel {
    left: 0; /* Menu wyjeżdża */
}

/* Przyciemniane tło w tle */
.smart-filters-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
}

.smart-filters-backdrop.show-panel {
    opacity: 1;
    visibility: visible;
}

/* Blokada scrollowania strony w tle */
body.filters-open {
    overflow: hidden;
}


/* =========================================
   HYBRYDOWE FILTRY (PC / DESKTOP)
   ========================================= */
@media (min-width: 992px) {
    .smart-filters-wrapper {
        /* Wrzucamy kontener z powrotem w naturalny układ strony HTML */
        position: static;
        width: 100%;
        max-width: none;
        height: auto;
        background: transparent;
        z-index: auto;
        padding: 0;
        box-shadow: none;
        overflow-y: visible;
        display: block;
        transition: none; /* Wyłączamy animacje na PC */
    }

    .smart-filters-backdrop {
        display: none !important;
    }
}


/* =========================================
   HYBRYDOWE SORTOWANIE (MOBILE)
   ========================================= */
.smart-sort-wrapper {
    position: fixed;
    top: 0;
    right: -110%; /* Ukryte po PRAWEJ stronie poza ekranem */
    width: 320px;
    max-width: 90vw;
    height: 100vh;
    background: #fff;
    z-index: 1550;
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: 0 0 20px rgba(0,0,0,0.15);
    overflow-y: auto;
}

/* Klasa aktywująca wyjazd panelu */
.smart-sort-wrapper.show-panel {
    right: 0;
}

/* =========================================
   HYBRYDOWE SORTOWANIE (PC / DESKTOP)
   ========================================= */
@media (min-width: 992px) {
    .smart-sort-wrapper {
        /* Wrzucamy kontener z powrotem w naturalny układ obok np. nagłówków */
        position: static;
        width: auto;
        max-width: none;
        height: auto;
        background: transparent;
        z-index: auto;
        padding: 0;
        box-shadow: none;
        overflow-y: visible;
        display: block;
        transition: none; /* Wyłączamy animacje na PC */
    }
    .smart-filters-wrapper{
        background: var(--theme-E9E9E9)!important;
    }
}

/* ==========================================================================
   DREMAX PREMIUM - STYLIZACJA KOSZYKA I ZAMÓWIENIA (ORDER_ADDRESS.PHP)
   ========================================================================== */

/* Zmienne kolorów Dremax */
:root {
    --dremax-primary: #526425;
    --dremax-primary-hover: #41501c;
    --dremax-light-bg: #f5f7f2;
    --dremax-border-subtle: #d2dcb8;
}

/* Kolorystyka tekstów i tła */
.text-dremax {
    color: var(--dremax-primary, #526425) !important;
}

.bg-dremax-light-green {
    background-color: var(--dremax-light-bg, #f5f7f2) !important;
}

.border-dremax-subtle {
    border-color: var(--dremax-border-subtle, #d2dcb8) !important;
}

/* Przycisk Główny Dremax (Oliwkowy) */
.btn-dremax-olive {
    background-color: var(--dremax-primary, #526425) !important;
    color: #ffffff !important;
    border: 1px solid var(--dremax-primary, #526425) !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-dremax-olive:hover,
.btn-dremax-olive:focus,
.btn-dremax-olive:active {
    background-color: var(--dremax-primary-hover, #41501c) !important;
    border-color: var(--dremax-primary-hover, #41501c) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(82, 100, 37, 0.25) !important;
}

/* Karty podsumowania */
.dremax-card {
    border-color: #e2e8f0 !important;
    transition: box-shadow 0.3s ease;
}

/* Tabela produktów w podsumowaniu */
.dremax-cart-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
}

.dremax-cart-table tbody tr:last-child {
    border-bottom: none;
}

/* Dostosowanie pól formularzy ładowanych dynamicznie w $content */
.dremax-form-content input[type="text"],
.dremax-form-content input[type="email"],
.dremax-form-content input[type="tel"],
.dremax-form-content select,
.dremax-form-content textarea {
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    padding: 10px 14px !important;
    font-size: 0.95rem !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.dremax-form-content input:focus,
.dremax-form-content select:focus,
.dremax-form-content textarea:focus {
    border-color: var(--dremax-primary, #526425) !important;
    box-shadow: 0 0 0 3px rgba(82, 100, 37, 0.15) !important;
}
/* ==========================================================================
   DREMAX PREMIUM - ZIELONY WARNING & ANIMACJE (ORDER_ADDRESS.PHP)
   ========================================================================== */

/* 1. ZIELONY ALERT / WARNING DREMAX PREMIUM */
.dremax-alert-green {
    background: linear-gradient(135deg, #f4f7ee 0%, #eaf0df 100%) !important;
    border: 1px solid #c8d8a3 !important;
    box-shadow: 0 4px 14px rgba(82, 100, 37, 0.06) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    overflow: hidden;
}

/* Subtelny pasek dekoracyjny z lewej strony */
.dremax-alert-green::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--dremax-primary, #526425);
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.dremax-alert-icon-bg {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(82, 100, 37, 0.12);
    animation: dremaxPulseGreen 2.5s infinite;
}

.text-dark-emerald {
    color: #2c3a12 !important;
    line-height: 1.4;
}

/* 2. ANIMACJE KLUCZOWE (KEYFRAMES) */
@keyframes dremaxFadeUp {
    0% {
        opacity: 0;
        transform: translateY(16px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dremaxPulseGreen {
    0% {
        box-shadow: 0 0 0 0 rgba(82, 100, 37, 0.3);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(82, 100, 37, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(82, 100, 37, 0);
    }
}

/* Klasa płynnego wejścia kart */
.dremax-animate-fade-up {
    animation: dremaxFadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.dremax-card {
    animation: dremaxFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 3. ULEPSZONE MIKROINTERAKCJE FORMULARZA & PRZYCISKÓW */
.dremax-form-content input[type="text"]:focus,
.dremax-form-content input[type="email"]:focus,
.dremax-form-content input[type="password"]:focus {
    border-color: var(--dremax-primary, #526425) !important;
    box-shadow: 0 0 0 4px rgba(82, 100, 37, 0.15) !important;
    transform: translateY(-1px);
}

/* Przycisk Główny z animacją strzałki */
.btn-dremax-olive {
    position: relative;
    overflow: hidden;
}

.btn-dremax-olive i {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-dremax-olive:hover i {
    transform: translateX(5px);
}

/* Płynne podświetlanie pozycji produktów w tabeli */
.dremax-cart-table tbody tr {
    transition: background-color 0.2s ease;
}

.dremax-cart-table tbody tr:hover {
    background-color: #fcfdfe;
}
/* ==========================================================================
   DREMAX PREMIUM - FORMULARZ LOGOWANIA I BEZ REJESTRACJI (LOGIN_CONTENT)
   ========================================================================== */

/* Pola wejściowe (Inputy) */
.dremax-form-content .form-control,
.dremax-form-content input[type="text"],
.dremax-form-content input[type="email"],
.dremax-form-content input[type="password"] {
    background-color: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    font-size: 0.95rem !important;
    color: #1e293b !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.dremax-form-content .form-control:focus,
.dremax-form-content input[type="text"]:focus,
.dremax-form-content input[type="email"]:focus,
.dremax-form-content input[type="password"]:focus {
    background-color: #ffffff !important;
    border-color: #526425 !important;
    box-shadow: 0 0 0 4px rgba(82, 100, 37, 0.12) !important;
    outline: none !important;
}

/* Przycisk Logowania (Główny - Oliwkowy) */
.btn-dremax-submit {
    background-color: #526425 !important;
    color: #ffffff !important;
    border: 1px solid #526425 !important;
    border-radius: 10px !important;
    padding: 11px 26px !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.2px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-dremax-submit:hover {
    background-color: #41501c !important;
    border-color: #41501c !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(82, 100, 37, 0.25) !important;
    transform: translateY(-1px);
}

/* Przycisk "Kupuję bez konta" (Elegancki Outline) */
.btn-dremax-guest {
    background-color: #ffffff !important;
    color: #1e293b !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    padding: 12px 28px !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

.btn-dremax-guest:hover {
    background-color: #f8fafc !important;
    border-color: #526425 !important;
    color: #526425 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    transform: translateY(-1px);
}

/* Linki pomocnicze */
.dremax-form-content a.text-dremax-link {
    color: #526425;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.dremax-form-content a.text-dremax-link:hover {
    color: #41501c;
    text-decoration: underline;
}

/* Stylizowana lista korzyści posiadania konta */
.dremax-benefits-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin-bottom: 0 !important;
}

.dremax-benefits-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    color: #475569;
    font-size: 0.9rem;
    font-weight: 500;
}

.dremax-benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background-color: #eaf0df;
    color: #526425;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}
/* ==========================================================================
   FORMULARZ DOSTAWY I PŁATNOŚCI (SHIPPING_FORM)
   ========================================================================== */

/* Sekcje formularza */
.dremax-checkout-section {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.dremax-checkout-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Pola tekstowe i selecty */
.dremax-checkout-section .form-control,
.dremax-checkout-section .form-select,
.dremax-checkout-section select {
    background-color: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-size: 0.925rem !important;
    color: #0f172a !important;
    transition: all 0.2s ease !important;
}

.dremax-checkout-section .form-control:focus,
.dremax-checkout-section .form-select:focus,
.dremax-checkout-section select:focus {
    background-color: #ffffff !important;
    border-color: #526425 !important;
    box-shadow: 0 0 0 3px rgba(82, 100, 37, 0.12) !important;
    outline: none !important;
}

/* Etykiety pól */
.dremax-field-label {
    font-size: 0.825rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
    display: block;
}

/* Przełączniki (Radio) */
.dremax-radio-box {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.dremax-radio-options label {
    font-weight: 500;
    font-size: 0.9rem;
    color: #334155;
    cursor: pointer;
}

.dremax-radio-options input[type="radio"] {
    accent-color: #526425;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Przycisk auto-uzupełniania danych faktury */
.btn-complete-invoice {
    background-color: #eaf0df;
    color: #526425;
    border: 1px dashed #a3b875;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-complete-invoice:hover {
    background-color: #dce6cc;
    color: #41501c;
}

/* Przycisk akcji na dole */
.btn-dremax-checkout-submit {
    background-color: #526425 !important;
    color: #ffffff !important;
    border: 1px solid #526425 !important;
    border-radius: 10px !important;
    padding: 12px 28px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    transition: all 0.25s ease !important;
}

.btn-dremax-checkout-submit:hover {
    background-color: #41501c !important;
    border-color: #41501c !important;
    box-shadow: 0 6px 18px rgba(82, 100, 37, 0.25) !important;
    transform: translateY(-1px);
}
/* Zielony / Oliwkowy Checkbox Bootstrap 5 */
#accept_reg.form-check-input:checked,
.form-check-input:checked {
    background-color: #526425 !important;
    border-color: #526425 !important;
}

#accept_reg.form-check-input:focus,
.form-check-input:focus {
    border-color: #526425 !important;
    box-shadow: 0 0 0 0.25rem rgba(82, 100, 37, 0.25) !important;
}

/* Opcjonalnie: lekko większy checkbox i kursor rączki */
.form-check-input,
.form-check-label {
    cursor: pointer;
}

.form-check-input {
    width: 1.15em;
    height: 1.15em;
}
/* ==========================================================================
   FORMULARZ DOSTAWY I PŁATNOŚCI - EFEKTY WIZUALNE & MIKROINTERAKCJE
   ========================================================================== */

/* 1. KARTY SEKCJI & HOVER/FOCUS EFEKTY */
.dremax-checkout-section {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 26px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

/* Podświetlenie całej sekcji, gdy użytkownik do niej kliknie/pisze */
.dremax-checkout-section:focus-within,
.dremax-checkout-section:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.dremax-checkout-section:focus-within {
    border-color: #a3b875 !important;
    box-shadow: 0 10px 28px rgba(82, 100, 37, 0.08) !important;
}

.dremax-checkout-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dremax-checkout-title i {
    transition: transform 0.3s ease;
}

.dremax-checkout-section:focus-within .dremax-checkout-title i {
    transform: scale(1.18);
}

/* 2. POLA WEJŚCIOWE (INPUTS & SELECTS) */
.dremax-checkout-section .form-control,
.dremax-checkout-section .form-select,
.dremax-checkout-section select {
    background-color: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 11px 15px !important;
    font-size: 0.925rem !important;
    color: #0f172a !important;
    transition: all 0.25s ease !important;
}

.dremax-checkout-section .form-control:focus,
.dremax-checkout-section .form-select:focus,
.dremax-checkout-section select:focus {
    background-color: #ffffff !important;
    border-color: #526425 !important;
    box-shadow: 0 0 0 4px rgba(82, 100, 37, 0.15) !important;
    transform: translateY(-1px);
    outline: none !important;
}

.dremax-field-label {
    font-size: 0.825rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
    display: block;
}

/* 3. INTERAKTYWNE KAFELKI RADIO (TAK / NIE) */
.dremax-radio-box {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.dremax-radio-option {
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.dremax-radio-option:hover {
    background-color: #f1f5f9;
}

.dremax-radio-option:has(input:checked) {
    background-color: #ffffff;
    border-color: #526425;
    box-shadow: 0 2px 8px rgba(82, 100, 37, 0.12);
    color: #526425;
    font-weight: 600;
}

.dremax-radio-option input[type="radio"] {
    accent-color: #526425;
    width: 17px;
    height: 17px;
    cursor: pointer;
}

/* 4. PRZYCISK KODU AUTO-UZUPEŁNIANIA I FLASH ANIMACJA */
.btn-complete-invoice {
    background-color: #eaf0df;
    color: #526425;
    border: 1px dashed #a3b875;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-complete-invoice:hover {
    background-color: #526425;
    color: #ffffff;
    border-style: solid;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(82, 100, 37, 0.2);
}

.btn-complete-invoice:active {
    transform: translateY(0);
}

/* Keyframes dla rozbłysku po automatycznym uzupełnieniu danych */
@keyframes fieldFlash {
    0% { background-color: rgba(82, 100, 37, 0.25) !important; border-color: #526425 !important; }
    100% { background-color: #f8fafc !important; }
}

.field-autofilled {
    animation: fieldFlash 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* 5. ZIELONY CHECKBOX AKCEPTACJI REGULAMINU */
.dremax-checkbox-container {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.25s ease;
}

.dremax-checkbox-container:hover {
    background: #ffffff;
    border-color: #cbd5e1;
}

.dremax-checkbox {
    width: 1.25em !important;
    height: 1.25em !important;
    margin-top: 0 !important;
    cursor: pointer;
    border-radius: 6px !important;
    border: 2px solid #cbd5e1 !important;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.dremax-checkbox:checked {
    background-color: #526425 !important;
    border-color: #526425 !important;
    transform: scale(1.1);
}

.dremax-checkbox:focus {
    border-color: #526425 !important;
    box-shadow: 0 0 0 4px rgba(82, 100, 37, 0.18) !important;
}

/* 6. PRZYCISK ZAMÓWIENIA Z EFEKTEM SHINE */
.btn-dremax-checkout-submit {
    position: relative;
    overflow: hidden;
    background-color: #526425 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 14px 32px !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    letter-spacing: 0.2px;
    box-shadow: 0 4px 14px rgba(82, 100, 37, 0.25) !important;
    transition: all 0.3s ease !important;
}

/* Błysk promienia po przycisku */
.btn-dremax-checkout-submit::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
            60deg,
            rgba(255, 255, 255, 0) 20%,
            rgba(255, 255, 255, 0.35) 50%,
            rgba(255, 255, 255, 0) 80%
    );
    transform: rotate(25deg);
    transition: all 0.6s ease;
}

.btn-dremax-checkout-submit:hover::after {
    left: 120%;
}
.btn-dremax-checkout-submit:hover {
    background-color: #41501c !important;
    box-shadow: 0 8px 25px rgba(82, 100, 37, 0.35) !important;
    transform: translateY(-2px);
}

.btn-dremax-checkout-submit:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(82, 100, 37, 0.2) !important;
}
.btn-dremax-checkout-submit:hover i {
    transform: translateX(4px);
}
.btn-dremax-checkout-submit i {
    transition: transform 0.25s ease;
}
/* Kompaktowy box z radio buttonami */
.dremax-radio-box {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    height: auto !important;     /* Zapobiega rozciąganiu w pionie */
    align-self: flex-start;      /* Wymusza dopasowanie do własnej zawartości */
}

.dremax-radio-box > span {
    margin: 0;
    line-height: 1.3;
}

.dremax-radio-options {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
}

/* Zwarta wersja pionowa tylko dla bardzo wąskich ekranów */
@media (max-width: 400px) {
    .dremax-radio-box {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start; /* Trzyma elementy blisko siebie */
        gap: 8px;                    /* Mała, kontrolowana przerwa */
    }
}








/* 1. Ustawienie kontenera w tryb flex (elementy w jednym wierszu) */
#custom-sort-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-end !important; /* Wyrównanie do prawej strony */
    gap: 12px !important; /* Odstęp między napisem a przyciskiem */
}

/* 2. Formatowanie napisu "Sortowanie:" */
#custom-sort-wrapper .form-label {
    margin-bottom: 0 !important; /* Usunięcie dolnego odstępu Bootstrapa */
    white-space: nowrap !important; /* Blokada załamywania tekstu */
}

/* 3. Nadpisanie klasy w-100 z przycisku button */
#custom-sort-wrapper button.btn-filter,
#custom-sort-wrapper .btn-filter.w-100 {
    width: auto !important; /* Wymuszenie dopasowania szerokości do zawartości */
    flex: 0 1 auto !important;
}

/* 4. Rozwijana lista pod spodem (musi zajmować pełną szerokość 100% pod buttonem) */
#custom-sort-wrapper #collapse_sort {
    flex: 0 0 100% !important;
    width: 100% !important;
}
/* 1. Kontener flex z zezwoleniem na zawijanie tylko dla menu */
#custom-sort-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-end !important; /* Wyrównanie do prawej */
    gap: 10px !important; /* Odstęp między napisem a przyciskiem */
}

/* 2. Napis "Sortowanie:" obok przycisku */
#custom-sort-wrapper .form-label,
#custom-sort-wrapper label {
    display: inline-block !important; /* Nadpisuje bootstrapowe d-lg-block !important */
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    white-space: nowrap !important;
    order: 1 !important;
}

/* 3. Przycisk (zamiast 100% szerokości zajmuje tyle, ile potrzebuje) */
#custom-sort-wrapper .btn-filter,
#custom-sort-wrapper button {
    width: auto !important; /* Nadpisuje bootstrapowe w-100 !important */
    flex: 0 0 auto !important;
    margin: 0 !important;
    order: 2 !important;
}

/* 4. Menu rozwijane po kliknięciu - przechodzi do nowej linii pod spodem */
#custom-sort-wrapper #collapse_sort {
    flex: 0 0 100% !important;
    width: 100% !important;
    order: 3 !important;
}
.navbar-account a[data-favitems]:not([data-favitems="0"])::after,
.navbar-account .btn[data-favitems]:not([data-favitems="0"])::after {
    content: attr(data-favitems);
    position: absolute;
    top: 0;
    right: 0;
    -webkit-transform: translate(50%, -50%);
    transform: translate(50%, -50%);
    border-radius: 50%;
    color: var(--theme-white);
    background-color: var(--theme-7a9826);
    border: 1px solid var(--theme-white);
    font-size: var(--caption-size);
    width: 20px;
    height: 20px;
    padding: 0.25rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    font-weight: 400;
}





/* Układ wierszy konfiguracji (Grid zapobiega ściskaniu tekstu) */
.configurator-summary-row {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 2px 8px !important;
    padding: 10px 0 !important;
    border-bottom: 1px dashed #e2e8f0;
}

/* Wybrana wartość (np. "Blat - wystający...") */
.configurator-summary-row > span.flex-grow-1 {
    grid-column: 1 / span 2 !important;
    grid-row: 2 !important;
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.4;
    word-break: break-word;
    padding-top: 2px;
}
/* --- REGULACJA NACHODZENIA IKON NA CENĘ W OPCJACH KONFIGURATORA --- */



/* Jeśli ikona zaznaczenia (::after / ::before) jest pozycjonowana absolute z prawej strony */
.configurator-option::after,
.configurator-option::before {
    right: 10px !important;
    top: 63% !important;
    transform: translateY(-63%) !important;
    z-index: 1 !important;
}
.order-summary-mobile .configurator-summary-row {
    margin: 0 !important;
}

.order-summary{
    max-height: 100% !important;
}
/* Kontener mobilnych przycisków - wyśrodkowany */
.mobile-actions-wrapper {
    display: flex;
    align-items: center;
    justify-content: center; /* Wyśrodkowanie przycisków */
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 16px;
    width: 100%;
}

/* Wygląd pojedynczego przycisku-pigułki */
.btn-mobile-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}

.btn-mobile-pill:hover,
.btn-mobile-pill:active {
    background-color: #f9f9f9;
    border-color: #cccccc;
    color: var(--theme-7a9826)!important;
}

/* Oliwkowo-zielony kolor ikon jak na zdjęciu wzorcowym */
.btn-mobile-pill .icon-green {
    color: #729712;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
}
@media (max-width: 991.98px) {
    /* 1. Wymuszenie skrolowania w całym głównym kontenerze */
    .navbar-bottom-inner {
        max-height: calc(100vh - 200px) !important; /* 120px = wysokość paska nad menu (logo + wyszukiwarka) */
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        background-color: #ffffff !important; /* Tło zapobiegające prześwitywaniu strony */
    }

    /* 2. Wyłączenie pętli skrolowania wewnątrz rozwiniętych sekcji (np. #collapseBigMenuMeble) */
    .navbar-bottom-inner .collapse-bigmenu,
    .navbar-bottom-inner .collapse-bigmenu .bigmenu-content,
    .navbar-bottom-inner .collapse-bigmenu .bigmenu-category-grid {
        max-height: none !important;
        overflow: visible !important;
    }

    /* 3. Upewnienie się, że lista nie blokuje wysokości */
    .navbar-bottom-list {
        height: auto !important;
        overflow: visible !important;
    }
}
