/* Entrega — estilos do site */

.ef-ship-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    width: 100%;
}

.ef-ship-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #1a7b3d, #22a352);
    border-radius: 8px;
    color: #fff;
}

.ef-ship-icon .ef-icon {
    width: 20px;
    height: 20px;
}

.ef-ship-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.ef-ship-title {
    font-weight: 600;
    font-size: 14px;
    color: #1a7b3d;
    line-height: 1.3;
}

.ef-ship-delivery {
    font-size: 12px;
    color: #666;
    line-height: 1.3;
    margin-top: 2px;
}

.ef-ship-cost {
    font-weight: 700;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
    margin-left: auto;
}

/* Destaque da opção Envio Full: só quando selecionada (ver .ef-opt.is-checked mais abaixo). */

.ef-ship-tag {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: #1a7b3d;
    border-radius: 4px;
    vertical-align: middle;
}

@media (max-width: 480px) {
    .ef-ship-label {
        flex-wrap: wrap;
    }
    .ef-ship-cost {
        width: 100%;
        text-align: right;
        margin-top: 4px;
    }
}

/* ===== Selo "Envio Full" — layout em linha (estilo marketplace) ===== */
.ef-selo {
    --ef-accent: #00a650;          /* verde "chega hoje" */
    --ef-accent-soft: #e6f6ed;
    --ef-urgent: #c2410c;
    --ef-urgent-soft: #fff1e6;
    --ef-text: #18181b;
    --ef-muted: #71717a;
    --ef-line: #e4e4e7;

    /* Card moderno */
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 16px 0 20px;
    padding: 16px 18px;
    border: 1px solid var(--ef-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
    font-size: 14px;
    line-height: 1.45;
    color: var(--ef-text);
    font-variant-numeric: tabular-nums;
    -webkit-font-smoothing: antialiased;
}
.ef-selo:empty,
.ef-selo--hidden { display: none !important; }

/* Linha principal: caixa verde + contador */
.efs-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.efs-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--ef-accent);
}
.efs-icon svg { width: 100%; height: 100%; }
.efs-icon--muted { color: var(--ef-muted); }

.efs-headline { font-size: 15px; font-weight: 600; }
.efs-headline strong { font-weight: 700; color: var(--ef-accent); }

/* Contador em pílula */
.efs-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px 5px 9px;
    border-radius: 999px;
    background: var(--ef-accent-soft);
    color: #00733a;
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
}
.efs-pill__icon { display: inline-flex; width: 14px; height: 14px; }
.efs-pill__icon svg { width: 100%; height: 100%; }
.efs-pill--urgent { background: var(--ef-urgent-soft); color: var(--ef-urgent); }

/* Linhas secundárias */
.efs-sub,
.efs-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
    font-size: 13px;
    color: var(--ef-muted);
}
.efs-brand { font-weight: 600; color: var(--ef-text); }
.efs-price { font-weight: 500; color: var(--ef-text); }
.efs-dot { opacity: .5; }
.efs-meta__icon { display: inline-flex; width: 15px; height: 15px; margin-right: 2px; color: var(--ef-muted); }
.efs-meta__icon svg { width: 100%; height: 100%; }

/* Destino: mini-card com CEP em cima, endereço embaixo (corta com …) e "alterar" à direita */
.efs-dest {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 9px 10px 9px 12px;
    border-radius: 12px;
    background: #f6f6f7;
}
.efs-dest__icon { display: inline-flex; flex-shrink: 0; width: 18px; height: 18px; color: var(--ef-muted); }
.efs-dest__icon svg { width: 100%; height: 100%; }
.efs-dest__text { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.efs-dest__top { font-size: 13px; color: var(--ef-muted); line-height: 1.3; }
.efs-dest__top strong { color: var(--ef-text); font-weight: 600; }
.efs-dest__addr {
    font-size: 12.5px;
    color: var(--ef-text);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.efs-dest .efs-link { flex-shrink: 0; }

/* Botões em pílula, cinza-escuro: "alterar" e "Ver outras opções de frete" */
.ef-selo .efs-link,
.ef-selo .efs-more {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    min-height: 0 !important;
    height: auto !important;
    margin: 0;
    border: 0 !important;
    border-radius: 999px !important;
    background: #3f3f46 !important;
    color: #fff !important;
    font: inherit;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: background-color .15s, transform .15s;
}
.ef-selo .efs-link:hover,
.ef-selo .efs-more:hover { background: #27272a !important; text-decoration: none; }
.ef-selo .efs-more:active { transform: scale(.98); }
.ef-selo .efs-link:focus-visible,
.ef-selo .efs-more:focus-visible { outline: 2px solid #3f3f46; outline-offset: 2px; }

.ef-selo .efs-link { padding: 4px 11px !important; font-size: 12px !important; }

.ef-selo .efs-more {
    align-self: flex-start;
    margin-top: 4px;
    padding: 8px 16px !important;
    font-size: 13px !important;
}
.efs-more__chev { display: inline-block; font-size: 16px; line-height: 1; transition: transform .2s ease; }
.efs-more.is-open .efs-more__chev { transform: rotate(90deg); }

/* Lista de outras opções: caixa cinza-clara com linhas */
.efs-rates {
    margin-top: 4px;
    padding: 4px 14px;
    border: 1px solid var(--ef-line);
    border-radius: 14px;
    background: #fafafa;
}
.efs-rates.is-opening { animation: efs-open .22s ease-out; }
@keyframes efs-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.efs-rates__list { list-style: none; margin: 0 !important; padding: 0 !important; }
.efs-rate {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 !important;
    padding: 12px 0;
    border-top: 1px solid var(--ef-line);
    list-style: none;
}
.efs-rate:first-child { border-top: 0; }
.efs-rate__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--ef-line);
    color: #52525b;
}
.efs-rate__icon svg { width: 19px; height: 19px; }
.efs-rate__info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.efs-rate__name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 14px; font-weight: 600; color: var(--ef-text); line-height: 1.3; }
.efs-rate__eta { font-size: 12.5px; font-weight: 400; color: var(--ef-muted); }
.efs-rate__price { font-size: 14px; font-weight: 600; color: var(--ef-text); white-space: nowrap; }
.efs-rate__price.is-free { color: var(--ef-accent); }
.efs-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}
.efs-tag--cheap { background: var(--ef-accent-soft); color: #00733a; }
.efs-tag--fast { background: #e8f0fe; color: #1a56db; }
.efs-rates__msg { padding: 10px 0; font-size: 13px; color: var(--ef-muted); }
.efs-rates .efs-skeleton { width: 80%; margin: 12px 0 6px; }
.efs-rates .efs-skeleton--short { margin: 0 0 12px; }

@media (prefers-reduced-motion: reduce) { .efs-rates.is-opening { animation: none; } }

/* Quantidade acima do estoque: sem promessa de prazo */
.ef-selo--warn .efs-headline { color: var(--ef-text); }

/* Fora da área */
.ef-selo--off .efs-headline { font-size: 14px; color: var(--ef-muted); }

/* Pedir CEP */
.ef-selo--ask .efs-headline { font-size: 14px; font-weight: 600; }
.efs-form {
    display: flex;
    gap: 8px;
    margin: 6px 0 0;
    padding-left: 0;
}
.efs-input {
    flex: 1;
    width: auto;
    max-width: 100%;
    /* !important: o tema achata os campos (altura/padding próprios) */
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 48px !important;
    margin: 4px 0 0 !important;
    padding: 12px 16px !important;
    line-height: 1.3 !important;
    border: 1px solid #d1d5db;
    border-radius: 10px !important;
    font-size: 16px; /* 16px: o iPhone não dá zoom ao tocar */
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.efs-input:focus {
    outline: none;
    border-color: var(--ef-accent);
    box-shadow: 0 0 0 3px var(--ef-accent-soft);
}
.efs-btn {
    flex-shrink: 0;
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 48px !important;
    min-width: 64px;
    margin: 4px 0 0 !important;
    padding: 0 20px !important;
    line-height: 1 !important;
    white-space: nowrap;
    border: 0;
    border-radius: 10px !important;
    background: var(--ef-text);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .15s;
}
.efs-btn:hover { opacity: .88; }
.efs-error { font-size: 12px; color: #b42318; }

/* Carregando (skeleton) */
.efs-skeleton {
    display: block;
    height: 14px;
    width: 60%;
    border-radius: 6px;
    background: linear-gradient(90deg, #f1f2f4 25%, #e6e8eb 50%, #f1f2f4 75%);
    background-size: 200% 100%;
    animation: efs-shimmer 1.2s infinite linear;
}
.efs-skeleton--short { width: 38%; height: 12px; margin-top: 4px; }

/* Destaque quando a quantidade/variação muda */
.efs-pulse { animation: efs-pulse .7s ease-out; }

@keyframes efs-shimmer { to { background-position: -200% 0; } }
@keyframes efs-pulse {
    0%   { background-color: var(--ef-accent-soft); }
    100% { background-color: transparent; }
}
@media (prefers-reduced-motion: reduce) {
    .efs-skeleton, .efs-pulse { animation: none; }
}
@media (max-width: 480px) {
    .efs-headline { font-size: 14px; }
    .efs-form { padding-left: 0; }
    .efs-input { flex: 1; width: auto; }
}

/* ===== Rastreio ===== */
.ef-rastreio { margin: 16px 0; }
.ef-rastreio__form label { display: block; font-weight: 600; margin-bottom: 6px; }
.ef-rastreio__row { display: flex; gap: 8px; flex-wrap: wrap; }
.ef-rastreio__row input { flex: 1 1 220px; padding: 10px 12px; }
.ef-rastreio__row button { padding: 10px 20px; }
.ef-rastreio__output { margin-top: 16px; }
.ef-rastreio__result { padding: 16px; border: 1px solid #e3e3e3; border-radius: 10px; }
.ef-rastreio__result.is-delivered { border-color: #cfe9d9; background: #f0faf4; }
.ef-rastreio__current { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.ef-rastreio__icon { display: flex; color: #1a7b3d; }
.ef-rastreio__icon .ef-icon { width: 30px; height: 30px; }
.ef-rastreio__status { display: block; font-size: 16px; font-weight: 700; }
.ef-rastreio__code { display: block; font-size: 12px; color: #777; }
.ef-rastreio__timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid #e3e3e3; }
.ef-rastreio__timeline li { position: relative; padding: 0 0 12px 8px; }
.ef-rastreio__timeline li::before {
    content: "";
    position: absolute;
    left: -25px;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
}
.ef-rastreio__timeline li.is-current::before { background: #1a7b3d; }
.ef-rastreio__timeline li.is-current .ef-rastreio__step { font-weight: 700; }
.ef-rastreio__step { display: block; }
.ef-rastreio__timeline time { display: block; font-size: 12px; color: #777; }
.ef-rastreio__error { padding: 12px 14px; border-radius: 8px; background: #fdf2f2; color: #8a1f1f; }
.ef-rastreio__loading { color: #666; }

/* ===== "Enviar para" (cabeçalho) — layout moderno ===== */
.ef-shipto {
    --ef-accent: #00a650;
    --ef-accent-soft: #e6f6ed;
    --ef-accent-soft: color-mix(in srgb, var(--ef-accent) 13%, #fff);
    --ef-ink: #18181b;
    --ef-muted: #71717a;
    --ef-line: #e4e4e7;
    --ef-hover: rgba(24, 24, 27, .06);
    position: relative;
    display: inline-block;
    font-size: 13px;
    line-height: 1.2;
    color: var(--ef-ink);
    -webkit-font-smoothing: antialiased;
}
.ef-shipto--light { color: #fff; --ef-hover: rgba(255, 255, 255, .12); }
/* Os botões do tema (Woodmart etc.) recebem cor, borda, caixa alta e altura fixas: neutraliza tudo aqui. */
.ef-shipto button,
.ef-shipto input {
    -webkit-appearance: none !important;
    appearance: none !important;
    margin: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    box-shadow: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-family: inherit !important;
    line-height: 1.2 !important;
}

/* Gatilho: ícone em círculo + 2 linhas + seta */
.ef-shipto .efst-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 9px;
    max-width: 260px;
    padding: 5px 12px 5px 5px !important;
    border: 0 !important;
    border-radius: var(--ef-ctl-r, 999px) !important;
    background: transparent !important;
    color: inherit !important;
    text-align: left;
    cursor: pointer;
    transition: background-color .2s ease;
}
.ef-shipto .efst-btn:hover,
.ef-shipto.is-open .efst-btn { background: var(--ef-hover) !important; }
.ef-shipto .efst-btn:focus-visible { outline: 2px solid var(--ef-accent); outline-offset: 2px; }
.ef-shipto .efst-pin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--ef-accent-soft);
    color: var(--ef-accent);
}
.ef-shipto--light .efst-pin { background: rgba(255, 255, 255, .14); color: #fff; }
.ef-shipto .efst-pin svg { width: 18px; height: 18px; }
.ef-shipto .efst-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ef-shipto .efst-small { font-size: 11px; font-weight: 500; opacity: .65; }
.ef-shipto .efst-main { font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ef-shipto:not(.has-cep) .efst-main { color: var(--ef-accent); }
.ef-shipto--light:not(.has-cep) .efst-main { color: #fff; }
.ef-shipto .efst-chev { display: inline-flex; width: 14px; height: 14px; flex-shrink: 0; opacity: .55; transition: transform .25s ease; }
.ef-shipto .efst-chev svg { width: 100%; height: 100%; }
.ef-shipto.is-open .efst-chev { transform: rotate(180deg); }

/* Painel */
.ef-shipto .efst-pop {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 99999;
    width: 340px;
    max-width: calc(100vw - 24px);
    padding: 20px;
    border-radius: var(--ef-pop-r, 18px);
    background: #fff;
    color: var(--ef-ink);
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, .25), 0 0 0 1px rgba(0, 0, 0, .05);
    text-align: left;
    transform-origin: top left;
}
.ef-shipto .efst-pop--right { left: auto; right: 0; transform-origin: top right; }
.ef-shipto .efst-pop.is-enter { animation: efst-in .26s cubic-bezier(.2, .8, .2, 1) both; }
.ef-shipto .efst-pop.is-leave { animation: efst-out .2s ease-in both; pointer-events: none; }
@keyframes efst-in { from { opacity: 0; transform: translateY(-8px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes efst-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-6px) scale(.97); } }

.ef-shipto .efst-pop__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ef-shipto .efst-pop__title { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.ef-shipto .efst-pop__sub { margin-top: 3px; font-size: 12.5px; color: var(--ef-muted); line-height: 1.4; }
.ef-shipto .efst-x {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #f4f4f5 !important;
    color: var(--ef-muted) !important;
    cursor: pointer;
    transition: background-color .2s, color .2s;
}
.ef-shipto .efst-x:hover { background: #e4e4e7 !important; color: var(--ef-ink) !important; }
.ef-shipto .efst-x__icon { display: inline-flex; width: 16px; height: 16px; }
.ef-shipto .efst-x__icon svg { width: 100%; height: 100%; }

/* "Usar minha localização" */
.ef-shipto .efst-locate {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1.5px solid var(--ef-line) !important;
    border-radius: var(--ef-ctl-r, 999px) !important;
    background: #fff !important;
    color: var(--ef-ink) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: border-color .2s, background-color .2s;
}
.ef-shipto .efst-locate:hover:not(:disabled) { border-color: var(--ef-accent) !important; background: var(--ef-accent-soft) !important; }
.ef-shipto .efst-locate:disabled { cursor: progress; opacity: .8; }
.ef-shipto .efst-locate__icon { display: inline-flex; width: 17px; height: 17px; color: var(--ef-accent); }
.ef-shipto .efst-locate__icon svg { width: 100%; height: 100%; }

.ef-shipto .efst-or {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0;
    font-size: 12px;
    color: var(--ef-muted);
}
.ef-shipto .efst-or::before,
.ef-shipto .efst-or::after { content: ""; flex: 1; height: 1px; background: var(--ef-line); }

/* Campo + "Usar" */
.ef-shipto .efst-form { display: flex; gap: 8px; margin: 0; }
.ef-shipto .efst-input {
    flex: 1;
    width: auto !important;
    padding: 12px 16px !important;
    border: 1.5px solid var(--ef-line) !important;
    border-radius: var(--ef-ctl-r, 999px) !important;
    background: #fafafa !important;
    color: var(--ef-ink) !important;
    font-size: 15px !important;
    font-weight: 600;
    letter-spacing: .04em !important;
    outline: none !important;
    transition: border-color .2s, background-color .2s, box-shadow .2s !important;
}
.ef-shipto .efst-input:focus {
    border-color: var(--ef-accent) !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px var(--ef-accent-soft) !important;
}
.ef-shipto .efst-use {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 84px !important;
    padding: 12px 20px !important;
    border: 0 !important;
    border-radius: var(--ef-ctl-r, 999px) !important;
    background: var(--ef-btn, var(--ef-ink)) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: transform .15s, background-color .2s;
}
.ef-shipto .efst-use:hover:not(:disabled) { filter: brightness(.88); }
.ef-shipto .efst-use:active:not(:disabled) { transform: scale(.97); }
.ef-shipto .efst-use:disabled { cursor: progress; }

.ef-shipto .efst-spin {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: efst-spin .7s linear infinite;
}
@keyframes efst-spin { to { transform: rotate(360deg); } }

/* Endereço do CEP atual, abaixo do campo */
.ef-shipto .efst-addr {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: 10px;
    padding: 9px 12px;
    border-radius: 12px;
    background: #f4f4f5;
    color: var(--ef-ink);
    font-size: 12.5px;
    line-height: 1.4;
}
.ef-shipto .efst-addr__icon { display: inline-flex; flex-shrink: 0; width: 15px; height: 15px; margin-top: 1px; color: var(--ef-accent); }
.ef-shipto .efst-addr__icon svg { width: 100%; height: 100%; }
.ef-shipto .efst-done__cep { margin-top: 2px; font-size: 12px; color: var(--ef-muted); }

.ef-shipto .efst-error { margin-top: 10px; font-size: 12.5px; color: #b42318; line-height: 1.4; }

/* Faixa verde "⚡ FULL Envio Full: chega hoje até 21h" */
.ef-shipto .efst-full {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 14px;
    background: var(--ef-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}
.ef-shipto .efst-full strong { font-weight: 900; font-style: italic; letter-spacing: .02em; }
.ef-shipto .efst-full__icon { display: inline-flex; width: 16px; height: 16px; flex-shrink: 0; }
.ef-shipto .efst-full__icon svg { width: 100%; height: 100%; }

.ef-shipto .efst-help {
    display: inline-block;
    margin-top: 14px;
    font-size: 12.5px;
    color: var(--ef-muted) !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ef-shipto .efst-help:hover { color: var(--ef-ink) !important; }

/* Confirmação: ✓ desenhado + "Pronto!" */
.ef-shipto .efst-done { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 6px 4px 2px; }
.ef-shipto .efst-check { display: block; width: 56px; height: 56px; margin-bottom: 10px; }
.ef-shipto .efst-check svg { width: 100%; height: 100%; }
.ef-shipto .efst-check__circle { stroke: var(--ef-accent); stroke-width: 3; }
.ef-shipto .efst-check__tick { stroke: var(--ef-accent); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.ef-shipto .efst-done.is-animated .efst-check__circle { stroke-dasharray: 145; stroke-dashoffset: 145; animation: efst-draw .5s ease-out forwards; }
.ef-shipto .efst-done.is-animated .efst-check__tick { stroke-dasharray: 34; stroke-dashoffset: 34; animation: efst-draw .3s .4s ease-out forwards; }
.ef-shipto .efst-done.is-animated .efst-done__title,
.ef-shipto .efst-done.is-animated .efst-done__text,
.ef-shipto .efst-done.is-animated .efst-full { animation: efst-rise .35s .25s ease-out both; }
@keyframes efst-draw { to { stroke-dashoffset: 0; } }
@keyframes efst-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ef-shipto .efst-done__title { font-size: 18px; font-weight: 800; }
.ef-shipto .efst-done__text { margin-top: 4px; font-size: 13.5px; color: var(--ef-muted); }
.ef-shipto .efst-done__text strong { color: var(--ef-ink); }
.ef-shipto .efst-done .efst-full { width: 100%; justify-content: center; }

@media (prefers-reduced-motion: reduce) {
    .ef-shipto .efst-pop.is-enter,
    .ef-shipto .efst-pop.is-leave,
    .ef-shipto .efst-done * { animation: none !important; }
    .ef-shipto .efst-check__circle,
    .ef-shipto .efst-check__tick { stroke-dashoffset: 0 !important; }
}

@media (max-width: 600px) {
    /* Celular: popup no alto da tela (o teclado não cobre o campo), com fundo escurecido. */
    .ef-shipto--sheet {
        position: fixed !important;
        inset: 0;
        z-index: 99998;
        display: block !important;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        background: rgba(0, 0, 0, .45);
        animation: efst-fade .2s ease both;
    }
    .ef-shipto--sheet:empty { display: none !important; }
    .ef-shipto .efst-pop,
    .ef-shipto .efst-pop--right {
        position: fixed;
        top: max(16px, 10vh);
        right: 16px;
        bottom: auto;
        left: 16px;
        width: auto;
        max-width: 420px;
        margin: 0 auto;
        transform-origin: top center;
    }
    /* 16px: o iPhone não dá zoom ao tocar no campo */
    .ef-shipto .efst-input { font-size: 16px !important; }
    .ef-shipto .efst-btn { max-width: min(300px, calc(100vw - 32px)); }
}
@keyframes efst-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes efst-sheet-in { from { transform: translateY(100%); } to { transform: none; } }
@keyframes efst-sheet-out { from { transform: none; } to { transform: translateY(100%); } }

/* Personalização: cantos e estilo do botão */
.ef-shipto.efst-r-soft { --ef-ctl-r: 12px; --ef-pop-r: 16px; }
.ef-shipto.efst-r-square { --ef-ctl-r: 4px; --ef-pop-r: 8px; }
.ef-shipto.efst-r-soft .efst-pin { border-radius: 10px; }
.ef-shipto.efst-r-square .efst-pin { border-radius: 4px; }
.ef-shipto.efst-s-outline .efst-btn { border: 1.5px solid var(--ef-line) !important; background: #fff !important; }
.ef-shipto--light.efst-s-outline .efst-btn { border-color: rgba(255, 255, 255, .35) !important; background: transparent !important; }
.ef-shipto.efst-s-outline .efst-btn:hover,
.ef-shipto.efst-s-outline.is-open .efst-btn { border-color: var(--ef-accent) !important; }
.ef-shipto.efst-s-compact .efst-pin { width: 22px; height: 22px; background: transparent !important; }
.ef-shipto.efst-s-compact .efst-btn { padding: 5px 10px !important; gap: 6px; }

/* ===== Produto: caixa verde "⚡ Chega hoje até 21h" ===== */
.ef-selo .efs-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px 6px 11px;
    border-radius: 999px;
    background: #e3f5ea;          /* amanhã / outros dias */
    color: #00733a;
}
.ef-selo .efs-badge.is-today {
    background: linear-gradient(135deg, #00d36b 0%, #00b257 55%, #009e4c 100%); /* hoje: verde vibrante */
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 178, 87, .4), inset 0 1px 0 rgba(255, 255, 255, .25);
    text-shadow: 0 1px 1px rgba(0, 80, 40, .2);
}
.ef-selo .efs-badge__icon { display: inline-flex; width: 16px; height: 16px; flex-shrink: 0; }
.ef-selo .efs-badge__icon svg { width: 100%; height: 100%; }
.ef-selo .efs-badge .efs-headline { font-size: 15px; font-weight: 600; color: inherit; }
.ef-selo .efs-badge .efs-headline strong { font-weight: 900; color: inherit; }

/* ===== Etiqueta nos cards: "Chegará hoje · FULL" ===== */
/* Centralizado, alinhado com o bloco de preço/PIX do card. Para alinhar à esquerda:
   .ef-card-eta { --ef-card-align: left; } no CSS personalizado do tema. */
.ef-card-eta {
    display: block;
    margin: 6px 0 2px;
    font-size: 12px;
    line-height: 1.3;
    text-align: var(--ef-card-align, center);
    container-type: inline-size;   /* a pílula se ajusta à largura do card */
    max-width: 100%;
}
.ef-card-eta[hidden] { display: none; }
.ef-selo[hidden] { display: none !important; }

/* Pílula única "Chegará hoje | ⚡ FULL" — fundo verde inteiro, bordas 100% arredondadas */
.efc-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    padding: 5px 16px 5px 14px;   /* mais respiro à direita: o FULL itálico não encosta na borda */
    border-radius: 999px;
    background: #ccf5df;          /* "amanhã" / outros dias: verde claro vivo */
    color: #006b35;
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1.2;
    vertical-align: middle;
    white-space: nowrap;
    flex-wrap: wrap;              /* nunca passa da borda: se não couber, quebra dentro da caixa */
    justify-content: center;
    box-sizing: border-box;
}
.efc-pill > span { white-space: nowrap; }
.efc-pill.is-today {             /* "hoje": verde vibrante, máximo destaque */
    background: linear-gradient(135deg, #00d36b 0%, #00b257 55%, #009e4c 100%);
    color: #fff;
    box-shadow: 0 3px 10px rgba(0, 178, 87, .45), inset 0 1px 0 rgba(255, 255, 255, .25);
    text-shadow: 0 1px 1px rgba(0, 80, 40, .25);
}
.efc-pill__text { font-weight: 800; }
.efc-full {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding-left: 8px;
    padding-right: 2px;
    border-left: 1px solid currentColor;
    border-left-color: color-mix(in srgb, currentColor 40%, transparent);
    font-weight: 900;
    font-style: italic;
    letter-spacing: .03em;
}
.efc-full__icon { display: inline-flex; width: 12px; height: 12px; }
.efc-full__icon svg { width: 100%; height: 100%; }

.efc-day { display: inline-block; }

/* Cards estreitos (ex.: 2 colunas no celular): sem "Chegará", tudo numa linha → "Amanhã | ⚡ FULL" */
@container (max-width: 240px) {
    .efc-pill { flex-wrap: nowrap; gap: 6px; padding: 5px 12px 5px 11px; font-size: 12px; }
    .efc-verb { display: none; }
    .efc-day::first-letter { text-transform: uppercase; }
    .efc-full { padding-left: 6px; }
}
/* Muito estreito: duas linhas centralizadas, sem a barrinha separadora */
@container (max-width: 130px) {
    .efc-pill { flex-direction: column; gap: 1px; border-radius: 12px; padding: 5px 10px; }
    .efc-full { border-left: 0; padding-left: 0; }
}

/* Neutraliza o estilo global de botões/inputs do tema (ex.: Woodmart: caixa alta, altura mínima, sombra) */
.ef-selo button,
.ef-shipto button {
    min-height: 0;
    height: auto;
    text-transform: none;
    letter-spacing: normal;
    box-shadow: none;
    line-height: 1.2;
}
.ef-selo .efs-input,
.ef-shipto .efs-input {
    height: auto;
    min-height: 0;
    line-height: 1.3;
    box-shadow: none;
}
.ef-card-eta span { line-height: 1.3; text-transform: none; }

/* Condição de pagamento: "⚡ pagando com PIX · outras formas: até seg (30/11)" */
.efs-paynote {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px 6px;
    font-size: 12.5px;
    color: var(--ef-muted);
}
.efs-paynote strong { color: #00733a; font-weight: 800; }
.efs-paynote__icon { display: inline-flex; width: 13px; height: 13px; color: #00a650; }
.efs-paynote__icon svg { width: 100%; height: 100%; }

/* Aviso de pagamento (antifraude): produto */
.efs-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #fffbeb;
    color: #713f12;
    font-size: 12px;
    line-height: 1.45;
}
.efs-notice__icon,
.ef-pay-notice__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    border-radius: 50%;
    background: #d97706;
    color: #fff;
    font: italic 700 11px/1 Georgia, serif;
}
.efs-notice a,
.ef-pay-notice a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* Aviso de pagamento: checkout (acima do botão "Finalizar pedido") */
.ef-pay-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 14px;
    padding: 10px 12px;
    border: 1px solid #fde68a;
    border-radius: 10px;
    background: #fffbeb;
    color: #713f12;
    font-size: 13px;
    line-height: 1.45;
    text-align: left;
}

/* ===== Produto: cartão de entrega "Você receberá hoje até 21h" + contador conectado ===== */
.ef-selo .efs-deliv {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    background: #e8f7ee;            /* amanhã / outros dias */
    color: #00663a;
}
.ef-selo .efs-deliv.is-today {
    background: linear-gradient(135deg, #00c463 0%, #00a650 60%, #008f45 100%);
    color: #fff;
    box-shadow: 0 6px 18px -6px rgba(0, 166, 80, .55);
}
.ef-selo .efs-deliv__main {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
}
.ef-selo .efs-deliv__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0, 166, 80, .14);
}
.ef-selo .efs-deliv.is-today .efs-deliv__icon { background: rgba(255, 255, 255, .22); }
.ef-selo .efs-deliv__icon svg { width: 16px; height: 16px; }
.ef-selo .efs-deliv .efs-headline { font-size: 16px; font-weight: 500; line-height: 1.3; color: inherit; }
.ef-selo .efs-deliv .efs-headline strong { font-weight: 700; color: inherit; }

/* Faixa do contador, presa ao cartão (mesma peça) */
.ef-selo .efs-deliv__timer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 9px 16px 10px 56px;
    border-top: 1px solid rgba(255, 255, 255, .22);
    background: rgba(0, 0, 0, .1);
    font-size: 13px;
    font-weight: 500;
}
.ef-selo .efs-deliv__clock { display: inline-flex; width: 15px; height: 15px; margin-left: -22px; opacity: .9; }
.ef-selo .efs-deliv__clock svg { width: 100%; height: 100%; }
.ef-selo .efs-deliv__time {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 999px;
    background: #fff;
    color: #007a3d;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: .01em;
}
.ef-selo .efs-deliv.is-urgent .efs-deliv__time { background: #fff4e5; color: #c2410c; }
@media (max-width: 420px) {
    .ef-selo .efs-deliv .efs-headline { font-size: 15px; }
    .ef-selo .efs-deliv__timer { padding-left: 16px; }
    .ef-selo .efs-deliv__clock { margin-left: 0; }
}

/* ===== Carrinho/checkout: opção Envio Full ===== */
.woocommerce-shipping-methods li.ef-opt { transition: background-color .2s, box-shadow .2s; }
.woocommerce-shipping-methods li.ef-opt.is-checked { background: #f1fbf5 !important; }
.checkout-shipping-options .woocommerce-shipping-totals .woocommerce-shipping-methods li.ef-opt.is-checked input:checked + label:before { border-color: #00a650; }
.woocommerce-shipping-methods li.ef-opt > label { align-items: center; }
.woocommerce-shipping-methods li.ef-opt .ef-opt__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #00c463, #00a650);
    color: #fff;
    box-shadow: 0 3px 8px -3px rgba(0, 166, 80, .6);
}
.woocommerce-shipping-methods li.ef-opt .ef-opt__icon svg { width: 18px; height: 18px; }
.woocommerce-shipping-methods li.ef-opt .ef-opt__info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; text-align: left; }
.woocommerce-shipping-methods li.ef-opt .ef-opt__eta {
    display: block;
    color: #00843f;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.3;
}
/* layout "cards" do Smart Checkout: usa o espaço de ícone do próprio tema */
.woocommerce-shipping-methods li.ef-opt .ef-opt__slot { background: linear-gradient(135deg, #00c463, #00a650) !important; color: #fff !important; }

/* Aviso abaixo das opções de frete (carrinho/checkout) */
.ef-pay-notice.ef-pay-notice--ship { margin: -6px 0 15px; }

/* Carrinho com o modelo padrão do WooCommerce (rótulo montado pelo servidor) */
.ef-ship-label { gap: 12px; padding: 4px 0; }
.ef-ship-icon { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, #00c463, #00a650); box-shadow: 0 3px 8px -3px rgba(0, 166, 80, .6); }
.ef-ship-title { color: #1f2328; font-weight: 700; }
.ef-ship-delivery { color: #00843f; font-weight: 700; font-size: 12.5px; }
.ef-ship-tag { border-radius: 999px; padding: 1px 8px; }

.ef-css-probe { display: none !important; }

/* Fonte mais leve e nítida no bloco do produto */
.ef-selo { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
