.brand-directory-page, .brand-profile-page, .catalog-directory-page { width: min(1180px, calc(100% - 34px)); margin: 34px auto 84px; color: #102c49; }
.brand-directory-hero, .catalog-directory-hero { display: grid; gap: 12px; padding: clamp(28px, 5vw, 56px); overflow: hidden; background: radial-gradient(circle at 100% 0%, rgba(112,198,235,.24), transparent 38%), linear-gradient(135deg, #fff 0%, #f1f9fc 100%); }
.brand-directory-hero h1, .catalog-directory-hero h1 { margin: 0; font-size: clamp(40px, 7vw, 76px); line-height: .94; letter-spacing: -.065em; }
.brand-directory-hero .account-lead, .catalog-directory-hero .account-lead { max-width: 760px; margin: 0; }
.brand-directory-search { display: grid; gap: 7px; max-width: 680px; margin-top: 16px; color: #466479; font-size: 10px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.brand-directory-search > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.brand-directory-search input { min-height: 48px; box-sizing: border-box; border: 1px solid #cfe2ea; border-radius: 14px; padding: 0 15px; color: #16364e; background: #fff; font: inherit; font-size: 13px; letter-spacing: 0; text-transform: none; box-shadow: inset 0 1px 2px rgba(22,55,82,.035); }
.brand-directory-search button, .catalog-directory-actions .account-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 19px; border: 0; border-radius: 14px; color: #fff; background: #0d77bd; font: inherit; font-size: 11px; font-weight: 900; cursor: pointer; text-decoration: none; box-shadow: 0 10px 20px rgba(13,119,189,.18); }
.brand-directory-section, .brand-profile-section, .catalog-directory-section { margin-top: 24px; padding: clamp(22px, 4vw, 38px); border: 1px solid #d9e8ee; border-radius: 26px; background: rgba(255,255,255,.92); box-shadow: 0 16px 38px rgba(22,55,82,.055); }
.brand-directory-head, .brand-profile-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.brand-directory-head h2, .brand-profile-section-head h2 { margin: 4px 0 0; color: #102c49; font-size: clamp(24px, 4vw, 38px); letter-spacing: -.05em; }
.brand-directory-head > span, .catalog-directory-count { color: #78909d; font-size: 11px; font-weight: 850; }
.brand-directory-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.brand-directory-card { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-width: 0; padding: 12px; border: 1px solid #d7e7ed; border-radius: 16px; color: inherit; background: #fff; text-decoration: none; transition: .18s ease; }
.brand-directory-card:hover, .brand-directory-card:focus-visible, .brand-catalog-card:hover, .brand-catalog-card:focus-visible, .brand-product-card:hover, .brand-product-card:focus-visible, .catalog-directory-card:hover, .catalog-directory-card:focus-visible { border-color: #75b9df; box-shadow: 0 12px 24px rgba(13,119,189,.12); transform: translateY(-2px); }
.brand-directory-logo, .brand-profile-logo { display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #0d83cc, #123b67); font-weight: 950; }
.brand-directory-logo { width: 42px; height: 42px; border-radius: 13px; font-size: 17px; }
.brand-directory-card strong, .brand-directory-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-directory-card strong { color: #16364e; font-size: 12px; }
.brand-directory-card small { margin-top: 4px; color: #8297a5; font-size: 9px; }
.brand-directory-card b, .catalog-directory-card > b { color: #0d77bd; font-size: 16px; }
.brand-directory-empty { padding: 26px; border: 1px dashed #c5dce5; border-radius: 16px; color: #718895; background: #f7fbfc; font-size: 12px; }
.brand-profile-hero { display: grid; gap: 22px; padding: clamp(24px, 5vw, 48px); background: radial-gradient(circle at 90% 10%, rgba(13,119,189,.18), transparent 32%), linear-gradient(145deg, #fff 0%, #f0f8fb 100%); }
.brand-back-link { color: #0d77bd; font-size: 11px; font-weight: 900; text-decoration: none; }
.brand-profile-identity { display: flex; align-items: center; gap: 18px; }
.brand-profile-logo { width: 82px; height: 82px; flex: 0 0 auto; border-radius: 24px; font-size: 34px; box-shadow: 0 16px 28px rgba(13,119,189,.2); }
.brand-profile-identity h1 { margin: 5px 0 8px; color: #102c49; font-size: clamp(34px, 6vw, 60px); line-height: .94; letter-spacing: -.06em; }
.brand-profile-identity .account-lead { margin: 0; }
.brand-profile-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-profile-stats span { padding: 10px 13px; border: 1px solid #d2e5ec; border-radius: 999px; color: #688394; background: rgba(255,255,255,.8); font-size: 10px; font-weight: 800; }
.brand-profile-stats strong { color: #0d77bd; font-size: 14px; }
.brand-catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.brand-catalog-card, .brand-product-card { display: grid; min-width: 0; gap: 9px; padding: 10px; border: 1px solid #d7e7ed; border-radius: 16px; color: inherit; background: #fff; text-decoration: none; transition: .18s ease; }
.brand-catalog-cover { display: grid; width: 100%; aspect-ratio: .72; place-items: center; overflow: hidden; border-radius: 11px; color: #0d77bd; background: linear-gradient(145deg, #eaf7fb, #d6edf4); font-size: 12px; font-weight: 950; letter-spacing: .08em; }
.brand-catalog-cover img, .catalog-directory-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.brand-catalog-card strong, .brand-product-card strong { color: #16364e; font-size: 11px; line-height: 1.35; }
.brand-catalog-card small, .brand-product-card small { color: #8297a5; font-size: 9px; }
.brand-products-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.brand-product-image { display: grid; width: 100%; aspect-ratio: 1.2; place-items: center; overflow: hidden; border-radius: 11px; color: #79a1b5; background: #eff8fa; font-size: 8px; font-weight: 950; letter-spacing: .08em; }
.brand-product-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.catalog-directory-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.catalog-directory-actions .account-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 19px; border-radius: 14px; }
.catalog-directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.catalog-directory-card { display: grid; grid-template-columns: 86px minmax(0, 1fr) auto; align-items: center; gap: 14px; min-width: 0; padding: 11px; border: 1px solid #d7e7ed; border-radius: 17px; color: inherit; background: #fff; text-decoration: none; transition: .18s ease; }
.catalog-directory-cover { display: grid; width: 86px; height: 108px; place-items: center; overflow: hidden; border-radius: 10px; color: #0d77bd; background: #eaf7fb; font-size: 9px; font-weight: 950; letter-spacing: .08em; }
.catalog-directory-copy { display: grid; min-width: 0; gap: 7px; }
.catalog-directory-copy small { overflow: hidden; color: #0d77bd; font-size: 9px; font-weight: 900; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.catalog-directory-copy strong { display: -webkit-box; overflow: hidden; color: #16364e; font-size: 12px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.catalog-directory-copy > span { color: #8297a5; font-size: 9px; }
@media (max-width: 980px) { .brand-directory-grid, .brand-catalog-grid, .brand-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .catalog-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .brand-directory-page, .brand-profile-page, .catalog-directory-page { width: min(calc(100% - 20px), 600px); margin-top: 18px; } .brand-directory-grid, .brand-catalog-grid, .brand-products-grid, .catalog-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .brand-directory-section, .brand-profile-section, .catalog-directory-section { padding: 18px 14px; border-radius: 21px; } .brand-directory-card { grid-template-columns: 34px minmax(0, 1fr); padding: 9px; } .brand-directory-card b { display: none; } .brand-directory-logo { width: 34px; height: 34px; border-radius: 10px; font-size: 13px; } .brand-directory-card strong { font-size: 10px; } .brand-directory-card small { font-size: 8px; } .brand-profile-identity { align-items: flex-start; gap: 12px; } .brand-profile-logo { width: 58px; height: 58px; border-radius: 17px; font-size: 24px; } .brand-profile-identity h1 { font-size: 34px; } .brand-profile-section-head { align-items: flex-start; flex-direction: column; gap: 10px; } .brand-profile-section-head .account-secondary { width: 100%; box-sizing: border-box; text-align: center; } .catalog-directory-card { grid-template-columns: 58px minmax(0, 1fr); gap: 9px; padding: 8px; } .catalog-directory-cover { width: 58px; height: 76px; } .catalog-directory-card > b { display: none; } .catalog-directory-copy strong { font-size: 10px; -webkit-line-clamp: 2; } .catalog-directory-copy > span { font-size: 8px; } .brand-directory-search > div { grid-template-columns: 1fr; } .brand-directory-search button { width: 100%; } }
@media (max-width: 420px) { .brand-directory-grid, .brand-catalog-grid, .brand-products-grid, .catalog-directory-grid { grid-template-columns: 1fr; } .brand-catalog-card { grid-template-columns: 78px minmax(0, 1fr); align-items: center; } .brand-catalog-cover { width: 78px; height: 98px; } .brand-product-card { grid-template-columns: 90px minmax(0, 1fr); align-items: center; } .brand-product-image { width: 90px; height: 76px; } }

.catalog-directory-cover { position: relative; box-shadow: 0 10px 18px rgba(21,53,77,.14); }
.catalog-directory-cover canvas { display: block; width: 100%; height: 100%; object-fit: cover; background: #fff; }
.catalog-directory-cover canvas[hidden] { display: none; }
.brand-catalog-cover { position: relative; box-shadow: 0 10px 18px rgba(21,53,77,.14); }
.brand-catalog-cover canvas { display: block; width: 100%; height: 100%; object-fit: cover; background: #fff; }
.brand-catalog-cover canvas[hidden] { display: none; }
.catalog-directory-cover-fallback { display: grid; width: 100%; height: 100%; place-items: center; background: linear-gradient(145deg, #eaf7fb, #d6edf4); }
.catalog-directory-cover-fallback[hidden] { display: none; }
.catalog-directory-copy > span[data-catalog-page-count] { min-height: 1.1em; }
.brand-directory-tools { display:flex; align-items:center; justify-content:space-between; gap:14px; margin:-4px 0 18px; }
.brand-directory-letters { display:flex; flex-wrap:wrap; gap:5px; }
.brand-directory-letters a { display:grid; min-width:28px; height:28px; place-items:center; padding:0 8px; border:1px solid #d7e7ed; border-radius:9px; color:#5b7483; background:#fff; font-size:9px; font-weight:900; text-decoration:none; }
.brand-directory-letters a:hover, .brand-directory-letters a.is-active { border-color:#0d77bd; color:#fff; background:#0d77bd; }
.brand-directory-sort label { display:flex; align-items:center; gap:7px; color:#78909d; font-size:9px; font-weight:900; white-space:nowrap; }
.brand-directory-sort select { height:34px; border:1px solid #cfe2ea; border-radius:9px; padding:0 9px; color:#16364e; background:#fff; font:inherit; font-size:10px; outline:0; }
@media (max-width:640px) { .brand-directory-tools { align-items:stretch; flex-direction:column; } .brand-directory-sort select { flex:1; } }
.catalog-home-page { max-width: 1260px; }
.catalog-home-library { padding: clamp(24px, 4vw, 42px); }
.catalog-home-head { display:flex; align-items:flex-end; justify-content:space-between; gap:22px; margin-bottom:22px; }
.catalog-home-head h2 { margin:5px 0 7px; }
.catalog-home-head p:not(.account-eyebrow) { max-width:650px; margin:0; color:#78909d; font-size:12px; line-height:1.5; }
.catalog-home-filters { display:grid; grid-template-columns:minmax(220px,1.7fr) minmax(150px,1fr) minmax(120px,.7fr) minmax(150px,1fr) auto; align-items:end; gap:10px; margin-bottom:24px; padding:14px; border:1px solid #d9e8ee; border-radius:18px; background:linear-gradient(135deg,#f7fbfc,#fff); }
.catalog-home-filters label { display:grid; gap:6px; color:#5c7584; font-size:10px; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
.catalog-home-filters input, .catalog-home-filters select { min-width:0; height:42px; box-sizing:border-box; border:1px solid #cfe2ea; border-radius:11px; padding:0 11px; color:#16364e; background:#fff; font:inherit; font-size:12px; letter-spacing:0; text-transform:none; outline:0; }
.catalog-home-filters input:focus, .catalog-home-filters select:focus { border-color:#0d77bd; box-shadow:0 0 0 3px rgba(13,119,189,.11); }
.catalog-home-filters button { height:42px; padding:0 16px; border:0; border-radius:11px; color:#fff; background:#0d77bd; font:inherit; font-size:11px; font-weight:900; cursor:pointer; box-shadow:0 8px 17px rgba(13,119,189,.18); }
.catalog-home-filters button:hover { background:#095f98; }
.catalog-home-filters > a { grid-column:1 / -1; color:#0d77bd; font-size:10px; font-weight:900; text-decoration:none; }
.catalog-directory-card { min-height:130px; }
.catalog-directory-copy em { color:#b27142; font-size:9px; font-style:normal; font-weight:900; }
@media (max-width:900px) { .catalog-home-filters { grid-template-columns:repeat(2,minmax(0,1fr)); } .catalog-home-filters label:first-child { grid-column:1 / -1; } }
@media (max-width:640px) { .catalog-home-head { align-items:flex-start; flex-direction:column; gap:10px; } .catalog-home-filters { grid-template-columns:1fr; padding:12px; } .catalog-home-filters label:first-child { grid-column:auto; } .catalog-home-filters button { width:100%; } }
