/* Match the product-name link while keeping native button semantics. */
html body #wcf-embed-checkout-form button.ivy-order-details__view {
 display:inline-flex!important;
 justify-content:center;
 width:auto!important;
 max-width:100%;
 flex:0 0 auto;
 padding:0!important;
 border:0!important;
 border-radius:0!important;
 background:none!important;
 color:var(--ast-global-color-2,var(--ivy-brand-ink,#111))!important;
 box-shadow:none!important;
 font-family:inherit;
 font-size:.8125rem!important;
 font-weight:600!important;
 line-height:1.2!important;
 letter-spacing:normal;
 text-transform:none;
 text-decoration:none!important;
 white-space:nowrap;
}

html body #wcf-embed-checkout-form button.ivy-order-details__view:is(:hover,:focus-visible,:active),
html body #wcf-embed-checkout-form button.ivy-order-details__view:is(:hover,:focus-visible,:active)::after {
 background-image:var(--ivy-title-hover-gradient,var(--ivy-brand-gradient))!important;
 background-clip:text!important;
 -webkit-background-clip:text!important;
 -webkit-text-fill-color:transparent!important;
}

/* Use the cart's Checkout Now proportions without replacing the submit control. */
html body #wcf-embed-checkout-form #place_order {
 display:flex!important;
 align-items:center;
 justify-content:center;
 gap:clamp(12px, 5vw, 40px);
 width:100%!important;
 padding:clamp(14px, 3vw, 20px) clamp(12px, 3vw, 24px)!important;
 border:0!important;
 border-radius:18px!important;
 font-family:inherit;
 font-size:clamp(1rem, 2.5vw, 23px)!important;
 font-weight:600!important;
 line-height:1.3!important;
 letter-spacing:normal;
 text-transform:none;
}

html body #wcf-embed-checkout-form #place_order::after {
 content:"\2192";
 content:"\2192" / "";
 font-size:1.2em;
 line-height:1;
}

html body #wcf-embed-checkout-form #place_order {
 background:var(--ivy-brand-gradient)!important;
 color:var(--ivy-button-text)!important;
 box-shadow:var(--ivy-button-shadow)!important;
}

html body #wcf-embed-checkout-form #place_order:is(:hover,:focus-visible):not(:disabled):not([aria-disabled="true"]) {
 background:var(--ivy-brand-gradient-reverse)!important;
 color:var(--ivy-hover-text)!important;
 box-shadow:var(--ivy-hover-glow)!important;
}

/* Match the Apply Coupon pill for the removal confirmation actions. */
html body .ivy-checkout-remove-dialog .ivy-checkout-remove-actions > button,
html body .ivy-checkout-coupon-dialog .ivy-checkout-coupon-apply {
 background:var(--ivy-brand-gradient)!important;
 color:var(--ivy-button-text)!important;
 border:0!important;
 border-radius:var(--ivy-button-radius,50px)!important;
 background-clip:padding-box!important;
 box-shadow:var(--ivy-button-shadow)!important;
 min-height:44px;
 padding:12px 24px;
 font-size:.75rem;
 font-weight:600;
 letter-spacing:.12em;
 text-transform:uppercase;
 isolation:isolate;
}

html body .ivy-checkout-remove-dialog .ivy-checkout-remove-actions > button:is(:hover,:focus-visible,:active):not(:disabled),
html body .ivy-checkout-coupon-dialog .ivy-checkout-coupon-apply:is(:hover,:focus-visible,:active):not(:disabled) {
 background:var(--ivy-brand-gradient-reverse)!important;
 color:var(--ivy-hover-text)!important;
 box-shadow:var(--ivy-hover-glow)!important;
}

/* Coupon entry points use Ivy's link gradient without an underline or a filled pill. */
body.ivy-cart-enhanced #content .ivy-cart-page #power-coupons-view-coupons-btn,
body.ivy-cart-enhanced #content .ivy-cart-page .ivy-cart-coupon-note > a[data-ivy-cart-coupon],
body.ivy-cart-enhanced #content #ivy-cart-estimate > div > div > p > a,
html body #wcf-embed-checkout-form .ivy-checkout-available-coupons #power-coupons-view-coupons-btn,
html body #wcf-embed-checkout-form .ivy-checkout-available-coupons .ivy-checkout-coupon-entry {
 background:none!important;
 -webkit-text-fill-color:currentColor!important;
 text-decoration:none!important;
}

body.ivy-cart-enhanced #content .ivy-cart-page #power-coupons-view-coupons-btn:is(:hover,.loading,.is-loading,[aria-busy="true"]),
body.ivy-cart-enhanced #content .ivy-cart-page .ivy-cart-coupon-note > a[data-ivy-cart-coupon]:is(:hover,[data-ivy-coupon-loading="true"]),
body.ivy-cart-enhanced #content #ivy-cart-estimate > div > div > p > a:is(:hover,[data-ivy-coupon-loading="true"]),
html body #wcf-embed-checkout-form .ivy-checkout-available-coupons #power-coupons-view-coupons-btn:is(:hover,.loading,.is-loading,[aria-busy="true"]),
html body #wcf-embed-checkout-form .ivy-checkout-available-coupons .ivy-checkout-coupon-entry:is(:hover,[data-ivy-coupon-loading="true"]),
body:has(#power-coupons-drawer[aria-hidden="false"] .power-coupons-drawer-coupons-list:not(.loaded)) :is(.ivy-cart-page,.ivy-checkout-available-coupons) #power-coupons-view-coupons-btn {
 background:var(--ivy-title-hover-gradient,var(--ivy-brand-gradient)) no-repeat!important;
 background-clip:text!important;
 -webkit-background-clip:text!important;
 -webkit-text-fill-color:transparent!important;
 text-decoration:none!important;
}

html body #wcf-embed-checkout-form .ivy-checkout-available-coupons :is(#power-coupons-view-coupons-btn,.ivy-checkout-coupon-entry) {
 width:auto!important;
 height:auto!important;
 min-height:0!important;
 margin:0;
 padding:0!important;
 border:0!important;
 border-radius:0!important;
 font-size:13px;
 line-height:1.5;
 letter-spacing:normal;
 text-transform:none;
 color:var(--ivy-cart-muted,var(--ast-global-color-2,#555))!important;
 box-shadow:none!important;
}

html body #wcf-embed-checkout-form .ivy-checkout-coupon-entry > svg{color:var(--ivy-brand-rose);}
html body .ivy-checkout-coupon-dialog .ivy-checkout-coupon-field > input{
 --ivy-coupon-field-fill:var(--ivy-brand-white,#fff);
 background-color:var(--ivy-coupon-field-fill)!important;
 color:var(--ivy-brand-ink,#111)!important;
}
html body .ivy-checkout-coupon-dialog .ivy-checkout-coupon-field > input:not(:placeholder-shown){
 --ivy-coupon-field-fill:#FFF7FA;
}
html body .ivy-checkout-coupon-dialog .ivy-checkout-coupon-field > input:is(:hover,:focus){
 border-color:transparent!important;
 background:linear-gradient(var(--ivy-coupon-field-fill),var(--ivy-coupon-field-fill)) padding-box,var(--ivy-brand-gradient) border-box!important;
}
html body .ivy-checkout-coupon-dialog .ivy-checkout-coupon-field > input:focus{
 border-width:2px;
 outline:none;
 box-shadow:none;
}

/* Paint the existing coupon tag stroke with the same gradient as the label. */
@media (forced-colors:none) {
 body.ivy-cart-enhanced #content .ivy-cart-page .ivy-cart-coupon-note > a[data-ivy-cart-coupon]:is(:hover,[data-ivy-coupon-loading="true"]) > svg,
 body.ivy-cart-enhanced #content #ivy-cart-estimate > div > div > p > a[data-ivy-cart-coupon]:is(:hover,[data-ivy-coupon-loading="true"]) > svg,
 html body #wcf-embed-checkout-form .ivy-checkout-coupon-entry:is(:hover,[data-ivy-coupon-loading="true"]) > svg {
  --ivy-coupon-tag-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h8l10 10-8 8L3 11zM7 7h.01' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background:var(--ivy-title-hover-gradient,var(--ivy-brand-gradient))!important;
  -webkit-mask:var(--ivy-coupon-tag-mask) center/contain no-repeat;
  mask:var(--ivy-coupon-tag-mask) center/contain no-repeat;
  stroke:transparent!important;
 }
}

@media (forced-colors:active) {
 body.ivy-cart-enhanced #content .ivy-cart-page #power-coupons-view-coupons-btn,
 body.ivy-cart-enhanced #content .ivy-cart-page .ivy-cart-coupon-note > a[data-ivy-cart-coupon],
 body.ivy-cart-enhanced #content #ivy-cart-estimate > div > div > p > a,
 html body #wcf-embed-checkout-form .ivy-checkout-available-coupons :is(#power-coupons-view-coupons-btn,.ivy-checkout-coupon-entry) {
  -webkit-text-fill-color:currentColor!important;
 }
}

@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
 html body #wcf-embed-checkout-form #place_order,
 html body .ivy-checkout-remove-dialog .ivy-checkout-remove-actions > button {
  transition:transform var(--ivy-hover-speed,350ms) ease,box-shadow var(--ivy-hover-speed,350ms) ease!important;
 }
 html body #wcf-embed-checkout-form #place_order:hover:not(:disabled):not([aria-disabled="true"]),
 html body .ivy-checkout-remove-dialog .ivy-checkout-remove-actions > button:hover:not(:disabled) {
  transform:translateY(var(--ivy-lift-content,-3px))!important;
 }
}
/* Cart and drawer keep their interaction-only coupon Remove treatment. */
body.ivy-cart-enhanced #content .ivy-cart-page a.woocommerce-remove-coupon:is(:hover,:active,:focus-visible,[data-ivy-coupon-removing="true"]),
body.ivy-cart-header-context #power-coupons-drawer :is(.power-coupon-remove-btn,.power-coupons-remove-coupon-btn):is(:hover,:active,:focus-visible,.loading) {
 background-image:var(--ivy-title-hover-gradient,var(--ivy-brand-gradient));
 background-size:100% 100%;
 background-repeat:no-repeat;
 background-clip:text;
 -webkit-background-clip:text;
 -webkit-text-fill-color:transparent;
 text-decoration:underline;
 text-decoration-color:var(--ivy-brand-gold);
}

/* Match the cart's hover, focus and removal feedback on checkout. */
html body #order_review > table > tfoot > tr.cart-discount > td > a:is(:hover,:active,:focus-visible,[data-ivy-coupon-removing="true"]),
html body #wcf-embed-checkout-form a.woocommerce-remove-coupon:is(:hover,:active,:focus-visible,[data-ivy-coupon-removing="true"]) {
 background:var(--ivy-title-hover-gradient,var(--ivy-brand-gradient)) no-repeat!important;
 background-clip:text!important;
 -webkit-background-clip:text!important;
 -webkit-text-fill-color:transparent!important;
 text-decoration:underline!important;
 text-decoration-thickness:1px!important;
 text-decoration-color:var(--ivy-brand-gold,currentColor)!important;
}

