.resapym-wrap{font-size:var(--resapym-font-size,15px);font-family:var(--resapym-font-family,'Josefin Sans',Arial,sans-serif)}
.resapym-open{background:var(--resapym-btn-bg,#111);color:var(--resapym-btn-text,#fff);border:0;border-radius:var(--resapym-button-radius,12px);padding:13px 20px;cursor:pointer;font-weight:700;box-shadow:0 8px 22px rgba(0,0,0,.12)}
.resapym-modal{display:none;position:fixed;inset:0;background:rgba(0,0,0,.58);z-index:999999;align-items:flex-start;justify-content:center;padding:120px 18px 24px}
.resapym-modal.active{display:flex}
.resapym-box{background:#fff;color:#222;font-family:var(--resapym-font-family,'Josefin Sans',Arial,sans-serif);width:min(620px,100%);max-height:calc(100vh - 150px);overflow:auto;border-radius:var(--resapym-popup-radius,18px);position:relative;box-shadow:0 24px 70px rgba(0,0,0,.30);font-size:var(--resapym-font-size,15px)}
.resapym-close{position:absolute;right:16px;top:14px;border:0;background:transparent;font-size:30px;line-height:1;cursor:pointer;z-index:5;color:var(--resapym-chrome-text,#111)}
.resapym-header{background:var(--resapym-chrome-bg,#fbf1df);color:var(--resapym-chrome-text,#2b2b2b);padding:18px 24px 16px}
.resapym-header h3{margin:0;padding-right:36px;font-size:1.42em;font-weight:500;letter-spacing:-.02em}
.resapym-steps{display:flex;gap:10px;margin:0;padding:18px 24px;background:var(--resapym-steps-bg,#fff)}
.resapym-steps span{flex:1;background:var(--resapym-step-inactive-bg,#eee);color:var(--resapym-step-inactive-text,#333);padding:12px 10px;border-radius:var(--resapym-button-radius,12px);text-align:center;font-size:.9em;font-weight:500}
.resapym-steps span.active{background:var(--resapym-btn-bg,#111);color:var(--resapym-btn-text,#fff);font-weight:700}
.resapym-form{position:relative;padding:0 24px 20px;overflow:hidden}
.resapym-form:before{content:"";position:absolute;inset:-24px;background:var(--resapym-bg);background-size:cover;background-position:center;filter:blur(var(--resapym-blur,6px));transform:scale(1.06);opacity:.55;z-index:0}.resapym-form:after{content:"";position:absolute;inset:0;background:var(--resapym-overlay-color,#000);opacity:var(--resapym-overlay-opacity,.2);z-index:0;pointer-events:none}
.resapym-step{display:none;position:relative;z-index:1;padding-top:2px}
.resapym-step.active{display:block}
.resapym-form label{display:block;margin:0 0 13px;font-weight:650;letter-spacing:-.01em}
.resapym-form input,.resapym-form select,.resapym-form textarea{width:100%;box-sizing:border-box;margin-top:6px;padding:13px 14px;border:1px solid rgba(0,0,0,.15);border-radius:var(--resapym-field-radius,14px);font-size:1em;background:rgba(255,255,255,var(--resapym-field-opacity,.92));box-shadow:0 8px 20px rgba(0,0,0,.05);outline:none;transition:border-color .15s,box-shadow .15s,background .15s}
.resapym-form input:focus,.resapym-form select:focus,.resapym-form textarea:focus{border-color:var(--resapym-btn-bg,#111);box-shadow:0 0 0 3px rgba(0,0,0,.08),0 10px 24px rgba(0,0,0,.07)}
.resapym-form button{background:var(--resapym-btn-bg,#111);color:var(--resapym-btn-text,#fff);border:0;border-radius:var(--resapym-button-radius,12px);padding:13px 18px;cursor:pointer;font-weight:750;box-shadow:0 10px 24px rgba(0,0,0,.16)}
.resapym-buttons{display:flex;gap:10px;justify-content:space-between;align-items:center;background:var(--resapym-chrome-bg,#fbf1df);color:var(--resapym-chrome-text,#2b2b2b);margin:18px -24px -20px;padding:16px 24px}
.resapym-prev,.resapym-close-secondary{background:#666!important;color:#fff!important}
.resapym-payment{background:rgba(255,255,255,var(--resapym-field-opacity,.92));border-radius:var(--resapym-field-radius,14px);padding:14px;margin:10px 0 16px;box-shadow:0 8px 22px rgba(0,0,0,.06)}
.resapym-result{background:#eef8ee;border:1px solid #b8dfb8;border-radius:var(--resapym-field-radius,14px);padding:16px;margin-bottom:15px}.resapym-error{background:#fff1f1;border-color:#e3a3a3}.resapym-capacity-help{display:block;margin-top:4px;font-weight:400;color:#555}.resapym-form input:invalid,.resapym-form select:invalid{border-color:#c55}.resapym-form input[readonly]{background:rgba(255,255,255,var(--resapym-field-opacity,.92));cursor:pointer}.resapym-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.resapym-row label{min-width:0}
.ui-datepicker{background:#fff;border:1px solid #ddd;border-radius:14px;padding:10px;box-shadow:0 12px 35px rgba(0,0,0,.22);z-index:1000000!important}.ui-datepicker-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.ui-datepicker-prev,.ui-datepicker-next{cursor:pointer;font-weight:700;padding:4px 8px}.ui-datepicker-title{font-weight:700}.ui-datepicker-calendar{border-collapse:collapse;width:100%;font-size:14px}.ui-datepicker-calendar th,.ui-datepicker-calendar td{text-align:center;padding:2px}.ui-datepicker-calendar a,.ui-datepicker-calendar span{display:block;padding:7px 9px;border-radius:9px;text-decoration:none}.ui-datepicker-calendar a{font-weight:700;color:#111;background:#f4f4f4}.ui-datepicker-unselectable span{font-weight:400;color:#aaa;background:#fafafa}.resapym-date-off span{opacity:.55}.ui-datepicker-today a{outline:1px solid #111}
@media(max-width:600px){.resapym-modal{padding:105px 12px 18px}.resapym-box{max-height:calc(100vh - 125px)}.resapym-header{padding:16px 18px 13px}.resapym-steps{display:block;padding:14px 18px}.resapym-steps span{display:block;margin-bottom:6px}.resapym-form{padding:0 18px 18px}.resapym-row{grid-template-columns:1fr}.resapym-buttons{position:sticky;bottom:0;margin:16px -18px -18px;padding:12px 18px}.ui-datepicker{max-width:calc(100vw - 28px)}}

/* ResaPym 3.2: premium themes */
.resapym-wrap:not(.resapym-theme-classic) .resapym-modal{align-items:center;padding:20px;background:rgba(15,18,17,.7);backdrop-filter:blur(6px)}
.resapym-wrap:not(.resapym-theme-classic) .resapym-box{width:min(700px,100%);max-height:calc(100dvh - 40px);border-radius:24px;background:#faf9f6;color:#252b22;box-shadow:0 32px 95px #0006}
.resapym-wrap:not(.resapym-theme-classic) .resapym-header{background:transparent;color:inherit;text-align:center;padding:28px 28px 14px}
.resapym-wrap:not(.resapym-theme-classic) .resapym-header h3{font-size:24px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;padding:0}
.resapym-wrap:not(.resapym-theme-classic) .resapym-steps{background:transparent;padding:10px 28px 23px;gap:8px}
.resapym-wrap:not(.resapym-theme-classic) .resapym-steps span{background:transparent;color:#7b8276;border-radius:0;border-bottom:2px solid #d9ded5;font-size:12px;padding:11px 4px}
.resapym-wrap:not(.resapym-theme-classic) .resapym-steps span.active{background:transparent;color:var(--accent,#455a3c);border-bottom-color:var(--accent,#455a3c)}
.resapym-wrap:not(.resapym-theme-classic) .resapym-form{padding:0 28px 20px}
.resapym-wrap:not(.resapym-theme-classic) .resapym-form:before,.resapym-wrap:not(.resapym-theme-classic) .resapym-form:after{display:none}
.resapym-wrap:not(.resapym-theme-classic) .resapym-form label{font-size:13px;font-weight:600;margin-bottom:15px}
.resapym-wrap:not(.resapym-theme-classic) .resapym-form input,.resapym-wrap:not(.resapym-theme-classic) .resapym-form select,.resapym-wrap:not(.resapym-theme-classic) .resapym-form textarea{background:#fff;color:inherit;border:1px solid #dfe3db;border-radius:12px;box-shadow:none;padding:13px;font-size:15px;min-height:46px}
.resapym-wrap:not(.resapym-theme-classic) .resapym-form input:focus,.resapym-wrap:not(.resapym-theme-classic) .resapym-form select:focus{border-color:var(--accent,#455a3c);box-shadow:0 0 0 3px #8c9d8229}
.resapym-wrap:not(.resapym-theme-classic) .resapym-buttons{background:transparent;color:inherit;border-top:1px solid #e5e8e1;margin:18px -28px -20px;padding:18px 28px}
.resapym-wrap:not(.resapym-theme-classic) .resapym-form button:not(.resapym-time-chip){background:var(--accent,#455a3c);color:#fff;border-radius:11px;box-shadow:none;min-height:46px}
.resapym-wrap:not(.resapym-theme-classic) .resapym-form .resapym-prev,.resapym-wrap:not(.resapym-theme-classic) .resapym-form .resapym-close-secondary{background:transparent!important;color:inherit!important;border:1px solid #cfd6cb!important}
.resapym-wrap:not(.resapym-theme-classic) .resapym-payment{background:#f0f2eb;box-shadow:none;border:1px solid #e0e5d9;border-radius:13px;padding:18px}
.resapym-wrap:not(.resapym-theme-classic) .resapym-time-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}
.resapym-wrap:not(.resapym-theme-classic) .resapym-time-chip{background:#fff;color:inherit;border:1px solid #d9dfd6;box-shadow:none;border-radius:9px;padding:8px 11px;cursor:pointer;font-size:12px}
.resapym-wrap:not(.resapym-theme-classic) .resapym-time-chip.selected{background:var(--accent,#455a3c);border-color:var(--accent,#455a3c);color:white}
.resapym-wrap:not(.resapym-theme-classic) .resapym-close{color:inherit}
.resapym-theme-premium{--accent:#455a3c}.resapym-theme-minimal{--accent:#161b1c}.resapym-theme-minimal .resapym-box{background:#fff!important}.resapym-theme-dark{--accent:#c2a36e}
.resapym-theme-dark .resapym-box{background:#20241f!important;color:#f5f0e7!important}.resapym-theme-dark .resapym-form input,.resapym-theme-dark .resapym-form select,.resapym-theme-dark .resapym-form textarea{background:#30372f!important;color:white!important;border-color:#535d50!important}.resapym-theme-dark .resapym-payment{background:#30372f!important;color:white!important;border-color:#535d50!important}.resapym-theme-dark .resapym-steps span{color:#bbb!important;border-color:#666!important}.resapym-theme-dark .resapym-steps span.active{color:#d6b983!important;border-color:#d6b983!important}.resapym-theme-dark .resapym-time-chip{background:#30372f!important;color:white!important}.resapym-theme-dark .resapym-time-chip.selected{background:#c2a36e!important;color:#1c1d1a!important}
@media(max-width:600px){.resapym-wrap:not(.resapym-theme-classic) .resapym-modal{padding:10px}.resapym-wrap:not(.resapym-theme-classic) .resapym-box{max-height:calc(100dvh - 20px)}.resapym-wrap:not(.resapym-theme-classic) .resapym-header{padding:20px 16px 8px}.resapym-wrap:not(.resapym-theme-classic) .resapym-steps{display:flex;padding:9px 14px 17px;gap:4px}.resapym-wrap:not(.resapym-theme-classic) .resapym-steps span{display:block;margin:0;font-size:10px;padding:8px 2px}.resapym-wrap:not(.resapym-theme-classic) .resapym-form{padding:0 16px 16px}.resapym-wrap:not(.resapym-theme-classic) .resapym-row{grid-template-columns:1fr 1fr;gap:9px}.resapym-wrap:not(.resapym-theme-classic) .resapym-buttons{margin:14px -16px -16px;padding:12px 16px}}

/* V3.3 PREMIUM — split layout, image, step circles, gold details */
.resapym-wrap:not(.resapym-theme-classic) .resapym-box{width:min(1050px,100%);max-height:calc(100dvh - 36px);border-radius:24px;background:#faf9f6;overflow:auto}
.resapym-wrap:not(.resapym-theme-classic) .resapym-header{padding:20px 36px 7px;text-align:center}
.resapym-wrap:not(.resapym-theme-classic) .resapym-brand-symbol{font-size:21px;color:#b7965c;line-height:1}
.resapym-wrap:not(.resapym-theme-classic) .resapym-header h3{font-size:23px;letter-spacing:.11em;margin:5px 0}
.resapym-wrap:not(.resapym-theme-classic) .resapym-brand-subtitle{font-size:10px;letter-spacing:.3em;color:#a48a63}
.resapym-wrap:not(.resapym-theme-classic) .resapym-steps{justify-content:center;gap:25px;padding:14px 28px 19px}
.resapym-wrap:not(.resapym-theme-classic) .resapym-steps span{display:flex;flex:0 1 200px;align-items:center;justify-content:center;gap:9px;border:0;background:transparent!important;color:#777!important;font-size:12px;font-weight:500;padding:3px!important}
.resapym-wrap:not(.resapym-theme-classic) .resapym-steps b{display:inline-flex;align-items:center;justify-content:center;width:29px;height:29px;border:1px solid #c8c4b9;border-radius:50%;font-size:12px;color:#6e7268;font-weight:600;flex:none}
.resapym-wrap:not(.resapym-theme-classic) .resapym-steps span.active b{background:#455a3c;border-color:#455a3c;color:white}
.resapym-wrap:not(.resapym-theme-classic) .resapym-steps span.active em{color:#455a3c;font-weight:700}
.resapym-wrap:not(.resapym-theme-classic) .resapym-steps em{font-style:normal}
.resapym-wrap:not(.resapym-theme-classic) .resapym-layout{display:grid;grid-template-columns:38% minmax(0,1fr);border-top:1px solid #ebe9e2}
.resapym-wrap:not(.resapym-theme-classic) .resapym-visual{background:#263326;min-height:520px;color:#f9f5e9;display:flex;flex-direction:column}
.resapym-wrap:not(.resapym-theme-classic) .resapym-visual-image{min-height:280px;flex:1;background-image:linear-gradient(0deg,#263326 0%,transparent 55%),var(--resapym-bg);background-position:center;background-size:cover;position:relative}
.resapym-wrap:not(.resapym-theme-classic) .resapym-visual-label{position:absolute;top:20px;left:24px;color:#e6c99c;font-size:10px;letter-spacing:.14em;font-weight:700}
.resapym-wrap:not(.resapym-theme-classic) .resapym-visual-bottom{padding:0 26px 27px}
.resapym-wrap:not(.resapym-theme-classic) .resapym-visual-title{font-family:Georgia,serif;font-size:clamp(22px,2.7vw,33px);line-height:1.2;letter-spacing:-.025em;margin:0 0 26px}
.resapym-wrap:not(.resapym-theme-classic) .resapym-visual-title i{color:#dbbb80;font-weight:400}
.resapym-wrap:not(.resapym-theme-classic) .resapym-mini-summary{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;border-top:1px solid #657263;padding-top:16px}
.resapym-wrap:not(.resapym-theme-classic) .resapym-mini-summary span{display:block;font-size:9px;letter-spacing:.13em;color:#d1b98e;margin-bottom:7px}
.resapym-wrap:not(.resapym-theme-classic) .resapym-mini-summary strong{display:block;font-size:12px;line-height:1.3;font-weight:500;overflow-wrap:anywhere}
.resapym-wrap:not(.resapym-theme-classic) .resapym-form{padding:28px 34px 22px;min-width:0;overflow:visible}
.resapym-wrap:not(.resapym-theme-classic) .resapym-eyebrow{font-size:10px;color:#b28b4c;letter-spacing:.2em;font-weight:700;margin-bottom:9px}
.resapym-wrap:not(.resapym-theme-classic) .resapym-step-title{font-family:Georgia,serif;font-size:clamp(23px,2.5vw,31px);font-weight:400;line-height:1.2;margin:0 0 8px;color:inherit}
.resapym-wrap:not(.resapym-theme-classic) .resapym-step-lead{font-size:13px;color:#7b7c74;margin:0 0 23px}
.resapym-wrap:not(.resapym-theme-classic) .resapym-form label{font-size:12px;margin-bottom:14px}
.resapym-wrap:not(.resapym-theme-classic) .resapym-form input,.resapym-wrap:not(.resapym-theme-classic) .resapym-form select,.resapym-wrap:not(.resapym-theme-classic) .resapym-form textarea{border-radius:10px;min-height:44px;margin-top:7px}
.resapym-wrap:not(.resapym-theme-classic) .resapym-buttons{margin:21px -34px -22px;padding:17px 34px;border-top:1px solid #e9e7e1}
.resapym-wrap:not(.resapym-theme-classic) .resapym-buttons button{font-size:12px}
.resapym-wrap:not(.resapym-theme-classic) .resapym-review-card{border:1px solid #e4e5dc;border-radius:15px;background:white;padding:13px 17px}
.resapym-wrap:not(.resapym-theme-classic) .resapym-review-line,.resapym-wrap:not(.resapym-theme-classic) .resapym-review-total{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #eeefe9;padding:9px 0;font-size:12px}
.resapym-wrap:not(.resapym-theme-classic) .resapym-review-line span{color:#75786e}
.resapym-wrap:not(.resapym-theme-classic) .resapym-review-line strong{text-align:right;font-weight:600}
.resapym-wrap:not(.resapym-theme-classic) .resapym-review-total{border:0;padding:14px 0 3px;color:#455a3c;font-size:14px;font-weight:700}
.resapym-wrap:not(.resapym-theme-classic) .resapym-trust{display:flex;flex-wrap:wrap;gap:9px 16px;margin:17px 0;font-size:11px;color:#63695c}
.resapym-wrap:not(.resapym-theme-classic) .resapym-trust span{color:#b99658;font-size:18px;vertical-align:middle;margin-right:3px}
.resapym-wrap:not(.resapym-theme-classic) .resapym-result{font-size:15px;line-height:1.65;padding:24px}
.resapym-wrap:not(.resapym-theme-classic) .resapym-result-close{margin-top:16px}
.resapym-theme-minimal .resapym-visual{background:#242b2d!important}
.resapym-theme-dark .resapym-layout{border-color:#4b5049!important}
.resapym-theme-dark .resapym-visual{background:#141c17!important}
.resapym-theme-dark .resapym-step-lead{color:#b2b7ae!important}
.resapym-theme-dark .resapym-review-card{background:#30372f!important;border-color:#535d50!important}
.resapym-theme-dark .resapym-review-line{border-color:#535d50!important}
.resapym-theme-dark .resapym-steps span.active b{background:#bfa06b!important;border-color:#bfa06b!important;color:#1b1e19!important}
.resapym-theme-dark .resapym-steps span.active em{color:#d6b983!important}
@media(max-width:780px){
.resapym-wrap:not(.resapym-theme-classic) .resapym-box{width:min(610px,100%);max-height:calc(100dvh - 20px)}
.resapym-wrap:not(.resapym-theme-classic) .resapym-layout{grid-template-columns:1fr}
.resapym-wrap:not(.resapym-theme-classic) .resapym-visual{min-height:0;display:block}
.resapym-wrap:not(.resapym-theme-classic) .resapym-visual-image{min-height:125px}
.resapym-wrap:not(.resapym-theme-classic) .resapym-visual-bottom{padding:12px 18px}
.resapym-wrap:not(.resapym-theme-classic) .resapym-visual-title{display:none}
.resapym-wrap:not(.resapym-theme-classic) .resapym-mini-summary{padding-top:0;border:0}
.resapym-wrap:not(.resapym-theme-classic) .resapym-form{padding:22px 20px 18px}
.resapym-wrap:not(.resapym-theme-classic) .resapym-buttons{margin:18px -20px -18px;padding:13px 20px}
}
@media(max-width:450px){
.resapym-wrap:not(.resapym-theme-classic) .resapym-header{padding:17px 26px 7px}
.resapym-wrap:not(.resapym-theme-classic) .resapym-header h3{font-size:18px}
.resapym-wrap:not(.resapym-theme-classic) .resapym-steps{gap:2px;padding:12px 6px}
.resapym-wrap:not(.resapym-theme-classic) .resapym-steps span{gap:4px;font-size:9px}
.resapym-wrap:not(.resapym-theme-classic) .resapym-steps b{width:24px;height:24px}
.resapym-wrap:not(.resapym-theme-classic) .resapym-visual-image{min-height:88px}
.resapym-wrap:not(.resapym-theme-classic) .resapym-row{grid-template-columns:1fr 1fr;gap:8px}
}
/* V3.3.1 — reference-matched restaurant checkout */
.resapym-wrap.resapym-theme-premium .resapym-modal{background:linear-gradient(#0007,#0008),var(--resapym-bg) center/cover fixed!important;align-items:center;padding:20px!important}
.resapym-wrap.resapym-theme-premium .resapym-box{width:min(1178px,calc(100vw - 40px))!important;max-height:calc(100dvh - 40px)!important;overflow:auto!important;border-radius:17px!important;background:#f8f7f5!important;box-shadow:0 25px 80px #0005!important;color:#262c1b!important}
.resapym-wrap.resapym-theme-premium .resapym-header{background:transparent!important;padding:18px 55px 4px!important;text-align:center!important}
.resapym-wrap.resapym-theme-premium .resapym-brand-symbol{height:31px!important}
.resapym-wrap.resapym-theme-premium .resapym-brand-symbol svg{height:31px;width:85px;fill:none;stroke:#a47b30;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.resapym-wrap.resapym-theme-premium .resapym-header h3{font-family:var(--resapym-font-family)!important;font-size:27px!important;font-weight:500!important;letter-spacing:.13em!important;margin:0!important;color:#22271c!important}
.resapym-wrap.resapym-theme-premium .resapym-brand-subtitle{font-size:12px!important;letter-spacing:.2em!important;color:#96938d!important}
.resapym-wrap.resapym-theme-premium .resapym-close{top:25px!important;right:28px!important;color:#262626!important;font-size:34px!important;font-weight:300!important}
.resapym-wrap.resapym-theme-premium .resapym-steps{background:transparent!important;padding:22px 80px 26px!important;gap:0!important}
.resapym-wrap.resapym-theme-premium .resapym-steps span{flex:1!important;position:relative!important;white-space:nowrap!important;font-size:15px!important;color:#858585!important;gap:10px!important}
.resapym-wrap.resapym-theme-premium .resapym-steps span:not(:last-child):after{content:'';height:1px;background:#d6d3cb;flex:1;margin:0 12px}
.resapym-wrap.resapym-theme-premium .resapym-steps b{width:38px!important;height:38px!important;border:0!important;background:#929292!important;color:white!important;font-size:15px!important;font-weight:500!important}
.resapym-wrap.resapym-theme-premium .resapym-steps span.active b{background:#a37d3a!important}
.resapym-wrap.resapym-theme-premium .resapym-steps span.active em{color:#353e20!important}
.resapym-wrap.resapym-theme-premium .resapym-layout{border:0!important;grid-template-columns:40% 1fr!important;gap:32px!important;padding:0 38px 38px!important}
.resapym-wrap.resapym-theme-premium .resapym-visual{min-height:0!important;background:#fff!important;color:#303328!important;border-radius:16px!important;overflow:hidden!important;box-shadow:0 4px 20px #00000006}
.resapym-wrap.resapym-theme-premium .resapym-visual-image{min-height:320px!important;flex:none!important;background-image:linear-gradient(0deg,#000b,transparent 58%),var(--resapym-bg)!important;background-position:center!important;background-size:cover!important;position:relative!important}
.resapym-wrap.resapym-theme-premium .resapym-visual-bottom{position:absolute!important;bottom:0!important;left:0!important;right:0!important;padding:20px 28px 25px!important;color:white!important}
.resapym-wrap.resapym-theme-premium .resapym-visual-title{font-family:var(--resapym-font-family)!important;font-size:28px!important;font-weight:600!important;line-height:1.1!important;margin:0 0 7px!important;display:block!important}
.resapym-wrap.resapym-theme-premium .resapym-visual-restaurant{font-size:19px!important}
.resapym-wrap.resapym-theme-premium .resapym-mini-summary{display:block!important;padding:12px 28px!important;border:0!important}
.resapym-wrap.resapym-theme-premium .resapym-summary-edit{display:grid!important;grid-template-columns:30px 135px minmax(0,1fr)!important;gap:12px!important;align-items:center!important;width:100%!important;padding:12px 0!important;background:transparent!important;color:#303328!important;border:0!important;border-radius:0!important;text-align:left!important;cursor:pointer!important;font-family:inherit!important}
.resapym-wrap.resapym-theme-premium .resapym-summary-edit:hover{background:#f7f3ea!important}
.resapym-wrap.resapym-theme-premium .resapym-summary-edit .resapym-icon{font-size:22px!important;color:#48532c!important}
.resapym-wrap.resapym-theme-premium .resapym-summary-edit span:nth-child(2){font-size:14px!important;color:#777!important;letter-spacing:0!important;margin:0!important}
.resapym-wrap.resapym-theme-premium .resapym-summary-edit strong{font-size:14px!important;color:#262b20!important;font-weight:500!important;overflow-wrap:anywhere!important}
.resapym-wrap.resapym-theme-premium .resapym-summary-modify{margin:9px 5% 23px!important;width:90%!important;padding:15px!important;background:white!important;color:#926c2f!important;border:1px solid #d8c6a5!important;border-radius:13px!important;font-size:14px!important;font-weight:600!important;cursor:pointer!important}
.resapym-wrap.resapym-theme-premium .resapym-form{padding:35px 20px 12px!important;min-width:0!important}
.resapym-wrap.resapym-theme-premium .resapym-step-title{font-family:var(--resapym-font-family)!important;font-size:clamp(25px,2.8vw,36px)!important;line-height:1.22!important;font-weight:700!important;color:#2c361e!important;margin:0 0 12px!important}
.resapym-wrap.resapym-theme-premium .resapym-title-rule{width:75px;height:3px;background:#a9813e;margin:0 0 24px}
.resapym-wrap.resapym-theme-premium .resapym-step-lead{font-size:17px!important;color:#60615b!important;line-height:1.65!important;margin:0 0 27px!important}
.resapym-wrap.resapym-theme-premium .resapym-step-lead strong{color:#30391e!important}
.resapym-wrap.resapym-theme-premium .resapym-trust{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:10px!important;margin:30px 0!important;color:#28301d!important;text-align:center!important}
.resapym-wrap.resapym-theme-premium .resapym-trust>div{font-size:14px!important;line-height:1.4!important}
.resapym-wrap.resapym-theme-premium .resapym-trust strong{font-weight:500!important}
.resapym-wrap.resapym-theme-premium .resapym-trust-icon{width:65px;height:65px;margin:0 auto 12px!important;border-radius:50%;background:#f5f0e7;color:#a37a33!important;display:flex;align-items:center;justify-content:center;font-size:32px!important}
.resapym-wrap.resapym-theme-premium .resapym-payment-summary{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:23px 24px;background:#f1f0ed;border-radius:17px;margin:0 0 22px}
.resapym-wrap.resapym-theme-premium .resapym-payment-summary>div:first-child>span{font-size:16px;color:#555}
.resapym-wrap.resapym-theme-premium .resapym-payment-total{display:block;font-size:28px;font-weight:700;margin-top:10px;color:#252b1b}
.resapym-wrap.resapym-theme-premium .resapym-stripe-note{text-align:right;color:#777;font-size:11px;line-height:1.3}
.resapym-wrap.resapym-theme-premium .resapym-stripe-note strong{display:block;color:#6557f6;font-size:35px;font-weight:800;letter-spacing:-.08em}
.resapym-wrap.resapym-theme-premium .resapym-final-submit{display:block!important;width:100%!important;padding:20px 12px!important;background:#43522b!important;color:white!important;border-radius:15px!important;border:0!important;font-size:17px!important;font-weight:600!important;cursor:pointer!important}
.resapym-wrap.resapym-theme-premium .resapym-secure-caption{text-align:center;color:#8a8a87;font-size:13px;line-height:1.6;margin:14px 0 0}
.resapym-wrap.resapym-theme-premium .resapym-review-content{padding:0!important}
@media(max-width:820px){.resapym-wrap.resapym-theme-premium .resapym-layout{grid-template-columns:1fr!important;gap:18px!important;padding:0 15px 20px!important}.resapym-wrap.resapym-theme-premium .resapym-visual-image{min-height:180px!important}.resapym-wrap.resapym-theme-premium .resapym-mini-summary{padding:10px 18px!important}.resapym-wrap.resapym-theme-premium .resapym-summary-edit{grid-template-columns:24px 120px 1fr!important;padding:7px 0!important}.resapym-wrap.resapym-theme-premium .resapym-form{padding:18px 12px!important}.resapym-wrap.resapym-theme-premium .resapym-steps{padding:14px 6px!important}.resapym-wrap.resapym-theme-premium .resapym-steps span{font-size:11px!important}.resapym-wrap.resapym-theme-premium .resapym-steps b{width:29px!important;height:29px!important}.resapym-wrap.resapym-theme-premium .resapym-steps span:not(:last-child):after{display:none}}
@media(max-width:420px){.resapym-wrap.resapym-theme-premium .resapym-modal{padding:5px!important}.resapym-wrap.resapym-theme-premium .resapym-box{width:100%!important;max-height:calc(100dvh - 10px)!important}.resapym-wrap.resapym-theme-premium .resapym-header h3{font-size:19px!important}.resapym-wrap.resapym-theme-premium .resapym-brand-subtitle{font-size:9px!important}.resapym-wrap.resapym-theme-premium .resapym-steps span{gap:3px!important;font-size:9px!important}.resapym-wrap.resapym-theme-premium .resapym-trust>div{font-size:11px!important}.resapym-wrap.resapym-theme-premium .resapym-trust-icon{width:47px;height:47px;font-size:24px!important}.resapym-wrap.resapym-theme-premium .resapym-payment-summary{padding:16px 12px}.resapym-wrap.resapym-theme-premium .resapym-final-submit{font-size:14px!important}}

/* V3.3.2: photo ambience + compact 85vh desktop */
.resapym-wrap.resapym-theme-premium .resapym-modal{
 background-image:linear-gradient(90deg,rgba(10,12,10,.40),rgba(10,12,10,.25)),var(--resapym-ambient-photo)!important;
 background-size:cover!important;background-position:center!important;
 padding:2vh 22px!important;align-items:center!important;
}
.resapym-wrap.resapym-theme-premium .resapym-box{
 max-height:85dvh!important;max-height:85vh!important;
 overflow-y:auto!important;overscroll-behavior:contain;
 width:min(1080px,calc(100vw - 44px))!important;
}
.resapym-wrap.resapym-theme-premium .resapym-header{padding:8px 42px 0!important}
.resapym-wrap.resapym-theme-premium .resapym-brand-symbol,.resapym-wrap.resapym-theme-premium .resapym-brand-symbol svg{height:21px!important}
.resapym-wrap.resapym-theme-premium .resapym-header h3{font-size:22px!important;line-height:1.15!important}
.resapym-wrap.resapym-theme-premium .resapym-brand-subtitle{font-size:10px!important}
.resapym-wrap.resapym-theme-premium .resapym-close{top:10px!important;right:20px!important}
.resapym-wrap.resapym-theme-premium .resapym-steps{padding:8px 65px 12px!important}
.resapym-wrap.resapym-theme-premium .resapym-steps span{font-size:12px!important}
.resapym-wrap.resapym-theme-premium .resapym-steps b{width:29px!important;height:29px!important;font-size:12px!important}
.resapym-wrap.resapym-theme-premium .resapym-layout{gap:26px!important;padding:0 30px 20px!important;grid-template-columns:40% minmax(0,1fr)!important}
.resapym-wrap.resapym-theme-premium .resapym-visual-image{min-height:215px!important;background-image:linear-gradient(0deg,#000a,transparent 60%),var(--resapym-bg,var(--resapym-default-photo))!important}
.resapym-wrap.resapym-theme-premium .resapym-visual-bottom{padding:12px 22px 16px!important}
.resapym-wrap.resapym-theme-premium .resapym-visual-title{font-size:23px!important}
.resapym-wrap.resapym-theme-premium .resapym-visual-restaurant{font-size:15px!important}
.resapym-wrap.resapym-theme-premium .resapym-mini-summary{padding:5px 20px!important}
.resapym-wrap.resapym-theme-premium .resapym-summary-edit{grid-template-columns:24px 120px minmax(0,1fr)!important;gap:8px!important;padding:7px 0!important}
.resapym-wrap.resapym-theme-premium .resapym-summary-edit .resapym-icon{font-size:18px!important}
.resapym-wrap.resapym-theme-premium .resapym-summary-edit span:nth-child(2),.resapym-wrap.resapym-theme-premium .resapym-summary-edit strong{font-size:12px!important}
.resapym-wrap.resapym-theme-premium .resapym-summary-modify{margin:6px 5% 12px!important;padding:10px!important;font-size:12px!important}
.resapym-wrap.resapym-theme-premium .resapym-form{padding:12px 10px 5px!important}
.resapym-wrap.resapym-theme-premium .resapym-step-title{font-size:27px!important;margin-bottom:8px!important}
.resapym-wrap.resapym-theme-premium .resapym-title-rule{margin-bottom:14px!important}
.resapym-wrap.resapym-theme-premium .resapym-step-lead{font-size:14px!important;line-height:1.45!important;margin-bottom:12px!important}
.resapym-wrap.resapym-theme-premium .resapym-trust{margin:14px 0!important;gap:6px!important}
.resapym-wrap.resapym-theme-premium .resapym-trust>div{font-size:12px!important}
.resapym-wrap.resapym-theme-premium .resapym-trust-icon{width:46px;height:46px;margin-bottom:6px!important;font-size:23px!important}
.resapym-wrap.resapym-theme-premium .resapym-payment-summary{padding:12px 17px!important;margin-bottom:12px!important;border-radius:12px!important}
.resapym-wrap.resapym-theme-premium .resapym-payment-total{font-size:24px!important;margin-top:4px!important}
.resapym-wrap.resapym-theme-premium .resapym-final-submit{padding:14px 10px!important;font-size:14px!important;border-radius:12px!important}
.resapym-wrap.resapym-theme-premium .resapym-secure-caption{font-size:11px!important;margin-top:8px!important;line-height:1.4!important}
@media(max-width:820px){
 .resapym-wrap.resapym-theme-premium .resapym-box{max-height:85dvh!important}
 .resapym-wrap.resapym-theme-premium .resapym-layout{grid-template-columns:1fr!important;padding:0 15px 15px!important}
 .resapym-wrap.resapym-theme-premium .resapym-visual-image{min-height:145px!important}
 .resapym-wrap.resapym-theme-premium .resapym-steps{padding:10px 5px!important}
}
@media(max-height:740px) and (min-width:821px){
 .resapym-wrap.resapym-theme-premium .resapym-visual-image{min-height:155px!important}
 .resapym-wrap.resapym-theme-premium .resapym-summary-edit{padding:4px 0!important}
 .resapym-wrap.resapym-theme-premium .resapym-trust{margin:8px 0!important}
 .resapym-wrap.resapym-theme-premium .resapym-trust-icon{width:38px;height:38px;margin-bottom:4px!important}
}

/* V3.3.3 — floating dialog, not a full-screen white panel */
@media(min-width:821px){
.resapym-wrap.resapym-theme-premium .resapym-modal{
  padding:3vh 5vw!important; background-position:center center!important;
  background-repeat:no-repeat!important;background-size:cover!important;
}
.resapym-wrap.resapym-theme-premium .resapym-box{
  width:min(1060px,88vw)!important;
  max-height:none!important;height:auto!important;
  overflow:visible!important;flex-shrink:0!important;
  border-radius:20px!important;
}
.resapym-wrap.resapym-theme-premium .resapym-layout{gap:20px!important;padding:0 24px 18px!important}
.resapym-wrap.resapym-theme-premium .resapym-header{padding:6px 35px 0!important}
.resapym-wrap.resapym-theme-premium .resapym-steps{padding:5px 60px 8px!important}
.resapym-wrap.resapym-theme-premium .resapym-visual-image{min-height:175px!important}
.resapym-wrap.resapym-theme-premium .resapym-summary-edit{padding:5px 0!important}
.resapym-wrap.resapym-theme-premium .resapym-trust{margin:9px 0!important}
.resapym-wrap.resapym-theme-premium .resapym-trust-icon{width:42px!important;height:42px!important}
.resapym-wrap.resapym-theme-premium .resapym-form{padding:8px 8px 0!important}
.resapym-wrap.resapym-theme-premium .resapym-step-title{font-size:25px!important}
.resapym-wrap.resapym-theme-premium .resapym-step-lead{margin-bottom:8px!important}
.resapym-wrap.resapym-theme-premium .resapym-payment-summary{padding:10px 14px!important;margin-bottom:9px!important}
.resapym-wrap.resapym-theme-premium .resapym-final-submit{padding:12px!important}
}

/* V3.3.4: Divi-safe portal + bounded photographic backdrop */
.resapym-portal{position:relative;z-index:2147483000!important}
.resapym-wrap.resapym-theme-premium .resapym-modal{
  position:fixed!important;inset:0!important;z-index:2147483000!important;
  display:none;align-items:center!important;justify-content:center!important;
  padding:12px!important;box-sizing:border-box!important;
  background:rgba(12,14,12,.74)!important;
  isolation:isolate;overflow:hidden!important;
}
.resapym-wrap.resapym-theme-premium .resapym-modal.active{display:flex!important}
.resapym-wrap.resapym-theme-premium .resapym-modal::before{
  content:"";position:absolute;z-index:-1;pointer-events:none;
  width:min(1280px,96vw);height:min(94dvh,950px);
  left:50%;top:50%;transform:translate(-50%,-50%);
  background-image:linear-gradient(rgba(0,0,0,.25),rgba(0,0,0,.35)),var(--resapym-ambient-photo);
  background-position:center;background-size:cover;background-repeat:no-repeat;
  border-radius:24px;
}
@media(min-width:821px){
 .resapym-wrap.resapym-theme-premium .resapym-box{
  width:min(1030px,84vw)!important;
  max-width:calc(100vw - 48px)!important;
  max-height:85dvh!important;
  overflow:visible!important;
  flex-shrink:0!important;
  position:relative!important;
  margin:0 auto!important;
 }
}
@media(max-width:820px){
 .resapym-wrap.resapym-theme-premium .resapym-box{
  max-height:85dvh!important;overflow:auto!important;
 }
}

/* V3.3.5 — coherent card sizing, no overflow, genuine photo proportions */
.resapym-wrap.resapym-theme-premium .resapym-modal::before{
 background-image:linear-gradient(rgba(12,13,11,.42),rgba(12,13,11,.48)),var(--resapym-ambient-photo)!important;
 background-size:cover!important;background-position:center!important;
 width:min(1240px,94vw)!important;height:min(94dvh,930px)!important;
}
.resapym-wrap.resapym-theme-premium .resapym-box{
 overflow:hidden!important;display:flex!important;flex-direction:column!important;
}
.resapym-wrap.resapym-theme-premium .resapym-layout{
 display:grid!important;align-items:stretch!important;min-height:0!important;
}
.resapym-wrap.resapym-theme-premium .resapym-visual{
 position:relative!important;display:flex!important;flex-direction:column!important;
 align-self:stretch!important;height:auto!important;min-height:0!important;
}
.resapym-wrap.resapym-theme-premium .resapym-visual-image{
 flex:0 0 175px!important;min-height:175px!important;
 background-size:cover!important;background-position:center!important;
}
.resapym-wrap.resapym-theme-premium .resapym-visual-bottom{
 position:absolute!important;bottom:0!important;
}
.resapym-wrap.resapym-theme-premium .resapym-form{
 display:flex!important;flex-direction:column!important;align-self:stretch!important;
 min-height:0!important;padding-bottom:0!important;
}
.resapym-wrap.resapym-theme-premium .resapym-step.active{
 display:flex!important;flex-direction:column!important;flex:1!important;min-height:0!important;
}
.resapym-wrap.resapym-theme-premium .resapym-buttons{
 margin:12px -8px 0!important;padding:12px 8px 0!important;
 position:static!important;bottom:auto!important;
 background:transparent!important;flex-shrink:0!important;
}
.resapym-wrap.resapym-theme-premium .resapym-mini-summary{flex:0 0 auto!important}
.resapym-wrap.resapym-theme-premium .resapym-summary-modify{margin-top:auto!important}
body>.ui-datepicker,body #ui-datepicker-div{z-index:2147483640!important}
@media(max-width:820px){
 .resapym-wrap.resapym-theme-premium .resapym-box{overflow:auto!important}
 .resapym-wrap.resapym-theme-premium .resapym-form{display:block!important}
 .resapym-wrap.resapym-theme-premium .resapym-step.active{display:block!important}
}

/* V3.3.6: permanent action area, scroll-safe layout, no text in backdrop */
.resapym-wrap.resapym-theme-premium .resapym-box{
 height:min(85dvh,790px)!important;max-height:85dvh!important;
 overflow:hidden!important;display:flex!important;flex-direction:column!important;
 zoom:1!important;
}
.resapym-wrap.resapym-theme-premium .resapym-header,
.resapym-wrap.resapym-theme-premium .resapym-steps{flex:0 0 auto!important}
.resapym-wrap.resapym-theme-premium .resapym-layout{
 flex:1 1 auto!important;min-height:0!important;overflow:hidden!important;
 align-items:stretch!important;padding-bottom:12px!important;
}
.resapym-wrap.resapym-theme-premium .resapym-visual{
 min-height:0!important;height:100%!important;overflow:hidden!important;
}
.resapym-wrap.resapym-theme-premium .resapym-form{
 display:flex!important;flex-direction:column!important;
 min-height:0!important;height:100%!important;overflow:hidden!important;
}
.resapym-wrap.resapym-theme-premium .resapym-step.active{
 flex:1 1 auto!important;min-height:0!important;
 overflow-y:auto!important;overflow-x:hidden!important;
 scrollbar-width:thin!important;
}
.resapym-wrap.resapym-theme-premium .resapym-fixed-actions{
 display:flex;align-items:center;justify-content:space-between;gap:12px;
 padding:12px 2px 4px;margin-top:auto;flex:0 0 auto!important;
 background:#f8f7f5;z-index:4;border-top:1px solid #e7e5df;
}
.resapym-wrap.resapym-theme-premium .resapym-fixed-actions>.resapym-buttons{
 display:flex!important;width:100%!important;margin:0!important;
 padding:0!important;justify-content:space-between!important;
 border:0!important;position:static!important;
}
.resapym-wrap.resapym-theme-premium .resapym-fixed-actions>.resapym-final-submit{
 width:100%!important;min-height:45px!important;
}
.resapym-wrap.resapym-theme-premium .resapym-form label{margin-bottom:9px!important}
.resapym-wrap.resapym-theme-premium .resapym-form input,
.resapym-wrap.resapym-theme-premium .resapym-form select{min-height:39px!important;padding:9px 11px!important}
.resapym-wrap.resapym-theme-premium .resapym-form textarea{min-height:55px!important;padding:8px 11px!important}
.resapym-wrap.resapym-theme-premium .resapym-time-chips{gap:4px!important;margin-top:5px!important}
.resapym-wrap.resapym-theme-premium .resapym-time-chip{padding:5px 9px!important}
.resapym-wrap.resapym-theme-premium .resapym-step-lead{margin-bottom:7px!important}
.resapym-wrap.resapym-theme-premium .resapym-modal::before{
 background-image:linear-gradient(#0005,#0007),var(--resapym-ambient-photo)!important;
 background-position:center center!important;background-size:cover!important;
}
@media(max-width:820px){
 .resapym-wrap.resapym-theme-premium .resapym-box{height:85dvh!important;overflow:hidden!important}
 .resapym-wrap.resapym-theme-premium .resapym-layout{overflow:auto!important}
 .resapym-wrap.resapym-theme-premium .resapym-form{height:auto!important;min-height:350px!important}
}

/* V3.3.8: Stripe return with persistent reservation summary */
.resapym-wrap.resapym-theme-premium .resapym-return-reference{font-weight:600;margin-top:14px}
.resapym-wrap.resapym-theme-premium .resapym-summary-edit:disabled{opacity:1;cursor:default}
.resapym-wrap.resapym-theme-premium .resapym-summary-modify:disabled{display:none!important}

/* ResaPym calendar: explicit contrast and navigation without theme icon sprites. */
#ui-datepicker-div.resapym-datepicker{
  box-sizing:border-box;width:308px;max-width:calc(100vw - 28px);
  background:#fff!important;color:#293321!important;font:14px/1.4 Arial,sans-serif;
}
#ui-datepicker-div.resapym-datepicker .ui-datepicker-header{
  display:block!important;position:relative!important;min-height:38px;
  padding:0 42px!important;margin-bottom:8px;background:#f3f1eb!important;
  color:#293321!important;border:0;border-radius:8px;
}
#ui-datepicker-div.resapym-datepicker .ui-datepicker-title{
  display:block!important;margin:0!important;padding:9px 0!important;
  color:#293321!important;font-size:15px;font-weight:700;text-align:center;line-height:20px;
}
#ui-datepicker-div.resapym-datepicker .ui-datepicker-title span,
#ui-datepicker-div.resapym-datepicker .ui-datepicker-calendar th span{
  color:#293321!important;opacity:1!important;visibility:visible!important;
}
#ui-datepicker-div.resapym-datepicker .ui-datepicker-prev,
#ui-datepicker-div.resapym-datepicker .ui-datepicker-next{
  display:flex!important;align-items:center;justify-content:center;
  position:absolute!important;top:2px!important;bottom:auto!important;
  width:34px!important;height:34px!important;padding:0!important;margin:0!important;
  background:transparent!important;color:#293321!important;border:0;border-radius:6px;
  text-decoration:none!important;opacity:1!important;visibility:visible!important;
}
#ui-datepicker-div.resapym-datepicker .ui-datepicker-prev{left:2px!important;right:auto!important}
#ui-datepicker-div.resapym-datepicker .ui-datepicker-next{right:2px!important;left:auto!important}
#ui-datepicker-div.resapym-datepicker .ui-datepicker-prev span,
#ui-datepicker-div.resapym-datepicker .ui-datepicker-next span{
  position:absolute!important;width:1px!important;height:1px!important;
  padding:0!important;margin:-1px!important;overflow:hidden!important;
  clip:rect(0,0,0,0)!important;white-space:nowrap!important;background:none!important;
}
#ui-datepicker-div.resapym-datepicker .ui-datepicker-prev::before,
#ui-datepicker-div.resapym-datepicker .ui-datepicker-next::before{
  content:""!important;display:block!important;width:8px;height:8px;
  border:solid currentColor;border-width:0 2px 2px 0;
}
#ui-datepicker-div.resapym-datepicker .ui-datepicker-prev::before{transform:rotate(135deg)}
#ui-datepicker-div.resapym-datepicker .ui-datepicker-next::before{transform:rotate(-45deg)}
#ui-datepicker-div.resapym-datepicker .ui-datepicker-prev:hover,
#ui-datepicker-div.resapym-datepicker .ui-datepicker-next:hover{background:#e4e7df!important}
#ui-datepicker-div.resapym-datepicker .ui-datepicker-header .ui-state-disabled{
  opacity:.35!important;cursor:default!important;pointer-events:none;
}
#ui-datepicker-div.resapym-datepicker .ui-datepicker-calendar{
  width:100%!important;table-layout:fixed;border:0!important;margin:0!important;
}
#ui-datepicker-div.resapym-datepicker .ui-datepicker-calendar th{
  background:#fff!important;color:#293321!important;border:0!important;font-weight:700;
}
#ui-datepicker-div.resapym-datepicker .ui-datepicker-calendar td{border:0!important;padding:2px!important}
#ui-datepicker-div.resapym-datepicker .ui-datepicker-calendar td a,
#ui-datepicker-div.resapym-datepicker .ui-datepicker-calendar td span{
  padding:7px 0!important;text-align:center;line-height:20px;
}
#ui-datepicker-div.resapym-datepicker .ui-datepicker-calendar td a{
  background:#f0f2ed!important;color:#293321!important;font-weight:700;
}
#ui-datepicker-div.resapym-datepicker .ui-datepicker-calendar td.ui-state-disabled{opacity:1!important}
#ui-datepicker-div.resapym-datepicker .ui-datepicker-calendar td span{
  background:#f7f7f5!important;color:#858585!important;opacity:1!important;font-weight:400;
}
#ui-datepicker-div.resapym-datepicker .ui-datepicker-calendar td a:hover{
  background:#dfe6d6!important;color:#202a18!important;
}
#ui-datepicker-div.resapym-datepicker .ui-datepicker-calendar td a.ui-state-active{
  background:#435735!important;color:#fff!important;
}
#ui-datepicker-div.resapym-datepicker a:focus-visible{outline:2px solid #a27b35!important;outline-offset:1px}

/* Optional restaurant image: preserve the complete plan, never crop it. */
.resapym-wrap .resapym-visual a.resapym-summary-image{
 display:block!important;flex:0 0 auto;position:relative;margin:10px 20px 18px;
 padding:8px;background:#fff;border:1px solid #deded5;border-radius:10px;
 text-decoration:none;cursor:zoom-in;text-align:center;
}
.resapym-wrap .resapym-visual .resapym-summary-image-preview{
 display:block!important;position:static!important;width:100%!important;
 height:auto!important;max-height:160px!important;object-fit:contain!important;
 margin:0 auto!important;border-radius:4px;
}
.resapym-wrap .resapym-summary-image span{
 display:block;color:#43522b!important;font:12px/1.5 Arial,sans-serif;margin-top:6px;
}
.resapym-wrap .resapym-summary-image:focus-visible{outline:3px solid #a27b35;outline-offset:2px}

.resapym-wrap .resapym-establishment-contact{background:#fff;padding:12px 22px 4px;color:#202620;font-size:13px;line-height:1.5;flex:0 0 auto}
.resapym-wrap .resapym-establishment-contact p{margin:0 0 5px;white-space:normal}
.resapym-wrap .resapym-establishment-contact a{color:#293d2c!important;text-decoration:underline;overflow-wrap:anywhere}

/* Compact optional image; keep the left action at the right footer baseline. */
.resapym-wrap .resapym-visual a.resapym-summary-image{
 margin:3px 14px 7px!important;padding:0!important;border:0!important;
 border-radius:0!important;box-shadow:none!important;background:transparent!important;
}
.resapym-wrap .resapym-visual .resapym-summary-image-preview{
 width:auto!important;max-width:100%!important;height:auto!important;
 max-height:96px!important;max-height:clamp(56px,12dvh,96px)!important;
}
.resapym-wrap .resapym-summary-image span{font-size:11px;margin-top:3px}
.resapym-wrap.resapym-theme-premium .resapym-visual-content{
 flex:1 1 auto;min-height:0;overflow:auto;scrollbar-width:thin;
}
.resapym-wrap.resapym-theme-premium .resapym-visual-content .resapym-visual-image{
 height:clamp(110px,18dvh,160px)!important;min-height:110px!important;
}
.resapym-wrap.resapym-theme-premium .resapym-visual .resapym-summary-modify{
 flex:0 0 auto!important;min-height:45px!important;box-sizing:border-box!important;
 margin:12px 5% 4px!important;padding:10px!important;
}
@media(max-width:820px){
 .resapym-wrap.resapym-theme-premium .resapym-visual{height:auto!important}
 .resapym-wrap.resapym-theme-premium .resapym-visual-content{overflow:visible}
 .resapym-wrap.resapym-theme-premium .resapym-visual .resapym-summary-modify{margin-bottom:12px!important}
}

/* Dark version: exactly the Premium structure, with dark colors only. */
.resapym-wrap.resapym-theme-premium.resapym-theme-dark{
 --resapym-btn-bg:#c2a36e!important;--resapym-btn-text:#1c1d1a!important;
 --resapym-chrome-bg:#20241f;--resapym-chrome-text:#f5f0e7;
 --resapym-steps-bg:#20241f;--resapym-step-inactive-text:#b2b7ae;
}
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-box,
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-header,
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-steps,
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-fixed-actions{
 background:#20241f!important;color:#f5f0e7!important;border-color:#535d50!important;
}
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-visual,
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-establishment-contact{
 background:#141c17!important;color:#f5f0e7!important;
}
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-header h3,
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-close,
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-step-title,
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-form label,
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-summary-edit strong,
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-trust,
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-payment-total,
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-step-lead strong{
 color:#f5f0e7!important;
}
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-summary-edit{
 background:transparent!important;color:#f5f0e7!important;
}
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-summary-edit:hover{
 background:#30372f!important;
}
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-step-lead,
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-brand-subtitle,
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-summary-edit span:nth-child(2),
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-capacity-help,
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-secure-caption,
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-payment-summary>div:first-child>span{
 color:#b2b7ae!important;
}
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-form input,
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-form select,
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-form textarea,
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-payment-summary,
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-payment,
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-review-card{
 background:#30372f!important;color:#f5f0e7!important;border-color:#535d50!important;color-scheme:dark;
}
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-summary-modify,
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-prev,
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-close-secondary{
 background:#30372f!important;color:#d6b983!important;border-color:#bfa06b!important;
}
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-final-submit,
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-next,
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-review-next,
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-time-chip.selected{
 background:#c2a36e!important;color:#1c1d1a!important;border-color:#c2a36e!important;
}
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-trust-icon{
 background:#30372f!important;color:#d6b983!important;
}
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-summary-edit .resapym-icon,
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-establishment-contact a,
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-summary-image span,
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-steps span.active em{
 color:#d6b983!important;
}
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-steps span.active b{
 background:#bfa06b!important;color:#1b1e19!important;
}
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-result{
 background:#243c2a!important;color:#edf8ee!important;border-color:#597c60!important;
}
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-result.resapym-error{
 background:#462c2c!important;color:#fff0f0!important;border-color:#b67b7b!important;
}

.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-time-chip:not(.selected){background:#30372f!important;color:#f5f0e7!important;border-color:#535d50!important}
.resapym-wrap.resapym-theme-premium.resapym-theme-dark .resapym-form small{color:#b2b7ae!important}

/* Personalisation du déclencheur et fond choisi par l’établissement. */
.resapym-wrap .resapym-open{font-family:var(--resapym-open-font,inherit)!important;background:var(--resapym-btn-bg,#111)!important;color:var(--resapym-btn-text,#fff)!important}
.resapym-menu-popup > .resapym-wrap > .resapym-open{display:none!important}
.resapym-wrap.resapym-theme-premium .resapym-modal{background-image:linear-gradient(#0005,#0007),var(--resapym-bg)!important}
.resapym-link-unavailable{position:fixed;bottom:20px;left:20px;right:20px;padding:20px;background:#fff;color:#222;z-index:999999}
/* Event order shares the existing theme and has its own ticket controls. */
.rp-event-form{flex:1;min-width:0;padding:24px;overflow:auto;max-height:70vh;background:rgba(255,255,255,.94)}
.rp-event-form label{display:block;margin:0 0 15px;font-weight:600}
.rp-event-form input,.rp-event-form select,.rp-event-form textarea{display:block;box-sizing:border-box;width:100%;padding:12px;margin-top:6px;border:1px solid #bbb;border-radius:8px;font:inherit;color:#222;background:#fff}
.rp-event-step{display:none}.rp-event-step.active{display:block}
.rp-event-form button{cursor:pointer;padding:12px 16px;border:0;border-radius:var(--resapym-button-radius,12px);background:var(--resapym-btn-bg,#111);color:var(--resapym-btn-text,#fff);font:inherit}
.rp-event-form button:disabled{opacity:.5;cursor:wait}
.rp-event-result{padding:12px 0;color:#222}.rp-event-result:empty{display:none}
.resapym-events .rp-event-summary{padding:12px}.resapym-events .resapym-layout{align-items:stretch}
@media(max-width:760px){.resapym-events .resapym-visual{display:none!important}.rp-event-form{max-height:65vh;padding:16px}}
@media(max-width:760px){
 .resapym-wrap.resapym-theme-premium.resapym-events .resapym-visual{display:none!important}
 .resapym-wrap.resapym-theme-premium.resapym-events .resapym-layout{display:block!important;min-height:0!important;overflow:visible!important}
 .resapym-wrap.resapym-theme-premium.resapym-events .resapym-box{max-height:calc(100dvh - 40px)!important;overflow:auto!important}
 .resapym-wrap.resapym-theme-premium.resapym-events .rp-event-form{max-height:none;overflow:visible;padding:16px}
 .resapym-wrap.resapym-theme-premium.resapym-events .resapym-steps{display:flex!important;gap:6px!important;padding:12px!important}
 .resapym-wrap.resapym-theme-premium.resapym-events .resapym-steps span{flex:1!important;min-width:0!important;gap:4px!important}
 .resapym-wrap.resapym-theme-premium.resapym-events .resapym-steps em{font-size:10px!important;white-space:normal!important;overflow-wrap:anywhere}
 .resapym-wrap.resapym-theme-premium.resapym-events .resapym-steps span:after{display:none!important}
}
