/* ==========================================================================
   Advertising.net — placement mock-ups
   1) Re-colour of the existing coded mock-ups (assets/css/ad-mockups.css)
   2) New mock-ups (anm-*) from includes/an-mockups.php
   ========================================================================== */

/* 1) existing mock-ups → new palette + type */
.amk {
  --amk-ink: #0B1631; --amk-text: #3E4B5E; --amk-muted: #66748A; --amk-subtle: #98A3B3;
  --amk-line: #E2E1E8; --amk-line-2: #D4D2DC;
  --amk-surface: #fff; --amk-surface-2: #F4F3F7; --amk-surface-3: #E9E8EF;
  --amk-red: #6431F4; --amk-orange: #1F6FD1;
  --amk-grad: linear-gradient(90deg, #6431F4 0%, #1F6FD1 100%);
  --amk-grad-diag: linear-gradient(135deg, #6431F4 0%, #1F6FD1 100%);
  --amk-tile: #E5E2F3; --amk-tile-2: #E6EEFB; --amk-link: #1F5FBF;
  --amk-head: "Inter", system-ui, sans-serif;
  --amk-body: "Inter", system-ui, sans-serif;
}
.amk-visual { background: linear-gradient(160deg, #FBFDFC 0%, #F1F0F6 60%, #EEF3FA 100%); border-color: var(--amk-line); }
.an-stage .amk-visual { border: 0; }
.an-hero .an-stage .amk-visual, .an-dark .an-stage .amk-visual { background: linear-gradient(160deg, #F7FBFA 0%, #EBE9F2 100%); }
/* no invented performance claims: hide example metric chips/stats */
.an-stage .amk-chip, .an-stage .amk-stats { display: none !important; }
/* amk gradient symbol + highlights */
#amk-grad stop:first-child { stop-color: #6431F4; } #amk-grad stop:last-child { stop-color: #1F6FD1; }

/* 2) new mock-ups */
.anm { font-family: var(--amk-body); color: var(--amk-ink); font-size: 13px; line-height: 1.4; }
.anm b, .anm strong { font-family: var(--amk-head); font-weight: 600; color: var(--amk-ink); }
.anm small { font-size: 11px; color: var(--amk-muted); }
.anm em { font-style: normal; }
.anm svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.anm-browser { width: 100%; max-width: 560px; border-radius: 16px; background: #fff; border: 1px solid var(--amk-line); box-shadow: 0 18px 40px -24px rgba(11,22,49,.4); overflow: hidden; }
.anm-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--amk-surface-2); border-bottom: 1px solid var(--amk-line); }
.anm-bar i { width: 9px; height: 9px; border-radius: 50%; background: #D5D3DB; }
.anm-bar span { margin-left: 10px; padding: 4px 12px; border-radius: 99px; background: #fff; font-size: 11px; color: var(--amk-muted); flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.anm-pad { display: grid; gap: 12px; padding: 18px; }
.anm-mast { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--amk-line); }
.anm-mast b { font-family: Georgia, serif; font-size: 17px; }
.anm-mast span { font-size: 11px; color: var(--amk-muted); }
.anm-searchbox { display: flex; align-items: center; gap: 10px; padding: 9px 9px 9px 14px; border: 1.5px solid var(--amk-line-2); border-radius: 99px; font-size: 13.5px; }
.anm-searchbox svg { color: var(--amk-subtle); flex: none; }
.anm-searchbox span { flex: 1; }
.anm-searchbox em { padding: 6px 14px; border-radius: 99px; background: var(--amk-ink); color: #fff; font-size: 12px; font-weight: 600; }
.anm-searchbox--lg { padding: 13px 18px; font-size: 15px; box-shadow: 0 6px 20px -12px rgba(11,22,49,.35); border-color: var(--amk-line); }
.anm-searchbox--glass { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #fff; }
.anm-caret { display: inline-block; width: 1.5px; height: 1em; margin-left: 1px; background: var(--amk-ink); vertical-align: -2px; animation: anm-blink 1s steps(1) infinite; }
@keyframes anm-blink { 50% { opacity: 0; } }
.anm-meta { font-size: 11.5px; color: var(--amk-muted); }
.anm-ad { display: grid; gap: 3px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--amk-line); }
.anm-ad--hl { background: linear-gradient(90deg, #fff, #F0EEF7); border-color: #C6BFE3; }
.anm-ad small, .anm-ad > small { font-weight: 600; color: var(--amk-ink); }
.anm-link { color: var(--amk-link) !important; font-size: 15px; }
.anm-url { font-size: 11.5px; color: #4A1BC4; }
.anm-ad p { font-size: 12.5px; color: var(--amk-text); }
.anm-result { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; padding: 2px 4px; }
.anm-result b { font-size: 13px; display: block; }
.anm-result i { display: block; height: 7px; width: 70%; margin-top: 6px; border-radius: 6px; background: var(--amk-surface-3); }
.anm-thumb { height: 40px; border-radius: 8px; background: var(--amk-surface-3); }
.anm-suggest { list-style: none; margin: 0; padding: 6px 0; border: 1px solid var(--amk-line); border-radius: 14px; box-shadow: 0 16px 30px -22px rgba(11,22,49,.5); }
.anm-suggest li { display: flex; align-items: center; gap: 10px; padding: 9px 14px; font-size: 13.5px; }
.anm-suggest li svg { color: var(--amk-subtle); }
.anm-suggest li.is-ad { margin: 0 6px 4px; border-radius: 10px; background: #F0EEF7; }
.anm-suggest li.is-ad div { flex: 1; display: grid; }
.anm-suggest li.is-ad em { padding: 5px 12px; border-radius: 99px; background: #6431F4; color: #fff; font-size: 11.5px; font-weight: 600; }
.anm-logo { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #0B1631; color: #B9A6FF; font: 700 14px/1 var(--amk-head); flex: none; }
.anm-logo--lg { width: 46px; height: 46px; border-radius: 12px; font-size: 18px; background: #6431F4; color: #fff; }

.anm-browser--dark { background: #0F1D3D; border-color: #1E2F57; }
.anm-browser--dark .anm-bar { background: #0B1631; border-color: #1E2F57; }
.anm-browser--dark .anm-bar span { background: #13254D; color: #9FB0CA; }
.anm-newtab { display: grid; gap: 18px; padding: 26px 22px 22px; background: radial-gradient(400px 200px at 80% 0%, rgba(56,189,248,.25), transparent 70%), #0F1D3D; color: #fff; }
.anm-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.anm-tile { min-width: 0; overflow-wrap: anywhere; }
.anm-tile { position: relative; display: grid; justify-items: center; gap: 6px; font-size: 10.5px; color: #C4CEDD; text-align: center; }
.anm-tile i { display: grid; place-items: center; width: min(44px, 100%); aspect-ratio: 1; height: auto; border-radius: 12px; background: rgba(255,255,255,.1); color: #fff; font: 700 15px/1 var(--amk-head); font-style: normal; }
.anm-tile--ad i { background: #B9A6FF; color: #0B1631; box-shadow: 0 0 0 2px rgba(185,166,255,.35); }
.anm-tile small { display: block; font-size: 9px; color: #B9A6FF; margin-top: -4px; }
.anm-card-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.anm-story { display: grid; gap: 6px; padding: 8px; border-radius: 12px; background: rgba(255,255,255,.07); }
.anm-story b { color: #fff; font-size: 12px; }
.anm-story small { color: #B9A6FF; }
.anm-story .anm-img { height: 70px; }
.anm-img { display: block; border-radius: 10px; background: var(--amk-surface-3) center/cover no-repeat; }

.anm-phone { width: 250px; max-width: 100%; padding: 9px; border-radius: 34px; background: #0B1631; box-shadow: 0 24px 50px -24px rgba(11,22,49,.55); }
.anm-phone__screen { display: grid; gap: 10px; align-content: start; min-height: 440px; padding: 16px 13px; border-radius: 26px; background: #fff; overflow: hidden; }
.anm-phone--sm { width: 178px; flex: 0 1 178px; min-width: 0; padding: 7px; border-radius: 26px; }
.anm-flow3 .anm-arrow { flex: none; width: 24px; height: 24px; }
.an-hero .anm-flow3 { gap: 5px; }
.anm-phone--sm .anm-phone__screen { min-height: 330px; padding: 12px 10px; border-radius: 20px; gap: 8px; font-size: 11.5px; }
.anm-app-head { display: flex; justify-content: space-between; align-items: center; font-size: 15px; }
.anm-prod { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; border: 1px solid var(--amk-line); }
.anm-prod .anm-img { height: 64px; }
.anm-prod div { display: grid; gap: 3px; }
.anm-prod strong { font-size: 14px; }
.anm-prod--ad { background: #F0EEF7; border-color: #C6BFE3; }
.anm-ph { display: block; height: 8px; border-radius: 6px; background: var(--amk-surface-3); width: 85%; }
.anm-ph--s { width: 45%; }
.anm-cmp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.anm-cmp__col { display: grid; gap: 6px; align-content: start; padding: 10px; border-radius: 12px; border: 1px solid var(--amk-line); }
.anm-cmp__col .anm-img { height: 80px; }
.anm-cmp__col.is-ad { border-color: #6431F4; background: #F5F4FA; }
.anm-cmp__col.is-ad small { font-weight: 600; color: #6431F4; }
.anm-cmp__col em { justify-self: start; padding: 5px 10px; border-radius: 99px; background: #0B1631; color: #fff; font-size: 11px; font-weight: 600; }
.anm-c2c { grid-template-columns: 1fr 170px; align-items: start; }
.anm-article { display: grid; gap: 8px; }
.anm-kicker { font-weight: 600; color: #6431F4 !important; text-transform: uppercase; letter-spacing: .06em; font-size: 10px !important; }
.anm-h { font-size: 16px; line-height: 1.25; }
.anm-h--s { font-size: 13.5px; }
.anm-hero-img { display: block; height: 110px; border-radius: 12px; background: var(--amk-surface-3) center/cover no-repeat; }
.anm-hero-img--sq { height: 140px; }
.anm-hero-img--tall { height: 210px; }
.anm-article p { font-size: 12px; color: var(--amk-text); }
.anm-pcard { display: grid; gap: 5px; padding: 10px; border-radius: 14px; border: 1.5px solid #6431F4; background: #F5F4FA; }
.anm-pcard small { font-weight: 600; color: #6431F4; }
.anm-pcard .anm-img { height: 100px; }
.anm-merchant { font-size: 11px; color: var(--amk-muted); }
.anm-pcard em { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 99px; background: #0B1631; color: #fff; font-size: 11px; font-weight: 600; justify-self: start; }
@media (max-width: 520px) { .anm-c2c { grid-template-columns: 1fr; } }

.anm-flow3 { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; }
.anm-arrow { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #0B1631; color: #B9A6FF; flex: none; }
.anm-post-head, .anm-mail__from { display: flex; align-items: center; gap: 8px; }
.anm-post-head div, .anm-mail__from div { display: grid; line-height: 1.2; }
.anm-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--amk-surface-3) center/cover; flex: none; display: grid; place-items: center; }
.anm-avatar--pub { background: #0B1631; color: #B9A6FF; font: 700 11px/1 var(--amk-head); }
.anm-post-img { display: block; height: 170px; border-radius: 10px; background: center 30%/cover no-repeat; }
.anm-phone--sm .anm-post-img { height: 140px; }
.anm-cap { font-size: 11.5px; color: var(--amk-text); }
.anm-comment { padding: 6px 8px; border-radius: 8px; background: var(--amk-surface-2); font-size: 11px; }
.anm-dm-head { display: grid; justify-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--amk-line); }
.anm-bubble { padding: 8px 10px; border-radius: 14px 14px 14px 4px; background: var(--amk-surface-2); font-size: 11.5px; }
.anm-dmcard { display: grid; gap: 4px; padding: 8px; border-radius: 12px; border: 1px solid var(--amk-line); }
.anm-dmcard .anm-img { height: 90px; background-position: center 30%; }
.anm-dmcard em, .anm-cta { justify-self: start; padding: 6px 12px; border-radius: 99px; background: #6431F4; color: #fff; font-size: 11px; font-weight: 600; }
.anm-price { font-size: 15px; }
.anm-utm { font-family: ui-monospace, monospace; font-size: 9.5px !important; color: #6431F4 !important; background: #F0EEF7; padding: 3px 6px; border-radius: 6px; justify-self: start; }
@media (max-width: 640px) {
  .anm-flow3 { flex-direction: column; }
  .anm-arrow { transform: rotate(90deg); }
  .anm-phone--sm { width: 220px; }
}
.anm-linkbar { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: var(--amk-surface-2); }
.anm-linkbar div { display: grid; }
.anm-linkbar em { padding: 5px 12px; border-radius: 99px; background: #0B1631; color: #fff; font-size: 11px; font-weight: 600; }
.anm-actions { display: flex; gap: 12px; font-size: 18px; }
.anm-actions span { flex: 1; }
.anm-lines { display: grid; gap: 6px; }
.anm-lines i { display: block; height: 7px; border-radius: 6px; background: var(--amk-surface-3); }
.anm-out { display: grid; gap: 6px; padding: 10px; border-radius: 12px; background: var(--amk-surface-2); }
.anm-video { position: relative; height: 170px; border-radius: 10px; background: #0B1631 center/cover no-repeat; overflow: hidden; }
.anm-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.9); color: #0B1631; font-size: 18px; }
.anm-play svg { fill: currentColor; }
.anm-vbar { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); }
.anm-vbar i { display: block; width: 35%; height: 100%; border-radius: 3px; background: #B9A6FF; }
.anm-out__meta { display: flex; justify-content: space-between; align-items: center; }
.anm-out__meta em { padding: 5px 12px; border-radius: 99px; background: #0B1631; color: #fff; font-size: 11px; font-weight: 600; }
.anm-inter { position: relative; padding-top: 34px !important; }
.anm-inter p { font-size: 12.5px; color: var(--amk-text); }
.anm-close { position: absolute; top: 12px; right: 14px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--amk-surface-2); font-size: 11px; }
.anm-inter > small { position: absolute; top: 15px; left: 14px; }
.anm-mail { gap: 10px; }
.anm-spons { display: grid; gap: 8px; padding: 12px; border-radius: 12px; border: 1px solid #C6BFE3; background: #F5F4FA; }
.anm-spons small { font-weight: 600; color: #6431F4; }
.anm-spons em { justify-self: start; padding: 6px 12px; border-radius: 99px; background: #6431F4; color: #fff; font-size: 11.5px; font-weight: 600; }
.anm-ty__ok { display: flex; gap: 12px; align-items: center; }
.anm-ty__ok > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #E5E2F3; color: #6431F4; font-size: 18px; flex: none; }
.anm-ty__ok div { display: grid; }
.anm-ty__sum { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; background: var(--amk-surface-2); }
.anm-ty__sum .anm-img { height: 48px; }
.anm-ty__sum div { display: grid; }
.anm-offer { display: grid; gap: 8px; padding: 12px; border-radius: 14px; border: 1.5px solid #6431F4; background: linear-gradient(120deg, #fff, #F0EEF7); }
.anm-offer > small { font-weight: 600; color: #6431F4; }
.anm-offer__row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.anm-offer__row p { font-size: 12px; color: var(--amk-text); }
.anm-offer__row em { padding: 7px 12px; border-radius: 99px; background: #0B1631; color: #fff; font-size: 11.5px; font-weight: 600; }
@media (max-width: 480px) { .anm-offer__row { grid-template-columns: auto 1fr; } .anm-offer__row em { grid-column: 1 / -1; justify-self: start; } .anm-tiles { grid-template-columns: repeat(3, 1fr); } }

.amk-visual.anm { grid-template-columns: minmax(0, 1fr); }
.amk-visual.anm > * { min-width: 0; justify-self: center; }
.anm-flow3 { min-width: 0; max-width: 100%; }
.anm-flow3 .anm-phone__screen > * { min-width: 0; }

/* Guide hero product photo: show the whole product, not a crop */
.anm-hero-img--product { height: 150px; background-color: #EEEEEE !important; background-size: 100% auto !important; background-position: center 58% !important; background-repeat: no-repeat !important; }

/* ===== Influential journey mock-up (v2) ===== */
.anm-infl { display: grid; gap: 14px; width: 100%; }
.anm-infl .anm-step { display: grid; justify-items: center; gap: 10px; min-width: 0; }
.anm-infl .anm-step__n { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px 4px 4px; border-radius: 999px; background: #fff; border: 1px solid #E6E0FB; font: 600 11.5px/1 var(--amk-head); color: var(--amk-ink); box-shadow: 0 6px 14px -10px rgba(60,40,160,.5); }
.anm-infl .anm-step__n i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, #000C38, #3A1E9E 55%, #6431F4); color: #fff; font-style: normal; font-size: 10px; font-weight: 700; }
.anm-infl .anm-arrow { background: linear-gradient(135deg, #000C38, #3A1E9E 55%, #6431F4); color: #fff; box-shadow: 0 6px 14px -6px rgba(100,49,244,.6); margin-top: 26px; }
.anm-infl .anm-arrow svg { width: 13px; height: 13px; }
.anm-infl .anm-phone--sm .anm-phone__screen { min-height: 0; height: 100%; gap: 7px; }
.anm-infl .anm-phone--sm { align-self: stretch; display: flex; }
.anm-infl .anm-phone__screen { flex: 1; display: flex; flex-direction: column; }
.anm-avatar--face { background-size: 420% !important; background-position: 56% 14% !important; }
.anm-infl .anm-post-head small { font-size: 9.5px; }
.anm-infl .anm-post-img { height: 132px; background-size: cover; background-position: center 35%; border-radius: 12px; }
.anm-actions { display: flex; gap: 10px; align-items: center; font-size: 10.5px; font-weight: 600; color: var(--amk-ink); }
.anm-actions span { display: inline-flex; align-items: center; gap: 3px; }
.anm-actions span:last-child { margin-left: auto; }
.anm-actions .is-like { color: #E5484D; }
.anm-actions .is-like + span, .anm-actions span:not(.is-like) { color: var(--amk-ink); }
.anm-infl .anm-cap { margin: 0; font-size: 10.5px; line-height: 1.4; color: var(--amk-text); }
.anm-kw { padding: 0 5px; border-radius: 5px; background: #EFEAFE; color: #6431F4; }
.anm-comments { display: grid; gap: 4px; margin-top: auto; }
.anm-comments div { padding: 5px 8px; border-radius: 9px; background: #F6F5FA; font-size: 10.5px; }
.anm-infl .anm-dm-head { display: flex; align-items: center; justify-content: flex-start; gap: 7px; padding-bottom: 7px; }
.anm-infl .anm-dm-head .anm-avatar { width: 24px; height: 24px; }
.anm-infl .anm-dm-head b { display: block; font-size: 11px; } .anm-infl .anm-dm-head small { font-size: 9.5px; color: #16A34A; color: var(--amk-muted); }
.anm-infl .anm-bubble { font-size: 10.5px; line-height: 1.4; padding: 7px 9px; max-width: 88%; }
.anm-bubble--me { justify-self: end; align-self: flex-end; background: linear-gradient(135deg, #3A1E9E, #6431F4) !important; color: #fff; border-radius: 12px 12px 4px 12px !important; font-weight: 600; }
.anm-img--shoe { background-size: 430% !important; background-position: 58% 78% !important; }
.anm-infl .anm-dmcard { gap: 6px; padding: 7px; }
.anm-infl .anm-dmcard .anm-img { height: 78px; border-radius: 9px; }
.anm-dmcard__row b { display: block; font-size: 11px; } .anm-dmcard__row small { font-size: 10px; color: var(--amk-muted); }
.anm-infl .anm-dmcard em { width: 100%; text-align: center; justify-self: stretch; }
.anm-track { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; align-self: center; padding: 3px 8px; border-radius: 999px; background: #EFEAFE; color: #6431F4; font-size: 9.5px; font-weight: 600; }
.anm-track svg { width: 10px; height: 10px; }
.anm-infl .anm-hero-img--sq { height: 120px; border-radius: 12px; }
.anm-pdp { display: grid; gap: 5px; flex: 1; align-content: start; }
.anm-stars { display: inline-flex; align-items: center; gap: 1px; color: #F5A524; }
.anm-stars small { margin-left: 4px; color: var(--amk-muted); font-size: 10px; }
.anm-infl .anm-price { font-size: 14px; }
.anm-sizes { display: flex; gap: 4px; }
.anm-sizes span { display: grid; place-items: center; width: 24px; height: 22px; border-radius: 6px; border: 1px solid var(--amk-line); font-size: 10px; font-weight: 600; }
.anm-sizes .is-on { border-color: #6431F4; background: #EFEAFE; color: #6431F4; }
.anm-infl .anm-cta { width: 100%; text-align: center; padding: 7px 12px; margin-top: 2px; }
.anm-ref { justify-self: center; margin-top: auto; padding: 3px 8px; border-radius: 999px; background: #EFEAFE; color: #6431F4; font-size: 9.5px; font-weight: 600; }
.anm-infl__track { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; padding: 9px 14px; border-radius: 14px; background: #fff; border: 1px solid #E6E0FB; font-size: 11.5px; color: var(--amk-muted); box-shadow: 0 10px 22px -18px rgba(60,40,160,.5); }
.anm-infl__track b { color: var(--amk-ink); font-size: 13px; margin-right: 2px; }
.anm-infl__track i { width: 14px; height: 1.5px; background: #CFC3FA; }
.anm-infl__track em { font-style: normal; font-weight: 600; font-size: 10.5px; padding: 3px 8px; border-radius: 999px; background: linear-gradient(110deg, #000C38, #6431F4); color: #fff; }
@media (max-width: 640px) {
  .anm-infl .anm-arrow { margin-top: 0; }
  .anm-infl .anm-phone--sm { align-self: center; }
}
.anm-stars svg, .anm-actions .is-like svg { fill: currentColor !important; stroke: none !important; }
.anm-img--shoe { background-size: 520% !important; background-position: 59% 80% !important; }
.anm-comments { margin-top: 2px; }
.anm-ref { white-space: nowrap; font-size: 9px; }
.anm-infl .anm-cap { margin-bottom: 2px; }
.anm-infl .anm-cta, .anm-infl .anm-dmcard em, .anm-ref { box-sizing: border-box; max-width: 100%; }
.anm-pdp { min-width: 0; }
