/* One public navigation system across static pages, editorial pages and tools. */
html:has([data-thahby-header]){scroll-padding-top:calc(var(--site-header-height,130px) + 16px)}
.th-site-header{--th-card:#fff;--th-soft:#eff3f1;--th-text:#1d3631;--th-muted:#70817a;--th-line:#e1e9e4;--th-gold:#9b762d;--th-gold-soft:#f6efe0;position:sticky;top:0;z-index:50;background:var(--th-card);color:var(--th-text);border-bottom:1px solid var(--th-line);font:500 14px/1.5 'Tajawal',sans-serif;text-align:start;isolation:isolate}
.dark .th-site-header{--th-card:#192b24;--th-soft:#21372d;--th-text:#eff5f1;--th-muted:#a6b8ad;--th-line:#304638;--th-gold:#dfbd76;--th-gold-soft:#383321}
.th-site-header *{box-sizing:border-box}
.th-site-header .th-header-inner{position:relative;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px 24px;max-width:1280px;padding:14px 36px;margin-inline:auto}
.th-site-header .th-brand{grid-column:1;grid-row:1;display:flex;align-items:center;gap:10px;color:var(--th-gold);font:800 27px/1.2 'Tajawal',sans-serif;text-decoration:none;white-space:nowrap}
.th-site-header .th-brand img{width:44px;height:44px;object-fit:contain;border-radius:10px;flex:none}
.th-site-header .th-brand small{display:block;font:500 9px/1.7 'Montserrat',sans-serif;letter-spacing:3px;margin-top:4px;color:var(--th-gold)}
.th-site-header .th-header-actions{grid-column:2;grid-row:1;display:flex;align-items:center;justify-self:end;gap:10px;min-width:0;max-width:100%}
.th-site-header .th-header-actions label{display:flex;align-items:center;gap:6px;margin:0;padding:0;color:var(--th-muted)}
.th-site-header .th-header-actions select{width:auto;max-width:230px;min-width:100px;min-height:42px;margin:0;border:1px solid var(--th-line);border-radius:11px;background:var(--th-soft);color:var(--th-text);font:500 13px/1.5 'Tajawal',sans-serif;padding:9px 12px;cursor:pointer}
.th-site-header .th-header-actions #country{min-width:0}
.th-site-header [data-th-theme]{display:grid!important;place-items:center;width:42px;min-width:42px;height:42px;min-height:42px;margin:0;padding:0!important;border:1px solid var(--th-line)!important;border-radius:11px!important;background:var(--th-soft)!important;color:var(--th-gold)!important;font-size:0!important;cursor:pointer}
.th-site-header [data-th-theme] *{display:none!important}
.th-site-header [data-th-theme]:before{content:'☾';font:25px/1 sans-serif}
.dark .th-site-header [data-th-theme]:before{content:'☀';font-size:22px}
.th-site-header .th-language-source{display:none}
.th-site-header .site-menu{grid-column:3;grid-row:1;min-width:0;margin:0;padding:0;border:0}
.th-site-header .site-menu-toggle{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:9px 15px;cursor:pointer;list-style:none;border:1px solid var(--th-line);border-radius:12px;color:var(--th-text);background:var(--th-soft);font:700 14px/1.5 'Tajawal',sans-serif;transition:background .2s,border-color .2s}
.th-site-header .site-menu-toggle::-webkit-details-marker{display:none}
.th-site-header .site-menu-toggle:hover,.th-site-header .site-menu[open]>.site-menu-toggle{background:var(--th-gold-soft);border-color:var(--th-gold)}
.site-menu-icon{width:18px;height:18px;position:relative;display:block;flex-shrink:0}
.site-menu-icon i{display:block;height:1.5px;width:18px;background:currentColor;position:absolute;inset-inline-start:0;border-radius:2px;transition:transform .2s,opacity .2s}
.site-menu-icon i:nth-child(1){top:3px}.site-menu-icon i:nth-child(2){top:8px;width:13px}.site-menu-icon i:nth-child(3){top:13px}
.site-menu[open] .site-menu-icon i:nth-child(1){transform:translateY(5px) rotate(45deg)}
.site-menu[open] .site-menu-icon i:nth-child(2){opacity:0}
.site-menu[open] .site-menu-icon i:nth-child(3){transform:translateY(-5px) rotate(-45deg)}
.th-site-header .th-menu-panel{position:absolute;inset-block-start:calc(100% + 8px);inset-inline-end:20px;width:min(560px,calc(100% - 40px));padding:14px;background:var(--th-card);border:1px solid var(--th-line);border-radius:18px;box-shadow:0 18px 45px #0c251a24;max-height:calc(100dvh - var(--site-header-height,130px) - 26px);overflow:auto;overscroll-behavior:contain;animation:thahby-menu-in .18s ease-out}
.th-site-header .top-links{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;align-items:stretch;position:static;width:100%;margin:0;padding:0;border:0;background:transparent;box-shadow:none;font:500 14px/1.5 'Tajawal',sans-serif}
.th-site-header .top-links a,.th-site-header .th-section-links a{display:flex;align-items:center;min-width:0;min-height:46px;padding:11px 13px;border:0;border-radius:10px;line-height:1.5;white-space:normal;overflow-wrap:anywhere;text-decoration:none;color:var(--th-text);transition:background .15s,color .15s}
.th-site-header .top-links a:hover,.th-site-header .top-links a:focus-visible{background:var(--th-soft)}
.th-site-header .top-links a:after{display:none}
.th-site-header .top-links a[aria-current=page]{background:var(--th-gold-soft);color:var(--th-gold);font-weight:800;box-shadow:inset -3px 0 var(--th-gold)}
[dir=ltr] .th-site-header .top-links a[aria-current=page]{box-shadow:inset 3px 0 var(--th-gold)}
.th-site-header :is(a,button,select,summary):focus-visible{outline:2px solid var(--th-gold);outline-offset:3px}
.th-site-header .th-section-links{display:flex;flex-wrap:wrap;gap:6px;padding-top:8px;margin-top:8px;border-top:1px solid var(--th-line);font-size:13px}
.th-site-header .th-section-links a{min-height:40px;color:var(--th-gold);background:var(--th-gold-soft)}
.container>section[id]{scroll-margin-top:16px}
#prices+#gold-chart{margin-top:28px}
@keyframes thahby-menu-in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1200px){
 .th-site-header[data-nav-ready] .th-header-inner{grid-template-columns:auto 1fr;padding-bottom:0;gap:10px 28px}
 .th-site-header[data-nav-ready] .site-menu{grid-column:1/-1;grid-row:2;border-top:1px solid var(--th-line)}
 .th-site-header[data-nav-ready] .site-menu-toggle{display:none}
 .th-site-header[data-nav-ready] .th-menu-panel{position:static;width:100%;max-height:none;border:0;border-radius:0;box-shadow:none;background:transparent;padding:6px 0;animation:none;overflow:visible}
 .th-site-header[data-nav-ready] .top-links{display:flex!important;flex-wrap:wrap;justify-content:space-between;gap:2px;font-size:13px}
 .th-site-header[data-nav-ready] .top-links a{padding:9px 10px;min-height:42px}
 .th-site-header[data-nav-ready] .th-section-links{margin-top:4px;padding-top:4px}
 .th-site-header[data-nav-ready] .th-section-links a{min-height:32px;padding:4px 12px}
}
@media(max-width:700px){
 .th-site-header .th-header-inner{padding:10px 18px 12px;grid-template-columns:1fr auto;gap:10px}
 .th-site-header .th-brand{font-size:25px;gap:8px}
 .th-site-header .th-brand img{width:38px;height:38px}
 .th-site-header .th-brand small{font-size:8px;line-height:1.6;margin-top:2px}
 .th-site-header .site-menu{grid-column:2;grid-row:1}
 .th-site-header .site-menu-toggle{padding:8px 12px;min-height:42px}
 .th-site-header .th-header-actions{grid-column:1/-1;grid-row:2;display:flex;justify-content:flex-end;width:100%;gap:8px;justify-self:stretch}
 .th-site-header .th-has-country{display:grid;grid-template-columns:minmax(0,1fr) auto 42px}
 .th-site-header .th-has-country>#country{width:100%;max-width:none;padding:8px 9px;font-size:12px}
 .th-site-header .th-header-actions select{min-height:40px;font-size:12px;padding:8px;min-width:98px}
 .th-site-header .site-language>span{display:none}
 .th-site-header .th-menu-panel{inset-inline-end:12px;width:calc(100% - 24px);padding:10px}
 .th-site-header .top-links{gap:4px}
 .th-site-header .top-links a{padding:10px;min-height:48px}
 #thahby-diamond-tool .th-site-header{margin-inline:-18px;width:calc(100% + 36px)}
 #thahby-diamond-tool .th-site-header .th-header-inner{padding-inline:18px}
}
/* Identity from Thahby's public site, reviewed 2026-11-10. */
:root{--muted:#70817a;--border:#e1e9e4}.dark{--bg:#101d19;--card:#192b24;--soft:#21372d;--text:#eff5f1;--muted:#a6b8ad;--border:#304638;--gold:#dfbd76;--goldbg:#383321}
.th-site-header .th-brand{width:158px;height:52px}.th-site-header .th-brand img{width:158px;height:52px;object-fit:contain;border-radius:0}.brand-dark{display:none!important}.dark .brand-dark{display:block!important}.dark .brand-light{display:none!important}
.industry-label{font-size:12px;color:var(--th-muted)}.th-site-header .top-links{margin:0;overflow:visible}.th-site-header .th-header-actions{grid-column:2;grid-row:1}.th-site-header .site-menu{grid-column:3;grid-row:1}
.industry-subnav{display:flex;gap:8px;max-width:1200px;margin:auto;padding:12px 28px;border-bottom:1px solid var(--border);overflow-x:auto;white-space:nowrap}.industry-subnav a{padding:8px 13px;border-radius:9px;font-size:13px;color:var(--muted)}.industry-subnav a[aria-current]{color:var(--gold);background:var(--goldbg);font-weight:700}.industry-subnav a:hover{background:var(--soft)}
.directory-tabs{display:flex;gap:8px;margin:0 0 25px;flex-wrap:wrap}.directory-tabs button{padding:10px 17px;border:1px solid var(--border);border-radius:9px;background:var(--card);font-size:13px}.directory-tabs button.active{border-color:var(--gold);background:var(--goldbg);box-shadow:none;color:var(--gold)}
.site-footer{display:block;max-width:1200px;margin:45px auto 0;padding:28px;border-top:1px solid var(--border)}.footer-top{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.footer-top p{font-size:13px}.footer-top nav,.footer-bottom{display:flex;gap:18px;flex-wrap:wrap;font-size:12px;margin:0;overflow:visible;width:auto}.footer-top nav a:hover,.footer-bottom a:hover{color:var(--gold)}.footer-brand-art{width:145px;height:48px;display:block}.footer-brand-art img{width:100%;height:100%;object-fit:contain}.site-footer>p{font-size:12px}.footer-bottom{padding-top:12px;border-top:1px solid var(--border);color:var(--gold)}
.page-intro{padding:35px 0 25px}.page-intro h1{font-size:clamp(30px,4vw,46px);letter-spacing:-.7px}.page-intro p{color:var(--muted);max-width:800px}.breadcrumbs{display:flex;gap:8px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin:24px 0}.breadcrumbs a{color:var(--gold)}
.map-overview{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.map-overview a{border:1px solid var(--border);border-radius:14px;padding:18px;background:var(--card);font-size:14px}.map-overview strong{display:block;color:var(--gold);font:26px Georgia;margin-bottom:5px}.map-section{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:24px;margin:18px 0}.map-section h2{font-size:22px;margin-bottom:20px}.link-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 20px;list-style:none;padding:0;margin:0}.link-grid li{min-width:0;overflow-wrap:anywhere}.link-grid a{display:block;padding:9px 0;font-size:14px}.link-grid a:hover{color:var(--gold);text-decoration:underline}.link-grid small{display:block;font-size:11px;color:var(--muted)}.map-section details{border-top:1px solid var(--border);padding:12px 0}.map-section summary{cursor:pointer;color:var(--gold);font-size:14px}.map-section summary+ul{margin-top:14px}.category-profile{margin:0 auto 25px;max-width:none}.category-profile h2{font-size:23px}.category-profile .link-grid{margin-bottom:30px}.profile h1{font-size:38px;overflow-wrap:anywhere}.profile .tags{margin-bottom:24px}.site-footer a:focus-visible,.industry-subnav a:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
@media(min-width:1200px){.th-site-header[data-nav-ready] .top-links{display:grid!important;grid-template-columns:repeat(10,minmax(0,1fr));gap:2px}.th-site-header[data-nav-ready] .top-links a{text-align:center;justify-content:center;padding:8px 5px;font-size:12px;min-height:42px}.th-site-header[data-nav-ready] .site-menu{grid-column:1/-1;grid-row:2}.th-site-header .th-header-actions{grid-column:2;grid-row:1}.th-site-header .th-header-inner{padding-top:12px}.th-site-header{position:relative}}
@media(max-width:700px){.th-site-header .th-brand,.th-site-header .th-brand img{width:130px;height:44px}.th-site-header .th-header-inner{grid-template-columns:1fr auto auto;padding:10px 18px;gap:10px}.th-site-header .th-header-actions{grid-column:2;grid-row:1;justify-self:end;width:auto}.th-site-header .site-menu{grid-column:3;grid-row:1}.industry-label{display:none}.th-site-header .top-links{order:initial}.industry-subnav{padding:10px 18px;gap:4px}.industry-subnav a{font-size:12px;padding:7px 11px}.link-grid{grid-template-columns:1fr}.map-overview{grid-template-columns:1fr 1fr}.map-overview a{font-size:12px;padding:14px}.map-section{padding:20px}.page-intro{padding-top:20px}.profile{padding:22px;margin-top:24px}.profile h1{font-size:29px}.footer-top nav{width:100%;gap:14px}.site-footer{padding:22px 18px}.directory-tabs{gap:6px;overflow:visible;width:100%}.directory-tabs button{padding:9px 11px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.th-site-header *{animation:none!important;transition:none!important}}

.industry-subnav{scrollbar-width:none}.industry-subnav::-webkit-scrollbar{display:none}

/* v3.1: company logos in category, company and sitemap lists. */
.company-grid{gap:14px;align-items:stretch}.company-grid>li>a{display:flex;flex-direction:column;align-items:flex-start;gap:12px;height:100%;padding:18px;border:1px solid var(--border);border-radius:13px;background:var(--card);text-decoration:none}.company-grid>li>a:hover{border-color:var(--gold);background:var(--soft)}.company-grid .brand-logo{width:100%;max-width:180px;height:78px;margin:0;flex:none;padding:13px}.company-grid .brand-logo img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}.company-grid .list-entry-name{font-size:16px;font-weight:600;line-height:1.6;overflow-wrap:anywhere}.company-grid small{font-size:12px;font-weight:400;margin-top:4px}.company-grid .logo-unavailable{font-size:12px;font-weight:400;background:var(--soft);color:var(--muted);border:1px dashed var(--border)}
@media(max-width:850px) and (min-width:601px){.company-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.company-grid>li>a{flex-direction:row;align-items:center;padding:15px;gap:15px}.company-grid .brand-logo{width:126px;max-width:42%;height:66px;flex-shrink:0}.company-grid .list-entry-name{font-size:15px}}

/* V5: material and edition discovery. */
.filters{grid-template-columns:repeat(5,minmax(0,1fr)) auto}
@media(max-width:800px){.filters{grid-template-columns:repeat(2,minmax(0,1fr))}.filters .text-btn{grid-column:1/-1}}

.image-caption{font-size:12px;color:var(--muted);margin:7px 0 14px;line-height:1.6}

@media(min-width:801px) and (max-width:1000px){.filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
