/* Shared visual system for every sector page. Home page styles remain untouched. */
.sector-nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 11px clamp(18px,5vw,70px);
  background: rgba(15,15,17,.94);
  border-bottom: 1px solid rgba(212,175,55,.24);
  backdrop-filter: blur(12px);
}
.sector-nav>div { display:flex; align-items:center; flex-wrap:wrap; gap:clamp(12px,2vw,25px); }
.sector-nav a,.sector-footer a { color:#ddd9cf; text-decoration:none; font-weight:700; transition:color .2s ease; }
.sector-nav a:hover,.sector-footer a:hover { color:#f0d77a; }
.sector-brand { color:#f0d77a!important; font-size:1.2rem; font-weight:900!important; white-space:nowrap; }

.sector-subcategory-nav {
  position:relative;
  z-index:5;
  min-height:58px;
  display:flex;
  align-items:center;
  gap:14px;
  padding:9px clamp(16px,5vw,70px);
  background:linear-gradient(180deg,#171719,#121214);
  border-bottom:1px solid rgba(212,175,55,.22);
  box-shadow:0 6px 18px rgba(0,0,0,.18);
}
.sector-subcategory-nav>strong { flex:0 0 auto; color:#d4af37; font-size:.86rem; font-weight:900; }
.sector-category-grid { display:flex; align-items:center; gap:7px; min-width:0; overflow-x:auto; white-space:nowrap; scrollbar-width:thin; scrollbar-color:rgba(212,175,55,.4) transparent; }
.sector-category-card {
  min-height:38px;
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  padding:7px 13px;
  border:1px solid rgba(212,175,55,.22);
  border-radius:9px;
  background:rgba(255,255,255,.015);
  color:#c9c5bc;
  font:700 .84rem Cairo,Arial,sans-serif;
  cursor:pointer;
  transition:background .2s,border-color .2s,color .2s,transform .2s;
}
.sector-category-card::before,.sector-category-card::after { display:none; }
.sector-category-card:hover { border-color:rgba(212,175,55,.62); background:rgba(212,175,55,.08); color:#f3e5ab; transform:translateY(-1px); }
.sector-category-card[aria-pressed="true"] { border-color:#d4af37; background:linear-gradient(135deg,#f0d77a,#c49a2c); color:#15120a; font-weight:900; box-shadow:0 2px 9px rgba(212,175,55,.18),inset 0 1px rgba(255,255,255,.45); }
.sector-category-card h3 { margin:0; padding:0; color:inherit; font:inherit; text-shadow:none; }
.sector-category-card p,.sector-category-action { display:none; }
.sector-category-card:focus-visible { outline:2px solid #f0d77a; outline-offset:3px; }
.sector-tab-loading { color:#a6a2a0; font-size:.84rem; }

.sector-main { width:min(1120px,calc(100% - 40px)); margin:0 auto; }
.sector-hero {
  position:relative;
  isolation:isolate;
  margin:34px 0 42px;
  padding:clamp(27px,5vw,48px);
  overflow:hidden;
  border:1px solid rgba(212,175,55,.27);
  border-radius:20px;
  background:
    radial-gradient(ellipse at 90% 0%,rgba(212,175,55,.13),transparent 48%),
    linear-gradient(145deg,rgba(255,255,255,.025),transparent 48%),
    #17171b;
  box-shadow:0 14px 32px rgba(0,0,0,.25),inset 0 1px rgba(255,255,255,.07);
}
.sector-hero::before { content:""; position:absolute; z-index:-1; width:210px; height:210px; left:-95px; bottom:-135px; border:1px solid rgba(212,175,55,.16); border-radius:50%; box-shadow:0 0 0 16px rgba(212,175,55,.025),0 0 0 34px rgba(212,175,55,.018); }
.sector-breadcrumb { display:flex; align-items:center; gap:8px; margin-bottom:20px; color:#88868a; font-size:.82rem; }
.sector-breadcrumb a { color:#c5b779; text-decoration:none; }
.sector-kicker { display:inline-flex; align-items:center; gap:8px; color:#d4af37; font-size:.83rem; font-weight:900; }
.sector-kicker::before { content:""; width:20px; height:1px; background:linear-gradient(90deg,transparent,#d4af37); }
.sector-hero h1 { margin:7px 0 9px; color:#f3e5ab; font-size:clamp(1.9rem,4vw,3rem); line-height:1.4; font-weight:900; text-shadow:0 1px 0 #786022,0 2px 0 rgba(74,55,16,.8),0 5px 13px rgba(0,0,0,.55); }
.sector-hero p { max-width:740px; color:#c5c2c4; font-size:.98rem; line-height:1.9; }
.sector-hero .btn { margin-top:19px; box-shadow:0 3px 0 #806216,0 7px 16px rgba(0,0,0,.25); }
.sector-hero .btn:hover { transform:translateY(-2px); }

.sector-section { margin:0 0 54px; }
.sector-section-heading { display:flex; flex-direction:column; align-items:flex-start; gap:4px; margin-bottom:20px; padding-bottom:14px; border-bottom:1px solid rgba(212,175,55,.2); }
.sector-section-heading>span { color:#d4af37; font-size:.8rem; font-weight:900; }
.sector-section-heading h2 { margin:0; color:#f0dfa5; font-size:clamp(1.35rem,2.7vw,1.8rem); line-height:1.5; font-weight:900; text-shadow:0 1px 0 #614b1b,0 3px 9px rgba(0,0,0,.42); }
.sector-systems-section { min-height:230px; }
.sector-systems-groups { display:grid; gap:18px; }
.sector-system-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(270px,1fr)); align-items:stretch; gap:22px; }
/* Product cards inherit the exact shared card design from index.css. */
.sector-system-list .gallery-card { min-width:0; }
.sector-empty { max-width:760px; margin:0 auto; padding:21px 24px; border:1px dashed rgba(212,175,55,.3); border-radius:14px; background:rgba(212,175,55,.035); color:#c5c1b8; text-align:center; line-height:1.8; }
.sector-footer { margin-top:40px; padding:24px 16px; border-top:1px solid rgba(212,175,55,.16); color:#99969a; font-size:.85rem; text-align:center; }

@media(max-width:760px) {
  .sector-nav { min-height:62px; flex-wrap:wrap; gap:10px; padding:10px 16px; }
  .sector-nav>div { order:3; width:100%; gap:14px; }
  .sector-subcategory-nav { min-height:54px; gap:9px; padding:8px 13px; }
  .sector-subcategory-nav>strong { font-size:.78rem; }
  .sector-category-card { min-height:36px; padding:6px 10px; font-size:.8rem; }
  .sector-main { width:calc(100% - 26px); }
  .sector-hero { margin:20px 0 32px; padding:25px 20px; border-radius:17px; }
  .sector-breadcrumb { margin-bottom:15px; }
  .sector-hero p { font-size:.91rem; }
  .sector-section { margin-bottom:40px; }
  .sector-system-list { grid-template-columns:repeat(auto-fill,minmax(min(265px,100%),1fr)); gap:18px; }
}
@media(prefers-reduced-motion:reduce) { .sector-nav a,.sector-category-card,.sector-hero .btn { transition:none; } }

/* Light mode follows the shared site theme instead of forcing the dark palette. */
body.light-mode .sector-subcategory-nav { background:linear-gradient(180deg,#fff,#f5f5f3); border-bottom-color:rgba(191,149,63,.35); box-shadow:0 5px 15px rgba(30,25,10,.07); }
body.light-mode .sector-subcategory-nav>strong { color:#846315; }
body.light-mode .sector-category-card { color:#55504a; border-color:rgba(191,149,63,.34); background:rgba(255,255,255,.65); }
body.light-mode .sector-category-card:hover { color:#61480d; background:#fff8df; }
body.light-mode .sector-category-card[aria-pressed="true"] { color:#18140a; background:linear-gradient(135deg,#f4df89,#c49a2c); }
body.light-mode .sector-hero { background:radial-gradient(ellipse at 90% 0%,rgba(212,175,55,.13),transparent 48%),linear-gradient(145deg,#fff,#f7f6f2); border-color:rgba(191,149,63,.38); box-shadow:0 12px 28px rgba(30,25,10,.08),inset 0 1px #fff; }
body.light-mode .sector-breadcrumb { color:#74716b; }
body.light-mode .sector-breadcrumb a { color:#806018; }
body.light-mode .sector-kicker,body.light-mode .sector-section-heading>span { color:#82600c; }
body.light-mode .sector-hero h1,body.light-mode .sector-section-heading h2 { color:#6f5110; text-shadow:0 1px 0 #fff,0 2px 5px rgba(90,65,10,.12); }
body.light-mode .sector-hero p { color:#55575a; }
body.light-mode .sector-section-heading { border-bottom-color:rgba(191,149,63,.32); }
body.light-mode .sector-empty { color:#56524a; background:#fffaf0; border-color:rgba(191,149,63,.4); }
body.light-mode .sector-footer { color:#666; border-top-color:rgba(191,149,63,.3); }

