:root{--inv-ink:#514746;--inv-pink:#f23067;--inv-line:#ece7e3;--inv-bg:#faf7f2}

.inv-editor{display:grid;grid-template-columns:minmax(380px,1fr) minmax(380px,1fr);gap:48px;align-items:start;max-width:1180px;margin:0 auto;padding:0 22px}

.woocommerce div.product .inv-product-editor{clear:both;float:none;width:100%;margin:10px 0 48px}
.inv-product-editor .inv-editor{max-width:1180px}

.woocommerce div.product:has(.inv-product-editor) .summary{display:none!important}

.inv-preview-wrap{position:sticky;top:24px;display:flex;justify-content:center}

.inv-canvas{display:block;width:100%;max-width:560px;height:auto;background:#fff4f6;box-shadow:0 15px 45px rgba(78,57,50,.1);border-radius:10px}

.inv-form{padding:36px 38px 30px;border:1px solid var(--inv-line);border-radius:20px;background:linear-gradient(180deg,#fff 0%,#fffdfc 100%);box-shadow:0 18px 55px rgba(62,45,38,.08)}

.inv-form-heading{margin:0 0 25px;padding:0 0 20px;border-bottom:1px solid #f1ece8}
.inv-form-heading p{margin:0 0 5px;color:#b56c7e;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.inv-form h2{margin:0;color:#443d3c;font-family:Georgia,serif;font-size:30px;line-height:1.2}

.inv-field-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;margin-bottom:17px}
.inv-field-row-full{grid-template-columns:1fr}
.inv-form label{display:block;margin:0;min-width:0}
.inv-form label span{display:block;margin-bottom:7px;color:#454141;font-weight:700;font-size:14px;line-height:1.35}
.inv-form small{color:#9c9692;font-weight:400}
.inv-form .inv-limit-hint{white-space:nowrap;font-size:11px}

.inv-form input{box-sizing:border-box;width:100%;height:52px;padding:0 15px;border:1px solid #ddd6d0;border-radius:11px;background:#fff;color:#3e3a39;font-size:16px;outline:none;transition:border-color .2s,box-shadow .2s,background .2s}
.inv-form input:hover{border-color:#cfc4bd}
.inv-form input:focus{border-color:#d98ba1;background:#fff;box-shadow:0 0 0 3px rgba(242,48,103,.08)}

.inv-form input[type=date],.inv-form input[type=time]{cursor:pointer}

.inv-form input.inv-limit-reached{border-color:#dc3545}
.inv-form input.inv-limit-reached:focus{box-shadow:0 0 0 3px rgba(220,53,69,.1)}
.inv-form .inv-limit-message{display:block;margin-top:6px;color:#cf2637;font-size:12px;font-weight:700;line-height:1.35}
.inv-form .inv-limit-message[hidden]{display:none}

.inv-buy,.inv-download{width:100%;min-height:60px;padding:14px 24px!important;border:0!important;border-radius:14px!important;background:linear-gradient(90deg,#f43a68,#ed2160)!important;color:#fff!important;font-size:19px!important;font-weight:800!important;cursor:pointer;box-shadow:0 10px 22px rgba(238,35,95,.2)}

.inv-form-footer{margin-top:7px;padding-top:20px;border-top:1px solid #f1ece8}
.inv-note{margin:11px 0 0;text-align:center;color:#827b77;font-size:13px}

.inv-order-links{margin:32px 0;padding:30px;border:1px solid #ece6e1;border-radius:20px;background:#fff;box-shadow:0 14px 42px rgba(52,42,36,.08)}
.inv-ready-heading{margin-bottom:22px}
.inv-ready-heading>span{color:#bd657d;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.inv-ready-heading h2{margin:4px 0 6px;font-family:Georgia,serif;font-size:30px;color:#342f2d}
.inv-ready-heading p{margin:0;color:#746d69}
.inv-ready-card+.inv-ready-card{margin-top:25px;padding-top:25px;border-top:1px solid #eee8e4}
.inv-ready-card h3{margin:0 0 12px}
.inv-link-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.inv-link-field input{box-sizing:border-box;width:100%;height:50px;padding:0 14px;border:1px solid #dcd4ce;border-radius:10px;background:#faf9f8;color:#514b48;font-size:14px}
.inv-link-field button{padding:0 18px;border:0;border-radius:10px;background:#2f2b29;color:#fff;font-weight:800;cursor:pointer}
.inv-link-field button.is-copied{background:#25834b}
.inv-primary-actions{display:flex;gap:10px;margin-top:12px}
.inv-action{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 18px;border-radius:10px;text-decoration:none!important;font-weight:800}
.inv-action-primary{background:#ef2e64;color:#fff!important}
.inv-action-secondary{background:#f1edef;color:#4c4542!important}
.inv-share-label{margin:22px 0 9px;color:#5d5652;font-size:13px;font-weight:800}
.inv-share-actions{display:flex;flex-wrap:wrap;gap:8px}
.inv-share{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border:0;border-radius:9px;color:#fff!important;text-decoration:none!important;font-size:13px;font-weight:800;cursor:pointer}
.inv-whatsapp{background:#1fa855}
.inv-facebook{background:#2764b8}
.inv-email{background:#706966}
.inv-more{background:#bd527b}

@media(max-width:820px){.inv-editor{grid-template-columns:1fr;gap:24px;padding:0 12px}
.inv-preview-wrap{position:relative;top:auto}
.inv-canvas{max-width:480px}
.inv-form{padding:26px 20px 22px;border-radius:18px}
.inv-form h2{font-size:25px}
.inv-form input{height:52px}
}

@media(max-width:520px){.inv-field-row{grid-template-columns:1fr;gap:15px;margin-bottom:15px}
.inv-form-heading{margin-bottom:21px}
}

@media(max-width:520px){.inv-order-links{padding:22px 16px}
.inv-link-field{grid-template-columns:1fr}
.inv-link-field button{min-height:46px}
.inv-primary-actions{flex-direction:column}
.inv-action{width:100%;box-sizing:border-box}
.inv-share{flex:1;justify-content:center;min-width:120px}
}
