/* Carrinho lateral */
html.soso-mc-lock { overflow: hidden; }
.soso-mc { position: fixed; inset: 0; z-index: 1000; pointer-events: none; }
.soso-mc__overlay { position: absolute; inset: 0; background: rgba(22, 42, 69, .38); opacity: 0; transition: opacity .25s; }
.soso-mc__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); display: flex; flex-direction: column; background: #fffcf9; box-shadow: -12px 0 40px rgba(24, 52, 87, .18); transform: translateX(100%); transition: transform .3s ease; }
.soso-mc.is-open { pointer-events: auto; }
.soso-mc.is-open .soso-mc__overlay { opacity: 1; }
.soso-mc.is-open .soso-mc__panel { transform: none; }
.soso-mc__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid #e9dfe1; }
.soso-mc__title { margin: 0; font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 600; color: #162a45; }
.soso-mc__close { width: 38px; height: 38px; border: 1px solid #e9dfe1; border-radius: 50%; background: #fff; font-size: 1.4rem; line-height: 1; color: #183457; cursor: pointer; }
.soso-mc__close:hover { border-color: #183457; }
.soso-mc__added { margin: 0; padding: 10px 20px; background: #edf5f0; color: #2f6b4f; font-size: .88rem; font-weight: 600; }
.soso-mc__body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.soso-mc__items { flex: 1; overflow-y: auto; list-style: none; margin: 0; padding: 8px 20px; }
.soso-mc__item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #f1e8eb; }
.soso-mc__thumb img { display: block; width: 64px; height: 64px; object-fit: cover; border-radius: 10px; border: 1px solid #e9dfe1; }
.soso-mc__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.soso-mc__name { color: #162a45; font-weight: 600; font-size: .92rem; line-height: 1.3; text-decoration: none; }
.soso-mc__name:hover { color: #984665; }
.soso-mc__price { font-weight: 700; color: #183457; font-size: .92rem; }
.soso-mc__remove { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #8a93a0; font-size: 1.2rem; text-decoration: none; }
.soso-mc__remove:hover { background: #fbe9ec; color: #a33a52; }
.soso-mc__foot { padding: 16px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid #e9dfe1; background: #fff; display: grid; gap: 10px; }
.soso-mc__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1rem; color: #162a45; }
.soso-mc__total strong { font-size: 1.25rem; }
.soso-mc__btn { display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 999px; background: #183457; color: #fff !important; font-weight: 700; font-size: .95rem; text-decoration: none !important; transition: background .2s; }
.soso-mc__btn:hover { background: #984665; }
.soso-mc__btn.is-ghost { background: #fff; color: #183457 !important; border: 1px solid #183457; min-height: 44px; }
.soso-mc__btn.is-ghost:hover { background: #183457; color: #fff !important; }
.soso-mc__note { margin: 2px 0 0; text-align: center; font-size: .76rem; color: #5d6672; }
.soso-mc__empty { padding: 40px 20px; text-align: center; color: #5d6672; display: grid; gap: 14px; justify-items: center; }
.soso-mc__empty .soso-mc__btn { padding: 0 1.5rem; }
/* O link "Ver carrinho" que o WooCommerce junta ao botão deixa de ser preciso. */
ul.products li.product a.added_to_cart { display: none !important; }
@media (prefers-reduced-motion: reduce) { .soso-mc__panel, .soso-mc__overlay { transition: none; } }
