:root {
  --warehouse-blue: #103f72;
  --warehouse-blue-deep: #09284b;
  --warehouse-cyan: #2e95b8;
  --warehouse-line: #d8e1ea;
  --warehouse-ink: #142536;
  --warehouse-muted: #637286;
  --warehouse-sand: #f5f8fa;
}

.warehouse-main {
  min-height: 75vh;
  padding: calc(var(--header-height) + 60px) 0 88px;
  background: linear-gradient(180deg, #edf3f7 0, #fff 360px);
}

.warehouse-breadcrumb {
  display: flex;
  min-height: 34px;
  gap: 10px;
  align-items: center;
  color: #6c7b89;
  font-size: 12px;
}

.warehouse-breadcrumb a { color: #4e6880; }
.warehouse-breadcrumb a:hover { color: var(--warehouse-blue); }
.warehouse-breadcrumb i { color: #a7b4c0; font-style: normal; }
.warehouse-breadcrumb span { color: #81909e; }

.warehouse-hero {
  position: relative;
  overflow: hidden;
  padding: 42px 60px;
  color: #fff;
  background: linear-gradient(115deg, var(--warehouse-blue-deep), var(--warehouse-blue) 60%, #246d97);
}

.warehouse-hero::before,
.warehouse-hero::after {
  position: absolute;
  content: '';
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  pointer-events: none;
}

.warehouse-hero::before { right: 6%; top: -150px; box-shadow: 0 0 0 35px rgba(255,255,255,.05), 0 0 0 70px rgba(255,255,255,.035); }
.warehouse-hero::after { right: 24%; bottom: -220px; }

.warehouse-hero-content { position: relative; z-index: 1; max-width: 760px; }
.warehouse-kicker { display: block; margin-bottom: 14px; color: var(--warehouse-cyan); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.warehouse-hero .warehouse-kicker { color: #83d5ed; }
.warehouse-hero h1 { margin: 0; font-size: clamp(30px, 4vw, 50px); line-height: 1.18; letter-spacing: .03em; }
.warehouse-hero p { max-width: 650px; margin: 20px 0 0; color: rgba(255,255,255,.82); font-size: 16px; line-height: 1.85; }
.warehouse-demo-note { display: inline-flex; gap: 8px; align-items: center; margin-top: 25px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.25); background: rgba(5,27,50,.25); color: #d7eef6; font-size: 12px; }
.warehouse-demo-note::before { width: 6px; height: 6px; border-radius: 50%; background: #80d7ed; content: ''; }

.warehouse-section { padding-top: 34px; }
.warehouse-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 27px; }
.warehouse-section-heading h2 { margin: 0; color: var(--warehouse-ink); font-size: clamp(24px, 3vw, 34px); letter-spacing: .02em; }
.warehouse-section-heading p { max-width: 430px; margin: 0; color: var(--warehouse-muted); line-height: 1.8; }

.warehouse-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.warehouse-card { position: relative; display: flex; min-height: 288px; padding: 28px; flex-direction: column; overflow: hidden; border: 1px solid var(--warehouse-line); background: #fff; color: var(--warehouse-ink); box-shadow: 0 10px 30px rgba(14, 52, 86, .06); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.warehouse-card::after { position: absolute; right: -80px; bottom: -120px; width: 215px; height: 215px; border: 28px solid rgba(46,149,184,.07); border-radius: 50%; content: ''; transition: transform .35s ease; }
.warehouse-card:hover { color: var(--warehouse-ink); border-color: rgba(46,149,184,.62); box-shadow: 0 18px 38px rgba(14, 52, 86, .13); transform: translateY(-5px); }
.warehouse-card:hover::after { transform: scale(1.18); }
.warehouse-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.warehouse-card-number { color: #aab8c3; font-family: Georgia, serif; font-size: 32px; line-height: 1; }
.warehouse-card-status { padding: 4px 8px; background: #ecf7f9; color: #23738c; font-size: 11px; }
.warehouse-card h2 { position: relative; z-index: 1; margin: 28px 0 24px; font-size: 23px; line-height: 1.35; }
.warehouse-card-line { position: relative; z-index: 1; display: flex; gap: 10px; margin-top: 10px; flex-direction: column; }
.warehouse-card-label { color: #82909f; font-size: 11px; letter-spacing: .08em; }
.warehouse-card-line strong { color: #35495c; font-size: 14px; font-weight: 600; line-height: 1.45; }
.warehouse-card p { position: relative; z-index: 1; margin: 21px 0 22px; color: var(--warehouse-muted); font-size: 13px; line-height: 1.75; }
.warehouse-card-link { position: relative; z-index: 1; display: inline-flex; gap: 10px; align-items: center; margin-top: 21px; color: var(--warehouse-blue); font-size: 13px; font-weight: 700; }
.warehouse-card-link i { font-size: 20px; font-style: normal; line-height: .8; transition: transform .2s ease; }
.warehouse-card:hover .warehouse-card-link i { transform: translateX(5px); }

.warehouse-detail { max-width: 1120px; margin: 0 auto; }
.warehouse-back { display: inline-flex; gap: 9px; align-items: center; margin-bottom: 24px; color: var(--warehouse-blue); font-size: 13px; font-weight: 700; }
.warehouse-back i { font-size: 18px; font-style: normal; }
.warehouse-detail-heading { display: flex; align-items: start; justify-content: space-between; gap: 30px; padding: 42px 46px; background: var(--warehouse-blue-deep); color: #fff; }
.warehouse-detail-heading .warehouse-kicker { color: #83d5ed; }
.warehouse-detail-heading h1 { margin: 0; font-size: clamp(29px, 4vw, 43px); line-height: 1.2; }
.warehouse-detail-heading p { max-width: 700px; margin: 16px 0 0; color: rgba(255,255,255,.78); line-height: 1.8; }
.warehouse-detail-badge { flex: 0 0 auto; padding: 12px 14px; border: 1px solid rgba(255,255,255,.24); text-align: center; }
.warehouse-detail-badge span { display: block; color: #80d7ed; font-size: 16px; font-weight: 800; letter-spacing: .14em; }
.warehouse-detail-badge small { display: block; margin-top: 4px; color: rgba(255,255,255,.72); font-size: 10px; }
.warehouse-summary { display: flex; overflow: hidden; border: 1px solid var(--warehouse-line); background: #fff; }
.warehouse-summary-graphic { display: grid; width: 180px; flex: 0 0 180px; place-items: center; border-right: 1px solid var(--warehouse-line); background: linear-gradient(135deg, #edf8fc, #f7fbfd); }
.warehouse-summary-graphic svg { width: 130px; height: auto; filter: drop-shadow(0 8px 8px rgba(18, 88, 139, .13)); }
.warehouse-facts { display: grid; flex: 1; grid-template-columns: repeat(3, 1fr); background: #fff; }
.warehouse-facts > div { min-height: 112px; padding: 24px 26px; border-right: 1px solid var(--warehouse-line); }
.warehouse-facts > div:last-child { border-right: 0; }
.warehouse-facts span { display: block; margin-bottom: 8px; color: var(--warehouse-muted); font-size: 11px; letter-spacing: .1em; }
.warehouse-facts strong { color: #2c435a; font-size: 14px; line-height: 1.6; }
.warehouse-facts em { color: #a5b1bc; font-style: normal; }

.supplier-directory { margin-top: 28px; padding: 35px; border: 1px solid var(--warehouse-line); background: #fff; }
.supplier-directory-head { display: flex; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.supplier-directory-head h2 { margin: 0; font-size: 26px; color: var(--warehouse-ink); }
.supplier-directory-head p { max-width: 410px; margin: 0; color: var(--warehouse-muted); font-size: 13px; line-height: 1.75; }
.inventory-search { display: flex; width: min(360px, 100%); align-items: center; gap: 9px; padding: 0 13px; border: 1px solid #cbd7e1; background: #fbfdfe; color: #6d8194; transition: border-color .2s ease, box-shadow .2s ease; }
.inventory-search:focus-within { border-color: #2789b5; box-shadow: 0 0 0 3px rgba(39, 137, 181, .12); }
.inventory-search svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; }
.inventory-search input { width: 100%; min-width: 0; height: 41px; border: 0; outline: 0; background: transparent; color: var(--warehouse-ink); font: inherit; }
.inventory-search input::placeholder { color: #98a6b4; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.supplier-table-wrap { overflow-x: auto; border: 1px solid var(--warehouse-line); }
.supplier-table { width: 100%; min-width: 1280px; border-collapse: collapse; text-align: left; }
.supplier-table th { padding: 13px 16px; background: #edf3f7; color: #53687c; font-size: 11px; font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
.supplier-table td { padding: 16px; border-top: 1px solid #e3eaf0; color: #596b7c; font-size: 13px; line-height: 1.65; vertical-align: top; }
.supplier-table td strong { color: #263e54; font-weight: 700; }
.supplier-status { display: inline-block; padding: 3px 7px; border: 1px solid #b7dbe4; color: #28738b; font-size: 11px; white-space: nowrap; }
.inventory-empty { padding: 34px !important; color: #7e8d9c !important; text-align: center; }

@media (max-width: 900px) {
  .warehouse-main { padding-top: calc(var(--header-height) + 32px); }
  .warehouse-hero { padding: 38px 32px; }
  .warehouse-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .warehouse-card { min-height: 280px; }
  .supplier-directory-head { align-items: stretch; flex-direction: column; }
  .inventory-search { width: 100%; }
  .warehouse-summary { flex-direction: column; }
  .warehouse-summary-graphic { width: 100%; height: 118px; flex-basis: 118px; border-right: 0; border-bottom: 1px solid var(--warehouse-line); }
  .warehouse-summary-graphic svg { width: 118px; }
  .warehouse-facts { grid-template-columns: 1fr; }
  .warehouse-facts > div { min-height: auto; border-right: 0; border-bottom: 1px solid var(--warehouse-line); }
  .warehouse-facts > div:last-child { border-bottom: 0; }
}

@media (max-width: 600px) {
  .warehouse-main { padding-bottom: 50px; }
  .warehouse-hero { padding: 30px 22px; }
  .warehouse-hero p { font-size: 14px; }
  .warehouse-section { padding-top: 36px; }
  .warehouse-cards { grid-template-columns: 1fr; }
  .warehouse-section-heading { align-items: start; flex-direction: column; gap: 10px; }
  .warehouse-facts > div { padding: 19px 20px; }
  .supplier-directory { margin-top: 18px; padding: 23px 18px; }
  .supplier-directory-head h2 { font-size: 22px; }
}
