/* Loja, categorias e temas. */
body.soso-archive { --sa-rose: #984665; --sa-ink: #162a45; --sa-navy: #183457; --sa-border: #e9dfe1; --sa-muted: #5d6672; }
body.soso-archive .shop-content { max-width: 1280px; margin: 0 auto; padding: 28px 32px 72px; }

/* Cabeçalho */
.soso-sa-header { margin: 0 0 22px; }
.soso-sa-crumbs { font-size: .8rem; color: var(--sa-muted); margin: 0 0 18px; }
.soso-sa-crumbs a { color: var(--sa-muted); text-decoration: underline; text-underline-offset: 2px; }
.soso-sa-eyebrow { margin: 0 0 8px; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 700; color: var(--sa-rose); }
.soso-sa-title { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 600; line-height: 1.1; letter-spacing: -.035em; margin: 0 0 12px; color: var(--sa-ink); }
.soso-sa-desc { max-width: 760px; }
.soso-sa-desc__text { font-size: .95rem; color: #3b4a5f; line-height: 1.6; max-height: 4.8em; overflow: hidden; }
.soso-sa-desc__text p { margin: 0 0 .6em; }
.soso-sa-desc__text p:last-child { margin-bottom: 0; }
.soso-sa-desc.is-open .soso-sa-desc__text { max-height: none; }
.soso-sa-desc__more { margin: 4px 0 0; padding: 0; border: 0; background: none; font: 700 .84rem 'DM Sans', sans-serif; color: var(--sa-rose); text-decoration: underline; cursor: pointer; }
.soso-sa-perks { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 14px 0 0; font-size: .84rem; color: #3b4a5f; }
.soso-sa-perks span { white-space: nowrap; }

/* Filtros rápidos */
.soso-sa-chips { margin: 0 0 18px; }
.soso-sa-chips__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.soso-chip { display: inline-flex; align-items: center; min-height: 38px; padding: .45rem 1rem; border: 1px solid var(--sa-border); border-radius: 999px; background: #fff; color: var(--sa-ink); font-size: .86rem; font-weight: 600; white-space: nowrap; transition: border-color .2s, background .2s, color .2s; }
.soso-chip:hover { border-color: var(--sa-navy); }
.soso-chip.is-active { background: var(--sa-navy); border-color: var(--sa-navy); color: #fff; }
.soso-chip.is-pack:not(.is-active) { border-color: #ecd8df; background: #f8f1f3; color: var(--sa-rose); }
.soso-sa-chips__sep { width: 1px; height: 24px; background: var(--sa-border); margin: 0 4px; }

/* Faixa dos packs */
.soso-sa-packs { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; padding: 12px 18px; background: #f8f1f3; border: 1px solid #ecd8df; border-radius: 12px; color: var(--sa-ink); font-size: .9rem; transition: border-color .2s; }
.soso-sa-packs:hover { border-color: var(--sa-rose); }
.soso-sa-packs__tag { background: var(--sa-rose); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 99px; }
.soso-sa-packs__text b { color: var(--sa-rose); }
.soso-sa-packs__go { margin-left: auto; font-weight: 700; color: var(--sa-rose); white-space: nowrap; }

/* Barra: contagem + ordenação */
.soso-sa-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 18px; padding: 12px 0; border-top: 1px solid var(--sa-border); }
body.soso-archive .soso-sa-toolbar .woocommerce-result-count { margin: 0; float: none; font-size: .86rem; color: var(--sa-muted); }
body.soso-archive .soso-sa-toolbar .woocommerce-ordering { margin: 0; float: none; }
body.soso-archive .woocommerce-ordering select { appearance: none; -webkit-appearance: none; min-height: 40px; padding: .45rem 2.4rem .45rem 1rem; border: 1px solid var(--sa-border); border-radius: 999px; font: 600 .86rem 'DM Sans', sans-serif; color: var(--sa-ink); cursor: pointer;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23183457' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 1rem center; }
body.soso-archive .woocommerce-ordering select:focus-visible { outline: 3px solid var(--sa-rose); outline-offset: 2px; }

/* Grelha e cartões */
body.soso-archive ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 0 !important; padding: 0; }
body.soso-archive ul.products::before, body.soso-archive ul.products::after { display: none !important; }
body.soso-archive ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; padding: 12px 12px 16px !important; border: 1px solid var(--sa-border); border-radius: 12px; background: #fffcf9; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
body.soso-archive ul.products li.product:hover { box-shadow: 0 14px 30px #603a4a17; transform: translateY(-3px); }
body.soso-archive ul.products li.product a img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #f7f0ef; border-radius: 8px !important; margin: 0 0 12px !important; }
body.soso-archive ul.products li.product .woocommerce-loop-product__title { font-size: .95rem !important; font-weight: 600; line-height: 1.35; padding: 0 0 6px !important; margin: 0; color: var(--sa-ink); }
body.soso-archive ul.products li.product .soso-season-badge { align-self: flex-start; margin: 0 0 8px; }
body.soso-archive ul.products li.product .price { display: block; color: var(--sa-navy) !important; font-size: 1.05rem !important; font-weight: 700; margin: 0 0 12px !important; }
body.soso-archive ul.products li.product .button { margin-top: auto !important; width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 8px !important; background: var(--sa-navy) !important; color: #fff !important; font: 700 .88rem 'DM Sans', sans-serif !important; padding: .7rem !important; }
body.soso-archive ul.products li.product .button:hover { background: var(--sa-rose) !important; }
body.soso-archive ul.products li.product .added_to_cart { display: block; text-align: center; padding-top: .5rem; font-size: .8rem; text-decoration: underline; color: var(--sa-rose); }
body.soso-archive .woocommerce-info { border-radius: 12px; }

@media (max-width: 1023px) {
    body.soso-archive .shop-content { padding: 20px 24px 56px; }
    body.soso-archive ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 780px) {
    body.soso-archive .shop-content { padding: 14px 18px 40px; }
    .soso-sa-crumbs { margin-bottom: 12px; font-size: .75rem; }
    .soso-sa-perks { display: none; }
    .soso-sa-title { font-size: 1.9rem; margin-bottom: 8px; }
    .soso-sa-desc__text { font-size: .9rem; max-height: 3.2em; }
    .soso-sa-header { margin-bottom: 16px; }
    .soso-sa-chips { margin: 0 -18px 14px; }
    .soso-sa-chips__row { flex-wrap: nowrap; overflow-x: auto; padding: 2px 18px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .soso-sa-chips__row::-webkit-scrollbar { display: none; }
    .soso-chip { min-height: 36px; padding: .4rem .9rem; font-size: .84rem; }
    .soso-sa-packs { gap: 10px; padding: 10px 12px; font-size: .82rem; margin-bottom: 14px; }
    .soso-sa-packs__tag { display: none; }
    .soso-sa-packs__go { font-size: 0; }
    .soso-sa-packs__go span { font-size: 1.1rem; }
    .soso-sa-toolbar { padding: 8px 0; margin-bottom: 12px; gap: 10px; }
    body.soso-archive .soso-sa-toolbar .woocommerce-result-count { font-size: .76rem; }
    body.soso-archive .woocommerce-ordering select { min-height: 36px; font-size: .8rem; padding: .35rem 2rem .35rem .8rem; background-position: right .75rem center; }
    body.soso-archive ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    body.soso-archive ul.products li.product { padding: 8px 8px 12px !important; }
    body.soso-archive ul.products li.product .woocommerce-loop-product__title { font-size: .88rem !important; }
    body.soso-archive ul.products li.product .price { font-size: .98rem !important; margin-bottom: 10px !important; }
    body.soso-archive ul.products li.product .button { min-height: 40px; font-size: .82rem !important; }
    .soso-card-kind { font-size: .62rem; }
}
@media (max-width: 340px) {
    .soso-sa-toolbar { flex-wrap: wrap; }
}

/* Designs grátis */
.soso-chip.is-free:not(.is-active) { border-color: #bfe0cf; background: #eef8f2; color: #2f7a5a; }
.soso-chip.is-free.is-active { background: #2f7a5a; border-color: #2f7a5a; }
.soso-sa-free { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 2.2fr); gap: 24px; align-items: center; margin: 0 0 22px; padding: 18px; background: #eef8f2; border: 1px solid #cfe8da; border-radius: 16px; }
.soso-sa-free__tag { display: inline-block; background: #2f7a5a; color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .65rem; border-radius: 99px; }
.soso-sa-free h2 { font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; margin: 10px 0 6px; color: var(--sa-ink); }
.soso-sa-free p { margin: 0 0 10px; font-size: .86rem; color: #3b4a5f; }
.soso-sa-free__all { font-weight: 700; font-size: .86rem; color: #2f7a5a; text-decoration: underline; }
.soso-sa-free__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.soso-sa-free__list a { display: flex; flex-direction: column; height: 100%; padding: 8px; background: #fff; border: 1px solid #d8ebe0; border-radius: 12px; color: var(--sa-ink); transition: transform .2s, border-color .2s; }
.soso-sa-free__list a:hover { transform: translateY(-3px); border-color: #2f7a5a; }
.soso-sa-free__list img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.soso-sa-free__name { font-size: .84rem; font-weight: 600; line-height: 1.3; margin: 8px 2px 4px; }
.soso-sa-free__cta { margin: auto 2px 2px; font-size: .78rem; font-weight: 700; color: #2f7a5a; }
@media (max-width: 1023px) {
    .soso-sa-free { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 780px) {
    .soso-sa-free { padding: 14px; margin-bottom: 14px; }
    .soso-sa-free h2 { font-size: 1.1rem; margin-top: 6px; }
    .soso-sa-free p { display: none; }
    .soso-sa-free__intro { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
    .soso-sa-free__intro h2 { flex: 1 1 100%; margin: 0; }
    .soso-sa-free__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 -14px; padding: 0 14px 4px; scroll-padding-inline: 14px; scrollbar-width: none; }
    .soso-sa-free__list::-webkit-scrollbar { display: none; }
    .soso-sa-free__list li { flex: 0 0 38%; scroll-snap-align: start; }
}
