.seo-home-page #brands .seo-brand-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.seo-home-page #brands .seo-home-brand-card{display:grid;grid-template-columns:112px minmax(0,1fr);gap:20px 16px;align-items:center;min-width:0;width:100%;max-width:100%;height:auto;margin:0;padding:24px;box-sizing:border-box;border:1px solid #e4e1db;border-radius:20px;overflow:hidden}
.seo-home-page #brands .seo-home-brand-logo{position:static;display:flex;align-items:center;justify-content:center;align-self:center;grid-area:auto;width:112px;min-width:0;max-width:100%;height:84px;min-height:0;max-height:84px;aspect-ratio:auto;margin:0;padding:12px;box-sizing:border-box;overflow:hidden;border:1px solid #e4e1db;border-radius:12px;background:#fff}
.seo-home-page #brands .seo-home-brand-logo img{position:static;display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;margin:0;padding:0;box-sizing:border-box;object-fit:contain;object-position:center;transform:none}
.seo-home-page #brands .seo-home-brand-body{min-width:0;margin:0;padding:0;align-self:center}
.seo-home-page #brands .seo-home-brand-meta{margin:0;font-size:12px;line-height:1.5}
.seo-home-page #brands .seo-home-brand-body h3{margin:4px 0 0;font-size:24px;line-height:1.25}
.seo-home-page #brands .seo-brand-directory-cta{display:inline-flex;align-items:center;gap:6px;max-width:100%;margin-top:10px;color:#674c1d;font-size:14px;font-weight:700;line-height:1.4;text-decoration:none}
.seo-home-page #brands .seo-brand-directory-cta:hover{text-decoration:underline;text-underline-offset:3px}
.seo-home-page #brands .seo-brand-directory-cta:focus-visible{outline:2px solid #6f511e;outline-offset:3px;border-radius:2px}
@media(max-width:767px){.seo-home-page #brands .seo-brand-grid{grid-template-columns:minmax(0,1fr)}.seo-home-page #brands .seo-home-brand-card{grid-template-columns:96px minmax(0,1fr);padding:20px;gap:16px}.seo-home-page #brands .seo-home-brand-logo{width:96px;height:72px;max-height:72px;padding:10px}}
@media(max-width:380px){.seo-home-page #brands .seo-home-brand-card{padding:16px}}

/* Country links remain ordinary, visible links in their own directory. */
.seo-home-page .seo-brand-directory{scroll-margin-top:90px}
.seo-home-page .seo-brand-directory-group{margin:0 0 20px;padding:24px;border:1px solid #e4e1db;border-radius:16px;background:#fff;scroll-margin-top:90px}
.seo-home-page .seo-brand-directory-group:last-child{margin-bottom:0}
.seo-home-page .seo-brand-directory-group h3{margin:0 0 14px;color:#2d271c;font-size:18px;line-height:1.35}
.seo-home-page .seo-brand-directory-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 24px;min-width:0}
.seo-home-page .seo-brand-directory-links a{display:flex;align-items:baseline;gap:8px;min-width:0;min-height:40px;padding:8px 0;color:#654a1d;font-size:14px;font-weight:600;line-height:1.5;text-decoration:underline;text-decoration-color:#c4baa9;text-underline-offset:3px;overflow-wrap:anywhere}
.seo-home-page .seo-brand-directory-links a:hover{color:#463312;text-decoration-color:currentColor}
.seo-home-page .seo-brand-directory-links a:focus-visible{outline:2px solid #6f511e;outline-offset:2px;border-radius:2px}
.seo-home-page .seo-brand-directory-links a span[aria-hidden="true"]{flex:none;text-decoration:none}
@media(max-width:900px){.seo-home-page .seo-brand-directory-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 18px}}
@media(max-width:560px){.seo-home-page .seo-brand-directory-group{padding:20px}.seo-home-page .seo-brand-directory-links{grid-template-columns:minmax(0,1fr)}}

.seo-country-picker{position:relative;min-width:0;width:100%}
.seo-country-picker[hidden],[data-brand-country][hidden],.seo-country-picker [hidden]{display:none!important}
.seo-country-picker>summary{box-sizing:border-box;width:100%;min-height:46px;padding:12px 14px;border:1px solid #dcd8d0;border-radius:12px;background:#fff;color:#2d271c;font:inherit;cursor:pointer}
.seo-country-picker>summary:focus-visible,.seo-country-picker-options button:focus-visible{outline:2px solid #6f511e;outline-offset:2px}
.seo-country-picker-options{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:30;padding:6px;background:#fff;border:1px solid #dcd8d0;border-radius:12px;box-shadow:0 8px 24px #2c261b26}
.seo-country-search{padding:4px 4px 8px;border-bottom:1px solid #e9e7e4;margin-bottom:4px}
.seo-country-search input{box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #dcd8d0;border-radius:8px;background:#fff;color:#2d271c;font:inherit;font-size:16px}
.seo-country-search input:focus-visible{outline:2px solid #6f511e;outline-offset:1px}
.seo-country-choice-list{max-height:260px;max-height:min(260px,40vh);overflow-y:auto;overscroll-behavior:contain}
.seo-country-search-status{margin:0;padding:4px 10px;font-size:13px;color:#52665f}
.seo-country-picker-options button{display:flex;align-items:center;gap:8px;box-sizing:border-box;width:100%;min-height:44px;padding:9px 10px;border:0;border-radius:6px;background:transparent;color:#2d271c;font:inherit;text-align:left;cursor:pointer}
.seo-country-picker-options button:hover,.seo-country-picker-options button[aria-pressed="true"]{background:#f6f2ec}
.seo-home-hero:has(.seo-country-picker[open]),.seo-home-hero .seo-brand-search{overflow:visible}
/* The brand list has a bounded scroll area; the input may shrink on narrow screens. */
.seo-home-page .seo-brand-search-fields,.seo-home-page .seo-search-brand,.seo-home-page .seo-brand-combobox{min-width:0;max-width:100%}
.seo-home-page .seo-brand-combobox>input{box-sizing:border-box;width:100%;min-width:0;max-width:100%}
.seo-home-page .seo-brand-results{box-sizing:border-box;max-height:300px;max-height:min(300px,40vh);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.seo-home-page .seo-brand-results[hidden]{display:none}
@media(max-width:720px){
  /* Expand the search card instead of covering the content below it. */
  .seo-home-page .seo-brand-search-fields{grid-template-columns:minmax(0,1fr)}
  /* Avoid iOS zooming the page when the search input receives focus. */
  .seo-home-page .seo-brand-combobox>input{font-size:16px}
  .seo-home-page .seo-brand-results{position:static;width:100%;margin-top:8px;max-height:240px;max-height:min(240px,35vh)}
}
.seo-home-continents{display:block;columns:auto}
.seo-home-continents .seo-home-continent{break-inside:avoid;margin:0 0 28px;padding:0}
.seo-home-continents>.seo-home-continent-europe{margin-bottom:32px}
.seo-other-continents{display:grid;grid-template-columns:repeat(var(--country-columns),minmax(0,1fr));grid-template-rows:repeat(var(--country-rows),auto auto);gap:14px 24px;width:calc((100% - 72px)/4)}
.seo-other-continents[data-columns="2"]{width:calc((200% - 48px)/4)}
.seo-other-continents[data-columns="3"]{width:calc((300% - 24px)/4)}
.seo-other-continents[data-columns="4"]{width:100%}
.seo-home-continents .seo-other-continents>.seo-home-continent{display:grid;grid-column:var(--continent-column);grid-row:var(--continent-start)/span var(--continent-span);grid-template-rows:subgrid;margin:0;min-width:0}
.seo-other-continents>.seo-home-continent>.seo-home-continent-title{grid-row:1;margin:0;align-self:end}
.seo-home-continents .seo-other-continents .seo-home-country-grid{display:contents}
.seo-other-continents .seo-home-country-card{grid-row:var(--country-card-row)}
.seo-home-continent-title{margin:0 0 14px;color:#6f511e;font-size:18px;font-weight:750;line-height:1.35;text-align:left}
.seo-home-continents .seo-home-country-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;margin:0;columns:auto}
.seo-home-continent-europe .seo-home-country-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 24px}
.seo-home-continents .seo-home-country-card{display:flex;flex-direction:column;align-items:stretch;gap:12px;box-sizing:border-box;width:100%;min-width:0;min-height:0;margin:0;padding:20px;border:1px solid #e3dfd8;border-radius:16px;background:#fff;box-shadow:0 4px 16px #2d271c06;transform:none;break-inside:avoid;text-decoration:none;color:#2d271c}
.seo-home-continents .seo-home-country-card:hover{background:#fafffd;border-color:#745520;box-shadow:0 6px 20px #2d271c0d;transform:none}
.seo-home-continents .seo-home-country-card:focus-visible{outline:2px solid #6f511e;outline-offset:3px}
.seo-home-country-card-title{display:flex;align-items:center;gap:10px;min-width:0}
.seo-home-country-card-title strong{color:#2d271c;font-size:19px;font-weight:750;line-height:1.3;overflow-wrap:anywhere}
.seo-home-continents .seo-home-country-flag{display:inline-block;flex:0 0 28px;width:28px;height:auto;padding:0;border:0;border-radius:0;background:transparent;font-size:25px;line-height:1.2;text-align:center}
.seo-home-country-card-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;color:#6f511e;font-size:12px;line-height:1.45;font-weight:650;overflow-wrap:anywhere}
.seo-home-country-card-meta span+span{padding-left:10px;border-left:1px solid #dcd8d0}
.seo-home-country-card-desc{display:block;color:#596861;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.seo-home-country-card-cta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:5px;color:#6f511e;font-size:13px;font-weight:750;line-height:1.4}
@media(max-width:1000px){.seo-home-continent-europe .seo-home-country-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.seo-other-continents{grid-template-columns:repeat(var(--country-tablet-columns),minmax(0,1fr));grid-template-rows:repeat(var(--country-tablet-rows),auto auto);width:calc((100% - 24px)/2)}.seo-other-continents[data-columns="2"],.seo-other-continents[data-columns="3"],.seo-other-continents[data-columns="4"]{width:100%}.seo-home-continents .seo-other-continents>.seo-home-continent{grid-column:var(--continent-tablet-column);grid-row:var(--continent-tablet-start)/span var(--continent-span)}}
@media(max-width:640px){.seo-home-continent-europe .seo-home-country-grid{grid-template-columns:minmax(0,1fr)}.seo-other-continents,.seo-other-continents[data-columns]{display:block;width:100%}.seo-home-continents .seo-other-continents>.seo-home-continent{display:block;margin:0 0 28px}.seo-other-continents>.seo-home-continent>.seo-home-continent-title{margin:0 0 14px}.seo-home-continents .seo-other-continents .seo-home-country-grid{display:grid}.seo-home-continents .seo-home-country-card{min-height:0;padding:20px}.seo-other-continents .seo-home-country-card{grid-row:auto}}

/* Compact spacing on the homepage; keep controls and results comfortable to use. */
body.seo-home-page .seo-home-hero-inner{padding-top:clamp(24px,3vw,38px);padding-bottom:clamp(28px,3vw,38px)}
body.seo-home-page .seo-brand-search{box-sizing:border-box;width:100%;max-width:none;margin-top:20px;padding:18px}
body.seo-home-page .seo-brand-search-heading{margin-bottom:10px}
body.seo-home-page .seo-brand-search-hint{margin-top:8px}
body.seo-home-page .seo-home-wrap{padding-top:34px;padding-bottom:48px}
body.seo-home-page .seo-home-section{margin-bottom:46px}
body.seo-home-page .seo-home-section .seo-section-heading{margin-bottom:18px}
body.seo-home-page .seo-home-continents>.seo-home-continent{margin-bottom:22px}
body.seo-home-page .seo-home-continents>.seo-home-continent-europe{margin-bottom:24px}
body.seo-home-page .seo-home-continent-title{margin-bottom:10px}
body.seo-home-page .seo-home-continents .seo-home-country-grid{row-gap:12px}
body.seo-home-page .seo-other-continents{row-gap:10px}
body.seo-home-page .seo-home-continents .seo-home-country-card{gap:8px;padding:16px}
body.seo-home-page .seo-home-country-card-desc{line-height:1.5}
body.seo-home-page .seo-home-country-card-cta{padding-top:3px}
body.seo-home-page .seo-home-info{padding:clamp(22px,3vw,32px)}
body.seo-home-page .seo-home-info-grid{gap:16px;margin-top:20px}
@media(max-width:720px){
  body.seo-home-page .seo-home-hero-inner{padding-top:22px;padding-bottom:26px}
  body.seo-home-page .seo-brand-search{padding:16px}
  body.seo-home-page .seo-home-wrap{padding-top:26px;padding-bottom:36px}
  body.seo-home-page .seo-home-section{margin-bottom:36px}
  body.seo-home-page .seo-home-continents .seo-home-country-card{padding:16px}
}
@media(max-width:640px){body.seo-home-page .seo-home-continents .seo-other-continents>.seo-home-continent{margin-bottom:22px}}

/* Keep search menus above the following homepage sections. */
body.seo-home-page .seo-home-hero{overflow:visible;z-index:5;border-bottom:0}
body.seo-home-page .seo-country-picker[open]{z-index:50}
