/* Homepage and market landings share the responsive catalog rhythm. */
body.homepage{background:var(--page,#F6F8FB);color:var(--navy,#17243B)}
.home-main{box-sizing:border-box;width:100%;max-width:1424px;margin-inline:auto;padding:0 32px}
.home-intro{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;padding:32px 0 0;border:0}
.home-intro h1{margin:0;color:var(--navy,#17243B);font:700 36px/40px var(--font-heading,'DM Sans',sans-serif);letter-spacing:normal}
.home-intro h1 span{display:block;margin-top:8px;color:var(--slate,#5B6B82);font-size:16px;line-height:24px;font-weight:400;letter-spacing:normal}
.home-intro .home-search{display:flex;position:relative;width:100%;max-width:none;min-width:0;margin:0}
.home-intro .home-search input{box-sizing:border-box;width:100%;height:48px;min-height:48px;padding:12px 16px;border:1px solid var(--line,#DCE3EC);border-radius:10px;background:var(--surface,#fff);color:var(--navy,#17243B);font:400 14px/20px var(--font-body,'DM Sans',sans-serif)}
.home-intro .home-search button{display:none}
.home-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.home-markets,.home-sets,.home-categories{padding:32px 0 0;scroll-margin-top:calc(var(--site-header-height,64px) + 16px)}
.home-section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 16px}
.home-section-heading h2,.home-collection-callout h2,.catalog-hub-overview h2{margin:0;color:var(--navy,#17243B);font-size:24px;line-height:32px;font-weight:700;letter-spacing:normal}
.home-eyebrow{margin:0 0 4px;color:var(--slate,#5B6B82);font-size:12px;line-height:16px;font-weight:500}
.home-market-grid,.home-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.home-market{position:relative;display:flex;align-items:center;gap:12px;min-width:0;min-height:80px;box-sizing:border-box;padding:16px;border:1px solid var(--line,#DCE3EC);border-radius:14px;background:var(--surface,#fff);color:var(--navy,#17243B);text-decoration:none}
.home-market>span:not(.home-flag):not(.home-arrow){min-width:0}.home-market h3{margin:0;padding-inline-end:16px;font-size:16px;line-height:24px;font-weight:700;overflow-wrap:anywhere}
.home-market-country-short{display:inline}.home-market-country-full{display:none}
@media(min-width:1200px){.home-market-country-short{display:none}.home-market-country-full{display:inline}}
.home-market p,.home-market small{display:block;margin:4px 0 0;color:var(--slate,#5B6B82);font-size:12px;line-height:16px;font-weight:500}
.home-market[aria-pressed=true]{background:var(--yellow,#ffcf32);border-color:transparent;box-shadow:none}
.home-flag{display:flex;align-items:center;flex:none;font-size:24px;line-height:24px}.home-flag .flag-icon{width:32px;height:24px;object-fit:contain}.home-flag-pair{flex-direction:column;gap:4px;font-size:20px}
.home-arrow{display:inline-flex;align-items:center;justify-content:center;flex:none;color:var(--slate,#5B6B82)}.home-arrow svg{display:block;width:16px;height:16px}.home-market>.home-arrow,.home-category>.home-arrow{position:absolute;top:16px;inset-inline-end:12px}
.home-category{position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:140px auto;gap:16px;min-width:0;box-sizing:border-box;padding:16px;border:1px solid var(--line,#DCE3EC);border-radius:14px;background:var(--surface,#fff);color:var(--navy,#17243B);text-decoration:none}
.home-category-photo{display:flex;align-items:center;justify-content:center;min-width:0;width:100%;height:140px}.home-category-photo img{display:block;max-width:100%;width:100%;height:100%;object-fit:contain;mix-blend-mode:normal}
.home-category-copy{display:flex;flex-direction:column;min-width:0}.home-category h3{margin:0;font-size:16px;line-height:24px;font-weight:700;overflow-wrap:anywhere}.home-category small{display:block;margin-top:4px;color:var(--slate,#5B6B82);font-size:12px;line-height:16px;font-weight:500}
.home-primary,.home-secondary,.home-set-all{display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;min-height:40px;padding:8px 16px;border:1px solid var(--line,#DCE3EC);border-radius:10px;background:var(--surface,#fff);color:var(--navy,#17243B);font-size:14px;line-height:20px;font-weight:500;text-decoration:none}
.home-primary{border-color:transparent;background:var(--yellow,#ffcf32);font-weight:600}.home-primary:hover{background:var(--yellow-hover,#ffda4e)}
.home-all-categories{margin-top:16px}.home-category-more,.home-set-more{display:none!important}
.home-categories[hidden],.home-set-panel[hidden]{display:none!important}
.home-catalog-entry{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0;margin:0 0 16px;border:0;background:none;scroll-margin-top:calc(var(--site-header-height,64px) + 16px)}
.home-catalog-entry>div{min-width:0}.home-catalog-entry strong{font-size:16px;line-height:24px;font-weight:700}.home-catalog-entry p{margin:4px 0 0;font-size:14px;line-height:20px;color:var(--slate,#5B6B82)}.home-all-products{flex:none}
.home-set-latest-heading h3{margin:0;font-size:24px;line-height:32px;font-weight:700}.home-set-all{white-space:nowrap}
.home-collection-callout{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:32px 0 0;padding:24px;border:1px solid var(--line,#DCE3EC);border-radius:16px;background:var(--surface,#fff)}
.home-collection-callout p{margin:8px 0 0;color:var(--slate,#5B6B82);font-size:14px;line-height:20px}.home-collection-callout>a{flex:none}
.home-fragment-status{margin:16px 0;padding:16px;border:1px solid var(--line,#DCE3EC);border-radius:10px;background:var(--surface,#fff)}.home-fragment-status p{margin:0 0 8px}.home-fragment-status .home-secondary{margin-inline-end:8px}
.homepage :focus-visible,.catalog-hub-overview :focus-visible{outline:2px solid var(--focus,#2F6FED);outline-offset:2px}
.homepage main a:not(.home-primary):hover{color:var(--navy,#17243B)}.home-market:hover,.home-category:hover{border-color:var(--slate,#5B6B82)}
/* Market landings link to complete listings without mounting product browsers. */
.catalog-hub-subtitle{margin:8px 0 0;color:var(--slate,#5B6B82);font-size:14px;line-height:20px;font-weight:400}
.catalog-hub-overview{min-width:0}.catalog-hub-entry-actions{display:flex;align-items:center;gap:12px;margin:24px 0}.catalog-hub-all-products{flex:none}.catalog-hub-search{position:relative;display:flex;align-items:center;max-width:480px;flex:1;margin:0;min-width:0}.catalog-hub-search>span{position:absolute;inset-inline-start:12px;display:flex;color:var(--slate,#5B6B82)}
.catalog-hub-search input[type=search]{box-sizing:border-box;width:100%;min-width:0;height:40px;padding:8px 12px 8px 36px;border:1px solid var(--line,#DCE3EC);border-radius:10px;background:var(--surface,#fff);color:var(--navy,#17243B);font:400 14px/20px var(--font-body,'DM Sans',sans-serif)}
[dir=rtl] .catalog-hub-search input[type=search]{padding:8px 36px 8px 12px}
.catalog-hub-overview .catalog-shell-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
body[data-catalog-shell-page=hub] .catalog-hub-overview .catalog-hub-categories .catalog-shell-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
body[data-catalog-shell-page=hub] .catalog-hub-overview .catalog-hub-category{display:grid;grid-template-columns:56px minmax(0,1fr);align-items:center;justify-content:start;gap:12px;min-width:0;min-height:80px;padding:12px;text-align:start}
body[data-catalog-shell-page=hub] .catalog-hub-category .catalog-hub-category-photo{display:flex;align-items:center;justify-content:center;box-sizing:border-box;flex:none;width:56px;height:56px;min-width:0;overflow:hidden;border-radius:8px;background:#F6F8FB}
body[data-catalog-shell-page=hub] .catalog-hub-category-photo>img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
.catalog-hub-category-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.catalog-hub-category-name{color:var(--navy,#17243B);font-size:14px;line-height:20px;font-weight:600;overflow-wrap:anywhere}
body[data-catalog-shell-page=hub] .catalog-hub-category .catalog-hub-category-copy{text-align:start;align-items:flex-start;justify-content:center;justify-self:stretch}
body[data-catalog-shell-page=hub] .catalog-hub-category .catalog-hub-category-count{margin:0;color:var(--slate,#5B6B82);font-size:12px;line-height:16px;font-weight:400}
.catalog-hub-category-photo .photo-missing{font-size:9px;line-height:12px;text-align:center;color:var(--slate,#5B6B82)}
.catalog-hub-category-qualification{grid-column:1/-1;min-width:0;color:var(--slate,#5B6B82);font-size:12px;line-height:16px;font-weight:400}.catalog-hub-category-qualification .photo-caption{display:block;margin:0;font:inherit;color:inherit}.catalog-hub-category-qualification .photo-reference-description{display:block;margin-top:4px;font:inherit;color:inherit}
@media(max-width:1023px){body[data-catalog-shell-page=hub] .catalog-hub-overview .catalog-hub-categories .catalog-shell-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-catalog-shell-page=hub] .catalog-hub-overview .catalog-hub-category{grid-template-columns:44px minmax(0,1fr);gap:8px}body[data-catalog-shell-page=hub] .catalog-hub-category .catalog-hub-category-photo{width:44px;height:44px}}
.catalog-hub-latest,.catalog-hub-other{margin-top:32px}.catalog-hub-other>h2{margin-bottom:16px}
.catalog-hub-market-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 20px}.catalog-hub-market-grid>a{display:flex;align-items:center;gap:8px;min-height:44px;min-width:0;padding:8px 12px;border:1px solid var(--line,#DCE3EC);border-radius:10px;color:var(--slate,#5B6B82);background:var(--surface,#fff);text-decoration:none;font-size:14px;line-height:20px;font-weight:500}.catalog-hub-market-grid .flag-icon{width:24px;height:18px;object-fit:contain}
.catalog-hub-all-heading{margin:48px 0 16px;font-size:24px;line-height:32px;font-weight:700;color:var(--navy,#17243B)}
@media(min-width:1024px) and (max-width:1439px){.home-main{max-width:1408px;padding-inline:24px}}
@media(min-width:640px) and (max-width:1023px){.home-market-grid,.home-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1023px){.home-main{padding-inline:20px}.home-intro h1{font-size:28px;line-height:34px}.home-market-grid,.home-category-grid{gap:12px}.home-primary,.home-secondary,.home-set-all{min-height:44px}.home-section-heading h2,.home-set-latest-heading h3,.home-collection-callout h2,.catalog-hub-overview h2,.catalog-hub-all-heading{font-size:20px;line-height:28px}.catalog-hub-overview .catalog-shell-category-grid,.catalog-hub-market-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.catalog-hub-search{max-width:none}.catalog-hub-search input[type=search]{height:44px}.home-collection-callout{padding:24px;flex-direction:column;align-items:stretch;gap:16px}}
@media(max-width:639px){.home-main{padding-inline:16px}.home-intro{padding-top:24px;gap:24px}.home-intro h1{font-size:26px;line-height:32px}.home-intro h1 span{font-size:14px;line-height:20px}.home-market-grid{grid-template-columns:minmax(0,1fr)}.home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-market{align-items:flex-start;gap:8px;padding:12px;min-height:96px}.home-market h3{font-size:14px;line-height:20px;padding-inline-end:0}.home-market p,.home-market small{font-size:12px;line-height:16px}.home-market>.home-arrow{display:none}.home-flag{font-size:20px}.home-flag .flag-icon{width:24px;height:18px}.home-category{grid-template-rows:112px auto;padding:12px;gap:12px}.home-category-photo{height:112px}.home-category h3{font-size:14px;line-height:20px}.home-catalog-entry{flex-wrap:wrap;gap:12px}.home-all-products{width:100%}.home-markets,.home-sets,.home-categories{padding-top:24px}.catalog-hub-latest,.catalog-hub-other{margin-top:24px}}

/* A compact country row on small screens: original flag, full country name, count. */
@media(max-width:639px){.home-market{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:12px;min-height:56px}.home-market>span:not(.home-flag):not(.home-arrow){display:flex;align-items:center;gap:12px;min-width:0}.home-market h3{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-market p{display:none}.home-market small{flex:none;margin:0;white-space:nowrap}.home-flag-pair{font-size:14px;line-height:14px;gap:2px}}
/* Win over the shared button target and legacy flag rules in emitted home bundles. */
@media(max-width:639px){
 body.homepage[data-catalog-shell-page] .home-market{min-height:56px!important}
 .homepage .home-market .home-flag{width:24px;height:24px;justify-content:center;line-height:0}
 .homepage .home-market .home-flag img.flag-icon{width:24px!important;height:18px!important;min-width:24px;object-fit:contain}
 .homepage .home-market .home-flag.home-flag-pair{height:30px;max-height:30px;gap:2px}
 .homepage .home-market .home-flag.home-flag-pair>span{display:flex;align-items:center;justify-content:center;height:14px;line-height:0}
 .homepage .home-market .home-flag.home-flag-pair img.flag-icon{width:20px!important;height:14px!important;min-width:20px}
}

html[data-theme=dark] body[data-catalog-shell-page=hub] .catalog-hub-category .catalog-hub-category-photo{
 background:var(--surface-raised);
}
