/* Approved YOPT variant 2: shared chrome and compact business catalogue. */
:root { --yopt-red:#ef2529; --yopt-ink:#1a1414; --yopt-muted:#828289; --yopt-line:#e1e1e3; --yopt-page:#f1f1f1; }
body { background:var(--yopt-page)!important; color:var(--yopt-ink); }
a, button, summary, input { -webkit-tap-highlight-color:transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline:2px solid var(--yopt-red); outline-offset:4px; }
.yopt-header { position:sticky; top:0; z-index:50; background:var(--yopt-ink); color:#fff; }
.yopt-header-inner { max-width:1440px; min-height:80px; margin:auto; padding:0 32px; display:flex; align-items:center; gap:64px; }
.yopt-brand { flex:none; display:inline-flex; align-items:center; }
.yopt-brand img { width:176px; height:44px; display:block; }
.yopt-nav { display:flex; align-self:stretch; align-items:center; gap:30px; }
.yopt-nav a { display:flex; align-items:center; height:100%; font-size:16px; white-space:nowrap; position:relative; }
.yopt-nav a:hover,.yopt-menu-panel a:hover,.yopt-actions a:hover { color:#ED1E1E; }
.yopt-nav [aria-current="page"]:after { content:""; position:absolute; height:1px; background:#fff; inset:auto 0 6px; }
.yopt-actions { margin-left:auto; display:flex; align-items:center; gap:24px; white-space:nowrap; font-size:15px; }
.yopt-actions a { display:inline-flex; gap:7px; align-items:center; }
.yopt-actions .material-symbols-outlined { font-size:19px; }
.yopt-menu { display:none; }
.yopt-header-with-search .yopt-header-inner { gap:24px; }
.yopt-header-with-search .yopt-nav { gap:22px; }
.yopt-header-with-search .yopt-nav a { font-size:14px; }
.yopt-header-with-search .yopt-actions { margin-left:0; font-size:14px; }
.yopt-header-search { display:flex; flex:1; min-width:150px; max-width:300px; margin-left:auto; align-items:center; border:1px solid #ffffff40; border-radius:6px; background:#ffffff08; }
.yopt-header-search:focus-within { border-color:#ff777a; }
.yopt-header-search input { width:100%; min-width:0; height:38px; padding:0 12px; border:0; border-radius:6px; background:transparent; color:#fff; font:inherit; font-size:13px; box-shadow:none; }
.yopt-header-search input::placeholder { color:#b5b1b1; }
.yopt-header-search input:focus { outline:none; box-shadow:none; }
.yopt-header-search button { display:flex; flex:none; align-items:center; justify-content:center; width:38px; height:38px; color:#fff; cursor:pointer; border-radius:5px; }
.yopt-header-search button:hover { color:#ff777a; }
.yopt-header-search .material-symbols-outlined { font-size:21px; }
.yopt-header-with-search .yopt-menu-panel { top:100%; }
@media(max-width:1100px) {
    .yopt-header-with-search .yopt-header-inner { flex-wrap:wrap; gap:12px 20px; padding-top:14px; padding-bottom:14px; }
    .yopt-header-with-search .yopt-nav { align-self:stretch; min-height:44px; gap:18px; }
    .yopt-header-with-search .yopt-actions { margin-left:auto; }
    .yopt-header-search { order:4; flex-basis:100%; max-width:none; margin:0; }
}
@media(max-width:700px) { .yopt-header-with-search .yopt-actions a { font-size:0; } }
.yopt-footer { margin-top:auto; border-top:1px solid var(--yopt-line); background:#ebebeb; }
.yopt-footer-inner { max-width:1440px; margin:auto; padding:42px 32px; display:flex; gap:60px; }
.yopt-footer-brand { max-width:230px; flex:none; }
.yopt-footer-brand img { width:154px; height:auto; }
.yopt-footer-brand p { margin-top:20px; font-size:12px; color:#73737a; }
.yopt-footer-links { flex:1; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:28px; font-size:13px; }
.yopt-footer-links h2 { font-size:12px; font-weight:600; margin-bottom:14px; color:#4b4b50; }
.yopt-footer-links ul { display:grid; gap:10px; color:#75757b; }
.yopt-footer a:hover { color:var(--yopt-red); }
.yopt-catalog { max-width:1440px; margin:auto; padding:32px; min-height:75vh; }
.yopt-breadcrumbs { display:flex; flex-wrap:wrap; gap:8px; align-items:center; color:#8a8a91; font-size:12px; margin-bottom:30px; }
.yopt-breadcrumbs a:hover { color:var(--yopt-red); }
.yopt-catalog-grid { display:grid; grid-template-columns:280px minmax(0,1fr); gap:32px; align-items:start; }
.yopt-sidebar { min-width:0; }
.yopt-rubrics>summary { display:none; }
.yopt-rubrics:not([open])>nav { display:block; }
.yopt-category { background:#fff; border:1px solid var(--yopt-line); border-bottom:0; }
.yopt-category:first-child { border-radius:8px 8px 0 0; }
.yopt-category:last-child { border-bottom:1px solid var(--yopt-line); border-radius:0 0 8px 8px; }
.yopt-category>summary { display:flex; gap:12px; align-items:center; padding:19px 17px; cursor:pointer; list-style:none; }
.yopt-category>summary::-webkit-details-marker,.yopt-rubrics>summary::-webkit-details-marker { display:none; }
.yopt-category>summary>a { flex:1; min-width:0; line-height:1.5; font-size:14px; }
.yopt-category>summary>.material-symbols-outlined:first-child { font-size:20px; color:#99999e; }
.yopt-category>summary>.yopt-chevron { font-size:18px; transition:transform .2s; }
.yopt-category[open]>summary { color:var(--yopt-red); }
.yopt-category[open]>summary>.yopt-chevron { transform:rotate(90deg); }
.yopt-category ul { padding:0 16px 15px 49px; display:grid; gap:12px; color:#77777d; font-size:12px; line-height:1.5; }
.yopt-category a:hover,.yopt-category [aria-current="page"] { color:var(--yopt-red); }
.yopt-category [aria-current="page"] { font-weight:600; }
.yopt-listing { min-width:0; }
.yopt-listing h1 { font-size:36px; font-weight:650; letter-spacing:-1.2px; line-height:1.2; margin:0 0 24px; color:#141416; }
.yopt-catalog-intro { font-size:17px; line-height:1.65; color:#77777e; margin:-6px 0 24px; }
.yopt-category-directory { padding:28px; margin-bottom:28px; background:#fff; border:1px solid var(--yopt-line); border-radius:8px; }
.yopt-category-directory>h2 { margin:0 0 24px; color:#8a8a90; font-size:11px; font-weight:650; letter-spacing:2px; text-transform:uppercase; }
.yopt-category-columns { columns:3; column-gap:18px; }
.yopt-category-group { display:inline-block; vertical-align:top; width:100%; min-width:0; box-sizing:border-box; break-inside:avoid; margin:0 0 18px; padding:20px 18px; border:1px solid #e9e9ec; border-radius:8px; background:#fafafa; }
.yopt-category-group h3 { font-size:16px; line-height:1.45; font-weight:650; margin:0 0 14px; letter-spacing:-.2px; }
.yopt-category-group ul { border-left:1px solid #e3e3e7; padding-left:14px; display:grid; gap:10px; color:#66666e; font-size:14px; line-height:1.6; }
.yopt-category-directory a { color:#df2525; text-decoration:none; }
.yopt-category-directory .yopt-category-group h3 a { color:var(--yopt-ink); }
.yopt-category-directory a:hover { color:#df2525; text-decoration:underline; text-underline-offset:3px; }
.yopt-category-children { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px 24px; color:#77777f; font-size:14px; line-height:1.6; }
@media(min-width:701px) and (max-width:1100px) { .yopt-category-columns { columns:2; } .yopt-category-children { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:700px) { .yopt-category-directory { padding:22px 16px; } .yopt-category-columns { columns:1; } .yopt-category-group { padding:18px 16px; margin-bottom:14px; } .yopt-category-children { grid-template-columns:minmax(0,1fr); gap:28px; } .yopt-catalog-intro { font-size:14px; } }
.yopt-search { display:flex; gap:10px; margin-bottom:26px; }
.yopt-search-field { display:flex; flex:1; min-width:0; align-items:center; gap:12px; padding:0 18px; border:1px solid #dedee1; border-radius:8px; background:white; }
.yopt-search-field .material-symbols-outlined { color:#a1a1a7; font-size:23px; }
.yopt-search input { border:0; background:transparent; box-shadow:none; width:100%; min-width:0; height:58px; font:inherit; font-size:15px; color:var(--yopt-ink); }
.yopt-search input:focus { outline:0; box-shadow:none; }
.yopt-search-field:focus-within { border-color:var(--yopt-red); }
.yopt-search input::placeholder { color:#96969e; }
.yopt-search button { background:var(--yopt-red); color:#fff; border-radius:8px; border:0; font-size:15px; font-weight:600; padding:0 38px; cursor:pointer; }
.yopt-search button:hover { background:#d71b20; }
.yopt-results-toolbar { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:14px; margin-bottom:18px; scroll-margin-top:100px; }
.yopt-count { font-size:22px; font-weight:600; letter-spacing:-.5px; }
.yopt-count strong { color:var(--yopt-red); font-weight:600; }
.yopt-sorts { display:flex; flex-wrap:wrap; gap:14px; font-size:12px; color:#828289; }
.yopt-sorts a[aria-current="page"],.yopt-sorts a:hover { color:var(--yopt-red); }
.yopt-companies { display:grid; gap:16px; }
.yopt-company { display:flex; gap:24px; padding:20px; background:#fff; border:1px solid var(--yopt-line); border-radius:8px; min-width:0; transition:border-color .2s; }
.yopt-company:hover { border-color:#c7c7cb; }
.yopt-company-image { width:132px; height:132px; flex:none; display:flex; align-items:center; justify-content:center; overflow:hidden; background:#f5f5f6; border-radius:5px; }
.yopt-company-image img { width:100%; height:100%; object-fit:contain; background:#fff; padding:6px; }
.yopt-company-image>.material-symbols-outlined { font-size:48px; color:#c9c9ce; }
.yopt-company-content { flex:1; min-width:0; display:flex; flex-direction:column; }
.yopt-company h2 { font-size:21px; line-height:1.35; font-weight:600; letter-spacing:-.5px; margin:0 0 8px; }
.yopt-company h2 a:hover { color:var(--yopt-red); text-decoration:underline; text-underline-offset:4px; }
.yopt-company-summary { color:#62626a; font-size:15px; line-height:1.65; margin:0 0 18px; }
.yopt-company-meta { display:flex; align-items:flex-start; justify-content:space-between; flex-wrap:wrap; gap:8px 20px; margin-top:auto; color:#929299; font-size:12px; line-height:1.6; }
.yopt-company-contact { display:flex; align-items:flex-start; gap:6px; }
.yopt-company-contact .material-symbols-outlined { font-size:17px; flex:none; margin-top:1px; }
.yopt-company-contact a:hover { color:var(--yopt-red); }
.yopt-company time { white-space:nowrap; margin-left:auto; }
.yopt-empty { padding:32px; border:1px solid var(--yopt-line); border-radius:8px; background:#fff; }
.yopt-empty h2 { font-size:20px; font-weight:600; margin-bottom:8px; }
.yopt-empty p { color:#77777e; font-size:14px; }
.yopt-pagination { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:20px; margin:28px 0; color:#88888f; font-size:12px; }
.yopt-pagination-links { display:flex; flex-wrap:wrap; gap:5px; }
.yopt-pagination-links a,.yopt-pagination-links span { display:flex; align-items:center; justify-content:center; min-width:35px; height:35px; border-radius:5px; }
.yopt-pagination-links a:hover { background:#fff; color:var(--yopt-red); }
.yopt-pagination-links [aria-current="page"] { background:var(--yopt-red); color:#fff; }
@media(min-width:1441px) { .yopt-header-inner { gap:90px; } }
@media(max-width:1100px) { .yopt-header-inner { gap:30px; padding-inline:24px; } .yopt-nav { gap:20px; } .yopt-nav a { font-size:14px; } .yopt-actions { gap:14px; font-size:13px; } .yopt-catalog-grid { grid-template-columns:240px minmax(0,1fr); gap:24px; } .yopt-catalog { padding:28px 24px; } .yopt-listing h1 { font-size:30px; } .yopt-company-image { width:106px; height:106px; } .yopt-company { gap:18px; } }
@media(max-width:900px) { .yopt-nav { display:none; } .yopt-menu { display:block; } .yopt-menu>summary { display:flex; cursor:pointer; list-style:none; } .yopt-menu-panel { position:absolute; top:80px; left:0; right:0; background:var(--yopt-ink); border-top:1px solid #444; padding:20px 24px; display:grid; gap:20px; font-size:15px; } .yopt-menu-panel a[aria-current="page"] { color:#ff777a; } .yopt-header-inner { gap:20px; } .yopt-footer-inner { gap:35px; } .yopt-footer-links { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:700px) { .yopt-header-inner { padding:0 18px; min-height:70px; } .yopt-brand img { width:143px; height:36px; } .yopt-actions { gap:16px; } .yopt-actions a { font-size:0; gap:0; } .yopt-actions a>.material-symbols-outlined { font-size:23px; } .yopt-menu-panel { top:70px; } .yopt-catalog { padding:24px 18px; } .yopt-breadcrumbs { margin-bottom:20px; font-size:11px; } .yopt-catalog-grid { display:flex; flex-direction:column; gap:24px; } .yopt-sidebar,.yopt-listing { width:100%; } .yopt-rubrics>summary { display:flex; justify-content:space-between; align-items:center; background:#fff; border:1px solid var(--yopt-line); padding:15px 17px; border-radius:8px; cursor:pointer; font-size:14px; } .yopt-rubrics:not([open])>nav { display:none; } .yopt-rubrics[open]>nav { margin-top:10px; } .yopt-listing h1 { font-size:28px; letter-spacing:-.8px; margin-bottom:20px; } .yopt-search { gap:8px; margin-bottom:22px; } .yopt-search-field { gap:6px; padding-inline:12px; } .yopt-search input { height:52px; font-size:13px; } .yopt-search button { padding-inline:20px; font-size:13px; } .yopt-count { font-size:20px; } .yopt-company { gap:14px; padding:16px; } .yopt-company-image { width:78px; height:78px; } .yopt-company h2 { font-size:17px; letter-spacing:-.3px; } .yopt-company-summary { font-size:13px; line-height:1.6; margin-bottom:12px; } .yopt-company-meta { font-size:11px; gap:8px; } .yopt-company time { margin-left:0; } .yopt-footer-inner { padding:30px 18px; flex-direction:column; } .yopt-footer-brand { max-width:none; } .yopt-footer-brand p { margin-top:12px; } .yopt-footer-links { font-size:12px; gap:24px; } }
@media(prefers-reduced-motion:reduce) { .yopt-company,.yopt-chevron { transition:none!important; } }
/* Override the old shared mobile heading rule only inside this catalogue. */
@media(max-width:767px) { .yopt-listing h1 { font-size:28px!important; line-height:1.2!important; } }
/* One shared header/footer typography and navigation alignment on all templates. */
.yopt-header,.yopt-footer { font-family:'Inter',sans-serif; }
.yopt-header .yopt-nav a { font-size:15px; font-weight:500; line-height:1.4; }
.yopt-header .yopt-actions { font-size:14px; font-weight:500; }
.yopt-header .yopt-menu-panel { top:100%; font-size:15px; font-weight:500; }
@media(min-width:1101px) {
    .yopt-header .yopt-header-inner { display:grid; grid-template-columns:176px minmax(0,1fr) minmax(180px,240px) auto; gap:24px; min-height:80px; padding-block:0; }
    .yopt-header .yopt-brand { grid-column:1; }
    .yopt-header .yopt-nav { grid-column:2; justify-content:center; gap:24px; min-width:0; }
    .yopt-header .yopt-header-search { grid-column:3; width:100%; max-width:none; margin:0; }
    .yopt-header .yopt-actions { grid-column:4; margin:0; }
}
@media(max-width:1100px) {
    .yopt-header .yopt-header-inner { display:flex; flex-wrap:wrap; gap:12px 20px; padding-top:14px; padding-bottom:14px; }
    .yopt-header .yopt-nav { display:none; }
    .yopt-header .yopt-menu { display:block; }
    .yopt-header .yopt-actions { margin-left:auto; }
    .yopt-header .yopt-header-search { order:4; flex-basis:100%; max-width:none; margin:0; }
}
@media(max-width:700px) { .yopt-header .yopt-actions a { font-size:0; } }

/* Company logo contrast on transparent backgrounds. */
.company-logo-panel, .company-mobile-logo { background:#b8bdc5 !important; }
.yopt-company-image img { background:#b8bdc5; }
.company-contact-heading { color:#A70000; }

/* Shared link hover; the header keeps the brighter logo red. */
body a:hover { color:#df2525 !important; }
body .yopt-header a:hover { color:#ED1E1E !important; }
.yopt-business-badge { background:transparent; border:0; border-radius:0; color:#9f3030; }
