/* Reusable Küng content layouts. Boomerang 3.6.1 / Bootstrap 4.1.1. */
/* Transparent caption; only the actual text gets a white 5px backing per line. */
.webarticle-content .customlayout-photo-caption{padding:0!important;background:transparent!important;border-radius:0;box-shadow:none;text-align:left!important;pointer-events:auto}
.webarticle-content .customlayout-photo-caption :is(h1,h2,h3,h4,h5,h6,p,li,small,.customlayout-photo-line){text-align:left!important;line-height:1.7}
.webarticle-content .customlayout-photo-line{display:block}
.webarticle-content :is(.customlayout-photo-text,.article-banner-text){display:inline;padding:5px;background:rgba(255,255,255,.94);color:var(--kueng-text,#27382f)!important;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.webarticle-content .customlayout-photo-text :is(span,a,strong,em,b,i,u,small){color:inherit!important;background:transparent!important}
.webarticle-content .customlayout-photo-credit{line-height:1.7;text-align:left}
.legacy-hero .hero-copy{justify-content:flex-start}
.legacy-hero .hero-caption.customlayout-photo-caption{width:100%}
.carousel-item.customlayout-photo{min-height:340px;padding:3rem 0;background-size:cover;background-position:center}
/* Keep a verified CDN crop centred when a responsive banner trims its edges. */
.webarticle-content .customlayout-photo-center{background-position:50% 50%}
/* Three explicit job-title lines also fit the narrowest supported phone width. */
@media(max-width:575.98px){.webarticle-content .customlayout-job-title{font-size:1.25rem!important}}
/* Give text-over-photo banners more room on desktop; retain tablet/touch sizing. */
@media(min-width:992px) and (hover:hover) and (pointer:fine){
  .webarticle-content .customlayout-photo[style*="background-image"][style*="url("],
  .webarticle-content .legacy-hero.customlayout-photo .hero-image[src]{min-height:460px}
}

/* Bootstrap 4.1 dialogs: keep long instructions scrollable with reachable controls. */
.customlayout-scroll-dialog .modal-content{max-height:calc(100vh - 1rem);max-height:calc(100dvh - 1rem)}
.customlayout-scroll-dialog .modal-body{min-height:0;overflow-y:auto;overscroll-behavior:contain}
@media(min-width:576px){.customlayout-scroll-dialog .modal-content{max-height:calc(100vh - 3.5rem);max-height:calc(100dvh - 3.5rem)}}

/* Service cards: a restrained logo or icon area above native Bootstrap card content. */
.customlayout-service-media{height:150px;background:var(--kueng-cream,#f7f6f1);color:var(--kueng-green,#244e3d)}
.customlayout-service-brand{background:#000}
.customlayout-service-media img{width:100%;height:100%;object-fit:contain}
.customlayout-service-photo{overflow:hidden}
.customlayout-service-photo img{display:block;object-fit:cover;object-position:center 40%}
@media(min-width:992px){.customlayout-service-card .card-title{min-height:2.8em;line-height:1.4}}

/* Native Boomerang team cards with Bootstrap gutters and a separate text body. */
.webarticle-content .customlayout-team-card{width:100%;margin:0;overflow:hidden;border:1px solid var(--kueng-line,#dce4dc);border-radius:var(--kueng-radius,10px);background:#fff;box-shadow:none}
.webarticle-content .customlayout-team-image{margin:0;overflow:hidden;flex-shrink:0}
.webarticle-content .customlayout-team-image img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;object-position:center top;border-radius:0}
.webarticle-content .customlayout-team-card .card-body{text-align:left;background:#fff}
.webarticle-content .customlayout-team-card .card-title{font-family:inherit;font-size:1.2rem;font-weight:700;line-height:1.3;letter-spacing:0;color:var(--kueng-text,#27382f)}
.webarticle-content .customlayout-team-role{font-size:.95rem;font-weight:500;line-height:1.5;color:var(--kueng-green,#244e3d)}
.webarticle-content .customlayout-team-details{font-size:.875rem;line-height:1.6;color:var(--kueng-muted,#647268)}
.webarticle-content .customlayout-team-details li+li{margin-top:.25rem}
/* Follow the Bootstrap desktop breakpoint; retain touch layouts. */
@media(min-width:992px) and (hover:hover) and (pointer:fine){
  .webarticle-content .customlayout-team-photo{min-height:460px}
}
/* Keep team interlude photos still as the content scrolls past on desktop. */
@media(min-width:992px) and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .webarticle-content .customlayout-team-banner{background-attachment:fixed!important}
}

/* Gift product details: native Boomerang headings, badges and choices. */
.product-preview .product-title{font-size:clamp(1.8rem,3vw,2.6rem);line-height:1.15}
.product-preview .product-preview-main-image{background:#fff;overflow:hidden;min-height:0;aspect-ratio:1}
.product-preview-main-image img{display:block;width:100%;height:100%;max-height:none;aspect-ratio:1;object-fit:contain}
.product-preview-image-empty{min-height:300px;aspect-ratio:1;background:var(--kueng-cream);color:var(--kueng-muted)}
.product-preview .product-preview-thumbnails button{background:#fff;max-width:82px}
.product-preview-thumbnails img{width:70px;height:70px;object-fit:contain}
.product-preview .product-preview-thumbnails .is-active{border-color:var(--kueng-green)!important;box-shadow:0 0 0 1px var(--kueng-green)}
.product-preview .product-preview-short-badge{font-size:.9rem;line-height:1.45;white-space:normal;text-align:left;padding:.4rem .75rem;color:var(--kueng-green);background:var(--kueng-sage)}
.product-preview .product-short-text{font-size:1.05rem;line-height:1.65;color:var(--kueng-text)}
.product-preview .product-preview-price{font-size:clamp(1.6rem,3vw,2rem);font-weight:700;color:var(--kueng-green)}
.product-preview-facts{font-size:.92rem}.product-preview-facts dt{font-weight:600}.product-preview-facts dd{margin-bottom:.45rem}
.product-preview-variants{scroll-margin-top:110px}
.product-preview .product-preview-variant-row[hidden]{display:none!important}
.product-preview .product-preview-variant-row{background:transparent}
.product-preview .product-preview-variant-row .form-control{min-width:0}
.product-preview .product-preview-variant-row .input-group-text{font-size:.86rem;padding:.45rem}
.product-preview .product-preview-variant-row .btn{padding:.65rem .8rem}
.product-preview .product-preview-choice .checkbox-alphanumeric input:checked+label{background:var(--kueng-green);border-color:var(--kueng-green);color:#fff;transform:none}
.product-preview .product-preview-choice .checkbox-alphanumeric label{width:auto;min-width:3rem;height:auto;min-height:2.6rem;padding:.55rem .85rem;line-height:1.4;text-transform:none;letter-spacing:0;font-size:.95rem;border-radius:5px;white-space:normal}
.product-preview .product-preview-choice input:focus-visible+label{outline:3px solid #b87a1f;outline-offset:3px}
.product-preview :is(.row,[class*=col-]){min-width:0}
@media(max-width:767.98px){.product-preview .product-preview-main-image{min-height:0}.product-preview .product-preview-variant-row{padding-top:1.25rem!important;padding-bottom:1.25rem!important}.product-preview .product-preview-price{font-size:1.6rem}}

.product-preview-choice .checkbox-alphanumeric>div{position:relative;max-width:100%}
.product-preview-choice .checkbox-alphanumeric input{left:0;top:0;width:1px;height:1px;opacity:0}
.product-preview-choice .checkbox-alphanumeric label{max-width:100%;overflow-wrap:anywhere}

.product-preview .product-preview-variant-row .h5{font-size:1.05rem;font-weight:600}

/* Gift variants keep the complete list visible and link each row to its photo. */
.product-preview-gallery{scroll-margin-top:110px}
.product-preview .product-preview-variant-row{padding-left:.75rem;padding-right:.75rem;border-left:3px solid transparent;border-radius:5px;transition:background-color .2s,border-color .2s}
.product-preview .product-preview-variant-row.is-current-variant{border-left-color:var(--kueng-green,#244e3d)}
.product-preview .product-preview-variant-row.is-image-variant{background:var(--kueng-sage,#e8eee6)}
.product-preview .product-preview-variant-row.is-sold-out{background:#fbe9e9;border-color:#eccbcb;border-left-color:#bd4848}
.product-preview .product-preview-variant-row.is-sold-out.is-image-variant{box-shadow:inset 0 0 0 2px #c05c5c}
.product-preview .product-preview-image-badge{font-size:.75rem;font-weight:600;color:var(--kueng-green,#244e3d);background:#fff;white-space:normal;text-align:left;line-height:1.35}
.product-preview .product-preview-image-badge[hidden]{display:none!important}
.product-preview .product-preview-variant-row .product-preview-variant-thumbnail{flex:0 0 74px;width:74px;height:74px;padding:4px;background:#fff}
.product-preview .product-preview-variant-thumbnail img{display:block;width:64px;height:64px;object-fit:contain}
.product-preview .product-preview-variant-name{min-width:0;overflow-wrap:anywhere}
.product-preview .product-preview-variant-thumbnail:focus-visible{outline:3px solid #b87a1f;outline-offset:2px}
.product-preview [data-preview-browse-toggle]{white-space:normal;text-align:left}
@media(prefers-reduced-motion:reduce){.product-preview .product-preview-variant-row{transition:none}}


/* Product toolbar follows the header cart button; browse uses Bootstrap columns. */
.kueng-site .product-preview .product-preview-toolbar-button{padding:.6rem .8rem}
.product-preview-content,.product-preview-sidebar{min-width:0}
.product-preview-selection{scroll-margin-top:110px}
.product-preview-sidebar .shop-sidebar-card{width:100%}
.product-preview-sidebar .input-group>.form-control{min-width:0}


/* Gift navigation uses the catalogue's exact left sidebar frame and columns. */
.product-preview .product-preview-price{line-height:1.35}
.product-preview-price-notes{line-height:1.6}
.product-preview .product-preview-choice .checkbox-alphanumeric label.is-sold-out{background:#fbe9e9;border-color:#bd4848;color:#8b2530}
.product-preview .product-preview-choice .checkbox-alphanumeric input:checked+label.is-sold-out{background:#a93242;border-color:#a93242;color:#fff}
.product-preview .product-preview-choice [data-garden-sibling]{min-height:2.6rem;padding:.55rem .85rem;font-size:.95rem;line-height:1.4;letter-spacing:0;text-transform:none;white-space:normal;text-align:left;border-radius:5px}
.product-preview .product-preview-choice [data-garden-sibling].is-sold-out{background:#fbe9e9;border-color:#bd4848;color:#8b2530}
.product-preview .product-preview-choice [data-garden-sibling].is-sold-out[aria-current="page"]{background:#a93242;border-color:#a93242;color:#fff}
.product-preview .product-preview-variant-thumbnails{flex:0 0 74px;width:74px;gap:4px}
.product-preview .product-preview-variant-row .has-multiple-thumbnails .product-preview-variant-thumbnail{flex:0 0 58px;width:58px;height:58px}
.product-preview .has-multiple-thumbnails .product-preview-variant-thumbnail img{width:48px;height:48px}
.product-preview-variant-meta{line-height:1.5}

/* Bootstrap's width collapse keeps the catalogue steady while it slides offscreen. */
.product-preview-browse{flex:0 0 auto;width:var(--preview-sidebar-width,25%);min-width:0}
.product-preview-browse.collapsing{height:auto;overflow:visible;transition:width .35s ease-in-out}
.product-preview-browse>.product-preview-sidebar{box-sizing:border-box;width:var(--preview-sidebar-width);transform:translateX(calc(-1 * var(--preview-sidebar-travel,100vw)));transition:transform .35s ease-in-out}
.product-preview-browse.show>.product-preview-sidebar,.product-preview-browse.is-sliding-in>.product-preview-sidebar{transform:translateX(0)}
.product-preview-browse.collapsing:not(.is-sliding-in)>.product-preview-sidebar{transform:translateX(calc(-1 * var(--preview-sidebar-travel,100vw)))}
.product-preview .product-preview-variant-thumbnails.has-multiple-thumbnails{flex-basis:120px;width:120px}
@media(min-width:992px){.product-preview [data-preview-layout]{flex-wrap:nowrap}}
@media(prefers-reduced-motion:reduce){.product-preview-browse.collapsing,.product-preview-browse>.product-preview-sidebar{transition:none}}

/* Shared full-width shop controls on catalogue and product detail pages. */
.gift-catalog-controls{--shop-control-height:38px}
.shop-assortment-tabs h2{font:inherit;letter-spacing:inherit;color:inherit}
.kueng-site .shop-assortment-tabs .btn.active{background:var(--kueng-green,#244e3d);border-color:var(--kueng-green,#244e3d);color:#fff}
.kueng-site .shop-assortment-tabs .btn.active:focus{box-shadow:none}
.shop-assortment-tabs .nav-item+.nav-item{margin-top:.35rem;margin-left:0}
[data-shop-navigation] .tab-pane.fade{transition:opacity .2s ease-in-out}
@media(prefers-reduced-motion:reduce){[data-shop-navigation] .tab-pane.fade{transition:none}}
.gift-catalog-controls label{font-size:.8rem;line-height:1.35}
.kueng-site .gift-catalog-controls :is(.form-control,.btn):not(.cart-toggle){box-sizing:border-box;height:var(--shop-control-height);min-height:var(--shop-control-height);font-size:.9rem;line-height:1.4}
.gift-catalog-controls .form-control{padding-top:.375rem;padding-bottom:.375rem}
.gift-catalog-controls .input-group-append .btn{display:flex;align-items:center;justify-content:center;min-width:var(--shop-control-height);padding:0 .65rem}
.gift-catalog-controls .custom-select{min-width:0}
@media(max-width:767.98px){.gift-catalog-controls{--shop-control-height:40px}.kueng-site .gift-catalog-controls .form-control{font-size:1rem}}

/* Shop information shares the theme's headings, cards, tables and Bootstrap grid. */
.customlayout-shop-info{max-width:1080px;font-size:1rem;line-height:1.7}
.customlayout-shop-info p:not(.customlayout-shop-info-eyebrow){font-size:1rem;line-height:1.7}
.customlayout-shop-info-header{padding-bottom:1.5rem;border-bottom:1px solid var(--kueng-line)}
.customlayout-shop-info-eyebrow{font-size:.75rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--kueng-green)}
.customlayout-shop-info-header h1{font-size:clamp(1.6rem,3vw,2.35rem);line-height:1.2;letter-spacing:-.02em}
.customlayout-shop-info :is(.card,.alert){border-radius:var(--kueng-radius)}
.customlayout-shop-info .card{border:1px solid var(--kueng-line);box-shadow:none;overflow:hidden}
.customlayout-shop-info-section .card-body{padding:1.5rem 1.75rem}
.customlayout-shop-info-section h2{font-size:1.2rem;line-height:1.4;color:var(--kueng-green)}
.customlayout-shop-info-section .card-body>:last-child{margin-bottom:0}
.customlayout-shop-info-note{padding:1rem 1.25rem;background:var(--kueng-sage);border:1px solid var(--kueng-line);border-left:3px solid var(--kueng-green);color:var(--kueng-text);font-size:.95rem;line-height:1.65}
.customlayout-shop-info-note strong{font-weight:500}
.customlayout-shop-info-rates table{table-layout:fixed;font-size:1rem;line-height:1.5}
.customlayout-shop-info-rates thead{background:var(--kueng-cream);color:var(--kueng-muted)}
.customlayout-shop-info-rates thead th{border:0;font-size:.75rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase}
.customlayout-shop-info-rates :is(th,td){padding:1rem 1.25rem;border-color:var(--kueng-line);vertical-align:top}
.customlayout-shop-info-rates th{font-weight:400;width:73%}
.customlayout-shop-info-rates thead th:last-child{width:27%;text-align:right}
.customlayout-shop-info .customlayout-shop-info-place{margin:0;font-size:1rem;font-weight:600;line-height:1.5}
.customlayout-shop-info-price{text-align:right;color:var(--kueng-green);font-weight:700;white-space:nowrap}
.customlayout-shop-info-price small{font-size:1rem;font-weight:inherit}
.customlayout-shop-info-rates .table tbody td{vertical-align:top;color:var(--kueng-green)}
.customlayout-shop-info-rates ul{margin:.5rem 0 0;padding-left:1rem;font-size:.875rem;color:var(--kueng-muted);line-height:1.65}
.customlayout-shop-info-rates .customlayout-shop-info-note{margin:.75rem 0 0;font-weight:400}
.customlayout-shop-info-shipping .customlayout-shop-info-rates th{width:65%}
.customlayout-shop-info-shipping .customlayout-shop-info-rates thead th:last-child{width:35%}
.customlayout-shop-info-rates .customlayout-shop-info-rate-note td{padding-top:0;border-top:0}
.customlayout-shop-info-rates .customlayout-shop-info-rate-note .customlayout-shop-info-note{margin-top:0}
.customlayout-shop-info-payment .short-feature{display:block;margin:0 0 .6rem;padding-left:1rem;border-left:2px solid var(--kueng-line)}
.customlayout-shop-info-payment .short-feature h3{font-size:1rem;font-weight:500;line-height:1.5;margin:0}
.customlayout-shop-info-payment ul{padding-left:1.25rem}
.customlayout-shop-info-payment li+li{margin-top:.25rem}
.modal-body .customlayout-shop-info{padding:0!important}
.modal-body .customlayout-shop-info-header h1{font-size:1.65rem}
.customlayout-shop-info-search{padding:1.25rem;background:var(--kueng-cream);border:1px solid var(--kueng-line);border-radius:var(--kueng-radius)}
.customlayout-shop-info-search .form-control{min-width:0}
.customlayout-shop-info-search .btn{font-size:.9rem;padding:.55rem .75rem}
.customlayout-shop-info-search .btn:not(:disabled):hover{background:var(--kueng-green);border-color:var(--kueng-green);color:#fff}
.customlayout-shop-info-delivery [hidden]{display:none!important}
.customlayout-shop-info-rate-grid.is-filtered>[class*="col-"]{flex:0 0 100%;max-width:100%}
@media(max-width:575.98px){
  .customlayout-shop-info-section .card-body{padding:1.1rem}
  .customlayout-shop-info-rates :is(th,td){padding:.85rem .75rem}
  .customlayout-shop-info-rates th{width:70%}
  .customlayout-shop-info-rates thead th:last-child{width:30%}
  .customlayout-shop-info-note{padding:.85rem 1rem}
  .customlayout-shop-info-price small{font-size:.95rem}
}

/* Seasonal article layout: palette values come from web_articles.inhalt. */
.customlayout-advent{color:var(--article-ink);overflow-wrap:break-word}
.customlayout-advent :is(h1,h2,h3,h4,h5,h6){color:var(--article-ink)}
.customlayout-advent :is(section[id],div[id]){scroll-margin-top:120px}
.customlayout-advent .customlayout-advent-hero{min-height:360px;background-color:var(--article-surface);background-position:center}
.customlayout-advent .customlayout-advent-hero h1{font-size:clamp(1.9rem,3.8vw,3.4rem)!important;line-height:1.5;letter-spacing:-.025em}
.customlayout-advent .customlayout-advent-hero .customlayout-photo-text{color:var(--article-ink)!important}
.customlayout-advent .customlayout-advent-eyebrow{font-size:.8rem;line-height:1.5;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--article-accent-strong)}
.customlayout-advent .customlayout-advent-lead{font-size:clamp(1.05rem,1.4vw,1.2rem);line-height:1.7}
.customlayout-advent .customlayout-advent-sage{background:var(--article-surface);color:var(--article-ink)}
.customlayout-advent .customlayout-advent-pale{background:var(--article-surface-alt);color:var(--article-ink)}
.customlayout-advent .customlayout-advent-rose{background:var(--article-accent);color:var(--article-on-accent)}
.customlayout-advent .customlayout-advent-rose :is(h1,h2,h3,h4,h5,h6,p,.customlayout-advent-eyebrow,.customlayout-advent-lead){color:var(--article-on-accent)}
.customlayout-advent .customlayout-advent-rose a:not(.btn){color:var(--article-on-accent);text-decoration:underline}
.customlayout-advent .customlayout-advent-card{background:var(--article-card);border:1px solid var(--article-line);box-shadow:none}
.customlayout-advent .customlayout-advent-card .card-body{background:transparent}
.customlayout-advent .customlayout-advent-card .card-title{line-height:1.35}
.customlayout-advent .customlayout-advent-date{display:block;color:var(--article-accent-strong);font-size:1.05rem;font-weight:700;line-height:1.55}
.customlayout-advent .customlayout-advent-sage .customlayout-advent-eyebrow,
.customlayout-advent .customlayout-advent-sage .customlayout-advent-date{color:var(--article-ink)}
.customlayout-advent .customlayout-advent-card .customlayout-advent-eyebrow,
.customlayout-advent .customlayout-advent-card .customlayout-advent-date{color:var(--article-accent-strong)}
.customlayout-advent .customlayout-advent-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}
.customlayout-advent .customlayout-advent-actions .btn{max-width:100%;margin:0}
.customlayout-advent .btn-advent{background:var(--article-accent);border-color:var(--article-accent);color:var(--article-on-accent)}
.customlayout-advent .btn-advent:hover,
.customlayout-advent .btn-advent:focus{background:var(--article-accent-strong);border-color:var(--article-accent-strong);color:var(--article-on-accent)}
.customlayout-advent .btn-advent-outline{background:transparent;border-color:var(--article-accent-strong);color:var(--article-accent-strong)}
.customlayout-advent .customlayout-advent-sage .btn-advent-outline{background:var(--article-card)}
.customlayout-advent .btn-advent-outline:hover,
.customlayout-advent .btn-advent-outline:focus{background:var(--article-accent-strong);border-color:var(--article-accent-strong);color:var(--article-on-accent)}
.customlayout-advent .customlayout-advent-sage .btn-advent-outline:hover,
.customlayout-advent .customlayout-advent-sage .btn-advent-outline:focus{background:var(--article-accent-strong)}
.customlayout-advent .customlayout-advent-rose .btn-advent{background:var(--article-card);border-color:var(--article-on-accent);color:var(--article-accent-strong)}
.customlayout-advent .customlayout-advent-rose .btn-advent:hover,
.customlayout-advent .customlayout-advent-rose .btn-advent:focus{background:var(--article-surface-alt);border-color:var(--article-surface-alt);color:var(--article-accent-strong)}
.customlayout-advent .customlayout-advent-rose :is(.btn-advent-outline,.btn-outline-light){background:transparent;border-color:var(--article-on-accent);color:var(--article-on-accent)}
.customlayout-advent .customlayout-advent-rose :is(.btn-advent-outline,.btn-outline-light):hover,
.customlayout-advent .customlayout-advent-rose :is(.btn-advent-outline,.btn-outline-light):focus{background:var(--article-card)!important;border-color:var(--article-on-accent);color:var(--article-accent-strong)}
.customlayout-advent .customlayout-advent-image{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.customlayout-advent .customlayout-advent-number{display:inline-flex;align-items:center;justify-content:center;min-width:2rem;min-height:2rem;padding:.2rem .6rem;border-radius:50%;background:var(--article-surface-alt);color:var(--article-ink);font-size:.85rem;font-weight:700;line-height:1.4}
@media(min-width:992px) and (hover:hover) and (pointer:fine){
  .customlayout-advent .customlayout-advent-hero{min-height:460px}
}
@media(max-width:575.98px){
  .customlayout-advent .customlayout-advent-hero{min-height:320px}
  .customlayout-advent .customlayout-advent-hero h1{font-size:1.9rem!important}
  .customlayout-advent .customlayout-advent-card .card-body{padding:1.25rem}
}
