/* Home support sections: Figma 208:5049 and 208:4841.
 * Explicitly enqueued only when the complete home flow is ready.
 * Text/actions determine height; only artwork overlaps its owning card.
 */
.home-support-phone-break {
  display: none;
}
.home-support-phone-copy {
  display: none;
}
@media (max-width: 860px) {
  body.home .delivery-card__title {
    /* Avoid size-dependent automatic kerning changing the line count on resize. */
    font-kerning: none;
  }
}
@media (max-width: 379px) {
  /* Long flavour names need two lines; reserve the same space in both columns. */
  body.home.phone-flow .macaron-name {
    line-height: 1.2;
    min-height: 2.4em;
  }
}
@media (max-width: 430px) {
  body.home.phone-flow .home-support-phone-break {
    display: initial;
  }
  body.home.phone-flow .home-support-wide-copy {
    display: none;
  }
  body.home.phone-flow .home-support-phone-copy,   body.home.phone-flow .cert-card--physical .cert-card__desc .home-support-phone-copy br {
    display: initial;
  }
  body.home.phone-flow :is(.certificates, .delivery),   body.home.phone-flow :is(.certificates, .delivery) > .container {
    width: 100%;
    height: auto;
    min-width: 0;
  }
  body.home.phone-flow .certificates {
    overflow: clip;
  }
  body.home.phone-flow .certificates > .container {
    display: flex;
    flex-direction: column;
    padding: 38px 24px 40px 26px;
  }
  body.home.phone-flow .cert-header-row {
    display: contents;
  }
  body.home.phone-flow .cert-header {
    order: 0;
    width: 100%;
    max-width: 353px;
  }
  body.home.phone-flow .cert-header .section-title {
    width: 100%;
    font-size: 37px;
    line-height: .919;
  }
  body.home.phone-flow .cert-subtitle {
    position: relative;
    width: 100%;
  }
  body.home.phone-flow .cert-subtitle .subtitle-star {
    top: -32px;
    left: min(254px, 85%);
  }
  body.home.phone-flow .cert-grid {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 54px;
    margin: 36px 0 0;
    order: 1;
  }
  body.home.phone-flow .cert-card {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-width: 0;
    container-type: inline-size;
    gap: 0;
  }
  body.home.phone-flow .cert-card--electronic {
    display: grid;
    grid-template-columns: minmax(0, 148fr) minmax(0, 182fr);
    column-gap: 26px;
    padding: 34px 24px 0 0;
  }
  body.home.phone-flow .cert-card--electronic .cert-card__content {
    position: relative;
    inset: auto;
    width: 100%;
    grid-column: 2;
    grid-row: 1;
    margin-top: 8px;
    min-width: 0;
  }
  body.home.phone-flow .cert-card__title {
    font-size: 30px;
    line-height: 29px;
    overflow-wrap: normal;
  }
  body.home.phone-flow .cert-card--electronic .cert-card__desc {
    width: 100%;
  }
  body.home.phone-flow .cert-card--electronic .cert-card__visual {
    position: relative;
    inset: auto;
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    width: min(105px, 78%);
    height: auto;
    aspect-ratio: 105 / 213;
    margin-left: min(35px, 9.21cqw);
  }
  body.home.phone-flow .cert-card__btn {
    position: relative;
    inset: auto;
    grid-column: 2;
    grid-row: 2;
    width: 181px;
    max-width: calc(100% + 11px);
    justify-self: end;
    margin-right: -11px;
    margin-top: 0;
    min-height: 37px;
    height: auto;
    white-space: normal;
  }
  body.home.phone-flow .cert-card__sticker--dot {
    left: 25%;
    /* Figma 208:5089 / 5100: the hat overlaps the phone's upper corner. */
    z-index: 3;
  }
  body.home.phone-flow .cert-card__sticker--left {
    left: -27px;
    top: auto;
    bottom: 29px;
  }
  body.home.phone-flow .cert-card--physical {
    padding: 42px 18px 28px 47.368%;
  }
  body.home.phone-flow .cert-card--physical .cert-card__content {
    position: relative;
    inset: auto;
    width: 100%;
    min-width: 0;
  }
  body.home.phone-flow .cert-card--physical .cert-card__title {
    font-size: 32px;
  }
  body.home.phone-flow .cert-card--physical .cert-card__desc {
    font-size: 14px;
    line-height: 17px;
  }
  body.home.phone-flow .cert-card--physical .cert-card__desc br {
    display: none;
  }
  body.home.phone-flow .cert-card__address {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 19px;
  }
  body.home.phone-flow .cert-card__address-row p {
    font-size: 16px;
  }
  /* Правка [48] — предыдущая попытка ([42].1, gap:12px) перекомпенсировала:
     часы оказались НИЖЕ центра строки «8:30 – 21:00» на ~9.6px (замер на
     375px: центр иконки y=5282.58 против центра строки y=5272.94). Пин
     по-прежнему выровнен по адресу (gap на него не влияет), уменьшаем
     расстояние до иконки часов, чтобы их центр совпал со строкой времени. */
  body.home.phone-flow .cert-card__address-icons { gap: 2px; }
  body.home.phone-flow .cert-card__address-row {
    min-width: 0;
  }
  body.home.phone-flow .cert-card__visual--pair {
    width: 100%;
    height: 100%;
    container-type: inline-size;
    pointer-events: none;
  }
  body.home.phone-flow .cert-photo--1 {
    left: -4.474%;
    width: 35.263%;
    height: auto;
    aspect-ratio: 134 / 162;
  }
  body.home.phone-flow .cert-photo--2 {
    top: 45.526cqw;
    left: 6.579%;
    width: 37.632%;
    height: auto;
    aspect-ratio: 143 / 166;
  }
  body.home.phone-flow .cert-card__sticker--right {
    left: 1.58%;
    top: 47.895cqw;
  }
  body.home.phone-flow .cert-card__sticker--photo {
    left: 11.316%;
    width: min(136px, 35.79%);
    height: auto;
  }
  body.home.phone-flow .cert-decorative-badge {
    position: relative;
    inset: auto;
    order: 2;
    align-self: flex-end;
    margin: 40px 8px 0 0;
  }
  body.home.phone-flow .delivery {
    overflow: clip;
    background-size: 100% auto;
    background-repeat: repeat-y;
  }
  body.home.phone-flow .delivery > .container {
    padding: 56px 24px 51px;
  }
  body.home.phone-flow .delivery > .container > .section-title,   body.home.phone-flow .delivery > .container > .section-subtitle {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 353px;
  }
  body.home.phone-flow .delivery > .container > .section-title {
    font-size: 37px;
  }
  body.home.phone-flow .delivery > .container > .section-subtitle {
    margin-top: 14px;
  }
  body.home.phone-flow .delivery > .container > .section-subtitle .subtitle-star {
    left: min(261px, 85%);
  }
  body.home.phone-flow .delivery-grid {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 46px;
    margin-top: 36px;
  }
  body.home.phone-flow .delivery-card {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 33px 27px 35px;
    gap: 0;
  }
  body.home.phone-flow .delivery-card::before {
    width: calc(100% + 1px);
    height: 100%;
  }
  body.home.phone-flow .delivery-card__content {
    display: contents;
  }
  body.home.phone-flow .delivery-card__title {
    grid-column: 1;
    grid-row: 1;
    font-size: 32px;
    line-height: 1.1875;
  }
  body.home.phone-flow .delivery-card__desc {
    grid-column: 1;
    grid-row: 2;
    margin-top: 10px;
  }
  body.home.phone-flow .delivery-card__meta {
    position: relative;
    inset: auto;
    width: 100%;
    grid-column: 1;
    grid-row: 3;
    margin: 20px 0 0;
  }
  body.home.phone-flow .delivery-card__meta p {
    min-width: 0;
  }
  body.home.phone-flow .delivery-card__meta-icons {
    flex-shrink: 0;
  }
  body.home.phone-flow :is(.dc-art--coffee-photos, .dc-art--vending-photos, .dc-art--door-photos) {
    position: relative;
    inset: auto;
    grid-column: 1;
    grid-row: 4;
    width: calc(100% + 102px);
    height: auto;
    max-width: none;
    margin: 25px -51px 0;
  }
  body.home.phone-flow .delivery-card--vending .dc-art--vending-photos {
    grid-row: 3;
    margin-top: 24px;
  }
  body.home.phone-flow .delivery-card__content > .btn,   body.home.phone-flow .delivery-card__action-box {
    position: relative;
    inset: auto;
    grid-column: 1;
    grid-row: 5;
    width: min(312px, 100%);
    justify-self: center;
    margin-top: 18px;
    height: auto;
    min-height: 46px;
  }
  body.home.phone-flow .delivery-card--vending .delivery-card__content > .btn {
    grid-row: 4;
  }
  body.home.phone-flow .delivery-card__action-box .btn {
    width: 100%;
    min-height: 46px;
    height: auto;
    white-space: normal;
    padding-inline: 10px;
  }
  body.home.phone-flow .dc-art--coffee-new {
    top: -22px;
    left: auto;
    right: 8px;
  }
  body.home.phone-flow :is(.dc-art--coffee-macaron, .dc-art--coffee-cocoa, .dc-art--vending-badge, .dc-art--vending-sticker3, .dc-art--door-sticker) {
    position: relative;
    inset: auto;
    grid-column: 1;
    grid-row: 4;
    align-self: start;
    margin: 0;
    pointer-events: none;
  }
  body.home.phone-flow .dc-art--coffee-macaron {
    justify-self: end;
    margin-top: 12px;
  }
  body.home.phone-flow .dc-art--coffee-cocoa {
    align-self: end;
    margin-left: -49px;
    margin-bottom: -30px;
  }
  body.home.phone-flow :is(.dc-art--vending-badge, .dc-art--vending-sticker3) {
    grid-row: 3;
  }
  body.home.phone-flow .dc-art--vending-badge {
    justify-self: end;
    margin-top: -26px;
    margin-right: -36px;
  }
  body.home.phone-flow .dc-art--vending-sticker3 {
    align-self: end;
    margin-left: -17px;
    margin-bottom: -24px;
  }
  body.home.phone-flow .dc-art--door-sticker {
    justify-self: end;
    margin-top: -25px;
    margin-right: 7px;
  }
}
@media (max-width: 379px) {
  body.home.phone-flow .delivery > .container {
    padding-inline: 18px;
  }
  body.home.phone-flow .delivery-card {
    padding-inline: 18px;
  }
  body.home.phone-flow :is(.dc-art--coffee-photos, .dc-art--vending-photos, .dc-art--door-photos) {
    width: calc(100% + 72px);
    margin-inline: -36px;
  }
  body.home.phone-flow .cert-card--physical .cert-card__desc br {
    display: none;
  }
  body.home.phone-flow .cert-card__address-row {
    gap: 8px;
  }
  body.home.phone-flow .cert-card__address-row p {
    line-height: 1.35;
  }
}
/* Exact artwork keeps its exported shadow bounds; the original text and
   anchors stay in the flow above each passive paper layer. */
@media (max-width:430px) {
  body.home.phone-flow .certificates {
    background:#fff6eb
  }
  body.home.phone-flow .certificates>.container {
    padding-bottom:29px
  }
  body.home.phone-flow .cert-subtitle .subtitle-star {
    top:-41px
  }
  body.home.phone-flow .cert-card::before {
    inset:-20px -25px -28px -20px;
    background-image:url('../../../img/cert/home-phone-paper-electronic.svg');
    filter:none
  }
  body.home.phone-flow .cert-card--physical::before {
    background-image:url('../../../img/cert/home-phone-paper-physical.svg')
  }
  body.home.phone-flow .cert-card--electronic .cert-card__visual {
    margin-left:min(35px,9.86cqw)
  }
  body.home.phone-flow .cert-card--electronic .cert-card__visual img {
    position:absolute;
    left:-3px;
    top:-3px;
    content:url('../../../img/cert/home-phone-phone-3x.png');
    width:calc(100% + 14px);
    height:calc(100% + 14px);
    max-width:none;
    max-height:none;
    object-fit:fill;
    margin:0;
    filter:none;
    border-radius:0
  }
  body.home.phone-flow .cert-card__sticker--dot {
    content:url('../../../img/cert/home-phone-hat-3x.png')
  }
  body.home.phone-flow .cert-card__sticker--left {
    background-image:url('../../../img/cert/home-phone-fast-3x.png');
    left:-25px;
    width:97.334px;
    height:98.333px;
    bottom:29px
  }
  body.home.phone-flow .cert-card__sticker--left>* {
    display:none
  }
  body.home.phone-flow .cert-card__sticker--right {
    content:url('../../../img/cert/home-phone-macaron-3x.png')
  }
  body.home.phone-flow .cert-card__sticker--photo {
    content:url('../../../img/cert/home-phone-love-3x.png')
  }
  body.home.phone-flow .cert-photo {
    filter:none;
    transform:none;
    border-radius:0;
    max-width:none;
    aspect-ratio:auto
  }
  body.home.phone-flow .cert-photo--1 {
    content:url('../../../img/cert/home-phone-photo-one-3x.png');
    left:-4.98%;
    top:12.46px;
    width:38.45%;
    aspect-ratio:439/521
  }
  body.home.phone-flow .cert-photo--2 {
    content:url('../../../img/cert/home-phone-photo-two-3x.png');
    left:5.895%;
    /* Relative to the photo group's actual width, including narrow phones
       whose section gutters are 18px rather than 25px. */
    top:44.876cqw;
    width:41.053%;
    aspect-ratio:468/538
  }
  body.home.phone-flow .cert-card__sticker--right {
    top:182px
  }
  body.home.phone-flow .cert-decorative-badge__text {
    font-size:19px
  }
  body.home.phone-flow .cert-card__btn {
    font-weight:400;
    box-shadow:none
  }
  body.home.phone-flow .delivery-card__title,body.home.phone-flow .delivery-card__desc {
    position:relative;
    z-index:1
  }
  body.home.phone-flow .delivery-card--coffee .delivery-card__desc {
    max-width:308px
  }
  body.home.phone-flow .delivery-card--coffee .delivery-card__desc br {
    display:none
  }
  body.home.phone-flow .delivery-card--coffee .delivery-card__meta {
    margin-top:35px
  }
  body.home.phone-flow .delivery-card__meta-icons {
    gap:9px
  }
  body.home.phone-flow .delivery-card__meta-icon--pin {
    height:13px;
    width:12px
  }
  body.home.phone-flow .delivery-card__meta-icon--clock {
    height:12px;
    width:12px;
    /* Правка [45].1 — иконка часов «Доставка до дверей» съехала выше
       первой строки часов работы. Смещаем её вниз на 4px, чтобы центр
       иконки совпал с «Прием заказов». */
    margin-top: 4px;
  }
  body.home.phone-flow .delivery-card--coffee .dc-art--coffee-photos {
    margin-top:25px
  }
  body.home.phone-flow .delivery-card--coffee .delivery-card__content>.btn {
    margin-top:22px
  }
  body.home.phone-flow .delivery-card--vending .dc-art--vending-photos {
    margin-top:33px
  }
  body.home.phone-flow .delivery-card--vending .delivery-card__content>.btn {
    margin-top:22px
  }
  body.home.phone-flow .delivery-card--vending {
    padding-bottom:35px
  }
  body.home.phone-flow .delivery-card--door {
    padding-top:34px;
    padding-bottom:42px
  }
  body.home.phone-flow .delivery-card--door .delivery-card__action-box {
    margin-top:16px
  }
  body.home.phone-flow .delivery-card--door .delivery-card__desc {
    max-width:245px
  }
  body.home.phone-flow .delivery-card--door .delivery-card__meta {
    margin-top:27px
  }
  body.home.phone-flow .delivery-card--door .dc-art--door-photos {
    margin-top:42px
  }
  body.home.phone-flow .delivery-card__content>.btn,body.home.phone-flow .delivery-card__action-box .btn {
    font-weight:400;
    box-shadow:none;
    font-size:12px
  }
  body.home.phone-flow .delivery-grid {
    row-gap:45px
  }
  body.home.phone-flow .delivery-card--vending {
    margin-top:2px
  }
  body.home.phone-flow .dc-art--coffee-macaron {
    content:url('../../../img/cert/home-phone-delivery-macaron-3x.png');
    margin-top:12px;
    margin-right:25px
  }
  body.home.phone-flow .delivery-apps .app-btn img {
    width:58px;
    height:58px;
    max-width:none
  }
  body.home.phone-flow .delivery-apps .app-btn[aria-label="Telegram"] img { content: url('../../../img/footer-phone-tg@3x.png'); }
  body.home.phone-flow .delivery-apps .app-btn[aria-label="Позвонить"] img { content: url('../../../img/footer-phone-call@3x.png'); }
  body.home.phone-flow .delivery-apps .app-btn[aria-label="Max"] img { content: url('../../../img/footer-phone-max@3x.png'); }
  body.home.phone-flow .delivery-apps .app-btn {
    width:38px;
    height:38px;
    display:grid;
    place-items:center
  }
  /* Правка [45].2 «иконки соцсетей поднять выше к кнопке» — прижимаем ряд
     app-btn к кнопке «доставка за час в один клик» на -18px. Пиксельная
     тень внутри PNG (transform: translate(2px,2px) в shell.css) остаётся. */
  body.home.phone-flow .delivery-card--door .delivery-apps { margin-top: -18px; }
}
/* Keep the 430px Figma composition continuous on narrower phones. Artwork
 * shares one scale; readable copy and the CTA stay in normal document flow. */
@media(max-width:430px) {
  body.home.phone-flow .certificates {
    --cert-unit: 1px;
  }
  body.home.phone-flow .certificates>.container {
    padding-left:calc(26 * var(--cert-unit));
    padding-right:calc(24 * var(--cert-unit));
  }
  body.home.phone-flow .cert-card--electronic {
    padding:calc(34 * var(--cert-unit)) calc(24 * var(--cert-unit)) 0 0;
    column-gap:calc(26 * var(--cert-unit));
  }
  body.home.phone-flow .cert-card--electronic .cert-card__content {
    margin-top:calc(8 * var(--cert-unit));
  }
  body.home.phone-flow .cert-card--electronic .cert-card__visual {
    width:calc(105 * var(--cert-unit));
    margin-left:calc(35 * var(--cert-unit));
  }
  body.home.phone-flow .cert-card--electronic .cert-card__visual img {
    left:calc(-3 * var(--cert-unit));
    top:calc(-3 * var(--cert-unit));
    width:calc(100% + 14 * var(--cert-unit));
    height:calc(100% + 14 * var(--cert-unit));
    object-fit:contain;
  }
  body.home.phone-flow .cert-card__title {
    font-size:calc(30 * var(--cert-unit));
    line-height:calc(29 * var(--cert-unit));
  }
  body.home.phone-flow .cert-card--physical .cert-card__title {
    font-size:calc(32 * var(--cert-unit));
  }
  body.home.phone-flow .cert-card .cert-card__desc {
    font-size:clamp(13px,calc(14 * var(--cert-unit)),14px);
    margin-top:calc(22 * var(--cert-unit));
  }
  body.home.phone-flow .cert-card__sticker--left {
    left:calc(-25 * var(--cert-unit));
    width:calc(97.334 * var(--cert-unit));
    height:calc(98.333 * var(--cert-unit));
    bottom:calc(29 * var(--cert-unit));
  }
  body.home.phone-flow .cert-card__sticker--dot {
    left:25%;
    top:calc(-7 * var(--cert-unit));
    width:calc(87 * var(--cert-unit));
    height:calc(86 * var(--cert-unit));
  }
  body.home.phone-flow .cert-card--physical {
    padding:calc(42 * var(--cert-unit)) calc(18 * var(--cert-unit)) calc(28 * var(--cert-unit)) 47.368%;
  }
  /* Кнопка «оформить подарок» есть только в электронной карточке
     (index.php:444), поэтому селектор общий, но действует на неё одну. */
  body.home.phone-flow .cert-card__btn {
    width:188px;
    max-width:calc(100% + 24 * var(--cert-unit));
    margin-right:calc(-24 * var(--cert-unit));
    font-size:clamp(11px,calc(12 * var(--cert-unit)),12px);
    text-align:center;
  }
  body.home.phone-flow .cert-card::before {
    inset:calc(-20 * var(--cert-unit)) calc(-25 * var(--cert-unit)) calc(-28 * var(--cert-unit)) calc(-20 * var(--cert-unit));
  }
  body.home.phone-flow .cert-photo--1 {
    top:calc(12.46 * var(--cert-unit));
  }
}
@media(max-width:430px) {
  body.home.phone-flow .cert-card--physical .cert-card__desc .home-support-phone-break {
    display: initial;
  }
  body.home.phone-flow .cert-subtitle-mobile b {
    font-weight: 500;
  }
  body.home.phone-flow .cert-dec-sub {
    font-size: 19px;
  }
  body.home.phone-flow .cert-dec-main {
    /* Правка [49] — прошлое значение (-22px) перекомпенсировало: буква «В»
       в «понравится» влезала посреди слова «точно» верхней строки.
       Возвращаем немного вниз, оставляя строки почти впритык, но без
       наложения выносных элементов. */
    top: 3px;
    margin-top: -14px;
  }
  body.home.phone-flow .delivery > .container > :is(.section-title,.section-subtitle),   body.home.phone-flow .delivery-card__title,   body.home.phone-flow .delivery-card__desc,   body.home.phone-flow .delivery-card__meta,   body.home.phone-flow .delivery-card__content > .btn,   body.home.phone-flow .delivery-card__action-box {
    left: .47px;
  }
  body.home.phone-flow .delivery .section-subtitle strong {
    font-weight: 500;
  }
  body.home.phone-flow .delivery-card--coffee .dc-art--coffee-photos {
    margin-top: 22.725px;
  }
  body.home.phone-flow .delivery-card--coffee .delivery-card__content > .btn {
    margin-top: 24.275px;
  }
  body.home.phone-flow .delivery-card--vending .dc-art--vending-photos {
    margin-top: 29.738px;
  }
  body.home.phone-flow .delivery-card--vending .delivery-card__content > .btn {
    margin-top: 25.262px;
  }
  body.home.phone-flow .delivery-card--door .dc-art--door-photos {
    margin-top: 38.685px;
  }
  body.home.phone-flow .delivery-card--door .delivery-card__action-box {
    margin-top: 19.315px;
  }
  body.home.phone-flow .dc-art--coffee-cocoa {
    margin-bottom: -20px;
  }
  body.home.phone-flow .dc-art--door-sticker {
    margin-right: 35px;
    margin-top: -10px;
  }
  /* Native 3x alpha masks remove the old white edge pixels. The paper texture
     is a passive surface; its height follows the live content.
     Правка [45].2 — маска обрезает исходную впечатанную тень PNG, поэтому
     возвращаем её drop-shadow’ом. Значения выравниваем с тенями листов
     подачи «готовых наборов» ([30]-ой ветки нет; общий язык — 8px размытия). */
  body.home.phone-flow .delivery-card::before {
    mask: url('../../../img/cert/home-phone-delivery-coffee-mask-3x.png') center / 100% 100% no-repeat;
    filter: drop-shadow(0 6px 12px rgba(35, 20, 15, .28));
  }
  body.home.phone-flow .delivery-card--vending::before {
    mask-image: url('../../../img/cert/home-phone-delivery-vending-mask-3x.png');
  }
  body.home.phone-flow .delivery-card--door::before {
    mask-image: url('../../../img/cert/home-phone-delivery-door-mask-3x.png');
  }
  /* The original semantic img owns normal-flow dimensions and alt text.
     Exact photograph exports retain their independent transparent shadows. */
  body.home.phone-flow :is(.dc-art--coffee-photos,.dc-art--door-photos,.dc-art--vending-photos) {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='430' height='184'%3E%3C/svg%3E");
    background-image: url('../../../img/cert/home-phone-coffee-left-3x-lossless.webp'), url('../../../img/cert/home-phone-coffee-right-3x-lossless.webp'), url('../../../img/cert/home-phone-coffee-center-3x-lossless.webp');
    background-size: 36.6797% 95.6681%, 35.2539% 94.5143%, 39.1661% 96.2084%;
    background-position: left bottom, right 88.68%, 50.0326% top;
    background-repeat: no-repeat;
    filter: none;
  }
  body.home.phone-flow .dc-art--vending-photos {
    background-image: url('../../../img/cert/home-phone-vending-left-3x-lossless.webp'), url('../../../img/cert/home-phone-vending-right-3x-lossless.webp'), url('../../../img/cert/home-phone-vending-center-3x-lossless.webp');
  }
  /* У карточки «доставка до дверей» переопределения не было, поэтому она
     наследовала от общего правила выше КОФЕЙНЫЕ фотографии — на телефоне
     показывались снимки первой карточки секции (правка клиента), исправлено.
     Коллаж dl-door-photos-mobile собран из Figma (узел 985:76, три фото
     985:27/30/33 выгружены SVG без фона раздела и склеены по
     absoluteRenderBounds), 1x/2x/3x. Средняя фотография — как в текущем
     макете (рука в фирменной форме). */
  body.home.phone-flow .dc-art--door-photos {
    background-image: image-set(
      url('../../../img/delivery/dl-door-photos-mobile.webp') 1x,
      url('../../../img/delivery/dl-door-photos-mobile@2x.webp') 2x,
      url('../../../img/delivery/dl-door-photos-mobile@3x.webp') 3x
    );
    background-size: contain;
    background-position: center bottom;
  }
}

/* Round 5 / home (DOCX p076): адрес и часы работы физического сертификата по
   Figma 208:936:11462 (430): текст 16px/21px Regular, смещён на 27.83px;
   пин 11.14×13.92 (y 3.08), часы 12×12 (y 25) — центр часов на линии
   «8:30 – 21:00» (раньше иконки были 17×21/16×16 и часы стояли ниже/выше
   строки при любой правке gap). */
@media (max-width: 430px) {
  body.home.phone-flow .cert-card__address > p { margin-bottom: 21px; }
  body.home.phone-flow .cert-card__address-row { gap: 15.83px; align-items: flex-start; }
  body.home.phone-flow .cert-card__address-row p { font-size: 16px; line-height: 21px; font-weight: 400; }
  body.home.phone-flow .cert-card__address-icons { width: 12px; padding-top: 3.08px; gap: 8px; align-items: center; }
  body.home.phone-flow .cert-card__address-icons img:first-child { width: 11.14px; height: 13.92px; }
  body.home.phone-flow .cert-card__address-icons img:last-child { width: 12px; height: 12px; }
}

/* Round 5 / home (DOCX p077): «подарок, который точно / понравится» по Figma
   208:5059 (x159, 19px) и 208:5060 (x252, 52px, отступ от первой строки 3px):
   на сайте заголовок стоял на 8px левее, а скрипт на 4px ниже. */
@media (max-width: 430px) {
  body.home.phone-flow .cert-dec-sub { position: relative; left: 8px; }
  body.home.phone-flow .cert-dec-main { margin-top: -18px; }
}

/* Round 5 / home (DOCX p085): часы работы «Доставка до дверей» по Figma
   (430): иконка 16×16 у первой строки, текст на 3px правее и на 2px выше. */
@media (max-width: 430px) {
  body.home.phone-flow .delivery-card--door .delivery-card__meta-icon--clock { width: 16px; height: 16px; margin-top: 0; }
  body.home.phone-flow .delivery-card--door .delivery-card__meta p { margin-left: -1px; position: relative; top: -2px; }
}

/* Keep certificate artwork clear of copy, then ease back to the 430px Figma layout. */
@media (max-width: 430px) {
  body.home.phone-flow .cert-card--electronic .cert-card__sticker--dot {
    left: calc(25% - clamp(0px, calc(93px - 23vw), 19px));
  }
  body.home.phone-flow .cert-card--electronic .cert-card__visual {
    width: clamp(75px, calc(30vw - 21px), 105px);
    margin-left: min(
      35px,
      max(min(30px, 9.21cqw), calc(16.6667vw - 36.6667px))
    );
  }
  body.home.phone-flow .cert-card--physical {
    --cert-art-inset: clamp(
      0px,
      min(clamp(6px, calc(24px - 5vw), 8px), calc(86px - 20vw)),
      8px
    );
  }
  body.home.phone-flow .cert-photo--1 {
    left: calc(-4.98% - var(--cert-art-inset));
  }
  body.home.phone-flow .cert-photo--2 {
    left: calc(5.895% - var(--cert-art-inset));
  }
  body.home.phone-flow .cert-card__sticker--photo {
    left: calc(11.316% - var(--cert-art-inset));
  }
}
