:root {
  --navy: #1e1e1e;
  --navy-deep: #121212;
  --blue: #2e2e2e;
  --steel: #5a5a5a;
  --steel-light: #8c8c8c;
  --line: #dedbd3;
  --line-dark: #3a3a3a;
  --bg: #f6f5f2;
  --bg-2: #efede7;
  --white: #ffffff;
  --ink: #181818;
  --saffron: #8f6a00;
  --saffron-bg: #fbf3de;
  --green: #1e7a46;
  --green-bg: #e9f5ee;
  --radius: 3px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.14);
  --maxw: 1280px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Source Sans 3", "Source Sans Pro", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
:focus-visible {
  outline: 2px solid var(--saffron);
  outline-offset: 2px;
}

/* ===== TOP INFO BAR ===== */
.topbar {
  background: var(--navy-deep);
  color: #d6d6d6;
  font-size: 12.5px;
  border-bottom: 1px solid var(--line-dark);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 18px;
}
.topbar-left span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar-left .divider {
  width: 1px;
  height: 12px;
  background: #3a3a3a;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.topbar-right a {
  color: #d6d6d6;
  transition: color 0.15s;
}
.topbar-right a:hover {
  color: var(--white);
}
.lang-select {
  display: flex;
  align-items: center;
  gap: 6px;
  border-left: 1px solid #3a3a3a;
  padding-left: 18px;
}
.lang-select button {
  background: none;
  border: none;
  color: #d6d6d6;
  font-size: 12.5px;
  padding: 2px 4px;
}
.lang-select button.active {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 860px) {
  .topbar-left span:not(:first-child) {
    display: none;
  }
  .topbar .divider {
    display: none;
  }
}
@media (max-width: 640px) {
  .topbar {
    display: none;
  }
}

/* ===== MAIN HEADER ===== */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 60;
}
.header-main {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.brand-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}
.brand-tag {
  font-size: 11.5px;
  color: var(--steel);
  letter-spacing: 0.02em;
}
.search {
  flex: 1;
  max-width: 620px;
  position: relative;
}
.search input {
  width: 100%;
  height: 46px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 0 46px 0 16px;
  font-size: 14.5px;
  color: var(--ink);
  background: var(--bg);
  transition:
    border-color 0.15s,
    background 0.15s;
}
.search input:focus {
  border-color: var(--navy);
  background: var(--white);
  outline: none;
}
.search button {
  position: absolute;
  right: 0;
  top: 0;
  height: 46px;
  width: 46px;
  background: var(--navy);
  border: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-shrink: 0;
}
.h-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 11.5px;
  color: var(--navy);
  font-weight: 600;
  position: relative;
}
.h-action svg {
  width: 21px;
  height: 21px;
  stroke: var(--navy);
}
.h-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: var(--saffron);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.burger {
  display: none;
  background: none;
  border: none;
  padding: 8px;
}
.burger span,
.burger::before,
.burger::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
}
@media (max-width: 1080px) {
  .search {
    display: none;
  }
}
@media (max-width: 900px) {
  .header-actions .h-action .h-label {
    display: none;
  }
}
@media (max-width: 760px) {
  .header-main {
    height: 66px;
    gap: 14px;
  }
  .brand {
    order: 1;
    margin-right: auto;
  }
  .brand-mark {
    width: 40px;
    height: 40px;
  }
  .brand-name {
    font-size: 15px;
  }
  .brand-tag {
    display: none;
  }
  .search {
    order: 2;
  }
  .header-actions {
    order: 3;
    gap: 14px;
  }
  .burger {
    display: block;
    order: 4;
  }
  .h-action:not(.cart-action) {
    display: none;
  }
}

/* ===== NAV ===== */
.navbar {
  background: var(--navy);
  position: relative;
  z-index: 50;
}
.navbar .wrap {
  display: flex;
  align-items: stretch;
}
.navlist {
  display: flex;
}
.navlist > li {
  position: relative;
}
.navlist > li > a {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 18px;
  color: #ececec;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-bottom: 2px solid transparent;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.navlist > li > a:hover,
.navlist > li.open > a {
  background: var(--blue);
  border-color: var(--saffron);
  color: var(--white);
}
.navlist > li.gov > a {
  color: #e8be5c;
}
.megamenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  width: 640px;
  padding: 26px 30px;
  display: none;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 26px;
}
.navlist > li.open .megamenu {
  display: grid;
}
.megamenu h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--saffron);
  margin: 0 0 12px;
  font-weight: 700;
}
.megamenu ul li a {
  display: block;
  padding: 6px 0;
  font-size: 13.5px;
  color: var(--ink);
  border-bottom: 1px solid var(--bg-2);
  transition:
    color 0.15s,
    padding-left 0.15s;
}
.megamenu ul li a:hover {
  color: var(--navy);
  padding-left: 4px;
  font-weight: 600;
}
.megamenu .mega-feature {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.megamenu .mega-feature strong {
  display: block;
  color: var(--navy);
  font-size: 13.5px;
  margin-bottom: 6px;
}
.megamenu .mega-feature span {
  font-size: 12.5px;
  color: var(--steel);
  line-height: 1.5;
}
@media (max-width: 1080px) {
  .navbar {
    display: none;
  }
}

/* Mobile drawer nav */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}
.mobile-drawer.open {
  display: block;
}
.mobile-drawer .scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.mobile-drawer .panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 84%;
  max-width: 340px;
  background: var(--white);
  overflow-y: auto;
  box-shadow: var(--shadow-md);
}
.mobile-drawer .panel-head {
  background: var(--navy);
  color: var(--white);
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-drawer .panel-head button {
  background: none;
  border: none;
  color: var(--white);
  font-size: 22px;
  line-height: 1;
}
.mobile-drawer .m-nav li a {
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 1px solid var(--bg-2);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
}
.mobile-drawer .m-nav li.gov a {
  color: var(--saffron);
}
.mobile-drawer .m-foot {
  padding: 20px;
  background: var(--bg);
  font-size: 12.5px;
  color: var(--steel);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120"><rect width="120" height="120" fill="none"/><path d="M0 60h120M60 0v120" stroke="%23ffffff" stroke-opacity="0.035" stroke-width="1"/></svg>');
  opacity: 0.5;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 76px 0 60px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e8be5c;
  font-size: 13px;
  font-weight: 600;
  padding-bottom: 11px;
  margin-bottom: 26px;
  border-bottom: 1px solid rgba(232, 190, 92, 0.35);
}
.hero-tag-dot {
  width: 6px;
  height: 6px;
  flex: none;
  background: #e8be5c;
}
.hero h1 {
  color: var(--white);
  font-size: 44px;
  line-height: 1.14;
  max-width: 600px;
}
.hero p {
  color: #c7c7c7;
  font-size: 16.5px;
  line-height: 1.65;
  max-width: 520px;
  margin-top: 20px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition:
    transform 0.12s,
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--saffron);
  color: var(--white);
}
.btn-primary:hover {
  background: #6e4e00;
}
.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}
.btn-ghost-light {
  color: #e0e0e0;
}
.btn-ghost-light:hover {
  color: var(--white);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--blue);
}
.btn-outline-navy {
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}
.hero-panel {
  position: relative;
}
.hero-frame {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.hero-frame img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
}
.corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 0 solid var(--saffron);
  pointer-events: none;
}
.corner.tl {
  top: -1px;
  left: -1px;
  border-top-width: 2px;
  border-left-width: 2px;
}
.corner.tr {
  top: -1px;
  right: -1px;
  border-top-width: 2px;
  border-right-width: 2px;
}
.corner.bl {
  bottom: -1px;
  left: -1px;
  border-bottom-width: 2px;
  border-left-width: 2px;
}
.corner.br {
  bottom: -1px;
  right: -1px;
  border-bottom-width: 2px;
  border-right-width: 2px;
}
.hero-readout {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.ro-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ro-num {
  font-variant-numeric: tabular-nums;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}
.ro-label {
  font-size: 12.5px;
  color: #ececec;
}

/* ---- hero entrance sequence: one orchestrated reveal, off by default ---- */
@media (prefers-reduced-motion: no-preference) {
  .hero .hero-tag {
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: 0.05s;
  }
  .hero h1 {
    transition: clip-path 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    transition-delay: 0.15s;
  }
  .hero p {
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: 0.4s;
  }
  .hero .hero-cta a {
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .hero .hero-cta a:nth-child(1) {
    transition-delay: 0.55s;
  }
  .hero .hero-cta a:nth-child(2) {
    transition-delay: 0.65s;
  }
  .hero .hero-cta a:nth-child(3) {
    transition-delay: 0.75s;
  }
  .corner {
    transition: width 0.5s ease, height 0.5s ease;
  }
  .corner.tl,
  .corner.br {
    transition-delay: 0.3s;
  }
  .corner.tr,
  .corner.bl {
    transition-delay: 0.42s;
  }
  .hero-frame img {
    transition: clip-path 0.9s cubic-bezier(0.65, 0, 0.35, 1);
    transition-delay: 0.25s;
  }

}
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 52px 0 40px;
  }
  .hero h1 {
    font-size: 34px;
    max-width: 100%;
  }
  .hero p {
    max-width: 100%;
  }
  .hero-frame img {
    height: 220px;
  }
}

/* trust strip */
.trust-strip {
  background: var(--navy-deep);
  border-top: 1px solid var(--line-dark);
}
.trust-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.trust-item {
  flex: 1;
  min-width: 180px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-left: 1px solid var(--line-dark);
  color: #d6d6d6;
  font-size: 13px;
  font-weight: 600;
}
.trust-item:first-child {
  border-left: none;
}
.trust-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--saffron);
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .trust-item {
    border-left: none;
    border-top: 1px solid var(--line-dark);
    min-width: 50%;
  }
}

/* ===== SECTION SHELL ===== */
section {
  padding: 64px 0;
}
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 34px;
  gap: 20px;
}
.sec-head h2 {
  font-size: 27px;
  color: var(--navy);
}
.sec-head p {
  color: var(--steel);
  font-size: 14.5px;
  margin-top: 8px;
  max-width: 520px;
  line-height: 1.6;
}
.sec-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  border-bottom: 1.5px solid var(--saffron);
  padding-bottom: 2px;
}
.bg-grey {
  background: var(--bg);
}

/* categories */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    border-color 0.15s,
    box-shadow 0.15s,
    transform 0.15s;
}
.cat-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.cat-card .cat-img {
  height: 126px;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}
.cat-card .cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.cat-card:hover .cat-img img {
  transform: scale(1.05);
}
.cat-body {
  padding: 16px 18px 18px;
}
.cat-body h4 {
  font-size: 15px;
  color: var(--ink);
}
.cat-body p {
  font-size: 12.5px;
  color: var(--steel);
  margin-top: 6px;
  line-height: 1.5;
  min-height: 32px;
}
.cat-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
}
@media (max-width: 980px) {
  .cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 700px) {
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 460px) {
  .cat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

/* filters + products */
.catalog {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 28px;
}
.filter-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  align-self: start;
  position: sticky;
  top: 150px;
}
.filter-block {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.filter-block:last-child {
  border-bottom: none;
}
.filter-block h5 {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  margin-bottom: 10px;
}
.filter-block label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--steel);
  padding: 5px 0;
  cursor: pointer;
}
.filter-block input[type="checkbox"] {
  accent-color: var(--navy);
  width: 14px;
  height: 14px;
}
.filter-block input[type="range"] {
  width: 100%;
  accent-color: var(--navy);
}
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 10px;
}
.toolbar .count {
  font-size: 13px;
  color: var(--steel);
}
.toolbar select {
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 12px;
  font-size: 13px;
  color: var(--ink);
  background: var(--white);
}
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.prod-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.15s,
    border-color 0.15s;
  position: relative;
}
.prod-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: #bfbfbf;
}
.prod-img {
  height: 179px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.prod-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 10px;
  box-sizing: border-box;
}
.wish-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s;
}
.wish-btn svg {
  width: 15px;
  height: 15px;
  stroke: var(--steel);
  fill: none;
  transition:
    fill 0.15s,
    stroke 0.15s;
}
.wish-btn.active svg {
  fill: var(--saffron);
  stroke: var(--saffron);
}
.prod-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--navy);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: 0.03em;
}
.prod-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.prod-brand {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--steel-light);
  font-weight: 700;
}
.prod-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  min-height: 38px;
}
.prod-sku {
  font-size: 11.5px;
  color: var(--steel);
}
.prod-spec {
  font-size: 12px;
  color: var(--steel);
  line-height: 1.5;
}
.prod-avail {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
}
.prod-avail::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.prod-avail.low {
  color: var(--saffron);
}
.prod-avail.low::before {
  background: var(--saffron);
}
.prod-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 4px;
}
.prod-price {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
}
.prod-price.quote {
  font-size: 13.5px;
  color: var(--saffron);
  font-weight: 700;
}
.prod-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.prod-actions .btn {
  flex: 1;
  padding: 9px 10px;
  font-size: 12.5px;
  justify-content: center;
}
.btn-sm-outline {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  background: var(--white);
}
.btn-sm-outline:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-sm-solid {
  background: var(--navy);
  color: var(--white);
}
.btn-sm-solid:hover {
  background: var(--blue);
}
.btn-sm-solid.added {
  background: var(--green);
}
@media (max-width: 980px) {
  .catalog {
    grid-template-columns: 1fr;
  }
  .filter-panel {
    display: none;
  }
  .prod-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .prod-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .prod-body {
    padding: 10px 10px 12px;
  }
  .prod-name {
    font-size: 13px;
    min-height: 34px;
  }
  .prod-actions {
    flex-direction: column;
  }
}

/* trust / gov section */
.trust-band {
  background: var(--navy);
  color: var(--white);
}
.trust-band .sec-head h2,
.trust-band .sec-head p {
  color: var(--white);
}
.trust-band .sec-head p {
  color: #c7c7c7;
}
.tb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.tb-item {
  background: var(--navy);
  padding: 26px 24px;
}
.tb-item svg {
  width: 26px;
  height: 26px;
  stroke: var(--saffron);
  margin-bottom: 14px;
}
.tb-item h4 {
  font-size: 15.5px;
  color: var(--white);
  margin-bottom: 6px;
}
.tb-item p {
  font-size: 12.5px;
  color: #c7c7c7;
  line-height: 1.55;
}
@media (max-width: 900px) {
  .tb-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .tb-grid {
    grid-template-columns: 1fr;
  }
}

/* industries */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.ind-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 20px 14px;
  text-align: center;
  transition:
    border-color 0.15s,
    transform 0.15s;
}
.ind-card:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
}
.ind-card svg {
  width: 26px;
  height: 26px;
  stroke: var(--navy);
  margin: 0 auto 12px;
}
.ind-card span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}
@media (max-width: 980px) {
  .ind-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 700px) {
  .ind-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 460px) {
  .ind-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* why choose us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.why-item {
  padding: 22px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.why-item:nth-child(4n) {
  border-right: none;
}
.why-item svg {
  width: 20px;
  height: 20px;
  stroke: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}
.why-item h4 {
  font-size: 13.5px;
  color: var(--ink);
  margin-bottom: 4px;
}
.why-item p {
  font-size: 12px;
  color: var(--steel);
  line-height: 1.5;
}
@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-item:nth-child(4n) {
    border-right: 1px solid var(--line);
  }
  .why-item:nth-child(2n) {
    border-right: none;
  }
}
@media (max-width: 560px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
  .why-item {
    border-right: none;
  }
}

/* procurement banner */
.procure {
  background: linear-gradient(90deg, var(--navy-deep), var(--navy));
  position: relative;
  overflow: hidden;
}
.procure .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.procure-copy h2 {
  color: var(--white);
  font-size: 26px;
  margin-bottom: 14px;
}
.procure-copy p {
  color: #c7c7c7;
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 440px;
}
.procure-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}
.procure-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #e6e6e6;
  font-size: 13.5px;
}
.procure-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--saffron);
  flex-shrink: 0;
}
.qform {
  background: var(--white);
  border-radius: 4px;
  padding: 26px;
  box-shadow: var(--shadow-md);
}
.qform h3 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 4px;
}
.qform .sub {
  font-size: 12.5px;
  color: var(--steel);
  margin-bottom: 18px;
}
.qform .frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.qform label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  display: block;
  margin-bottom: 5px;
}
.qform input,
.qform textarea,
.qform select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg);
}
.qform input:focus,
.qform textarea:focus,
.qform select:focus {
  border-color: var(--navy);
  background: var(--white);
  outline: none;
}
.qform textarea {
  resize: vertical;
  min-height: 70px;
}
.qform .full {
  margin-bottom: 12px;
}
.qform .upload {
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  font-size: 12.5px;
  color: var(--steel);
  background: var(--bg);
  margin-bottom: 16px;
}
.qform .upload strong {
  color: var(--navy);
}
.qform button {
  width: 100%;
  justify-content: center;
  padding: 13px;
}
@media (max-width: 900px) {
  .procure .wrap {
    grid-template-columns: 1fr;
  }
  .qform .frow {
    grid-template-columns: 1fr;
  }
}

/* gov procurement strip */
.gov-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.gov-flex {
  display: flex;
  gap: 40px;
  align-items: center;
}
.gov-badge {
  flex-shrink: 0;
  width: 150px;
  height: 150px;
  border: 2px solid var(--navy);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--navy);
}
.gov-badge svg {
  width: 34px;
  height: 34px;
  stroke: var(--navy);
  margin-bottom: 8px;
}
.gov-badge strong {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.3;
  padding: 0 14px;
}
.gov-content h2 {
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 10px;
}
.gov-content p {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.7;
  margin-bottom: 18px;
  max-width: 640px;
}
.gov-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.gov-tags span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  background: var(--saffron-bg);
  border: 1px solid #d9bb66;
  padding: 7px 13px;
  border-radius: 2px;
}
.gov-note {
  font-size: 11.5px;
  color: var(--steel-light);
  margin-top: 16px;
  font-style: italic;
}
@media (max-width: 760px) {
  .gov-flex {
    flex-direction: column;
    text-align: center;
  }
  .gov-tags {
    justify-content: center;
  }
}

/* footer */
footer {
  background: var(--navy-deep);
  color: #c7c7c7;
  padding-top: 56px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr;
  gap: 32px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line-dark);
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.foot-brand .brand-mark {
  width: 42px;
  height: 42px;
}
.foot-brand strong {
  color: var(--white);
  font-size: 16px;
}
footer p {
  font-size: 13px;
  line-height: 1.7;
  color: #a3a3a3;
}
footer h5 {
  color: var(--white);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
footer ul li {
  margin-bottom: 11px;
}
footer ul li a {
  font-size: 13.5px;
  color: #c7c7c7;
  transition: color 0.15s;
}
footer ul li a:hover {
  color: var(--white);
}
.foot-contact li {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  color: #c7c7c7;
  align-items: flex-start;
}
.foot-contact svg {
  width: 16px;
  height: 16px;
  stroke: var(--saffron);
  flex-shrink: 0;
  margin-top: 2px;
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 10px;
}
.foot-bottom p {
  font-size: 12px;
  color: #8f8f8f;
}
.foot-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.foot-legal a {
  font-size: 12px;
  color: #8f8f8f;
}
.foot-legal a:hover {
  color: var(--white);
}
@media (max-width: 980px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .foot-grid {
    grid-template-columns: 1fr;
  }
}

/* toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy);
  color: var(--white);
  padding: 13px 22px;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast svg {
  width: 16px;
  height: 16px;
  stroke: #7fd79f;
}

@media (max-width: 640px) {
  .wrap {
    padding: 33px 18px;
  }
  section {
    padding: 44px 0;
  }
  .sec-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .sec-head h2 {
    font-size: 21px;
  }
}

/* ===== PAGE BANNER (inner pages) ===== */
.page-banner {
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: 38px 0;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120"><rect width="120" height="120" fill="none"/><path d="M0 60h120M60 0v120" stroke="%23ffffff" stroke-opacity="0.035" stroke-width="1"/></svg>');
  opacity: 0.5;
}
.page-banner .wrap {
  position: relative;
}
.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #b3b3b3;
  margin-bottom: 10px;
}
.crumb a {
  color: #d6d6d6;
}
.crumb a:hover {
  color: var(--white);
}
.crumb span.sep {
  color: #5a5a5a;
}
.crumb span.here {
  color: var(--white);
  font-weight: 600;
}
.page-banner h1 {
  color: var(--white);
  font-size: 30px;
}
.page-banner p {
  color: #c7c7c7;
  font-size: 14.5px;
  margin-top: 8px;
  max-width: 640px;
  line-height: 1.6;
}

/* ===== BREADCRUMB inline (light bg) ===== */
.crumb-light {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.crumb-light .crumb {
  color: var(--steel);
  margin: 0;
}
.crumb-light .crumb a {
  color: var(--steel);
}
.crumb-light .crumb a:hover {
  color: var(--navy);
}
.crumb-light .crumb span.sep {
  color: #bfbfbf;
}
.crumb-light .crumb span.here {
  color: var(--navy);
}

/* ===== LEGAL / POLICY PAGES ===== */
.legal-page { background: var(--bg); }
.legal-wrap { max-width: 980px; }
.legal-intro { max-width: 820px; margin-bottom: 28px; }
.legal-intro > p:first-child { font-size: 16px; line-height: 1.75; color: var(--steel); }
.legal-updated { margin-top: 10px; font-size: 12px; color: #7a7a7a; }
.legal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.legal-card { background: var(--white); border: 1px solid var(--line); padding: 24px; box-shadow: 0 2px 10px rgba(0,0,0,.025); }
.legal-card h2 { color: var(--navy); font-size: 19px; margin-bottom: 10px; }
.legal-card p { color: var(--steel); font-size: 14px; line-height: 1.75; }
.legal-card a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 720px) { .legal-grid { grid-template-columns: 1fr; } .legal-card { padding: 20px; } }

/* ===== nav active state ===== */
.navlist > li > a.active {
  background: var(--blue);
  border-color: var(--saffron);
  color: var(--white);
}
.m-nav li a.active {
  color: var(--navy);
}

/* ===== BRANDS PAGE ===== */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.brand-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 26px 20px;
  text-align: center;
  transition:
    border-color 0.15s,
    box-shadow 0.15s,
    transform 0.15s;
}
.brand-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.brand-mark-lg {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-weight: 800;
  color: var(--navy);
  font-size: 15px;
}
.brand-card h4 {
  font-size: 14.5px;
  color: var(--ink);
  margin-bottom: 6px;
}
.brand-card p {
  font-size: 12px;
  color: var(--steel);
  line-height: 1.5;
  min-height: 34px;
}
.brand-card .cat-link {
  margin-top: 12px;
}
@media (max-width: 980px) {
  .brand-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 700px) {
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 460px) {
  .brand-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

/* ===== ABOUT PAGE ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-grid img {
  border-radius: 4px;
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.about-copy p {
  color: var(--steel);
  font-size: 14.5px;
  line-height: 1.75;
  margin-bottom: 16px;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 40px;
}
.stat-item {
  background: var(--white);
  padding: 24px 20px;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-size: 28px;
  color: var(--navy);
  font-weight: 800;
}
.stat-item span {
  font-size: 12.5px;
  color: var(--steel);
  margin-top: 4px;
  display: block;
}
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid var(--line);
  margin-left: 10px;
}
.tl-item {
  position: relative;
  padding: 0 0 32px 30px;
}
.tl-item:last-child {
  padding-bottom: 0;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--saffron);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--saffron);
}
.tl-item strong {
  display: block;
  color: var(--navy);
  font-size: 14.5px;
  margin-bottom: 4px;
}
.tl-item span {
  font-size: 13px;
  color: var(--steel);
  line-height: 1.6;
}
.tl-year {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--saffron);
  margin-bottom: 4px;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.value-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  background: var(--white);
}
.value-card svg {
  width: 24px;
  height: 24px;
  stroke: var(--navy);
  margin-bottom: 14px;
}
.value-card h4 {
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 8px;
}
.value-card p {
  font-size: 12.5px;
  color: var(--steel);
  line-height: 1.6;
}
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-grid img {
    height: 260px;
  }
  .stat-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .value-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .stat-row {
    grid-template-columns: 1fr 1fr;
  }
  .value-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 22px;
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
}
.contact-card svg {
  width: 22px;
  height: 22px;
  stroke: var(--navy);
  flex-shrink: 0;
}
.contact-card h4 {
  font-size: 14.5px;
  color: var(--ink);
  margin-bottom: 4px;
}
.contact-card p,
.contact-card a {
  font-size: 13px;
  color: var(--steel);
  line-height: 1.6;
}
.contact-card a:hover {
  color: var(--navy);
}
.map-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 14px;
  height: 220px;
}
.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== INDUSTRIES PAGE (detail) ===== */
.ind-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.ind-detail-card {
  display: flex;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 20px;
  align-items: flex-start;
}
.ind-detail-card svg {
  width: 28px;
  height: 28px;
  stroke: var(--navy);
  flex-shrink: 0;
}
.ind-detail-card h4 {
  font-size: 14.5px;
  color: var(--ink);
  margin-bottom: 6px;
}
.ind-detail-card p {
  font-size: 12.5px;
  color: var(--steel);
  line-height: 1.6;
}
@media (max-width: 760px) {
  .ind-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== PAGINATION (products) ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}
.pagination button {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  color: var(--steel);
}
.pagination button.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.pagination button:hover:not(.active) {
  border-color: var(--navy);
  color: var(--navy);
}
.no-results {
  padding: 50px 20px;
  text-align: center;
  color: var(--steel);
  font-size: 14px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

/* ===== FILTER apply/reset buttons ===== */
.filter-actions {
  padding: 14px 18px;
  display: flex;
  gap: 8px;
}
.filter-actions button {
  flex: 1;
  padding: 9px 8px;
  font-size: 12.5px;
  border-radius: var(--radius);
}

/* ===== EMPTY STATE (cart / wishlist / inquiry) ===== */
.empty-state {
  text-align: center;
  padding: 70px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}
.empty-state svg {
  width: 52px;
  height: 52px;
  stroke: var(--steel-light);
  margin: 0 auto 18px;
}
.empty-state h3 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 8px;
}
.empty-state p {
  font-size: 13.5px;
  color: var(--steel);
  margin-bottom: 22px;
}

/* ===== CART PAGE ===== */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}
.cart-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cart-row {
  display: grid;
  grid-template-columns: 88px 1fr auto auto auto;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 14px;
}
.cart-row .ci-img {
  width: 88px;
  height: 88px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  flex-shrink: 0;
}
.cart-row .ci-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-row .ci-info .ci-brand {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--steel-light);
  font-weight: 700;
}
.cart-row .ci-info .ci-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 2px;
  line-height: 1.35;
}
.cart-row .ci-info .ci-sku {
  font-size: 11.5px;
  color: var(--steel);
  margin-top: 3px;
}
.qty-stepper {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 36px;
}
.qty-stepper button {
  width: 32px;
  height: 36px;
  background: var(--bg);
  border: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-stepper button:hover {
  background: var(--bg-2);
}
.qty-stepper .qty-val {
  width: 34px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}
.ci-subtotal {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
  min-width: 90px;
  text-align: right;
}
.ci-remove {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ci-remove svg {
  width: 14px;
  height: 14px;
  stroke: var(--steel);
}
.ci-remove:hover {
  border-color: var(--saffron);
}
.ci-remove:hover svg {
  stroke: var(--saffron);
}
.cart-summary {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 22px;
  position: sticky;
  top: 150px;
}
.cart-summary h3 {
  font-size: 15.5px;
  color: var(--navy);
  margin-bottom: 16px;
}
.cs-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--steel);
  padding: 9px 0;
  border-bottom: 1px solid var(--bg-2);
}
.cs-row.total {
  border-bottom: none;
  padding-top: 14px;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ink);
}
.cs-row.total span:last-child {
  color: var(--navy);
}
.cart-summary .btn {
  width: 100%;
  justify-content: center;
  margin-top: 16px;
}
.cart-summary .note {
  font-size: 11.5px;
  color: var(--steel-light);
  margin-top: 12px;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .cart-summary {
    position: static;
  }
}
@media (max-width: 640px) {
  .cart-row {
    grid-template-columns: 64px 1fr;
    grid-template-areas: "img info" "img qty" "img actions";
    row-gap: 10px;
  }
  .cart-row .ci-img {
    width: 64px;
    height: 64px;
    grid-area: img;
  }
  .cart-row .ci-info {
    grid-area: info;
  }
  .cart-row .qty-stepper {
    grid-area: qty;
  }
  .cart-row .ci-actions-mini {
    grid-area: actions;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

/* ===== ENQUIRY / CHECKOUT FORM PANEL (cart page) ===== */
.enquiry-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 24px;
  margin-top: 24px;
  display: none;
}
.enquiry-panel.open {
  display: block;
}
.enquiry-panel h3 {
  font-size: 15.5px;
  color: var(--navy);
  margin-bottom: 4px;
}
.enquiry-panel .sub {
  font-size: 12.5px;
  color: var(--steel);
  margin-bottom: 16px;
}

/* ===== WISHLIST PAGE ===== */
.wish-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 980px) {
  .wish-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 700px) {
  .wish-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 460px) {
  .wish-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

/* ===== MY INQUIRY PAGE ===== */
.inquiry-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
}
.inquiry-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.inq-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 12px;
}
.inq-row .ci-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  flex-shrink: 0;
}
.inq-row .ci-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.inq-row .ci-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}
.inq-row .ci-sku {
  font-size: 11.5px;
  color: var(--steel);
  margin-top: 3px;
}
@media (max-width: 900px) {
  .inquiry-layout {
    grid-template-columns: 1fr;
  }
}

/* ===== ACCOUNT PAGE ===== */
.account-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--line);
  margin-bottom: 26px;
  max-width: 420px;
}
.account-tabs button {
  flex: 1;
  padding: 13px 10px;
  background: none;
  border: none;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--steel);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}
.account-tabs button.active {
  color: var(--navy);
  border-color: var(--saffron);
}
.account-form {
  max-width: 420px;
}
.account-form .frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.account-form .full {
  margin-bottom: 12px;
}
.account-form label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  display: block;
  margin-bottom: 5px;
}
.account-form input {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg);
}
.account-form input:focus {
  border-color: var(--navy);
  background: var(--white);
  outline: none;
}
.account-form button {
  width: 100%;
  justify-content: center;
  padding: 13px;
  margin-top: 6px;
}
.account-form .hint {
  font-size: 11.5px;
  color: var(--steel-light);
  margin-top: 10px;
  line-height: 1.5;
}
.account-dash {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}
.dash-profile {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 24px;
  text-align: center;
}
.dash-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.dash-profile h4 {
  font-size: 15.5px;
  color: var(--ink);
}
.dash-profile p {
  font-size: 12.5px;
  color: var(--steel);
  margin-top: 4px;
  line-height: 1.5;
}
.dash-profile .btn {
  width: 100%;
  justify-content: center;
  margin-top: 18px;
}
.dash-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.dash-link-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 20px;
  text-align: center;
  transition:
    border-color 0.15s,
    transform 0.15s;
}
.dash-link-card:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
}
.dash-link-card svg {
  width: 24px;
  height: 24px;
  stroke: var(--navy);
  margin: 0 auto 10px;
}
.dash-link-card strong {
  display: block;
  font-size: 20px;
  color: var(--navy);
}
.dash-link-card span {
  font-size: 12.5px;
  color: var(--steel);
}
.dash-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 22px;
}
.dash-section h4 {
  font-size: 14.5px;
  color: var(--navy);
  margin-bottom: 14px;
}
@media (max-width: 900px) {
  .account-dash {
    grid-template-columns: 1fr;
  }
  .dash-links {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .account-form .frow {
    grid-template-columns: 1fr;
  }
  .dash-links {
    grid-template-columns: 1fr;
  }
}

/* ===== PRELOADER ===== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.45s ease,
    visibility 0.45s ease;
}
.preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-inner {
  position: relative;
  width: 132px;
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.preloader-ring {
  position: absolute;
  inset: 0;
  border: 4px solid rgba(255, 255, 255, 0.09);
  border-top-color: var(--saffron);
  border-radius: 50%;
  animation: preloaderSpin 0.9s linear infinite;
}
.preloader-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  animation: preloaderPulse 1.4s ease-in-out infinite;
}
@keyframes preloaderSpin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes preloaderPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.92);
  }
}

/* ===== CHECKOUT / PLACE ORDER — 99vh FULL SCREEN ===== */
body.checkout-open{overflow:hidden;}
.checkout-panel{
  display:none;
  position:fixed;
  inset:0 0 auto 0;
  width:100%;
  height:99vh;
  z-index:10000;
  box-sizing:border-box;
  overflow-y:auto;
  padding:28px clamp(18px,4vw,60px);
  margin:0;
  border:0;
  border-radius:0;
  background:linear-gradient(135deg,#f4f7f8 0%,#ffffff 45%,#f7f8f8 100%);
  box-shadow:0 18px 60px rgba(0,0,0,.22);
}
.checkout-panel.open{display:block;}
.checkout-panel::before{
  content:"";
  position:absolute;
  left:0;right:0;top:0;
  height:5px;
  background:var(--navy);
}
.checkout-head,
.checkout-form{
  width:min(1040px,100%);
  margin-left:auto;
  margin-right:auto;
}
.checkout-head{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
  padding:6px 0 18px;
  margin-bottom:18px;
  border-bottom:1px solid #dce3e6;
}
.checkout-head h3{margin:0 0 5px;font-size:clamp(22px,2.2vw,30px);color:var(--navy);}
.checkout-head .sub{color:#66727a;font-size:14px;line-height:1.5;}
.checkout-close{
  border:1px solid #ccd6da;
  background:#fff;
  border-radius:10px;
  width:42px;height:42px;
  font-size:25px;line-height:1;
  cursor:pointer;color:#4c5960;
  flex:0 0 auto;
}
.checkout-close:hover{background:#eef3f4;border-color:var(--navy);color:var(--navy);}
.checkout-form{
  display:grid;
  gap:16px;
  padding-bottom:28px;
}
.checkout-form .frow{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.checkout-form .frow.three{grid-template-columns:1fr 1fr 1fr;}
.checkout-form label{display:block;font-size:13px;font-weight:700;margin-bottom:7px;color:#1c2b32;}
.checkout-form input,.checkout-form textarea{
  width:100%;box-sizing:border-box;
  border:1px solid #c9d4d8;
  border-radius:9px;
  padding:13px 14px;
  font:inherit;
  background:#fff;
  color:#17242a;
  transition:border-color .2s,box-shadow .2s;
}
.checkout-form input{height:46px;}
.checkout-form textarea{min-height:92px;resize:vertical;}
.checkout-form input:focus,.checkout-form textarea:focus{
  outline:none;border-color:var(--navy);
  box-shadow:0 0 0 3px rgba(11,52,64,.09);
}
.payment-options{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:2px;}
.payment-option{
  display:flex;align-items:flex-start;gap:12px;
  padding:17px;border:1.5px solid #d3dde0;
  border-radius:11px;cursor:pointer;background:#fff;
  transition:.2s;
}
.payment-option:hover{border-color:#8fa5ad;transform:translateY(-1px);}
.payment-option:has(input:checked){border-color:var(--navy);background:#f1f6f7;box-shadow:0 0 0 2px rgba(11,52,64,.06);}
.payment-option input{width:18px;height:18px;margin:2px 0 0;accent-color:var(--navy);}
.payment-option span{display:flex;flex-direction:column;gap:4px;}
.payment-option strong{font-size:14px;color:var(--navy);}
.payment-option small{font-weight:400;color:#6b7479;line-height:1.4;font-size:12px;}
.checkout-total{
  display:flex;justify-content:space-between;align-items:center;
  padding:18px 0;
  border-top:1px solid #dce3e6;
  border-bottom:1px solid #dce3e6;
  font-size:16px;color:#35434a;
}
.checkout-total strong{font-size:24px;color:var(--navy);}
.checkout-message{min-height:18px;font-size:14px;}
.checkout-message.error{color:#b42318;}
.checkout-submit{width:100%;min-height:48px;justify-content:center;font-size:15px;}
.summary-actions{display:grid;gap:9px;margin-top:10px;}
.summary-actions .btn:disabled{opacity:.55;cursor:not-allowed;}
.order-success{max-width:760px;margin:30px auto;padding:42px 28px;text-align:center;border:1px solid #d9e1e5;border-radius:14px;background:#fff;box-shadow:0 10px 28px rgba(0,0,0,.06);}
.success-icon{width:58px;height:58px;border-radius:50%;margin:0 auto 16px;display:grid;place-items:center;background:#e8f6ee;color:#137333;font-size:34px;font-weight:800;}
.order-success h2{margin:0 0 10px;font-size:28px;}
.order-success>p{color:#59666d;line-height:1.6;}
.success-details{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:24px 0;text-align:left;}
.success-details>div{padding:13px;border:1px solid #e0e5e7;border-radius:8px;}
.success-details span{display:block;font-size:12px;color:#707b81;margin-bottom:5px;}
.success-details strong{font-size:14px;}
.success-note{font-size:13px;}
.success-actions{display:flex;justify-content:center;gap:10px;margin-top:24px;}
@media(max-width:760px){
  .checkout-panel{height:99vh;padding:22px 14px;}
  .checkout-form .frow,.checkout-form .frow.three,.payment-options,.success-details{grid-template-columns:1fr;}
  .checkout-head h3{font-size:22px;}
  .success-actions{flex-direction:column;}
}



/* Dedicated My Account page — same visual design as the account gate, rendered inline */
.account-auth-page{
  display:flex;
  justify-content:center;
  padding:42px 20px 64px;
}
.account-auth-card{
  position:relative;
  width:min(460px,100%);
  max-height:none;
  overflow:visible;
}
.account-auth-card .iti-gate-skip{
  cursor:pointer;
}
@media(max-width:520px){
  .account-auth-page{padding:28px 14px 46px;}
  .account-auth-card{padding:25px 20px 20px;}
}

/* ============================================================
   AMAZON-STYLE ACCOUNT GATE — initial store entry + order auth
   ============================================================ */
.iti-account-gate{
  position:fixed;
  inset:0;
  z-index:99999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  box-sizing:border-box;
}
.iti-gate-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.76);
  backdrop-filter:blur(4px);
}
.iti-gate-card{
  position:relative;
  z-index:2;
  width:min(460px,100%);
  max-height:min(90vh,760px);
  overflow:auto;
  background:#fff;
  border:1px solid rgba(255,255,255,.14);
  border-radius:8px;
  box-shadow:0 24px 80px rgba(0,0,0,.45);
  padding:30px 32px 24px;
  color:#151515;
}
.iti-gate-close{
  position:absolute;
  top:10px;
  right:12px;
  width:34px;
  height:34px;
  border:0;
  background:transparent;
  color:#555;
  font-size:28px;
  line-height:1;
  cursor:pointer;
}
.iti-gate-logo{
  display:flex;
  justify-content:center;
  margin:2px 0 12px;
}
.iti-gate-logo img{
  width:auto;
  max-width:180px;
  max-height:58px;
  object-fit:contain;
}
.iti-gate-kicker{
  text-align:center;
  font-size:10px;
  font-weight:700;
  letter-spacing:.13em;
  color:#6b7280;
  margin-bottom:7px;
}
.iti-gate-card h2{
  margin:0;
  text-align:center;
  font-size:24px;
  line-height:1.25;
  color:#111827;
}
.iti-gate-sub{
  margin:9px auto 20px;
  max-width:370px;
  text-align:center;
  color:#667085;
  font-size:13px;
  line-height:1.55;
}
.iti-gate-tabs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px;
  padding:4px;
  background:#f2f4f7;
  border-radius:7px;
  margin-bottom:18px;
}
.iti-gate-tabs button{
  border:1px solid transparent;
  background:transparent;
  border-radius:5px;
  min-height:42px;
  padding:8px 10px;
  color:#475467;
  font-weight:700;
  font-size:12px;
  cursor:pointer;
}
.iti-gate-tabs button.active{
  background:#fff;
  border-color:#d0d5dd;
  color:#111827;
  box-shadow:0 1px 3px rgba(16,24,40,.08);
}
.iti-gate-form{
  display:grid;
  gap:8px;
}
.iti-gate-form label{
  font-size:12px;
  font-weight:700;
  color:#344054;
  margin-top:2px;
}
.iti-gate-form input{
  width:100%;
  box-sizing:border-box;
  min-height:44px;
  border:1px solid #d0d5dd;
  border-radius:5px;
  padding:10px 12px;
  font:inherit;
  font-size:13px;
  color:#101828;
  outline:none;
  background:#fff;
}
.iti-gate-form input:focus{
  border-color:#0b3440;
  box-shadow:0 0 0 3px rgba(11,52,64,.10);
}
.iti-gate-primary{
  margin-top:8px;
  width:100%;
  min-height:45px;
  border:1px solid #0b3440;
  border-radius:5px;
  background:#0b3440;
  color:#fff;
  font-weight:800;
  cursor:pointer;
  font-size:13px;
}
.iti-gate-primary:hover{filter:brightness(1.08);}
.iti-gate-note{
  margin:4px 0 0;
  text-align:center;
  color:#667085;
  font-size:11px;
  line-height:1.5;
}
.iti-gate-skip{
  display:block;
  width:100%;
  margin-top:16px;
  padding:12px 8px 2px;
  border:0;
  border-top:1px solid #eaecf0;
  background:transparent;
  color:#344054;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
}
.iti-gate-skip:hover{color:#0b3440;text-decoration:underline;}
body.iti-gate-open{overflow:hidden;}
@media(max-width:520px){
  .iti-account-gate{padding:14px;}
  .iti-gate-card{padding:25px 20px 20px;border-radius:7px;}
  .iti-gate-card h2{font-size:21px;}
  .iti-gate-tabs button{font-size:11px;padding:8px 6px;}
}

/* ===== PRODUCT DETAIL PAGE ===== */
.product-detail-wrap{padding:26px 0 0;background:#fff}.detail-breadcrumb{display:flex;gap:10px;align-items:center;font-size:12px;color:var(--steel);margin-bottom:24px;flex-wrap:wrap}.detail-breadcrumb a{color:var(--steel)}.detail-breadcrumb b{color:var(--navy);font-weight:600}.detail-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:start}.detail-gallery{min-width:0}.detail-image-frame{height:520px;border:1px solid #e0e3e6;background:#f5f6f7;display:flex;align-items:center;justify-content:center;padding:34px}.detail-image-frame img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.detail-thumbs{display:flex;gap:12px;margin-top:14px}.detail-thumb{width:78px;height:70px;border:1px solid #e1e4e7;background:#fff;padding:6px;cursor:pointer}.detail-thumb.active{border-color:#f4b400;box-shadow:inset 0 -2px 0 #f4b400}.detail-thumb img{width:100%;height:100%;object-fit:contain}.detail-info{padding-top:4px}.detail-tag{display:inline-block;background:#20262b;color:#ffbf00;font-size:10px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;padding:7px 10px;border-radius:2px}.detail-info h1{font-size:40px;line-height:1.08;margin:13px 0 10px;color:#111820}.detail-sku{font-size:12px;color:#718092;margin-bottom:20px}.detail-lead{font-size:15px;line-height:1.65;color:#536170;max-width:680px}.detail-rule{height:1px;background:#e5e7e9;margin:24px 0}.detail-meta-grid{display:grid;grid-template-columns:1fr 1fr;border:1px solid #e3e6e8}.detail-meta-grid>div{padding:14px 16px;border-right:1px solid #e3e6e8;border-bottom:1px solid #e3e6e8}.detail-meta-grid>div:nth-child(2n){border-right:0}.detail-meta-grid>div:nth-last-child(-n+2){border-bottom:0}.detail-meta-grid span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#8290a0;margin-bottom:5px}.detail-meta-grid strong{font-size:13px;color:#1c252e}.detail-meta-grid .limited{color:#b06f00}.detail-buy-row{display:flex;justify-content:space-between;align-items:end;gap:24px;margin:24px 0}.qty-box label{display:block;font-size:11px;color:#758294;margin-bottom:7px}.qty-controls{display:flex;height:42px}.qty-controls button,.qty-controls input{width:42px;border:1px solid #d8dde1;background:#fff;text-align:center;font-weight:700}.qty-controls input{border-left:0;border-right:0;width:54px}.detail-price{text-align:right}.detail-price span{display:block;font-size:28px;font-weight:800;color:#111820}.detail-price small{display:block;color:#87919c;font-size:11px;margin-top:2px}.detail-price .quote-price{font-size:21px}.detail-actions{display:flex;gap:10px;flex-wrap:wrap}.detail-actions .btn{min-height:44px}.detail-wa{display:inline-flex;align-items:center;justify-content:center;border:1px solid #159447;color:#159447;padding:0 16px;font-size:11px;font-weight:800;text-transform:uppercase;text-decoration:none}.detail-note{display:flex;gap:10px;background:#f5f6f7;border:1px solid #e1e4e7;padding:13px 14px;margin-top:18px;color:#657283;font-size:12px;line-height:1.55}.detail-note p{margin:0}.detail-tabs{display:flex;gap:0;border-bottom:1px solid #dfe3e6;margin-top:62px}.detail-tabs button{background:none;border:0;padding:17px 22px 14px;font-size:11px;font-weight:800;color:#7a8794;cursor:pointer;position:relative}.detail-tabs button.active{color:#1b2229}.detail-tabs button.active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;background:#f5b400}.detail-tab-content{padding:26px 0 54px;max-width:900px;color:#566474;font-size:14px;line-height:1.75}.detail-tab-content h3{color:#19212a;font-size:16px;margin:0 0 9px}.detail-tab-content h3:not(:first-child){margin-top:24px}.detail-tab-content p{margin:0 0 16px}.detail-tab-content ul{margin:0;padding-left:19px}.detail-tab-content li{margin:5px 0}.spec-table{border:1px solid #e1e4e7}.spec-table>div{display:grid;grid-template-columns:190px 1fr;border-bottom:1px solid #e1e4e7}.spec-table>div:last-child{border-bottom:0}.spec-table span,.spec-table strong{padding:12px 14px}.spec-table span{background:#f5f6f7;color:#7b8793;font-size:12px}.spec-table strong{font-size:12px;color:#27313b}.industry-pills{display:flex;gap:9px;flex-wrap:wrap;margin:12px 0 18px}.industry-pills span{border:1px solid #dce1e5;padding:8px 12px;background:#fafbfb;font-size:11px;color:#4f5d6c}.related-section{background:#f4f5f6;padding:58px 0 70px}.section-kicker{font-size:11px;font-weight:800;letter-spacing:.12em;color:#bd8500;margin-bottom:9px}.related-section h2{font-size:34px;margin:0 0 28px;color:#151d25}.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.related-card{background:#fff;border:1px solid #e0e3e6}.related-img{display:block;height:255px;background:#f4f5f6;padding:22px}.related-img img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.related-body{padding:18px}.related-body h3{font-size:17px;line-height:1.25;color:#17202a;margin:7px 0}.related-body p{font-size:12px;line-height:1.5;color:#697685;min-height:38px;margin:0 0 9px}.related-body .prod-sku{font-size:10px;color:#8994a0}.related-actions{display:flex;gap:8px;margin-top:15px}.related-actions .btn{flex:1;min-height:38px;font-size:10px}.detail-empty{padding:100px 0;text-align:center}.prod-detail-link{text-decoration:none;color:inherit}.prod-img.prod-detail-link{display:block}.prod-name .prod-detail-link:hover{color:#b98000}.detail-empty h1{font-size:36px;margin-bottom:10px}.detail-empty p{color:#6e7a87;margin-bottom:22px}@media(max-width:900px){.detail-main{grid-template-columns:1fr;gap:30px}.detail-image-frame{height:420px}.detail-info h1{font-size:32px}.related-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.detail-image-frame{height:320px;padding:20px}.detail-buy-row{align-items:start;flex-direction:column}.detail-price{text-align:left}.detail-tabs{overflow:auto}.detail-tabs button{white-space:nowrap;padding-left:14px;padding-right:14px}.related-grid{grid-template-columns:1fr}.related-img{height:220px}.detail-meta-grid{grid-template-columns:1fr}.detail-meta-grid>div{border-right:0}.detail-meta-grid>div:nth-last-child(-n+2){border-bottom:1px solid #e3e6e8}.detail-meta-grid>div:last-child{border-bottom:0}}

/* ===== MOBILE PRODUCT RESPONSIVE FIX ===== */
@media (max-width: 600px) {
  /* Product listing: one full-width card per row */
  .prod-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }
  .prod-card {
    width: 100%;
  }
  .prod-img {
    height: 220px;
  }
  .prod-body {
    padding: 14px;
  }
  /* Card action buttons stay in one horizontal row */
  .prod-actions {
    flex-direction: row !important;
    gap: 8px;
  }
  .prod-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
  }

  /* Product detail action buttons stay side-by-side */
  .detail-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
  }
  .detail-actions .btn,
  .detail-actions .detail-wa {
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
    padding-left: 8px;
    padding-right: 8px;
  }

  /* Related product cards: one card per row */
  .related-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }
  .related-actions {
    display: flex;
    flex-direction: row;
    gap: 8px;
  }
  .related-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
  }
}


/* Account recent orders */
.account-orders{display:grid;gap:10px;}
.account-order-row{display:grid;grid-template-columns:1.2fr 1fr auto;align-items:center;gap:16px;padding:14px 16px;border:1px solid #ddd;background:#fff;}
.account-order-row>div{display:flex;flex-direction:column;gap:4px;}
.account-order-row>div:nth-child(2){align-items:flex-end;}
.account-order-row span{font-size:13px;color:#666;}
.account-order-row strong{color:#111;}
.order-status{border:1px solid #ddd;padding:6px 10px;font-size:12px;font-weight:700;text-transform:uppercase;}
@media(max-width:700px){.account-order-row{grid-template-columns:1fr auto;}.account-order-row>div:nth-child(2){align-items:flex-end;}.order-status{grid-column:1/-1;width:max-content;}}

/* Recent order status + item details */
.account-order-row{position:relative;grid-template-columns:1.2fr 1fr auto auto;}
.order-status.status-confirmed{color:#16733b;border-color:#b8dfc7;background:#e9f7ee;}
.order-status.status-cancelled{color:#b42318;border-color:#f0b8b3;background:#fff0ef;}
.order-status.status-processing,.order-status.status-shipped,.order-status.status-delivered{color:#155eef;border-color:#b9d1ff;background:#eef5ff;}
.order-status.status-pending{color:#7a5a00;border-color:#ead9a5;background:#fff8df;}
.account-view-order{border:1px solid #222;background:#fff;padding:8px 12px;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap;}
.account-view-order:hover{background:#111;color:#fff;}
.order-details-modal{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:20px;}
.order-details-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55);}
.order-details-card{position:relative;z-index:1;width:min(680px,100%);max-height:min(85vh,760px);overflow:auto;background:#fff;border:1px solid #ddd;box-shadow:0 20px 60px rgba(0,0,0,.25);}
.order-details-head{display:flex;justify-content:space-between;align-items:flex-start;padding:20px;border-bottom:1px solid #e5e5e5;}
.order-details-head span{font-size:11px;color:#777;font-weight:700;letter-spacing:.08em;}
.order-details-head h3{margin:4px 0;font-size:22px;color:#111;}
.order-details-head small{color:#666;}
.order-details-close{border:0;background:none;font-size:28px;line-height:1;cursor:pointer;color:#333;}
.order-details-status-row,.order-details-total{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;border-bottom:1px solid #eee;}
.order-detail-list{padding:10px 20px;}
.order-detail-item{display:grid;grid-template-columns:72px 1fr auto;gap:14px;align-items:center;padding:12px 0;border-bottom:1px solid #eee;}
.order-detail-image{width:72px;height:72px;background:#f5f5f5;display:flex;align-items:center;justify-content:center;overflow:hidden;}
.order-detail-image img{width:100%;height:100%;object-fit:contain;}
.order-detail-info{display:flex;flex-direction:column;gap:4px;}
.order-detail-info strong{color:#111;}
.order-detail-info span{font-size:12px;color:#666;}
.order-detail-price{color:#111;white-space:nowrap;}
.order-details-total{font-size:16px;border-bottom:0;}
.order-details-total strong{font-size:18px;color:#111;}
@media(max-width:700px){
  .account-order-row{grid-template-columns:1fr auto;gap:8px;}
  .account-order-row>div:nth-child(2){align-items:flex-start;}
  .account-view-order{grid-column:1/-1;width:100%;}
  .order-status{grid-column:auto;}
  .order-detail-item{grid-template-columns:58px 1fr;}
  .order-detail-image{width:58px;height:58px;}
  .order-detail-price{grid-column:2;}
}
