.customer-coupons { padding: 4px 0 40px; } .customer-coupons__tabs { display: flex; gap: 34px; margin-bottom: 28px; border-bottom: 1px solid #d9dddf; } .customer-coupons__tab { position: relative; padding: 12px 0 14px; border: 0; background: transparent; color: #777; font-size: 18px; font-weight: 600; box-shadow: none; } .customer-coupons__tab:hover, .customer-coupons__tab:focus, .customer-coupons__tab:active { border: 0 !important; background: transparent !important; color: #777; box-shadow: none !important; } .customer-coupons__tab.is-active:hover, .customer-coupons__tab.is-active:focus, .customer-coupons__tab.is-active:active { color: #18a957; } .customer-coupons__tab.is-active { color: #18a957; } .customer-coupons__tab.is-active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 3px; background: #18a957; content: ""; } .customer-coupons__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } .customer-coupons__panel[hidden] { display: none; } .customer-coupon-card { display: grid; grid-template-columns: 150px minmax(0, 1fr); border: 1px solid #dce1e3; border-radius: 12px; background: #fff; overflow: hidden; } .customer-coupon-card__discount { display: flex; align-items: center; justify-content: center; padding: 24px 16px; background: #18a957; color: #fff; font-size: 23px; font-weight: 700; text-align: center; } .customer-coupon-card.is-unavailable { opacity: .68; } .customer-coupon-card.is-unavailable .customer-coupon-card__discount { background: #8d9498; } .customer-coupon-card__body { min-width: 0; padding: 22px 24px; } .customer-coupon-card__body h3 { margin: 0 0 8px; font-size: 19px; } .customer-coupon-card__code { margin-bottom: 12px; color: #18a957; font-family: monospace; font-size: 16px; font-weight: 700; overflow-wrap: anywhere; } .customer-coupon-card__body ul { margin: 0 0 14px 12px; color: #666; padding-inline-start: 0; font-size: 13px; } .customer-coupon-card__body ul li{ margin-bottom: 0; } .customer-coupon-card__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; color: #747a7d; font-size: 12px; } .customer-coupon-card__meta strong { color: #b23b3b; } .customer-coupons__empty { display: flex; min-height: 330px; flex-direction: column; align-items: center; justify-content: center; color: #8a9093; } .customer-coupons__empty-icon { display: flex; width: 92px; height: 62px; align-items: center; justify-content: center; border-radius: 8px; background: #e3e5e6; color: #aeb3b5; font-size: 36px; font-weight: 700; } @media (max-width: 900px) { .customer-coupons__grid { grid-template-columns: 1fr; } } @media (max-width: 520px) { .customer-coupon-card { grid-template-columns: 110px minmax(0, 1fr); } .customer-coupon-card__discount { font-size: 18px; } } .customer-coupon-picker-modal .modal-inner-wrap { width: calc(100% - 40px); max-width: 960px; } .customer-coupon-picker__loading, .customer-coupon-picker__empty, .customer-coupon-picker__message { padding: 34px 12px; color: #6e7477; text-align: center; } .customer-coupon-picker__message.is-error { color: #b3261e; } .customer-coupon-picker__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 14px; } .customer-coupon-picker__item { width: 100%; grid-template-columns: 110px minmax(0, 1fr); cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, opacity .2s ease; } .customer-coupon-picker__item .customer-coupon-card__discount { padding: 20px 12px; font-size: 18px; } .customer-coupon-picker__item .customer-coupon-card__body { padding: 18px 16px; } .customer-coupon-picker__item .customer-coupon-card__body h3 { font-size: 17px; } .customer-coupon-picker__item:not(.is-applied):hover, .customer-coupon-picker__item:not(.is-applied):focus { border-color: #18a957; box-shadow: 0 4px 14px rgb(24 169 87 / 16%); outline: 0; } .customer-coupon-picker__item.is-applied { cursor: default; opacity: .72; } .customer-coupon-picker__item.is-applied .customer-coupon-card__meta strong { color: #168b4b; } .customer-coupon-picker__item.is-loading { cursor: wait; opacity: .55; pointer-events: none; } @media (max-width: 767px) { .customer-coupon-picker__list { grid-template-columns: 1fr; } } .esun-coupon__picker-button { flex: 0 0 auto; min-width: 108px; height: 40px; padding: 0 14px; border: 0; background: transparent; color: #168b4b; font-size: 13px; font-weight: 700; text-decoration: underline; white-space: nowrap; box-shadow: none; cursor: pointer; } .esun-coupon__picker-button:hover, .esun-coupon__picker-button:focus, .esun-coupon__picker-button:active { border: 0 !important; background: transparent !important; color: #168b4b; box-shadow: none !important; text-decoration: underline; } .checkout-cart-index .esun-coupon__picker-button { height: 46px; font-size: 14px; } .esun-coupon__applied .esun-coupon__picker-button { margin-left: auto; }