/* Listas de produtos */
.ilb { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 20px; border-radius: 999px; border: 1.5px solid transparent; font-family: inherit; font-size: 13px; font-weight: 800; letter-spacing: .02em; cursor: pointer; text-decoration: none; transition: background .15s, transform .12s, border-color .15s; line-height: 1.1; }
.ilb:active { transform: scale(.98); }
.ilb[disabled] { opacity: .6; cursor: default; }
.ilb--buy { background: #dc2626; color: #fff; }
.ilb--buy:hover { background: #b91c1c; color: #fff; }
.ilb--buy.is-done { background: #16a34a; }
.ilb--dark { background: #1a1a1a; color: #fff; }
.ilb--dark:hover { background: #374151; color: #fff; }
.ilb--ghost { background: #fff; color: #374151; border-color: #e5e7eb; }
.ilb--ghost:hover { background: #f9fafb; }

.il-toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: #1a1a1a; color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 13px; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 100000; max-width: calc(100vw - 32px); text-align: center; }
.il-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.il-toast.is-err { background: #dc2626; }

/* ── Coração (página do produto) ── */
.il-has-heart { position: relative; }
.il-has-heart .product_title { padding-right: 56px; }
.il-list-heart-wrap { position: absolute; top: 16px; right: 16px; z-index: 30; }
.il-list-heart { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1.5px solid #e5e7eb; border-radius: 50%; color: #6b7280; cursor: pointer; padding: 0; transition: color .15s, border-color .15s, background .15s, transform .12s; }
.il-list-heart:hover { color: #dc2626; border-color: #fecaca; background: #fef2f2; }
.il-list-heart:active { transform: scale(.94); }
.il-list-heart.is-on { color: #dc2626; border-color: #fecaca; background: #fef2f2; }
.il-list-heart.is-on svg { fill: #dc2626; }
.il-list-pop { position: absolute; top: 52px; right: 0; width: 290px; max-width: calc(100vw - 40px); background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; box-shadow: 0 12px 36px rgba(0,0,0,.16); padding: 14px; }
.il-list-pop[hidden] { display: none; }
.il-pop__title { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #9ca3af; margin: 0 2px 8px; }
.il-pop__hint { margin: 0; font-size: 13px; line-height: 1.5; color: #4b5563; }
.il-pop__rows { display: flex; flex-direction: column; gap: 4px; max-height: 230px; overflow: auto; }
.il-pop__row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; background: none; border: none; border-radius: 10px; font-family: inherit; font-size: 14px; font-weight: 600; color: #111; text-align: left; cursor: pointer; }
.il-pop__row:hover { background: #f5f5f5; }
.il-pop__chk { flex: 0 0 20px; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #d1d5db; display: inline-flex; align-items: center; justify-content: center; color: transparent; }
.il-pop__row.is-on .il-pop__chk { background: #dc2626; border-color: #dc2626; color: #fff; }
.il-pop__name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.il-pop__n { font-size: 12px; color: #9ca3af; font-weight: 700; }
.il-pop__add { display: block; width: 100%; margin-top: 8px; padding: 9px 10px; background: none; border: 1.5px dashed #d1d5db; border-radius: 10px; font-family: inherit; font-size: 13px; font-weight: 700; color: #374151; cursor: pointer; }
.il-pop__add:hover { border-color: #1a1a1a; }
.il-pop__new { display: flex; gap: 8px; margin-top: 8px; }
.il-pop__new[hidden], .il-pop__add[hidden] { display: none; }
.il-pop__new input { flex: 1 1 auto; min-width: 0; height: 38px; padding: 0 12px; border: 1.5px solid #e5e7eb; border-radius: 999px; font-family: inherit; font-size: 13px; outline: none; }
.il-pop__new input:focus { border-color: #1a1a1a; }
.il-pop__new .ilb { padding: 0 16px; height: 38px; }
.il-pop__all { display: block; margin-top: 10px; text-align: center; font-size: 12px; font-weight: 700; color: #6b7280; text-decoration: underline; }

/* ── Carrinho ── */
.il-later-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 6px 12px; background: #fff; border: 1.5px solid #e5e7eb; border-radius: 999px; font-family: inherit; font-size: 12px; font-weight: 700; color: #374151; cursor: pointer; text-decoration: none; transition: border-color .15s, color .15s; }
.il-later-btn:hover { border-color: #1a1a1a; color: #111; }
.il-later-btn[disabled] { opacity: .6; }
.il-saved { margin: 24px 0; padding: 20px; background: #fff; border: 1px solid #f0f0f0; border-radius: 16px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.il-saved__title { margin: 0 0 14px; font-size: 17px; font-weight: 800; }
.il-saved__title span { color: #9ca3af; font-weight: 700; }
.il-saved__list { display: flex; flex-direction: column; gap: 10px; }

/* ── Item de lista ── */
.il-li { display: flex; align-items: center; gap: 16px; padding: 12px 14px; background: #fafafa; border: 1px solid #f0f0f0; border-radius: 14px; }
.il-li__img { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid #eee; display: inline-flex; align-items: center; justify-content: center; }
.il-li__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.il-li__info { flex: 1 1 auto; min-width: 0; }
.il-li__name { display: block; font-size: 14px; font-weight: 700; color: #111; text-decoration: none; margin-bottom: 4px; }
.il-li__name:hover { color: #dc2626; }
.il-li__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: #6b7280; margin-bottom: 4px; }
.il-li__stock { padding: 1px 8px; border-radius: 999px; font-weight: 700; }
.il-li__stock--in { background: #dcfce7; color: #166534; }
.il-li__stock--out { background: #fee2e2; color: #b91c1c; }
.il-li__price { font-size: 14px; font-weight: 800; }
.il-li__actions { flex: 0 0 auto; display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-width: 190px; }
.il-li__actions .ilb { padding: 10px 16px; }
.il-li__move { height: 36px; padding: 0 10px; border: 1.5px solid #e5e7eb; border-radius: 999px; background: #fff; font-family: inherit; font-size: 12px; font-weight: 600; color: #374151; }
.il-li__remove { background: none; border: none; font-family: inherit; font-size: 12px; font-weight: 700; color: #9ca3af; text-decoration: underline; cursor: pointer; padding: 2px; }
.il-li__remove:hover { color: #dc2626; }
.il-li__na { text-align: center; font-size: 12px; font-weight: 700; color: #9ca3af; }

/* ── Conta ── */
.il-lists .ila-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.il-lists-newform { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.il-lists-newform[hidden] { display: none; }
.il-lists-newform input { flex: 1 1 260px; height: 40px; padding: 0 16px; border: 1.5px solid #e5e7eb; border-radius: 999px; font-family: inherit; font-size: 14px; outline: none; }
.il-lists-newform input:focus { border-color: #1a1a1a; }
.il-list { margin: 0 0 22px; padding: 18px; background: #fff; border: 1px solid #f0f0f0; border-radius: 16px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.il-list__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.il-list__title h3 { margin: 0; font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.il-list__title p { margin: 4px 0 0; font-size: 13px; color: #6b7280; }
.il-list__count { display: inline-flex; min-width: 24px; height: 24px; padding: 0 8px; box-sizing: border-box; align-items: center; justify-content: center; border-radius: 999px; background: #f3f4f6; color: #6b7280; font-size: 12px; font-weight: 800; }
.il-list__tools { display: flex; gap: 8px; flex-wrap: wrap; }
.il-tool { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; background: #fff; border: 1.5px solid #e5e7eb; border-radius: 999px; font-family: inherit; font-size: 12px; font-weight: 700; color: #374151; cursor: pointer; }
.il-tool:hover { border-color: #1a1a1a; }
.il-tool.is-on { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.il-tool--delete:hover { border-color: #fecaca; color: #dc2626; background: #fef2f2; }
.il-share { margin: 0 0 14px; padding: 14px; background: #f9fafb; border: 1px dashed #d1d5db; border-radius: 12px; }
.il-share[hidden] { display: none; }
.il-share__lbl { display: block; font-size: 12px; color: #6b7280; margin-bottom: 8px; }
.il-share__row { display: flex; gap: 8px; flex-wrap: wrap; }
.il-share__row input { flex: 1 1 240px; min-width: 0; height: 38px; padding: 0 14px; border: 1.5px solid #e5e7eb; border-radius: 999px; font-family: inherit; font-size: 12px; background: #fff; }
.il-share__row .ilb { height: 38px; padding: 0 16px; }
.il-list__items { display: flex; flex-direction: column; gap: 10px; }
.il-list__empty { margin: 0; padding: 18px; text-align: center; font-size: 13px; color: #9ca3af; background: #fafafa; border: 1px dashed #e5e7eb; border-radius: 12px; }
.il-list__foot { margin-top: 14px; text-align: right; }

/* ── Página partilhada ── */
.il-shared { padding: 32px 0 56px; }
.il-shared__in { max-width: var(--pl-container, 1800px); margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.il-shared__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.il-shared__by { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #9ca3af; }
.il-shared h1 { margin: 4px 0; font-size: 28px; font-weight: 800; }
.il-shared__head p { margin: 0; color: #6b7280; font-size: 14px; }
.il-shared__list { display: flex; flex-direction: column; gap: 10px; }

@media (max-width: 640px) {
    .il-li { flex-wrap: wrap; }
    .il-li__actions { flex: 1 1 100%; min-width: 0; }
    .il-list-pop { right: -8px; }
}

/* v5.764 — botões como no carrossel (contorno vermelho, "Comprar Agora"), lixo, tudo ao lado de Partilhar */
.ilb--buy { background: transparent; color: #dc2626; border: 2px solid #dc2626; padding: 10px 14px; font-size: 12px; }
.ilb--buy:hover { background: #dc2626; color: #fff; }
.ilb--buy.is-done { background: #dc2626; color: #fff; }
.il-li__actions { min-width: 170px; }
.il-li__row { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.il-li__row .il-li__move { flex: 1 1 auto; min-width: 0; }
.il-li__remove { flex: 0 0 auto; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0; background: #fff; border: 1.5px solid #e5e7eb; border-radius: 50%; color: #6b7280; text-decoration: none; cursor: pointer; transition: color .15s, border-color .15s, background .15s; }
.il-li__remove:hover { color: #dc2626; border-color: #fecaca; background: #fef2f2; text-decoration: none; }
.il-list__tools { align-items: center; }
.il-list__tools .ilb { padding: 7px 14px; }
.il-saved .il-li__row { justify-content: flex-end; }

/* "Comprar mais tarde" no carrinho: ao lado do lixo */
.pl-cart-remove { display: flex; align-items: center; gap: 8px; }
.pl-cart-remove .il-later-btn { margin: 0; padding: 6px 12px; white-space: nowrap; }

/* v5.765 — filtro, botão dourado, preço como nos cartões */
.il-lfilter { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.il-lfilter__b { padding: 7px 16px; border: 1.5px solid #e5e7eb; background: #fff; border-radius: 999px; font-size: 13px; font-weight: 700; color: #374151; cursor: pointer; transition: all .15s; }
.il-lfilter__b:hover { border-color: #111; }
.il-lfilter__b.is-on { background: #111; border-color: #111; color: #fff; }
.il-list[hidden] { display: none !important; }

.ilb--gold, .ilb--gold:visited { background: #D0AB65; color: #fff; border: 2px solid #D0AB65; font-weight: 800; }
.ilb--gold:hover { background: #b8935a; border-color: #b8935a; color: #fff; }

.il-li__price { margin-top: 6px; }
.il-lp { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; color: #111; }
.il-lp .il-price-designer { display: inline-flex; align-items: center; font-weight: 900; white-space: nowrap; color: inherit; }
.il-lp .il-price-int { font-size: 28px; line-height: .85; }
.il-lp .il-price-stack { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; margin-left: 3px; line-height: 1; }
.il-lp .il-price-dec-row { font-size: 12px; font-weight: 900; line-height: 1; white-space: nowrap; color: inherit; }
.il-lp .il-price-suffix-row { font-size: 10px; line-height: 1; margin-top: 2px; text-align: left; }
.il-lp .pl-vat-suffix { display: inline !important; vertical-align: baseline !important; line-height: 1 !important; font-size: 1em !important; margin: 0 !important; padding: 0 !important; color: #9ca3af; font-weight: 700; }
.il-lp__pill { display: inline-flex; align-items: center; padding: 4px 14px; border-radius: 999px; color: #fff; }
.il-lp__pill .il-price-designer, .il-lp__pill .il-price-dec-row, .il-lp__pill .pl-vat-suffix { color: #fff !important; }
.il-lp--sale .il-lp__pill { background: #dc2626; }
.il-lp--lowest .il-lp__pill { background: #FF5C00; }
.il-lp__old { font-size: 14px; font-weight: 700; color: #9ca3af; text-decoration: line-through; }
.il-shared__btns { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.il-shared__login { text-decoration: none; display: inline-flex; align-items: center; }
.il-pop__login { display: block; text-align: center; text-decoration: none; margin: 4px 0 6px; }

/* Página partilhada — visitante sem sessão: cartão da marca + lista */
.il-shsplit { display: grid; grid-template-columns: minmax(300px, 34%) 1fr; gap: 24px; align-items: start; }
.il-shbrand { background: #161616; color: #fff; padding: 40px 34px; border-radius: 16px; display: flex; flex-direction: column; gap: 32px; position: sticky; top: 20px; }
.il-shbrand__by { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 12px; }
.il-shbrand__head { font-family: 'Poppins', sans-serif; font-size: 30px; font-weight: 800; line-height: 1.18; margin: 0 0 26px; color: #fff; }
.il-shbrand__head span { color: var(--il-brand, #c9a84c); }
.il-shbrand__pts { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.il-shbrand__pts li { display: flex; gap: 14px; align-items: flex-start; font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.72); }
.il-shbrand__pts strong { color: #fff; font-size: 14px; font-weight: 700; }
.il-shbrand__ico { flex: 0 0 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(201,168,76,.16); color: var(--il-brand, #c9a84c); }
.il-shbrand__cta { display: grid; gap: 10px; }
.il-shbtn { display: block; text-align: center; text-decoration: none; padding: 14px 20px; border-radius: 12px; font-size: 14px; font-weight: 800; transition: opacity .15s, background .15s, color .15s; }
.il-shbtn--brand { background: var(--il-brand, #c9a84c); color: #1a1a1a; }
.il-shbtn--brand:hover { opacity: .9; color: #1a1a1a; }
.il-shbtn--ghost { border: 1.5px solid rgba(255,255,255,.35); color: #fff; }
.il-shbtn--ghost:hover { background: #fff; color: #161616; }
.il-shmain { min-width: 0; background: #fff; border-radius: 16px; padding: 28px; }
@media (max-width: 800px) {
    .il-shsplit { grid-template-columns: 1fr; gap: 14px; }
    .il-shbrand { position: static; padding: 28px 22px; gap: 22px; }
    .il-shbrand__head { font-size: 24px; margin-bottom: 18px; }
    .il-shmain { padding: 16px; }
}

.il-shsplit { grid-template-columns: minmax(300px, 34%) 1fr; }
