/* Default Style */

.wdt-redeem-coupon-wrapper {line-height: 1; padding: var(--wdtPadding_MiniBtn); display: flex; align-items: center; justify-content: center; gap: 10px;border: 1px solid var(--wdtBorderColor);font-weight: var(--wdtFontWeight_Ext);font-size: var(--wdtFontSize_Base);position: relative;}
.wdt-redeem-coupon-wrapper #wdt-copy-coupon-code {font-size: .85em; font-family: var(--wdtFontTypo_Base); font-weight: 500; line-height: 1; text-transform: capitalize; }
.wdt-redeem-coupon-wrapper #wdt-copy-code { position: relative; color: transparent !important;display: block; width: 20px; height: 20px;-webkit-mask-image: url("data:image/svg+xml,%3Csvg width='15' height='15' viewBox='0 0 15 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.37486 12.4999H3.12504C1.39999 12.4979 0.002005 11.0999 0 9.37486V3.12504C0.002005 1.39999 1.39999 0.002005 3.12504 0H9.37498C11.1 0.002005 12.4979 1.39999 12.5 3.12504V9.37498C12.498 11.1 11.1 12.4979 9.37498 12.5L9.37486 12.4999ZM3.12504 1.24999C2.08946 1.24999 1.25011 2.08946 1.25011 3.12491V9.37486C1.25011 10.4104 2.08958 11.2498 3.12504 11.2498H9.37498C10.4106 11.2498 11.2499 10.4103 11.2499 9.37486V3.12504C11.2499 2.08946 10.4104 1.25011 9.37498 1.25011H3.12504V1.24999ZM14.9999 11.8748V3.74997C14.9999 3.40473 14.7201 3.12491 14.3748 3.12491C14.0296 3.12491 13.7498 3.40473 13.7498 3.74997V11.875C13.7498 12.9105 12.9103 13.7499 11.8748 13.7499H3.74997C3.40473 13.7499 3.12491 14.0297 3.12491 14.3749C3.12491 14.7202 3.40473 15 3.74997 15H11.875C13.6 14.998 14.9979 13.6 15 11.875L14.9999 11.8748Z' fill='black'/%3E%3C/svg%3E");mask-image: url("data:image/svg+xml,%3Csvg width='15' height='15' viewBox='0 0 15 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.37486 12.4999H3.12504C1.39999 12.4979 0.002005 11.0999 0 9.37486V3.12504C0.002005 1.39999 1.39999 0.002005 3.12504 0H9.37498C11.1 0.002005 12.4979 1.39999 12.5 3.12504V9.37498C12.498 11.1 11.1 12.4979 9.37498 12.5L9.37486 12.4999ZM3.12504 1.24999C2.08946 1.24999 1.25011 2.08946 1.25011 3.12491V9.37486C1.25011 10.4104 2.08958 11.2498 3.12504 11.2498H9.37498C10.4106 11.2498 11.2499 10.4103 11.2499 9.37486V3.12504C11.2499 2.08946 10.4104 1.25011 9.37498 1.25011H3.12504V1.24999ZM14.9999 11.8748V3.74997C14.9999 3.40473 14.7201 3.12491 14.3748 3.12491C14.0296 3.12491 13.7498 3.40473 13.7498 3.74997V11.875C13.7498 12.9105 12.9103 13.7499 11.8748 13.7499H3.74997C3.40473 13.7499 3.12491 14.0297 3.12491 14.3749C3.12491 14.7202 3.40473 15 3.74997 15H11.875C13.6 14.998 14.9979 13.6 15 11.875L14.9999 11.8748Z' fill='black'/%3E%3C/svg%3E");border-width: 0; cursor: pointer; margin: 0; padding: 0; text-indent: -9999px; z-index: 1; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: 1.2em auto; mask-size: 1.2em auto;background-color:var(--wdtHeadAltColor); transition: all .3s ease; }
.wdt-redeem-coupon-wrapper #wdt-copy-code:focus,
.wdt-redeem-coupon-wrapper #wdt-copy-code:hover,
.wdt-dark-bg .wdt-redeem-coupon-wrapper #wdt-copy-code:hover,
.wdt-dark-bg .wdt-redeem-coupon-wrapper #wdt-copy-code:focus { background-color:var(--wdtPrimaryColor); }
.wdt-dark-bg .wdt-redeem-coupon-wrapper #wdt-copy-code { background-color: var(--wdtAccentTxtColor); }
.wdt-redeem-coupon-wrapper:after {content: 'copied';font-size: 14px;color: var(--wdtBodyTxtColor);position: absolute;top: 0;bottom: 0;margin: auto;left: 100%;width: auto;height: 25px;z-index: 1;background: var(--wdtBodyBGColor);margin-left: 10px;text-transform: capitalize;line-height: 1;padding: 5px 12px;display: flex;align-items: center;justify-content: center;border-radius: 3px;opacity: 0;}
.wdt-redeem-coupon-wrapper:has(#wdt-copy-code.wdtcopied):after{opacity: 1;}


/* type-2 */

.wdt-type-2-redeem .wdt-redeem-coupon-wrapper, .wdt-type-2-redeem .wdt-redeem-coupon-wrapper #wdt-copy-coupon-code{font-size: clamp(1.5rem, 1.3125rem + 0.9375vw, 2.4375rem);padding: 0;color: var(--wdtAccentTxtColor);background-color: transparent;border-radius: var(--wdtRadius_Zero);font-weight: var(--wdtFontWeight_Ext);border: none;padding: 0;text-transform: uppercase;    gap: 7px;}
.wdt-type-2-redeem .wdt-redeem-coupon-wrapper #wdt-copy-code{    
    width: 35px; height: 35px; -webkit-mask-size: 100% auto; mask-size: 94% auto; background-color: var(--wdtPrimaryColor); margin: 4px 0 0 4px;}
.wdt-type-2-redeem .wdt-redeem-coupon-wrapper span:nth-child(2) {text-decoration: underline;}
