/* A consistent compact mobile card, using the approved GAP proportions. */
@media (max-width: 619px) {
  #w2r-concept .w-shop-story-card { height: 352px; }
  #w2r-concept .w-shop-story-card .w-shop-image {
    height: 176px;
    flex-basis: 176px;
  }
  #w2r-concept .w-shop-story-card .w-shop-front-body {
    justify-content: flex-start;
    padding: 20px 20px 8px;
  }
  #w2r-concept .w-shop-story-card .w-shop-back {
    padding: 16px 17px;
  }
  #w2r-concept .w-shop-story-card .w-shop-back-meta { margin: 12px 0 8px; }
  #w2r-concept .w-shop-story-card .w-shop-back p {
    margin: auto 0;
    font-size: 12px;
    line-height: 1.35;
  }
  #w2r-concept .w-shop-story-card .w-shop-back-actions { gap: 6px; }
  #w2r-concept .w-shop-story-card .w-shop-visit { min-height: 44px; }
  #w2r-concept .w-shop-story-card .w-shop-official { min-height: 36px; }
}
@media (max-width: 1050px) {
  #w2r-concept .w-shop-story-card .w-shop-back { display: flex; visibility: hidden; }
  #w2r-concept .w-shop-story-card.is-flipped .w-shop-back,
  #w2r-concept .w-shop-story-card.is-turning .w-shop-back { visibility: visible; }
}
@media (max-width: 359px) {
  #w2r-concept .w-shop-story-card { height: 360px; }
  #w2r-concept .w-shop-story-card .w-shop-image {
    height: 184px;
    flex-basis: 184px;
  }
  #w2r-concept .w-shop-story-card .w-shop-front-body { padding: 20px 17px 8px; }
  #w2r-concept .w-shop-story-card:is(.brand-uniqlo,.brand-massimo-dutti,.brand-farfetch,.brand-mytheresa,.brand-the-outnet,.brand-reversible,.brand-jeffree-star-cosmetics,.brand-bombshell-sportswear) :is(.w-shop-short-description,.w-shop-selected-count,.w-shop-hint) {
    margin-top: 7px;
  }
}
/* Keep the Safari-friendly single face by default.  Only the card currently
   turning gets a temporary 3D pair for the established 0.55-second motion. */
@media (max-width: 1050px) and (prefers-reduced-motion: no-preference) {
  #w2r-concept .w-shop-story-card.is-turning { perspective: 1100px; }
  #w2r-concept .w-shop-story-card.is-turning .w-shop-flip-inner,
  #w2r-concept .w-shop-story-card.is-turning.is-flipped .w-shop-flip-inner {
    transform-style: preserve-3d;
    transition: transform .52s ease-in-out;
  }
  #w2r-concept .w-shop-story-card.is-turning.is-preparing-turn .w-shop-flip-inner { transition: none; }
  #w2r-concept .w-shop-story-card.is-turning .w-shop-flip-inner { transform: rotateY(0deg); }
  #w2r-concept .w-shop-story-card.is-turning.is-flipped .w-shop-flip-inner { transform: rotateY(180deg); }
  #w2r-concept .w-shop-story-card.is-turning .w-shop-face {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
  #w2r-concept .w-shop-story-card.is-turning .w-shop-back {
    display: flex;
    transform: rotateY(180deg);
  }
  #w2r-concept .w-shop-story-card.is-turning.is-flipped .w-shop-front { display: block; }
}
