:root { --wac-brand: #1270c2; } .wac-toast-progress {
height: 3px;
width: 100%;
background: var(--wac-brand);
transform-origin: right center;
animation: wac-countdown 5s linear forwards;
}
@keyframes wac-countdown {
from { transform: scaleX(1); }
to   { transform: scaleX(0); }
} .wac-overlay {
position: fixed; inset: 0;
background: rgba(0, 0, 0, 0.5);
z-index: 99998;
opacity: 0;
pointer-events: none;
transition: opacity .3s ease;
}
.wac-overlay--show { opacity: 1; pointer-events: auto; } .wac-toast {
position: fixed;
top: 50%; left: 50%;
transform: translate(-50%, -40%);
background: #fff;
color: #1a1a1a;
border-radius: 18px;
font-size: 14px;
z-index: 99999;
opacity: 0;
transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .35s;
pointer-events: none;
direction: rtl;
box-shadow: 0 18px 50px rgba(0,0,0,.18);
width: 460px;
max-width: calc(100vw - 32px);
overflow: hidden;
}
.wac-toast--show { transform: translate(-50%, -50%); opacity: 1; pointer-events: auto; } .wac-toast-close {
position: absolute;
top: 10px; left: 10px;
width: 28px; height: 28px;
border: none;
background: rgba(0,0,0,0.04);
color: #6b7280;
border-radius: 50%;
cursor: pointer;
padding: 0;
display: flex; align-items: center; justify-content: center;
transition: background .2s, color .2s;
z-index: 2;
}
.wac-toast-close:hover { background: rgba(0,0,0,0.08); color: #111; }
.wac-toast-close svg { width: 14px; height: 14px; } .wac-toast-top {
display: flex;
align-items: center;
gap: 12px;
padding: 16px 18px 12px 42px;
}
.wac-toast-img-wrap { position: relative; flex-shrink: 0; order: 1; }
.wac-toast-img {
width: 56px; height: 56px;
object-fit: cover;
border-radius: 10px;
display: block;
border: 1px solid #e5e7eb;
}
.wac-toast-badge {
position: absolute;
bottom: -5px; left: -5px;
background: #16a34a;
color: #fff;
border-radius: 50%;
width: 20px; height: 20px;
display: flex; align-items: center; justify-content: center;
border: 2px solid #fff;
line-height: 1;
}
.wac-toast-badge svg { width: 11px; height: 11px; }
.wac-toast-img-wrap--icon {
width: 56px; height: 56px;
background: #e8f1fc;
border-radius: 10px;
display: flex; align-items: center; justify-content: center;
color: var(--wac-brand);
order: 1;
}
.wac-toast-icon-only svg { width: 28px; height: 28px; }
.wac-toast-msg {
flex: 1;
display: flex; flex-direction: column; gap: 4px;
text-align: right;
min-width: 0;
order: 2;
}
.wac-toast-label {
font-size: 14.5px;
font-weight: 800;
color: var(--wac-brand);
display: flex; align-items: center; gap: 6px;
}
.wac-toast-label-icon {
display: inline-flex; align-items: center; justify-content: center;
color: #16a34a;
}
.wac-toast-label-icon svg { width: 16px; height: 16px; }
.wac-toast-label--error { color: #dc2626; }
.wac-toast-label--error .wac-toast-label-icon { color: #dc2626; }
.wac-toast-name {
font-size: 12.5px;
color: #4b5563;
font-weight: 500;
line-height: 1.5;
word-break: break-word;
} .wac-ship-bar {
margin: 6px 16px 10px;
padding: 12px 14px;
background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 100%);
border: 1.5px solid #a7f3d0;
border-radius: 14px;
}
.wac-ship-bar-msg {
display: flex; align-items: center; justify-content: center; gap: 8px;
font-size: 13px;
font-weight: 700;
color: #047857;
margin-bottom: 8px;
line-height: 1.4;
text-align: center;
}
.wac-ship-icon {
display: inline-flex; align-items: center; justify-content: center;
color: #059669;
flex-shrink: 0;
}
.wac-ship-icon svg { width: 17px; height: 17px; }
.wac-ship-bar-text strong { color: #047857; font-weight: 800; }
.wac-ship-bar-track {
width: 100%;
height: 7px;
background: #d1fae5;
border-radius: 999px;
overflow: hidden;
position: relative;
}
.wac-ship-bar-fill {
height: 100%;
background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
border-radius: 999px;
transition: width .8s cubic-bezier(.4,0,.2,1);
position: relative;
overflow: hidden;
}
.wac-ship-bar-fill::after {
content: '';
position: absolute; inset: 0;
background: linear-gradient(90deg,
rgba(255,255,255,0) 0%,
rgba(255,255,255,.45) 50%,
rgba(255,255,255,0) 100%);
animation: wac-shimmer 1.6s linear infinite;
}
@keyframes wac-shimmer {
from { transform: translateX(-100%); }
to   { transform: translateX(100%); }
} .wac-toast-checkout-wrap {
padding: 0 16px 8px;
}
.wac-toast .wac-toast-btn.wac-toast-btn--main,
a.wac-toast-btn.wac-toast-btn--main {
width: 100%;
background: var(--wac-brand) !important;
background-color: var(--wac-brand) !important;
background-image: none !important;
color: #fff !important;
border: 1.5px solid var(--wac-brand) !important;
padding: 14px 16px !important;
font-size: 15px !important;
font-weight: 800 !important;
border-radius: 12px !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
gap: 8px !important;
text-decoration: none !important;
cursor: pointer;
transition: filter .2s !important;
box-shadow: 0 2px 6px rgba(18,112,194,.18);
}
.wac-toast .wac-toast-btn.wac-toast-btn--main:hover,
a.wac-toast-btn.wac-toast-btn--main:hover {
filter: brightness(.94);
color: #fff !important;
background: var(--wac-brand) !important;
background-color: var(--wac-brand) !important;
}
.wac-toast .wac-toast-btn.wac-toast-btn--main * {
color: #fff !important;
}
.wac-toast .wac-toast-btn.wac-toast-btn--main svg {
color: #fff !important;
fill: none !important;
stroke: #fff !important;
width: 17px;
height: 17px;
} .wac-trust-badges-top {
display: flex;
align-items: stretch;
margin: 0 16px 10px;
padding: 8px 4px;
background: #f9fafb;
border: 1px solid #e5e7eb;
border-radius: 10px;
}
.wac-trust-item-top {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
gap: 5px;
padding: 0 4px;
border-inline-end: 1px solid #e5e7eb;
min-width: 0;
}
.wac-trust-item-top:last-child { border-inline-end: none; }
.wac-trust-icon-top {
display: inline-flex; align-items: center; justify-content: center;
color: var(--wac-brand);
flex-shrink: 0;
}
.wac-trust-icon-top svg { width: 14px; height: 14px; }
.wac-trust-text-top {
font-size: 11px;
font-weight: 600;
color: #374151;
line-height: 1.2;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
} .wac-coupon {
margin: 4px 16px 10px;
padding: 12px 14px;
background: #eff6ff;
border: 1.5px dashed #93c5fd;
border-radius: 14px;
position: relative;
display: flex;
align-items: center;
gap: 10px;
}
.wac-coupon-illust {
flex-shrink: 0;
width: 56px; height: 56px;
display: flex; align-items: center; justify-content: center;
order: 1;
}
.wac-coupon-illust svg { width: 100%; height: 100%; display: block; }
.wac-coupon-body {
flex: 1; min-width: 0;
order: 2;
}
.wac-coupon-head {
display: flex; align-items: center; gap: 6px;
margin-bottom: 4px;
justify-content: flex-start;
}
.wac-coupon-icon-tag {
display: inline-flex;
color: var(--wac-brand);
flex-shrink: 0;
}
.wac-coupon-icon-tag svg { width: 14px; height: 14px; }
.wac-coupon-label {
font-size: 13.5px;
font-weight: 800;
color: #111827;
text-align: right;
flex: 1;
}
.wac-coupon-desc {
font-size: 11.5px;
color: #6b7280;
line-height: 1.4;
margin-bottom: 8px;
text-align: right;
}
.wac-coupon-row {
display: flex;
align-items: stretch;
gap: 0;
background: #fff;
border: 1.5px dashed var(--wac-brand);
border-radius: 8px;
overflow: hidden;
}
.wac-coupon-code {
flex: 1;
padding: 9px 10px;
font-size: 13px;
font-weight: 800;
letter-spacing: 1px;
color: var(--wac-brand);
text-align: center !important;
cursor: pointer;
user-select: all;
background: #fff;
transition: background .2s;
display: flex;
align-items: center;
justify-content: center;
unicode-bidi: plaintext;
}
.wac-coupon-code:hover { background: #f9fafb; }
.wac-coupon-copy {
display: inline-flex; align-items: center; justify-content: center;
gap: 5px;
padding: 0 12px;
border: none;
background: var(--wac-brand);
color: #fff;
font-size: 11.5px;
font-weight: 700;
cursor: pointer;
font-family: inherit;
transition: filter .2s;
white-space: nowrap;
}
.wac-coupon-copy:hover { filter: brightness(.92); }
.wac-coupon-copy-icon { display: inline-flex; }
.wac-coupon-copy-icon svg { width: 13px; height: 13px; }
.wac-coupon-copy--done { background: #16a34a !important; filter: none !important; }
.wac-coupon-countdown {
margin-top: 8px;
display: flex; align-items: center; justify-content: center;
gap: 5px;
font-size: 11.5px;
color: #dc2626;
font-weight: 600;
}
.wac-coupon-countdown-icon {
display: inline-flex; color: #dc2626;
}
.wac-coupon-countdown-icon svg { width: 13px; height: 13px; }
.wac-coupon-timer {
font-weight: 800;
font-variant-numeric: tabular-nums;
direction: ltr;
display: inline-block;
} .wac-cross-sells {
margin: 4px 16px 10px;
padding: 12px 12px;
background: linear-gradient(180deg, #fff7ed 0%, #fef3c7 100%);
border: 1.5px solid #fde68a;
border-radius: 14px;
}
.wac-cs-title {
font-size: 13.5px;
font-weight: 800;
color: #92400e;
margin-bottom: 4px;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
}
.wac-cs-title-icon {
display: inline-flex; align-items: center; justify-content: center;
flex-shrink: 0;
}
.wac-cs-title-icon svg { width: 16px; height: 16px; }
.wac-cs-subtitle {
font-size: 11px;
color: #92400e;
opacity: .8;
text-align: center;
margin-bottom: 10px;
font-weight: 500;
}
.wac-cs-list {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
}
.wac-cs-item {
display: flex;
flex-direction: column;
gap: 6px;
background: #fff;
border: 1px solid #fed7aa;
border-radius: 10px;
padding: 8px 8px 8px;
transition: border-color .15s, box-shadow .15s;
}
.wac-cs-item:hover { border-color: var(--wac-brand); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.wac-cs-content {
display: flex;
align-items: center;
gap: 8px;
flex: 1;
}
.wac-cs-img {
width: 50px; height: 50px;
object-fit: cover;
border-radius: 8px;
flex-shrink: 0;
border: 1px solid #f3f4f6;
}
.wac-cs-info {
flex: 1; min-width: 0;
display: flex; flex-direction: column; gap: 2px;
text-align: right;
}
.wac-cs-name {
font-size: 11.5px;
font-weight: 700;
color: #111827 !important;
text-decoration: none !important;
line-height: 1.3;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.wac-cs-name:hover { color: var(--wac-brand) !important; }
.wac-cs-price {
font-size: 12px;
color: var(--wac-brand);
font-weight: 800;
}
.wac-cs-price del { color: #9ca3af; font-weight: 400; margin-inline-end: 4px; font-size: 10.5px; }
.wac-cs-btn {
width: 100%;
display: inline-flex; align-items: center; justify-content: center;
gap: 5px;
padding: 8px 8px;
font-size: 12px;
font-weight: 700;
border-radius: 8px;
border: 1.5px solid var(--wac-brand);
background: #fff;
color: var(--wac-brand) !important;
cursor: pointer;
text-decoration: none !important;
transition: background .15s, color .15s;
font-family: inherit;
white-space: nowrap;
}
.wac-cs-btn:hover { background: var(--wac-brand); color: #fff !important; }
.wac-cs-btn .wac-toast-icon svg { width: 13px; height: 13px; }
.wac-cs-btn--loading { opacity: .7; pointer-events: none; } .wac-social-proof {
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
margin: 0 16px 10px;
padding: 8px 12px;
background: #fefce8;
border: 1px solid #fde68a;
border-radius: 10px;
font-size: 11.5px;
font-weight: 600;
color: #854d0e;
}
.wac-social-icon {
display: inline-flex; color: #16a34a;
}
.wac-social-icon svg { width: 16px; height: 16px; }
.wac-social-text strong { font-weight: 800; color: #166534; } .wac-toast-actions {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
padding: 0 16px 10px;
}
.wac-toast-btn {
width: 100%;
display: flex; align-items: center; justify-content: center;
gap: 6px;
padding: 11px 8px;
font-size: 12.5px;
font-weight: 700;
text-decoration: none !important;
transition: background .2s, color .2s, border-color .2s;
cursor: pointer;
border-radius: 10px;
border: 1.5px solid var(--wac-brand);
background: #fff;
color: var(--wac-brand) !important;
box-sizing: border-box;
font-family: inherit;
line-height: 1.2;
}
.wac-toast-icon { display: inline-flex; align-items: center; justify-content: center; }
.wac-toast-icon svg { width: 14px; height: 14px; }
.wac-toast-btn--cart:hover {
background: color-mix(in srgb, var(--wac-brand) 8%, white) !important;
color: var(--wac-brand) !important;
}
.wac-toast-btn--continue {
background: #fff;
color: var(--wac-brand) !important;
border-color: var(--wac-brand);
cursor: pointer;
}
.wac-toast-btn--continue:hover {
background: color-mix(in srgb, var(--wac-brand) 8%, white) !important;
} .wac-trust-badges-bottom {
display: flex;
align-items: stretch;
margin: 0;
padding: 10px 6px;
background: #f9fafb;
border-top: 1px solid #e5e7eb;
}
.wac-trust-item-btm {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
gap: 5px;
padding: 0 4px;
border-inline-end: 1px solid #e5e7eb;
min-width: 0;
}
.wac-trust-item-btm:last-child { border-inline-end: none; }
.wac-trust-icon-btm {
display: inline-flex; align-items: center; justify-content: center;
color: #6b7280;
flex-shrink: 0;
}
.wac-trust-icon-btm svg { width: 14px; height: 14px; }
.wac-trust-text-btm {
font-size: 10.5px;
font-weight: 600;
color: #4b5563;
line-height: 1.2;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
} .wac-toast--error .wac-toast-top { padding: 18px 18px 16px 42px; }
.wac-toast--error .wac-toast-actions,
.wac-toast--error .wac-toast-checkout-wrap,
.wac-toast--error .wac-trust-badges-top,
.wac-toast--error .wac-trust-badges-bottom,
.wac-toast--error .wac-coupon,
.wac-toast--error .wac-cross-sells,
.wac-toast--error .wac-social-proof,
.wac-toast--error .wac-ship-bar { display: none; } @media (max-width: 480px) {
.wac-toast {
width: calc(100vw - 14px);
max-width: 380px;
max-height: 95vh;
overflow-y: auto;
font-size: 12.5px;
border-radius: 14px;
-webkit-overflow-scrolling: touch;
transform: translate(-50%, -50%) !important;
top: 50% !important;
}
.wac-toast-close { width: 24px; height: 24px; top: 6px; left: 6px; }
.wac-toast-close svg { width: 12px; height: 12px; }
.wac-toast-top { padding: 9px 12px 6px 34px; gap: 9px; }
.wac-toast-img,
.wac-toast-img-wrap--icon { width: 44px; height: 44px; border-radius: 8px; }
.wac-toast-icon-only svg { width: 22px; height: 22px; }
.wac-toast-badge { width: 16px; height: 16px; bottom: -3px; left: -3px; border-width: 1.5px; }
.wac-toast-badge svg { width: 9px; height: 9px; }
.wac-toast-label { font-size: 12.5px; gap: 4px; }
.wac-toast-label-icon svg { width: 13px; height: 13px; }
.wac-toast-name { font-size: 10.5px; line-height: 1.3; }
.wac-ship-bar { margin: 2px 12px 5px; padding: 6px 10px; border-radius: 10px; }
.wac-ship-bar-msg { font-size: 10.5px; gap: 5px; margin-bottom: 4px; }
.wac-ship-icon svg { width: 13px; height: 13px; }
.wac-ship-bar-track { height: 5px; }
.wac-toast-checkout-wrap { padding: 0 12px 5px; }
.wac-toast .wac-toast-btn.wac-toast-btn--main,
a.wac-toast-btn.wac-toast-btn--main {
font-size: 13px !important;
padding: 10px 12px !important;
border-radius: 10px !important;
gap: 6px !important;
}
.wac-toast .wac-toast-btn.wac-toast-btn--main svg { width: 14px; height: 14px; }
.wac-trust-badges-top {
margin: 0 12px 5px;
padding: 5px 2px;
border-radius: 8px;
}
.wac-trust-item-top { gap: 3px; padding: 0 3px; }
.wac-trust-icon-top svg { width: 11px; height: 11px; }
.wac-trust-text-top { font-size: 9.5px; }
.wac-coupon {
margin: 2px 12px 5px;
padding: 7px 10px;
border-radius: 10px;
gap: 7px;
}
.wac-coupon-illust { width: 38px; height: 38px; }
.wac-coupon-icon-tag svg { width: 11px; height: 11px; }
.wac-coupon-label { font-size: 11.5px; margin-bottom: 0; }
.wac-coupon-head { margin-bottom: 2px; }
.wac-coupon-desc { font-size: 9.5px; margin-bottom: 4px; line-height: 1.3; }
.wac-coupon-code { font-size: 11px; padding: 6px 6px; letter-spacing: 0.5px; }
.wac-coupon-copy { font-size: 9.5px; padding: 0 8px; gap: 3px; }
.wac-coupon-copy-icon svg { width: 10px; height: 10px; }
.wac-coupon-countdown { font-size: 9.5px; margin-top: 4px; gap: 3px; }
.wac-coupon-countdown-icon svg { width: 10px; height: 10px; }
.wac-cross-sells {
margin: 2px 12px 5px;
padding: 6px 5px;
border-radius: 10px;
}
.wac-cs-title { font-size: 12px; gap: 4px; margin-bottom: 0; }
.wac-cs-title-icon svg { width: 14px; height: 14px; }
.wac-cs-subtitle { font-size: 10px; margin-bottom: 5px; }
.wac-cs-list { gap: 5px; }
.wac-cs-item { padding: 5px 4px; border-radius: 8px; gap: 5px; }
.wac-cs-content { gap: 6px; }
.wac-cs-img { width: 60px !important; height: 60px !important; border-radius: 7px; }
.wac-cs-name { font-size: 11px; line-height: 1.25; -webkit-line-clamp: 2; font-weight: 700; }
.wac-cs-price { font-size: 12px; font-weight: 800; }
.wac-cs-price del { font-size: 10px; margin-inline-end: 3px; }
.wac-cs-btn { font-size: 11px; padding: 6px 4px; gap: 4px; border-radius: 7px; border-width: 1.5px; font-weight: 700; }
.wac-cs-btn .wac-toast-icon svg { width: 12px; height: 12px; }
.wac-social-proof {
margin: 0 12px 5px;
padding: 5px 8px;
font-size: 9.5px;
border-radius: 7px;
gap: 4px;
}
.wac-social-icon svg { width: 12px; height: 12px; }
.wac-toast-actions {
padding: 0 12px 6px;
gap: 5px;
}
.wac-toast-btn {
font-size: 10.5px;
padding: 7px 4px;
gap: 4px;
border-radius: 7px;
border-width: 1px;
}
.wac-toast-icon svg { width: 11px; height: 11px; }
.wac-trust-badges-bottom { padding: 5px 4px; }
.wac-trust-item-btm { gap: 3px; padding: 0 2px; }
.wac-trust-icon-btm svg { width: 11px; height: 11px; }
.wac-trust-text-btm { font-size: 8.5px; }
.wac-toast--error .wac-toast-top { padding: 12px 12px 10px 34px; }
} @media (max-width: 360px) {
.wac-toast { width: calc(100vw - 14px); font-size: 12.5px; }
.wac-toast-top { padding: 11px 12px 9px 38px; gap: 8px; }
.wac-toast-img,
.wac-toast-img-wrap--icon { width: 44px; height: 44px; }
.wac-toast-label { font-size: 12.5px; }
.wac-coupon-illust { width: 42px; height: 42px; }
.wac-cs-img { width: 40px; height: 40px; }
.wac-trust-text-top { font-size: 9.5px; }
.wac-trust-text-btm { font-size: 9px; }
} .wac-btn-loading::after,
.wac-btn-loading::before { display: none !important; }
.wac-btn-loading { pointer-events: none; opacity: .75; }