.tch-offer:not([open]),.tch-offer [hidden]{display:none!important}
.tch-offer[open]{display:block;position:fixed;inset:0;box-sizing:border-box;width:min(920px,94vw);max-width:none;max-height:min(91dvh,840px);height:fit-content;margin:auto;padding:0;overflow:auto;overscroll-behavior:contain;border:0;border-radius:15px;background:#fbefda;color:#25170f;text-align:left;box-shadow:0 18px 90px #21140849;font:16px/1.3 Georgia,'Times New Roman',serif;color-scheme:light}
.tch-offer::backdrop{background:rgba(41,31,25,.45)}
.tch-offer__canvas{box-sizing:border-box;position:relative;isolation:isolate;display:grid;align-items:center;min-height:clamp(435px,min(65vw,83dvh),715px);padding:clamp(34px,4vw,66px);background:var(--offer-photo) center / cover no-repeat}
.tch-offer__edge,.tch-offer__edge::before{position:absolute;inset:4px;pointer-events:none;border:1px solid #926c32;border-radius:12px;z-index:1}
.tch-offer__edge::before{content:"";inset:3px;border-color:#bd965a;border-radius:8px}
.tch-offer__edge i{position:absolute;top:8px;left:8px;width:18px;height:18px;border-top:1px solid #956c2f;border-left:1px solid #956c2f}
.tch-offer__edge i::before{content:"";position:absolute;inset:3px 4px 4px 3px;border-top:1px solid #956c2f;border-left:1px solid #956c2f}
.tch-offer__edge i:nth-child(2){inset:8px 8px auto auto;transform:rotate(90deg)}
.tch-offer__edge i:nth-child(3){inset:auto 8px 8px auto;transform:rotate(180deg)}
.tch-offer__edge i:nth-child(4){inset:auto auto 8px 8px;transform:rotate(270deg)}
.tch-offer__close{position:absolute;z-index:2;inset:14px 14px auto auto;display:grid;place-items:center;width:42px;height:42px;border:0;border-radius:50%;background:#fff5e4e8;color:#2a1c14;cursor:pointer}
.tch-offer .tch-offer__body{position:relative;width:min(55%,480px)}
.tch-offer h2.tch-offer__title{font-family:Georgia,'Times New Roman',serif;text-transform:none;letter-spacing:-.045em;line-height:1.08;color:#25170f;margin:0 0 clamp(18px,3vw,35px)}
.tch-offer__title span,.tch-offer__title strong{display:block;font-family:inherit;font-weight:500}
.tch-offer__title span{font-size:clamp(26px,3.45vw,48px)}
.tch-offer__title strong{font-size:clamp(48px,6.5vw,86px);letter-spacing:-.055em}
.tch-offer__form{width:min(100%,375px);margin:0;color:inherit}
.tch-offer__form label{display:block;font:bold 17px/1.4 Georgia,serif;margin:0 0 6px}
.tch-offer__input{display:flex;align-items:center;gap:12px;padding:0 13px;border:1.4px solid #524237;border-radius:4px;background:#fffcfa;color:#50473d}
.tch-offer__input input{box-sizing:border-box;flex:1;min-width:0;width:100%;height:48px;padding:0;border:0;background:transparent;box-shadow:none;font:16px/1.3 Georgia,serif;color:#25170f}
.tch-offer__input input::placeholder{color:#665c53;opacity:1}
.tch-offer__form label.tch-offer__consent{display:flex;align-items:center;gap:10px;min-height:44px;margin:5px 0 8px;font:15px/1.4 Georgia,serif;cursor:pointer}
.tch-offer__consent input{appearance:auto;position:static;opacity:1;accent-color:#750f27;width:18px;height:18px;margin:0;flex-shrink:0}
.tch-offer button:focus-visible,.tch-offer input:focus-visible{outline:2px solid #702138;outline-offset:2px}
.tch-offer .tch-offer__submit{display:block;width:100%;min-height:48px;background:#730c24;border:1px solid #6d1727;border-radius:3px;outline:1px solid #c5a465;outline-offset:-5px;color:#fff8eb;text-align:center;font:500 24px/1.2 Georgia,serif;cursor:pointer}
.tch-offer .tch-offer__submit:focus-visible{box-shadow:0 0 0 3px #fff3de,0 0 0 5px #60202e}
.tch-offer__form small{display:block;text-align:center;margin-top:6px;font:14px/1.4 Georgia,serif}
.tch-offer__form [role=alert],.tch-offer__form [data-sample-note]{margin:9px 0;font:14px/1.4 Arial,sans-serif}
.tch-offer__result output{display:block;overflow-wrap:anywhere;user-select:all;margin:8px 0 14px;font-weight:bold;font-size:22px}
@media(max-width:660px){
 .tch-offer[open]{width:min(93vw,425px);max-height:92dvh}
 .tch-offer__canvas{min-height:0;padding:clamp(155px,min(59vw,30dvh),265px) 23px 32px;background-image:var(--offer-phone);background-position:center 37%}
 .tch-offer .tch-offer__body,.tch-offer__form{width:100%}
 .tch-offer h2.tch-offer__title{margin:0 0 18px}
 .tch-offer__title span{font-size:clamp(23px,6.4vw,30px)}
 .tch-offer__title strong{font-size:clamp(43px,12vw,57px)}
 .tch-offer__close{inset:12px 12px auto auto;width:38px;height:38px}
 .tch-offer__input input{height:44px}
 .tch-offer__form label.tch-offer__consent{margin:1px 0 3px}
}
