/* Gutschein als schwebende Sprechblase direkt am Anzeigenbutton; keine Klickabdeckung. */
.sam-voucher-anchor{position:relative;display:inline-flex;flex-direction:column;align-items:flex-start;vertical-align:top;max-width:100%;isolation:isolate}
.sam-voucher-anchor>.sam-voucher-mount{display:block;min-width:0;max-width:100%}
.sam-voucher-anchor>.sam-voucher-mount:empty{display:none}
.sam-voucher-anchor>a{position:relative;z-index:1}
.sam-voucher{position:relative;display:block;box-sizing:border-box;width:min(390px,calc(100vw - 50px));max-width:100%;margin:5px 0 18px 7px;padding:16px 18px 15px;border:1px solid #a5d7c7;border-radius:18px;background:#fff;color:#17372f;text-align:left;box-shadow:0 13px 35px #164d3a3a,0 3px 7px #164d3a12;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.45;z-index:15;animation:sam-voucher-rise .28s ease-out both}
.sam-voucher::after{content:"";position:absolute;bottom:-10px;left:28px;width:19px;height:19px;transform:rotate(45deg);background:#fff;border-right:1px solid #a5d7c7;border-bottom:1px solid #a5d7c7;box-shadow:4px 4px 5px #164d3a0a;pointer-events:none}
.sam-voucher *{box-sizing:border-box}
.sam-voucher .sam-voucher-label{display:flex;align-items:center;gap:5px;font:800 10px/1.3 system-ui,sans-serif;letter-spacing:1.2px;color:#12644f;margin:0 0 8px}
.sam-voucher .sam-voucher-label span:last-child{color:#d18b2f}.sam-voucher .sam-voucher-gift{font-size:17px;letter-spacing:0}
.sam-voucher .sam-voucher-title{display:block;color:#183a31;font:800 clamp(17px,2vw,21px)/1.25 system-ui,sans-serif;margin:0 0 8px;letter-spacing:-.25px}
.sam-voucher p{font:400 13px/1.5 system-ui,sans-serif!important;color:#34554a!important;margin:0 0 12px!important;max-width:100%}
.sam-voucher .sam-voucher-row{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin:0 0 9px}
.sam-voucher .sam-voucher-code{display:inline-flex;align-items:center;min-height:39px;background:#f0f9f4;border:1px dashed #409679;padding:9px 12px;border-radius:8px;letter-spacing:1px;font:800 16px/1.1 system-ui,sans-serif;color:#143d33;overflow-wrap:anywhere}
.sam-voucher button{display:inline-block;margin:0;cursor:pointer;min-height:37px;border:1px solid #126e5a;border-radius:8px;background:#126e5a;color:white;padding:8px 12px;font:750 12px/1.3 system-ui,sans-serif;box-shadow:none;text-transform:none;letter-spacing:0}
.sam-voucher button:hover,.sam-voucher button:focus-visible{background:#064b3c;color:white}
.sam-voucher .sam-voucher-apply{display:block;min-height:24px;margin:7px 0 0;padding:2px 0;background:transparent;border:0;color:#075943;text-decoration:underline;text-underline-offset:3px}
.sam-voucher .sam-voucher-apply:hover{background:transparent;color:#043b31}
.sam-voucher small{display:block;font:550 11px/1.5 system-ui,sans-serif;color:#456759;margin:5px 0;letter-spacing:normal}
.sam-voucher .sam-voucher-context{font-weight:700;margin-top:8px;color:#31584e}
.sam-voucher .sam-voucher-feedback:not(:empty){display:block;margin-top:6px;font:700 11px/1.5 system-ui,sans-serif;color:#146b58}
/* Keep the bubble above its own CTA, including on the Classifieds page. */
.ska-hero .sam-voucher-anchor .ska-btn,.sf-hero .sam-voucher-anchor .sf-button,.sj-hero .sam-voucher-anchor .sj-button{position:relative;z-index:1}
.ska-hero .sam-voucher-anchor{margin-top:4px}
@keyframes sam-voucher-rise{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:650px){.sam-voucher{width:min(345px,calc(100vw - 60px));padding:15px;margin-left:0;margin-top:8px}.sam-voucher .sam-voucher-title{font-size:18px}.sam-voucher-anchor{max-width:100%}}
@media(prefers-reduced-motion:reduce){.sam-voucher{animation:none}}
.sam-coupons-admin .sam-voucher-form{max-width:1050px}.sam-coupons-admin .sam-coupon-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0}.sam-coupons-admin .sam-coupon-form-grid label{display:block;min-width:0}.sam-coupons-admin .sam-coupon-form-grid label strong{display:block;margin-bottom:7px}.sam-coupons-admin .sam-coupon-form-grid input,.sam-coupons-admin .sam-coupon-form-grid select,.sam-coupons-admin .sam-coupon-form-grid textarea{width:100%;max-width:100%;box-sizing:border-box}.sam-coupons-admin .sam-coupon-markets{border:1px solid #ccd9d6;padding:12px 16px;border-radius:8px}.sam-coupons-admin .sam-coupon-markets label{display:inline-flex;gap:7px;align-items:center;margin:7px 19px 7px 0}.sam-coupons-admin .sam-coupon-table-wrap{overflow:auto}.sam-coupons-admin .sam-inline-form{display:inline}.sam-coupons-admin .sam-coupon-table-wrap td{vertical-align:middle}
@media(max-width:800px){.sam-coupons-admin .sam-coupon-form-grid{grid-template-columns:1fr}}
.sam-coupons-admin .sam-section{background:#fff;border:1px solid var(--sam-line);padding:20px 22px;border-radius:13px;box-shadow:0 2px 10px #12192509}.sam-coupons-admin .sam-section>p{max-width:950px;color:#53606b;line-height:1.5}.sam-coupons-admin .sam-coupon-table-wrap .button{white-space:nowrap}
/* In split heroes, keep the create button on its own line beneath the offer. */
.sj-hero .sam-voucher-anchor,.sf-hero .sam-voucher-anchor{display:flex;width:max-content;margin-top:13px}

/* 1.0.13: compact offer; never stretch the entire hero or overlap neighboring tiles. */
.sam-voucher-anchor{box-sizing:border-box;display:inline-flex;max-width:min(100%,360px);align-items:flex-start;isolation:auto;vertical-align:middle;z-index:1}
.sam-voucher-anchor>.sam-voucher-mount{max-width:100%;width:100%;min-width:0}
.sam-voucher-anchor>.sam-voucher-mount:empty{display:none}
.sam-voucher{width:min(300px,100%);max-width:100%;margin:0 0 13px 0;padding:11px 13px;border-radius:12px;box-shadow:0 7px 22px #143e3222;z-index:2;overflow-wrap:anywhere}
.sam-voucher .sam-voucher-title{font-size:17px;line-height:1.3;margin-bottom:4px}
.sam-voucher p{font-size:12px!important;line-height:1.4!important;margin-bottom:8px!important}
.sam-voucher .sam-voucher-row{gap:6px;margin-bottom:5px}
.sam-voucher .sam-voucher-code{min-height:30px;font-size:13px;padding:7px 9px}
.sam-voucher .sam-voucher-copy{padding:6px 9px;min-height:30px;font-size:11px}
.sam-voucher .sam-voucher-label{font-size:9px;letter-spacing:.65px}
.sam-voucher::after{left:25px;width:13px;height:13px;bottom:-7px}
.ska-hero .sam-voucher-anchor,.sf-hero .sam-voucher-anchor,.sj-hero .sam-voucher-anchor{display:inline-flex;width:auto;max-width:min(100%,340px);vertical-align:top;float:none;clear:both;margin:12px 0 0}
.sam-voucher-anchor > a{white-space:normal;max-width:100%;box-sizing:border-box;text-align:center}
@media(max-width:650px){.sam-voucher-anchor,.ska-hero .sam-voucher-anchor,.sj-hero .sam-voucher-anchor,.sf-hero .sam-voucher-anchor{width:100%;max-width:100%;margin-top:12px}.sam-voucher{width:100%;max-width:320px;margin-left:0}.sam-voucher-anchor>a{width:auto}}

/* Constrain notices regardless of parent hero heading typography. */
.ska-hero .sam-voucher small,.sj-hero .sam-voucher small,.sf-hero .sam-voucher small{letter-spacing:0!important;font-weight:550!important;text-transform:none!important}
.ska-hero .sam-voucher p,.sj-hero .sam-voucher p,.sf-hero .sam-voucher p{letter-spacing:normal!important;line-height:1.45!important}
.ska-hero .sam-voucher .sam-voucher-context{font-size:11px!important}
