/* ==========================================================================
   Brisala SEO Turinys – komponentų stiliai
   Visi selektoriai su prefiksu .bse- kad nesikirstų su Astra / Tailwind
   ========================================================================== */

:root {
    --bse-accent: #c2185b;      /* brisala rožinė – keisk laisvai */
    --bse-accent-dark: #8e0e40;
    --bse-bg-soft: #fdf2f6;
    --bse-border: #f0d4df;
    --bse-text: #2b2b2b;
    --bse-muted: #6b6b6b;
    --bse-radius: 14px;
}

.bse-cta,
.bse-cat,
.bse-products,
.bse-product,
.bse-faq,
.bse-toc {
    font-family: inherit;
    color: var(--bse-text);
    line-height: 1.6;
    box-sizing: border-box;
}
.bse-cta *,
.bse-cat *,
.bse-products *,
.bse-faq * { box-sizing: border-box; }

/* ---------- Turinys (TOC) ---------- */
.bse-toc {
    background: var(--bse-bg-soft);
    border: 1px solid var(--bse-border);
    border-radius: var(--bse-radius);
    padding: 18px 22px;
    margin: 0 0 30px;
}
.bse-toc__title {
    font-weight: 700;
    font-size: 1.05rem;
    margin: 0 0 10px;
}
.bse-toc ul { margin: 0; padding-left: 18px; }
.bse-toc li { margin: 4px 0; }
.bse-toc a { color: var(--bse-accent-dark); text-decoration: none; }
.bse-toc a:hover { text-decoration: underline; }

/* ---------- CTA juosta ---------- */
.bse-cta {
    background: linear-gradient(135deg, var(--bse-accent), var(--bse-accent-dark));
    color: #fff;
    border-radius: var(--bse-radius);
    padding: 28px 30px;
    margin: 34px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    box-shadow: 0 10px 26px rgba(194,24,91,.18);
}
.bse-cta--light {
    background: var(--bse-bg-soft);
    color: var(--bse-text);
    border: 1px solid var(--bse-border);
    box-shadow: none;
}
.bse-cta__body { flex: 1 1 280px; }
.bse-cta__title { font-size: 1.3rem; font-weight: 800; margin: 0 0 6px; }
.bse-cta__text { margin: 0; opacity: .95; }
.bse-cta__btn {
    display: inline-block;
    background: #fff;
    color: var(--bse-accent-dark);
    font-weight: 700;
    text-decoration: none;
    padding: 13px 26px;
    border-radius: 999px;
    white-space: nowrap;
    transition: transform .15s ease, box-shadow .15s ease;
}
.bse-cta--light .bse-cta__btn {
    background: var(--bse-accent);
    color: #fff;
}
.bse-cta__btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.18); }

/* ---------- Kategorijos blokas ---------- */
.bse-cat {
    border: 1px solid var(--bse-border);
    border-left: 5px solid var(--bse-accent);
    border-radius: var(--bse-radius);
    padding: 22px 26px;
    margin: 30px 0;
    background: #fff;
}
.bse-cat__title { font-size: 1.15rem; font-weight: 800; margin: 0 0 6px; }
.bse-cat__text { margin: 0 0 14px; color: var(--bse-muted); }
.bse-cat__btn {
    display: inline-block;
    background: var(--bse-accent);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 11px 22px;
    border-radius: 999px;
}
.bse-cat__btn:hover { background: var(--bse-accent-dark); }

/* ---------- Produktų kortelės ---------- */
.bse-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    margin: 30px 0;
}
.bse-product {
    border: 1px solid var(--bse-border);
    border-radius: var(--bse-radius);
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform .15s ease, box-shadow .15s ease;
}
.bse-product:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,0,0,.08); }
.bse-product__img {
    aspect-ratio: 1 / 1;
    width: 100%;
    object-fit: cover;
    background: var(--bse-bg-soft);
    display: block;
}
.bse-product__no-img {
    aspect-ratio: 1 / 1;
    background: var(--bse-bg-soft);
    display: flex; align-items: center; justify-content: center;
    color: var(--bse-muted); font-size: .85rem;
}
.bse-product__body { padding: 14px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.bse-product__name { font-weight: 700; font-size: .98rem; margin: 0 0 8px; }
.bse-product__price { color: var(--bse-accent-dark); font-weight: 700; margin: 0 0 12px; }
.bse-product__price del { color: var(--bse-muted); font-weight: 400; margin-right: 6px; }
.bse-product__btn {
    margin-top: auto;
    text-align: center;
    background: var(--bse-accent);
    color: #fff;
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: .9rem;
}
.bse-product:hover .bse-product__btn { background: var(--bse-accent-dark); }

/* viena rekomenduojama prekė (horizontaliai) */
.bse-product--single {
    flex-direction: row;
    align-items: stretch;
    margin: 30px 0;
}
.bse-product--single .bse-product__img,
.bse-product--single .bse-product__no-img {
    width: 150px; flex: 0 0 150px; aspect-ratio: auto;
}
@media (max-width: 480px) {
    .bse-product--single { flex-direction: column; }
    .bse-product--single .bse-product__img,
    .bse-product--single .bse-product__no-img { width: 100%; flex: none; aspect-ratio: 1/1; }
}

/* ---------- DUK / FAQ ---------- */
.bse-faq { margin: 36px 0; }
.bse-faq__title { font-size: 1.4rem; font-weight: 800; margin: 0 0 16px; }
.bse-faq__item {
    border: 1px solid var(--bse-border);
    border-radius: var(--bse-radius);
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff;
}
.bse-faq__q {
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    font-size: 1rem;
    color: var(--bse-text);
    padding: 16px 50px 16px 20px;
    position: relative;
}
.bse-faq__q::after {
    content: "+";
    position: absolute;
    right: 20px; top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: var(--bse-accent);
    line-height: 1;
}
.bse-faq__item.is-open .bse-faq__q::after { content: "−"; }
.bse-faq__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}
.bse-faq__a-inner { padding: 0 20px 18px; color: var(--bse-muted); }
.bse-faq__item.is-open .bse-faq__a { max-height: 600px; }
