.promotion-page { max-width: 1120px; }
.promotion-page-heading { max-width: 760px; margin: 20px 0 28px; }
.promotion-page-heading h1 { margin: 8px 0 12px; }
.promotion-page-heading p { color: var(--muted, #5f6c63); line-height: 1.65; }
.promotion-listing-reference { font-weight: 700; color: var(--ink, #173f32) !important; }
.promotion-payment-notice { display: grid; gap: 5px; margin: 20px 0; border: 1px solid #d8c79e; background: #fff9e8; color: #534323; border-radius: 14px; padding: 14px 16px; line-height: 1.5; }
.promotion-offers-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.promotion-offer-card { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 24px; border: 1px solid #dce4dd; border-radius: 18px; background: #fff; box-shadow: 0 8px 24px rgba(23,63,50,.05); }
.promotion-offer-card.is-premium { border: 2px solid #b89545; box-shadow: 0 12px 30px rgba(139,105,33,.13); }
.promotion-offer-card h2 { margin: 3px 0 0; font-size: 1.2rem; line-height: 1.3; }
.promotion-offer-card p { color: var(--muted, #5f6c63); line-height: 1.55; min-height: 3.1em; margin: 0; }
.promotion-offer-price { font-size: 2rem; font-weight: 800; color: var(--ink, #173f32); margin-top: 8px; }
.promotion-offer-price small { font-size: .9rem; }
.promotion-offer-duration { color: var(--muted, #5f6c63); margin-top: -10px; }
.promotion-offer-card form { margin-top: auto; }
.promotion-popular-tag { display: inline-flex; width: fit-content; border-radius: 999px; padding: 5px 9px; font-size: .75rem; font-weight: 700; color: #684e13; background: #f6ebcb; }
.promotion-orders-section { margin-top: 36px; }
.promotion-orders-section h2 { margin-bottom: 14px; }
.promotion-orders-list { border: 1px solid #e1e7e2; border-radius: 14px; overflow: hidden; background: #fff; }
.promotion-order-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border-bottom: 1px solid #edf0ed; }
.promotion-order-row:last-child { border-bottom: 0; }
.promotion-order-row > div { display: grid; gap: 4px; }
.promotion-order-row small { color: var(--muted, #5f6c63); }
.promotion-order-status { border-radius: 999px; padding: 5px 9px; font-size: .8rem; font-weight: 700; background: #f0f2f0; white-space: nowrap; }
.promotion-order-status.status-paid { color: #145b3c; background: #e4f5eb; }
.promotion-order-status.status-failed, .promotion-order-status.status-refund_required { color: #8b2b20; background: #fff0ed; }
.promotion-terms-note { margin-top: 24px; color: var(--muted, #5f6c63); font-size: .9rem; line-height: 1.6; }
.dashboard-promote-link { color: #8a681b; font-weight: 700; }
.bumped-card .bumped-tag { position: absolute; z-index: 3; top: 12px; left: 12px; border-radius: 999px; padding: 6px 10px; background: #e8f1ec; color: #174c37; font-size: .78rem; font-weight: 800; box-shadow: 0 2px 9px rgba(0,0,0,.08); }
@media (max-width: 850px) { .promotion-offers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .promotion-offers-grid { grid-template-columns: 1fr; } .promotion-offer-card { padding: 20px; } .promotion-order-row { align-items: flex-start; flex-direction: column; } }

/* Calm entry points to paid promotion: visible in the owner's workflow, never modal. */
.dashboard-promotion-entry {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: -20px 0 38px;
  padding: 18px 22px;
  border: 1px solid #e5e9df;
  border-radius: 15px;
  background: linear-gradient(110deg, #f7f8f2, #fbfaf6);
}
.dashboard-promotion-symbol {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #e7eee6;
  color: #245743;
  font-size: 26px;
  font-weight: 700;
}
.dashboard-promotion-copy { flex: 1; min-width: 0; }
.dashboard-promotion-copy .eyebrow { letter-spacing: 1.1px; }
.dashboard-promotion-copy h2 { margin: 3px 0 4px; color: #234638; font-size: 17px; }
.dashboard-promotion-copy p { margin: 0; color: #738178; font-size: 12px; line-height: 1.5; }
.dashboard-promote-link { display: inline-flex !important; align-items: center; gap: 5px; color: #245743 !important; }
.detail-promotion-entry {
  display: grid;
  gap: 8px;
  margin: 18px 0 14px;
  padding: 15px;
  border: 1px solid #e8e3d4;
  border-radius: 12px;
  background: #fbfaf5;
}
.detail-promotion-entry strong { color: #294b3c; font-size: 13px; line-height: 1.4; }
.detail-promotion-entry p { margin: 0; color: #7a857c; font-size: 11px; line-height: 1.55; }

.promotion-offers-intro { margin: 26px 0 15px; }
.promotion-offers-intro h2 { margin: 0 0 5px; font-size: 19px; color: #244638; }
.promotion-offers-intro p { max-width: 780px; margin: 0; color: #7a877e; font-size: 12px; line-height: 1.55; }
.promotion-offers-grid { align-items: stretch; }
.promotion-offer-card { gap: 10px; }
.promotion-offer-card > p { min-height: 0; }
.promotion-preview {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 176px;
  padding: 12px;
  border: 1px solid #e9eee8;
  border-radius: 13px;
  background: #f7f9f6;
}
.promotion-preview-caption {
  color: #859187;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .9px;
  text-transform: uppercase;
}
.promotion-preview-feed { display: grid; gap: 7px; }
.promotion-preview-feed-row {
  display: grid;
  grid-template-columns: 22px minmax(0,1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 9px;
  border: 1px solid #e2e8e1;
  border-radius: 8px;
  background: #fff;
}
.promotion-preview-feed-row.is-priority {
  border-color: #d5bd83;
  background: #fffdf7;
  box-shadow: 0 3px 10px rgba(128,100,48,.07);
}
.promotion-preview-number {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 6px;
  background: #e9efe9;
  color: #315b47;
  font-size: 11px;
  font-weight: 800;
}
.is-priority .promotion-preview-number { background: #f3e6c5; color: #8a682b; }
.promotion-preview-row-copy, .promotion-preview-card-copy { display: grid; min-width: 0; gap: 2px; }
.promotion-preview-row-copy strong, .promotion-preview-card-copy strong {
  overflow: hidden;
  color: #334d40;
  font-size: 10px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.promotion-preview-row-copy small, .promotion-preview-card-copy small { color: #879288; font-size: 8px; }
.promotion-preview-rank {
  padding: 4px 5px;
  border-radius: 5px;
  background: #f3e8cc;
  color: #806128;
  font-size: 8px;
  font-weight: 800;
  white-space: nowrap;
}
.promotion-preview-feature-card {
  overflow: hidden;
  border: 2px solid #d8bd7f;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 4px 13px rgba(128,100,48,.08);
}
.promotion-preview-photo {
  position: relative;
  display: grid;
  place-items: center;
  height: 72px;
  background: linear-gradient(140deg, #e7eee7, #dce7dc);
  color: #78907d;
}
.promotion-preview-photo > span { font-size: 32px; line-height: 1; }
.promotion-preview-photo b {
  position: absolute;
  top: 7px;
  left: 7px;
  padding: 4px 6px;
  border-radius: 5px;
  background: #f4e8c8;
  color: #745a27;
  font-size: 8px;
}
.promotion-preview-card-copy { padding: 8px 9px 9px; }
.promotion-preview-explainer { margin: auto 0 0 !important; color: #7d887f; font-size: 10px; line-height: 1.45; }
.promotion-preview-premium { display: grid; gap: 8px; }
.promotion-preview-feature-card.is-compact { display: grid; grid-template-columns: 76px minmax(0,1fr); align-items: stretch; }
.promotion-preview-feature-card.is-compact .promotion-preview-photo { height: 56px; }
.promotion-preview-feature-card.is-compact .promotion-preview-photo > span { font-size: 24px; }
.promotion-preview-feature-card.is-compact .promotion-preview-card-copy { align-content: center; }
.promotion-offer-result {
  padding-top: 2px;
  color: #52665a;
  font-size: 11px;
}
.promotion-offer-result > strong { color: #2e4c3e; font-size: 11px; }
.promotion-offer-result ul { margin: 5px 0 0; padding-left: 17px; }
.promotion-offer-result li { margin: 3px 0; line-height: 1.4; }
.promotion-price-block { margin-top: auto; padding-top: 10px; border-top: 1px solid #edf0eb; }
.promotion-offer-price { margin-top: 0; }
.promotion-offer-duration { margin-top: 0; font-size: 11px; }
.promotion-checkout-form { padding-top: 5px; }
.promotion-checkout-form .consent-box { margin: 3px 0 11px; padding: 10px; }
.promotion-checkout-form .consent-box label { font-size: 10px; line-height: 1.5; }
.promotion-checkout-form .btn { min-height: 42px; font-size: 11px; }
@media (max-width: 850px) {
  .dashboard-promotion-entry { align-items: flex-start; flex-wrap: wrap; }
  .dashboard-promotion-copy { flex-basis: calc(100% - 70px); }
  .dashboard-promotion-entry > .btn { margin-left: 66px; }
}
@media (max-width: 580px) {
  .dashboard-promotion-entry { gap: 12px; padding: 15px; margin: -12px 0 30px; }
  .dashboard-promotion-symbol { flex-basis: 40px; width: 40px; height: 40px; }
  .dashboard-promotion-copy { flex-basis: calc(100% - 54px); }
  .dashboard-promotion-copy h2 { font-size: 15px; }
  .dashboard-promotion-copy p { font-size: 11px; }
  .dashboard-promotion-entry > .btn { width: 100%; margin-left: 0; }
  .promotion-preview { min-height: 160px; }
}


/* v0.1.47: visually separate the three promotion effects. */
.promotion-offer-topline {
  min-height: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.promotion-offer-type {
  color: #6d806f;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
}
.promotion-offer-summary {
  min-height: 38px;
  color: #556b5d;
  font-size: 12px;
  line-height: 1.5;
}
.promotion-offer-card h2 { font-size: 1.12rem; }
.promotion-offer-card.is-premium {
  border: 2px solid #d4a329;
  box-shadow: 0 12px 32px rgba(181,132,19,.19), inset 0 0 0 1px rgba(255,235,164,.7);
}
.promotion-offers-intro p { font-size: 12px; }
.promotion-preview {
  min-height: 214px;
  justify-content: flex-start;
  padding: 14px;
  background: linear-gradient(155deg, #fcfdf9 0%, #f0f4ed 100%);
  border-color: #e2e9df;
}
.promotion-preview-caption {
  color: #718174;
  font-size: 9px;
  letter-spacing: 1px;
}
.promotion-demo-list {
  display: grid;
  gap: 9px;
  margin-top: 6px;
}
.promotion-demo-row {
  display: grid;
  grid-template-columns: 28px minmax(0,1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 53px;
  padding: 9px;
  border: 1px solid #e0e8df;
  border-radius: 9px;
  background: #fff;
}
.promotion-demo-row.is-top {
  border-color: #80a58c;
  background: linear-gradient(105deg, #f4faf4, #fff);
  box-shadow: 0 4px 12px rgba(34,91,59,.09);
}
.promotion-demo-number {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 7px;
  background: #e8f0e9;
  color: #315d43;
  font-size: 10px;
  font-weight: 900;
}
.promotion-demo-row.is-top .promotion-demo-number {
  color: #fff;
  background: #246044;
}
.promotion-demo-row strong {
  min-width: 0;
  overflow: hidden;
  color: #2e4b3a;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.promotion-demo-row b {
  padding: 5px 7px;
  border-radius: 6px;
  color: #fff;
  background: #286247;
  font-size: 8px;
  white-space: nowrap;
}
.promotion-demo-row small { color: #829086; font-size: 8px; }
.promotion-preview-footnote {
  margin-top: auto;
  color: #627568;
  font-size: 10px;
  line-height: 1.4;
}
.promotion-preview-feature-card.is-shiny {
  position: relative;
  border: 2px solid #dba51d;
  border-radius: 10px;
  box-shadow:
    0 0 0 2px rgba(255,224,112,.48),
    0 0 17px rgba(218,158,13,.42),
    0 6px 14px rgba(122,84,8,.12),
    inset 0 0 0 1px #fff0a9;
}
.promotion-preview-feature-card.is-shiny::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: -35%;
  bottom: -35%;
  left: -58%;
  width: 38%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.88), rgba(255,238,171,.35), transparent);
  transform: skewX(-22deg);
  animation: promotion-preview-glint 4.8s ease-in-out infinite;
}
.promotion-preview-photo {
  height: 88px;
  background: linear-gradient(135deg, #fff7d9 0%, #f2dda0 48%, #e8c76a 100%);
  color: #8a6a22;
}
.promotion-preview-photo b {
  border: 1px solid #b6810b;
  background: linear-gradient(115deg, #fff2ad, #ffcf46 48%, #fff0a3);
  color: #593a00;
  box-shadow: 0 2px 8px rgba(91,61,5,.22);
  font-size: 8px;
  letter-spacing: .35px;
}
.promotion-preview-card-copy { min-height: 39px; padding: 9px 10px; }
.promotion-premium-demo {
  display: grid;
  gap: 9px;
  margin-top: 3px;
}
.promotion-premium-rank {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(100deg, #1f563b, #34734b);
  box-shadow: 0 4px 11px rgba(31,86,59,.16);
}
.promotion-premium-rank strong {
  color: #ffe28a;
  font-size: 12px;
}
.promotion-premium-rank span { color: #edf5eb; font-size: 10px; }
.promotion-preview-premium .promotion-preview-feature-card.is-shiny .promotion-preview-photo { height: 61px; }
.promotion-preview-premium .promotion-preview-card-copy { min-height: 32px; padding: 6px 9px; }
.promotion-price-block { padding-top: 13px; }
.promotion-offer-price { font-size: 2rem; }
.promotion-offer-duration {
  margin-top: 1px;
  color: #718174;
  font-size: 11px;
  font-weight: 700;
}
.promotion-checkout-form { margin-top: 2px; }
.promotion-checkout-form .consent-box { background: #f5f7f1; border: 1px solid #e5eadd; }
.promotion-checkout-form .btn { min-height: 44px; font-size: 11px; }

@keyframes promotion-preview-glint {
  0%, 62% { transform: translateX(0) skewX(-22deg); opacity: 0; }
  70% { opacity: .9; }
  100% { transform: translateX(440%) skewX(-22deg); opacity: 0; }
}

/* Gold visual highlighting is deliberately separate from catalog ranking. */
.listing-card.featured-card {
  position: relative;
  border: 2px solid transparent !important;
  background:
    linear-gradient(#fff,#fff) padding-box,
    linear-gradient(125deg, #9c6500 0%, #f3c43d 18%, #fff0a0 34%, #c58a0b 51%, #ffe47a 69%, #a56b00 100%) border-box;
  box-shadow:
    0 0 0 1px rgba(255,224,112,.58),
    0 8px 25px rgba(184,130,9,.22),
    inset 0 0 0 1px rgba(255,248,206,.9);
}
.listing-card.featured-card:hover {
  box-shadow:
    0 0 0 2px rgba(255,224,112,.72),
    0 14px 32px rgba(184,130,9,.31),
    inset 0 0 0 1px rgba(255,248,206,.95);
}
.featured-card::after {
  content: "";
  position: absolute;
  z-index: 4;
  top: -45%;
  bottom: -45%;
  left: -58%;
  width: 34%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.7), rgba(255,238,171,.2), transparent);
  transform: skewX(-22deg);
  animation: listing-card-gold-glint 5.6s ease-in-out infinite;
}
.featured-card .featured-tag {
  z-index: 5;
  color: #573900;
  border: 1px solid #b78108;
  background: linear-gradient(115deg, #fff3b0 0%, #ffd34d 42%, #fff0a1 68%, #eab32f 100%);
  box-shadow: 0 2px 10px rgba(75,49,0,.28), inset 0 1px 0 rgba(255,255,255,.85);
  text-shadow: 0 1px 0 rgba(255,255,255,.55);
}
.featured-card .image-category { z-index: 5; }
@keyframes listing-card-gold-glint {
  0%, 64% { transform: translateX(0) skewX(-22deg); opacity: 0; }
  72% { opacity: .7; }
  100% { transform: translateX(470%) skewX(-22deg); opacity: 0; }
}

/* A stronger, premium-looking promotion entry in the owner's dashboard. */
.dashboard-promotion-entry {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #c99b35;
  background:
    radial-gradient(ellipse at 86% 12%, rgba(255,221,126,.2), transparent 38%),
    linear-gradient(112deg, #153e30 0%, #205b40 58%, #286b49 100%);
  box-shadow: 0 13px 30px rgba(20,63,47,.2), inset 0 1px 0 rgba(255,255,255,.12);
}
.dashboard-promotion-entry::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -70%;
  bottom: -70%;
  left: -35%;
  width: 26%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,231,161,.22), transparent);
  transform: skewX(-23deg);
  animation: dashboard-promotion-glint 7s ease-in-out infinite;
}
.dashboard-promotion-symbol {
  background: linear-gradient(145deg, #fff2b8, #e5b84c 62%, #c58a19);
  color: #174532;
  border: 1px solid rgba(255,245,195,.8);
  box-shadow: 0 5px 16px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.8);
}
.dashboard-promotion-copy { position: relative; z-index: 1; }
.dashboard-promotion-copy .eyebrow { color: #f5d784; }
.dashboard-promotion-copy h2 { color: #fff !important; font-size: 19px; }
.dashboard-promotion-copy p { color: #e2eee4 !important; font-size: 12px; }
.dashboard-promotion-entry > .btn-secondary {
  position: relative;
  z-index: 1;
  border: 1px solid #f7df9c;
  background: linear-gradient(125deg, #fff3c5, #ecc96d 54%, #f8e5a8);
  color: #173f30;
  box-shadow: 0 5px 15px rgba(5,30,19,.2), inset 0 1px 0 rgba(255,255,255,.9);
}
.dashboard-promotion-entry > .btn-secondary:hover {
  background: linear-gradient(125deg, #fff8dc, #f3d77e 54%, #fff0be);
  box-shadow: 0 7px 19px rgba(5,30,19,.28), 0 0 0 2px rgba(255,233,166,.16);
}
@keyframes dashboard-promotion-glint {
  0%, 72% { transform: translateX(0) skewX(-23deg); opacity: 0; }
  80% { opacity: 1; }
  100% { transform: translateX(620%) skewX(-23deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .promotion-preview-feature-card.is-shiny::after,
  .featured-card::after,
  .dashboard-promotion-entry::after { animation: none; display: none; }
}
@media (max-width: 580px) {
  .promotion-preview { min-height: 200px; }
  .promotion-offer-card { padding: 19px; }
  .promotion-offer-summary { min-height: 0; }
}


/* v0.1.48: make the per-listing promotion action as clear as the dashboard banner. */
.dashboard-listing-actions .dashboard-promote-cta {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 46px;
  padding: 10px 9px;
  overflow: hidden;
  border: 1px solid #d7ad43 !important;
  border-radius: 10px;
  background: linear-gradient(115deg, #174b35 0%, #205b3f 58%, #2b704b 100%) !important;
  color: #fff !important;
  box-shadow: 0 5px 15px rgba(22,69,47,.2), inset 0 1px 0 rgba(255,255,255,.16);
  font-size: 10px !important;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.dashboard-listing-actions .dashboard-promote-cta span:first-child {
  flex: 0 0 auto;
  color: #ffdf83;
  font-size: 15px;
  line-height: 1;
  text-shadow: 0 0 8px rgba(255,222,130,.48);
}
.dashboard-listing-actions .dashboard-promote-cta span:last-child {
  min-width: 0;
  max-width: 108px;
}
.dashboard-listing-actions .dashboard-promote-cta::after {
  content: "";
  position: absolute;
  top: -55%;
  bottom: -55%;
  left: -45%;
  width: 27%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,240,190,.34), transparent);
  transform: skewX(-22deg);
  animation: dashboard-listing-cta-glint 6.5s ease-in-out infinite;
}
.dashboard-listing-actions .dashboard-promote-cta:hover {
  transform: translateY(-2px);
  border-color: #f1d47c !important;
  box-shadow: 0 8px 19px rgba(22,69,47,.27), 0 0 0 2px rgba(222,183,78,.16), inset 0 1px 0 rgba(255,255,255,.2);
}
@keyframes dashboard-listing-cta-glint {
  0%, 72% { transform: translateX(0) skewX(-22deg); opacity: 0; }
  80% { opacity: 1; }
  100% { transform: translateX(610%) skewX(-22deg); opacity: 0; }
}
@media (max-width: 720px) {
  .dashboard-listing-actions .dashboard-promote-cta {
    width: auto;
    min-width: 190px;
    min-height: 42px;
    padding-inline: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dashboard-listing-actions .dashboard-promote-cta::after { animation: none; display: none; }
}