/* RAHEEM IMPEX — UNIFIED NON-HOME THEME
   Mirrors approved homepage. Homepage intentionally excluded. */

:root{--ri-yellow:#f5c518;--ri-yellow2:#ffd528;--ri-ink:#080b0d;--ri-panel:#11171b;--ri-line:#293137}

/* HEADER — all public internal pages only */
body:not(.home) .site-header{
  background:#080c0f!important;
  border-bottom:1px solid rgba(255,255,255,.08)!important;
  box-shadow:0 6px 22px rgba(0,0,0,.18)!important;
}
body:not(.home) .bar{min-height:72px!important}
body:not(.home) .brand img{height:47px!important;max-width:154px!important}
body:not(.home) .nl{
  color:#f0f2f3!important;
  font-size:13px!important;
  font-weight:780!important;
  text-transform:uppercase!important;
  letter-spacing:.015em!important;
}
body:not(.home) .nl:hover,
body:not(.home) .nl.on{color:var(--ri-yellow)!important}
body:not(.home) .nl::after{background:var(--ri-yellow)!important}
body:not(.home) .icon-btn{
  color:#fff!important;background:transparent!important;border-color:transparent!important
}
body:not(.home) .icon-btn:hover{color:var(--ri-yellow)!important;background:rgba(255,255,255,.06)!important}
body:not(.home) .bar-actions{padding-left:18px!important}
body:not(.home) .bar-actions::before{display:none!important}
body:not(.home) .cta{
  background:linear-gradient(135deg,var(--ri-yellow2),#e9b900)!important;
  color:#111!important;border-color:#ffd63a!important;
  box-shadow:0 10px 24px rgba(245,197,24,.16)!important
}
body:not(.home) .cta:hover{background:#ffdc3f!important;color:#080808!important}
body:not(.home) .sub{background:#11171b!important;border-color:rgba(255,255,255,.09)!important}
body:not(.home) .sub a{color:#e8ecee!important}
body:not(.home) .sub a:hover{background:#1b2328!important;color:var(--ri-yellow)!important}
body:not(.home) .search-panel{background:#0d1215!important;border-top-color:#232b30!important}
body:not(.home) .search-panel input{background:#161d22!important;color:#fff!important;border-color:#30383e!important}

/* GENERIC PAGE HERO — products/about/capabilities/contact */
body:not(.home) .page-hero{
  position:relative!important;
  overflow:hidden!important;
  background:#080b0d!important;
  color:#fff!important;
  border:0!important;
  min-height:250px!important;
  padding:54px 0 48px!important
}
body:not(.home) .page-hero::before{
  content:""!important;position:absolute!important;inset:0!important;pointer-events:none!important;
  background:
    radial-gradient(44% 120% at 88% 5%,rgba(245,197,24,.10),transparent 60%),
    radial-gradient(30% 75% at 100% 85%,rgba(245,197,24,.05),transparent 68%),
    linear-gradient(90deg,#080b0d 0%,#0b1013 68%,#11100a 100%)!important
}
body:not(.home) .page-hero .wrap{position:relative!important;z-index:2!important}
body:not(.home) .page-hero .crumbs{
  margin:0 0 12px!important;color:#c8cdd0!important;font-size:11px!important;
  font-weight:800!important;letter-spacing:.10em!important;text-transform:uppercase!important
}
body:not(.home) .page-hero .crumbs a{color:#c8cdd0!important}
body:not(.home) .page-hero h1{
  color:#fff!important;margin:0 0 14px!important;
  font-size:clamp(42px,4vw,64px)!important;line-height:.96!important;
  letter-spacing:-.035em!important
}
body:not(.home) .page-hero h1::after{
  content:""!important;display:block!important;width:54px!important;height:4px!important;
  margin-top:17px!important;background:var(--ri-yellow)!important
}
body:not(.home) .page-hero .lead{
  color:#d9dddf!important;max-width:850px!important;font-size:18px!important;line-height:1.5!important
}

/* BUTTONS */
body:not(.home) .btn-red,
body:not(.home) .btn:not(.btn-ghost):not(.btn-wa){
  background:linear-gradient(135deg,var(--ri-yellow2),#e9b900)!important;
  color:#111!important;border-color:#ffd63a!important;
  box-shadow:0 9px 22px rgba(245,197,24,.13)!important
}
body:not(.home) .btn-red:hover,
body:not(.home) .btn:not(.btn-ghost):not(.btn-wa):hover{background:#ffdc3f!important;color:#070707!important}

/* LISTING / PRODUCTS */
body.listing .list-sec{background:#fff!important;padding-top:30px!important}
body.listing .chips{gap:8px!important}
body.listing .chip{
  border:1px solid #d9dde0!important;background:#fff!important;color:#24292d!important;
  box-shadow:none!important;border-radius:999px!important
}
body.listing .chip:hover{border-color:#b4b9bd!important;color:#111!important}
body.listing .chip.on{
  background:var(--ri-yellow)!important;color:#111!important;border-color:var(--ri-yellow)!important;
  box-shadow:0 8px 18px rgba(245,197,24,.14)!important
}
body.listing .inline-search input{border-color:#d9dde0!important}
body.listing .inline-search button{
  background:#11171b!important;color:var(--ri-yellow)!important;border-color:#11171b!important
}
body.listing .count{color:#727a80!important}
body.listing .pcard{
  border:1px solid #e2e5e7!important;border-radius:10px!important;background:#fff!important;
  box-shadow:0 8px 24px rgba(11,15,18,.045)!important;transition:.22s ease!important
}
body.listing .pcard:hover{
  transform:translateY(-4px)!important;border-color:#c9cdd0!important;
  box-shadow:0 16px 34px rgba(11,15,18,.10)!important
}
body.listing .pcard .pimg{background:#f5f6f7!important;border-radius:7px!important}
body.listing .pcard .pgo{background:#11171b!important;color:var(--ri-yellow)!important;border-color:#11171b!important}
body.listing .catalogue-rfq{
  background:linear-gradient(110deg,#0b1013 0%,#11181c 66%,#28161a 100%)!important;
  color:#fff!important;border:1px solid #262e33!important
}
body.listing .catalogue-rfq h2{color:#fff!important}
body.listing .catalogue-rfq p{color:#cfd4d7!important}
body.listing .catalogue-rfq-kicker{color:var(--ri-yellow)!important}

/* APPROVED CATEGORY HERO — compact homepage language */
body.listing .cat-banner{
  position:relative!important;overflow:hidden!important;background:#06090c!important;color:#fff!important;
  border-bottom:1px solid #1d242a!important
}
body.listing .cat-banner::before{
  content:""!important;position:absolute!important;inset:0!important;
  background:
    radial-gradient(58% 110% at 87% 14%,rgba(245,197,24,.13),transparent 58%),
    radial-gradient(70% 110% at 25% 120%,rgba(255,255,255,.035),transparent 65%),
    linear-gradient(180deg,#080b0e 0%,#05080a 100%)!important
}
body.listing .cat-banner .slide-bg,
body.listing .cat-banner .slide-shade{display:none!important}
body.listing .cat-banner .slide-inner{
  position:relative!important;z-index:2!important;display:grid!important;
  grid-template-columns:minmax(0,1.08fr) minmax(300px,.92fr)!important;
  align-items:center!important;gap:18px!important;
  min-height:315px!important;padding-top:22px!important;padding-bottom:20px!important
}
body.listing .cat-banner .slide-copy{max-width:680px!important}
body.listing .cat-banner .crumbs{
  margin:0 0 9px!important;color:#c9ced3!important;font-size:9px!important;
  font-weight:800!important;letter-spacing:.14em!important;text-transform:uppercase!important
}
body.listing .cat-banner .crumbs a{color:#c9ced3!important}
body.listing .cat-banner .slide-title{
  margin:0 0 9px!important;max-width:10em!important;
  font-size:clamp(36px,3.4vw,53px)!important;line-height:.91!important;
  letter-spacing:-.035em!important;text-transform:uppercase!important
}
body.listing .cat-banner .slide-title .t1{display:block!important;color:#fff!important;-webkit-text-fill-color:#fff!important;background:none!important}
body.listing .cat-banner .slide-title .t2{display:block!important;color:var(--ri-yellow)!important;-webkit-text-fill-color:var(--ri-yellow)!important;background:none!important}
body.listing .cat-banner .slide-text{max-width:570px!important;margin:0!important;color:#d5d9dc!important;font-size:14px!important;line-height:1.42!important}
body.listing .cat-banner .slide-cta{margin-top:13px!important}
body.listing .cat-banner .slide-cta .btn{min-height:39px!important;padding:0 17px!important;font-size:10.5px!important;text-transform:uppercase!important}
body.listing .cat-banner .slide-copy::after{
  content:"EXPORT TO GLOBAL MARKETS   |   QUALITY MANUFACTURING   |   CUSTOM DESIGNS & OEM   |   LONG TERM PARTNERSHIP";
  display:block;margin-top:13px;padding:9px 11px;border:1px solid #2b3238;color:#e9ecee;
  font-size:7.2px;font-weight:800;letter-spacing:.02em;line-height:1.35
}
body.listing .cat-banner .slide-art{
  min-height:255px!important;max-height:275px!important;padding:0!important;border:0!important;border-radius:0!important;
  background-color:transparent!important;background-repeat:no-repeat!important;background-position:center!important;background-size:contain!important;
  box-shadow:none!important;overflow:visible!important;animation:riUnifiedFloat 6s ease-in-out infinite!important
}
body.listing .cat-banner .slide-art img{max-width:100%!important;max-height:255px!important;object-fit:contain!important;filter:drop-shadow(0 20px 24px rgba(0,0,0,.45))!important}
@keyframes riUnifiedFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}

/* CONTENT SURFACES — about, capabilities, contact, product detail */
body:not(.home):not(.listing) main{background:#f6f7f8!important}
body:not(.home):not(.listing) .panel,
body:not(.home):not(.listing) .content-card,
body:not(.home):not(.listing) .about-card,
body:not(.home):not(.listing) .cap-card,
body:not(.home):not(.listing) .contact-card,
body:not(.home):not(.listing) .detail-card{
  border:1px solid #e0e3e5!important;border-radius:10px!important;background:#fff!important;
  box-shadow:0 10px 28px rgba(11,15,18,.05)!important
}
body:not(.home) h2::before,
body:not(.home) .section-title::before{background:var(--ri-yellow)!important}

/* FOOTER — same identity as homepage */
body:not(.home) .site-footer{
  background:#080d10!important;color:#d4d9dc!important;border-top:3px solid var(--ri-yellow)!important
}
body:not(.home) .site-footer h3,
body:not(.home) .site-footer h4{color:#fff!important}
body:not(.home) .site-footer a{color:#cbd1d4!important}
body:not(.home) .site-footer a:hover{color:var(--ri-yellow)!important}

/* MOBILE */
@media(max-width:900px){
  body:not(.home) .site-header{background:#090d10!important}
  body:not(.home) .nav{background:#0d1215!important;border-top-color:#22292e!important}
  body:not(.home) .page-hero{min-height:220px!important;padding:40px 0 36px!important}
  body.listing .cat-banner .slide-inner{grid-template-columns:1fr 1fr!important;min-height:285px!important}
}
@media(max-width:680px){
  body:not(.home) .bar{min-height:66px!important}
  body:not(.home) .brand img{height:42px!important}
  body:not(.home) .page-hero h1{font-size:38px!important}
  body.listing .cat-banner .slide-inner{grid-template-columns:1fr!important;min-height:auto!important;padding-top:26px!important}
  body.listing .cat-banner .slide-art{min-height:175px!important;max-height:190px!important}
  body.listing .cat-banner .slide-title{font-size:38px!important}
  body.listing .cat-banner .slide-copy::after{font-size:6.5px!important}
}
@media(prefers-reduced-motion:reduce){body.listing .cat-banner .slide-art{animation:none!important}}
