html,
body {
    background: #fff5f4 !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100vh
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: #fff5f4;
    z-index: -9999;
    pointer-events: none
}

/* ══ MODAL OVERLAY — a única solução que funciona no Elementor ══
   Usa position:fixed no overlay E no box, com JS calculando top/left em px
   ignorando qualquer transform do container pai */
.spb-modal-ov {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 999995;
    display: none;
    transition: background .25s
}

.spb-modal-ov.open {
    display: block;
    background: rgba(0, 0, 0, .85)
}

.spb-modal-box {
    position: fixed;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .22);
    box-sizing: border-box;
    overflow: hidden;
    z-index: 999996;
    display: none;
    opacity: 0;
    transform: translateY(-12px) scale(.97);
    transition: opacity .25s cubic-bezier(.34, 1.56, .64, 1), transform .25s cubic-bezier(.34, 1.56, .64, 1)
}

.spb-modal-ov.open .spb-modal-box {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1)
}

/* Galeria — tela cheia em todos os dispositivos */
.spb-modal-box-gal {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    width: 100vw !important;
    height: calc(100dvh - 68px) !important;
    max-height: 100dvh !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    border-radius: 0 !important;
}
@media(min-width:600px){
  .spb-modal-box-gal{
    width: min(70vw,700px) !important;
    height: calc(100vh - 142px) !important;
    max-height: calc(100vh - 142px) !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%,-50%) !important;
    border-radius: 24px !important;
    box-shadow: 0 8px 48px rgba(0,0,0,.18) !important;
  }
}

.spb-modal-box-gal .spb-gal-topbar { flex-shrink: 0 }
.spb-modal-box-gal .spb-gal-list {
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto
}
.spb-modal-box-gal .spb-gal-footer {
    flex-shrink: 0;
    position: relative;
    bottom: auto;
}
@media(max-width:599px){.spb-modal-box-gal .spb-gal-footer{padding-right:calc(16px + 175px + 8px);}}

.spb__ {
    --rosa: #F5B6B0;
    --rosa-e: #e89a93;
    --rosa-c: #fde8e6;
    --rosa-f: #fff5f4;
    --preto: #1a1a1a;
    --cinza: #6b7280;
    --cinza-b: #e5e7eb;
    --cinza-l: #f3f4f6;
    --r: 14px;
    --r-sm: 10px;
    --shadow: 0 2px 16px rgba(229, 147, 140, .13);
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    background: var(--rosa-f);
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 0;
    color: var(--preto);
    -webkit-font-smoothing: antialiased
}

.spb__::before{content:'';position:fixed;top:-60px;right:-60px;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,#f5b6b018 0%,#f5b6b038 60%,transparent 100%);pointer-events:none;z-index:0}
.spb__::after{content:'';position:fixed;bottom:-80px;left:-60px;width:380px;height:380px;border-radius:50%;background:radial-gradient(circle,#f5b6b018 0%,#f5b6b032 60%,transparent 100%);pointer-events:none;z-index:0}

.spb__-stitches{position:fixed;top:0;left:0;right:0;height:4px;background:repeating-linear-gradient(90deg,#f5b6b0 0,#f5b6b0 8px,transparent 8px,transparent 14px);opacity:.7;z-index:1;pointer-events:none}



.spb__body {
    padding: 20px 16px 140px;
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    z-index: 1
}

.spb__card {
    background: #fff;
    border-radius: var(--r);
    padding: 20px 18px;
    box-shadow: var(--shadow);
    margin-bottom: 12px
}

.spb__field {
    margin-bottom: 16px
}

.spb__field:last-child {
    margin-bottom: 0
}

.spb__label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--preto);
    margin-bottom: 7px;
    flex-wrap: wrap
}

.spb__label-hint {
    font-size: 12px;
    font-weight: 400;
    color: var(--cinza)
}

.spb__textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1.5px solid var(--cinza-b);
    border-radius: var(--r-sm);
    font-size: 15px;
    color: var(--preto);
    background: var(--cinza-l);
    outline: none;
    transition: border-color .2s;
    font-family: inherit;
    -webkit-appearance: none;
    display: block;
    resize: none;
    min-height: 84px;
    line-height: 1.55;
    box-sizing: border-box
}

.spb__textarea::placeholder {
    color: #b0b7c3
}

.spb__textarea:focus {
    border-color: var(--rosa);
    background: #fff
}

.spb__trigger {
    width: 100%;
    padding: 13px 14px;
    border: 1.5px solid var(--cinza-b);
    border-radius: var(--r-sm);
    font-size: 14px;
    color: #b0b7c3;
    background: var(--cinza-l);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: border-color .2s, background .2s, color .2s;
    font-family: inherit;
    text-align: left;
    box-sizing: border-box
}

.spb__trigger.spb-has-value {
    color: var(--preto);
    font-weight: 600;
    background: #fff;
    border-color: var(--rosa)
}

.spb__trigger-text {
    flex: 1
}

.spb__trigger-arrow {
    font-size: 11px;
    color: var(--cinza);
    margin-left: auto
}

.spb__swatches {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    align-items: center
}

.spb__swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .15s, border-color .15s, box-shadow .15s;
    flex-shrink: 0
}

.spb__swatch.spb-active {
    border-color: var(--preto) !important;
    transform: scale(1.2);
    box-shadow: 0 0 0 3px rgba(245, 182, 176, .4)
}

.spb__swatch[data-color="#ffffff"] {
    border-color: var(--cinza-b) !important
}

.spb__upload-zone {
    border: 2px dashed var(--cinza-b);
    border-radius: var(--r);
    padding: 8px 8px;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    background: var(--cinza-l)
}

.spb__upload-zone:hover {
    border-color: var(--rosa);
    background: var(--rosa-c)
}

.spb__upload-plus {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid var(--cinza-b);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 4px;
    font-size: 11px;
    color: var(--cinza)
}

.spb__upload-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--cinza)
}

.spb__upload-hint {
    font-size: 9px;
    color: #b0b7c3;
    margin-top: 3px
}

.spb__previews {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px
}

.spb-pos-btn {
    flex: 1;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1.5px solid #e5e7eb;
    background: #f3f4f6;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    font-family: inherit;
    transition: border-color .15s, background .15s, color .15s;
    text-align: center
}

.spb-pos-btn:active {
    transform: scale(.97)
}

.spb-pos-btn.spb-pos-active {
    border-color: #e89a93;
    background: #fde8e6;
    color: #7a2e28
}

.spb__thumb {
    position: relative;
    width: 68px;
    height: 68px;
    border-radius: 10px;
    overflow: hidden;
    border: 1.5px solid var(--cinza-b)
}

.spb__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.spb__thumb-rm {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 18px;
    height: 18px;
    background: rgba(26, 26, 26, .7);
    border-radius: 50%;
    border: none;
    color: #fff;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center
}

.spb__badge {
    font-size: 10.5px;
    color: var(--cinza);
    background: var(--cinza-l);
    padding: 2px 8px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 4px
}

.spb__img-link {
    font-size: 10.5px;
    color: var(--rosa-e);
    word-break: break-all;
    margin-top: 2px;
    text-decoration: underline;
    cursor: pointer;
    display: block
}

.spb__btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--rosa);
    border: none;
    border-radius: var(--r);
    font-size: 14px;
    font-weight: 600;
    color: #7a2e28;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .2s;
    box-shadow: 0 4px 16px rgba(245, 182, 176, .5);
    font-family: inherit;
    margin-top: 4px
}

.spb__btn-submit:hover {
    background: var(--rosa-e);
    color: #fff
}

.spb__btn-back-intro {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: 1.5px solid #e5e7eb;
    border-radius: 30px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    font-family: inherit;
    margin: 0 0 16px;
    width: fit-content
}

/* ══ BOTÃO VOLTAR NOS MODAIS ══ */
.spb-modal-back {
    padding: 12px 14px;
    border-radius: 30px;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: border-color .15s, color .15s
}
.spb-modal-back:hover {
    border-color: #d1d5db;
    color: #1a1a1a
}
/* Na galeria o border-radius é diferente */
.spb-gal-footer .spb-modal-back {
    border-radius: 10px
}
/* Na cor o border-radius é diferente */
.spb-cor-actbar .spb-modal-back {
    border-radius: 10px
}

/* ══ MODAL TEXTO ══ */
.spb-txt-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 12px;
    border-bottom: 1px solid #e5e7eb
}

.spb-txt-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    flex: 1;
}

.spb-txt-x {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #6b7280
}

.spb-txt-body {
    padding: 12px 16px 0
}

.spb-txt-wrap {
    position: relative
}

.spb-txt-input {
    width: 100%;
    padding: 12px 40px 12px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    color: #1a1a1a;
    background: #f3f4f6;
    outline: none;
    font-family: inherit;
    display: block;
    transition: border-color .2s;
    -webkit-appearance: none;
    box-sizing: border-box
}

.spb-txt-input:focus {
    border-color: #F5B6B0;
    background: #fff
}

.spb-txt-input::placeholder {
    color: #b0b7c3
}

.spb-txt-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e5e7eb;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #6b7280
}

.spb-txt-hint {
    font-size: 12px;
    color: #6b7280;
    margin-top: 5px
}

.spb-txt-actbar {
    display: flex;
    gap: 8px;
    padding: 12px 16px 14px;
    border-top: 1px solid #e5e7eb;
    margin-top: 10px
}

.spb-txt-skip {
    padding: 12px 18px;
    border-radius: 30px;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap
}

.spb-txt-ok {
    flex: 1;
    padding: 12px;
    border-radius: 30px;
    border: none;
    background: #F5B6B0;
    font-size: 14px;
    font-weight: 700;
    color: #7a2e28;
    cursor: pointer;
    font-family: inherit;
    text-align: center
}

/* ══ MODAL GALERIA ══ */

.spb-gal-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px 10px;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
    flex-shrink: 0;
    min-height: 0
}

.spb-gal-ttl {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    flex: 1;
}

.spb-gal-x {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
    cursor:
        pointer;
    display: flex;
    align-items: center;
    justify-content:
        center;
    font-size: 14px;
    color: #6b7280;
    flex-shrink: 0
}

.spb-gal-footer {
    position: sticky;
    bottom: 0;
    display: flex;
    gap: 8px;
    padding: 10px 14px 14px;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    flex-shrink: 0
}

.spb-gal-limpar {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap
}

.spb-gal-skip {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap
}

.spb-gal-ok {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: #F5B6B0;
    font-size: 14px;
    font-weight: 700;
    color: #7a2e28;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
    transition: opacity .2s;
}
.spb-gal-ok:disabled {
    opacity: .4;
    cursor: default;
    pointer-events: none;
}

.spb-gal-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #F5B6B0 #f3f4f6
}

.spb-gal-list::-webkit-scrollbar {
    width: 4px
}

.spb-gal-list::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 2px
}

.spb-gal-list::-webkit-scrollbar-thumb {
    background: #F5B6B0;
    border-radius: 2px
}

/* Grid 2 colunas */
.spb-gal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 8px
}

.spb-gal-card {
    border-radius: 14px;
    border: 2px solid #e5e7eb;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s, transform .2s, background .2s;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 2px 8px rgba(0,0,0,.06)
}

.spb-gal-card:hover {
    border-color: #F5B6B0;
    box-shadow: 0 6px 20px rgba(245, 182, 176, .35);
    transform: translateY(-2px)
}

.spb-gal-card:active {
    transform: scale(.97);
    box-shadow: 0 2px 8px rgba(245, 182, 176, .2)
}

.spb-gal-card.sel {
    border-color: #e89a93;
    background: #fff8f7;
    box-shadow: 0 0 0 3px rgba(232, 154, 147, .3), 0 8px 24px rgba(232, 154, 147, .25);
    transform: translateY(-2px)
}

.spb-gal-cimg {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    background: #f3f4f6
}

.spb-gal-cph {
    width: 100%;
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, #fde8e6, #f3f4f6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px
}

.spb-gal-cname {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    padding: 8px 8px 10px;
    text-align: center;
    line-height: 1.3
}

.spb-gal-price-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(26,26,26,.72);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    letter-spacing: .3px;
    pointer-events: none;
    line-height: 1.4
}

.spb-gal-check-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e89a93;
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .2)
}

.spb-gal-card.sel .spb-gal-check-badge {
    display: flex
}

/* ══ MODAL COR ══ */
.spb-cor-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px 10px;
    border-bottom: 1px solid #e5e7eb
}

.spb-cor-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    flex: 1;
}

.spb-cor-body {
    padding: 12px
}

.spb-cor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 12px
}

.spb-cor-item {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 500;
    color: #1a1a1a;
    transition: border-color .15s, background .15s
}

.spb-cor-item.sel {
    border-color: #1a1a1a;
    background: #f3f4f6
}

.spb-cor-item[data-color="#ffffff"] .spb-cor-circle {
    border-color: #ccc !important
}

.spb-cor-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1.5px solid rgba(0, 0, 0, .1)
}

.spb-cor-actbar {
    display: flex;
    gap: 8px;
    border-top: 1px solid #e5e7eb;
    padding-top: 12px
}

.spb-cor-limpar {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    font-family: inherit
}

.spb-cor-ok {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: #F5B6B0;
    font-size: 14px;
    font-weight: 700;
    color: #7a2e28;
    cursor: pointer;
    font-family: inherit
}

/* ══ SIDEBAR ══ */
/* ── Modal Resumo Fullscreen ── */
.spb-sb-ov {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,.0);
    z-index: 99997;
    display: none;
    transition: background .3s;
}
.spb-sb-ov.open {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.4);
}
.spb-sb {
    position: fixed;
    top: 0; right: 0; bottom: 68px; left: 0;
    background: #fff5f4;
    z-index: 99998;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .22s cubic-bezier(.32,.72,0,1);
    overflow: hidden;
}
.spb-sb-ov.open .spb-sb {
    transform: translateX(0);
}
@media(min-width:600px){
  .spb-sb{
    position: relative;
    top: auto; right: auto; bottom: auto; left: auto;
    width: min(70vw,700px);
    height: calc(100vh - 142px);
    max-height: calc(100vh - 142px);
    border-radius: 24px;
    box-shadow: 0 8px 48px rgba(0,0,0,.18);
    transform: translateY(40px);
    opacity: 0;
    transition: transform .22s cubic-bezier(.32,.72,0,1), opacity .18s;
  }
  .spb-sb-ov.open .spb-sb{
    transform: translateY(0);
    opacity: 1;
  }
}
.spb-sb-handle { display: none; }
.spb-sb-topbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 18px 12px;
    background: #fff;
    border-bottom: 1.5px solid #f3f4f6;
    flex-shrink: 0;
}
.spb-sb-topbar-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    flex: 1;
    text-align: center;
}
.spb-sb-topbar-back {
    display: flex; align-items: center; gap: 5px;
    padding: 8px 14px; border-radius: 30px;
    border: 1.5px solid #e5e7eb; background: #fff;
    font-size: .85rem; font-weight: 600; color: #6b7280;
    cursor: pointer; font-family: inherit;
    transition: border-color .15s, color .15s;
}
.spb-sb-topbar-back:hover { border-color: #d1d5db; color: #1a1a1a; }
.spb-sb-body {
    flex: 1;
    overflow-y: auto;
    padding: 14px 16px 4px;
    overscroll-behavior: contain;
}

.spb-sbc {
    border: 1.5px solid #f3f4f6;
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 12px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
}

.spb-sbc-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px
}

.spb-sbc-ttl {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #e89a93
}

.spb-sbc-btn {
    padding: 3px 9px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    font-size: 11.5px;
    color: #6b7280;
    cursor: pointer;
    font-family: inherit
}

.spb-sbl {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    font-size: 14px;
    line-height: 1.6;
    color: #1a1a1a;
    padding: 4px 0;
    border-bottom: 1px solid #f9f9f9;
}
@media(max-width:599px){
  .spb-sbl{font-size:11px;padding:3px 0;}
  .spb-sbc{padding:8px 10px;margin-bottom:6px;}
  .spb-sb-est-t{font-size:11px;}
  .spb-sb-est-v{font-size:12px;}
  .spb-sb-topbar-title{font-size:.9rem;}
  .spb-sbc-ttl b{font-size:.82rem;}
  .spb-sbc-btn{font-size:.72rem;padding:4px 8px;}
}

.spb-sbl-l {
    display: flex;
    align-items: center;
    gap: 5px
}

.spb-sbl-v {
    font-weight: 700;
    color: #e89a93;
    white-space: nowrap;
    flex-shrink: 0
}

.spb-sb-est {
    padding: 4px 0 8px
}

.spb-sb-est-t {
    font-size: 13.5px;
    font-weight: 700;
    color: #1a1a1a
}

.spb-sb-est-v {
    font-size: 14px;
    font-weight: 700;
    color: #e89a93
}

.spb-sb-foot {
    padding: 12px 16px 16px;
    flex-shrink: 0;
    border-top: 1.5px solid #f3f4f6;
    background: #fff;
}

.spb-sb-wpp {
    width: 100%;
    padding: 14px;
    background: #25D366;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, .3)
}

.spb-sb-edit {
    width: 100%;
    padding: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    font-family: inherit;
    margin-top: 8px;
    display: block;
    text-align: center
}

/* ══ BANNER ══ */
.spb-banner-ov {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .4);
    z-index: 99996;
    display: none
}

.spb-banner-ov.open {
    display: block
}

.spb-banner {
    position: fixed;
    background: #fff;
    border-radius: 18px;
    padding: 20px 18px;
    z-index: 99997;
    display: none;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .18)
}

.spb-banner-ov.open .spb-banner {
    display: block
}

.spb-banner-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px
}

.spb-banner-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 7px
}

.spb-banner-x {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #6b7280
}

.spb-banner-btn {
    width: 100%;
    padding: 15px;
    background: #F5B6B0;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    color: #7a2e28;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px
}

/* ══ AVISO X ══ */
.spb-xwarn {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 13px;
    z-index: 200000;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s;
    white-space: nowrap
}

.spb-xwarn.show {
    opacity: 1
}

/* ══ TOAST ══ */
.spb-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: #1a1a1a;
    color: #fff;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 13.5px;
    z-index: 200001;
    transition: transform .3s;
    pointer-events: none;
    white-space: nowrap
}

.spb-toast.show {
    transform: translateX(-50%) translateY(0)
}

@media(max-width:480px) {
    .spb__body {
        padding: 16px 12px 140px
    }
}

@media(min-width:560px) {
    .spb__body {
        padding: 28px 24px 140px
    }

    .spb__card {
        padding: 24px 22px
    }
}


/* ══ NOVO FLUXO: MODAL SELEÇÃO DE PEÇA ══ */
.spw-ov{position:fixed;top:0;left:0;right:0;bottom:0;z-index:99991;display:none;}
.spw-ov.open{display:flex;align-items:center;justify-content:center;}
.spw-sheet{position:fixed;top:calc(50% - 34px);left:50%;width:96vw;max-height:calc(100vh - 100px);transform:translate(-50%,-40%);opacity:0;background:none;z-index:99992;border-radius:0;box-shadow:none;transition:transform .22s cubic-bezier(.32,.72,0,1),opacity .18s;display:flex;flex-direction:column;overflow:visible;}
@media(min-width:600px){.spw-sheet{width:min(94vw,880px);max-height:min(88vh,700px);border-radius:24px;}}
@media(min-width:600px){.spw-ov{bottom:0;top:0;}.spw-sheet{top:50%;left:50%;}}

.spw-ov.open .spw-sheet{transform:translate(-50%,-50%);opacity:1;}
.spw-handle{display:none}
.spw-head{padding:14px 20px 12px;border-bottom:none;flex-shrink:0;background:none;}
.spw-title{font-size:15px;font-weight:600;color:#1a1a1a;text-align:center;word-spacing:-.02em;letter-spacing:-.01em;}
.spw-sub{font-size:.72rem;color:#6b7280;font-family:inherit}
.spw-grid::-webkit-scrollbar{display:none;}
.spw-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:10px;overflow-y:auto;flex:1;min-height:0;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;align-content:start;scrollbar-width:none;-ms-overflow-style:none;}
@media(max-width:480px){.spw-sheet{width:96vw;max-height:92vh;border-radius:18px;}}
@media(max-width:360px){.spw-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:600px){.spw-grid{grid-template-columns:repeat(4,1fr);gap:12px;padding:16px;}}
@media(min-width:900px){.spw-grid{grid-template-columns:repeat(4,1fr);gap:14px;padding:18px;}}
@media(min-width:1200px){.spw-grid{grid-template-columns:repeat(5,1fr);gap:16px;padding:20px;}}
.spw-card{border-radius:12px;border:1.5px solid rgba(229,229,235,.6);background:rgba(255,255,255,.7);cursor:pointer;transition:border-color .18s,box-shadow .18s,transform .15s;overflow:visible;position:relative;display:flex;flex-direction:column;align-items:center;box-shadow:0 2px 12px rgba(0,0,0,.06);-webkit-tap-highlight-color:transparent;align-self:start;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);}
.spw-card:hover{border-color:#F5B6B0;transform:translateY(-2px)}
.spw-card:active{transform:scale(.96)}
.spw-card.sel{border-color:#e89a93;background:#fff8f7;box-shadow:0 0 0 3px rgba(232,154,147,.22),0 6px 18px rgba(232,154,147,.2);transform:translateY(-2px)}
.spw-card-img{width:100%;aspect-ratio:3/4;object-fit:cover;object-position:top;display:block;background:#f9f9f9;padding:0;box-sizing:border-box;border-radius:10px 10px 0 0;}
.spw-card-ph{width:100%;aspect-ratio:4/5;display:flex;align-items:center;justify-content:center;font-size:2.4rem;background:linear-gradient(135deg,#fde8e6,#f3f4f6)}
.spw-card-name{font-size:.73rem;font-weight:600;color:#1a1a1a;padding:8px 6px 4px;text-align:center;line-height:1.3;font-family:inherit;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.spw-check{position:absolute;top:7px;right:7px;width:24px;height:24px;border-radius:50%;background:#e89a93;color:#fff;display:none;align-items:center;justify-content:center;font-size:12px;font-weight:700;box-shadow:0 2px 8px rgba(0,0,0,.22);z-index:2;}
.spw-card.sel .spw-check{display:flex}
.spw-outros{border-radius:12px;border:2px dashed #d1d5db;background:#fafafa;cursor:pointer;transition:border-color .18s,background .18s;overflow:hidden;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px;min-height:0;-webkit-tap-highlight-color:transparent}
.spw-outros:hover{border-color:#F5B6B0;background:#fff5f4}
.spw-outros.sel{border-color:#e89a93;background:#fff8f7;border-style:solid}
.spw-outros-icon{font-size:1.8rem}
.spw-outros-label{font-size:.75rem;font-weight:700;color:#6b7280;text-align:center;line-height:1.3;font-family:inherit}
.spw-outros-input{display:none;width:100%;margin-top:5px;padding:7px 10px;border:1.5px solid #e5e7eb;border-radius:8px;font-size:.85rem;color:#1a1a1a;background:#fff;outline:none;box-sizing:border-box;font-family:inherit;transition:border-color .2s}
.spw-outros-input:focus{border-color:#F5B6B0}
.spw-outros-input.vis{display:block}
.spw-foot{padding:8px 14px 16px;border-top:1.5px solid #f3f4f6;flex-shrink:0}
.spw-btn{width:100%;padding:15px;background:#F5B6B0;border:none;border-radius:50px;font-size:.88rem;font-weight:600;color:#7a2e28;cursor:pointer;font-family:inherit;box-shadow:0 4px 16px rgba(245,182,176,.45);transition:background .2s}
@media(min-width:600px){
  .spw-opc-ov{background:rgba(0,0,0,.55);}
}
@media(max-width:599px){.spw-foot{padding-right:200px}}
@media(min-width:600px){.spw-foot{padding-right:14px}}
.spw-btn:hover{background:#e89a93;color:#fff}
.spw-btn:disabled{opacity:.45;cursor:default}.spb-txt-ok:disabled{opacity:.45;cursor:default;pointer-events:none}
#spb-img-ok:disabled{opacity:1;cursor:not-allowed;background:#fde8e6;color:#e89a93;pointer-events:none;position:relative;overflow:hidden;}
#spb-img-ok:disabled::after{content:'';position:absolute;left:-60%;top:0;width:50%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,0.5),transparent);animation:spb-shimmer 1.2s infinite;}
@keyframes spb-shimmer{0%{left:-60%}100%{left:120%}}
/* stepper inline no card */
/* ── Mini-modal quantidade ── */
.spw-qty-ov{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:99993;display:none;align-items:center;justify-content:center;padding:16px;box-sizing:border-box;}
.spw-qty-ov.open{display:flex;}
.spw-qty-box{background:#fff;border-radius:20px;width:100%;max-width:400px;padding-bottom:20px;box-shadow:0 8px 40px rgba(0,0,0,.18);transform:scale(.92) translateY(8px);opacity:0;transition:transform .25s cubic-bezier(.34,1.56,.64,1),opacity .22s;}
.spw-qty-ov.open .spw-qty-box{transform:scale(1) translateY(0);opacity:1;}
.spw-qty-handle{width:40px;height:4px;background:#d1d5db;border-radius:2px;margin:12px auto 14px;display:block;}
.spw-qty-header{display:flex;align-items:center;gap:10px;padding:20px 16px 14px;border-bottom:1.5px solid #f3f4f6;margin-bottom:14px;}

.spw-qty-header-title{font-size:.88rem;font-weight:600;color:#1a1a1a;font-family:inherit;}
.spw-qty-header-sub{font-size:.7rem;color:#6b7280;font-family:inherit;}
.spw-qty-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:0 16px 14px;}
.spw-qty-num-btn{padding:12px 8px;border-radius:12px;border:2px solid #f3f4f6;background:#fff;font-size:.95rem;font-weight:600;color:#1a1a1a;cursor:pointer;font-family:inherit;transition:border-color .15s,background .15s,color .15s;text-align:center;}
.spw-qty-num-btn:hover{border-color:#F5B6B0;background:#fff5f4;}
.spw-qty-num-btn.sel{border-color:#e89a93;background:#fde8e6;color:#7a2e28;}
.spw-qty-more-btn{margin:0 16px;width:calc(100% - 32px);padding:13px;border-radius:50px;border:1.5px solid #e5e7eb;background:#fff;font-size:.9rem;font-weight:700;color:#6b7280;cursor:pointer;font-family:inherit;transition:border-color .15s;}
.spw-qty-more-btn:hover{border-color:#F5B6B0;color:#7a2e28;}
.spw-qty-manual{display:none;align-items:center;gap:8px;margin:10px 16px 0;}
.spw-qty-manual.vis{display:flex;}
.spw-qty-manual-input{flex:1;padding:12px 14px;border:2px solid #F5B6B0;border-radius:12px;font-size:1.1rem;font-weight:700;color:#1a1a1a;font-family:inherit;outline:none;text-align:center;background:#fff;}
.spw-qty-manual-input:focus{border-color:#e89a93;}
.spw-qty-manual-ok{padding:12px 18px;background:#F5B6B0;border:none;border-radius:12px;font-size:.9rem;font-weight:800;color:#7a2e28;cursor:pointer;white-space:nowrap;font-family:inherit;transition:background .15s;}
.spw-qty-manual-ok:hover{background:#e89a93;color:#fff;}
/* Badge de quantidade no card */
/* Stepper inline no card */
.spw-card-stepper{display:none;align-items:center;justify-content:center;gap:6px;margin:5px auto 3px;}
.spw-card.sel .spw-card-stepper{display:flex;}
.spw-card-edit-btn{display:none;position:absolute;top:6px;left:6px;padding:2px 7px;border-radius:12px;border:1.5px solid #e89a93;background:rgba(255,255,255,.95);color:#e89a93;font-size:.65rem;font-weight:700;cursor:pointer;font-family:inherit;transition:background .15s,color .15s;z-index:3;white-space:nowrap;box-shadow:0 1px 4px rgba(0,0,0,.1);}
.spw-card.sel.spw-card-preenchido .spw-card-edit-btn{display:block;}
.spw-card-edit-btn:hover{background:#e89a93;color:#fff;}
.spw-card-stepper-btn{width:26px;height:26px;border-radius:50%;border:1.5px solid #e89a93;background:#fff;color:#e89a93;font-size:1rem;font-weight:800;cursor:pointer;display:flex;align-items:center;justify-content:center;line-height:1;transition:background .15s,color .15s;flex-shrink:0;padding:0;}
.spw-card-stepper-btn:active{background:#e89a93;color:#fff;transform:scale(.9);}
.spw-card-stepper-num{width:34px;border:none;border-bottom:2px solid #e89a93;background:transparent;font-size:.9rem;font-weight:800;color:#1a1a1a;text-align:center;outline:none;font-family:inherit;-moz-appearance:textfield;padding:2px 0;cursor:text;}
.spw-card-stepper-num::-webkit-inner-spin-button,.spw-card-stepper-num::-webkit-outer-spin-button{-webkit-appearance:none;}
.spw-card-stepper-num:focus{border-color:#d4827a;}

/* ── Bottom sheet opções de bordado ── */
.spw-opc-ov{position:fixed;inset:0;z-index:99991;display:none;}

/* ── Modal confirmação mesmo bordado ── */
.spw-confirm-ov{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.55);z-index:299990;display:none;align-items:center;justify-content:center;}
.spw-confirm-ov.open{display:flex;}
.spw-confirm-box{background:#fff;border-radius:22px;width:min(90vw,400px);padding:0 0 24px;box-shadow:0 8px 40px rgba(0,0,0,.18);animation:spb-fadein .22s cubic-bezier(.34,1.56,.64,1) both;}
@keyframes spw-slide-up{from{transform:translateY(100%)}to{transform:translateY(0)}}
.spw-confirm-handle{width:40px;height:4px;background:#d1d5db;border-radius:2px;margin:12px auto 16px;display:block;}
.spw-confirm-icon{font-size:2.2rem;text-align:center;margin-bottom:8px;}
.spw-confirm-title{font-size:1rem;font-weight:800;color:#1a1a1a;text-align:center;padding:0 24px;font-family:inherit;margin-bottom:6px;}
.spw-confirm-sub{font-size:.85rem;color:#6b7280;text-align:center;padding:0 24px 20px;font-family:inherit;line-height:1.5;}
.spw-confirm-actions{display:flex;flex-direction:column;gap:10px;padding:0 16px;}
.spw-confirm-yes{padding:14px;background:#F5B6B0;border:none;border-radius:50px;font-size:.95rem;font-weight:800;color:#7a2e28;cursor:pointer;font-family:inherit;transition:background .2s;}
.spw-confirm-yes:hover{background:#e89a93;color:#fff;}
.spw-confirm-no{padding:13px;background:#fff;border:1.5px solid #e5e7eb;border-radius:50px;font-size:.95rem;font-weight:700;color:#6b7280;cursor:pointer;font-family:inherit;transition:border-color .2s,color .2s;}
.spw-confirm-no:hover{border-color:#d1d5db;color:#1a1a1a;}
.spw-opc-ov.open{display:flex;align-items:center;justify-content:center;}
.spw-opc-sheet{position:fixed;top:0;left:0;right:0;bottom:68px;background:#fff;z-index:99992;transform:translateY(100%);transition:transform .38s cubic-bezier(.32,.72,0,1);display:flex;flex-direction:column;overflow:hidden;}
.spw-opc-ov.open .spw-opc-sheet{transform:translateY(0)}
@media(min-width:600px){
  .spw-opc-sheet{
    top:50%;left:50%;right:auto;bottom:auto;
    width:min(70vw,700px);
    max-height:calc(100vh - 142px);
    height:calc(100vh - 142px);
    border-radius:24px;
    box-shadow:0 8px 48px rgba(0,0,0,.18);
    transform:translate(-50%,-50%) translateY(40px);
    transition:transform .22s cubic-bezier(.32,.72,0,1),opacity .18s;
    opacity:0;
  }
  .spw-opc-ov.open .spw-opc-sheet{
    transform:translate(-50%,-50%);
    opacity:1;
  }
  .spw-foot{padding-right:14px}
}
.spw-opc-handle{display:none}

.spw-opc-list{display:none;flex-direction:column;overflow-y:auto;flex:1;min-height:0}
.spw-opc-list.vis{display:flex}
.spw-opc-item{display:flex;align-items:center;gap:12px;padding:14px 18px;border-bottom:1.5px solid #f3f4f6;cursor:pointer;transition:background .15s;-webkit-tap-highlight-color:transparent}
.spw-opc-item:last-child{border-bottom:none}
.spw-opc-item:hover{background:#fff5f4}
.spw-opc-icon{width:40px;height:40px;border-radius:12px;background:#f3f4f6;display:flex;align-items:center;justify-content:center;font-size:1.2rem;flex-shrink:0;transition:background .15s}
.spw-opc-item.sel .spw-opc-icon{background:#fde8e6}
.spw-opc-txt{flex:1}
.spw-opc-name{font-size:.82rem;font-weight:600;color:#1a1a1a;font-family:inherit}
.spw-opc-desc{font-size:.68rem;color:#6b7280;margin-top:1px;line-height:1.4;font-family:inherit}
.spw-opc-chk{width:22px;height:22px;border-radius:6px;border:2px solid #d1d5db;flex-shrink:0;display:flex;align-items:center;justify-content:center;transition:border-color .15s,background .15s}
.spw-opc-item.sel .spw-opc-chk{border-color:#e89a93;background:#e89a93}
.spw-opc-chkmark{color:#fff;font-size:13px;font-weight:800;display:none}
.spw-opc-item.sel .spw-opc-chkmark{display:block}
.spw-back{display:flex;align-items:center;gap:4px;padding:8px 12px;border-radius:30px;border:1.5px solid #e5e7eb;background:#fff;font-size:.85rem;font-weight:600;color:#6b7280;cursor:pointer;font-family:inherit;transition:border-color .15s,color .15s;flex-shrink:0}
.spw-back:hover{border-color:#d1d5db;color:#1a1a1a}
.spw-peca-badge{display:none;align-items:center;gap:10px;background:#fff;border-radius:14px;padding:12px 16px;margin-bottom:12px;box-shadow:0 2px 12px rgba(229,147,140,.13);cursor:pointer;transition:box-shadow .2s}
.spw-peca-badge:hover{box-shadow:0 4px 20px rgba(229,147,140,.22)}
.spw-peca-badge.vis{display:flex}
.spw-pb-icon{width:52px;height:62px;object-fit:contain;border-radius:10px;background:#fff;flex-shrink:0;border:1px solid #f3f4f6;}
.spw-pb-info{flex:1}
.spw-pb-nome{font-size:.95rem;font-weight:700;color:#1a1a1a;font-family:inherit}
.spw-pb-qtd{font-size:.78rem;color:#e89a93;font-weight:600}
.spw-pb-edit{font-size:.75rem;font-weight:700;color:#6b7280;padding:5px 12px;border:1.5px solid #e5e7eb;border-radius:20px;background:#fff;cursor:pointer;font-family:inherit;white-space:nowrap;transition:border-color .15s,color .15s}
.spw-pb-edit:hover{border-color:#F5B6B0;color:#7a2e28}
.spb__field.spw-hidden{display:none!important}


/* ── Fundo animado e pontilhado independentes ── */
.spb-bg-circle-top{position:fixed;top:-60px;right:-60px;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,#f5b6b018 0%,#f5b6b038 60%,transparent 100%);pointer-events:none;z-index:0;}
.spb-bg-circle-bot{position:fixed;bottom:-80px;left:-60px;width:380px;height:380px;border-radius:50%;background:radial-gradient(circle,#f5b6b018 0%,#f5b6b032 60%,transparent 100%);pointer-events:none;z-index:0;}
.spb-bg-stitches{position:fixed;top:0;left:0;right:0;height:4px;background:repeating-linear-gradient(90deg,#f5b6b0 0,#f5b6b0 8px,transparent 8px,transparent 14px);opacity:.7;z-index:99990;pointer-events:none;}



/* Global font */
*{font-family:'Plus Jakarta Sans',system-ui,sans-serif;box-sizing:border-box;}
@keyframes spb-fadein{from{opacity:0;transform:translateY(8px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
/* ── Variáveis locais para o bottom nav ── */
#sp-bottom-nav, .sp-bnav-sheet-ov, .sp-bnav-sheet {
  --branco: #ffffff;
  --preto: #1a1a1a;
  --cinza: #6b7280;
  --cinza-claro: #f3f4f6;
  --cinza-medio: #d1d5db;
  --rosa-claro: #fde8e6;
  --rosa-escuro: #e89a93;
}

/* ── Bottom Nav ── */
#sp-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 68px;
  background: linear-gradient(180deg, #ffffff 0%, #fce8e5 50%, #f8d5d0 100%);
  border-top: none;
  display: flex;
  align-items: stretch;
  z-index: 9999999;
  pointer-events: auto !important;
  visibility: visible !important;
  box-shadow: 0 -1px 0 rgba(180,130,125,0.18), 0 -4px 20px rgba(200,140,135,0.13);
}
.sp-bnav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  transition: color 0.2s, background 0.2s;
  padding: 0 6px;
  position: relative;
}
.sp-bnav-btn:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(180,130,125,0.25);
}
.sp-bnav-btn:hover, .sp-bnav-btn:active {
  color: #7a2e28;
  background: rgba(253,232,230,0.5);
}
.sp-bnav-icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: #fde8e6;
  border-radius: 10px;
  transition: transform 0.2s, background 0.2s;
}
.sp-bnav-btn:hover .sp-bnav-icon,
.sp-bnav-btn:active .sp-bnav-icon {
  transform: translateY(-2px);
  background: #fad4d0;
}

/* ── Bottom Sheet genérico ── */
.sp-bnav-sheet-ov {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0);
  z-index: 99999999;
  pointer-events: none;
  transition: background 0.3s;
}
.sp-bnav-sheet-ov.open {
  background: rgba(0,0,0,0.42);
  pointer-events: all;
}
.sp-bnav-sheet {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: #ffffff;
  border-radius: 20px 20px 0 0;
  padding: 0 0 32px;
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(.32,.72,0,1);
  box-shadow: 0 -8px 40px rgba(0,0,0,0.15);
  max-height: 70vh;
  overflow-y: auto;
}
.sp-bnav-sheet-ov.open .sp-bnav-sheet {
  transform: translateY(0);
}
.sp-bnav-sheet-handle {
  width: 38px; height: 4px;
  background: #d1d5db;
  border-radius: 2px;
  margin: 14px auto 0;
  cursor: grab;
}
.sp-bnav-sheet-head {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px 12px;
  border-bottom: 1.5px solid #f3f4f6;
}
.sp-bnav-sheet-head-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: #fde8e6;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.sp-bnav-sheet-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a1a;
}
.sp-bnav-sheet-body {
  padding: 20px 20px 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sp-bnav-row {
  display: flex; align-items: flex-start; gap: 12px;
  background: #f3f4f6;
  border-radius: 12px;
  padding: 14px 16px;
}
.sp-bnav-row-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.sp-bnav-row-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}
.sp-bnav-row-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.5;
}
.sp-bnav-row-value small {
  font-size: 0.8rem;
  font-weight: 400;
  color: #6b7280;
}
.sp-bnav-badge {
  display: inline-block;
  background: #fde8e6;
  color: #e89a93;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  margin-top: 4px;
}



@keyframes spCartPulse {
  0%,100% { box-shadow: 0 6px 24px rgba(232,154,147,0.5), 0 0 0 0 rgba(245,182,176,0.5); }
  50%      { box-shadow: 0 6px 24px rgba(232,154,147,0.5), 0 0 0 8px rgba(245,182,176,0); }
}
@keyframes spCartPop {
  0%   { transform: scale(0.5) translateY(20px); opacity: 0; }
  60%  { transform: scale(1.1) translateY(-4px);  opacity: 1; }
  80%  { transform: scale(0.96) translateY(1px);  opacity: 1; }
  100% { transform: scale(1) translateY(0);        opacity: 1; }
}
@keyframes spCartShow {
  0%   { opacity: 0; transform: scale(0.6) translateY(28px); }
  55%  { opacity: 1; transform: scale(1.08) translateY(-4px); }
  80%  { opacity: 1; transform: scale(0.97) translateY(1px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes spCartHide {
  0%   { opacity: 1; transform: scale(1) translateY(0); }
  30%  { opacity: 0.6; transform: scale(1.04) translateY(-3px); }
  100% { opacity: 0; transform: scale(0.7) translateY(28px); }
}
#sp-cart-btn {
  position: fixed;
  right: 16px;
  bottom: 84px;
  display: none;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #fef0ee 0%, #f9ccc8 45%, #f5b6b0 100%);
  color: #111827;
  border: none;
  border-radius: 999px;
  padding: 11px 18px 11px 14px;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(232,154,147,0.5), 0 2px 8px rgba(0,0,0,0.08);
  z-index: 9999990;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, opacity 0.25s;
  white-space: nowrap;
}
#sp-cart-btn:hover {
  background: linear-gradient(135deg, #fde8e6 0%, #f5b6b0 50%, #e89a93 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(232,154,147,0.6), 0 2px 8px rgba(0,0,0,0.10);
}
#sp-cart-btn:active { transform: scale(0.97); }
#sp-cart-icon {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: #fff;
  border-radius: 50%;
  flex-shrink: 0;
}
#sp-cart-icon svg { width: 15px; height: 15px; fill: none; stroke: #6b7280; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#sp-cart-count {
  position: absolute;
  top: -5px; right: -5px;
  background: #111827;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: none;
  align-items: center; justify-content: center;
  border: 1.5px solid #f5b6b0;
}
#sp-cart-value {
  color: #111827;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.3px;
}
#sp-cart-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: #6b7280;
}
#sp-cart-btn.pop       { animation: spCartPop 0.55s cubic-bezier(.34,1.56,.64,1) forwards, spCartPulse 1.2s ease 0.55s 2; }
#sp-cart-btn.cart-show { animation: spCartShow 0.55s cubic-bezier(.34,1.56,.64,1) forwards; }
#sp-cart-btn.cart-hide { animation: spCartHide 0.30s cubic-bezier(.4,0,1,1) forwards; }
