/* Phone layout for the two primary paint-by-numbers collections. */
@media screen and (max-width: 749.98px) {
  #MainContent[data-myart-pbn-collection] .collection-promo[data-bf-mobile],
  #MainContent .collection-promo[data-bf-mobile][data-bf-punch] {
    --bf-gold: #f0d097;
    --bf-ivory: #fff9ef;
    --bf-ticket-width: 350px;
    padding-block-start: 24px;

    & .collection-promo__container { width: 91%; }

    &[data-section-id] .collection-promo__panel {
      display: flex;
      flex-flow: column nowrap;
      align-items: stretch;
      gap: 0;
      padding: 0;
      border: 0;
      border-radius: 18px;
      overflow: hidden;
      background: #23201e;
      color: var(--bf-ivory);
      box-shadow: 0 9px 22px -10px rgb(74 40 20 / 22%);
    }

    & .collection-promo__media {
      order: 0;
      width: 100%;
      max-width: none;
      margin: 0;
      border-radius: 0;
    }

    & .collection-promo__visual {
      width: 100%;
      /* Match the homepage video height inside its two 16px page gutters. */
      height: calc(100vw - 32px);
      min-height: 0;
      aspect-ratio: auto;
      object-fit: cover;
      object-position: center 42%;
      border-radius: 0;
    }

    & .collection-promo__content {
      order: 1;
      display: flex;
      flex-flow: column nowrap;
      align-items: center;
      width: 100%;
      max-width: none;
      margin: 0;
      padding: 28px clamp(14px, 4.8vw, 24px);
      text-align: center;
      --collection-promo-text: var(--bf-ivory);
    }

    & .collection-promo__review {
      justify-content: center;
      margin: 0;
      gap: 10px;
      font-size: clamp(12px, 3.4vw, 15px);
      font-weight: 400;
      color: #ede6db;
    }

    & .collection-promo__stars {
      width: clamp(74px, 23vw, 100px);
      translate: 0 -2px;
    }

    & .collection-promo__title {
      max-width: 20ch;
      margin: 6px 0 0;
      padding: 0;
      font-size: clamp(23px, 7.55vw, 36px);
      line-height: 1.14;
      letter-spacing: -.024em;
      color: var(--bf-ivory);
      text-align: center;
      text-wrap: balance;
    }

    & .collection-promo__title strong { color: var(--bf-gold) !important; }
    & .collection-promo__description {
      margin: 12px 0 0;
      width: 100%;
      max-width: 36rem;
      font-size: clamp(15px, 3.95vw, 18px);
      line-height: 1.34;
      color: #f3ece2;
      text-align: center;
      text-wrap: wrap;
    }

    & :is(.collection-promo__standard-label, .collection-promo__offer-label, .collection-promo__offer-art, .collection-promo__note) { display: none; }
    & .collection-promo__offer {
      display: block;
      width: 100%;
      max-width: var(--bf-ticket-width);
      min-height: clamp(56px, 15.8vw, 66px);
      height: auto;
      aspect-ratio: auto;
      margin: 16px auto 0;
      padding: 8px 0;
      border: 1.5px solid #e3c58f;
      border-radius: 10px;
      background: linear-gradient(105deg, #302923, #27231f);
      color: #fadd9f;
    }

    & .collection-promo__desktop-ticket {
      display: grid;
      grid-template-columns: 44% minmax(0, 1fr);
      align-items: center;
      text-align: center;
    }

    & .collection-promo__ticket-stub { border-right: 1px dashed #b2976d; }
    & :is(.collection-promo__ticket-stub b, .collection-promo__ticket-amount) {
      display: block;
      font: italic 900 clamp(17px, 5.45vw, 24px)/1 "MyArt BF Poster", "Arial Narrow", sans-serif;
      text-transform: uppercase;
      letter-spacing: .01em;
      color: #ffe6b8;
    }
    & .collection-promo__ticket-stub b { color: #ffe6b8 !important; }
    & .collection-promo__desktop-ticket .collection-promo__ticket-amount { font-size: clamp(23px, 7.25vw, 31px); }
    & .collection-promo__ticket-stub em {
      display: block;
      margin-top: 3px;
      color: var(--bf-gold);
      font: italic 700 clamp(11px, 3.15vw, 14px)/1.2 var(--font-body-family);
    }
    & .collection-promo__desktop-caption {
      display: block;
      width: 100%;
      max-width: var(--bf-ticket-width);
      margin: 8px 0 0;
      font: normal 400 clamp(10px, 2.98vw, 13px)/1.4 var(--font-body-family);
      letter-spacing: 0;
      text-align: center;
      text-wrap: balance;
      color: #e9dfd3;
    }
  }
}
