/* Webshop V994: Visual parity for owned reward coupons. Presentation-only. */
/* V994 — Rewards > My Rewards cards match My Coupon > Coupon Reward visual design. */
body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;width:100%!important;min-width:0!important;padding:0!important}
body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408>.empty{grid-column:1/-1!important;min-height:96px!important;display:grid!important;place-items:center!important;padding:18px!important;border:1px dashed #cad9ea!important;border-radius:15px!important;background:#f8fbff!important;color:#74839a!important}
body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .reward-owned-card-v460,
body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .reward-link-direct-card-v465{display:grid!important;grid-template-columns:112px minmax(0,1fr)!important;align-items:stretch!important;width:100%!important;min-width:0!important;min-height:142px!important;height:auto!important;max-height:none!important;overflow:hidden!important;border:1px solid #dfe9f4!important;border-radius:16px!important;background:#fff!important;box-shadow:0 8px 22px rgba(28,72,124,.065)!important}
body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .coupon-clean-cover{position:relative!important;grid-column:1!important;width:112px!important;min-width:112px!important;max-width:112px!important;height:auto!important;min-height:142px!important;max-height:none!important;overflow:hidden!important;border:0!important;border-right:1px solid #e6edf6!important;background:linear-gradient(145deg,#f2f7fd,#fff)!important;padding:0!important}
body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .coupon-clean-cover img{width:100%!important;height:100%!important;min-height:0!important;padding:7px!important;object-fit:contain!important;background:#fff!important}
body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .reward-type-badge-v460{position:absolute!important;left:7px!important;right:7px!important;bottom:7px!important;display:block!important;width:auto!important;max-width:calc(100% - 14px)!important;padding:5px 7px!important;overflow:hidden!important;border:1px solid rgba(255,255,255,.75)!important;border-radius:8px!important;background:rgba(23,93,190,.90)!important;color:#fff!important;font-size:8px!important;font-weight:1000!important;line-height:1!important;text-align:center!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .coupon-clean-body{grid-column:2!important;display:flex!important;flex-direction:column!important;gap:6px!important;width:auto!important;min-width:0!important;min-height:142px!important;height:auto!important;max-height:none!important;padding:11px!important;overflow:hidden!important;background:#fff!important}
body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .coupon-clean-title{display:-webkit-box!important;min-height:34px!important;max-height:36px!important;margin:0!important;overflow:hidden!important;color:#12233d!important;font-size:12px!important;font-weight:1000!important;line-height:1.45!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important}
body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .coupon-clean-expiry{width:100%!important;margin:0!important;padding:6px 7px!important;overflow:hidden!important;border:1px solid #f2ddc7!important;border-radius:8px!important;background:#fffaf3!important;color:#a4611e!important;font-size:8px!important;font-weight:850!important;line-height:1.35!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .reward-request-status-v460{width:100%!important;margin:0!important;padding:6px 7px!important;overflow:hidden!important;border:1px solid #dce8f6!important;border-radius:8px!important;background:#f4f8fd!important;color:#4d6685!important;font-size:8px!important;line-height:1.35!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .coupon-clean-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important;width:100%!important;min-width:0!important;min-height:36px!important;height:auto!important;max-height:none!important;margin-top:auto!important;padding:0!important}
body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .coupon-clean-actions>.btn,
body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .coupon-clean-actions>button{width:100%!important;min-width:0!important;min-height:36px!important;height:36px!important;max-height:36px!important;margin:0!important;padding:0 9px!important;overflow:hidden!important;border:1px solid #2a77e6!important;border-radius:10px!important;background:linear-gradient(135deg,#2166ce,#3588f7)!important;color:#fff!important;font-size:9px!important;font-weight:1000!important;text-overflow:ellipsis!important;white-space:nowrap!important;box-shadow:0 6px 14px rgba(37,107,207,.15)!important}
body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .reward-link-primary-button-v464{display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important}
body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .reward-link-button-arrow-v464{margin-left:auto!important}
body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .reward-link-timer-v464{display:flex!important;align-items:center!important;gap:7px!important;flex:0 0 auto!important;min-height:40px!important;padding:6px 7px!important;border:1px solid #dbe8f6!important;border-radius:9px!important;background:#f6faff!important;color:#31567f!important}
body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .reward-link-timer-copy-v464{min-width:0!important;display:flex!important;flex-direction:column!important;gap:1px!important}
body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .reward-link-timer-copy-v464 small{font-size:7px!important;color:#7186a1!important}
body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .reward-link-timer-copy-v464 strong{font-size:9px!important;color:#1d63c9!important}
body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .reward-link-helper-v464{flex:0 0 auto!important;min-height:0!important;max-height:30px!important;margin:0!important;padding:4px 6px!important;overflow:hidden!important;border-radius:7px!important;background:#f8fafc!important;color:#718096!important;font-size:7.5px!important;line-height:1.35!important}

@media(max-width:700px){
  body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408{grid-template-columns:minmax(0,1fr)!important;gap:7px!important}
  body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .reward-owned-card-v460,
  body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .reward-link-direct-card-v465{grid-template-columns:88px minmax(0,1fr)!important;min-height:122px!important;border-radius:13px!important}
  body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .coupon-clean-cover{width:88px!important;min-width:88px!important;max-width:88px!important;min-height:122px!important}
  body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .coupon-clean-body{min-height:122px!important;padding:8px!important;gap:4px!important}
  body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .coupon-clean-title{min-height:29px!important;max-height:30px!important;font-size:10px!important;line-height:1.45!important}
  body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .coupon-clean-expiry,
  body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .reward-request-status-v460{padding:4px 5px!important;border-radius:6px!important;font-size:7px!important}
  body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .coupon-clean-actions{min-height:32px!important}
  body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .coupon-clean-actions>.btn,
  body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .coupon-clean-actions>button{min-height:32px!important;height:32px!important;max-height:32px!important;border-radius:8px!important;font-size:8px!important}
  body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .reward-link-timer-v464{min-height:36px!important;padding:5px!important}
}


/* V994 — Only show the secondary link button once the original logic starts the link. */
body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .coupon-clean-actions.reward-link-actions-copy-v920{grid-template-columns:minmax(0,1fr) auto!important;gap:6px!important}
body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .coupon-clean-actions.reward-link-actions-copy-v920 .reward-link-copy-button-v920{width:auto!important;min-width:88px!important;padding:0 10px!important;border-color:#cbd8e8!important;background:#fff!important;color:#2466c4!important;box-shadow:none!important}
body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .coupon-clean-actions.reward-link-actions-copy-v920 .reward-link-primary-button-v464{min-width:0!important}
@media(max-width:700px){
  body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .coupon-clean-actions.reward-link-actions-copy-v920{grid-template-columns:minmax(0,1fr) 92px!important;gap:5px!important}
  body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .coupon-clean-actions.reward-link-actions-copy-v920 .reward-link-copy-button-v920{min-width:0!important;width:92px!important;padding:0 5px!important;font-size:7.5px!important}
}


/* Ensure the identical two-button arrangement is used without changing the original onclick actions. */
body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .coupon-clean-actions.reward-link-actions-copy-v920{
  display:grid!important;grid-template-columns:minmax(0,1fr) 92px!important;gap:5px!important;align-items:stretch!important;
}
body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .coupon-clean-actions.reward-link-actions-copy-v920 .reward-link-copy-button-v920{
  width:92px!important;min-width:0!important;max-width:92px!important;display:block!important;grid-column:2!important;
  border:1px solid #cbd8e8!important;background:#fff!important;color:#2466c4!important;box-shadow:none!important;
}
body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .coupon-clean-actions.reward-link-actions-copy-v920 .reward-link-primary-button-v464{
  grid-column:1!important;min-width:0!important;max-width:none!important;
}
/* Keep the timer legible, but allow long titles and multi-line explanatory copy without overlap. */
body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .reward-link-helper-v464{
  white-space:normal!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;max-height:30px!important;
}
@media(max-width:700px){
  body.webshop-v568 #member #memberCouponListV74.member-reward-coupon-list-v408 .coupon-clean-actions.reward-link-actions-copy-v920{
    grid-template-columns:minmax(0,1fr) 92px!important;gap:5px!important;
  }
}
