.detail-panel p { line-height: 1.7; } .btn-whats[href="#"] { opacity: .65; pointer-events: none; } .ad-favorite-action { cursor: pointer; } .ad-favorite-action.is-favorite { border-color: rgba(230, 57, 70, .28); background: #fff5f5; color: var(--primary); } .ad-favorite-action:disabled { opacity: .65; pointer-events: none; } .seller-name-link { color: inherit; text-decoration: none; } .seller-name-link:hover { color: var(--primary); } .ad-admin-panel { display: grid; gap: 12px; margin-top: 12px; padding: 14px; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 16px; } .ad-admin-panel strong { display: block; color: #7c2d12; font-size: 14px; font-weight: 900; } .ad-admin-panel small { display: block; color: #9a3412; font-weight: 700; line-height: 1.35; margin-top: 2px; } .ad-admin-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .ad-admin-actions .btn { min-height: 44px; padding: 10px 12px; width: 100%; } .ad-admin-action.danger { color: #b91c1c; border-color: #fecaca; } .ad-admin-action.danger:hover { background: #fef2f2; } .ad-admin-history-wrap { margin-top: 26px; } .ad-admin-history-panel { border-color: #fed7aa; } .ad-admin-history-head { align-items: flex-start; border-bottom: 1px solid var(--border); display: flex; gap: 16px; justify-content: space-between; margin-bottom: 18px; padding-bottom: 14px; } .ad-admin-history-head h2 { margin: 0 0 4px; } .ad-admin-history-head p { color: var(--muted); font-weight: 700; margin: 0; } .ad-admin-history-head span { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 999px; color: #c2410c; flex: 0 0 auto; font-size: 12px; font-weight: 900; line-height: 1; padding: 8px 10px; } .ad-admin-history-list { display: grid; gap: 12px; } .ad-admin-history-item { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 12px; padding: 14px; background: #f8fafc; border: 1px solid var(--border); border-radius: 16px; } .ad-admin-history-dot { width: 10px; height: 10px; margin-top: 7px; background: #101820; border-radius: 999px; } .ad-admin-history-title { align-items: baseline; display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; } .ad-admin-history-title strong { color: var(--dark); font-weight: 900; } .ad-admin-history-title span, .ad-admin-history-item small { color: var(--muted); font-weight: 800; } .ad-admin-history-item p { color: #334155; font-weight: 700; line-height: 1.45; margin: 4px 0; } .ad-admin-history-meta { color: #7c2d12; background: #fff7ed; border-radius: 12px; font-size: 13px; font-weight: 800; line-height: 1.35; margin-top: 8px; padding: 8px 10px; overflow-wrap: anywhere; } .ad-admin-history-empty { color: var(--muted); font-weight: 800; padding: 18px; text-align: center; background: #f8fafc; border: 1px dashed var(--border); border-radius: 16px; } .gallery-main, .gallery-thumbs div { overflow: hidden; } .gallery-main { position: relative; cursor: move; background: #fff; } .gallery-main::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(16, 24, 32, .02); background: linear-gradient(180deg, rgba(16, 24, 32, .10), transparent 16%, transparent 84%, rgba(16, 24, 32, .12)), linear-gradient(90deg, rgba(16, 24, 32, .08), transparent 12%, transparent 88%, rgba(16, 24, 32, .08)); opacity: .35; transition: opacity .18s ease; } .gallery-main:hover, .gallery-main.is-zooming { cursor: move; } .gallery-main:hover::before, .gallery-main.is-zooming::before { opacity: .52; } .gallery-main::after { content: "✥"; position: absolute; top: 14px; right: 14px; z-index: 2; background: rgba(16, 24, 32, .82); color: #fff; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; font-weight: 900; opacity: .78; transform: none; transition: opacity .18s ease, transform .18s ease; pointer-events: none; box-shadow: 0 8px 22px rgba(0, 0, 0, .18); } .gallery-main:hover::after { content: "✥"; opacity: .96; transform: scale(1.05); } .gallery-thumb { cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; } .gallery-thumb:hover, .gallery-thumb.active { border-color: var(--primary); box-shadow: 0 10px 22px rgba(230, 57, 70, .16); } .gallery-thumb.active { transform: translateY(-2px); } .gallery-main img, .gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; } .gallery-main img { max-width: none; transition: none; will-change: transform; user-select: none; -webkit-user-drag: none; } .gallery-main img.is-panning { position: absolute; top: 50%; left: 50%; object-fit: fill !important; } .tag-rare { background: #fff7ed; border-color: #fed7aa; color: #c2410c; } @media (max-width: 640px) { .ad-admin-actions { grid-template-columns: 1fr; } .ad-admin-history-head { display: grid; } }