.member-coupons {border-top:1px solid #d6dfdc;padding:20px 0;margin-top:20px;font-size:14px;color:#24362c;letter-spacing:0;}
.member-coupons h2 {display:flex;align-items:center;gap:8px;font-size:17px;line-height:1.4;margin:0 0 12px;}
.member-coupons p {line-height:1.6;margin:10px 0;overflow-wrap:anywhere;}
.coupon-account-links {display:flex;flex-wrap:wrap;gap:12px;text-decoration:underline;}
.coupon-pending {color:#24684e;}
.coupon-action {display:inline-flex;justify-content:center;align-items:center;gap:6px;min-height:40px;padding:8px 12px;border:1px solid #9eaca5;border-radius:4px;background:#fff;color:#24362c;font-size:14px;line-height:1.5;max-width:100%;white-space:normal;}
.coupon-action:disabled {color:#69716d;background:#f0f2f1;cursor:not-allowed;}
.coupon-icon {width:36px;height:36px;flex:0 0 36px;display:inline-grid;place-items:center;border:1px solid #cbd4ce;border-radius:4px;background:transparent;color:inherit;}
.member-coupon-row {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid #dde2df;}
.member-coupon-row>div {min-width:0;}
.member-coupon-row strong {font-family:ui-monospace,monospace;font-size:18px;}
.member-coupon-row span {margin-left:10px;color:#24684e;}
.member-coupon-row small {display:block;margin-top:6px;line-height:1.5;color:#626e68;}
.coupon-estimate {margin-top:14px;}
.coupon-estimate dl div {display:flex;justify-content:space-between;gap:12px;margin:8px 0;}
.coupon-estimate dd {margin:0;white-space:nowrap;}
.member-coupon-dialog {width:1040px;max-width:calc(100vw - 40px);max-height:calc(100dvh - 32px);border:0;border-radius:0;padding:0;color:#29332f;background:transparent;overflow:auto;letter-spacing:0;}
.member-coupon-dialog::backdrop {background:rgba(19,30,41,.62);}
.coupon-welcome-sheet {position:relative;isolation:isolate;min-height:540px;background:#fff;overflow:hidden;
  --coupon-edge:radial-gradient(circle at 8px 0,transparent 4px,#000 4.5px) 0 0 / 16px 100% repeat-x,radial-gradient(circle at 8px 100%,transparent 4px,#000 4.5px) 0 0 / 16px 100% repeat-x,radial-gradient(circle at 0 8px,transparent 4px,#000 4.5px) 0 0 / 100% 16px repeat-y,radial-gradient(circle at 100% 8px,transparent 4px,#000 4.5px) 0 0 / 100% 16px repeat-y;
  -webkit-mask:var(--coupon-edge);mask:var(--coupon-edge);-webkit-mask-composite:source-in;mask-composite:intersect;
}
.coupon-welcome-illustration {position:absolute;top:18px;right:18px;bottom:18px;width:51%;overflow:hidden;pointer-events:none;user-select:none;z-index:-1;}
/* The artwork's left half is blank; its complete illustrated half stays in this column. */
.coupon-welcome-art {position:absolute;right:0;top:0;width:196%;max-width:none;height:100%;object-fit:contain;object-position:right center;}
.coupon-welcome-brand {position:absolute;z-index:1;top:28px;left:44px;width:calc(47% - 66px);height:268px;display:grid;grid-template-rows:134fr 126fr;gap:8px;color:#151515;user-select:none;}
.coupon-welcome-brand svg {display:block;width:100%;height:100%;min-height:0;overflow:visible;font-family:"Montserrat Variable",Montserrat,Arial,sans-serif;font-weight:800;letter-spacing:0;fill:currentColor;}
.coupon-welcome-content {position:relative;width:47%;padding:312px 22px 20px 44px;box-sizing:border-box;}
.member-coupon-dialog .coupon-welcome-status {display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.5;margin:0 0 15px;font-weight:600;}
.member-coupon-dialog h2 {font-size:28px;line-height:1.3;margin:0 0 16px;font-weight:600;text-wrap:balance;}
.coupon-welcome-offer {display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;margin:0 0 8px;}
.coupon-welcome-offer strong {display:flex;align-items:baseline;font-size:72px;font-weight:650;line-height:1;}
.coupon-welcome-offer strong span {font-size:44px;}
.coupon-welcome-offer>span {font-size:17px;font-weight:500;}
.member-coupon-dialog .coupon-welcome-rule {max-width:350px;font-size:14px;line-height:1.65;margin:14px 0 22px;}
.coupon-welcome-details {border-top:1px dashed rgba(23,50,73,.38);padding:17px 0 0;margin:0 0 20px;}
.coupon-welcome-label {display:block;font-size:12px;font-weight:500;line-height:1.5;margin-bottom:7px;}
.coupon-welcome-code-row {display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:42px;}
.coupon-welcome-code {font-family:ui-monospace,monospace;font-size:36px;font-weight:700;line-height:1.2;letter-spacing:0;user-select:all;}
.coupon-copy {width:40px;height:40px;border-color:#d1d8d4;background:#f4f6f5;}
.member-coupon-dialog .coupon-welcome-expiry {margin:10px 0 0;font-size:13px;line-height:1.6;}
.coupon-welcome-expiry time {display:inline-block;}
.coupon-welcome-action {display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:46px;padding:12px 16px;border:0;border-radius:4px;background:#b92323;color:#fff;font-size:14px;line-height:1.5;font-weight:600;cursor:pointer;}
.coupon-welcome-action:hover {background:#a7191c;}
.coupon-welcome-action svg {flex-shrink:0;}
.coupon-close {position:absolute;right:18px;top:18px;width:40px;height:40px;z-index:2;background:rgba(255,255,255,.92);border:0;color:#173249;}
.coupon-copy:hover,.coupon-close:hover {background:#fff;}
.member-coupon-dialog button:focus-visible {outline:2px solid #173249;outline-offset:3px;}
.member-coupon-dialog .coupon-copy-feedback {min-height:18px;margin:8px 0 0;font-size:12px;line-height:1.5;}
@media(min-width:701px) and (max-width:900px){.coupon-welcome-content{padding-left:32px;padding-top:244px;width:48%;}.coupon-welcome-brand{left:32px;width:calc(48% - 54px);height:204px;}.member-coupon-dialog h2{font-size:24px;}.coupon-welcome-offer strong{font-size:64px;}}
@media(max-width:700px){
  .member-coupon-dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);}
  .coupon-welcome-sheet{min-height:0;padding-top:200px;}
  .coupon-welcome-illustration{top:32px;right:12px;bottom:auto;width:calc(50% - 18px);height:160px;}
  .coupon-welcome-brand{top:32px;left:20px;width:calc(50% - 18px);height:160px;}
  .coupon-welcome-content{width:100%;padding:8px 20px 18px;}
  .member-coupon-dialog .coupon-welcome-status{margin-bottom:9px;}
  .member-coupon-dialog h2{font-size:24px;margin-bottom:12px;}
  .coupon-welcome-offer strong{font-size:58px;}.coupon-welcome-offer strong span{font-size:36px;}
  .coupon-welcome-offer>span{font-size:15px;}
  .member-coupon-dialog .coupon-welcome-rule{margin:12px 0 16px;}
  .coupon-welcome-details{padding-top:14px;margin-bottom:16px;}
  .coupon-close{top:8px;right:8px;width:32px;height:32px;background:transparent;}
}
@media(max-width:600px){.member-coupon-row{flex-wrap:wrap;}.coupon-action{font-size:13px;}}
