/* ===========================================
   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: transparent;
}

/* 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: #eab308 !important;
        color: #ffffff !important;
    }
}

/* ==========================================
   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;
}