#wpcp-overlay{--wpcp-font-size:16px;--wpcp-radius:12px;--wpcp-button:#ef1111;--wpcp-button-text:#fff;--wpcp-margin:10px;position:fixed;inset:0;z-index:999999;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,.55);padding:16px;box-sizing:border-box;font-size:var(--wpcp-font-size)}
#wpcp-overlay.is-open{display:flex}
body.wpcp-lock{overflow:hidden}
.wpcp-modal{position:relative;width:min(560px,100%);max-height:94vh;overflow:auto;background:#fff;border-radius:var(--wpcp-radius);box-shadow:0 20px 60px rgba(0,0,0,.25);font-family:inherit;color:#222;animation:wpcp-modal-in .22s ease-out}
@keyframes wpcp-modal-in{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}
.wpcp-body{padding:18px}
.wpcp-close{position:absolute;right:12px;top:8px;border:0;background:transparent;font-size:32px;line-height:1;cursor:pointer;color:#333;z-index:2}
.wpcp-body h2{text-align:center;font-size:28px;margin:0 0 12px;font-weight:700}
.wpcp-address-heading{margin-top:18px!important;margin-bottom:10px!important}
.wpcp-order-box{border:1px solid #e6e6e6;border-radius:8px;overflow:hidden}
.wpcp-order-table{width:100%;border-collapse:collapse;table-layout:auto}
.wpcp-order-table th,.wpcp-order-table td{border-bottom:1px solid #e7e7e7;padding:8px 7px;text-align:center;vertical-align:middle}
.wpcp-order-table th{background:#fafafa;font-weight:700}
.wpcp-product{display:flex;align-items:center;justify-content:center;gap:4px;text-align:center!important}
.wpcp-product img{width:128px;height:128px;object-fit:cover;border-radius:7px;border:1px solid #eee;display:block}
.wpcp-product span{line-height:1.25}
.wpcp-delete{width:46px}
.wpcp-remove{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border:0!important;background:linear-gradient(145deg,#ff3b30,#d90000)!important;color:#fff!important;border-radius:50%;font-size:30px;font-weight:700;line-height:1;cursor:pointer;transition:transform .16s ease,background .16s ease,color .16s ease;box-shadow:0 6px 14px rgba(220,0,0,.25),inset 0 1px 0 rgba(255,255,255,.35)}
.wpcp-remove:hover{background:linear-gradient(145deg,#ff554c,#b80000)!important;color:#fff!important;transform:translateY(-2px) scale(1.06);box-shadow:0 9px 18px rgba(220,0,0,.34)}
.wpcp-remove:active{transform:scale(.90);box-shadow:0 3px 8px rgba(220,0,0,.22)}
.wpcp-qty{display:inline-flex;align-items:center;border:1px solid #ddd;border-radius:5px;overflow:hidden}
.wpcp-qty button,.wpcp-qty span{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border:0;background:#f8f8f8}
.wpcp-qty button{cursor:pointer;font-size:18px}.wpcp-qty span{background:#fff}
.wpcp-totals{padding:2px 12px}
.wpcp-total-row{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid #eee}
.wpcp-grand{border-bottom:0;font-size:18px}
.wpcp-field{margin:0 0 9px}
.wpcp-field label{display:block;font-weight:600;margin:0 0 4px}
.wpcp-required{color:#e11}
.wpcp-field input,.wpcp-field textarea,.wpcp-field select{width:100%;box-sizing:border-box;border:1px solid #d8d8d8;border-radius:7px;padding:11px 13px;font-size:1em;background:#fff;outline:none;transition:border-color .15s ease,box-shadow .15s ease}
.wpcp-field textarea{min-height:78px;resize:vertical}
.wpcp-field input:focus,.wpcp-field textarea:focus,.wpcp-field select:focus{border-color:#999;box-shadow:0 0 0 2px rgba(0,0,0,.04)}
.wpcp-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.wpcp-submit-box{position:relative;background:linear-gradient(135deg,#fff 0%,#fff7f7 100%);border:1px solid #ffdede;border-radius:15px;padding:14px;margin-top:5px;box-shadow:0 8px 28px rgba(239,17,17,.12),0 2px 8px rgba(0,0,0,.06);overflow:hidden}
.wpcp-submit-box:before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;box-shadow:inset 0 0 0 1px rgba(255,255,255,.8)}
.wpcp-submit-total{font-size:22px;margin-bottom:10px;display:flex;justify-content:space-between;align-items:center;gap:10px;color:#222}
.wpcp-submit-total span{color:#df0000;font-weight:900;font-size:27px}
.wpcp-submit{position:relative;isolation:isolate;overflow:hidden;width:100%;border:0;border-radius:16px;background:linear-gradient(135deg,var(--wpcp-button),#ff3333);color:var(--wpcp-button-text);font-weight:800;font-size:21px;padding:18px 18px;cursor:pointer;box-shadow:0 8px 18px rgba(239,17,17,.28);transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}
.wpcp-submit:before{content:"";position:absolute;top:0;left:-75%;width:45%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.45),transparent);transform:skewX(-20deg);animation:wpcp-shine 2.8s ease-in-out infinite;z-index:-1}
.wpcp-submit:after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:0 0 0 0 rgba(239,17,17,.35);animation:wpcp-pulse 2s infinite;pointer-events:none}
.wpcp-submit:hover{transform:translateY(-2px);box-shadow:0 11px 24px rgba(239,17,17,.34);filter:saturate(1.08)}
.wpcp-submit:active{transform:translateY(0) scale(.99)}
.wpcp-submit:disabled{opacity:.72;cursor:not-allowed;transform:none}
.wpcp-submit.is-loading{cursor:wait}
.wpcp-submit.is-loading:before{animation:none;left:0;width:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.28),transparent);transform:none;animation:wpcp-loading 1s linear infinite}
.wpcp-message{min-height:18px;margin-top:7px;color:#057a15;text-align:center;font-size:14px}
.wpcp-message.is-success{color:#078b3a}
.wpcp-empty,.wpcp-loading{text-align:center;padding:18px!important}
.wpcp-thankyou{text-align:center;padding:28px;border:1px solid #eee;border-radius:12px;background:#fff}
.wpcp-thankyou-total{font-size:22px;margin-top:14px}
.wpcp-order-now.is-adding{opacity:.7;cursor:wait}
@keyframes wpcp-shine{0%,58%{left:-75%}78%,100%{left:140%}}
@keyframes wpcp-pulse{0%,100%{box-shadow:0 0 0 0 rgba(239,17,17,.28)}50%{box-shadow:0 0 0 7px rgba(239,17,17,0)}}
@keyframes wpcp-loading{from{transform:translateX(-100%)}to{transform:translateX(100%)}}
@media(max-width:600px){
  .wpcp-modal{width:100%;max-height:96vh;border-radius:10px}
  .wpcp-body{padding:12px}
  .wpcp-body h2{font-size:24px;margin-bottom:9px}
  .wpcp-order-table th,.wpcp-order-table td{padding:6px 4px}
  .wpcp-product img{width:104px;height:104px}
  .wpcp-product span{display:none}
  .wpcp-remove{width:40px;height:40px;border-radius:50%;font-size:27px}
  .wpcp-qty button,.wpcp-qty span{width:28px;height:30px}
  .wpcp-field{margin-bottom:7px}
  .wpcp-field input,.wpcp-field textarea,.wpcp-field select{padding:10px 12px}
  .wpcp-submit-box{padding:12px;margin-top:3px}
  .wpcp-submit-total{font-size:20px;margin-bottom:8px}
  .wpcp-submit-total span{font-size:22px}
}

@keyframes wpcp-pulse{0%,100%{box-shadow:0 8px 18px rgba(239,17,17,.28)}50%{box-shadow:0 8px 30px rgba(239,17,17,.55),0 0 0 8px rgba(239,17,17,.08)}}
@keyframes wpcp-bounce{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes wpcp-shake{0%,100%{transform:translateX(0)}20%{transform:translateX(-3px)}40%{transform:translateX(3px)}60%{transform:translateX(-2px)}80%{transform:translateX(2px)}}
@keyframes wpcp-glow{0%,100%{filter:brightness(1);box-shadow:0 8px 18px rgba(239,17,17,.28)}50%{filter:brightness(1.08);box-shadow:0 8px 30px rgba(239,17,17,.55),0 0 20px rgba(239,17,17,.25)}}
.wpcp-submit.wpcp-no-animation:before,.wpcp-submit.wpcp-no-animation:after{animation:none!important}
.wpcp-field input.wpcp-invalid{border-color:#d63638!important;box-shadow:0 0 0 2px rgba(214,54,56,.12)!important}

/* v2.6 responsive hardening and theme-safe submit button */
#wpcp-overlay, #wpcp-overlay *{box-sizing:border-box}
#wpcp-overlay .wpcp-modal{width:min(760px,100%);max-width:100%;margin:0 auto}
#wpcp-overlay .wpcp-body{width:100%;max-width:100%;overflow:hidden}
#wpcp-overlay .wpcp-order-table-wrap{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
#wpcp-overlay .wpcp-order-table{min-width:0;width:100%}
#wpcp-overlay .wpcp-submit-box{width:100%;max-width:100%}
#wpcp-overlay .wpcp-submit,
#wpcp-overlay button#wpcp-submit{display:block!important;width:100%!important;max-width:100%!important;min-width:100%!important;box-sizing:border-box!important;background:var(--wpcp-button)!important;background-image:none!important;color:var(--wpcp-button-text)!important;-webkit-text-fill-color:var(--wpcp-button-text)!important;text-align:center!important;opacity:1!important;line-height:1.35!important}
#wpcp-overlay .wpcp-submit:hover,
#wpcp-overlay button#wpcp-submit:hover{background:var(--wpcp-button-hover)!important;color:var(--wpcp-button-text)!important;-webkit-text-fill-color:var(--wpcp-button-text)!important}
#wpcp-overlay .wpcp-message{min-height:0;margin:12px 0 2px;padding:0 8px;font-size:18px!important;line-height:1.5;font-weight:800;letter-spacing:.1px}
#wpcp-overlay .wpcp-message:not(:empty){padding:11px 14px;border:1px solid #ffb8b8;border-radius:10px;background:#fff2f2;color:#057a15;box-shadow:0 4px 14px rgba(198,0,0,.10)}
#wpcp-overlay .wpcp-message.is-success:not(:empty){border-color:#a8e6bd;background:#effcf3;color:#087a2e}
#wpcp-overlay .wpcp-field input.wpcp-invalid{border:2px solid #e00000!important;box-shadow:0 0 0 3px rgba(224,0,0,.10)!important}

@media(max-width:700px){
  #wpcp-overlay{padding:8px!important;align-items:flex-start!important}
  #wpcp-overlay .wpcp-modal{width:100%!important;max-width:100%!important;max-height:calc(100dvh - 16px)!important;margin:8px auto!important;border-radius:14px!important}
  #wpcp-overlay .wpcp-body{padding:12px 10px 16px!important}
  #wpcp-overlay .wpcp-body h2{font-size:24px!important;line-height:1.25;margin:0 34px 12px!important}
  #wpcp-overlay .wpcp-address-heading{font-size:24px!important;margin:18px 0 12px!important;text-align:center!important}
  #wpcp-overlay .wpcp-order-box{border-radius:12px}
  #wpcp-overlay .wpcp-order-table th,#wpcp-overlay .wpcp-order-table td{padding:5px 3px!important}
  #wpcp-overlay .wpcp-product{gap:2px;justify-content:center!important;text-align:center!important}
  #wpcp-overlay .wpcp-product img{width:92px!important;height:92px!important;max-width:92px!important}
  #wpcp-overlay .wpcp-product span{display:none!important}
  #wpcp-overlay .wpcp-delete{width:40px!important;padding-left:2px!important;padding-right:2px!important}
  #wpcp-overlay .wpcp-remove{width:42px!important;height:42px!important;font-size:30px!important;margin:auto!important}
  #wpcp-overlay .wpcp-qty button,#wpcp-overlay .wpcp-qty span{width:28px!important;height:30px!important}
  #wpcp-overlay .wpcp-total-row{padding:10px 2px!important;font-size:16px}
  #wpcp-overlay .wpcp-grand{font-size:19px!important}
  #wpcp-overlay .wpcp-field{margin-bottom:10px!important}
  #wpcp-overlay .wpcp-field label{font-size:17px!important;line-height:1.35;margin-bottom:5px!important}
  #wpcp-overlay .wpcp-field input,#wpcp-overlay .wpcp-field textarea,#wpcp-overlay .wpcp-field select{font-size:16px!important;padding:11px 12px!important;min-height:46px}
  #wpcp-overlay .wpcp-field textarea{min-height:96px}
  #wpcp-overlay .wpcp-submit-box{padding:12px!important;margin-top:8px!important;border-radius:14px!important}
  #wpcp-overlay .wpcp-submit-total{font-size:20px!important;margin-bottom:10px!important}
  #wpcp-overlay .wpcp-submit-total span{font-size:23px!important}
  #wpcp-overlay .wpcp-submit,
  #wpcp-overlay button#wpcp-submit{width:100%!important;min-width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;font-size:18px!important;padding:15px 12px!important;border-radius:12px!important;white-space:normal!important}
  #wpcp-overlay .wpcp-message{font-size:18px!important;font-weight:800!important}
}
@media(max-width:380px){
  #wpcp-overlay{padding:4px!important}
  #wpcp-overlay .wpcp-modal{margin:4px auto!important;max-height:calc(100dvh - 8px)!important}
  #wpcp-overlay .wpcp-body{padding:10px 7px 14px!important}
  #wpcp-overlay .wpcp-product img{width:78px!important;height:78px!important;max-width:78px!important}
  #wpcp-overlay .wpcp-remove{width:38px!important;height:38px!important;font-size:27px!important;margin:auto!important}
  #wpcp-overlay .wpcp-submit{font-size:17px!important;padding:14px 8px!important}
}


/* v2.8 customer-facing payment notice */
#wpcp-overlay .wpcp-cod-notice{
  display:flex;
  align-items:center;
  gap:12px;
  margin:12px 0 10px;
  padding:14px 16px;
  border:2px solid #16a34a;
  border-radius:14px;
  background:linear-gradient(135deg,#f0fff5 0%,#ffffff 100%);
  box-shadow:0 5px 18px rgba(22,163,74,.12);
  color:#111;
  text-align:center;
}
#wpcp-overlay .wpcp-cod-notice-icon{
  flex:0 0 34px;
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#16a34a;
  color:#fff;
  font-size:22px;
  font-weight:900;
  line-height:1;
}
#wpcp-overlay .wpcp-cod-notice-text{
  flex:1;
  font-size:24px;
  line-height:1.35;
  font-weight:900;
  letter-spacing:.1px;
}
@media(max-width:700px){
  #wpcp-overlay .wpcp-cod-notice{
    gap:9px;
    margin:10px 0 9px;
    padding:12px 10px;
    border-radius:13px;
  }
  #wpcp-overlay .wpcp-cod-notice-icon{flex-basis:30px;width:30px;height:30px;font-size:19px}
  #wpcp-overlay .wpcp-cod-notice-text{font-size:21px;line-height:1.35}
}
@media(max-width:380px){
  #wpcp-overlay .wpcp-cod-notice-text{font-size:19px}
}


/* v2.9 redesigned order confirmation / thank-you page */
.wpcp-thankyou-page{position:relative;width:100%;max-width:960px;margin:24px auto;padding:38px 32px 30px;box-sizing:border-box;overflow:hidden;border:1px solid #e5f1e7;border-radius:26px;background:linear-gradient(145deg,#ffffff 0%,#fbfffc 100%);box-shadow:0 18px 55px rgba(24,91,45,.10);font-family:inherit;color:#171a18}
.wpcp-thankyou-page:before,.wpcp-thankyou-page:after{content:"";position:absolute;border-radius:50%;pointer-events:none;opacity:.55}
.wpcp-thankyou-page:before{width:260px;height:260px;left:-150px;top:-120px;background:#eefaf0}
.wpcp-thankyou-page:after{width:260px;height:260px;right:-150px;top:-120px;background:#f0faf2}
.wpcp-thankyou-hero{position:relative;z-index:1;text-align:center}
.wpcp-thankyou-check{width:108px;height:108px;margin:0 auto 18px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:linear-gradient(145deg,#39df58,#079b35);color:#fff;font-size:72px;font-weight:900;line-height:1;box-shadow:0 0 0 18px rgba(42,196,75,.07),0 12px 30px rgba(12,148,52,.24);animation:wpcp-thankyou-pop .55s ease-out both}
.wpcp-thankyou-page h1{margin:0 auto 24px;max-width:820px;color:#176b2f;font-size:clamp(30px,5vw,58px);line-height:1.12;font-weight:900;letter-spacing:-.5px}
.wpcp-thankyou-delivery-message{max-width:760px;margin:0 auto 28px;padding:18px 24px;display:flex;align-items:center;justify-content:center;gap:16px;border:1px solid #cdebd2;border-radius:18px;background:linear-gradient(135deg,#f6fff7,#eefaf0);color:#202522;font-size:clamp(19px,2.5vw,28px);font-weight:700;line-height:1.45;box-shadow:0 7px 20px rgba(40,137,62,.06)}
.wpcp-thankyou-clock{width:48px;height:48px;flex:0 0 48px;display:flex;align-items:center;justify-content:center;border:3px solid #2ab950;border-radius:50%;color:#1da442;font-size:34px;font-weight:900}
.wpcp-thankyou-summary{position:relative;z-index:1;max-width:800px;margin:0 auto 24px;padding:14px 22px;border:1px solid #edf0ed;border-radius:20px;background:#fff;box-shadow:0 10px 28px rgba(0,0,0,.07)}
.wpcp-thankyou-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 6px;border-bottom:1px solid #edf0ed;font-size:22px}
.wpcp-thankyou-row>span{display:flex;align-items:center;gap:12px;font-weight:700}.wpcp-thankyou-row strong{font-size:24px}.wpcp-thankyou-icon{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:#e8f8eb;font-size:21px}
.wpcp-thankyou-total-row{margin-top:10px;padding:17px 12px;border:1px solid #cdebd2;border-radius:15px;background:#f3fbf4}.wpcp-thankyou-total-row strong{color:#11833a;font-size:29px}
.wpcp-thankyou-order-info{position:relative;z-index:1;max-width:800px;margin:0 auto 24px;padding:22px;border:1px solid #edf0ed;border-radius:20px;background:#fff;box-shadow:0 10px 28px rgba(0,0,0,.06)}
.wpcp-thankyou-order-info-title{margin-bottom:20px;font-size:23px;font-weight:800;color:#187d39}.wpcp-thankyou-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0}.wpcp-thankyou-info-grid>div{min-width:0;padding:5px 16px;text-align:center;border-right:1px solid #e6e9e6}.wpcp-thankyou-info-grid>div:last-child{border-right:0}.wpcp-info-icon{display:block;margin:0 auto 9px;color:#15933e;font-size:30px;font-weight:800}.wpcp-thankyou-info-grid small{display:block;margin-bottom:8px;font-size:15px}.wpcp-thankyou-info-grid strong{display:block;font-size:19px;line-height:1.25;word-break:break-word}
.wpcp-thankyou-note{position:relative;z-index:1;max-width:800px;margin:0 auto 22px;padding:17px 24px;display:flex;align-items:center;gap:18px;border:1px solid #f6e5b8;border-radius:18px;background:linear-gradient(135deg,#fffaf0,#fff5dc)}.wpcp-thankyou-heart{width:58px;height:58px;flex:0 0 58px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#fff;color:#ef3e3e;font-size:30px;box-shadow:0 5px 15px rgba(0,0,0,.08)}.wpcp-thankyou-note strong{display:block;color:#a96200;font-size:24px}.wpcp-thankyou-note p{margin:3px 0 0;font-size:16px}.wpcp-thankyou-bag{margin-left:auto;font-size:48px}
.wpcp-thankyou-back{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:10px;width:100%;max-width:800px;margin:0 auto;padding:18px 22px;box-sizing:border-box;border-radius:17px;background:linear-gradient(135deg,#28c64b,#07953a);color:#fff!important;text-decoration:none!important;font-size:clamp(20px,3vw,28px);font-weight:900;line-height:1.25;box-shadow:0 10px 22px rgba(13,150,58,.28);transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}.wpcp-thankyou-back:hover{color:#fff!important;transform:translateY(-2px);filter:saturate(1.08);box-shadow:0 14px 28px rgba(13,150,58,.34)}.wpcp-thankyou-back span{font-size:38px;line-height:1}
@keyframes wpcp-thankyou-pop{0%{opacity:0;transform:scale(.65)}70%{transform:scale(1.08)}100%{opacity:1;transform:scale(1)}}
@media(max-width:700px){.wpcp-thankyou-page{margin:10px auto;padding:25px 12px 18px;border-radius:18px}.wpcp-thankyou-check{width:82px;height:82px;font-size:55px;margin-bottom:14px}.wpcp-thankyou-page h1{font-size:31px;line-height:1.22;margin-bottom:18px}.wpcp-thankyou-delivery-message{padding:14px 12px;gap:11px;font-size:19px;line-height:1.45;margin-bottom:18px}.wpcp-thankyou-clock{width:40px;height:40px;flex-basis:40px;font-size:28px;border-width:2px}.wpcp-thankyou-summary{padding:8px 12px;border-radius:16px;margin-bottom:16px}.wpcp-thankyou-row{padding:13px 2px;font-size:18px}.wpcp-thankyou-row strong{font-size:19px}.wpcp-thankyou-icon{width:36px;height:36px;border-radius:10px;font-size:18px}.wpcp-thankyou-total-row{padding:14px 8px}.wpcp-thankyou-total-row strong{font-size:24px}.wpcp-thankyou-order-info{padding:16px 10px;border-radius:16px;margin-bottom:16px}.wpcp-thankyou-order-info-title{font-size:20px;margin-bottom:14px}.wpcp-thankyou-info-grid{grid-template-columns:repeat(2,1fr);row-gap:16px}.wpcp-thankyou-info-grid>div{padding:3px 8px;border-right:1px solid #e6e9e6}.wpcp-thankyou-info-grid>div:nth-child(2){border-right:0}.wpcp-thankyou-info-grid>div:nth-child(3),.wpcp-thankyou-info-grid>div:nth-child(4){border-top:1px solid #e6e9e6;padding-top:15px}.wpcp-info-icon{font-size:24px;margin-bottom:5px}.wpcp-thankyou-info-grid small{font-size:13px;margin-bottom:5px}.wpcp-thankyou-info-grid strong{font-size:16px}.wpcp-thankyou-note{padding:13px 12px;gap:10px;border-radius:15px}.wpcp-thankyou-heart{width:48px;height:48px;flex-basis:48px;font-size:25px}.wpcp-thankyou-note strong{font-size:20px}.wpcp-thankyou-note p{font-size:13px}.wpcp-thankyou-bag{font-size:35px}.wpcp-thankyou-back{padding:16px 10px;font-size:20px;border-radius:15px}.wpcp-thankyou-back span{font-size:31px}}


/* v2.10: compact, single-screen order confirmation layout. Checkout popup styles are untouched. */
body:has(.wpcp-thankyou-page){overflow-x:hidden}
.wpcp-thankyou-page{max-width:960px;margin:10px auto;padding:16px 20px 14px;border-radius:22px}
.wpcp-thankyou-check{width:72px;height:72px;font-size:48px;margin-bottom:9px;box-shadow:0 0 0 11px rgba(42,196,75,.07),0 8px 20px rgba(12,148,52,.20)}
.wpcp-thankyou-page h1{font-size:clamp(27px,4vw,48px);line-height:1.08;margin-bottom:11px}
.wpcp-thankyou-delivery-message{padding:10px 16px;gap:11px;font-size:clamp(16px,2vw,22px);line-height:1.25;margin-bottom:12px}
.wpcp-thankyou-clock{width:38px;height:38px;flex-basis:38px;font-size:27px;border-width:2px}
.wpcp-thankyou-summary{margin-bottom:12px;padding:6px 16px;border-radius:16px}
.wpcp-thankyou-row{padding:8px 3px;font-size:18px;line-height:1.15}
.wpcp-thankyou-row strong{font-size:19px}
.wpcp-thankyou-icon{width:32px;height:32px;border-radius:9px;font-size:16px}
.wpcp-thankyou-total-row{margin-top:5px;padding:9px 8px}
.wpcp-thankyou-total-row strong{font-size:23px}
.wpcp-thankyou-order-info{margin-bottom:12px;padding:11px 14px;border-radius:16px}
.wpcp-thankyou-order-info-title{margin-bottom:9px;font-size:19px}
.wpcp-thankyou-info-grid>div{padding:2px 10px}
.wpcp-info-icon{font-size:23px;margin-bottom:3px}
.wpcp-thankyou-info-grid small{font-size:12px;margin-bottom:3px}
.wpcp-thankyou-info-grid strong{font-size:15px;line-height:1.15}
.wpcp-thankyou-note{margin-bottom:11px;padding:9px 14px;gap:10px;border-radius:14px}
.wpcp-thankyou-heart{width:42px;height:42px;flex-basis:42px;font-size:22px}
.wpcp-thankyou-note strong{font-size:18px}
.wpcp-thankyou-note p{font-size:12px;margin:1px 0 0}
.wpcp-thankyou-bag{font-size:31px}
.wpcp-thankyou-back{padding:11px 16px;border-radius:14px;font-size:20px}
.wpcp-thankyou-back span{font-size:29px}

@media(max-width:700px){
  .wpcp-thankyou-page{width:calc(100% - 12px);margin:6px auto;padding:12px 9px 9px;border-radius:16px;box-shadow:0 10px 28px rgba(24,91,45,.08)}
  .wpcp-thankyou-page:before,.wpcp-thankyou-page:after{width:150px;height:150px}
  .wpcp-thankyou-check{width:56px;height:56px;font-size:37px;margin-bottom:6px;box-shadow:0 0 0 8px rgba(42,196,75,.07),0 6px 14px rgba(12,148,52,.18)}
  .wpcp-thankyou-page h1{font-size:25px;line-height:1.08;margin-bottom:7px;letter-spacing:0}
  .wpcp-thankyou-delivery-message{padding:7px 8px;gap:7px;font-size:15px;line-height:1.18;margin-bottom:8px;border-radius:11px}
  .wpcp-thankyou-clock{width:28px;height:28px;flex-basis:28px;font-size:19px}
  .wpcp-thankyou-summary{padding:4px 8px;margin-bottom:8px;border-radius:12px}
  .wpcp-thankyou-row{padding:6px 1px;font-size:15px;gap:7px}
  .wpcp-thankyou-row>span{gap:7px}
  .wpcp-thankyou-row strong{font-size:16px}
  .wpcp-thankyou-icon{width:27px;height:27px;border-radius:7px;font-size:14px}
  .wpcp-thankyou-total-row{margin-top:3px;padding:7px 5px}
  .wpcp-thankyou-total-row strong{font-size:19px}
  .wpcp-thankyou-order-info{padding:8px 6px;margin-bottom:8px;border-radius:12px}
  .wpcp-thankyou-order-info-title{font-size:16px;margin-bottom:6px}
  .wpcp-thankyou-info-grid{row-gap:0}
  .wpcp-thankyou-info-grid>div{padding:2px 5px}
  .wpcp-thankyou-info-grid>div:nth-child(3),.wpcp-thankyou-info-grid>div:nth-child(4){padding-top:7px}
  .wpcp-info-icon{font-size:18px;margin-bottom:2px}
  .wpcp-thankyou-info-grid small{font-size:10px;margin-bottom:2px}
  .wpcp-thankyou-info-grid strong{font-size:13px;line-height:1.1}
  .wpcp-thankyou-note{padding:6px 8px;margin-bottom:7px;gap:7px;border-radius:11px}
  .wpcp-thankyou-heart{width:34px;height:34px;flex-basis:34px;font-size:18px}
  .wpcp-thankyou-note strong{font-size:15px}
  .wpcp-thankyou-note p{font-size:10px}
  .wpcp-thankyou-bag{font-size:25px}
  .wpcp-thankyou-back{padding:9px 7px;font-size:17px;border-radius:11px}
  .wpcp-thankyou-back span{font-size:25px}
}

@media(max-width:700px) and (max-height:700px){
  .wpcp-thankyou-page{padding-top:8px;padding-bottom:7px}
  .wpcp-thankyou-check{width:46px;height:46px;font-size:30px;margin-bottom:4px}
  .wpcp-thankyou-page h1{font-size:21px;margin-bottom:5px}
  .wpcp-thankyou-delivery-message{font-size:13px;padding:5px 7px;margin-bottom:5px}
  .wpcp-thankyou-clock{width:23px;height:23px;flex-basis:23px;font-size:15px}
  .wpcp-thankyou-summary,.wpcp-thankyou-order-info{margin-bottom:5px}
  .wpcp-thankyou-row{padding:4px 1px;font-size:13px}
  .wpcp-thankyou-row strong{font-size:14px}
  .wpcp-thankyou-icon{width:23px;height:23px;font-size:12px}
  .wpcp-thankyou-total-row{padding:5px}
  .wpcp-thankyou-total-row strong{font-size:17px}
  .wpcp-thankyou-order-info{padding:5px}
  .wpcp-thankyou-order-info-title{font-size:14px;margin-bottom:3px}
  .wpcp-info-icon{font-size:15px}
  .wpcp-thankyou-info-grid small{font-size:9px}
  .wpcp-thankyou-info-grid strong{font-size:11px}
  .wpcp-thankyou-info-grid>div:nth-child(3),.wpcp-thankyou-info-grid>div:nth-child(4){padding-top:4px}
  .wpcp-thankyou-note{padding:4px 6px;margin-bottom:4px}
  .wpcp-thankyou-heart{width:27px;height:27px;flex-basis:27px;font-size:14px}
  .wpcp-thankyou-note strong{font-size:13px}
  .wpcp-thankyou-note p{font-size:9px}
  .wpcp-thankyou-bag{font-size:20px}
  .wpcp-thankyou-back{padding:7px 6px;font-size:14px}
  .wpcp-thankyou-back span{font-size:21px}
}

/* v2.11: never show the native/theme "Order received" title on WPCP thank-you pages. */
body.wpcp-thankyou-active .entry-title,
body.wpcp-thankyou-active .page-title,
body.wpcp-thankyou-active .woocommerce-page-title,
body.wpcp-thankyou-active .woocommerce-breadcrumb + h1,
body.wpcp-thankyou-active .woocommerce-notice-wrapper + h1{display:none!important}
body.wpcp-thankyou-active #wpcp-overlay{display:none!important}

/* v2.12: enhanced thank-you page typography and visual polish. Checkout popup styles remain unchanged. */
.wpcp-thankyou-page{
  max-width:980px;
  margin:14px auto;
  padding:28px 28px 24px;
  border-radius:28px;
  border:1px solid #dcefe0;
  background:
    radial-gradient(circle at 10% 0%,rgba(54,211,91,.10),transparent 24%),
    radial-gradient(circle at 90% 0%,rgba(54,211,91,.08),transparent 24%),
    linear-gradient(145deg,#ffffff 0%,#fafffb 100%);
  box-shadow:0 18px 48px rgba(18,108,48,.12), inset 0 1px 0 rgba(255,255,255,.85);
}
.wpcp-thankyou-check{
  width:88px;height:88px;font-size:60px;margin-bottom:11px;
  box-shadow:0 0 0 12px rgba(42,196,75,.08),0 12px 28px rgba(12,148,52,.24);
}
.wpcp-thankyou-page h1{
  max-width:900px;
  font-size:clamp(34px,5vw,62px);
  line-height:1.12;
  margin-bottom:14px;
  letter-spacing:-.7px;
  text-shadow:0 1px 0 rgba(255,255,255,.8);
}
.wpcp-thankyou-delivery-message{
  max-width:900px;
  padding:13px 20px;
  gap:13px;
  margin-bottom:14px;
  border-radius:17px;
  font-size:clamp(20px,2.6vw,30px);
  line-height:1.35;
  border:1px solid #c5e9cc;
  box-shadow:0 8px 22px rgba(40,137,62,.08);
}
.wpcp-thankyou-clock{width:44px;height:44px;flex-basis:44px;font-size:31px}
.wpcp-thankyou-summary{max-width:900px;margin-bottom:14px;padding:7px 18px;border-radius:18px;box-shadow:0 10px 28px rgba(0,0,0,.065)}
.wpcp-thankyou-row{padding:11px 5px;font-size:21px;line-height:1.2}
.wpcp-thankyou-row strong{font-size:24px}
.wpcp-thankyou-icon{width:38px;height:38px;border-radius:11px;font-size:19px}
.wpcp-thankyou-total-row{margin-top:6px;padding:11px 10px}
.wpcp-thankyou-total-row strong{font-size:28px}
.wpcp-thankyou-order-info{max-width:900px;margin-bottom:14px;padding:14px 18px;border-radius:18px;box-shadow:0 10px 28px rgba(0,0,0,.06)}
.wpcp-thankyou-order-info-title{margin-bottom:10px;font-size:21px}
.wpcp-thankyou-info-grid>div{padding:3px 12px}
.wpcp-info-icon{font-size:27px;margin-bottom:4px}
.wpcp-thankyou-info-grid small{font-size:14px;margin-bottom:4px}
.wpcp-thankyou-info-grid strong{font-size:18px;line-height:1.2}
.wpcp-thankyou-note{max-width:900px;margin-bottom:13px;padding:12px 18px;gap:12px;border-radius:16px}
.wpcp-thankyou-heart{width:50px;height:50px;flex-basis:50px;font-size:27px}
.wpcp-thankyou-note strong{font-size:21px}
.wpcp-thankyou-note p{font-size:14px;margin:2px 0 0}
.wpcp-thankyou-bag{font-size:38px}
.wpcp-thankyou-back{max-width:900px;padding:13px 18px;border-radius:15px;font-size:24px;box-shadow:0 10px 24px rgba(13,150,58,.30)}
.wpcp-thankyou-back span{font-size:34px}

@media(max-width:700px){
  .wpcp-thankyou-page{width:calc(100% - 10px);margin:5px auto;padding:15px 9px 10px;border-radius:18px}
  .wpcp-thankyou-check{width:66px;height:66px;font-size:44px;margin-bottom:6px;box-shadow:0 0 0 8px rgba(42,196,75,.08),0 8px 18px rgba(12,148,52,.20)}
  .wpcp-thankyou-page h1{font-size:30px;line-height:1.13;margin-bottom:8px;letter-spacing:-.2px}
  .wpcp-thankyou-delivery-message{padding:8px 9px;gap:8px;margin-bottom:9px;border-radius:12px;font-size:18px;line-height:1.28}
  .wpcp-thankyou-clock{width:31px;height:31px;flex-basis:31px;font-size:21px}
  .wpcp-thankyou-summary{padding:5px 8px;margin-bottom:9px;border-radius:13px}
  .wpcp-thankyou-row{padding:7px 1px;font-size:17px;gap:8px}
  .wpcp-thankyou-row strong{font-size:18px}
  .wpcp-thankyou-icon{width:29px;height:29px;border-radius:8px;font-size:15px}
  .wpcp-thankyou-total-row{margin-top:3px;padding:8px 5px}
  .wpcp-thankyou-total-row strong{font-size:22px}
  .wpcp-thankyou-order-info{padding:9px 6px;margin-bottom:9px;border-radius:13px}
  .wpcp-thankyou-order-info-title{font-size:18px;margin-bottom:7px}
  .wpcp-thankyou-info-grid>div{padding:2px 5px}
  .wpcp-info-icon{font-size:20px;margin-bottom:2px}
  .wpcp-thankyou-info-grid small{font-size:11px;margin-bottom:2px}
  .wpcp-thankyou-info-grid strong{font-size:14px;line-height:1.12}
  .wpcp-thankyou-note{padding:7px 8px;margin-bottom:8px;gap:8px;border-radius:12px}
  .wpcp-thankyou-heart{width:38px;height:38px;flex-basis:38px;font-size:20px}
  .wpcp-thankyou-note strong{font-size:17px}
  .wpcp-thankyou-note p{font-size:11px}
  .wpcp-thankyou-bag{font-size:27px}
  .wpcp-thankyou-back{padding:10px 8px;font-size:19px;border-radius:12px}
  .wpcp-thankyou-back span{font-size:27px}
}

@media(max-width:700px) and (max-height:700px){
  .wpcp-thankyou-page{padding-top:9px;padding-bottom:7px}
  .wpcp-thankyou-check{width:54px;height:54px;font-size:36px;margin-bottom:4px}
  .wpcp-thankyou-page h1{font-size:26px;margin-bottom:5px}
  .wpcp-thankyou-delivery-message{font-size:15px;padding:5px 7px;margin-bottom:5px}
  .wpcp-thankyou-clock{width:25px;height:25px;flex-basis:25px;font-size:17px}
  .wpcp-thankyou-row{padding:5px 1px;font-size:14px}
  .wpcp-thankyou-row strong{font-size:15px}
  .wpcp-thankyou-icon{width:24px;height:24px;font-size:12px}
  .wpcp-thankyou-total-row{padding:6px 5px}
  .wpcp-thankyou-total-row strong{font-size:19px}
  .wpcp-thankyou-order-info{padding:6px 5px;margin-bottom:5px}
  .wpcp-thankyou-order-info-title{font-size:15px;margin-bottom:3px}
  .wpcp-info-icon{font-size:16px}
  .wpcp-thankyou-info-grid small{font-size:9px}
  .wpcp-thankyou-info-grid strong{font-size:12px}
  .wpcp-thankyou-note{padding:5px 6px;margin-bottom:4px}
  .wpcp-thankyou-heart{width:29px;height:29px;flex-basis:29px;font-size:15px}
  .wpcp-thankyou-note strong{font-size:14px}
  .wpcp-thankyou-note p{font-size:9px}
  .wpcp-thankyou-bag{font-size:21px}
  .wpcp-thankyou-back{padding:7px 6px;font-size:15px}
  .wpcp-thankyou-back span{font-size:22px}
}



/* v2.13: larger, more premium thank-you page. Checkout popup is intentionally untouched. */
.wpcp-thankyou-page{
  max-width:1000px;
  margin:18px auto;
  padding:34px 34px 30px;
  border-radius:32px;
  border:1px solid #cfead5;
  background:
    radial-gradient(circle at 8% 0%,rgba(42,196,75,.16),transparent 27%),
    radial-gradient(circle at 92% 4%,rgba(42,196,75,.12),transparent 25%),
    linear-gradient(145deg,#ffffff 0%,#f6fff8 100%);
  box-shadow:0 24px 65px rgba(15,95,40,.15),inset 0 1px 0 rgba(255,255,255,.95);
  position:relative;
  overflow:hidden;
}
.wpcp-thankyou-page:before,.wpcp-thankyou-page:after{content:"";position:absolute;border-radius:50%;pointer-events:none;opacity:.5}
.wpcp-thankyou-page:before{width:190px;height:190px;right:-75px;top:120px;background:rgba(42,196,75,.07)}
.wpcp-thankyou-page:after{width:150px;height:150px;left:-65px;bottom:90px;background:rgba(42,196,75,.06)}
.wpcp-thankyou-hero,.wpcp-thankyou-summary,.wpcp-thankyou-order-info,.wpcp-thankyou-note,.wpcp-thankyou-back{position:relative;z-index:1}
.wpcp-thankyou-check{
  width:104px;height:104px;font-size:72px;margin-bottom:15px;
  box-shadow:0 0 0 14px rgba(42,196,75,.09),0 15px 32px rgba(12,148,52,.27);
  animation:wpcp-thankyou-pop .65s ease-out both;
}
@keyframes wpcp-thankyou-pop{0%{opacity:0;transform:scale(.72)}70%{transform:scale(1.06)}100%{opacity:1;transform:scale(1)}}
.wpcp-thankyou-page h1{
  max-width:940px;
  font-size:clamp(42px,5.6vw,70px);
  line-height:1.1;
  margin-bottom:17px;
  font-weight:900;
  letter-spacing:-1px;
  color:#125d29;
}
.wpcp-thankyou-delivery-message{
  max-width:940px;
  padding:16px 22px;
  gap:14px;
  margin-bottom:18px;
  border-radius:19px;
  font-size:clamp(23px,3vw,34px);
  line-height:1.35;
  font-weight:800;
  border:1px solid #b9e4c2;
  background:linear-gradient(135deg,#effff2,#ffffff);
  box-shadow:0 10px 28px rgba(40,137,62,.10);
}
.wpcp-thankyou-clock{width:50px;height:50px;flex-basis:50px;font-size:35px}
.wpcp-thankyou-summary{max-width:940px;margin-bottom:18px;padding:9px 20px;border-radius:20px;background:#fff;box-shadow:0 12px 32px rgba(0,0,0,.07)}
.wpcp-thankyou-row{padding:14px 7px;font-size:25px;line-height:1.25}
.wpcp-thankyou-row strong{font-size:28px}
.wpcp-thankyou-icon{width:43px;height:43px;border-radius:13px;font-size:21px}
.wpcp-thankyou-total-row{margin-top:7px;padding:14px 12px;border-radius:14px;background:linear-gradient(135deg,#effff2,#f8fff9)}
.wpcp-thankyou-total-row strong{font-size:33px}
.wpcp-thankyou-order-info{max-width:940px;margin-bottom:18px;padding:17px 20px;border-radius:20px;background:#fff;box-shadow:0 12px 32px rgba(0,0,0,.06)}
.wpcp-thankyou-order-info-title{margin-bottom:12px;font-size:25px;font-weight:900}
.wpcp-thankyou-info-grid>div{padding:4px 13px}
.wpcp-info-icon{font-size:30px;margin-bottom:5px}
.wpcp-thankyou-info-grid small{font-size:15px;margin-bottom:4px}
.wpcp-thankyou-info-grid strong{font-size:20px;line-height:1.2}
.wpcp-thankyou-note{max-width:940px;margin-bottom:16px;padding:14px 20px;gap:14px;border-radius:18px;background:linear-gradient(135deg,#fffdf2,#ffffff);border:1px solid #f0e4b8;box-shadow:0 9px 25px rgba(145,116,0,.08)}
.wpcp-thankyou-heart{width:56px;height:56px;flex-basis:56px;font-size:30px}
.wpcp-thankyou-note strong{font-size:24px}
.wpcp-thankyou-note p{font-size:15px;margin:3px 0 0}
.wpcp-thankyou-bag{font-size:43px}
.wpcp-thankyou-back{max-width:940px;padding:16px 20px;border-radius:17px;font-size:27px;font-weight:900;box-shadow:0 12px 28px rgba(13,150,58,.32);transition:transform .18s ease,box-shadow .18s ease}
.wpcp-thankyou-back:hover{transform:translateY(-2px);box-shadow:0 16px 32px rgba(13,150,58,.38)}
.wpcp-thankyou-back span{font-size:38px}

@media(max-width:700px){
  .wpcp-thankyou-page{width:calc(100% - 8px);margin:4px auto;padding:17px 10px 12px;border-radius:21px}
  .wpcp-thankyou-check{width:72px;height:72px;font-size:48px;margin-bottom:8px;box-shadow:0 0 0 9px rgba(42,196,75,.08),0 8px 18px rgba(12,148,52,.22)}
  .wpcp-thankyou-page h1{font-size:34px;line-height:1.1;margin-bottom:10px;letter-spacing:-.3px}
  .wpcp-thankyou-delivery-message{padding:10px 10px;gap:9px;margin-bottom:11px;border-radius:14px;font-size:20px;line-height:1.28}
  .wpcp-thankyou-clock{width:34px;height:34px;flex-basis:34px;font-size:23px}
  .wpcp-thankyou-summary{padding:6px 9px;margin-bottom:11px;border-radius:15px}
  .wpcp-thankyou-row{padding:9px 2px;font-size:19px;gap:8px}
  .wpcp-thankyou-row strong{font-size:20px}
  .wpcp-thankyou-icon{width:32px;height:32px;border-radius:9px;font-size:16px}
  .wpcp-thankyou-total-row{margin-top:4px;padding:10px 6px}
  .wpcp-thankyou-total-row strong{font-size:24px}
  .wpcp-thankyou-order-info{padding:10px 7px;margin-bottom:11px;border-radius:15px}
  .wpcp-thankyou-order-info-title{font-size:20px;margin-bottom:7px}
  .wpcp-thankyou-info-grid>div{padding:3px 5px}
  .wpcp-info-icon{font-size:22px;margin-bottom:2px}
  .wpcp-thankyou-info-grid small{font-size:12px;margin-bottom:2px}
  .wpcp-thankyou-info-grid strong{font-size:15px;line-height:1.12}
  .wpcp-thankyou-note{padding:8px 9px;margin-bottom:9px;gap:9px;border-radius:13px}
  .wpcp-thankyou-heart{width:42px;height:42px;flex-basis:42px;font-size:22px}
  .wpcp-thankyou-note strong{font-size:19px}
  .wpcp-thankyou-note p{font-size:12px}
  .wpcp-thankyou-bag{font-size:29px}
  .wpcp-thankyou-back{padding:11px 9px;font-size:21px;border-radius:13px}
  .wpcp-thankyou-back span{font-size:29px}
}

@media(max-width:700px) and (max-height:700px){
  .wpcp-thankyou-page{padding-top:10px;padding-bottom:8px}
  .wpcp-thankyou-check{width:58px;height:58px;font-size:38px;margin-bottom:5px}
  .wpcp-thankyou-page h1{font-size:29px;margin-bottom:6px}
  .wpcp-thankyou-delivery-message{font-size:17px;padding:6px 8px;margin-bottom:6px}
  .wpcp-thankyou-clock{width:27px;height:27px;flex-basis:27px;font-size:18px}
  .wpcp-thankyou-summary,.wpcp-thankyou-order-info{margin-bottom:6px}
  .wpcp-thankyou-row{padding:5px 1px;font-size:15px}
  .wpcp-thankyou-row strong{font-size:16px}
  .wpcp-thankyou-icon{width:25px;height:25px;font-size:12px}
  .wpcp-thankyou-total-row{padding:7px 5px}
  .wpcp-thankyou-total-row strong{font-size:20px}
  .wpcp-thankyou-order-info{padding:6px 5px}
  .wpcp-thankyou-order-info-title{font-size:16px;margin-bottom:4px}
  .wpcp-info-icon{font-size:17px}
  .wpcp-thankyou-info-grid small{font-size:10px}
  .wpcp-thankyou-info-grid strong{font-size:12px}
  .wpcp-thankyou-note{padding:5px 6px;margin-bottom:5px}
  .wpcp-thankyou-heart{width:30px;height:30px;flex-basis:30px;font-size:16px}
  .wpcp-thankyou-note strong{font-size:15px}
  .wpcp-thankyou-note p{font-size:10px}
  .wpcp-thankyou-bag{font-size:22px}
  .wpcp-thankyou-back{padding:8px 7px;font-size:17px}
  .wpcp-thankyou-back span{font-size:23px}
}
