/* Chuť dňa — unified header popovers + localization/search fixes */
.cd-public .cd-head-v2-shell .cd-lang-v2{z-index:250!important;position:relative!important}
.cd-public .cd-head-v2-shell .cd-lang-v2 .cd-lang-options{
 position:absolute!important;top:calc(100% + 10px)!important;right:0!important;left:auto!important;
 width:228px!important;min-width:228px!important;max-width:calc(100vw - 24px)!important;
 padding:8px!important;margin:0!important;display:flex!important;flex-direction:column!important;gap:3px!important;
 white-space:normal!important;overflow:hidden!important;z-index:500!important;
 background:#fffefa!important;border:1px solid #d9e7dc!important;border-radius:18px!important;
 box-shadow:0 22px 48px rgba(20,49,30,.16)!important;
}
.cd-public .cd-head-v2-shell .cd-lang-v2:not([open])>.cd-lang-options{display:none!important}
.cd-public .cd-head-v2-shell .cd-lang-v2 .cd-lang-option{
 display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;
 width:100%!important;min-height:44px!important;box-sizing:border-box!important;
 padding:9px 13px!important;margin:0!important;line-height:1.4!important;
 color:#244936!important;background:transparent!important;font:600 14px/1.35 'Open Sans',sans-serif!important;
 white-space:nowrap!important;border:0!important;border-radius:11px!important;text-decoration:none!important;
 transition:background-color .18s ease,transform .18s ease!important;
}
.cd-public .cd-head-v2-shell .cd-lang-v2 .cd-lang-option>span:first-child{font-size:20px!important;line-height:1!important}
.cd-public .cd-head-v2-shell .cd-lang-v2 .cd-lang-option:hover,
.cd-public .cd-head-v2-shell .cd-lang-v2 .cd-lang-option:focus-visible,
.cd-public .cd-head-v2-shell .cd-lang-v2 .cd-lang-option[aria-current=page]{background:#ebf5ed!important;color:#173e2b!important;transform:none!important}
.cd-public .cd-head-v2-shell .cd-lang-v2 .cd-lang-trigger{position:relative!important;z-index:1!important}

/* Search footer button: completely neutralize native/legacy giant typography */
.cd-public .cd-head-search .cd-suggestions{padding:0 0 9px!important;overflow-x:hidden!important;z-index:240!important}
.cd-public .cd-head-search .cd-suggestions [role=option]{min-width:0!important}
.cd-public .cd-head-search .cd-suggestions .cd-suggestions-all{
 appearance:none!important;display:flex!important;align-items:center!important;justify-content:center!important;
 width:calc(100% - 20px)!important;min-height:48px!important;height:auto!important;max-height:none!important;
 padding:13px 15px!important;margin:9px 10px 0!important;box-sizing:border-box!important;
 border:0!important;border-radius:14px!important;background:#214b37!important;color:#fff!important;
 font:700 14px/1.35 'Open Sans',sans-serif!important;letter-spacing:0!important;text-align:center!important;
 white-space:normal!important;text-transform:none!important;overflow:visible!important;opacity:1!important;
 box-shadow:none!important;cursor:pointer!important;flex:none!important;
 transition:background-color .2s ease, transform .2s ease!important;
}
.cd-public .cd-head-search .cd-suggestions .cd-suggestions-all:hover,
.cd-public .cd-head-search .cd-suggestions .cd-suggestions-all:focus-visible{color:#fff!important;background:#326d4f!important;transform:translateY(-1px)!important}

/* Header-anchored, non-modal dropdowns replacing fullscreen dialogs */
.cd-header-popover{
 position:fixed;z-index:2000;display:flex;flex-direction:column;overflow:hidden;
 max-width:calc(100vw - 24px);min-width:0;
 background:rgba(255,254,251,.985);color:#203d30;
 border:1px solid #d5e7da;border-radius:24px;
 box-shadow:0 24px 65px rgba(21,48,31,.22),0 1px 0 #fff inset;
 font:400 14px/1.45 'Open Sans',sans-serif;
 animation:cd-panel-arrive .22s cubic-bezier(.2,.8,.2,1) both;
}
.cd-header-popover *{box-sizing:border-box}
.cd-header-popover .cd-popover-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px 22px 15px;flex:none;border-bottom:1px solid #e3ece5}
.cd-header-popover .cd-popover-head h2{margin:0;font:700 21px/1.18 'Open Sans',sans-serif;letter-spacing:-.7px;color:#1f4430}
.cd-header-popover .cd-popover-count{margin:6px 0 0;font-size:12px;color:#718479}
.cd-header-popover .cd-popover-close,
.cd-header-popover .cd-popover-remove{
 appearance:none;display:grid;place-items:center;flex:none;min-width:34px;height:34px;padding:0;
 border:1px solid #dceadf;border-radius:11px;background:#f6faf6;color:#345a42;
 font:600 21px/1 sans-serif;cursor:pointer;
 transition:background-color .2s,color .2s,transform .2s;
}
.cd-header-popover .cd-popover-close:hover,.cd-header-popover .cd-popover-remove:hover{background:#fff0e9;color:#a94232;transform:scale(1.05)}
.cd-header-popover .cd-popover-list{overflow:auto;overscroll-behavior:contain;min-height:0;flex:1 1 auto;padding:6px 22px;scrollbar-width:thin}
.cd-header-popover .cd-popover-row{display:flex;align-items:center;gap:12px;padding:12px 0;min-width:0;border-bottom:1px solid #e6efe8}
.cd-header-popover .cd-popover-row:last-child{border-bottom:0}
.cd-header-popover .cd-popover-check{display:flex;align-items:flex-start;gap:12px;flex:1;min-width:0;cursor:pointer;line-height:1.45;color:#294b36;font-size:14px}
.cd-header-popover .cd-popover-check input{appearance:none;flex:0 0 19px;width:19px;height:19px;border:1.5px solid #9ebfa9;border-radius:7px;background:#fff;cursor:pointer;margin:1px 0 0}
.cd-header-popover .cd-popover-check input:checked{background:#377f57;border-color:#377f57}
.cd-header-popover .cd-popover-check input:checked::after{content:'✓';display:grid;place-items:center;color:#fff;font-size:13px;font-weight:700}
.cd-header-popover .cd-popover-row.is-done .cd-popover-check>span{color:#8b9e90;text-decoration:line-through}
.cd-header-popover .cd-popover-row .cd-popover-remove{width:32px;height:32px;min-width:32px;font-size:18px}
.cd-header-popover .cd-popover-footer{flex:none;border-top:1px solid #e0eae3;background:#f9fcf9;padding:15px 20px 18px}
.cd-header-popover .cd-popover-actions{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}
.cd-header-popover .cd-popover-action{appearance:none;border:1px solid #d4e5da;border-radius:11px;background:#fff;color:#28533b;padding:9px 10px;font:700 11px/1.25 'Open Sans',sans-serif;cursor:pointer;transition:background-color .2s,color .2s,transform .2s}
.cd-header-popover .cd-popover-action:hover:not(:disabled){background:#edf7ef;color:#214932;transform:translateY(-1px)}
.cd-header-popover .cd-popover-action.is-danger{color:#ad5137;border-color:#f0c6bc;background:#fff8f6}
.cd-header-popover .cd-popover-action.is-danger:hover:not(:disabled){background:#ffe9e1;color:#973e27}
.cd-header-popover .cd-popover-action.is-primary{width:100%;background:#245c43;border-color:#245c43;color:#fff;padding:12px 14px;font-size:13px}
.cd-header-popover .cd-popover-action.is-primary:hover:not(:disabled){background:#19452f;color:#fff}
.cd-header-popover button:disabled{opacity:.45;cursor:not-allowed}
.cd-header-popover .cd-popover-empty{padding:22px 6px;color:#667d6d;font-size:13px}
.cd-header-popover .cd-popover-recipe-link{display:flex;align-items:center;gap:12px;flex:1;min-width:0;text-decoration:none!important;color:#264735;font-size:13px;font-weight:650;line-height:1.4}
.cd-header-popover .cd-popover-recipe-link img{width:62px;height:62px;flex:0 0 62px;object-fit:cover;border-radius:11px;background:#f0f3ef}
.cd-header-popover .cd-popover-recipe-link>span{min-width:0;overflow-wrap:anywhere}
.cd-header-popover .cd-popover-recipe-link:hover{color:#d56540}
.cd-header-popover button:focus-visible,.cd-header-popover a:focus-visible,.cd-header-popover input:focus-visible{outline:3px solid #fca67d;outline-offset:3px}
@keyframes cd-panel-arrive{from{opacity:0;transform:translateY(-6px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:540px){
 .cd-header-popover{border-radius:20px}
 .cd-header-popover .cd-popover-head{padding:17px 17px 12px}
 .cd-header-popover .cd-popover-list{padding:4px 17px}
 .cd-header-popover .cd-popover-footer{padding:12px 16px 15px}
 .cd-header-popover .cd-popover-action{font-size:10px;padding:8px 9px}
}
@media(prefers-reduced-motion:reduce){.cd-header-popover{animation:none}.cd-header-popover *{transition:none!important}}
@media print{.cd-header-popover{display:none!important}}


/* 2.10 — favorites/shopping dropdown motion */
.cd-header-popover{transform-origin:top right;will-change:transform,opacity;animation:cd-popover-in .26s cubic-bezier(.18,.85,.25,1) both}
.cd-header-popover.is-closing{pointer-events:none;animation:cd-popover-out .17s ease-in both}
@keyframes cd-popover-in{from{opacity:0;transform:translateY(-12px) scale(.965);filter:blur(3px)}to{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}}
@keyframes cd-popover-out{from{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(-7px) scale(.98)}}
.cd-header-popover .cd-popover-row{transition:background-color .2s,transform .2s}
.cd-header-popover .cd-popover-row:hover{background:rgba(233,244,236,.65);transform:translateX(2px)}
.cd-header-popover .cd-popover-row:has(input:checked){transition:background-color .24s}
.cd-header-popover .cd-popover-check input:checked{animation:cd-checkbox-pop .28s ease-out}
@keyframes cd-checkbox-pop{50%{transform:scale(1.15)}}
.cd-public .cd-favorites-open,.cd-public .cd-shopping-open{transition:transform .2s ease,background-color .2s ease}
.cd-public .cd-favorites-open[aria-expanded="true"],.cd-public .cd-shopping-open[aria-expanded="true"]{transform:translateY(-1px);background-color:rgba(233,245,234,.8)}
@media(prefers-reduced-motion:reduce){.cd-header-popover,.cd-header-popover.is-closing,.cd-header-popover .cd-popover-row,.cd-header-popover .cd-popover-check input:checked{animation:none!important;transition:none!important;filter:none!important;transform:none!important}}
