:root {
  --ink: #0c2028;
  --muted: #61727a;
  --navy: #112c37;
  --teal: #087b78;
  --teal-dark: #075d61;
  --blue: #2869bf;
  --amber: #c68b29;
  --coral: #c6513f;
  --line: #d8e2e5;
  --surface: #ffffff;
  --soft: #f4f8f9;
  --shadow: 0 18px 46px rgba(11, 39, 49, 0.11);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #f8fbfc;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

button, input { font: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

.utility-bar { color: #dce9eb; background: var(--navy); }

.utility-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  max-width: 1380px;
  min-height: 35px;
  margin: 0 auto;
  padding: 0 28px;
  font-size: 0.76rem;
}

.utility-inner p { margin: 0; }

.utility-inner div { display: flex; flex-wrap: wrap; gap: 18px; }

.utility-inner a { color: #eaf7f6; font-weight: 700; }

.mall-header {
  display: grid;
  grid-template-columns: minmax(225px, 0.68fr) minmax(330px, 1.2fr) auto;
  gap: 28px;
  align-items: center;
  padding: 16px max(28px, calc((100vw - 1380px) / 2));
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.mall-brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }

.mall-brand img { width: 70px; height: 48px; object-fit: contain; }

.mall-brand strong { display: block; color: var(--navy); font-size: 1.05rem; font-weight: 900; white-space: nowrap; }

.mall-brand small { display: block; margin-top: 1px; color: var(--muted); font-weight: 650; font-size: 0.77rem; white-space: nowrap; }

.global-search { display: flex; min-height: 47px; border: 2px solid var(--teal); background: #fff; }

.global-search:focus-within { outline: 3px solid rgba(8, 123, 120, 0.16); }

.global-search input { min-width: 0; flex: 1; border: 0; padding: 0 14px; color: var(--ink); outline: 0; }

.global-search button {
  min-width: 94px;
  border: 0;
  padding: 0 17px;
  color: #fff;
  background: var(--teal);
  font-weight: 850;
  cursor: pointer;
}

.header-tools { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }

.language-button, .account-link, .rfq-button {
  min-height: 42px;
  border: 1px solid var(--line);
  padding: 0 12px;
  color: var(--navy);
  background: #fff;
  font-weight: 850;
  cursor: pointer;
  white-space: nowrap;
}

.language-button { color: var(--blue); background: #f6f9ff; }

.account-link { display: inline-flex; align-items: center; }

.rfq-button { display: inline-flex; align-items: center; gap: 8px; color: #fff; background: var(--navy); border-color: var(--navy); }

.rfq-button b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; color: var(--navy); background: #f6c96e; font-size: 0.78rem; }

.category-nav { color: #fff; background: var(--teal-dark); }

.category-nav-inner { display: flex; align-items: center; max-width: 1380px; margin: 0 auto; overflow-x: auto; }

.category-nav a, .all-categories {
  flex: 0 0 auto;
  min-height: 46px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0 18px;
  color: #edf8f7;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.category-nav a:hover, .all-categories:hover { background: rgba(255, 255, 255, 0.13); }

.all-categories { color: #fff; background: var(--navy); }

.mall-hero {
  position: relative;
  min-height: 475px;
  overflow: hidden;
  color: #fff;
  background-color: #1e5054;
  background-image: url("./assets/product-gallery/dell-poweredge-r760/01-front.jpg");
  background-blend-mode: multiply;
  background-position: center;
  background-size: cover;
}

.mall-hero::before { position: absolute; inset: 0; background: rgba(6, 28, 34, 0.66); content: ""; }

.hero-inner { position: relative; z-index: 1; max-width: 1380px; padding: 78px max(28px, calc((100vw - 1380px) / 2)) 70px; }

.hero-eyebrow, .section-kicker { margin: 0; color: #2fd1c4; font-size: 0.78rem; font-weight: 900; letter-spacing: 0.06em; }

.hero-inner h1 { max-width: 790px; margin: 10px 0 18px; font-size: clamp(2.5rem, 5.2vw, 5.3rem); line-height: 0.96; letter-spacing: 0; }

.hero-inner > p:not(.hero-eyebrow) { max-width: 630px; margin: 0; color: rgba(255, 255, 255, 0.87); font-size: clamp(1rem, 1.45vw, 1.2rem); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }

.action { display: inline-flex; min-height: 47px; align-items: center; justify-content: center; border: 1px solid transparent; padding: 0 18px; font-weight: 900; cursor: pointer; }

.primary-action { color: var(--navy); background: #f5c967; }

.secondary-action { color: #fff; background: transparent; border-color: rgba(255, 255, 255, 0.72); }

.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }

.hero-facts span { padding: 8px 11px; border: 1px solid rgba(255, 255, 255, 0.34); color: #eef8f7; font-size: 0.83rem; font-weight: 800; }

.quick-categories { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1380px; margin: -1px auto 0; border: 1px solid var(--line); background: #fff; }

.quick-categories a { display: flex; align-items: center; gap: 14px; min-height: 86px; padding: 18px 22px; border-right: 1px solid var(--line); font-weight: 900; }

.quick-categories a:last-child { border: 0; }

.quick-categories a:hover { color: var(--teal); background: #f1fbfa; }

.quick-categories strong { color: var(--blue); font-size: 1.2rem; }

.catalog-section { padding: 74px max(28px, calc((100vw - 1380px) / 2)); background: #f8fbfc; }

.catalog-shell { display: grid; grid-template-columns: 245px 1fr; gap: 32px; max-width: 1380px; margin: 0 auto; }

.catalog-sidebar { align-self: start; padding: 24px; background: #fff; border-top: 4px solid var(--teal); box-shadow: 0 10px 28px rgba(12, 45, 55, 0.06); }

.catalog-sidebar h2, .catalog-heading h2, .process-heading h2, .company-section h2 { margin: 8px 0 0; font-size: clamp(1.7rem, 3vw, 2.75rem); line-height: 1.04; letter-spacing: 0; }

.sidebar-filters { display: grid; gap: 2px; margin: 24px -24px 0; }

.sidebar-filters button { border: 0; border-left: 4px solid transparent; padding: 12px 20px; color: #30454d; background: transparent; text-align: left; font-weight: 800; cursor: pointer; }

.sidebar-filters button:hover, .sidebar-filters button.is-active { border-left-color: var(--teal); color: var(--teal); background: #edf9f7; }

.sidebar-contact { display: grid; gap: 12px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }

.sidebar-contact strong { color: var(--navy); line-height: 1.35; }

.sidebar-contact button { min-height: 40px; border: 1px solid var(--blue); color: var(--blue); background: #fff; font-weight: 850; cursor: pointer; }

.catalog-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 28px; }

.catalog-heading > p { margin: 0; color: var(--muted); font-size: 0.9rem; white-space: nowrap; }

.catalog-heading > p b { color: var(--teal); }

.catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.catalog-card { display: grid; grid-template-rows: auto 1fr; min-width: 0; border: 1px solid var(--line); background: #fff; box-shadow: 0 8px 22px rgba(12, 45, 55, 0.05); transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease; }

.catalog-card:hover { transform: translateY(-3px); border-color: #9ecfc9; box-shadow: 0 18px 36px rgba(12, 45, 55, 0.12); }

.catalog-card[hidden] { display: none; }

.product-image { display: block; overflow: hidden; border-bottom: 1px solid var(--line); background: #f2f6f7; }

.product-image img { width: 100%; aspect-ratio: 1.36; object-fit: cover; transition: transform 220ms ease; }

.catalog-card:hover .product-image img { transform: scale(1.025); }

.product-copy { display: flex; flex-direction: column; padding: 16px; }

.brand-tag { align-self: flex-start; margin: 0; padding: 4px 7px; font-size: 0.69rem; font-weight: 900; letter-spacing: 0.05em; }

.brand-tag.hpe { color: #075e69; background: #e4f7f6; }
.brand-tag.dell { color: #245baa; background: #e9f0ff; }
.brand-tag.lenovo { color: #a03f2f; background: #ffede8; }
.brand-tag.memory { color: #634996; background: #f0ebff; }
.brand-tag.drives { color: #8a5d0d; background: #fff3d9; }

.catalog-card h3 { margin: 13px 0 7px; font-size: 1.08rem; line-height: 1.22; }

.product-spec { min-height: 44px; margin: 0; color: var(--muted); font-size: 0.84rem; }

.stock-line { display: flex; align-items: center; gap: 7px; margin-top: 14px; color: var(--teal); font-size: 0.78rem; font-weight: 850; }

.stock-line > span:first-child { width: 8px; height: 8px; background: #20ad77; }

.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }

.card-actions a, .card-actions button { min-height: 38px; border: 1px solid #b9cfd2; color: var(--navy); background: #fff; font-size: 0.79rem; font-weight: 850; text-align: center; cursor: pointer; }

.card-actions a { display: flex; align-items: center; justify-content: center; }

.card-actions button { color: #fff; background: var(--teal); border-color: var(--teal); }

.empty-results { margin: 24px 0 0; padding: 24px; color: var(--muted); background: #fff; border: 1px dashed #adc7ca; text-align: center; }

.process-section { padding: 75px max(28px, calc((100vw - 1380px) / 2)); color: #fff; background: var(--navy); }

.process-heading { max-width: 750px; }

.process-heading .section-kicker { color: #58d6c8; }

.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; max-width: 1380px; margin: 36px auto 0; background: rgba(255, 255, 255, 0.21); }

.process-grid article { padding: 28px; background: #163946; }

.process-grid article:nth-child(2) { background: #173f54; }

.process-grid article:nth-child(3) { background: #184842; }

.process-grid span { color: #f5c967; font-size: 1.45rem; font-weight: 900; }

.process-grid h3 { margin: 24px 0 0; font-size: 1.25rem; }

.process-grid p { margin: 10px 0 0; color: #c8dadd; }

.company-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 410px); gap: 40px; max-width: 1380px; margin: 0 auto; padding: 74px max(28px, calc((100vw - 1380px) / 2)); }

.company-section > div > p:last-child { max-width: 750px; margin: 22px 0 0; color: var(--muted); font-size: 1.04rem; }

.company-section address { display: grid; align-content: start; gap: 12px; padding: 28px; color: #eaf8f6; background: var(--teal-dark); font-style: normal; }

.company-section address strong { color: #f5c967; font-size: 1.12rem; }

.company-section address a { font-weight: 750; }

.company-section address button { min-height: 43px; margin-top: 10px; border: 0; color: var(--navy); background: #fff; font-weight: 900; cursor: pointer; }

.rfq-drawer { position: fixed; z-index: 50; top: 0; right: 0; display: grid; grid-template-rows: auto 1fr auto auto; width: min(390px, 100vw); height: 100vh; padding: 24px; background: #fff; box-shadow: -18px 0 46px rgba(10, 32, 40, 0.2); transform: translateX(105%); transition: transform 220ms ease; }

.rfq-drawer.is-open { transform: translateX(0); }

.drawer-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }

.drawer-heading h2 { margin: 6px 0 0; font-size: 1.7rem; }

.drawer-close { width: 34px; height: 34px; border: 1px solid var(--line); color: var(--navy); background: #fff; font-size: 1.25rem; cursor: pointer; }

.rfq-items { overflow: auto; margin: 22px 0; }

.rfq-items p { margin: 0; color: var(--muted); }

.rfq-item { display: flex; align-items: start; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 800; }

.rfq-item button { border: 0; color: var(--coral); background: transparent; font-weight: 800; cursor: pointer; }

.send-rfq { min-height: 48px; border: 0; color: #fff; background: var(--teal); font-weight: 900; cursor: pointer; }

.drawer-note { margin: 13px 0 0; color: var(--muted); font-size: 0.81rem; }

.floating-service { position: fixed; z-index: 24; bottom: 18px; left: 18px; min-height: 46px; border: 0; border-top: 3px solid #f5c967; padding: 0 16px; color: #fff; background: var(--navy); box-shadow: 0 12px 26px rgba(10, 32, 40, 0.2); font-weight: 900; cursor: pointer; }

@media (max-width: 1120px) {
  .mall-header { grid-template-columns: 1fr auto; }
  .global-search { grid-column: 1 / -1; grid-row: 2; }
  .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 850px) {
  .utility-inner { display: grid; gap: 3px; padding: 7px 18px; }
  .mall-header { gap: 14px; padding: 13px 18px; }
  .category-nav-inner { padding-left: 0; }
  .quick-categories { grid-template-columns: repeat(2, 1fr); }
  .catalog-section { padding: 54px 18px; }
  .catalog-shell { grid-template-columns: 1fr; }
  .catalog-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
  .catalog-sidebar h2 { font-size: 1.8rem; }
  .sidebar-filters { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 8px 0 0; }
  .sidebar-filters button { border: 1px solid var(--line); padding: 9px 10px; font-size: 0.83rem; }
  .sidebar-filters button:hover, .sidebar-filters button.is-active { border-left-width: 1px; border-color: #9dccc8; }
  .sidebar-contact { align-self: end; margin-top: 0; padding-top: 0; border: 0; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-section { padding: 56px 18px; }
  .company-section { grid-template-columns: 1fr; padding: 56px 18px; }
}

@media (max-width: 600px) {
  .utility-inner div { gap: 8px; font-size: 0.7rem; }
  .mall-header { grid-template-columns: 1fr auto; }
  .mall-brand img { width: 58px; height: 43px; }
  .mall-brand strong { font-size: 0.92rem; }
  .mall-brand small { font-size: 0.68rem; }
  .account-link { display: none; }
  .rfq-button { min-width: 44px; padding: 0 10px; }
  .rfq-button span { display: none; }
  .global-search { min-height: 44px; }
  .global-search button { min-width: 76px; }
  .category-nav a, .all-categories { min-height: 43px; padding: 0 13px; font-size: 0.82rem; }
  .mall-hero { min-height: 510px; background-position: 63% center; }
  .hero-inner { padding: 62px 18px 54px; }
  .hero-inner h1 { font-size: clamp(2.5rem, 14vw, 4.1rem); }
  .quick-categories a { min-height: 72px; padding: 12px; font-size: 0.86rem; }
  .quick-categories strong { font-size: 1rem; }
  .catalog-sidebar { display: block; padding: 21px; }
  .sidebar-filters { grid-template-columns: repeat(2, 1fr); }
  .sidebar-contact { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
  .catalog-heading { align-items: start; display: grid; }
  .catalog-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .company-section { gap: 30px; }
  .floating-service { bottom: 14px; left: 14px; }
}
