/* PromptSolutions v3.1 - Accounts Marketplace styles.
   Used by accounts.php, market-account.php, buy-account.php and the
   home strip. Self-contained, mobile friendly, everything prefixed
   with acc-. All platforms use the site theme gradient
   (135deg, #1283E6, #0B63B8) - no per-platform colors. The SOLD OUT
   stamp stays red and the Monetized badge stays green. */

/* ---------- Filter tabs ---------- */
.acc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.acc-tab { display: inline-flex; align-items: center; gap: 6px; background: #EFF3F9; border: 1px solid #E3EAF3; border-radius: 999px; padding: 9px 18px; font-size: 14px; font-weight: 600; color: #5F6B7A; text-decoration: none; cursor: pointer; transition: all .15s ease; }
.acc-tab:hover { border-color: #1283E6; color: #1283E6; }
.acc-tab.on { background: #1283E6; border-color: #1283E6; color: #fff; }

/* ---------- Grid and cards ---------- */
.acc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.acc-card { position: relative; overflow: hidden; background: #fff; border: 1px solid #E3EAF3; border-radius: 16px; box-shadow: 0 1px 3px rgba(16, 42, 67, .08); display: flex; flex-direction: column; }
.acc-card:hover { box-shadow: 0 8px 28px rgba(18, 131, 230, .16); border-color: #BFDDF9; }
.acc-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px; color: #fff; font-weight: 700; font-size: 14px; }
.acc-yt, .acc-tt, .acc-fb { background: linear-gradient(135deg, #1283E6, #0B63B8); color: #fff; }
.acc-badge { display: inline-flex; align-items: center; gap: 5px; background: rgba(255, 255, 255, .22); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .02em; white-space: nowrap; }
.acc-monetized { display: inline-flex; align-items: center; gap: 5px; background: #16A34A; color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.acc-img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #DCE7F2; }
.acc-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #DCE7F2; }
.acc-media .acc-img { height: 100%; }
.acc-media a { display: block; }
.acc-media-badge { position: absolute; top: 10px; z-index: 3; padding: 4px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: #fff; letter-spacing: .02em; white-space: nowrap; box-shadow: 0 2px 8px rgba(10, 30, 55, .25); }
.acc-media-platform { left: 10px; background: rgba(9, 30, 52, .78); }
.acc-media-mon { right: 10px; background: #16A34A; }
.acc-media-empty { text-decoration: none; }
.acc-name a { color: inherit; text-decoration: none; }
.acc-name a:hover { color: #1283E6; }
.acc-handle { font-size: 13px; color: #8494A9; margin-top: -5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-product .acc-handle { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; font-size: 14px; }
.acc-stats { display: flex; gap: 8px; }
.acc-stat { flex: 1; min-width: 0; background: #F4F8FC; border: 1px solid #E7EEF6; border-radius: 10px; padding: 8px 10px; }
.acc-stat b { display: block; font-size: 14.5px; font-weight: 700; color: #131A24; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-stat span { display: block; margin-top: 1px; font-size: 10.5px; font-weight: 600; color: #8494A9; text-transform: uppercase; letter-spacing: .05em; }
.acc-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.acc-view-btn { display: inline-flex; align-items: center; gap: 5px; background: linear-gradient(135deg, #1283E6, #0B63B8); color: #fff; padding: 9px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: all .18s ease; }
.acc-view-btn:hover { filter: brightness(.93); color: #fff; transform: translateY(-1px); }
.acc-price { white-space: nowrap; }
.acc-price-pkr { font-size: 12.5px; font-weight: 700; color: #5F6B7A; white-space: nowrap; }
.acc-media-sold { aspect-ratio: 1 / 1; background: linear-gradient(180deg, #EDF1F6, #DFE7F0); display: flex; align-items: center; justify-content: center; }
.acc-media-letter { font-size: 76px; font-weight: 800; color: #B9C7D8; line-height: 1; }
.acc-card-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.acc-name { font-size: 17px; font-weight: 800; line-height: 1.3; color: #131A24; margin: 0; word-break: break-word; }
.acc-meta { font-size: 13.5px; color: #5F6B7A; line-height: 1.6; }
.acc-meta div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; border-bottom: 1px dashed #EDF2F7; }
.acc-meta div:last-child { border-bottom: 0; }
.acc-meta b { color: #131A24; font-weight: 700; text-align: right; }
.acc-price { font-size: 19px; font-weight: 800; color: #131A24; }
.acc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; box-sizing: border-box; border: 0; border-radius: 999px; padding: 12px 20px; font-size: 15px; font-weight: 700; line-height: 1; color: #fff; background: #1283E6; text-decoration: none; cursor: pointer; transition: all .18s ease; }
.acc-btn:hover { filter: brightness(.94); color: #fff; transform: translateY(-1px); }
.acc-btn.acc-yt, .acc-btn.acc-tt, .acc-btn.acc-fb { background: linear-gradient(135deg, #1283E6, #0B63B8); color: #fff; }

/* ---------- Sold state ---------- */
.acc-sold-stamp { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-12deg); z-index: 5; pointer-events: none; background: rgba(255, 255, 255, .95); border: 3px solid #DC2626; border-radius: 6px; color: #DC2626; font-size: 23px; font-weight: 800; letter-spacing: .14em; padding: 7px 20px; text-transform: uppercase; white-space: nowrap; box-shadow: 0 3px 14px rgba(220, 38, 38, .20), inset 0 0 0 2px rgba(255, 255, 255, .7), inset 0 0 0 4px rgba(220, 38, 38, .35); }
.acc-card-sold { background: #F7F9FC; }
.acc-sold-note { margin: 0; font-size: 15px; font-weight: 600; color: #5F6B7A; text-align: center; }
.acc-sold-price { text-align: center; font-size: 18px; font-weight: 800; color: #131A24; }
.acc-sold-price span { display: block; font-size: 10.5px; font-weight: 600; color: #8494A9; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1px; }
.acc-sold-link { display: block; text-align: center; font-size: 14px; font-weight: 700; color: #1283E6; text-decoration: none; }
.acc-sold-link:hover { text-decoration: underline; }
.acc-card-sold .acc-card-body { opacity: .8; align-items: center; justify-content: center; }
.acc-card-sold .acc-img { opacity: .45; filter: grayscale(.65); }
.acc-card-sold .acc-card-head { opacity: .75; filter: grayscale(.4); }

/* ---------- Detail page ---------- */
.acc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: 0 auto; align-items: start; }
.acc-detail-img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 16px; border: 1px solid #E3EAF3; background: #DCE7F2; }
.acc-specs { background: #F8FAFD; border: 1px solid #E3EAF3; border-radius: 14px; padding: 8px 18px; margin: 0 0 18px; }
.acc-specs div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid #EDF2F7; font-size: 14.5px; }
.acc-specs div:last-child { border-bottom: 0; }
.acc-specs dt { color: #5F6B7A; font-weight: 600; }
.acc-specs dd { margin: 0; color: #131A24; font-weight: 700; text-align: right; word-break: break-word; }
.acc-buy-big { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; box-sizing: border-box; border: 0; border-radius: 14px; padding: 16px 32px; font-size: 17px; font-weight: 800; line-height: 1; color: #fff; background: #1283E6; text-decoration: none; cursor: pointer; transition: all .18s ease; }
.acc-buy-big:hover { filter: brightness(.94); color: #fff; transform: translateY(-1px); }
.acc-buy-big.acc-yt, .acc-buy-big.acc-tt, .acc-buy-big.acc-fb { background: linear-gradient(135deg, #1283E6, #0B63B8); color: #fff; }
.acc-sold-page { position: relative; max-width: 560px; margin: 30px auto; text-align: center; background: #FEF2F2; border: 1px solid #F5B5B5; border-radius: 16px; padding: 30px 24px; color: #991B1B; }
.acc-sold-page .acc-sold-stamp { position: static; transform: rotate(-8deg); display: inline-block; margin: 2px 0 16px; }
.acc-sold-page h2 { margin: 0 0 8px; font-size: 22px; color: #DC2626; }
.acc-sold-page p { margin: 0; font-size: 15px; line-height: 1.6; }
.acc-includes { background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: 14px; padding: 18px 20px; margin: 0 0 18px; color: #14532D; font-size: 14.5px; line-height: 1.65; }
.acc-includes h3 { margin: 0 0 10px; font-size: 16px; color: #15803D; }
.acc-includes ul { margin: 0; padding-left: 20px; }
.acc-includes li { margin: 5px 0; }

/* ---------- Product (detail) page ---------- */
.acc-product { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 1080px; margin: 18px auto 0; align-items: start; }
.acc-media-panel { border: 1px solid #E3EAF3; border-radius: 16px; overflow: hidden; background: #fff; }
.acc-media-panel .acc-detail-img { border: 0; border-radius: 0; }
.acc-media-empty { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; background: linear-gradient(135deg, #1283E6, #0B63B8); color: #fff; font-size: 72px; font-weight: 800; }
.acc-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.acc-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; color: #fff; letter-spacing: .02em; white-space: nowrap; }
.acc-pill-platform { background: linear-gradient(135deg, #1283E6, #0B63B8); }
.acc-pill-monetized { background: #16A34A; }
.acc-pill-sold { background: #DC2626; }
.acc-product h1 { margin: 0 0 6px; font-size: 28px; line-height: 1.25; word-break: break-word; }
.acc-handle { font-size: 14.5px; color: #5F6B7A; margin: 0 0 4px; word-break: break-all; }
.acc-handle a { color: #0B63B8; font-weight: 600; text-decoration: none; }
.acc-handle a:hover { text-decoration: underline; }
.acc-price-big { font-size: 30px; font-weight: 800; color: #131A24; margin: 14px 0 18px; }
.acc-trust { list-style: none; margin: 0 0 20px; padding: 0; }
.acc-trust li { position: relative; padding: 5px 0 5px 30px; font-size: 14.5px; color: #33404F; }
.acc-trust li::before { content: "\2713"; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: #DCFCE7; color: #15803D; font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.acc-buy-note { text-align: center; color: #5F6B7A; font-size: 13px; margin-top: 10px; }
.acc-sections { max-width: 1080px; margin: 24px auto 0; display: grid; gap: 18px; }
.acc-text-card { background: #fff; border: 1px solid #E3EAF3; border-radius: 14px; padding: 20px 22px; font-size: 15px; line-height: 1.7; color: #26313F; }
.acc-text-card h2 { margin: 0 0 10px; font-size: 19px; color: #131A24; }
.acc-text-card p { margin: 0; }

/* ---------- Home strip ---------- */
.acc-strip { padding: 34px 0 8px; }
.acc-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.acc-mini { position: relative; overflow: hidden; background: #fff; border: 1px solid #E3EAF3; border-radius: 14px; box-shadow: 0 1px 3px rgba(16, 42, 67, .08); display: flex; flex-direction: column; color: #131A24; text-decoration: none; }
.acc-mini:hover { box-shadow: 0 8px 28px rgba(18, 131, 230, .16); border-color: #BFDDF9; }
.acc-mini .acc-card-body { padding: 13px 14px; gap: 7px; }
.acc-mini .acc-name { font-size: 15px; }
.acc-mini .acc-price { font-size: 17px; }
.acc-mini .acc-btn { padding: 10px 16px; font-size: 14px; }

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .acc-detail { grid-template-columns: 1fr; gap: 18px; }
  .acc-product { grid-template-columns: 1fr; gap: 18px; }
  .acc-product h1 { font-size: 24px; }
  .acc-price-big { font-size: 26px; }
  .acc-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .acc-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .acc-card-body { padding: 10px; gap: 7px; }
  .acc-name { font-size: 14px; }
  .acc-handle { font-size: 11.5px; margin-top: -3px; }
  .acc-stat { padding: 6px 8px; border-radius: 8px; }
  .acc-stat b { font-size: 12.5px; }
  .acc-stat span { font-size: 9px; }
  .acc-card-foot { flex-wrap: wrap; gap: 8px; }
  .acc-price { flex: 1 1 100%; font-size: 15px; }
  .acc-price-pkr { font-size: 11px; }
  .acc-view-btn { width: 100%; justify-content: center; }
  .acc-view-btn { padding: 7px 11px; font-size: 12px; }
  .acc-media-badge { font-size: 10px; padding: 3px 8px; top: 7px; }
  .acc-media-platform { left: 7px; }
  .acc-media-mon { right: 7px; }
  .acc-sold-note { font-size: 12.5px; }
  .acc-sold-price { font-size: 14px; }
  .acc-sold-link { font-size: 12px; }
  .acc-media-letter { font-size: 52px; }
  .acc-sold-stamp { font-size: 19px; padding: 6px 14px; }
}
@media (max-width: 520px) {
  .acc-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .acc-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .acc-tabs { gap: 6px; }
  .acc-tab { padding: 8px 14px; font-size: 13.5px; }
  .acc-buy-big { font-size: 16px; padding: 15px 20px; }
}

/* ---------- Detail gallery ---------- */
.acc-gallery { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.acc-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.acc-thumb { width: 68px; height: 68px; padding: 0; flex: 0 0 auto; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: #DCE7F2; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.acc-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.acc-thumb:hover { border-color: #7DBCF5; }
.acc-thumb.on { border-color: #1283E6; box-shadow: 0 0 0 2px rgba(18, 131, 230, .25); }

/* ---------- Flash deal countdown ---------- */
.acc-flash { background: #EFF6FF; border: 1px solid #BFDDF9; border-radius: 14px; padding: 14px 16px; margin: 14px 0 4px; }
.acc-flash-head { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; color: #0B3B66; }
.acc-flash-tag { margin-left: auto; background: #1283E6; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.acc-flash-timer { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.acc-flash-label { font-size: 13px; font-weight: 600; color: #5F6B7A; }
.acc-flash-chips { display: inline-flex; align-items: center; gap: 6px; }
.acc-chip { min-width: 54px; padding: 6px 8px; border-radius: 10px; background: linear-gradient(135deg, #1283E6, #0B63B8); color: #fff; text-align: center; line-height: 1.1; }
.acc-chip b { display: block; font-size: 18px; font-weight: 800; }
.acc-chip small { display: block; margin-top: 1px; font-size: 9.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.acc-chip-sep { font-size: 16px; font-weight: 800; color: #0B63B8; }

/* ---------- Availability line ---------- */
.acc-availability { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 14px; font-weight: 600; color: #15803D; }
.acc-live-dot { width: 10px; height: 10px; flex: 0 0 auto; border-radius: 50%; background: #22C55E; animation: accPulse 1.6s ease-out infinite; }
@keyframes accPulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .45); } 70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

/* ---------- Trust row (detail page) ---------- */
.acc-trust-row { max-width: 1080px; margin: 24px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; background: #fff; border: 1px solid #E3EAF3; border-radius: 14px; padding: 18px 20px; }
.acc-trust-item { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.acc-trust-icon { width: 38px; height: 38px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #EFF6FF; border: 1px solid #BFDDF9; font-size: 17px; }
.acc-trust-text b { display: block; font-size: 13.5px; line-height: 1.3; color: #131A24; }
.acc-trust-text span { display: block; margin-top: 2px; font-size: 12px; line-height: 1.35; color: #5F6B7A; }

@media (max-width: 760px) {
  .acc-thumbs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .acc-thumb { width: 60px; height: 60px; border-radius: 10px; }
  .acc-trust-row { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 14px; }
  .acc-chip { min-width: 48px; }
  .acc-chip b { font-size: 16px; }
  .acc-flash-tag { display: none; }
}
