/* Zoe & Louis Wunschgutschein – responsive storefront styling */
.zl-wg-portlet {
    --zl-ink: #302925;
    --zl-muted: #766b62;
    --zl-terracotta: #c77752;
    --zl-terracotta-dark: #a95735;
    --zl-cream: #f6f3ee;
    --zl-paper: #fbf8f4;
    --zl-line: #e8ddd3;
    --zl-sage: #8fa588;
    max-width: 1040px;
    margin: 28px auto 72px;
    color: var(--zl-ink);
    font-family: inherit;
}
.zl-wg-portlet * { box-sizing: border-box; }
.zl-wg-portlet-live { width: 100%; }
.zl-wg-portlet-landing {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(26px, 4vw, 52px);
    align-items: center;
    padding: clamp(22px, 3vw, 38px);
    border: 1px solid var(--zl-line);
    border-radius: 20px;
    background: var(--zl-cream);
}
.zl-wg-portlet-landing-visual {
    overflow: hidden;
    min-height: 330px;
    border-radius: 13px;
    background: #e9d8ca;
}
.zl-wg-portlet-landing-visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
}
.zl-wg-portlet-landing-placeholder {
    display: flex;
    min-height: 330px;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: linear-gradient(135deg, #f3e5d8, #e6c6b0);
}
.zl-wg-portlet-landing-placeholder svg { width: min(100%, 300px); fill: none; stroke: #8c644f; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.zl-wg-portlet-landing-placeholder rect { fill: #f8f1e8; stroke: #b98e72; }
.zl-wg-portlet-landing-placeholder text { fill: #9d725a; stroke: none; font-family: Georgia, serif; font-size: 7px; letter-spacing: 2px; text-anchor: middle; }
.zl-wg-portlet-landing-placeholder .zl-wg-placeholder-script { font-size: 15px; font-style: italic; letter-spacing: 0; }
.zl-wg-portlet-eyebrow {
    display: block;
    margin: 0 0 12px;
    color: var(--zl-terracotta-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .15em;
    line-height: 1.4;
}
.zl-wg-portlet-landing h2,
.zl-wg-portlet-config-heading h2,
.zl-wg-portlet-preview h2 {
    margin: 0;
    color: #3c332e;
    font-family: Scotch, Georgia, 'Times New Roman', serif;
    font-weight: 400;
    letter-spacing: -.025em;
}
.zl-wg-portlet-landing h2 {
    margin-bottom: 12px;
    font-size: clamp(38px, 4.7vw, 58px);
    line-height: .98;
}
.zl-wg-portlet-landing-copy > p {
    max-width: 600px;
    margin: 0;
    color: #514840;
    font-size: 16px;
    line-height: 1.55;
}
.zl-wg-portlet-landing-rule {
    display: block;
    width: 70px;
    height: 2px;
    margin: 18px 0 24px;
    background: var(--zl-terracotta);
}
.zl-wg-portlet-landing h3 {
    margin: 0 0 22px;
    color: #4a3e36;
    font-family: Scotch, Georgia, 'Times New Roman', serif;
    font-size: clamp(24px, 2.4vw, 31px);
    font-weight: 400;
    line-height: 1.08;
    text-align: center;
}
.zl-wg-portlet-steps { display: grid; gap: 16px; }
.zl-wg-portlet-step-item { display: block; padding-left: 0; }
.zl-wg-portlet-step-item strong { display: block; margin-bottom: 3px; color: #372f2a; font-size: 15px; font-weight: 700; }
.zl-wg-portlet-step-item small { display: block; color: #655b53; font-size: 13px; line-height: 1.4; }

.zl-wg-portlet-configurator {
    position: relative;
    max-width: 780px;
    margin: 48px auto 0;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid var(--zl-line);
    border-radius: 18px;
    background: #fffdfa;
    scroll-margin-top: 90px;
}
.zl-wg-portlet-config-heading { position: relative; display: block; margin-bottom: 30px; }
.zl-wg-portlet-config-heading h2 { max-width: 620px; font-size: clamp(32px, 4.2vw, 44px); line-height: 1.02; }

.zl-wg-portlet-section { margin: 0 0 27px; padding: 0; border: 0; background: transparent; }
.zl-wg-portlet-field-label,
.zl-wg-portlet-section-title {
    display: block;
    margin: 0 0 12px;
    color: #403831;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}
.zl-wg-portlet-amount-presets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin: 0 0 10px; }
.zl-wg-portlet-amount-preset {
    min-width: 0;
    min-height: 44px;
    padding: 9px 10px;
    border: 1px solid #e6d9ce;
    border-radius: 10px;
    background: #fff;
    color: #403831;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
}
.zl-wg-portlet-amount-preset:hover,
.zl-wg-portlet-amount-preset:focus-visible { border-color: var(--zl-terracotta); background: #fcf4ee; outline: 2px solid rgba(199,119,82,.16); outline-offset: 2px; }
.zl-wg-portlet-amount-preset.is-selected,
.zl-wg-portlet-amount-preset.is-selected:hover { border-color: var(--zl-terracotta); background: #f8e9df; color: #844b32; }
.zl-wg-portlet-free-wrap { display: flex; width: 100%; min-width: 0; min-height: 64px; flex-direction: column; align-items: stretch; justify-content: center; gap: 4px; padding: 8px 13px 9px; border: 1px solid #e6d9ce; border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.zl-wg-portlet-free-wrap:focus-within { border-color: var(--zl-terracotta); box-shadow: 0 0 0 3px rgba(199,119,82,.10); }
.zl-wg-portlet-free-label { align-self: flex-start; margin: 0; color: #766b62; font-size: 13px; font-weight: 500; line-height: 1.2; }
.zl-wg-portlet-amount-wrap { display: flex !important; flex-direction: row; box-sizing: border-box; width: 100%; min-width: 0; align-items: center; gap: 9px; }
.zl-wg-portlet-amount-wrap span { display: block; flex: 0 0 auto; color: #403831; font-size: 16px; font-weight: 600; }
.zl-wg-portlet-amount-wrap input { display: block !important; flex: 1 1 0; box-sizing: border-box; width: 100% !important; max-width: none !important; min-width: 0 !important; margin: 0 !important; padding: 4px 0; border: 0 !important; outline: 0; box-shadow: none !important; background: transparent; color: #403831; font-family: inherit; font-size: 17px; line-height: 1.35; text-align: left !important; direction: ltr; float: none !important; }
.zl-wg-portlet-amount-wrap input::placeholder { color: #aaa099; }
.zl-wg-portlet-hint,
.zl-wg-portlet-actions p,
.zl-wg-portlet-footnote { margin: 8px 0 0; color: #84796f; font-size: 12px; line-height: 1.5; }
.zl-wg-portlet-motif-picker { display: grid; grid-template-columns: 28px minmax(0, 1fr) 28px; gap: 7px; align-items: center; }
.zl-wg-portlet-motif-nav { display: flex; width: 28px; height: 48px; align-items: center; justify-content: center; padding: 0; border: 0; background: transparent; color: #473b34; cursor: pointer; }
.zl-wg-portlet-motif-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.zl-wg-portlet-motif-nav:disabled { opacity: .25; cursor: default; }
.zl-wg-portlet-motif-viewport { min-width: 0; overflow: hidden; }
.zl-wg-portlet-motifs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 5px 2px 9px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.zl-wg-portlet-motifs::-webkit-scrollbar { display: none; }
.zl-wg-portlet-motif {
    position: relative;
    display: block;
    flex: 0 0 104px;
    min-width: 0;
    padding: 5px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    scroll-snap-align: center;
    transition: border-color .15s, background .15s;
}
.zl-wg-portlet-motif input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.zl-wg-portlet-motif:has(input:checked) { border-color: var(--zl-terracotta); background: #fcf5ef; }
.zl-wg-portlet-motif:has(input:checked)::after { content: "✓"; position: absolute; top: -1px; right: -1px; display: flex; width: 22px; height: 22px; align-items: center; justify-content: center; border: 2px solid #fff; border-radius: 50%; background: var(--zl-terracotta-dark); color: #fff; font-size: 12px; font-weight: 700; }
.zl-wg-portlet-motif:focus-within { outline: 2px solid rgba(199,119,82,.34); outline-offset: 2px; }
.zl-wg-portlet-motif-image { display: block; overflow: hidden; aspect-ratio: 1 / 1; border-radius: 8px; background: #f2ece6; }
.zl-wg-portlet-motif-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.zl-wg-portlet-motif-title { display: block; overflow: hidden; padding: 7px 2px 0; color: #4d433b; font-size: 12px; font-weight: 600; line-height: 1.25; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.zl-wg-portlet-motif-description { display: -webkit-box; overflow: hidden; padding: 3px 2px 0; color: #83776e; font-size: 10px; font-weight: 400; line-height: 1.35; text-align: center; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.zl-wg-portlet-motif-pagination { display: flex; min-height: 12px; justify-content: center; gap: 6px; margin: 3px 0 0; }
.zl-wg-portlet-motif-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: #d9c9bc; cursor: pointer; }
.zl-wg-portlet-motif-dot.is-active { background: var(--zl-terracotta-dark); transform: scale(1.15); }
.zl-wg-portlet-delivery { display: grid; gap: 8px; }
.zl-wg-portlet-delivery label {
    position: relative;
    display: flex;
    min-height: 58px;
    align-items: center;
    gap: 13px;
    padding: 10px 14px;
    border: 1px solid #e8ddd3;
    border-radius: 11px;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.zl-wg-portlet-delivery label:has(input:checked) { border-color: var(--zl-terracotta); background: #fdf7f2; }
.zl-wg-portlet-delivery label:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.zl-wg-portlet-delivery input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); }
.zl-wg-portlet-delivery label:has(input:checked)::after { content: "✓"; position: absolute; top: -7px; right: -6px; display: flex; width: 21px; height: 21px; align-items: center; justify-content: center; border: 2px solid #fff; border-radius: 50%; background: var(--zl-terracotta-dark); color: #fff; font-size: 11px; font-weight: 700; }
.zl-wg-portlet-delivery label:focus-within { outline: 2px solid rgba(199,119,82,.32); outline-offset: 2px; }
.zl-wg-portlet-delivery-icon { display: flex; width: 40px; height: 40px; flex: 0 0 40px; align-items: center; justify-content: center; color: #986c50; }
.zl-wg-portlet-delivery-icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.zl-wg-portlet-delivery-copy { display: block; min-width: 0; }
.zl-wg-portlet-delivery strong { display: block; color: #403831; font-size: 14px; font-weight: 600; line-height: 1.3; }
.zl-wg-portlet-delivery small { display: block; margin-top: 2px; color: #84796f; font-size: 11px; line-height: 1.35; }
.zl-wg-portlet-actions { margin-top: 24px; text-align: center; }
.zl-wg-portlet-submit {
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border: 1px solid var(--zl-terracotta-dark);
    border-radius: 9px;
    background: var(--zl-terracotta-dark);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}
.zl-wg-portlet-submit:hover { border-color: #91472c; background: #91472c; color: #fff; }
.zl-wg-portlet-submit:disabled { opacity: .55; cursor: not-allowed; }
.zl-wg-portlet-actions p { margin-top: 8px; }
.zl-wg-portlet-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.zl-wg-portlet-benefits > div { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.zl-wg-portlet-benefits svg { width: 42px; height: 42px; fill: none; stroke: #987354; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.zl-wg-portlet-benefits strong { color: #51453c; font-size: 12px; font-weight: 600; line-height: 1.3; }

.zl-wg-portlet-alert,
.zl-wg-portlet-notice,
.zl-wg-portlet-empty { margin: 16px 0; padding: 13px 15px; border: 1px solid #e6d6c9; border-left: 4px solid var(--zl-terracotta); border-radius: 9px; background: #fcf8f4; color: #6f6258; font-size: 13px; line-height: 1.6; }
.zl-wg-portlet-notice { border-left-color: var(--zl-sage); background: #f7faf6; }
.zl-wg-portlet-review { margin: 20px 0 0; padding: 22px; border: 1px solid var(--zl-line); border-radius: 13px; background: var(--zl-paper); }
.zl-wg-portlet-step { display: block; margin-bottom: 8px; color: var(--zl-terracotta-dark); font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.zl-wg-portlet-review h3 { margin: 0 0 10px; color: #403831; font-family: Scotch, Georgia, serif; font-size: 26px; font-weight: 400; }
.zl-wg-portlet-review-intro { margin: 0; color: var(--zl-muted); font-size: 13px; line-height: 1.55; }
.zl-wg-portlet-review dl { margin: 18px 0; }
.zl-wg-portlet-review dl div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid #eee6df; font-size: 13px; }
.zl-wg-portlet-review dt { color: #766c64; }
.zl-wg-portlet-review dd { margin: 0; color: #403831; font-weight: 600; text-align: right; }
.zl-wg-portlet-review .zl-wg-portlet-review-total { font-size: 17px; font-weight: 700; }
.zl-wg-portlet-cart-form { text-align: center; }
.zl-wg-portlet-reset-form { margin-top: 12px; text-align: center; }
.zl-wg-portlet-reset { border: 0; background: transparent; color: #8c5138; text-decoration: underline; cursor: pointer; }
.zl-wg-portlet-footnote { margin-top: 14px; }
.zl-wg-portlet-preview { padding: 28px; border: 1px solid var(--zl-line); border-radius: 16px; background: var(--zl-cream); text-align: center; }
.zl-wg-portlet-preview h2 { margin: 0 0 12px; font-size: 34px; }
.zl-wg-portlet-preview p { max-width: 700px; margin: 0 auto; color: var(--zl-muted); font-size: 14px; line-height: 1.7; }
.zl-wg-portlet-preview-steps { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 22px 0 14px; color: #8c5138; font-weight: 600; }
.zl-wg-portlet-preview small { color: #81766e; }

@media (max-width: 700px) {
    .zl-wg-portlet { margin: 14px auto 38px; }
    .zl-wg-portlet-landing { display: block; padding: 13px 12px 8px; border: 0; border-radius: 0; background: transparent; }
    .zl-wg-portlet-landing-visual { min-height: 0; margin-bottom: 17px; border-radius: 9px; aspect-ratio: 1.75 / 1; }
    .zl-wg-portlet-landing-visual img { min-height: 0; }
    .zl-wg-portlet-landing-placeholder { min-height: 0; height: 100%; padding: 10px; }
    .zl-wg-portlet-landing-copy { padding: 0 4px; }
    .zl-wg-portlet-eyebrow { margin-bottom: 8px; font-size: 10px; letter-spacing: .13em; }
    .zl-wg-portlet-landing h2 { max-width: 520px; margin-bottom: 10px; font-size: clamp(37px, 9.2vw, 49px); line-height: .98; }
    .zl-wg-portlet-landing-copy > p { font-size: 14px; line-height: 1.48; }
    .zl-wg-portlet-landing-rule { width: 62px; margin: 15px 0 20px; }
    .zl-wg-portlet-landing h3 { margin-bottom: 18px; font-size: 26px; line-height: 1.02; }
    .zl-wg-portlet-steps { gap: 14px; }
    .zl-wg-portlet-step-item { padding-left: 0; }
    .zl-wg-portlet-step-item strong { margin-bottom: 2px; font-size: 14px; }
    .zl-wg-portlet-step-item small { font-size: 12px; line-height: 1.35; }
    .zl-wg-portlet-configurator { margin: 0; padding: 22px 17px 22px; border: 0; border-top: 1px solid #eee4da; border-radius: 0; background: #fffdfa; scroll-margin-top: 78px; }
    .zl-wg-portlet-config-heading { margin-bottom: 25px; }
    .zl-wg-portlet-config-heading h2 { max-width: 100%; font-size: clamp(30px, 7.8vw, 38px); line-height: 1.02; }
    .zl-wg-portlet-section { margin-bottom: 24px; }
    .zl-wg-portlet-field-label,
    .zl-wg-portlet-section-title { margin-bottom: 10px; font-size: 15px; }
    .zl-wg-portlet-amount-presets { gap: 7px; margin-bottom: 9px; }
    .zl-wg-portlet-amount-preset { min-height: 41px; padding: 8px 5px; border-radius: 9px; font-size: 14px; }
    .zl-wg-portlet-free-wrap { width: 100%; min-width: 0; min-height: 62px; padding: 7px 11px 8px; }
    .zl-wg-portlet-free-label { font-size: 12px; }
    .zl-wg-portlet-amount-wrap { display: flex !important; flex-direction: row; width: 100%; min-width: 0; gap: 8px; }
    .zl-wg-portlet-amount-wrap input { flex: 1 1 0; display: block !important; width: 100% !important; max-width: none !important; min-width: 0 !important; font-size: 16px; text-align: left !important; }
    .zl-wg-portlet-amount-wrap span { flex: 0 0 auto; font-size: 15px; }
    .zl-wg-portlet-hint { font-size: 11px; }
    .zl-wg-portlet-motif-picker { grid-template-columns: 24px minmax(0, 1fr) 24px; gap: 4px; }
    .zl-wg-portlet-motif-nav { width: 24px; height: 42px; }
    .zl-wg-portlet-motif-nav svg { width: 18px; height: 18px; }
    .zl-wg-portlet-motifs { gap: 8px; padding: 5px 2px 8px; }
    .zl-wg-portlet-motif { flex-basis: 88px; padding: 4px; border-radius: 10px; }
    .zl-wg-portlet-motif-image { border-radius: 7px; }
    .zl-wg-portlet-motif-title { padding-top: 6px; font-size: 11px; }
    .zl-wg-portlet-motif-description { font-size: 9px; }
    .zl-wg-portlet-motif-pagination { margin-top: 1px; }
    .zl-wg-portlet-delivery { gap: 7px; }
    .zl-wg-portlet-delivery label { min-height: 54px; gap: 10px; padding: 8px 10px; border-radius: 9px; }
    .zl-wg-portlet-delivery-icon { width: 35px; height: 35px; flex-basis: 35px; }
    .zl-wg-portlet-delivery-icon svg { width: 31px; height: 31px; }
    .zl-wg-portlet-delivery strong { font-size: 13px; }
    .zl-wg-portlet-delivery small { font-size: 10px; line-height: 1.3; }
    .zl-wg-portlet-actions { margin-top: 21px; }
    .zl-wg-portlet-submit { min-height: 51px; font-size: 14px; }
    .zl-wg-portlet-benefits { gap: 6px; margin-top: 27px; }
    .zl-wg-portlet-benefits > div { gap: 6px; }
    .zl-wg-portlet-benefits svg { width: 36px; height: 36px; }
    .zl-wg-portlet-benefits strong { font-size: 10px; }
    .zl-wg-portlet-review { margin: 8px 0 0; padding: 18px 14px; }
    .zl-wg-portlet-review h3 { font-size: 24px; }
    .zl-wg-portlet-review dl div { gap: 10px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .zl-wg-portlet *, .zl-wg-portlet *::before, .zl-wg-portlet *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
