/* PLAY STORE V22.2 — Cards da vitrine em mobile.
   Somente apresentação. Nenhum handler, checkout, estoque ou API alterados. */
@media (max-width: 640px) {
  html body #storeView #catalog.grid {
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    align-items:stretch !important;
    gap:12px !important;
    margin-top:10px !important;
    width:100% !important;
    min-width:0 !important;
  }
  html body #storeView #catalog.grid > .product {
    display:flex !important;
    flex-direction:column !important;
    height:100% !important;
    min-width:0 !important;
    margin:0 !important;
    border:1px solid #e0e7f0 !important;
    border-radius:15px !important;
    background:#fff !important;
    box-shadow:0 3px 13px rgba(12,32,59,.045) !important;
    overflow:hidden !important;
    transform:none !important;
    isolation:isolate !important;
  }
  html body #storeView #catalog.grid > .product[hidden] { display:none!important; }
  /* Enquadramento preserva embalagem, foto e sobreposições úteis. */
  html body #storeView #catalog.grid > .product .photo {
    position:relative !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    box-sizing:border-box !important;
    width:100% !important;
    min-width:0 !important;
    height:168px !important;
    min-height:168px !important;
    max-height:168px !important;
    flex:0 0 168px !important;
    padding:10px !important;
    margin:0 !important;
    background:linear-gradient(180deg,#fff 0%,#f7f9fc 100%) !important;
    border-bottom:1px solid #eef1f6 !important;
    overflow:hidden !important;
  }
  html body #storeView #catalog.grid > .product .photo img,
  html body #storeView #catalog.grid > .product img.product-photo {
    position:static !important;
    display:block !important;
    box-sizing:border-box !important;
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    max-height:100% !important;
    min-width:0 !important;
    min-height:0 !important;
    margin:0 auto !important;
    padding:3px !important;
    object-fit:contain !important;
    object-position:center !important;
    float:none !important;
    transform:none !important;
    background:transparent !important;
    filter:none !important;
  }
  html body #storeView #catalog.grid > .product .photo .ps-discount,
  html body #storeView #catalog.grid > .product .photo .ps11-photo-tag {
    position:absolute!important;
    top:9px!important;
    z-index:5!important;
    pointer-events:none!important;
    font-size:9px!important;
    border-radius:7px!important;
    line-height:1.3!important;
  }
  html body #storeView #catalog.grid > .product .photo .ps-discount {left:8px!important;right:auto!important;}
  html body #storeView #catalog.grid > .product .photo .ps11-photo-tag {right:8px!important;left:auto!important;}
  html body #storeView #catalog.grid > .product .pbody {
    display:flex!important;
    flex-direction:column!important;
    flex:1 1 auto!important;
    gap:7px!important;
    padding:12px 11px 12px!important;
    min-width:0!important;
    min-height:0!important;
    background:#fff!important;
    position:relative!important;
    z-index:1!important;
  }
  html body #storeView #catalog.grid > .product .ps-category {
    display:block!important;
    margin:0!important;
    padding:0!important;
    color:#6b7d93!important;
    text-transform:uppercase!important;
    letter-spacing:.06em!important;
    line-height:1.3!important;
    font-size:9.5px!important;
    font-weight:800!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  html body #storeView #catalog.grid > .product .pbody h3 {
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    line-clamp:2;
    font-size:13px!important;
    line-height:1.37!important;
    letter-spacing:-.12px!important;
    font-weight:760!important;
    color:#1b2d43!important;
    min-height:2.74em!important;
    max-height:2.74em!important;
    overflow:hidden!important;
    overflow-wrap:anywhere!important;
    margin:0!important;
  }
  html body #storeView #catalog.grid > .product .pbody .desc {
    font-size:10px!important;
    line-height:1.35!important;
    color:#718197!important;
    min-height:0!important;
    max-height:2.7em!important;
    overflow:hidden!important;
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    line-clamp:2;
    margin:0!important;
  }
  html body #storeView #catalog.grid > .product .model-label,
  html body #storeView #catalog.grid > .product .ps-color-title {
    font-size:10px!important;
    line-height:1.4!important;
    color:#586e87!important;
    overflow-wrap:anywhere!important;
  }
  html body #storeView #catalog.grid > .product .color-row {min-height:24px!important;gap:6px!important;flex-wrap:wrap!important;}
  html body #storeView #catalog.grid > .product .color-dot {width:21px!important;height:21px!important;min-width:21px!important;min-height:21px!important;}
  html body #storeView #catalog.grid > .product .ps-price-meta {
    margin-top:auto!important;
    line-height:1.2!important;
    font-size:10px!important;
    min-height:12px!important;
    color:#8995a6!important;
  }
  html body #storeView #catalog.grid > .product .price {
    margin:0!important;
    padding:0!important;
    color:#132944!important;
    font-size:clamp(18px,5vw,22px)!important;
    font-weight:880!important;
    letter-spacing:-.65px!important;
    line-height:1.17!important;
    font-variant-numeric:tabular-nums!important;
    overflow-wrap:anywhere!important;
  }
  html body #storeView #catalog.grid > .product .old-price {font-size:10px!important;font-weight:550!important;color:#8a98ab!important;}
  html body #storeView #catalog.grid > .product .stock {
    min-height:17px!important;
    margin:1px 0 2px!important;
    font-size:10px!important;
    line-height:1.4!important;
    color:#16724c!important;
    font-weight:740!important;
    overflow-wrap:anywhere!important;
  }
  html body #storeView #catalog.grid > .product .stock.ps-out {color:#ae3540!important;}
  html body #storeView #catalog.grid > .product .stock svg {height:12px!important;width:12px!important;vertical-align:middle!important;}
  html body #storeView #catalog.grid > .product .ps-v7-details,
  html body #storeView #catalog.grid > .product .pbody .btn-yellow {
    width:100%!important;
    box-sizing:border-box!important;
    min-height:43px!important;
    height:auto!important;
    padding:10px 8px!important;
    margin:2px 0 0!important;
    border-radius:10px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    font-size:11px!important;
    font-weight:800!important;
    line-height:1.26!important;
    text-align:center!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    box-shadow:none!important;
    transform:none!important;
  }
  html body #storeView #catalog.grid > .product .ps-v7-details {
    background:#fff!important;
    color:#25415d!important;
    border:1px solid #d4e0ed!important;
    order:95!important;
    margin-top:5px!important;
  }
  html body #storeView #catalog.grid > .product .pbody .btn-yellow {
    background:#ffc840!important;
    border:1px solid #ffc840!important;
    color:#152b44!important;
    order:96!important;
  }
  html body #storeView #catalog.grid > .product .pbody .btn-yellow:disabled {
    background:#edf0f4!important;
    color:#738196!important;
    border-color:#edf0f4!important;
    cursor:not-allowed!important;
  }
  html body #storeView #catalog.grid > .product .pbody button svg {width:15px!important;height:15px!important;flex:0 0 15px!important;}
  html body #storeView #catalog.grid > .product .pbody .ps12-share {
    display:flex!important;align-items:center!important;justify-content:center!important;
    min-height:32px!important;order:97!important;width:100%!important;
    border:0!important;background:none!important;
    color:#60738b!important;font-size:10px!important;
    font-weight:650!important;
  }
  html body #storeView #catalog.grid > .product button:focus-visible,
  html body #storeView #catalog.grid > .product [role="button"]:focus-visible {
    outline:3px solid #d1a329!important;
    outline-offset:2px!important;
  }
}
@media (max-width: 360px) {
  html body #storeView #catalog.grid {gap:8px!important;}
  html body #storeView #catalog.grid > .product .photo {height:137px!important;min-height:137px!important;max-height:137px!important;flex-basis:137px!important;padding:7px!important;}
  html body #storeView #catalog.grid > .product .pbody {padding:10px 9px!important;gap:6px!important;}
  html body #storeView #catalog.grid > .product .pbody h3 {font-size:11.5px!important;}
  html body #storeView #catalog.grid > .product .pbody .btn-yellow,
  html body #storeView #catalog.grid > .product .ps-v7-details {font-size:10px!important;padding:9px 5px!important;}
}
@media (prefers-reduced-motion: reduce) {
  html body #storeView #catalog.grid > .product {transition:none!important;}
}
