/* Savonia_CategoryDesc 2026-11-03: category description split at <!--sv-cat-more-->.
   .sv-ci  = short intro under the H1, above the products
   .sv-cd  = detailed text under the product cards, clamped with a "Citeste mai mult" button
   Tokens: --sv-* from savonia-rail.css, with fallbacks. */
.sv-cat-intro { margin: 4px 0 18px; color: var(--sv-text, #2f2f2f); font-size: 15px; line-height: 1.6; max-width: 900px; }
.sv-cat-intro p { margin: 0 0 8px; color: inherit; font-size: inherit; line-height: inherit; }
.sv-cat-intro a, .sv-cat-more a { color: #4a6214; text-decoration: underline; text-underline-offset: 2px; }

.sv-cat-more {
    position: relative; margin: 32px 0 8px; padding: 22px 22px 18px; border-top: 4px solid var(--sv-green, #a9cf45);
    border-radius: var(--sv-radius, 10px); background: #fff; box-shadow: var(--sv-shadow, 0 2px 12px rgba(0, 0, 0, .07));
    color: var(--sv-text, #2f2f2f); font-size: 15px; line-height: 1.65;
}
.sv-cat-more__body { position: relative; overflow: hidden; }
.sv-cat-more.is-clamped .sv-cat-more__body { max-height: 420px; }
.sv-cat-more.is-clamped .sv-cat-more__body:after {
    content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 110px;
    background: linear-gradient(rgba(255, 255, 255, 0), #fff 85%); pointer-events: none;
}
.sv-cat-more__btn {
    display: none; align-items: center; gap: 8px; min-height: 44px; margin: 10px auto 0; padding: 0 22px;
    border: 1px solid var(--sv-green, #a9cf45); border-radius: 25px; background: var(--sv-green-soft, #f3f8e6);
    color: #4a6214; font: 600 15px/1 inherit; cursor: pointer;
}
.sv-cat-more.is-clampable .sv-cat-more__btn { display: flex; }
.sv-cat-more__btn:hover { background: #e9f3d2; }
.sv-cat-more__btn:focus-visible { outline: 2px solid #4a6214; outline-offset: 2px; }
.sv-cat-more__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s; }
.sv-cat-more:not(.is-clamped) .sv-cat-more__btn svg { transform: rotate(180deg); }

.sv-cd p, .sv-cd li { color: inherit; font-size: inherit; line-height: inherit; }
.sv-cd p { margin: 0 0 12px; }
.sv-cd h2 {
    margin: 22px 0 10px; padding: 0; color: var(--sv-text, #2f2f2f); font-size: 20px; font-weight: 600;
    line-height: 1.3; text-transform: none; letter-spacing: 0;
}
.sv-cd > h2:first-child { margin-top: 0; }
.sv-cd h3 { margin: 16px 0 8px; color: var(--sv-text, #2f2f2f); font-size: 16px; font-weight: 600; line-height: 1.35; text-transform: none; }
.sv-cd ul.sv-cd__cards {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin: 0 0 16px; padding: 0; list-style: none;
}
.sv-cd .sv-cd__cards li { margin: 0; padding: 0; list-style: none; }
.sv-cd .sv-cd__cards li:before { content: none; }
.sv-cd .sv-cd__cards a, .sv-cd .sv-cd__cards .sv-cd__card {
    display: block; height: 100%; padding: 12px 14px; border: 1px solid var(--sv-line, #ececec); border-radius: var(--sv-radius, 10px);
    background: #fff; color: var(--sv-text, #2f2f2f); text-decoration: none; transition: border-color .15s, box-shadow .15s;
}
.sv-cd .sv-cd__cards a:hover { border-color: var(--sv-green, #a9cf45); box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.sv-cd .sv-cd__k { display: block; margin: 0 0 4px; color: #4a6214; font-size: 15px; font-weight: 600; line-height: 1.35; }
.sv-cd .sv-cd__cards a .sv-cd__k:after { content: " \203A"; }
.sv-cd ul.sv-cd__picks { margin: 0 0 16px; padding-left: 20px; }
.sv-cd .sv-cd__picks li { margin: 0 0 6px; }
.sv-cd .sv-cd__tip {
    margin: 0 0 16px; padding: 12px 14px; border-left: 4px solid var(--sv-green, #a9cf45);
    border-radius: 0 var(--sv-radius, 10px) var(--sv-radius, 10px) 0; background: var(--sv-green-soft, #f3f8e6);
}
.sv-cd details.sv-cd__faq { margin: 0 0 8px; border: 1px solid var(--sv-line, #ececec); border-radius: var(--sv-radius, 10px); background: #fff; }
.sv-cd .sv-cd__faq summary {
    position: relative; min-height: 44px; padding: 12px 40px 12px 14px; font-weight: 600; line-height: 1.4; cursor: pointer; list-style: none;
}
.sv-cd .sv-cd__faq summary::-webkit-details-marker { display: none; }
.sv-cd .sv-cd__faq summary:after { content: "+"; position: absolute; top: 9px; right: 14px; color: #4a6214; font-size: 22px; font-weight: 400; line-height: 1; }
.sv-cd .sv-cd__faq[open] summary:after { content: "\2212"; }
.sv-cd .sv-cd__faq > p { margin: 0; padding: 0 14px 12px; }
.sv-cd .sv-cd__rel { margin: 18px 0 0; padding-top: 12px; border-top: 1px solid var(--sv-line, #ececec); font-size: 14px; }

@media (max-width: 767px) {
    .sv-cat-intro { font-size: 15px; margin-bottom: 14px; }
    .sv-cat-more { margin-top: 24px; padding: 16px 14px 14px; font-size: 16px; }
    .sv-cat-more.is-clamped .sv-cat-more__body { max-height: 230px; }
    .sv-cd h2 { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .sv-cat-more__btn svg { transition: none; } }
