/* Desktop Figma 188:1411 / 188:1443: transparent paper and original shadows.
   Text, stickers and links remain independent live elements. */
@media (min-width: 861px) ,  (width > 860px) {
  body.home .cert-card--physical {
    background: none;
    box-shadow: none;
  }
  body.home .cert-card--electronic::before,
  body.home .cert-card--physical::before {
    content: "";
    position: absolute;
    inset: -20px -28px -28px -20px;
    z-index: 0;
    clip-path: none;
    border-radius: 0;
    box-shadow: none;
    background: url("../../img/cert/desktop-electronic-paper.svg") center / 100% 100% no-repeat;
    pointer-events: none;
  }
  body.home .cert-card--physical::before {
    background-image: url("../../img/cert/desktop-physical-paper.svg");
  }
}

@media (max-width: 430px) {
  body.home .cert-card {
    background: none;
    box-shadow: none;
  }

  body.home .cert-card--electronic::before,
  body.home .cert-card--physical::before {
    content: "";
    display: block;
    position: absolute;
    inset: -20px -25px -28px -20px;
    z-index: 0;
    border-radius: 0;
    clip-path: none;
    box-shadow: none;
    background: url("../../img/cert/mobile-electronic-paper@3x.png") center / 100% 100% no-repeat;
    pointer-events: none;
  }

  body.home .cert-card--physical::before {
    background-image: url("../../img/cert/mobile-physical-paper@3x.png");
  }

  /* Exact mobile line breaks from 208:5063. */
  body.home .cert-card--electronic .cert-card__desc { width: 182px; }
  body.home .cert-card__sticker--dot {
    content: url("../../img/cert/mobile-hat@3x.png");
  }
  body.home .cert-card__sticker--left {
    background: url("../../img/cert/mobile-fast@3x.png") center / contain no-repeat;
  }
  body.home .cert-card__sticker--left > * { opacity: 0; }

  /* User-requested 3x composites for the four passive Figma cards.
     Keep their semantic copy in the document; no interactive controls are
     part of these exports. Shadow bounds are 4px above/left, 12px below/right. */
  .about-page .ab-feature::before {
    left: -4px;
    top: -4px;
    width: calc(100% + 16px);
    height: calc(100% + 16px);
    background: var(--about-polish-image) center / 100% 100% no-repeat;
    filter: none;
    pointer-events: none;
  }
  .about-page .ab-feature--tall { --about-polish-image: url("../../img/about/ingredients-mobile@3x.png"); }
  .about-page .ab-feature--flip:not(.ab-feature--love) { --about-polish-image: url("../../img/about/packaging-mobile@3x.png"); }
  .about-page .ab-feature:not(.ab-feature--tall):not(.ab-feature--flip) { --about-polish-image: url("../../img/about/flavours-mobile@3x.png"); }
  .about-page .ab-feature--love { --about-polish-image: url("../../img/about/love-mobile@3x.png"); }
  .about-page .ab-feature__text { opacity: 0; }
  .about-page .ab-feature__mobile-img,
  .about-page .ab-feature__texture { display: none; }
}
