/* V1.5.6 — only the single-product "經常一起搭配" rail.
   Two complete vertical cards, one-card-per-swipe with 50% threshold handled in JS.
   No changes to native WooCommerce cart, variations, prices or other recommendations. */
body.single-product .mgv93-product .summary .mgv156-pair{
  box-sizing:border-box!important;width:100%!important;min-width:0!important;
  max-width:100%!important;overflow:hidden!important;margin:16px 0 2px!important;
  padding:14px 0 0!important;border-top:1px solid #ebe5dc!important;
  background:transparent!important;box-shadow:none!important;
}
body.single-product .mgv93-product .summary .mgv156-pair .mgv156-pair-heading{
  display:flex!important;justify-content:space-between!important;align-items:center!important;
  flex-wrap:nowrap!important;gap:10px!important;margin:0 0 12px!important;
  width:100%!important;min-width:0!important;padding:0!important;
}
body.single-product .mgv93-product .summary .mgv156-pair .mgv156-pair-heading h2{
  margin:0!important;padding:0!important;color:#302e2a!important;font-size:clamp(16px,1.4vw,18px)!important;
  line-height:1.35!important;font-weight:760!important;letter-spacing:.01em!important;
}
body.single-product .mgv93-product .summary .mgv156-pair .mgv156-pair-controls{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;
  flex-shrink:0!important;margin:0!important;
}
body.single-product .mgv93-product .summary .mgv156-pair .mgv156-pair-count{
  color:#868177!important;font-size:11px!important;letter-spacing:.05em!important;
  white-space:nowrap!important;margin-right:3px!important;font-variant-numeric:tabular-nums!important;
}
body.single-product .mgv93-product .summary .mgv156-pair button.mgv156-pair-nav{
  cursor:pointer!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 30px!important;width:30px!important;height:30px!important;min-height:30px!important;
  padding:0 0 3px!important;margin:0!important;border-radius:50%!important;
  background:#fff!important;color:#304b40!important;border:1px solid #d9e2db!important;
  font-size:23px!important;font-weight:400!important;line-height:1!important;
  box-shadow:none!important;transition:background .16s,border-color .16s!important;
}
body.single-product .mgv93-product .summary .mgv156-pair button.mgv156-pair-nav:not(:disabled):hover{background:#eff4ef!important;border-color:#b8cbc0!important;}
body.single-product .mgv93-product .summary .mgv156-pair button.mgv156-pair-nav:disabled{opacity:.35!important;cursor:default!important;}
body.single-product .mgv93-product .summary .mgv156-pair button.mgv156-pair-nav:focus-visible,
body.single-product .mgv93-product .summary .mgv156-pair .mgv124-reco-link:focus-visible{
  outline:2px solid #257756!important;outline-offset:2px!important;
}
body.single-product .mgv93-product .summary .mgv156-pair .mgv156-pair-viewport{
  width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important;
}
body.single-product .mgv93-product .summary .mgv156-pair .mgv124-pair-grid.mgv156-pair-track{
  display:flex!important;flex-wrap:nowrap!important;align-items:stretch!important;
  grid-template-columns:none!important;grid-auto-rows:auto!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  overflow-x:auto!important;overflow-y:hidden!important;
  gap:10px!important;margin:0!important;padding:0 0 6px!important;
  overscroll-behavior-x:contain!important;
  scroll-snap-type:x mandatory!important;scroll-padding-inline:0!important;
  scrollbar-width:none!important;-webkit-overflow-scrolling:auto!important;
  touch-action:auto!important;cursor:grab!important;
}
body.single-product .mgv93-product .summary .mgv156-pair .mgv156-pair-track.is-ready{touch-action:pan-y!important}
body.single-product .mgv93-product .summary .mgv156-pair .mgv156-pair-track::-webkit-scrollbar{display:none!important}
body.single-product .mgv93-product .summary .mgv156-pair .mgv156-pair-track.is-dragging{
  scroll-snap-type:none!important;scroll-behavior:auto!important;cursor:grabbing!important;user-select:none!important;
}
body.single-product .mgv93-product .summary .mgv156-pair .mgv124-pair-grid.mgv156-pair-track > .mgv124-reco-card{
  display:flex!important;flex:0 0 calc((100% - 10px)/2)!important;
  width:calc((100% - 10px)/2)!important;max-width:calc((100% - 10px)/2)!important;
  min-width:0!important;margin:0!important;padding:0!important;
  border:1px solid #e8e4dc!important;border-radius:12px!important;
  background:#fff!important;overflow:hidden!important;box-shadow:none!important;
  scroll-snap-align:start!important;scroll-snap-stop:always!important;
}
body.single-product .mgv93-product .summary .mgv156-pair .mgv124-pair-grid.mgv156-pair-track > .mgv124-reco-card:only-child{
  flex-basis:100%!important;width:100%!important;max-width:100%!important;
}
body.single-product .mgv93-product .summary .mgv156-pair .mgv156-pair-track .mgv124-reco-link{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;
  gap:0!important;width:100%!important;height:100%!important;min-height:0!important;
  padding:0!important;margin:0!important;box-sizing:border-box!important;
  text-decoration:none!important;color:#292e2a!important;background:#fff!important;
}
body.single-product .mgv93-product .summary .mgv156-pair .mgv156-pair-track .mgv124-reco-photo{
  display:block!important;position:relative!important;grid-column:auto!important;grid-row:auto!important;
  flex:0 0 auto!important;width:100%!important;max-width:100%!important;
  height:auto!important;aspect-ratio:4/5!important;border-radius:0!important;
  margin:0!important;padding:0!important;overflow:hidden!important;
  background:#f4f1eb!important;
}
body.single-product .mgv93-product .summary .mgv156-pair .mgv156-pair-track .mgv124-reco-photo img{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  min-width:0!important;max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;object-position:center!important;display:block!important;
  margin:0!important;padding:0!important;transform:none!important;
}
body.single-product .mgv93-product .summary .mgv156-pair .mgv156-pair-track .mgv124-reco-copy{
  display:flex!important;flex:1 1 auto!important;flex-direction:column!important;
  justify-content:space-between!important;align-items:flex-start!important;
  grid-column:auto!important;grid-row:auto!important;gap:7px!important;
  padding:11px 11px 12px!important;margin:0!important;min-width:0!important;
  background:#fff!important;
}
body.single-product .mgv93-product .summary .mgv156-pair .mgv156-pair-track .mgv124-reco-copy h3{
  display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;
  overflow:hidden!important;max-height:2.9em!important;min-height:2.9em!important;
  margin:0!important;padding:0!important;font-size:13px!important;line-height:1.45!important;
  font-weight:680!important;color:#393632!important;overflow-wrap:anywhere!important;
}
body.single-product .mgv93-product .summary .mgv156-pair .mgv156-pair-track .mgv124-reco-price,
body.single-product .mgv93-product .summary .mgv156-pair .mgv156-pair-track .mgv124-reco-price .amount{
  font-size:15px!important;font-weight:760!important;line-height:1.3!important;
  color:#813e49!important;margin:0!important;padding:0!important;
}
body.single-product .mgv93-product .summary .mgv156-pair .mgv156-pair-hint{
  font-size:11px!important;font-weight:400!important;text-align:center!important;
  color:#9b948a!important;letter-spacing:.03em!important;margin:3px 0 0!important;padding:0!important;
}
@media(max-width:767px){
  body.single-product .mgv93-product .summary .mgv156-pair{margin-top:13px!important;padding-top:12px!important;}
  body.single-product .mgv93-product .summary .mgv156-pair .mgv156-pair-heading{margin-bottom:10px!important;}
  body.single-product .mgv93-product .summary .mgv156-pair .mgv156-pair-heading h2{font-size:16px!important;}
  body.single-product .mgv93-product .summary .mgv156-pair .mgv156-pair-track .mgv124-reco-copy{padding:9px 9px 11px!important;}
  body.single-product .mgv93-product .summary .mgv156-pair .mgv156-pair-track .mgv124-reco-copy h3{font-size:13px!important;}
  body.single-product .mgv93-product .summary .mgv156-pair .mgv156-pair-track .mgv124-reco-price{font-size:14px!important;}
}
@media(prefers-reduced-motion:reduce){
  body.single-product .mgv93-product .summary .mgv156-pair *{transition:none!important;scroll-behavior:auto!important;}
}
