/* Amsterdam — Loja de Joias (vitrine) */
.amp-lj, .amp-lj-camada, .amp-lj-fab, .amp-lj-toast {
  --lj-creme: #F7F3EA; --lj-papel: #FFFDF8; --lj-tinta: #16130D; --lj-tinta2: #5A5342;
  --lj-ouro: #C39A50; --lj-ouro2: #A8823E; --lj-ouro3: #E4C77E; --lj-quente: #E7DECB;
  --lj-verde: #3E7F5A; --lj-verm: #B0493E;
  --lj-serif: 'Cormorant Garamond', Georgia, serif; --lj-display: 'Bebas Neue', Impact, sans-serif; --lj-sans: 'DM Sans', system-ui, sans-serif;
  font-family: var(--lj-sans); color: var(--lj-tinta); box-sizing: border-box;
}
.amp-lj *, .amp-lj-camada *, .amp-lj-fab * { box-sizing: border-box; }
.amp-lj svg, .amp-lj-camada svg, .amp-lj-fab svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.amp-lj button, .amp-lj-camada button, .amp-lj-fab { font: inherit; cursor: pointer; }

.amp-lj { max-width: 1240px; margin: 0 auto; padding: 8px 16px 64px; }

/* cabeçalho */
.amp-lj-hero { text-align: center; padding: 28px 0 18px; }
.amp-lj-kicker { font-family: var(--lj-display); letter-spacing: .22em; color: var(--lj-ouro2); font-size: 15px; }
.amp-lj-h { font-family: var(--lj-serif); font-weight: 600; font-size: clamp(34px, 5vw, 54px); line-height: 1.05; margin: 6px 0 10px; color: var(--lj-tinta); }
.amp-lj-sub { color: var(--lj-tinta2); max-width: 560px; margin: 0 auto; font-size: 16px; }

/* barra de filtros */
.amp-lj-barra { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--lj-papel) 94%, transparent); backdrop-filter: blur(8px); padding: 12px 0 10px; border-bottom: 1px solid var(--lj-quente); display: grid; gap: 10px; }
.amp-lj-busca { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--lj-quente); border-radius: 999px; padding: 0 16px; height: 46px; }
.amp-lj-busca:focus-within { border-color: var(--lj-ouro); box-shadow: 0 0 0 3px rgba(195,154,80,.18); }
.amp-lj-busca svg { color: var(--lj-tinta2); }
.amp-lj-busca input { border: 0 !important; outline: 0; background: transparent !important; flex: 1; font: inherit; font-size: 15px; min-width: 0; padding: 0 !important; box-shadow: none !important; color: var(--lj-tinta); }
.amp-lj-filtros-linha { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.amp-lj-seg { display: inline-flex; background: var(--lj-creme); border-radius: 999px; padding: 3px; border: 1px solid var(--lj-quente); }
.amp-lj-seg button { border: 0; background: transparent; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; color: var(--lj-tinta2); font-weight: 500; }
.amp-lj-seg button.is-on { background: var(--lj-tinta); color: var(--lj-creme); }
.amp-lj-filtros-linha select { border: 1px solid var(--lj-quente); background: #fff; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 13.5px; color: var(--lj-tinta); height: auto; }
.amp-lj-cats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.amp-lj-cats::-webkit-scrollbar { display: none; }
.amp-lj-chip { border: 1px solid var(--lj-quente); background: #fff; color: var(--lj-tinta2); border-radius: 999px; padding: 6px 14px; font-size: 13px; white-space: nowrap; }
.amp-lj-chip.is-on { border-color: var(--lj-ouro); background: var(--lj-ouro); color: #fff; }
.amp-lj-contagem { font-size: 13px; color: var(--lj-tinta2); margin: 14px 0 10px; min-height: 1em; }

/* grade */
.amp-lj-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px 18px; }
@media (max-width: 560px) { .amp-lj-grade { grid-template-columns: repeat(2, 1fr); gap: 16px 10px; } }
.amp-lj-card { position: relative; background: var(--lj-papel); border: 1px solid var(--lj-quente); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.amp-lj-card:hover { box-shadow: 0 14px 30px -18px rgba(22,19,13,.35); transform: translateY(-2px); }
.amp-lj-card.is-alvo { outline: 2px solid var(--lj-ouro); outline-offset: 2px; }
.amp-lj-card.is-esgotado .amp-lj-card-foto img { filter: grayscale(.6); opacity: .7; }
.amp-lj-card-foto { position: relative; display: block; border: 0; padding: 0; background: var(--lj-creme); aspect-ratio: 1; width: 100%; overflow: hidden; }
.amp-lj-card-foto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.amp-lj-card:hover .amp-lj-card-foto img { transform: scale(1.04); }
.amp-lj-semfoto { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--lj-serif); font-size: 22px; color: var(--lj-ouro2); background: linear-gradient(135deg, var(--lj-creme), var(--lj-quente)); }
.amp-lj-selo { position: absolute; left: 10px; top: 10px; font-size: 11px; font-weight: 600; letter-spacing: .02em; padding: 4px 9px; border-radius: 999px; background: #fff; color: var(--lj-tinta); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.amp-lj-selo--pronta { background: var(--lj-verde); color: #fff; }
.amp-lj-selo--enc { background: var(--lj-tinta); color: var(--lj-ouro3); }
.amp-lj-selo--esg { background: #fff; color: var(--lj-verm); }
.amp-lj-selo--promo { top: auto; bottom: 10px; background: var(--lj-ouro); color: #fff; }
.amp-lj-share { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,253,248,.92); color: var(--lj-tinta); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.amp-lj-share:hover { color: var(--lj-ouro2); }
.amp-lj-card-info { padding: 12px 14px 14px; display: grid; gap: 4px; }
.amp-lj-cod { font-size: 11.5px; color: var(--lj-tinta2); letter-spacing: .04em; text-transform: uppercase; }
.amp-lj-card-tit { margin: 0; font-family: var(--lj-serif); font-weight: 600; font-size: 19px; line-height: 1.15; }
.amp-lj-card-tit button { all: unset; cursor: pointer; }
.amp-lj-card-tit button:focus-visible { outline: 2px solid var(--lj-ouro); }
.amp-lj-preco { font-size: 14.5px; color: var(--lj-tinta); margin-top: 2px; }
.amp-lj-preco b { font-weight: 600; }
.amp-lj-preco small { color: var(--lj-tinta2); font-size: 12px; }
.amp-lj-preco s { color: var(--lj-tinta2); font-size: 12.5px; }
@media (max-width: 560px) { .amp-lj-card-tit { font-size: 16.5px; } .amp-lj-card-info { padding: 10px; } }
.amp-lj-vazio { grid-column: 1 / -1; text-align: center; padding: 48px 16px; color: var(--lj-tinta2); display: grid; gap: 14px; justify-items: center; }
.amp-lj-sentinela { height: 1px; }

/* botões */
.amp-lj-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 13px 22px; background: var(--lj-tinta); color: var(--lj-creme) !important; font-weight: 600; font-size: 15px; text-decoration: none !important; transition: background .2s; width: 100%; }
.amp-lj-btn:hover { background: #2a251b; }
.amp-lj-btn--linha { background: transparent; color: var(--lj-tinta) !important; border: 1px solid var(--lj-tinta); width: auto; }
.amp-lj-btn--linha:hover { background: var(--lj-creme); }
.amp-lj-btn--texto { background: transparent; color: var(--lj-tinta2) !important; font-weight: 500; padding: 10px; }
.amp-lj-btn--texto:hover { background: transparent; color: var(--lj-ouro2) !important; }
.amp-lj-btn--wa { background: #1f8f4e; color: #fff !important; }
.amp-lj-btn--wa:hover { background: #197a42; }
.amp-lj-btn[disabled] { opacity: .6; pointer-events: none; }
.amp-lj-btn.is-carregando::after { content: ''; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: amplj-gira .7s linear infinite; }
@keyframes amplj-gira { to { transform: rotate(360deg); } }

/* camadas */
html.amp-lj-travado { overflow: hidden; }
.amp-lj-camada { position: fixed; inset: 0; z-index: 99999; background: rgba(22,19,13,.55); display: flex; opacity: 0; transition: opacity .22s; }
.amp-lj-camada.is-on { opacity: 1; }
.amp-lj-camada--peca { align-items: center; justify-content: center; padding: 24px; }
.amp-lj-modal { position: relative; background: var(--lj-papel); border-radius: 18px; width: min(1000px, 100%); max-height: calc(100vh - 48px); overflow: auto; display: grid; grid-template-columns: 1.05fr 1fr; transform: translateY(12px); transition: transform .25s; }
.amp-lj-camada.is-on .amp-lj-modal { transform: none; }
.amp-lj-fechar { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,253,248,.95); display: grid; place-items: center; color: var(--lj-tinta); box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.amp-lj-galeria { position: sticky; top: 0; align-self: start; background: var(--lj-creme); }
.amp-lj-trilho { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 1; }
.amp-lj-trilho::-webkit-scrollbar { display: none; }
.amp-lj-trilho img, .amp-lj-trilho .amp-lj-semfoto { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.amp-lj-pontos { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.amp-lj-pontos button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.7); box-shadow: 0 0 0 1px rgba(0,0,0,.1); }
.amp-lj-pontos button.is-on { background: var(--lj-ouro); width: 20px; border-radius: 4px; }
.amp-lj-det { padding: 30px 30px 26px; display: grid; gap: 14px; align-content: start; }
.amp-lj-det-tit { font-family: var(--lj-serif); font-weight: 600; font-size: 34px; line-height: 1.05; margin: -6px 0 0; outline: 0; color: var(--lj-tinta); }
.amp-lj-det-preco { font-size: 22px; }
.amp-lj-det-preco b { font-weight: 600; }
.amp-lj-det-preco s { font-size: 15px; color: var(--lj-tinta2); margin-right: 8px; }
.amp-lj-det-preco small { font-size: 13px; color: var(--lj-tinta2); }
.amp-lj-sit { border-radius: 10px; padding: 10px 14px; font-size: 13.5px; }
.amp-lj-sit p { margin: 4px 0 0; color: var(--lj-tinta2); font-size: 12.5px; }
.amp-lj-sit--pronta { background: #E7F2EA; color: #245A3B; }
.amp-lj-sit--enc { background: var(--lj-creme); border: 1px solid var(--lj-quente); }
.amp-lj-sit--esg { background: #F7E6E3; color: var(--lj-verm); }
.amp-lj-desc { font-size: 14.5px; color: var(--lj-tinta2); line-height: 1.6; }
.amp-lj-desc p { margin: 0 0 8px; }
.amp-lj-campo { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
.amp-lj-campo legend { font-family: var(--lj-display); letter-spacing: .12em; font-size: 15px; color: var(--lj-tinta); padding: 0; margin-bottom: 8px; }
.amp-lj-campo legend small { font-family: var(--lj-sans); letter-spacing: 0; font-size: 12px; color: var(--lj-tinta2); }
.amp-lj-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.amp-lj-opts--col { flex-direction: column; }
.amp-lj-opt { position: relative; cursor: pointer; }
.amp-lj-opt input { position: absolute; opacity: 0; pointer-events: none; }
.amp-lj-opt span { display: inline-flex; flex-direction: column; border: 1px solid var(--lj-quente); background: #fff; border-radius: 10px; padding: 8px 14px; font-size: 14px; transition: border-color .15s, box-shadow .15s; }
.amp-lj-opts--col .amp-lj-opt span { display: flex; }
.amp-lj-opt span small { font-size: 11.5px; color: var(--lj-tinta2); }
.amp-lj-opt input:checked + span { border-color: var(--lj-ouro); box-shadow: 0 0 0 1px var(--lj-ouro); background: #FFF9EC; }
.amp-lj-opt input:focus-visible + span { outline: 2px solid var(--lj-ouro); outline-offset: 2px; }
.amp-lj-linha { display: flex; gap: 10px; flex-wrap: wrap; }
.amp-lj-sel { display: grid; gap: 4px; flex: 1; min-width: 130px; }
.amp-lj-sel span, .amp-lj-grav span, .amp-lj-form label > span { font-size: 12.5px; color: var(--lj-tinta2); }
.amp-lj-camada select, .amp-lj-camada input[type=text], .amp-lj-camada input[type=tel], .amp-lj-camada input[type=email], .amp-lj-camada textarea, .amp-lj-camada input:not([type]) {
  width: 100%; border: 1px solid var(--lj-quente); border-radius: 10px; background: #fff; padding: 11px 12px; font: inherit; font-size: 15px; color: var(--lj-tinta); height: auto; box-shadow: none; }
.amp-lj-camada select:focus, .amp-lj-camada input:focus, .amp-lj-camada textarea:focus { outline: 0; border-color: var(--lj-ouro); box-shadow: 0 0 0 3px rgba(195,154,80,.18); }
.amp-lj-grav { position: relative; display: grid; gap: 4px; }
.amp-lj-grav em { position: absolute; right: 10px; bottom: 12px; font-style: normal; font-size: 11px; color: var(--lj-tinta2); }
.amp-lj-link { font-size: 13px; color: var(--lj-ouro2) !important; text-decoration: underline; }
.amp-lj-erro { margin: 0; color: var(--lj-verm); font-size: 13.5px; background: #F7E6E3; padding: 8px 12px; border-radius: 8px; }
.amp-lj-acoes { display: flex; gap: 10px; align-items: stretch; }
.amp-lj-acoes .amp-lj-btn { flex: 1; }
.amp-lj-qtd { display: flex; border: 1px solid var(--lj-quente); border-radius: 999px; overflow: hidden; background: #fff; }
.amp-lj-qtd button { border: 0; background: transparent; width: 38px; font-size: 18px; color: var(--lj-tinta); }
.amp-lj-camada .amp-lj-qtd input { width: 42px; border: 0; text-align: center; padding: 0; font: inherit; font-weight: 600; -moz-appearance: textfield; background: transparent; box-shadow: none; }
.amp-lj-qtd input::-webkit-inner-spin-button { -webkit-appearance: none; }

@media (max-width: 760px) {
  .amp-lj-camada--peca { padding: 0; align-items: flex-end; }
  .amp-lj-modal { grid-template-columns: 1fr; border-radius: 18px 18px 0 0; max-height: 94vh; transform: translateY(40px); }
  .amp-lj-galeria { position: relative; }
  .amp-lj-det { padding: 20px 18px 28px; }
  .amp-lj-det-tit { font-size: 28px; }
  .amp-lj-acoes { position: sticky; bottom: 0; background: var(--lj-papel); padding: 10px 0 4px; margin-bottom: -4px; }
}

/* gaveta */
.amp-lj-camada--gaveta { justify-content: flex-end; }
.amp-lj-gaveta { background: var(--lj-papel); width: min(440px, 100%); height: 100%; display: flex; flex-direction: column; transform: translateX(30px); transition: transform .25s; }
.amp-lj-camada.is-on .amp-lj-gaveta { transform: none; }
.amp-lj-gaveta > header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--lj-quente); }
.amp-lj-gaveta > header h2 { margin: 0; font-family: var(--lj-serif); font-weight: 600; font-size: 28px; outline: 0; color: var(--lj-tinta); }
.amp-lj-gaveta > header .amp-lj-fechar { position: static; box-shadow: none; background: var(--lj-creme); }
.amp-lj-gaveta-corpo { flex: 1; overflow: auto; padding: 16px 20px 24px; display: flex; flex-direction: column; }
.amp-lj-itens { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.amp-lj-itens > li { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--lj-quente); }
.amp-lj-itens > li > img, .amp-lj-itens > li > .amp-lj-semfoto { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.amp-lj-itens b { font-family: var(--lj-serif); font-size: 18px; font-weight: 600; display: block; line-height: 1.15; }
.amp-lj-itens small { font-size: 12px; color: var(--lj-tinta2); }
.amp-lj-itens ul { list-style: none; padding: 0; margin: 6px 0 0; font-size: 12.5px; color: var(--lj-tinta2); display: grid; gap: 1px; }
.amp-lj-item-pe { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-weight: 600; font-size: 14px; }
.amp-lj-item-pe button { border: 0; background: none; color: var(--lj-tinta2); font-size: 12.5px; padding: 4px 6px; text-decoration: underline; }
.amp-lj-item-pe button:last-child { text-decoration: none; }
.amp-lj-item-pe button:hover { color: var(--lj-verm); }
.amp-lj-resumo { margin-top: auto; padding-top: 18px; display: grid; gap: 10px; }
.amp-lj-resumo > div { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.amp-lj-resumo > div b { font-size: 21px; }
.amp-lj-resumo p { margin: 0; font-size: 12.5px; color: var(--lj-tinta2); }
.amp-lj-resumo--mini { margin-top: 4px; padding-top: 0; }
.amp-lj-form { display: grid; gap: 12px; }
.amp-lj-form label { display: grid; gap: 4px; }
.amp-lj-form label[hidden] { display: none; }
.amp-lj-voltar { border: 0; background: none; color: var(--lj-tinta2); display: inline-flex; align-items: center; gap: 4px; padding: 0; font-size: 13px; justify-self: start; }
.amp-lj-nota { font-size: 12.5px; color: var(--lj-tinta2); background: var(--lj-creme); padding: 10px 12px; border-radius: 8px; margin: 0; }
.amp-lj-isca { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.amp-lj-ok { text-align: center; display: grid; gap: 12px; justify-items: center; padding: 30px 6px; }
.amp-lj-ok h3 { font-family: var(--lj-serif); font-size: 28px; margin: 0; font-weight: 600; }
.amp-lj-ok p { color: var(--lj-tinta2); margin: 0; }
.amp-lj-ok-ico { width: 60px; height: 60px; border-radius: 50%; background: #E7F2EA; color: var(--lj-verde); display: grid; place-items: center; font-size: 28px; }

/* botão flutuante e aviso */
.amp-lj-fab { position: fixed; right: 18px; bottom: 90px; z-index: 9998; width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--lj-tinta); color: var(--lj-ouro3); display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(22,19,13,.55); transform: scale(0); transition: transform .25s; }
.amp-lj-fab.is-on { transform: scale(1); }
.amp-lj-fab svg { width: 24px; height: 24px; }
.amp-lj-fab span { position: absolute; top: -2px; right: -2px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--lj-ouro); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; padding: 0 5px; font-family: var(--lj-sans); }
.amp-lj-toast { position: fixed; left: 50%; top: 24px; transform: translate(-50%, -20px); background: var(--lj-tinta); color: var(--lj-creme); padding: 11px 20px; border-radius: 999px; font-size: 14px; z-index: 100000; opacity: 0; transition: .25s; pointer-events: none; font-family: var(--lj-sans); }
.amp-lj-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  .amp-lj *, .amp-lj-camada, .amp-lj-camada * { transition: none !important; animation: none !important; }
}
