/*
 * Tema Luxus — layout no modelo da Da Luz (daluzloja.com.br, tema "Moda Flex"
 * da Tray): cabeçalho branco com busca em pílula dourada, faixa de menu
 * dourada, banner largo, faixa de benefícios, títulos centralizados com traço
 * e grade de 4 com botão "Ver produto".
 *
 * Carregado DEPOIS do anag.css (o tema herdado da Luxus): só sobrescreve.
 */
:root {
    --lx-champ: #f4ecdc;
    --lx-champ-soft: #faf6ee;
    --lx-champ-line: #e3d2ad;
    --lx-gold-dark: #8a6a24;
    --lx-gold-grad: linear-gradient(90deg, #8f6c28 0%, #c19a48 50%, #8f6c28 100%);
    --lx-ink: #222;
    --lx-text: #444;
    --lx-gold: #b8892c;
    --ag-sans: "Inter", Arial, sans-serif;
    --ag-num: "Inter", Arial, sans-serif;
    --ag-ink: #222;
    --ag-rose-dark: #8a6a24;
    --ag-rose-soft: var(--lx-champ);
}
body { font-family: var(--ag-sans); color: var(--lx-ink); }
.lx-wrap { max-width: 1320px; margin: 0 auto; padding-inline: 16px; }

/* ---------- Cabeçalho ---------- */
.lx-header { background: #fff; position: relative; z-index: 20; }
.lx-header-inner { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.lx-logo { flex: none; display: block; }
.lx-logo img { display: block; height: 62px; width: auto; }
.lx-burger { display: none; border: 0; background: none; font-size: 24px; color: var(--lx-ink); padding: 6px; cursor: pointer; }
.lx-links { display: flex; align-items: center; gap: 26px; margin-left: 8px; }
.lx-links a, .lx-links button { display: inline-flex; align-items: center; gap: 7px; border: 0; background: none; padding: 0; font: 400 12.5px var(--ag-sans); text-transform: uppercase; color: var(--lx-ink); cursor: pointer; white-space: nowrap; }
.lx-links i { font-size: 15px; }
.lx-links a:hover, .lx-links button:hover { color: var(--lx-gold); }
.lx-search { flex: 1; max-width: 300px; margin-left: auto; position: relative; }
.lx-search input { width: 100%; height: 50px; border: 0; border-radius: 999px; background: var(--lx-champ); padding: 0 52px 0 22px; font: 400 15px var(--ag-sans); color: var(--lx-ink); outline: none; }
.lx-search input::placeholder { color: #6b6b6b; }
.lx-search input:focus { box-shadow: 0 0 0 2px var(--lx-champ-line); }
.lx-search button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; font-size: 19px; color: var(--lx-ink); padding: 8px; cursor: pointer; }
.lx-cart { display: inline-flex; align-items: center; gap: 8px; color: var(--lx-ink); font: 400 12.5px var(--ag-sans); text-transform: uppercase; white-space: nowrap; }
.lx-cart i { font-size: 20px; }
.lx-cart-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--lx-champ); font-size: 12px; }
.lx-cart:hover { color: var(--lx-gold); }

/* ---------- Menu (faixa dourada) ---------- */
.lx-menu { background: var(--lx-champ); position: relative; z-index: 15; }
.lx-menu-inner { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 26px; min-height: 54px; }
.lx-menu-inner > a, .lx-menu-top { display: inline-flex; align-items: center; gap: 6px; padding: 16px 0; font: 400 16px var(--ag-sans); text-transform: uppercase; color: var(--lx-ink); cursor: pointer; }
.lx-menu-top i { font-size: 10px; }
.lx-menu-inner > a:hover, .lx-menu-inner > a.is-active, .lx-menu-grupo:hover .lx-menu-top { color: var(--lx-gold); }
.lx-menu-grupo { position: relative; }
.lx-menu-drop { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); min-width: 200px; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .1); padding: 8px 0; display: none; }
.lx-menu-grupo:hover .lx-menu-drop, .lx-menu-grupo:focus-within .lx-menu-drop { display: block; }
.lx-menu-drop a { display: block; padding: 9px 20px; font-size: 14px; color: var(--lx-ink); white-space: nowrap; }
.lx-menu-drop a:hover, .lx-menu-drop a.is-active { background: var(--lx-champ-soft); color: var(--lx-gold); }

/* ---------- Banner ---------- */
.ag-banner { background: #eee; }
.ag-slide-img img { max-height: none; aspect-ratio: 3 / 1; object-fit: cover; }
.ag-slide-img.has-caption::before { background: rgba(0, 0, 0, .28); }
.ag-caption h1 { font: 700 clamp(30px, 4.6vw, 68px)/1.05 var(--ag-sans); letter-spacing: -.01em; text-transform: lowercase; text-shadow: 0 2px 14px rgba(0, 0, 0, .25); }
.ag-caption p { margin-top: 12px; font: 400 clamp(14px, 1.9vw, 26px) var(--ag-sans); }
.ag-cta { margin-top: 18px; background: none; border: 2px solid #fff; color: #fff; padding: 6px 14px; font: 400 clamp(13px, 1.7vw, 24px) var(--ag-sans); letter-spacing: 0; text-transform: lowercase; }
.ag-cta:hover { background: #fff; color: var(--lx-ink); }

/* ---------- Benefícios ---------- */
.lx-benefits { border-bottom: 1px solid var(--lx-champ); }
.lx-benefits-inner { display: flex; justify-content: space-around; align-items: center; gap: 20px; padding-block: 18px; }
.lx-benefit { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--lx-ink); }
.lx-benefit svg { width: 34px; height: 34px; flex: none; }

/* ---------- Seções da vitrine ---------- */
.lx-secao { padding-top: 42px; }
.lx-titulo { margin: 0 auto 38px; width: max-content; max-width: calc(100% - 32px); padding: 0 30px 16px; border-bottom: 2px solid var(--lx-champ); font: 400 16px var(--ag-sans); letter-spacing: .02em; text-transform: uppercase; text-align: center; color: var(--lx-ink); }
.lx-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 50px 20px; }
.lx-ver-todos { text-align: center; margin-top: 30px; }
.lx-ver-todos a { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--lx-text); text-decoration: underline; text-underline-offset: 4px; }
.lx-ver-todos a:hover { color: var(--lx-gold); }
.lx-mais { text-align: center; padding: 50px 16px 60px; }
.lx-btn { display: inline-block; padding: 14px 34px; border-radius: 999px; background: var(--lx-champ); color: var(--lx-ink); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.lx-btn:hover { background: var(--lx-champ-line); }

/* ---------- Card de produto ---------- */
.ag-card-img { background: var(--lx-champ-soft); }
.ag-noimg { background: linear-gradient(160deg, #fbf8f1, #f1e6cf); color: var(--lx-gold-dark); font: 400 15px/1.3 var(--ag-sans); text-transform: none; }
.ag-tags { top: 10px; left: 10px; }
.ag-tag, .ag-tag--off { background: var(--lx-champ); color: var(--lx-ink); font-size: 12px; text-transform: uppercase; padding: 8px 9px; }
.ag-tag--out { background: #555; color: #fff; }
.ag-card-info { padding-top: 14px; }
.ag-card-name { font: 400 14px/1.35 var(--ag-sans); color: var(--lx-ink); }
.ag-old { margin-top: 10px; font: 400 13px var(--ag-sans); color: #555; }
.ag-price { margin-top: 8px; font: 400 16px var(--ag-sans); color: var(--lx-ink); }
.ag-old + .ag-price { margin-top: 2px; }
.ag-card-buy { opacity: 1; transform: none; margin-top: 18px; display: flex; justify-content: center; }
.ag-buy { display: inline-grid; place-items: center; width: 200px; max-width: 100%; height: 44px; border: 1px solid var(--lx-champ); border-radius: 999px; background: var(--lx-champ-soft); color: var(--lx-gold-dark); font: 400 12px var(--ag-sans); text-transform: uppercase; letter-spacing: .02em; }
.ag-buy:hover { background: var(--lx-champ); color: var(--lx-ink); }
.ag-hearts { display: none; }
/* listagens que ainda usam a grade antiga (categoria, busca): 4 por linha */
.ag-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 50px 20px; }

/* ---------- Rodapé ---------- */
.ag-news { background: var(--lx-champ-soft); border: 0; }
.ag-footer { background: var(--lx-champ); color: var(--lx-text); }
.lx-footer-logo { text-align: center; padding-top: 40px; }
.lx-footer-logo img { height: 80px; width: auto; }
.ag-footer h4 { font: 600 13px var(--ag-sans); text-transform: uppercase; letter-spacing: .04em; }
.ag-footer a { color: var(--lx-text); }
.ag-footer a:hover, .ag-footer-contact button:hover { color: var(--lx-gold); }
.ag-footer-contact i { color: var(--lx-ink); }
.ag-footer-bottom { border-top: 1px solid var(--lx-champ-line); color: #666; }

/* ---------- Telas menores ---------- */
@media (max-width: 1180px) {
    .lx-links { display: none; }
}
@media (max-width: 860px) {
    .lx-header-inner { flex-wrap: wrap; gap: 10px 14px; min-height: 0; padding-block: 12px; }
    .lx-burger { display: block; order: 1; }
    .lx-logo { order: 2; margin: 0 auto; }
    .lx-logo img { height: 48px; }
    .lx-cart { order: 3; }
    .lx-cart-label { display: none; }
    .lx-search { order: 4; flex-basis: 100%; max-width: none; }
    .lx-search input { height: 46px; }
    .lx-menu { display: none; }
    .ag-slide-img img { aspect-ratio: 16 / 9; }
    .lx-benefits-inner { gap: 6px; padding-block: 20px; }
    .lx-benefit { flex: 1; flex-direction: column; text-align: center; gap: 8px; font-size: 12.5px; line-height: 1.3; }
    .lx-grid, .ag-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 10px; }
    .lx-titulo { margin-bottom: 26px; font-size: 15px; }
    .ag-buy { height: 40px; }
}

/* Ajustes finos */
.ag-caption .ag-cta { justify-self: center; width: max-content; max-width: 100%; }
.lx-logo img { height: 70px; }
.ag-noimg { gap: 16px; }
.ag-noimg .lx-noimg-logo { position: static; inset: auto; width: 46%; height: auto; opacity: .55; object-fit: contain; }
.ag-card-buy { margin-top: auto; padding-top: 16px; }
@media (max-width: 860px) { .lx-logo img { height: 50px; } }

/* Dourado da marca (pedido do cliente: onde era rosa, vira dourado) */
.lx-menu { background: var(--lx-gold-grad); }
.lx-menu-inner > a, .lx-menu-top { color: #fff; }
.lx-menu-inner > a:hover, .lx-menu-inner > a.is-active, .lx-menu-grupo:hover .lx-menu-top { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.lx-titulo { border-bottom-color: var(--lx-gold); }
.ag-tag, .ag-tag--off { background: var(--lx-gold-grad); color: #fff; }
.ag-buy { border-color: var(--lx-gold); background: #fff; color: var(--lx-gold-dark); }
.ag-buy:hover { background: var(--lx-gold-grad); color: #fff; }
.lx-btn { background: var(--lx-gold-grad); color: #fff; }
.lx-btn:hover { background: var(--lx-gold-dark); color: #fff; }
.lx-benefits { border-bottom-color: var(--lx-champ-line); }
.lx-benefit svg { color: var(--lx-gold); }
.lx-cart { border: 0; background: var(--lx-gold-grad); color: #fff; padding: 0 18px; height: 46px; border-radius: 999px; cursor: pointer; }
.lx-cart:hover { color: #fff; filter: brightness(1.08); }
.lx-cart i { font-size: 20px; }
.lx-wa-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--lx-gold-grad) !important; color: #fff !important; border: 0; }
.ag-footer { border-top: 3px solid var(--lx-gold); }
@media (max-width: 860px) { .lx-cart { width: 46px; padding: 0; justify-content: center; } }
.lx-footer-logo { display: flex; justify-content: center; width: 100%; }
.ag-product .ag-hearts, .ag-hearts { display: none !important; }
.ag-btn { border-color: var(--lx-gold); color: var(--lx-gold-dark); }
.ag-btn:hover { background: var(--lx-gold-grad); border-color: transparent; color: #fff; }
.ag-product-hearts { display: none !important; }

/* ---------- Modal "Fale com uma vendedora" ---------- */
.lx-wa .wa-modal-backdrop { background: rgba(20, 16, 8, .55); backdrop-filter: blur(3px); }
.lx-wa .wa-modal-box { position: relative; width: min(420px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; border-radius: 22px; background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .25); padding: 0; }
.lx-wa .wa-modal-close { position: absolute; top: 12px; right: 14px; z-index: 1; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .85); color: #555; font-size: 24px; line-height: 1; cursor: pointer; }
.lx-wa .wa-modal-close:hover { background: #fff; color: #111; }
.lx-wa-head { text-align: center; padding: 26px 24px 20px; background: linear-gradient(180deg, var(--lx-champ) 0%, #fff 100%); border-bottom: 1px solid var(--lx-champ-line); }
.lx-wa-logo { display: block; height: 58px; width: auto; margin: 0 auto 12px; }
.lx-wa-head strong { display: block; font: 600 19px var(--ag-sans); color: var(--lx-ink); }
.lx-wa-head p { margin: 4px 0 0; font-size: 13.5px; color: #6b6b6b; }
.lx-wa .wa-modal-list { padding: 16px; gap: 10px; }
.lx-wa .wa-seller { gap: 14px; padding: 12px 14px; border: 1px solid #eee; border-radius: 16px; background: #fff; color: var(--lx-ink); transition: border-color .2s, box-shadow .2s, transform .2s; }
.lx-wa .wa-seller:hover { border-color: var(--lx-gold); background: var(--lx-champ-soft); box-shadow: 0 8px 22px rgba(138, 106, 36, .14); transform: translateY(-1px); }
.lx-wa-foto { position: relative; flex: none; width: 60px; height: 60px; border-radius: 50%; padding: 2px; background: var(--lx-gold-grad); }
.lx-wa-foto img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid #fff; background: #fff; }
.lx-wa-online { position: absolute; right: 1px; bottom: 3px; width: 14px; height: 14px; border-radius: 50%; background: #25d366; border: 2px solid #fff; }
.lx-wa .wa-seller-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lx-wa .wa-seller-info b { font-size: 15.5px; font-weight: 600; }
.lx-wa .wa-seller-info small { font-size: 12.5px; color: #8a8a8a; }
.lx-wa-go { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; background: #25d366; color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; }
.lx-wa .wa-seller:hover .lx-wa-go { background: #1ebe5a; }
.lx-wa-nota { margin: 0; padding: 0 20px 18px; text-align: center; font-size: 12px; color: #8a8a8a; }
.lx-wa-nota i { margin-right: 4px; color: var(--lx-gold); }
@media (max-width: 420px) { .lx-wa-go { padding: 9px 11px; font-size: 0; gap: 0; } .lx-wa-go i { font-size: 18px; } }

/* ---------- Marcas ---------- */
.lx-card-marca { display: block; margin-bottom: 4px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--lx-gold-dark); }
.lx-produto-marca { display: inline-block; margin-bottom: 6px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--lx-gold-dark); }
.lx-produto-marca:hover { text-decoration: underline; }
.lx-filtro-marcas-titulo { margin-top: 26px; }
.lx-filtro-marcas { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-height: 340px; overflow: auto; }
.lx-filtro-marcas a { display: flex; align-items: center; gap: 9px; padding: 5px 2px; font-size: 13.5px; color: var(--lx-ink); }
.lx-filtro-marcas small { color: #999; }
.lx-marca-check { flex: none; width: 16px; height: 16px; border: 1.5px solid #bbb; border-radius: 4px; }
.lx-filtro-marcas a:hover .lx-marca-check { border-color: var(--lx-gold); }
.lx-filtro-marcas a.is-on { color: var(--lx-gold-dark); font-weight: 600; }
.lx-filtro-marcas a.is-on .lx-marca-check { border-color: var(--lx-gold); background: var(--lx-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center/12px no-repeat; }
/* Filtro da listagem no dourado (vinha verde da Lavique) */
.ag-filterbox { background: var(--lx-champ-soft); box-shadow: none; border: 1px solid var(--lx-champ-line); }
.ag-range-fill { background: var(--lx-gold); }
.ag-range input[type="range"]::-webkit-slider-thumb { border-color: var(--lx-gold); }
.ag-range input[type="range"]::-moz-range-thumb { border-color: var(--lx-gold); }
.ag-range input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px rgba(184, 137, 44, .25); }
.ag-filter-submit { border-color: var(--lx-gold); color: var(--lx-gold-dark); padding: 6px 8px; border-radius: 999px; }
.ag-filter-submit:hover { background: var(--lx-gold-grad); border-color: transparent; color: #fff; }
.brand-card:hover { border-color: var(--lx-gold); }

/* Página Marcas: logo ocupa o card; sem logo, o nome em letra de marca */
.brand-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.brand-card { min-height: 104px; border-radius: 14px; border: 1px solid #eee; background: #fff; }
.brand-card:hover { border-color: var(--lx-gold); box-shadow: 0 8px 22px rgba(138, 106, 36, .12); }
.brand-card .brand-card-logo { display: flex; align-items: center; justify-content: center; width: 100%; height: 72px; padding: 0 12px; }
.brand-card .brand-card-logo img { width: auto; height: auto; max-width: 100%; max-height: 64px; border: 0; border-radius: 0; background: none; object-fit: contain; }
.brand-card .brand-chip-name { font: 500 19px/1.15 "Cormorant Garamond", Georgia, serif; letter-spacing: .08em; text-transform: uppercase; color: var(--lx-ink); text-align: center; }
@media (max-width: 600px) { .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Faixa de marcas no topo da listagem ---------- */
.lx-faixa-marcas { position: relative; margin: 6px 0 22px; overflow: hidden; border-block: 1px solid var(--lx-champ-line); background: #fff; }
.lx-faixa-marcas::before, .lx-faixa-marcas::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 1; width: 40px; pointer-events: none; }
.lx-faixa-marcas::before { left: 0; background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0)); }
.lx-faixa-marcas::after { right: 0; background: linear-gradient(-90deg, #fff, rgba(255, 255, 255, 0)); }
.lx-faixa-trilho { display: flex; align-items: center; gap: 12px; width: max-content; padding: 12px 14px; }
.lx-faixa-marcas:not(.is-passando) .lx-faixa-trilho { width: auto; flex-wrap: wrap; justify-content: center; }
.lx-faixa-marcas.is-passando .lx-faixa-trilho { animation: lxFaixa 45s linear infinite; }
.lx-faixa-marcas.is-passando:hover .lx-faixa-trilho, .lx-faixa-marcas.is-passando:focus-within .lx-faixa-trilho, .lx-faixa-marcas.is-tocando .lx-faixa-trilho { animation-play-state: paused; }
@keyframes lxFaixa { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.lx-faixa-item { flex: none; display: grid; place-items: center; width: 130px; height: 62px; padding: 8px 12px; border: 1px solid #eee; border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.lx-faixa-item img { max-width: 100%; max-height: 40px; object-fit: contain; }
.lx-faixa-item span { font: 500 14px/1.1 "Cormorant Garamond", Georgia, serif; letter-spacing: .06em; text-transform: uppercase; color: var(--lx-ink); text-align: center; }
.lx-faixa-item:hover { border-color: var(--lx-gold); }
.lx-faixa-item.is-on { border: 2px solid var(--lx-gold); box-shadow: 0 4px 14px rgba(138, 106, 36, .18); }
.lx-faixa-todas { width: 90px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--lx-gold-dark); }
@media (max-width: 600px) { .lx-faixa-item { width: 104px; height: 54px; } .lx-faixa-item img { max-height: 34px; } .lx-faixa-marcas.is-passando .lx-faixa-trilho { animation-duration: 35s; } }
@media (prefers-reduced-motion: reduce) { .lx-faixa-marcas.is-passando { overflow-x: auto; } .lx-faixa-marcas.is-passando .lx-faixa-trilho { animation: none; } }
