/* REFTHE Attrezzature — ergonomia mobile e accessibilita del percorso negozio. */

body.tools-page.tools-store :is(.store-jobs,.store-categories,.shop-entry,.tools-workflow,.tools-catalog){
  scroll-margin-top:24px;
}

body.tools-page.tools-store :is(a,button,input,select,summary):focus-visible{
  outline:3px solid #f07a39!important;
  outline-offset:4px!important;
}

.shop-promotions-disclosure{
  margin:24px 0 30px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:16px;
  background:rgba(255,255,255,.07);
}

.shop-promotions-disclosure>summary{
  box-sizing:border-box;
  display:flex;
  min-height:52px;
  align-items:center;
  justify-content:space-between;
  padding:14px 18px;
  color:#fff;
  cursor:pointer;
  font-size:15px;
  font-weight:780;
  list-style:none;
}

.shop-promotions-disclosure>summary::-webkit-details-marker{display:none}
.shop-promotions-disclosure>summary::after{content:"+";font-size:24px;font-weight:500}
.shop-promotions-disclosure[open]>summary::after{content:"−"}
.shop-promotions-disclosure__body{padding:0 14px 16px}

body.tools-page.tools-store .shop-promotions-disclosure{
  border-color:#c8d8d4;
  background:#fff;
  box-shadow:0 12px 28px rgba(21,63,66,.08);
}
body.tools-page.tools-store .shop-promotions-disclosure>summary{color:#123f42}

.shop-results[role="list"]>.shop-product[role="listitem"]{min-width:0}
.shop-entry :is(.shop-product,.shop-partner,.shop-campaign,.shop-giraffe-card){overflow-wrap:anywhere}
.shop-status[role="status"]{min-height:24px}

@media(max-width:650px){
  .shop-entry{padding:44px 0 52px}
  .shop-entry__head{margin-bottom:22px}
  .shop-entry h2{font-size:clamp(32px,10vw,42px);line-height:1.02}
  .shop-entry__head>p{font-size:15px;line-height:1.55}
  .shop-partners{gap:10px}
  .shop-partner{min-height:76px}
  .shop-results{gap:14px}
  .shop-product__visual{height:196px}
  .shop-product__body{min-height:0;padding:18px}
  .shop-product__offer{align-items:stretch;flex-direction:column}
  .shop-product__offer>a{justify-content:center;min-height:48px}
  .shop-product__actions{grid-template-columns:1fr}
  .shop-product__actions a{justify-content:center;min-height:48px}
  .shop-promotions-disclosure{margin:18px 0 24px}
  .shop-promotions-disclosure__body{padding:0 10px 12px}
  .shop-entry__foot{gap:12px;margin-top:20px}
  .shop-entry__all{min-height:48px}
  .shop-entry__disclosure{font-size:13px;line-height:1.6}
  .shop-entry__disclosure a{display:inline-flex;min-height:44px;align-items:center}
}

@media(max-width:390px){
  .shop-entry__inner{padding-inline:14px}
  .shop-partner,.shop-partner--doctor,.shop-partner--amazon{grid-template-columns:92px minmax(0,1fr) 30px}
  .shop-partner__logo{min-width:0}
  .shop-product__meta{align-items:flex-start;flex-direction:column;gap:5px}
  .shop-product__meta small{max-width:100%;white-space:normal}
}

@media(prefers-reduced-motion:reduce){
  body.tools-page.tools-store{scroll-behavior:auto!important}
  .shop-entry *{scroll-behavior:auto!important;transition:none!important}
}

@media(forced-colors:active){
  .shop-promotions-disclosure,
  .shop-product,
  .shop-partner{border:1px solid CanvasText}
  body.tools-page.tools-store :is(a,button,input,select,summary):focus-visible{outline:3px solid Highlight!important}
}
