.search-wallet { display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,1fr);gap:12px;align-items:center;min-width:0; }
body .search-wallet .search-group { min-width:0;width:100%; }
.wallet-link { display:flex;align-items:center;gap:9px;min-width:0;min-height:68px;padding:6px 12px;border:1px solid #B8D0E3;border-radius:28px;background:#EDF4FA;color:#365F82;text-decoration:none;box-shadow:0 4px 14px #365F8209; }
.wallet-link img { width:54px;height:54px;object-fit:contain;flex-shrink:0; }
.wallet-link-copy { display:flex;flex-direction:column;gap:4px; }
.wallet-name { font-size:16px;font-weight:750;white-space:nowrap; }
.wallet-link small { font-size:10px;color:#536C80; }
.wallet-link>strong { margin-left:auto;font-size:21px;white-space:nowrap; }
.wallet-chevron { font-size:23px; }
.wallet-link:hover { background:#E1EDF7;border-color:#789DBC; }
.wallet-link:active { background:#D7E7F3; }
.wallet-link:focus-visible { outline:3px solid #365F82;outline-offset:3px; }
.wallet-only { grid-template-columns:1fr;max-width:360px;width:100%;justify-self:center; }
.wallet-hero { display:flex;align-items:center;gap:28px;padding:26px;margin:24px 0;border:1px solid #B8D0E3;border-radius:28px;background:linear-gradient(115deg,#EDF4FA,#FDFBF7);color:#365F82; }
.wallet-hero>img { object-fit:contain;width:150px;height:150px; }
.wallet-hero h1 { font-size:48px;margin:5px 0; }
.wallet-notice { padding:16px 20px;background:#EEF4F8;border-left:3px solid #426F95;border-radius:12px;line-height:1.6; }
.wallet-products { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0; }
.wallet-product { display:flex;align-items:center;gap:18px;min-width:0;background:var(--panel-bg);border:1px solid var(--border);border-radius:22px;padding:20px; }
.wallet-product>img { width:130px;height:160px;object-fit:contain; }
.wallet-product h3 { font-size:17px;line-height:1.45;overflow-wrap:anywhere; }
.wallet-product p { color:var(--text-secondary);font-size:12px; }
.wallet-product strong { display:inline-block;background:#2E577A;color:white;border-radius:12px;padding:9px 12px;font-size:19px; }
.wallet-product small { display:block;font-size:11px; }
@media(min-width:1280px) {
 body .header-inner { grid-template-columns:210px minmax(0,1fr) auto;gap:12px;align-items:center; }
 .search-wallet { grid-template-columns:minmax(130px,1fr) 200px 180px;gap:10px; }
 body .header-inner nav { max-width:none;gap:8px;padding:0;border:0;background:transparent;box-shadow:none;flex-wrap:nowrap;min-height:48px; }
 body .header-inner nav :is(.auth-entry,.favorites-link) { min-height:48px;height:48px;white-space:nowrap;font-size:12px;padding:8px 9px;gap:5px; }
 body .header-inner nav .language-switch { height:48px;align-items:center;margin:0;padding:4px;flex-wrap:nowrap; }
 body .header-inner nav .language-switch button { font-size:12px;padding:7px 5px; }
 body .header-inner .search-group { min-height:48px;height:48px;padding:0; }
 body .header-inner .search { min-height:48px;height:48px; }
 body .header-inner .wallet-link { min-height:48px;height:48px;gap:6px;padding:3px 9px; }
 .wallet-link img { width:36px;height:40px; }
 .wallet-name { font-size:14px; }
 .wallet-link>strong { font-size:18px; }
}
.how-link { display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:48px;padding:5px 10px;border:1px solid #B8D0E3;border-radius:28px;background:#EDF4FA;color:#365F82;text-decoration:none;font-size:13px;font-weight:650; }
.how-link img { width:55px;height:36px;object-fit:contain;flex-shrink:0; }
.how-link:hover { background:#E1EDF7;border-color:#789DBC; }
.how-link:active { background:#D7E7F3; }
.how-link:focus-visible { outline:3px solid #365F82;outline-offset:3px; }
.search-wallet.wallet-only { grid-template-columns:repeat(2,minmax(0,1fr));max-width:none; }
body .header-inner nav>a:not(.auth-entry):not(.favorites-link) { display:none; }
.illustrated-icon { display:inline-block;width:32px;height:32px;flex-shrink:0;background-image:url('../branding/icons/sections.png');background-size:300% 300%;background-repeat:no-repeat; }
.icon-favorites { background-position:0% 18%; }
.icon-account { background-position:50% 18%; }
.icon-bonus { background-position:100% 18%; }
.icon-manufacturer { background-position:0% 81%; }
.icon-category { background-position:50% 81%; }
.icon-expiry { background-position:100% 81%; }
body .favorite-button .card-heart-icon { width:30px;height:30px; }
body :is(.promotion-card,.detail-favorite) .favorite-button { position:relative;top:auto;right:auto;padding:4px; }
body :is(.promotion-card,.detail-favorite) .favorite-button[aria-pressed=true] { background:#E1EDF7;border-color:#426F95;box-shadow:inset 0 0 0 1px #426F95; }
body .favorite-button[aria-pressed=true]:after { content:'✓';position:absolute;right:-3px;top:-5px;display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#365F82;color:#FFE19A;border:1px solid #FDFBF7;font-size:11px;font-weight:750; }
body .favorite-button:focus-visible { outline:3px solid #365F82;outline-offset:3px; }
.category-mini-icon { display:inline-block;width:32px;height:32px;flex-shrink:0;background-image:url('../branding/icons/categories.png');background-size:300% 300%;background-repeat:no-repeat; }
.category-mini-grocery { background-position:0% 18%; }
.category-mini-drinks { background-position:50% 18%; }
.category-mini-sweets { background-position:100% 18%; }
.category-mini-dairy { background-position:0% 81%; }
.category-mini-household { background-position:50% 81%; }
.category-mini-other { background-position:100% 81%; }
body .filter-chip[data-filter-choice=category] { gap:8px;min-height:52px; }
body .filter-section .compact-filter-icon { width:36px;height:36px;object-fit:contain; }
body .header-inner nav .section-icon { width:28px;height:28px; }
.how-hero { display:flex;align-items:center;gap:28px;margin:24px 0; }
.how-hero img { width:45%;height:auto;max-height:240px;object-fit:contain; }
.how-hero h1 { color:#365F82;font-weight:750; }
.how-steps { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:0;list-style:none;counter-reset:how; }
.how-steps li { counter-increment:how;padding:22px;background:var(--panel-bg);border:1px solid var(--border);border-radius:22px; }
.how-steps li:before { content:counter(how);display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#426F95;color:white;font-weight:700; }
.how-steps h2 { font-size:18px;line-height:1.4; }
.how-steps p { font-size:14px;line-height:1.6; }
body { padding-bottom:58px; }
body .info-footer { position:fixed;bottom:0;left:0;right:0;z-index:15;max-width:none;margin:0;min-height:40px;padding:9px 18px;border-top:1px solid #DCE1E5;background:rgba(253,251,247,.78);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);box-shadow:0 -3px 18px #365F8205; }
.info-footer nav { width:100%;display:flex;align-items:center;justify-content:center;gap:16px; }
.info-footer a { color:#536C80;font-size:12px;text-decoration:none; }
.info-footer a:hover { color:#365F82;text-decoration:underline; }
.info-footer a:focus-visible { outline:2px solid #365F82;outline-offset:3px; }
@media(max-width:380px) { .info-footer nav { gap:8px; } .info-footer a { font-size:10px; } }
@media(min-width:801px) and (max-width:1279px) {
 body .header-inner { grid-template-columns:180px minmax(0,1fr); }
 body .header-inner nav { grid-column:2;grid-row:1;justify-self:end; }
 body .header-inner .search-wallet { grid-column:1/-1;grid-row:2; }
 .search-wallet { grid-template-columns:minmax(130px,1fr) 190px 165px; }
}
@media(max-width:800px) {
 body .header-inner .search-wallet { display:contents; }
 body .header-inner .wallet-link { grid-column:1;grid-row:2;width:100%;min-height:62px;padding:4px 16px; }
 body .header-inner .how-link { grid-column:1;grid-row:3;width:100%;min-height:44px; }
 body .header-inner nav { grid-row:4; }
 body .header-inner .search-group { grid-row:5; }
 body .header-inner nav .section-icon { width:16px;height:16px; }
 .wallet-link img { width:56px;height:56px; }
 .wallet-name { font-size:18px; }
 .wallet-link>strong { font-size:24px; }
 .wallet-products { grid-template-columns:1fr; }
 .wallet-hero { gap:16px;padding:18px; }
 .wallet-hero>img { width:100px;height:120px; }
 .wallet-hero h1 { font-size:38px; }
 .wallet-product { padding:16px;gap:14px; }
 .wallet-product>img { width:100px;height:140px; }
 .how-hero { flex-direction:column;gap:12px;align-items:flex-start; }
 .how-hero img { width:100%;max-height:180px; }
 .how-steps { grid-template-columns:1fr; }
}
@media(max-width:380px) { body .header-inner nav .section-icon { width:14px;height:14px; } }

/* Compact phone header: logo, two sections, account controls, search. */
.header-filter-button { display:none; }
@media(max-width:800px) {
 body .header-inner { grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:8px 12px; }
 body .header-inner .identity { grid-column:1/-1;min-height:0;padding:4px 12px; }
 body .header-inner .site-logo { width:50%;max-width:170px; }
 body .header-inner .wallet-link { grid-column:1;grid-row:2;display:grid;grid-template-columns:28px minmax(0,1fr);column-gap:6px;row-gap:0;min-height:54px;height:54px;padding:4px 9px;border-radius:22px; }
 body .header-inner .wallet-link img { grid-column:1;grid-row:1/3;width:28px;height:34px; }
 body .header-inner .wallet-link-copy { grid-column:2;grid-row:1;gap:0; }
 body .header-inner .wallet-name { font-size:12px;line-height:14px; }
 body .header-inner .wallet-link small { font-size:8px;line-height:10px; }
 body .header-inner .wallet-link>strong { grid-column:2;grid-row:2;margin:0;font-size:16px;line-height:18px; }
 body .header-inner .wallet-chevron { display:none; }
 body .header-inner .how-link { grid-column:2;grid-row:2;min-height:54px;height:54px;padding:4px 8px;gap:5px;border-radius:22px;font-size:11px;line-height:1.25; }
 body .header-inner .how-link img { width:42px;height:28px; }
 body .header-inner nav { grid-column:1/-1;grid-row:3; }
 body .header-inner .search-group { grid-column:1/-1;grid-row:4;min-height:44px; }
 body .header-inner .search { min-height:44px; }
 body .header-inner .search input[type=search] { font-size:11.2px; }
 body .catalog-content #page-title.showcase-title { font-size:20.8px; }
 body .header-inner:has(#show-filters) { grid-template-columns:repeat(3,minmax(0,1fr));gap:5px; }
 body .header-inner .wallet-link { height:38px;min-height:38px;grid-template-columns:18px minmax(0,1fr);column-gap:3px;padding:2px 4px; }
 body .header-inner .wallet-link img { width:18px;height:26px; }
 body .header-inner .wallet-name { font-size:11px;line-height:11px; }
 body .header-inner .wallet-link small { font-size:7px;line-height:8px; }
 body .header-inner .wallet-link>strong { font-size:12px;line-height:13px; }
 body .header-inner .how-link { height:38px;min-height:38px;padding:3px 5px;gap:3px;font-size:10px; }
 body .header-inner .how-link img { width:26px;height:22px; }
 body .header-inner .header-filter-button { display:flex;grid-column:3;grid-row:2;align-items:center;justify-content:center;gap:3px;height:38px;min-height:38px;min-width:0;padding:3px 4px;border:1px solid #B8D0E3;border-radius:22px;background:#EDF4FA;color:#365F82;font-size:10px; }
 .header-filter-symbol { font-size:14px;line-height:1; }
 #filter-count { font-size:8px; }
 body .header-filter-button:hover { background:#E1EDF7; }
 body .header-filter-button:focus-visible { outline:3px solid #365F82;outline-offset:2px; }
 body .header-inner nav .language-switch { min-height:38px; }
 body .header-inner .search-group,body .header-inner .search { min-height:38px; }
 /* Matching columns in both rows, without extra inset around account buttons. */
 body .header-inner nav { grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:0;border:0;background:transparent;box-shadow:none;min-height:38px; }
 body .header-inner nav :is(.auth-entry,.favorites-link) { padding:3px;gap:2px;font-size:clamp(9px,2.55vw,11px); }
 body .header-inner nav .section-icon { width:18px;height:18px; }
 body .header-inner .nav-entry-label { white-space:normal;overflow-wrap:normal;line-height:1.1; }
 body .header-inner nav .language-switch { width:100%;justify-content:center;justify-self:stretch; }
 body .header-inner .wallet-link { display:flex;align-items:center;justify-content:center;gap:2px;padding:3px 4px; }
 body .header-inner .wallet-link img { width:18px;height:22px;flex-shrink:0; }
 body .header-inner .wallet-link-copy { display:block;min-width:0; }
 body .header-inner .wallet-name { display:block;font-size:clamp(7px,2vw,10px);line-height:12px;white-space:nowrap; }
 body .header-inner .wallet-link small { grid-column:2/4;grid-row:2; }
 body .header-inner .wallet-link>strong { margin:0;font-size:clamp(8px,2.3vw,11px);line-height:12px;white-space:nowrap;flex-shrink:0; }
 body .header-inner .how-link { font-size:clamp(9px,2.5vw,11px);padding:3px; }
 body .header-inner .how-link img { width:30px;height:26px; }
 body .header-inner .identity { background:transparent;border:0;box-shadow:none;padding:2px 12px; }
 body .header-inner .site-logo { width:68%;max-width:220px; }
}
