/* Germer Sidecart — tokens do kit: texto #090807, secundário #554843,
   divisor #E4E2E1, realce #F26222 (hover #DA581F). */

.gsc-overlay {
    position: fixed;
    inset: 0;
    background: rgba(9, 8, 7, 0.45);
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 9998;
}

.gsc-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(440px, 100vw);
    background: #fff;
    color: #090807;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    z-index: 9999;
    display: flex;
    flex-direction: column;
}

.gsc-drawer[hidden] { display: none; }

.gsc-overlay:not([hidden]).gsc-visivel { opacity: 1; }
.gsc-drawer:not([hidden]).gsc-visivel { transform: translateX(0); }

body.gsc-aberto { overflow: hidden; }

.gsc-conteudo {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.gsc-ocupado .gsc-conteudo { opacity: 0.5; pointer-events: none; }

.gsc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e4e2e1;
}

.gsc-titulo {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #090807;
}

/* Reset duro: o kit global do Elementor estiliza <button> (borda, fundo,
   radius, sombra); a especificidade do ID garante que nada vaza para os
   controles do drawer. */
#germer-sidecart button.gsc-fechar,
#germer-sidecart button.gsc-remover,
#germer-sidecart button.gsc-continuar,
#germer-sidecart button.gsc-qty-menos,
#germer-sidecart button.gsc-qty-mais {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    text-shadow: none;
    margin: 0;
    min-height: 0;
    min-width: 0;
    width: auto;
    font-family: inherit;
    cursor: pointer;
    transition: color 0.2s ease;
}

#germer-sidecart button.gsc-fechar:hover,
#germer-sidecart button.gsc-remover:hover,
#germer-sidecart button.gsc-continuar:hover,
#germer-sidecart button.gsc-qty-menos:hover,
#germer-sidecart button.gsc-qty-mais:hover {
    background: transparent;
    border: 0;
    box-shadow: none;
}

#germer-sidecart button:focus-visible {
    outline: 2px solid #f26222;
    outline-offset: 2px;
}

#germer-sidecart .gsc-fechar {
    padding: 4px;
    color: #090807;
    line-height: 0;
}

#germer-sidecart .gsc-fechar:hover { color: #554843; }

.gsc-itens {
    list-style: none;
    margin: 0;
    padding: 8px 24px;
    overflow-y: auto;
    flex: 1;
}

.gsc-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid #e4e2e1;
}

.gsc-item:last-child { border-bottom: 0; }

.gsc-item-thumb img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    display: block;
}

.gsc-item-info { flex: 1; min-width: 0; }

.gsc-item-nome {
    display: block;
    color: #090807;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    margin-bottom: 10px;
}

.gsc-item-linha {
    display: flex;
    align-items: center;
    gap: 16px;
}

.gsc-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e4e2e1;
    background: #fff;
}

#germer-sidecart .gsc-qty-menos,
#germer-sidecart .gsc-qty-mais {
    width: 32px;
    height: 32px;
    line-height: 1;
    font-size: 16px;
    color: #090807;
}

#germer-sidecart .gsc-qty-menos:hover,
#germer-sidecart .gsc-qty-mais:hover {
    color: #f26222;
}

#germer-sidecart .gsc-qty-menos:disabled,
#germer-sidecart .gsc-qty-mais:disabled {
    color: #c9c4c2;
    cursor: default;
}

.gsc-qty-valor {
    min-width: 22px;
    text-align: center;
    font-size: 14px;
    color: #090807;
}

.gsc-item-preco { font-size: 14px; font-weight: 500; color: #090807; }

#germer-sidecart .gsc-remover {
    padding: 4px;
    color: #554843;
    line-height: 0;
}

#germer-sidecart .gsc-remover:hover { color: #090807; }

.gsc-vazio {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px;
    color: #554843;
}

.gsc-rodape {
    border-top: 1px solid #e4e2e1;
    padding: 16px 24px 24px;
}

.gsc-linha {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #554843;
    padding: 4px 0;
}

.gsc-linha--total {
    color: #090807;
    font-weight: 600;
    font-size: 15px;
    padding-top: 8px;
}

.gsc-nota { font-size: 13px; color: #554843; margin: 12px 0 16px; }

.gsc-cta {
    display: block;
    background: #f26222;
    color: #fff;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 13px;
    font-weight: 600;
    padding: 15px 24px;
    border-radius: 999px;
    transition: background 0.2s ease;
}

.gsc-cta:hover { background: #da581f; color: #fff; }

#germer-sidecart .gsc-continuar {
    display: block;
    width: 100%;
    margin-top: 14px;
    padding: 8px 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 12px;
    font-weight: 500;
    color: #554843;
}

#germer-sidecart .gsc-continuar:hover { color: #090807; }

/* O CTA é um <a>; blinda contra estilos globais de link/botão do kit. */
#germer-sidecart a.gsc-cta,
#germer-sidecart a.gsc-cta:visited {
    color: #fff;
    border: 0;
    box-shadow: none;
}

/* Gatilho (widget Elementor) */
.gsc-gatilho-wrap { display: flex; }

.gsc-gatilho-wrap button.gsc-gatilho {
    position: relative;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    min-height: 0;
    min-width: 0;
    padding: 6px;
    cursor: pointer;
    color: inherit;
    line-height: 0;
}

.gsc-gatilho-wrap button.gsc-gatilho:hover {
    background: transparent;
    color: #f26222;
}

.gsc-gatilho .gsc-icone-custom {
    display: inline-block;
    line-height: 0;
}

.gsc-gatilho .gsc-icone-custom i {
    line-height: 1;
    font-size: 22px;
}

.gsc-gatilho .gsc-icone-custom svg { display: block; }

.gsc-badge {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #f26222;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
}

.gsc-badge--zero { display: none; }
