/* Shared coupon ticket appearance, scoped to the store-detail coupon section. */
#coupon .nm-ticket-intro { margin: 0 0 22px; color: #64606a; font-size: 14px; }
#coupon .nm-ticket { --ticket-accent: #794283; --ticket-soft: #f5eef7; --ticket-line: #cbb3d0; display: grid; grid-template-columns: minmax(0,1fr) 190px; margin: 24px 0; border: 1px solid var(--ticket-line); border-radius: 14px; background: #fff; box-shadow: 0 5px 18px #3021360b; overflow-wrap: anywhere; }
#coupon .nm-ticket--live { --ticket-accent: #a34312; --ticket-soft: #fff4e7; --ticket-line: #dfa76f; border-width: 2px; }
#coupon .nm-ticket-body { min-width: 0; padding: 26px; text-align: left; }
#coupon .nm-ticket-kind { display: inline-flex; align-items: center; gap: 7px; border-radius: 4px; padding: 4px 9px; background: var(--ticket-soft); color: var(--ticket-accent); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
#coupon .nm-ticket--live .nm-ticket-kind::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ticket-accent); flex: none; }
#coupon .nm-ticket h3 { color: var(--ticket-accent); font-size: clamp(21px,3vw,28px); line-height: 1.5; margin: 14px 0 12px; font-weight: 700; }
#coupon .nm-ticket-description { margin: 0; font-size: 16px; line-height: 1.8; }
#coupon .nm-ticket-terms { border-top: 1px solid #e9e5eb; padding-top: 14px; margin-top: 20px; color: #56515b; font-size: 13px; line-height: 1.8; }
#coupon .nm-ticket-terms p { margin: 4px 0; }
#coupon .nm-ticket-stub { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border-left: 2px dashed var(--ticket-line); background: var(--ticket-soft); padding: 25px 16px; border-radius: 0 13px 13px 0; text-align: center; color: var(--ticket-accent); }
#coupon .nm-ticket-stub::before, #coupon .nm-ticket-stub::after { content: ''; position: absolute; left: -11px; width: 20px; height: 20px; border: 1px solid var(--ticket-line); border-radius: 50%; background: #fff; }
#coupon .nm-ticket-stub::before { top: -11px; clip-path: inset(50% 0 0 0); }
#coupon .nm-ticket-stub::after { bottom: -11px; clip-path: inset(0 0 50% 0); }
#coupon .nm-ticket-expiry-label { font-size: 12px; letter-spacing: .12em; font-weight: 700; }
#coupon .nm-ticket-date { font-size: 17px; font-weight: 700; line-height: 1.6; }
#coupon .nm-ticket-time { display: block; font-size: 26px; font-weight: 700; letter-spacing: .04em; }
#coupon .nm-ticket-remaining { border: 1px solid var(--ticket-line); padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; }
#coupon .nm-ticket-present { margin-top: 10px; font-size: 12px; line-height: 1.8; }
#coupon .nm-ticket[hidden] { display: none; }
@media (max-width:600px) {
    #coupon .nm-ticket { grid-template-columns: minmax(0,1fr); }
    #coupon .nm-ticket-body { padding: 22px 20px; }
    #coupon .nm-ticket-stub { border-left: 0; border-top: 2px dashed var(--ticket-line); border-radius: 0 0 13px 13px; padding: 20px; }
    #coupon .nm-ticket-stub::before, #coupon .nm-ticket-stub::after { top: -11px; bottom: auto; }
    #coupon .nm-ticket-stub::before { left: -11px; clip-path: inset(0 0 0 50%); }
    #coupon .nm-ticket-stub::after { left: auto; right: -11px; clip-path: inset(0 50% 0 0); }
    #coupon .nm-ticket-time { display: inline; margin-left: 8px; font-size: 23px; }
    #coupon .nm-ticket-present { margin-top: 2px; }
}
