:root { --bg: #0a0a0a; --card: rgba(20,20,20, .78); --line: rgba(255,255,255,.08); --text: #f4f5f8; --muted: #9a9a9a; --accent: #f5b301; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--text); font-family: Inter, system-ui, sans-serif; background: radial-gradient(900px 400px at 10% -10%, rgba(245,179,1,.18), transparent 50%), var(--bg); }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: #ffd66b; text-decoration: none; }
.back-dash {
  width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0;
  background: #171717; border: 1px solid #2e2e2e; color: #fff;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.back-dash svg { width: 22px; height: 22px; fill: currentColor; }
.back-dash:hover { transform: translateX(-3px); border-color: #f5b301; box-shadow: 0 0 0 4px rgba(245,179,1,.18); color: #fff; }
.top { display: flex; gap: 16px; align-items: center; padding: 14px 22px; position: sticky; top: 0; z-index: 5; backdrop-filter: blur(16px); background: rgba(10,10,14,.92); border-bottom: 1px solid var(--line); }
.search { flex: 1; display: flex; align-items: center; gap: 8px; max-width: 520px; height: 42px; padding: 0 14px; border-radius: 12px; background: #171717; border: 1px solid #2a2a2a; }
.search svg { width: 18px; height: 18px; fill: #8d8d9a; }
.search input { flex: 1; border: 0; outline: 0; background: transparent; min-width: 0; }
.brand { display: flex; gap: 10px; align-items: center; font-weight: 800; color: #fff; }
.brand img { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; }
nav { display: flex; gap: 8px; align-items: center; }
nav button, nav a { background: transparent; border: 0; color: var(--muted); padding: 8px 12px; border-radius: 999px; }
nav button.on, nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.nt { position: relative; margin-left: auto; }
.nt-bell { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #2a2a2a; background: #171717; color: #c9cbd6; cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.nt-bell svg { width: 20px; height: 20px; }
.nt-bell:hover, .nt-bell.on { border-color: #3b3b48; color: #fff; background: #1d1d25; }
.nt-bell.ring svg { animation: ntRing .9s ease; transform-origin: 50% 2px; }
@keyframes ntRing { 0%,100% { transform: rotate(0); } 15% { transform: rotate(16deg); } 30% { transform: rotate(-14deg); } 45% { transform: rotate(10deg); } 60% { transform: rotate(-8deg); } 75% { transform: rotate(4deg); } }
.nt-badge { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; border-radius: 999px; background: #f5b301; color: #1a1200; font-size: 11px; font-weight: 800; border: 2px solid #0a0a0e; line-height: 1; }
.nt-badge[hidden], .nt-count[hidden] { display: none; }
.nt-pop { position: absolute; top: calc(100% + 12px); right: 0; z-index: 40; display: flex; width: 472px; height: 420px; border-radius: 10px; overflow: hidden; background: #1c1c21; border: 1px solid #2c2c33; box-shadow: 0 24px 60px rgba(0,0,0,.6); animation: ntIn .16s ease-out; }
.nt-pop[hidden] { display: none; }
@keyframes ntIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.nt-side { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 40px; padding: 8px 0; background: #161619; border-right: 1px solid #2a2a30; }
.nt-side button { position: relative; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; border: 0; background: transparent; color: #8d8f9b; cursor: pointer; }
.nt-side button svg { width: 17px; height: 17px; }
.nt-side button:hover { color: #fff; background: rgba(255,255,255,.05); }
.nt-side button.on { color: #fff; background: rgba(255,255,255,.08); }
.nt-count { position: absolute; top: -2px; right: -3px; min-width: 15px; height: 15px; padding: 0 3px; display: grid; place-items: center; border-radius: 999px; background: #f5b301; color: #1a1200; font-size: 9.5px; font-weight: 800; line-height: 1; }
.nt-fill { flex: 1; }
#ntSound { width: 30px; height: 30px; border-radius: 50%; background: #2a2a30; color: #d6d7de; }
#ntSound.off { color: #75778a; background: #222227; }
.nt-body { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.nt-list { flex: 1; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #3a3a44 transparent; }
.nt-item { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px 14px 18px; border-bottom: 1px solid #2a2a30; cursor: pointer; transition: background .15s; outline: 0; }
.nt-item:hover, .nt-item:focus-visible { background: rgba(255,255,255,.03); }
.nt-item:not(.read)::before { content: ""; position: absolute; left: 7px; top: 22px; width: 6px; height: 6px; border-radius: 50%; background: #f5b301; box-shadow: 0 0 0 3px rgba(245,179,1,.18); }
.nt-main { flex: 1; min-width: 0; }
.nt-main h4 { margin: 0 0 4px; font-size: 15.5px; font-weight: 600; color: #fff; line-height: 1.35; }
.nt-main h4 b { font-weight: 700; margin-left: 4px; }
.nt-main p { margin: 0 0 6px; font-size: 14px; line-height: 1.6; color: #d4d5dc; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.nt-main time { font-size: 13px; color: #7d7f8c; }
.nt-item.read h4 { color: #a4a6b1; }
.nt-item.read p { color: #8e909c; }
.nt-eye { flex-shrink: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; border: 0; background: #34343c; color: #c3c5cf; cursor: pointer; transition: background .15s, color .15s; }
.nt-eye:hover { background: #f5b301; color: #1a1200; }
.nt-empty { display: grid; place-items: center; gap: 8px; height: 100%; min-height: 200px; padding: 30px; text-align: center; color: #6f7180; }
.nt-empty p { margin: 0; font-size: 14px; }
.nt-foot { flex-shrink: 0; height: 46px; border: 0; border-top: 1px solid #2a2a30; background: #1c1c21; color: #d6d7de; font-size: 15px; cursor: pointer; transition: background .15s, color .15s; }
.nt-foot:hover { background: #222228; color: #fff; }
.nc { max-width: 820px; margin: 0 auto; }
.nc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.nc-head h1 { margin: 0; font-size: 24px; }
.nc-all { height: 36px; padding: 0 14px; border-radius: 8px; border: 1px solid #2a2a2a; background: #171717; color: #d6d7de; cursor: pointer; }
.nc-all:hover { border-color: #f5b301; color: #fff; }
.nc-tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.nc-tabs button { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid #2a2a2a; background: transparent; color: var(--muted); cursor: pointer; }
.nc-tabs button.on { background: rgba(255,255,255,.08); color: #fff; border-color: #3a3a44; }
.nc-list { border: 1px solid #2a2a30; border-radius: 10px; background: #1c1c21; overflow: hidden; }
.nc-list .nt-main p { -webkit-line-clamp: unset; }
.nc-list .nt-item:last-child { border-bottom: 0; }
@media (max-width: 720px) {
  .nt-pop { position: fixed; top: 64px; left: 8px; right: 8px; width: auto; height: min(70vh, 480px); }
}
main { width: min(1240px, calc(100% - 28px)); margin: 22px auto 60px; }
.shop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
h1 { font-size: 34px; letter-spacing: -.6px; margin: 0; font-weight: 750; }
.filters { display: flex; gap: 8px; }
.filters select, .result { color: var(--muted); }
.filters select { height: 36px; border-radius: 10px; border: 1px solid #2a2a2a; background: #151515; padding: 0 10px; }
.result { margin: 6px 0 0; font-size: 14px; }
#shop { --shop-w: min(1560px, calc(100vw - 48px)); width: var(--shop-w); margin-inline: calc((100% - var(--shop-w)) / 2); }
.shop-head { margin-bottom: 18px; }
.shop-layout { display: flex; flex-direction: column; gap: 16px; }
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.sb-left { display: flex; gap: 10px; flex-wrap: wrap; }
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 14px; border: 1px solid #2a2a30; border-radius: 8px; background: #121214; color: #e6e6ea; font-size: 14px; font-weight: 500; cursor: pointer; transition: border-color .15s, background .15s; }
.dd-btn:hover, .dd-btn[aria-expanded="true"] { border-color: #44444c; background: #18181b; }
.dd-btn.on { border-color: #f5b301; color: #ffcf40; }
.dd-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .7; transition: transform .15s; }
.dd-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.dd-pop { position: absolute; top: calc(100% + 8px); left: 0; z-index: 30; min-width: 260px; padding: 14px; border-radius: 10px; background: #18181b; border: 1px solid #2c2c33; box-shadow: 0 18px 40px -12px rgba(0,0,0,.85); display: grid; gap: 14px; }
.dd-pop[hidden] { display: none; }
.dd-check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #d6d6dc; cursor: pointer; white-space: nowrap; }
.dd-check input { width: 17px; height: 17px; accent-color: #f5b301; cursor: pointer; }
.sort-box { position: relative; display: block; }
.sort-box span { position: absolute; top: 5px; left: 15px; color: #8e8f99; font-size: 10.5px; line-height: 1; pointer-events: none; }
.sort-box select { height: 44px; min-width: 190px; padding: 14px 36px 0 14px; border: 1px solid #2a2a30; border-radius: 8px; background: #121214 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4b5bf' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; color: #e6e6ea; font-size: 14px; appearance: none; cursor: pointer; outline: 0; }
.sort-box select:hover, .sort-box select:focus { border-color: #44444c; }
.side-box { margin: 0; padding: 12px 14px; border-radius: 10px; background: #19191d; border: 1px solid #242428; display: flex; align-items: center; gap: 14px; }
.side-box[hidden] { display: none; }
.side-box h4 { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: #8e8f99; white-space: nowrap; }
.side-cats { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.side-cats button { max-width: 340px; padding: 8px 14px; border: 1px solid #2c2c33; border-radius: 999px; background: #121215; color: #c9cad2; font-size: 13px; line-height: 1.2; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .15s, border-color .15s, background .15s; }
.side-cats button:hover { color: #fff; border-color: #44444c; }
.side-cats button.on { color: #1a1200; font-weight: 700; border-color: #f5b301; background: linear-gradient(135deg, #ffd65a, #f5b301); }
.side-price { display: flex; gap: 8px; }
.side-price label { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #b4b5bf; white-space: nowrap; }
.side-price input { width: 92px; height: 38px; padding: 0 10px; border-radius: 8px; border: 1px solid #2c2c33; background: #111114; color: #fff; font-size: 13px; outline: 0; }
.side-price input::placeholder { color: #55565f; }
.side-price input:focus { border-color: #f5b301; }
.side-actions { display: flex; justify-content: flex-end; gap: 8px; }
.side-apply { height: 38px; padding: 0 16px; border: 0; border-radius: 10px; background: linear-gradient(135deg, #ffd65a 0%, #f5b301 48%, #d99a00 100%); color: #1a1200; font-size: 13.5px; font-weight: 800; box-shadow: 0 3px 0 #8f5f00, 0 10px 22px -10px rgba(245,179,1,.7), inset 0 1px 0 rgba(255,255,255,.5); transition: transform .15s, box-shadow .15s, filter .15s; }
.side-apply:hover { filter: brightness(1.06); transform: translateY(-1px); }
.side-apply:active { transform: translateY(2px); box-shadow: 0 1px 0 #8f5f00, inset 0 1px 0 rgba(255,255,255,.4); }
.side-clear { height: 36px; padding: 0 12px; border: 1px solid #2c2c33; border-radius: 6px; background: transparent; color: #b4b5bf; font-size: 13px; }
.side-clear[hidden] { display: none; }
.vitrine { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.v-card { position: relative; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 10px 10px 16px; border-radius: 10px; background: #19191d; border: 1px solid #242428; cursor: pointer; transition: border-color .15s, background .15s, transform .15s, box-shadow .15s; }
.v-card:hover { border-color: rgba(245,179,1,.45); background: #1c1c21; transform: translateY(-3px); box-shadow: 0 14px 30px -14px rgba(0,0,0,.8); }
.banner { position: relative; display: block; width: 100%; aspect-ratio: 16/9; border-radius: 7px; overflow: hidden; background: #111114; }
.v-card.out .banner img, .v-card.out .banner .ph { filter: grayscale(.6) brightness(.6); }
.sold-tag { position: absolute; top: 6px; left: 6px; background: rgba(0,0,0,.72); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; padding: 3px 7px; border-radius: 4px; border: 1px solid rgba(255,255,255,.18); }
.banner img, .banner .ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner .ph { display: grid; place-items: center; font-size: 38px; font-weight: 800; color: #fff; }
.v-fav { position: absolute; top: 5px; right: 5px; display: grid; place-items: center; width: 24px; height: 24px; border: 0; border-radius: 50%; background: rgba(20,20,24,.75); color: #d6d6dc; opacity: 0; transition: opacity .15s, color .15s, transform .15s; }
.v-card:hover .v-fav, .v-fav.on { opacity: 1; }
.v-fav:hover { transform: scale(1.1); }
.v-fav.on { color: #ff4d6d; }
.v-title { display: flex; gap: 8px; align-items: flex-start; min-height: 58px; padding: 0 2px; }
.v-card h3 { flex: 1; min-width: 0; margin: 0; font-size: 13.5px; line-height: 1.4; font-weight: 500; letter-spacing: .1px; text-transform: uppercase; color: #e4e4ea; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.v-icons { display: flex; gap: 4px; flex-shrink: 0; padding-top: 1px; }
.v-icons span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 5px; background: #2a2a31; color: #9fa0ab; }
.v-foot { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; }
.price-pill { height: 34px; min-width: 96px; border: 1.5px solid #f5b301; border-radius: 7px; padding: 0 16px; background: rgba(245,179,1,.06); color: #fff; font-weight: 700; font-size: 15px; transition: background .15s; }
.v-card:hover .price-pill:not(:disabled) { background: rgba(245,179,1,.18); }
.price-pill:disabled { border-color: #3a3a42; background: transparent; color: #8a8a94; cursor: not-allowed; }
.seller { display: flex; align-items: center; gap: 4px; margin: 0; font-size: 12.5px; line-height: 1; }
.seller-name { color: #ffcf40; font-weight: 600; }
.seller-badge { flex-shrink: 0; }
.seller-count { color: #8e8f99; }
.seller-count.low { color: #ffcc66; }
.seller-count.out { color: #ff8fa3; }
.v-ad { position: absolute; right: 8px; bottom: 6px; font-size: 10px; font-weight: 700; color: #8e8f99; }
.v-empty { grid-column: 1 / -1; padding: 40px; text-align: center; color: var(--muted); border: 1px dashed #2a2a2a; border-radius: 6px; }
.ad { background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 16px; padding: 22px 26px 28px; backdrop-filter: blur(14px); }
.ad h2 { margin: 0 0 14px; font-size: 26px; line-height: 1.25; letter-spacing: -.3px; }
.ad h3 { margin: 28px 0 10px; font-size: 15px; letter-spacing: .5px; text-transform: uppercase; color: #ffd66b; }
.crumb { color: var(--muted); font-size: 13px; margin: 0 0 18px; }
.crumb span { margin: 0 6px; color: #5a5a68; }
.ad-top, .ad-hero { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; align-items: start; }
.ad-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "hero buy" "body buy"; column-gap: 28px; align-items: start; }
.ad-hero { grid-area: hero; }
.ad-body { grid-area: body; min-width: 0; }
.buy-box { grid-area: buy; position: sticky; top: 86px; align-self: start; display: flex; flex-direction: column; padding: 16px; border: 1px solid #2a2a30; border-radius: 14px; background: #141416; }
.buy-box .qty { margin-top: 0; }
.buy-box .buy { width: 100%; }
.gallery { display: flex; flex-direction: column; gap: 10px; }
.hero { width: 100%; height: 170px; object-fit: cover; border-radius: 12px; display: block; }
.hero.ph { display: grid; place-items: center; color: #fff; font-size: 48px; font-weight: 800; }
.stats { display: flex; gap: 28px; margin: 8px 0 18px; }
.stats span { display: block; color: var(--muted); font-size: 11px; letter-spacing: .6px; text-transform: uppercase; }
.stats b { display: block; margin-top: 4px; font-size: 22px; }
.buy { display: block; margin-top: 16px; height: 44px; min-width: 160px; border: 0; border-radius: 12px; background: linear-gradient(135deg, #f5b301, #ffc83d); color: #1a1200; font-weight: 800; letter-spacing: .4px; }
.buy:disabled { opacity: .45; }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.qty-hint { color: var(--muted); font-size: 12px; margin: 6px 0 0; }
.ad .total { color: var(--text); font-size: 15px; font-weight: 700; margin: 8px 0 0; }
.specs-wrap { border: 1px solid #2a2a30; border-radius: 10px; overflow: hidden; background: #121214; }
.specs { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs tr + tr td { border-top: 1px solid #2a2a30; }
.specs td { padding: 13px 16px; color: #c9cad2; }
.specs td:first-child { width: 32%; background: #18181c; border-right: 1px solid #2a2a30; color: #e6e6ea; font-weight: 600; }
.desc { border: 1px solid var(--line); border-radius: 12px; padding: 16px; min-height: 60px; white-space: pre-wrap; line-height: 1.55; color: #d6d6de; background: rgba(255,255,255,.02); }
.desc.empty { color: transparent; }
.linkish { margin-top: 18px; background: none; border: 0; color: #a99dff; font-weight: 700; }
@media (max-width: 800px) {
  .ad-top, .ad-hero { grid-template-columns: 1fr; }
  .ad-layout { grid-template-columns: 1fr; grid-template-areas: "buy" "hero" "body"; }
  .buy-box { position: static; }
}
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 16px; }
.meta { color: var(--muted); font-size: 13px; }
.kicker { letter-spacing: 1.4px; text-transform: uppercase; font-size: 12px; color: #b7a8ff; margin: 0; }
.stock { font-size: 12px; color: #8ee7c8; }
.stock.low { color: #ffcc66; }
.stock.out { color: #ff8fa3; }
.btn { height: 42px; border: 0; border-radius: 12px; padding: 0 16px; background: linear-gradient(135deg, #f5b301, #ffc83d); color: #1a1200; font-weight: 700; }
.btn.ghost { background: #1a1a1a; border: 1px solid var(--line); }
.btn:disabled { opacity: .45; }
.row { display: flex; gap: 10px; align-items: center; }
.qty { display: flex; align-items: center; gap: 8px; margin: 14px 0; }
.qty button { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #161616; }
.qty input { width: 72px; height: 40px; text-align: center; border-radius: 12px; border: 1px solid var(--line); background: #121212; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.total { font-size: 28px; font-weight: 800; }
.qr { width: 220px; height: 220px; background: #fff; border-radius: 16px; }
textarea { width: 100%; min-height: 90px; border-radius: 12px; border: 1px solid var(--line); background: #121212; color: #fff; padding: 10px; }
.pay-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(8px); display: grid; place-items: center; z-index: 100; animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.pay-modal { position: relative; background: linear-gradient(145deg, #12141d, #121212); border: 1px solid rgba(255,255,255,.1); border-radius: 24px; padding: 28px; width: min(420px, 90vw); max-height: 90vh; overflow: auto; box-shadow: 0 25px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(139,92,246,.1); animation: slideUp .3s ease; }
.pay-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 10px; background: rgba(255,255,255,.06); color: #c9c9d4; display: grid; place-items: center; cursor: pointer; transition: background .15s, color .15s; }
.pay-close:hover { background: rgba(239,68,68,.18); color: #fda4af; }
.coupon-box { display: flex; gap: 8px; margin: 4px 0 0; }
.coupon-box input { flex: 1; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: #121212; color: #fff; text-transform: uppercase; }
.coupon-box .ghost { height: 42px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: #171717; color: #eaeaea; font-weight: 700; }
.coupon-msg { min-height: 18px; margin: 0; font-size: 13px; color: #86efac; }
.coupon-msg[data-err="1"] { color: #fca5a5; }
.total small { display: block; font-size: 13px; font-weight: 600; color: var(--muted); }
.total small s { color: #8b8b96; }
.pay-row.off b { color: #86efac; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
.pay-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.pay-head h2 { margin: 0; font-size: 20px; }
.pay-head .meta { margin: 2px 0 0; font-size: 12px; }
.pay-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #f5b301, #c98d00); color: #1a1200; flex: none; box-shadow: 0 4px 20px rgba(245,179,1,.3); }
.pay-info { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; }
.pay-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 14px; }
.pay-row span { color: var(--muted); }
.pay-row.total { border-top: 1px solid rgba(255,255,255,.08); margin-top: 8px; padding-top: 12px; }
.pay-row.total b { font-size: 20px; color: #f5b301; }
.pay-timer { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; margin-bottom: 16px; background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.2); border-radius: 10px; color: #fbbf24; font-size: 13px; }
.pay-timer b { font-family: Consolas, monospace; font-size: 16px; }
.pay-qr { display: grid; place-items: center; padding: 20px; background: #fff; border-radius: 16px; margin-bottom: 16px; }
.pay-qr img { width: 200px; height: 200px; }
.pay-pix { margin-bottom: 16px; }
.pay-pix label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .5px; }
.pay-pix-box { display: flex; gap: 8px; }
.pay-pix-box input { flex: 1; height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); color: var(--text); font-family: Consolas, monospace; font-size: 12px; }
.pay-copy { width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(245,179,1,.4); background: rgba(245,179,1,.15); color: #ffe08a; display: grid; place-items: center; cursor: pointer; transition: all .2s; }
.pay-copy:hover { background: rgba(245,179,1,.3); }
.pay-copy.ok { background: rgba(34,197,94,.2); border-color: rgba(34,197,94,.5); color: #86efac; }
.pay-progress { margin-bottom: 16px; text-align: center; }
.pay-progress-bar { height: 6px; background: rgba(255,255,255,.1); border-radius: 3px; overflow: hidden; margin-bottom: 8px; }
.pay-progress-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #f5b301, #ffcf40); border-radius: 3px; animation: progress 1.5s ease-in-out infinite; }
@keyframes progress { 0% { width: 0; margin-left: 0; } 50% { width: 60%; margin-left: 20%; } 100% { width: 0; margin-left: 100%; } }
.pay-progress p { margin: 0; font-size: 13px; color: var(--muted); }
.pay-progress.done .pay-progress-bar i { animation: none; width: 100%; margin-left: 0; background: linear-gradient(90deg, #f5b301, #ffcf40); transition: width .6s ease; }
.pay-progress.done p { color: #ffe08a; font-weight: 600; }
.pay-modal.paid .pay-icon { box-shadow: 0 4px 28px rgba(245,179,1,.6); animation: pop .5s ease; }
.pay-modal.paid .pay-confirm { opacity: 1; }
@keyframes pop { 0% { transform: scale(1); } 50% { transform: scale(1.18); } 100% { transform: scale(1); } }
.pay-confirm { width: 100%; height: 50px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 15px; background: linear-gradient(135deg, #f5b301, #c98d00); border: 0; border-radius: 12px; color: #1a1200; font-weight: 700; cursor: pointer; transition: all .2s; box-shadow: 0 4px 20px rgba(245,179,1,.25); }
.pay-confirm:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(245,179,1,.35); }
.pay-confirm:disabled { opacity: .7; cursor: wait; }
.pay-confirm .spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pay-hint { margin: 14px 0 0; text-align: center; font-size: 12px; color: var(--muted); }
.delivery { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.dl-head { display: flex; align-items: center; gap: 14px; }
.dl-head h2 { margin: 0; font-size: 20px; }
.dl-head .meta { margin: 2px 0 0; }
.dl-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #f5b301, #c98d00); color: #1a1200; flex: none; box-shadow: 0 4px 20px rgba(245,179,1,.3); }
.dl-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.dl-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 12px; background: #1a1a1a; border: 1px solid var(--line); color: var(--text); font-weight: 600; cursor: pointer; }
.dl-btn:hover { border-color: #f5b301; }
.dl-row { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 14px; margin-bottom: 8px; border-radius: 12px; background: #121212; border: 1px solid var(--line); }
.dl-num { width: 22px; text-align: right; color: var(--muted); font-size: 12px; flex: none; }
.dl-row code { flex: 1; min-width: 0; font-family: Consolas, "Courier New", monospace; font-size: 14px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-copy { width: 38px; height: 38px; flex: none; border-radius: 10px; border: 1px solid rgba(245,179,1, .35); background: rgba(245,179,1, .18); color: #ffe08a; display: grid; place-items: center; cursor: pointer; }
.dl-copy:hover { background: rgba(245,179,1, .32); }
.dl-copy.ok { background: rgba(34, 197, 94, .25); border-color: rgba(34, 197, 94, .5); color: #86efac; }
.item { padding: 10px 12px; border-radius: 12px; background: #121212; border: 1px solid var(--line); margin-bottom: 8px; display: flex; justify-content: space-between; gap: 10px; word-break: break-all; }
.toast { position: fixed; bottom: 18px; right: 18px; background: #161616; border: 1px solid var(--line); padding: 12px 14px; border-radius: 12px; }
.skeleton { height: 220px; border-radius: 20px; background: linear-gradient(90deg, #161616, #1b1e2a, #161616); background-size: 200% 100%; animation: shine .8s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }
@media (max-width: 1100px) { .vitrine { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) { .vitrine { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  #shop { --shop-w: calc(100vw - 24px); }
  .side-box { flex: 1 1 100%; flex-wrap: wrap; }
  .side-price { flex: 1; }
  .side-price label { flex: 1; }
  .side-price input { width: 100%; }
}
@media (max-width: 720px) {
  h1 { font-size: 26px; }
  .top { flex-wrap: wrap; padding: 12px; }
  .search { order: 3; max-width: none; width: 100%; }
  .vitrine { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}

/* Minhas compras */
#orders { max-width: 1000px; margin: 0 auto; }
.of-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.of { position: relative; display: flex; flex-direction: column; justify-content: center; min-width: 120px; height: 46px; padding: 4px 12px; border: 1px solid #2a2a2a; border-radius: 8px; background: #141414; }
.of small { font-size: 11px; color: var(--muted); line-height: 1; }
.of select, .of input { border: 0; outline: 0; background: transparent; color: #fff; font-size: 14px; padding: 2px 0 0; }
.of select option { background: #151515; }
.of input { width: 130px; }
.of:focus-within { border-color: #f5b301; }
.of-code { padding: 0; min-width: 156px; }
.of-code.open { border-color: #f5b301; }
.of-code.has { border-color: #3b4a6b; }
.of-trigger { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 2px; width: 100%; height: 100%; padding: 4px 12px; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.of-trigger span { font-size: 14px; color: #6b6f7d; padding-top: 2px; }
.of-code.has .of-trigger span { color: #fff; font-weight: 600; letter-spacing: .3px; }
.of-pop { position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; width: 300px; padding: 16px; border-radius: 12px; background: #17171c; border: 1px solid #2a2a2a; box-shadow: 0 18px 44px rgba(0,0,0,.55); animation: ofPop .14s ease-out; }
.of-pop[hidden] { display: none; }
@keyframes ofPop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.of-pop input { width: 100%; height: 40px; padding: 0 14px; border: 1px solid transparent; border-radius: 8px; background: #26262d; color: #fff; font-size: 14px; outline: 0; text-transform: uppercase; }
.of-pop input::placeholder { text-transform: none; color: #5d5f6b; }
.of-pop input:focus { border-color: #f5b301; }
.of-pop-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px -16px 0; padding: 16px 16px 0; border-top: 1px solid #2a2a2a; }
.of-pop-actions button { height: 42px; border-radius: 8px; border: 0; font-size: 15px; font-weight: 700; cursor: pointer; transition: filter .15s; }
.of-clear { background: #26262d; color: #fff; }
.of-apply { background: #e8e8ea; color: #111; }
.of-pop-actions button:hover { filter: brightness(1.12); }
.oc { display: flex; align-items: center; gap: 18px; padding: 18px; margin-bottom: 16px; border: 1px solid #23242c; border-radius: 10px; background: #141414; transition: border-color .2s ease; }
.oc:hover { border-color: #33405c; }
.oc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.oc-top { color: var(--muted); font-size: 14px; }
.oc-code { margin-left: 4px; padding: 2px 6px; border-radius: 4px; background: #262833; color: #c8cbd6; font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
.oc-item { color: var(--muted); font-size: 14px; line-height: 1.5; }
.oc-item a { color: #f5b301; margin: 0 6px 0 10px; }
.oc-item a:hover { text-decoration: underline; }
.oc-price { padding-left: 10px; border-left: 1px solid #2a2a2a; color: #c8cbd6; }
.oc-pay { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.oc-pix { width: 40px; height: 40px; border-radius: 6px; display: grid; place-items: center; background: #fff; }
.oc-approved { color: #22c55e; margin-top: 2px; }
.oc-foot { display: flex; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: 14px; }
.oc-foot > * { padding: 0 12px; border-left: 1px solid #2a2a2a; }
.oc-foot > :first-child { padding-left: 0; border-left: 0; }
.oc-foot b { color: #fff; }
.oc-foot .oc-st.ok { color: #22c55e; }
.oc-foot .oc-st.wait { color: #f5b301; }
.oc-foot .oc-st.bad { color: #ef4444; }
.oc-btn { flex-shrink: 0; height: 34px; padding: 0 14px; border: 0; border-radius: 5px; background: #f5b301; color: #1a1200; font-weight: 600; font-size: 14px; transition: background .2s ease, transform .2s ease; }
.oc-btn:hover { background: #ffcf40; transform: translateY(-1px); }
.oc-empty { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed #2a2a2a; border-radius: 10px; }
.oc-pages { display: flex; justify-content: center; gap: 6px; margin-top: 6px; }
.oc-pages button { min-width: 36px; height: 36px; border-radius: 8px; border: 1px solid #2a2a2a; background: #141414; color: var(--muted); }
.oc-pages button.on { background: #f5b301; border-color: #f5b301; color: #1a1200; }
/* Página do pedido */
.op { max-width: 1000px; margin: 0 auto; }
.op-head { text-align: center; margin: 10px 0 26px; }
.op-head h1 { font-size: 30px; font-weight: 800; letter-spacing: .5px; }
.op-crumb { margin-top: 8px; font-size: 13px; color: #c8cbd6; }
.op-crumb a { color: #fff; }
.op-crumb a:hover { color: #f5b301; }
.op-crumb span { margin: 0 6px; color: var(--muted); }
.op-sec { text-align: center; font-size: 16px; font-weight: 700; margin: 30px 0 14px; color: #e5e7eb; }
.op-box { border: 1px solid #23242c; border-radius: 10px; background: #141414; padding: 14px 16px; }
.op-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 18px; align-items: start; }
.op-col { display: flex; flex-direction: column; gap: 14px; }
.op-info { display: flex; flex-direction: column; padding: 6px 16px; font-size: 14px; color: #c8cbd6; }
.op-info > div { padding: 9px 0; border-bottom: 1px solid #23242c; }
.op-info > div:last-child { border-bottom: 0; }
.op-info b { color: #fff; }
.op-link { color: #f5b301; }
.op-prod { display: flex; align-items: center; gap: 14px; padding: 0 14px 0 0; overflow: hidden; }
.op-prod img, .op-noimg { width: 120px; height: 84px; object-fit: cover; flex-shrink: 0; }
.op-noimg { display: grid; place-items: center; background: #1a1c25; font-size: 28px; }
.op-prod-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: #c8cbd6; padding: 12px 0; }
.op-prod-info b { color: #e5e7eb; text-transform: uppercase; }
.op-prod-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #c8cbd6; }
.op-prod-meta > span + span { padding-left: 10px; border-left: 1px solid #2a2a2a; }
.op-desc summary { cursor: pointer; font-size: 13px; color: #c8cbd6; list-style: none; }
.op-desc summary::before { content: "›"; display: inline-block; margin-right: 8px; transition: transform .2s ease; }
.op-desc[open] summary::before { transform: rotate(90deg); }
.op-desc div { margin-top: 12px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.op-pay { display: flex; align-items: center; gap: 18px; padding: 0 16px 0 0; overflow: hidden; max-width: 660px; margin: 0 auto; }
.op-pix { width: 64px; height: 64px; flex-shrink: 0; display: grid; place-items: center; background: #fff; }
.op-pay-info { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.op-badge { padding: 4px 10px; border-radius: 3px; background: #16c60c; color: #04210a; font-size: 12px; font-weight: 700; }
.op-badge.bad { background: #ef4444; color: #fff; }
.op-note { text-align: center; color: #c8cbd6; }
#opDelivery .delivery { margin: 0; max-width: none; }
.op-chat { margin-top: 30px; border: 1px solid #23242c; border-radius: 10px; background: #141414; overflow: hidden; }
.op-chat-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #23242c; font-weight: 700; font-size: 14px; }
.op-chat-head .dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #f5b301; box-shadow: 0 0 8px #f5b301; }
.op-flag { padding: 5px 10px; border: 1px solid #2a2a2a; border-radius: 6px; background: #181a22; color: #c8cbd6; font-size: 12px; font-weight: 500; }
.op-flag.warn { border-color: rgba(245,179,1,.4); color: #f5b301; }
.btn-flag { cursor: pointer; }
.btn-flag:hover { border-color: #ef4444; color: #fca5a5; }
.op-msgs { height: 420px; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 14px; background: #0d0e13; }
.op-empty { margin: auto; }
.cm { display: flex; align-items: flex-end; gap: 10px; max-width: 78%; }
.cm.mine { align-self: flex-end; flex-direction: row-reverse; }
.cm-av { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: #1a1c25; }
.cm-bubble { padding: 10px 14px 6px; border-radius: 10px; background: #1d1f27; font-size: 14px; line-height: 1.55; }
.cm.mine .cm-bubble { background: #c98d00; }
.cm-bubble p, .cm-system p { margin: 0; white-space: normal; overflow-wrap: anywhere; }
.cm-bubble time, .cm-system time { display: block; text-align: right; margin-top: 4px; font-size: 10px; color: rgba(255,255,255,.55); }
.cm-system { padding: 10px 14px 6px; border: 1px solid rgba(245,179,1,.35); border-left: 3px solid #f5b301; border-radius: 6px; background: rgba(245,179,1,.06); font-size: 13px; line-height: 1.55; }
.cm-tag { display: inline-block; margin-bottom: 6px; padding: 2px 6px; border-radius: 4px; background: rgba(245,179,1,.18); color: #ffcf40; font-size: 10px; font-weight: 700; }
.op-send { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px; border-top: 1px solid #23242c; }
.op-send-row { display: flex; align-items: center; gap: 10px; }
.op-pic { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid #2a2a2a; border-radius: 10px; color: #c8cbd6; cursor: pointer; }
.op-pic:hover { border-color: #f5b301; color: #fff; }
.op-pick { position: relative; width: 72px; }
.op-pick img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid #2a2a2a; }
.op-pick button { position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; border: 0; border-radius: 50%; background: #ef4444; color: #fff; cursor: pointer; }
.chat-pic { max-width: 240px; max-height: 180px; border-radius: 8px; display: block; margin-bottom: 6px; cursor: zoom-in; }
.pic-view { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; background: rgba(0,0,0,.82); cursor: zoom-out; }
.pic-view img { max-width: 92vw; max-height: 90vh; border-radius: 8px; }
.pic-view button { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #1d1f27; color: #fff; font-size: 22px; cursor: pointer; }
.op-input { flex: 1; display: flex; flex-direction: column; padding: 8px 12px; border: 1px solid #2a2a2a; border-radius: 8px; background: #0d0e13; }
.op-input:focus-within { border-color: #f5b301; }
.op-input textarea { border: 0; outline: 0; resize: none; background: transparent; color: #fff; font: inherit; font-size: 14px; height: 22px; min-height: 22px; max-height: 120px; padding: 0; box-shadow: none; }
.op-input small { font-size: 10px; color: var(--muted); }
.op-send-btn { width: 40px; height: 40px; flex-shrink: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: #2a2d38; color: #fff; transition: background .2s ease; }
.op-send-btn:hover { background: #f5b301; }
.op-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rv-form { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.rv-form > p { align-self: flex-start; margin: 0; }
.rv-opts { display: flex; gap: 22px; margin: 10px 0; }
.rv-opt { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #e5e7eb; font-size: 17px; }
.rv-opt:hover { background: rgba(255,255,255,.04); }
.rv-opt.on[data-rate="good"] { border-color: #22c55e; color: #22c55e; }
.rv-opt.on[data-rate="neutral"] { border-color: #f5b301; color: #f5b301; }
.rv-opt.on[data-rate="bad"] { border-color: #ef4444; color: #ef4444; }
.rv-form textarea { width: min(300px, 100%); padding: 10px; border: 1px solid #2a2a2a; border-radius: 8px; background: #0d0e13; color: #fff; font: inherit; font-size: 13px; resize: vertical; }
.rv-done { display: flex; align-items: center; gap: 8px; font-size: 17px; }
.rv-done.good { color: #22c55e; }
.rv-done.neutral { color: #f5b301; }
.rv-done.bad { color: #ef4444; }
@media (max-width: 760px) {
  .op-grid, .op-grid2 { grid-template-columns: 1fr; }
  .op-prod { flex-wrap: wrap; padding: 0 0 12px; }
  .op-prod .oc-btn { margin-left: 12px; }
  .cm { max-width: 92%; }
}
@media (max-width: 640px) {
  .oc { flex-direction: column; align-items: stretch; }
  .oc-btn { width: 100%; }
  .of { flex: 1 1 140px; }
}

/* ============ TEMA DOURADO ============ */
body { background:
  radial-gradient(900px 420px at 8% -12%, rgba(245,179,1,.12), transparent 55%),
  linear-gradient(rgba(255,255,255,.016) 1px, transparent 1px) 0 0 / 44px 44px,
  linear-gradient(90deg, rgba(255,255,255,.016) 1px, transparent 1px) 0 0 / 44px 44px, #0a0a0a; }
::selection { background: rgba(245,179,1,.35); }
.top { background: rgba(12,12,12,.94); border-bottom-color: #1f1f1f; }
.brand img { box-shadow: 0 0 0 1px rgba(245,179,1,.4), 0 0 18px rgba(245,179,1,.25); }
.buy, .btn, .pay-confirm, .oc-btn {
  background: linear-gradient(135deg, #ffd65a 0%, #f5b301 48%, #d99a00 100%); color: #1a1200; font-weight: 800; border: 0;
  box-shadow: 0 4px 0 #8f5f00, 0 12px 26px -10px rgba(245,179,1,.6), inset 0 1px 0 rgba(255,255,255,.5);
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.buy:hover, .btn:hover, .pay-confirm:hover, .oc-btn:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 6px 0 #8f5f00, 0 16px 32px -10px rgba(245,179,1,.75), inset 0 1px 0 rgba(255,255,255,.5); }
.buy:active, .btn:active, .pay-confirm:active, .oc-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #8f5f00, inset 0 1px 0 rgba(255,255,255,.4); }
.buy:disabled, .btn:disabled, .pay-confirm:disabled { filter: grayscale(.5) brightness(.75); transform: none; }
.nt-badge, .nt-count { color: #1a1200; }
.nt-badge { border-color: #0a0a0a; }
