/* ===========================================
   Bruo — custom.css
   Własne nadpisania stylów szablonu
   =========================================== */

/* Kontener — pełna szerokość, bez paddingu */
.ast-container {
    max-width: 100% !important;
    padding: 0px !important;
    background: #FFF;
}

/* Sortowanie — select na listingu produktów */
.woocommerce-ordering select.orderby {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 8px 36px 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
}

.woocommerce-ordering select.orderby:hover {
    border-color: #d1d5db;
}

.woocommerce-ordering select.orderby:focus {
    border-color: #1f2937;
    box-shadow: 0 0 0 1px #1f2937;
}

/* Opis kategorii — zwijany (animacja sterowana z JS) */

.bruo-toggle-desc,
.bruo-toggle-desc:focus,
.bruo-toggle-desc:active {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 24px;
    padding: 0;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    font-size: 13px;
    font-weight: 600;
    color: #003450;
    text-decoration: none;
    cursor: pointer;
    transition: text-decoration 0.3s ease, margin-top 0.4s ease;
}

.bruo-toggle-desc:hover {
    color: #003450 !important;
    text-decoration: underline !important;
    background: none !important;
    box-shadow: none !important;
}

.bruo-toggle-desc svg {
    transition: transform 0.3s ease;
}

.opis-kategorii.is-expanded .bruo-toggle-desc {
    margin-top: 0px;
}

.opis-kategorii.is-expanded .bruo-toggle-desc svg {
    transform: rotate(180deg);
}

/* Breadcrumb — usunięty margines dolny */
.woocommerce-breadcrumb {
    margin-bottom: 0 !important;
}

/* Menu — przycisk "Zamów gaz" */
@media (min-width: 769px) {
    .elementor-nav-menu--layout-horizontal > .elementor-nav-menu {
        display: flex !important;
        width: 100% !important;
    }

    .elementor-nav-menu > .menu-item-722 {
        margin-left: auto !important;
    }

    .menu-item-722 > a.menu-link {
        background: #003450 !important;
        color: #eab308 !important;
        font-weight: 600 !important;
        padding: 8px 16px !important;
    }

    .menu-item-722 > a.menu-link:hover,
    .menu-item-722 > a.menu-link:active,
    .menu-item-722 > a.menu-link:focus {
        background: #003450 !important;
        color: #ffffff !important;
    }
}

/* Menu — przycisk "Wyprzedaż" */
@media (min-width: 769px) {
    .menu-item-101 > a.menu-link {
        background: #eab308 !important;
        color: #003450 !important;
        font-weight: 600 !important;
        padding: 8px 16px !important;
    }

    .menu-item-101 > a.menu-link:hover,
    .menu-item-101 > a.menu-link:active,
    .menu-item-101 > a.menu-link:focus {
        background: #ca8a04 !important;
        color: #003450 !important;
    }
}

/* Blog — obrazki w postach */
.single-post .entry-content img,
.single-post .wp-block-image img,
.single-post article img {
    margin-top: 16px;
    border-radius: 8px !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

.ast-article-single figure,
.ast-article-single img {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

.single-post figcaption {
    background: transparent;
    box-shadow: none;
    font-size: 13px;
    font-style: oblique;
    text-align: center;
}

/* ==========================================
   BLOG — CTA Box + Button
   ========================================== */

/* CTA Box — kontener z tłem */
.bruo-cta-box {
    position: relative;
    margin: 2.5em 0;
    padding: 32px 36px;
    background: linear-gradient(135deg, #003450 0%, #00476e 100%);
    border-radius: 10px;
    text-align: center;
    overflow: hidden;
}

.bruo-cta-box::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.bruo-cta-box-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.bruo-cta-box-desc {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 20px 0;
    line-height: 1.5;
}

/* CTA Button — złoty przycisk */
a.bruo-cta-btn,
a.bruo-cta-btn:visited {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #eab308;
    color: #003450 !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 8px;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(234, 179, 8, 0.3);
    line-height: 1.4;
}

a.bruo-cta-btn:hover,
a.bruo-cta-btn:focus,
a.bruo-cta-btn:active {
    background: #facc15 !important;
    color: #003450 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(234, 179, 8, 0.4);
    text-decoration: none !important;
}

a.bruo-cta-btn svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* CTA — mniejszy wariant inline (w tekście / pod sekcją) */
a.bruo-cta-btn--sm,
a.bruo-cta-btn--sm:visited {
    padding: 10px 22px;
    font-size: 13px;
    border-radius: 6px;
}

/* Blog — highlight box */
.bruo-blog-highlight {
    margin: 1.5em 0;
    padding: 18px 22px;
    background: #f0f7ff;
    border-left: 4px solid #003450;
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #1f2937;
}

.bruo-blog-highlight strong {
    color: #003450;
}

/* Responsive */
@media screen and (max-width: 600px) {
    .bruo-cta-box {
        padding: 24px 20px;
    }

    .bruo-cta-box-title {
        font-size: 17px;
    }

    .bruo-cta-box-desc {
        font-size: 13px;
    }

    a.bruo-cta-btn,
    a.bruo-cta-btn:visited {
        padding: 11px 22px;
        font-size: 13px;
        width: 100%;
        justify-content: center;
    }
}

/* Tytuły produktów na listingach — max 2 linie z wielokropkiem */
.woocommerce-loop-product__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


input, textarea {
  border: 1px solid #eee !important;
}
input:focus, textarea:focus {
  border: 1px solid #003450 !important;
}

/* Czas wysyłki — badge obok dostępności */
.bruo-shipping-notice {
    display: inline-block;
    font-family: "Poppins", Sans-serif;
    font-size: 12px !important;
    font-weight: 400;
    color: #c2410c;
    background: rgba(234, 179, 8, 0.12);
    border: 1px solid rgba(234, 179, 8, 0.35);
    border-radius: 4px;
    padding: 4px 12px;
    margin: 8px 0 0 0;
}

@media (min-width: 768px) {
    .bruo-shipping-notice {
        margin: 0 0 0 8px;
    }
}

.bruo-shipping-notice strong {
    font-weight: 700;
}

/* Ukryj bruo stock badge na stronie produktu */
.bsb-badge {
    display: none !important;
}

/* ==========================================
   SINGLE BLOG POST
   ========================================== */

/* Tło strony */
.single-post #content {
    background: #fff;
}

/* Layout — ograniczenie szerokości contentu */
.single-post .ast-container {
    max-width: 1100px !important;
    margin: 0 auto;
    padding: 0 24px !important;
}

/* Article wrapper */
.single-post .ast-article-single {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: none;
    margin-bottom: 32px;
}

.single-post .ast-article-single article {
    padding: 0;
}

/* Featured image */
.single-post .post-thumb-img-content {
    margin: 0 0 28px 0;
    border-radius: 0;
    overflow: hidden;
}

.single-post .post-thumb-img-content img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    border-radius: 0 !important;
    margin-top: 0 !important;
}

/* Entry header */
.single-post .entry-header {
    padding: 36px 40px 0;
}

.single-post .entry-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
    color: #003450;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

/* Meta info */
.single-post .entry-meta {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.single-post .entry-meta a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.15s;
}

.single-post .entry-meta a:hover {
    color: #003450;
}

/* Entry content */
.single-post .entry-content {
    padding: 0 40px 40px;
    font-size: 15px;
    line-height: 1.8;
    color: #374151;
}

.single-post .entry-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: #003450;
    margin: 1.8em 0 0.4em;
    padding-bottom: 6px;
    border-bottom: 2px solid #eab308;
    line-height: 1.3;
}

.single-post .entry-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin: 1.4em 0 0.3em;
    line-height: 1.4;
}

.single-post .entry-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin: 1.2em 0 0.25em;
}

.single-post .entry-content p {
    margin: 0 0 0.8em;
}

/* First paragraph after heading — tighter */
.single-post .entry-content h2 + p,
.single-post .entry-content h3 + p,
.single-post .entry-content h4 + p {
    margin-top: 0;
}

/* Lists */
.single-post .entry-content ul,
.single-post .entry-content ol {
    margin: 0.4em 0 0.8em;
    padding-left: 24px;
}

.single-post .entry-content ul {
    list-style: none;
    padding-left: 0;
}

.single-post .entry-content ul li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 3px;
}

.single-post .entry-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 5px;
    background: #eab308;
    border-radius: 50%;
}

.single-post .entry-content ol li {
    margin-bottom: 3px;
    padding-left: 4px;
}

/* List right after heading — no extra gap */
.single-post .entry-content h2 + ul,
.single-post .entry-content h2 + ol,
.single-post .entry-content h3 + ul,
.single-post .entry-content h3 + ol,
.single-post .entry-content p + ul,
.single-post .entry-content p + ol {
    margin-top: 0.2em;
}

/* Links */
.single-post .entry-content a {
    color: #003450;
    text-decoration: underline;
    text-decoration-color: rgba(0, 52, 80, 0.25);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.15s;
}

.single-post .entry-content a:hover {
    text-decoration-color: #003450;
}

/* Blockquotes */
.single-post .entry-content blockquote,
.single-post .entry-content .wp-block-quote {
    margin: 1.8em 0;
    padding: 20px 24px;
    background: #f8fafb;
    border-left: 4px solid #003450;
    border-radius: 0 6px 6px 0;
    font-style: italic;
    color: #4b5563;
}

.single-post .entry-content blockquote p:last-child {
    margin-bottom: 0;
}

/* Tables */
.single-post .entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 14px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.single-post .entry-content table th {
    background: #003450;
    color: #fff;
    font-weight: 600;
    padding: 10px 14px;
    text-align: left;
    font-size: 13px;
}

.single-post .entry-content table td {
    padding: 10px 14px;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
}

.single-post .entry-content table tr:nth-child(even) td {
    background: #f9fafb;
}

.single-post .entry-content table tr:hover td {
    background: #f0f7ff;
}

/* Images inside content */
.single-post .entry-content figure {
    margin: 1.8em 0;
}

/* Separator / hr */
.single-post .entry-content hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 2em 0;
}

/* Strong / bold */
.single-post .entry-content strong {
    font-weight: 600;
    color: #1f2937;
}

/* Post navigation */
.single-post .post-navigation {
    margin: 0 0 24px;
    padding: 20px 32px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.single-post .post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.single-post .post-navigation a {
    font-size: 13px;
    font-weight: 500;
    color: #003450;
    text-decoration: none;
    transition: color 0.15s;
}

.single-post .post-navigation a:hover {
    color: #eab308;
}

/* Comments */
.single-post .comments-area {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    padding: 0;
    margin-bottom: 24px;
}

.single-post .comments-title {
    font-size: 18px;
    font-weight: 700;
    color: #003450;
    margin-bottom: 20px;
}

.single-post .ast-comment-list {
    list-style: none;
    padding: 0;
}

.single-post .comment-body {
    padding: 16px 0;
    border-bottom: 1px solid #f3f4f6;
}

.single-post .comment-body:last-child {
    border-bottom: none;
}

.single-post .comment-content {
    font-size: 14px;
    line-height: 1.7;
    color: #4b5563;
}

/* ----- Formularz komentarza ----- */
.single-post #respond.comment-respond {
    background: #f9fafb;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 24px 28px;
    margin-top: 28px;
}

.single-post .comment-reply-title {
    font-size: 18px;
    font-weight: 700;
    color: #003450;
    margin: 0 0 6px;
    padding: 0;
    border: none;
}

.single-post .comment-reply-title small {
    font-size: 12px;
    font-weight: 500;
    margin-left: 10px;
}

.single-post .comment-reply-title small a {
    color: #6b7280;
    text-decoration: underline;
}

.single-post .comment-form {
    margin-top: 14px;
}

.single-post .comment-form .logged-in-as {
    font-size: 12px;
    color: #6b7280;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 10px 14px;
    margin: 0 0 14px;
    line-height: 1.6;
}

.single-post .comment-form .logged-in-as a {
    color: #003450;
    font-weight: 600;
    text-decoration: none;
}

.single-post .comment-form .logged-in-as a:hover {
    text-decoration: underline;
}

.single-post .comment-form .required-field-message {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: #9ca3af;
}

.single-post .comment-form .required {
    color: #dc2626;
}

/* Reset wszystkich wrapperów żeby textarea wyrównała się z .logged-in-as */
.single-post .comment-form .ast-row,
.single-post .comment-form .ast-row.comment-textarea {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    display: block;
}

.single-post .comment-form fieldset,
.single-post .comment-form fieldset.comment-form-comment {
    border: none;
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
    min-width: 0;
}

.single-post .comment-form legend.comment-form-legend {
    display: none;
}

.single-post .comment-form .comment-form-textarea,
.single-post .comment-form .ast-grid-common-col {
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
    display: block;
}

.single-post .comment-form input[type="text"],
.single-post .comment-form input[type="email"],
.single-post .comment-form input[type="url"],
.single-post .comment-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e5e7eb !important;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    color: #1f2937;
    transition: border-color 0.15s, box-shadow 0.15s;
    box-sizing: border-box;
}

.single-post .comment-form textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
}

.single-post .comment-form textarea::placeholder,
.single-post .comment-form input::placeholder {
    color: #9ca3af;
}

.single-post .comment-form input:focus,
.single-post .comment-form textarea:focus {
    border-color: #003450 !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 52, 80, 0.08);
}

.single-post .comment-form .form-submit {
    margin: 16px 0 0;
}

.single-post .comment-form input.submit,
.single-post .comment-form input[type="submit"].submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #eab308 !important;
    color: #003450 !important;
    border: none !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 4px !important;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(234, 179, 8, 0.3);
    line-height: 1.4;
    letter-spacing: 0.2px;
    text-transform: none;
}

.single-post .comment-form input.submit:hover,
.single-post .comment-form input.submit:focus,
.single-post .comment-form input[type="submit"].submit:hover,
.single-post .comment-form input[type="submit"].submit:focus {
    background: #facc15 !important;
    color: #003450 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(234, 179, 8, 0.4);
    outline: none;
}

.single-post .comment-form input.submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(234, 179, 8, 0.3);
}

/* Sidebar */
.single-post #secondary {
    padding-top: 8px;
}

.single-post #secondary .widget {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    padding: 20px;
    margin-bottom: 16px;
}

.single-post #secondary .widget-title {
    font-size: 14px;
    font-weight: 700;
    color: #003450;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #eab308;
}

/* ==========================================
   SINGLE BLOG POST — Table of Contents
   ========================================== */

.elementor-widget-table-of-contents {
    margin: 1.5em 0 2em;
    border: 1px solid #eee;
    border-radius: 4px;
    background: #fff !important;
}

.elementor-toc__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    cursor: pointer;
    user-select: none;
    background: #F9F9F9 !important;
    border-bottom: 1px solid #eee;
}

.elementor-toc__header::after {
    content: '';
    width: 6px;
    height: 6px;
    border-right: 1.5px solid #9ca3af;
    border-bottom: 1.5px solid #9ca3af;
    transform: rotate(45deg);
    transition: transform 0.2s;
    flex-shrink: 0;
}

.elementor-toc--collapsed .elementor-toc__header::after {
    transform: rotate(-45deg);
}

.elementor-toc__header-title {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.elementor-toc__body {
    padding: 0 16px 12px;
    max-height: 600px;
    overflow: hidden;
    background: transparent !important;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.2s ease;
    opacity: 1;
}

.elementor-toc--collapsed .elementor-toc__body {
    max-height: 0 !important;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
}

.elementor-toc__list-wrapper {
    margin: 0;
    padding-left: 16px;
    list-style: none;
}

.elementor-toc__body > .elementor-toc__list-wrapper {
    padding-left: 0;
}

.elementor-toc__list-item {
    margin-bottom: 0 !important;
    padding: 0 !important;
}

.elementor-toc__list-item-text {
    display: inline-block;
    font-size: 13px;
    line-height: 1.5;
    color: #374151;
    text-decoration: none;
    padding: 2px 0;
    transition: color 0.15s;
}

.elementor-toc__list-item-text:hover {
    color: #003450;
}

.elementor-toc__list-item-text.elementor-item-active {
    color: #003450;
    font-weight: 600;
}

.elementor-toc__list-wrapper .elementor-toc__list-wrapper {
    padding-left: 14px;
}

.elementor-toc__list-wrapper .elementor-toc__list-wrapper .elementor-toc__list-item-text {
    font-size: 13px;
    color: #000 !important;
}

.elementor-toc__list-item .elementor-toc__list-wrapper {
    margin-top: 0px !important;
}

/* ==========================================
   SINGLE BLOG POST — Responsive
   ========================================== */

@media (max-width: 921px) {
    .single-post .ast-container {
        padding: 0 16px !important;
    }

    .single-post .entry-header {
        padding: 24px 24px 0;
    }

    .single-post .entry-title {
        font-size: 22px;
    }

    .single-post .entry-content {
        padding: 0 24px 28px;
        font-size: 14px;
    }

    .single-post .entry-content h2 {
        font-size: 19px;
    }

    .single-post .entry-content h3 {
        font-size: 16px;
    }

    .single-post .comments-area {
        padding: 20px;
    }
}

@media (max-width: 544px) {
    .single-post .entry-header {
        padding: 20px 18px 0;
    }

    .single-post .entry-title {
        font-size: 20px;
    }

    .single-post .entry-content {
        padding: 0 18px 24px;
        font-size: 14px;
    }

    .single-post .entry-content h2 {
        font-size: 17px;
    }

    .single-post .post-navigation .nav-links {
        flex-direction: column;
    }

    .single-post .comments-area {
        padding: 16px;
    }
}

/* ==========================================
   A11y — kontrast „Napisz do nas" Elementor button
   ========================================== */
a.elementor-button[href*="kontakt"],
a.elementor-button[href*="kontakt"] .elementor-button-text {
    background-color: #003450 !important;
    color: #ffffff !important;
    border-color: #003450 !important;
}
a.elementor-button[href*="kontakt"]:hover,
a.elementor-button[href*="kontakt"]:focus,
a.elementor-button[href*="kontakt"]:hover .elementor-button-text,
a.elementor-button[href*="kontakt"]:focus .elementor-button-text {
    background-color: #00476e !important;
    color: #ffffff !important;
}

/* ==========================================
   CLS fix — rezerwacja przestrzeni dla sliderów przed init
   Obrazy bbs-slide-image są 1920x400 ale nie mają width/height w HTML.
   Bez aspect-ratio przeglądarka nie wie ile zarezerwować → cały
   layout skacze po załadowaniu obrazu. To dawało CLS 0.743.
   ========================================== */
.bbs-slider,
.bbs-wrapper {
    position: relative;
    min-height: 278px;
    aspect-ratio: 1920 / 400;
    max-height: 60vw;
}

.bbs-slide,
.swiper-slide.bbs-slide {
    aspect-ratio: 1920 / 400;
    overflow: hidden;
}

.bbs-slide-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1920 / 400;
    object-fit: cover;
    display: block;
}

/* Inne swiperki produktów — rezerwacja miejsca */
.elementor-widget-wp-widget-woocommerce_products .swiper-slide,
.bruo-product-carousel .swiper-slide {
    min-height: 320px;
}

/* Mobile — proporcjonalnie */
@media (max-width: 768px) {
    .bbs-slider,
    .bbs-wrapper {
        min-height: 180px;
        aspect-ratio: 4 / 3;
        max-height: 75vw;
    }
    .bbs-slide,
    .swiper-slide.bbs-slide,
    .bbs-slide-image {
        aspect-ratio: 4 / 3;
    }
}

/* ==========================================
   CLS fix — gas calculator postal check
   Widget jest w Elementor container .elementor-element-625a1fe z background image.
   Bez tej reguły plugin CSS ładuje się później i powoduje shift 0.742.
   ========================================== */
.bgc-postal-check {
    min-height: 160px;
    /* Backup styling — plugin CSS zawsze nadpisuje, ale gwarantuje że jeśli
       plugin CSS jeszcze nie dotarł, box ma już właściwy rozmiar. */
}

@media (max-width: 768px) {
    .bgc-postal-check {
        min-height: 220px;
    }
}

/* Konkretny kontener Elementor — rezerwacja przestrzeni */
.elementor-element.elementor-element-625a1fe {
    min-height: 160px;
}

@media (max-width: 768px) {
    .elementor-element.elementor-element-625a1fe {
        min-height: 220px;
    }
}

/* ============================================================
   WooCommerce — variable product select (minimalistyczny)
   ============================================================ */

.woocommerce div.product form.cart table.variations {
    display: block;
    width: 100%;
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    border-collapse: collapse;
}

.woocommerce div.product form.cart table.variations tbody,
.woocommerce div.product form.cart table.variations tr {
    display: block;
    width: 100%;
}

.woocommerce div.product form.cart table.variations tr {
    margin: 0 0 12px;
}

.woocommerce div.product form.cart table.variations tr:last-child {
    margin-bottom: 0;
}

.woocommerce div.product form.cart table.variations th.label,
.woocommerce div.product form.cart table.variations td.value {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
}

.woocommerce div.product form.cart table.variations th.label label {
    display: block;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    margin: 0 0 6px;
    padding: 0;
}

.woocommerce div.product form.cart table.variations td.value {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.woocommerce div.product form.cart table.variations select {
    flex: 1;
    min-width: 200px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 10px 40px 10px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
    font-family: inherit;
    cursor: pointer;
    transition: border-color .15s ease;
    line-height: 1.4;
    max-width: 100%;
}

.woocommerce div.product form.cart table.variations select:hover {
    border-color: #9ca3af;
}

.woocommerce div.product form.cart table.variations select:focus {
    outline: none;
    border-color: #003450;
}

.woocommerce div.product form.cart table.variations .reset_variations {
    color: #64748b;
    font-size: 12px;
    text-decoration: underline;
}

.woocommerce div.product form.cart table.variations .reset_variations:hover {
    color: #003450;
}

@media (max-width: 640px) {
    .woocommerce div.product form.cart table.variations select {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .single-post #primary {
        padding: 0px;
    }
    .single-post .ast-container {
        padding: 0px !important;
    }
    .postid-2236 table {
        font-size: 13px !important;
    }
    .postid-2236 table th,
    .postid-2236 table td {
        padding: 6px 5px !important;
        font-size: 13px !important;
    }
    .single-post h1 { font-size: 1.7em !important; }
    .single-post h2 { font-size: 1.4em !important; }
    .single-post h3 { font-size: 1.25em !important; }
    .single-post h4 { font-size: 1.15em !important; }
    .single-post h5 { font-size: 1.1em !important; }
    .single-post h6 { font-size: 1.05em !important; }
}

/* ===== Single product — nagłówki w opisie ===== */
.single-product h1,
.single-product h2,
.single-product h3,
.single-product h4,
.single-product h5,
.single-product h6 {
    font-weight: 600;
    color: #003450;
    line-height: 1.5em;
}
.single-product h1 { font-size: 26px; }
.single-product h2 { font-size: 20px; }
.single-product h3 { font-size: 18px; }
.single-product h4 { font-size: 16px; }
.single-product h5 { font-size: 15px; }
.single-product h6 { font-size: 14px; }